:root {
  --bg: #050508;
  --bg-elevated: #12121a;
  --bg-card: #181824;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f8;
  --text-muted: #9b9bb0;
  --accent: #e8b84a;
  --accent-dim: rgba(232, 184, 74, 0.15);
  --accent-glow: rgba(232, 184, 74, 0.35);
  --success: #5ecf8a;
  --radius: 14px;
  --radius-lg: 22px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --max: 1080px;
  --legal-max: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-glow), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(90, 120, 255, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(232, 184, 74, 0.06), transparent 45%);
  z-index: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(5, 5, 8, 0.82);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: none;
}

main {
  position: relative;
  z-index: 1;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin: 0 auto 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border);
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero .tagline {
  margin: 0 auto 32px;
  max-width: 520px;
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent-dim);
  border: 1px solid rgba(232, 184, 74, 0.25);
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #f0c96a, var(--accent));
  color: #1a1408;
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px var(--accent-glow);
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: rgba(232, 184, 74, 0.4);
  color: var(--accent);
}

.section {
  padding: 56px 0;
}

.section-title {
  text-align: center;
  margin: 0 0 12px;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-lead {
  text-align: center;
  margin: 0 auto 40px;
  max-width: 560px;
  color: var(--text-muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(232, 184, 74, 0.25);
  transform: translateY(-3px);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--accent);
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.scripts-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.script-chip {
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.script-chip span {
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 6px;
}

.privacy-highlight {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
}

.privacy-highlight h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.privacy-highlight p {
  margin: 0;
  color: var(--text-muted);
  max-width: 520px;
  margin-inline: auto;
}

.site-footer {
  margin-top: 48px;
  padding: 32px 24px 48px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer a {
  font-weight: 600;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-bottom: 16px;
}

/* Legal pages */
body.legal-page main {
  padding: 32px 0 64px;
}

.legal-wrap {
  max-width: var(--legal-max);
  margin: 0 auto;
  padding: 0 24px;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.legal-card h1 {
  margin: 0 0 8px;
  font-size: 1.85rem;
  letter-spacing: -0.02em;
}

.legal-card h2 {
  margin: 32px 0 12px;
  font-size: 1.2rem;
  color: var(--accent);
}

.legal-card p,
.legal-card li {
  color: var(--text-muted);
}

.legal-card ul {
  padding-left: 1.25rem;
}

.legal-card li {
  margin-bottom: 8px;
}

.last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 48px;
  }

  .legal-card {
    padding: 24px 20px;
  }
}
