/* ============================================================
   FARAGHA — design tokens
   ============================================================ */
:root {
  /* color */
  --navy-deep: #10161F;
  --navy-surface: #1B2433;
  --navy-raised: #212C3E;
  --line-dark: #2E3A4E;
  --text-hi: #EDEFF2;
  --text-mid: #A6AFBF;
  --text-low: #6C7688;

  --gold: #C9A24B;
  --gold-dim: #8A733A;
  --gold-tint: rgba(201, 162, 75, 0.12);
  --teal: #4FA695;
  --teal-tint: rgba(79, 166, 149, 0.12);
  --danger: #C15C4E;

  --paper: #FFFFFF;
  --ink: #111111;
  --ink-mid: #555555;
  --ink-low: #8A8A8A;
  --paper-line: #E2E2E2;

  /* type */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* layout */
  --page-max: 1120px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --space-section: clamp(72px, 10vw, 140px);
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--text-hi);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

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

section { padding-block: var(--space-section); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
}

p { margin: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin: 0 0 16px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gold);
  color: #1B140A;
}
.btn-primary:hover { background: #D8B15C; }

.btn-ghost {
  background: transparent;
  border-color: var(--line-dark);
  color: var(--text-hi);
}
.btn-ghost:hover { border-color: var(--gold-dim); }

/* ============================================================
   Nav
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(16, 22, 31, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.wordmark span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text-hi); }

.nav-cta { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-hi);
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 780px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 900px 500px at 50% 0%, var(--gold-tint), transparent 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  text-align: center;
  justify-items: center;
}

.hero-headline {
  font-size: clamp(38px, 6vw, 64px);
  max-width: 16ch;
}
.hero-headline .accent { color: var(--gold); }

.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-mid);
  max-width: 46ch;
  margin: 22px auto 0;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 34px;
}
.hero-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-low);
}

/* ---- the transformation visual: before (leaked SMS) -> after (redacted receipt) ---- */
.transform {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sms-card {
  width: 100%;
  background: var(--navy-surface);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  text-align: left;
}
.sms-card .sms-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-low);
  margin-bottom: 12px;
}
.sms-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-mid);
}
.sms-card .leak {
  color: var(--danger);
  font-weight: 600;
}
.sms-card .warn {
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--danger);
}

.transform-arrow {
  margin: 22px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gold-dim);
}
.transform-arrow svg { width: 22px; height: 22px; }
.transform-arrow span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.receipt-card {
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  text-align: left;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.5);
}
.receipt-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.receipt-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.3px solid var(--ink);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.receipt-pill::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
}
.receipt-code { font-family: var(--font-mono); font-size: 13px; color: var(--ink-mid); }
.receipt-label { font-size: 13.5px; color: var(--ink-mid); margin-bottom: 4px; }
.receipt-amount { font-family: var(--font-display); font-size: 34px; font-weight: 700; }
.receipt-sub { font-size: 14px; color: var(--ink-mid); margin-top: 4px; }

.receipt-divider { height: 1px; background: var(--paper-line); margin: 18px 0; }

.receipt-balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F2F2F2;
  border: 1.3px dashed var(--ink);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}
.receipt-balance-label { font-size: 14px; font-weight: 600; }
.receipt-balance-value { font-family: var(--font-mono); font-size: 14px; font-weight: 600; letter-spacing: 0.12em; }

.receipt-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-low);
}

/* seal that appears beneath the receipt as the "signature moment" */
.privacy-seal {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.seal-ring {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1.5px dashed var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}
.seal-ring svg { width: 34px; height: 34px; }
.privacy-seal span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* ============================================================
   Feature badge strip
   ============================================================ */
.badge-strip {
  padding-block: 44px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.badge-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--navy-surface);
  border: 1px solid var(--line-dark);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-mid);
}
.badge svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

/* ============================================================
   Section heading pattern
   ============================================================ */
.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-mid);
}

/* ============================================================
   How it works
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step { text-align: center; }
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-tint);
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--text-mid); font-size: 15px; }

@media (max-width: 780px) {
  .steps { grid-template-columns: 1fr; gap: 44px; }
}

/* ============================================================
   Pricing / tier comparison
   ============================================================ */
.tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.tier-card {
  background: var(--navy-surface);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.tier-card.is-business {
  border-color: var(--gold-dim);
  background: linear-gradient(180deg, rgba(201,162,75,0.06), transparent 40%), var(--navy-surface);
}
.tier-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}
.tier-card.is-business .tier-name { color: var(--gold); }
.tier-price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  margin: 10px 0 4px;
}
.tier-price small { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--text-mid); }
.tier-desc { color: var(--text-mid); font-size: 14.5px; margin-bottom: 26px; }
.tier-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.tier-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-hi);
}
.tier-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--teal); }
.tier-card.is-business .tier-list svg { color: var(--gold); }
.tier-card .btn { width: 100%; }
.tier-note { margin-top: 14px; font-size: 12.5px; color: var(--text-low); text-align: center; }

@media (max-width: 720px) {
  .tiers { grid-template-columns: 1fr; }
}

/* ============================================================
   Who it's for — segment chips
   ============================================================ */
.segments {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.segment-chip {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--navy-surface);
  border: 1px solid var(--line-dark);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-hi);
}

/* ============================================================
   Privacy section
   ============================================================ */
.privacy-section {
  background: var(--navy-surface);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.privacy-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}
.privacy-seal-lg {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1.5px dashed var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.privacy-seal-lg svg { width: 64px; height: 64px; color: var(--gold); }
.privacy-copy h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 16px; }
.privacy-copy p { color: var(--text-mid); font-size: 16px; max-width: 60ch; }
.privacy-copy p + p { margin-top: 12px; }
.privacy-copy a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 680px) {
  .privacy-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line-dark);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-hi);
  text-align: left;
  padding: 22px 4px;
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-question svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  padding: 0 4px 22px;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.65;
  max-width: 68ch;
}

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
  text-align: center;
}
.final-cta h2 { font-size: clamp(30px, 4.5vw, 44px); max-width: 18ch; margin: 0 auto; }
.final-cta p { margin: 18px auto 0; color: var(--text-mid); font-size: 17px; max-width: 46ch; }
.final-cta .hero-cta-row { margin-top: 32px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line-dark);
  padding-block: 56px 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand .wordmark { font-size: 20px; }
.footer-brand p {
  margin-top: 10px;
  color: var(--text-low);
  font-size: 13.5px;
  max-width: 32ch;
}
.footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-low);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  text-decoration: none;
  font-size: 14.5px;
  color: var(--text-mid);
}
.footer-col a:hover { color: var(--text-hi); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-low);
}
.footer-bottom .credit { color: var(--gold-dim); font-weight: 600; }

/* ============================================================
   Legal pages (terms.html / privacy.html)
   ============================================================ */
.legal-page { padding-block: 64px var(--space-section); }
.legal-header { max-width: 760px; margin: 0 auto 48px; }
.legal-header .eyebrow { margin-bottom: 10px; }
.legal-header h1 { font-size: clamp(30px, 4vw, 40px); }
.legal-header .updated { margin-top: 14px; color: var(--text-low); font-size: 14px; }

.legal-notice {
  max-width: 760px;
  margin: 0 auto 48px;
  background: var(--teal-tint);
  border: 1px solid var(--teal);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}
.legal-notice strong { color: var(--text-hi); }

.legal-body {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-mid);
  font-size: 15.5px;
  line-height: 1.75;
}
.legal-body h2 {
  font-size: 22px;
  color: var(--text-hi);
  margin-top: 44px;
  margin-bottom: 14px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin-bottom: 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body strong { color: var(--text-hi); }
.placeholder {
  color: var(--gold);
  background: var(--gold-tint);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.9em;
}

/* ============================================================
   Mobile nav drawer
   ============================================================ */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--navy-deep);
  z-index: 39;
  padding: 32px 24px;
  overflow-y: auto;
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-drawer a {
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-hi);
}
.mobile-drawer .btn { width: 100%; }
