/* ============================================================
   HOKMA — Website design system
   Palette & tokens extracted from the live app (hokmabook.com)
   ============================================================ */
:root {
  /* Brand primaries (app tokens) */
  --primary-25:  #fcf8ff;
  --primary-50:  #f7f3fe;
  --primary-100: #efeafd;
  --primary-200: #e0d9fc;
  --primary-300: #ccc2fb;
  --primary-400: #a895fa;
  --primary-500: #9577fa;
  --primary-600: #8149fd;   /* app button purple */
  --primary-700: #6a3bd4;   /* wordmark purple */
  --primary-800: #4c348e;
  --primary-900: #2f2653;
  --primary-950: #1d1831;
  --sidebar:     #362450;   /* app sidebar aubergine */

  /* Surfaces (app tokens) */
  --surface-25:  #fbf9fb;
  --surface-50:  #f6f4f7;
  --surface-100: #edecef;
  --surface-200: #dedde1;
  --surface-300: #c8c8cd;
  --surface-400: #a0a3aa;

  --ink:       #1d1831;
  --ink-soft:  #4b4560;
  --ink-muted: #6d717b;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-card: 16px;
  --radius-btn: 8px;
  --shadow-card: 0 2px 8px rgba(29,24,49,.06), 0 12px 32px rgba(29,24,49,.08);
  --shadow-lift: 0 4px 12px rgba(106,59,212,.14), 0 20px 48px rgba(29,24,49,.14);
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary-700); text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--primary-700); margin-bottom: 14px;
}
.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 16px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-100);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav .logo { display: flex; align-items: center; gap: 10px; color: var(--primary-700); }
.nav .logo svg { height: 22px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--ink-soft); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-700); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: var(--radius-btn); border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.btn-primary { background: var(--primary-600); color: #fff; box-shadow: 0 4px 14px rgba(129,73,253,.35); }
.btn-primary:hover { background: var(--primary-700); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(129,73,253,.4); }
.btn-ghost { background: transparent; color: var(--primary-700); border: 1.5px solid var(--primary-300); }
.btn-ghost:hover { background: var(--primary-50); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--primary-700); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 85% -10%, var(--primary-100) 0%, transparent 60%),
    radial-gradient(800px 500px at -10% 110%, var(--primary-50) 0%, transparent 55%),
    #fff;
  padding: 92px 0 84px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5vw, 58px); margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--primary-700); }
.hero .lede { font-size: 18px; color: var(--ink-soft); margin-bottom: 32px; max-width: 540px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.hero-note { font-size: 13.5px; color: var(--ink-muted); }
.hero-note a { font-weight: 600; }

/* Trust bar */
.trustbar { border-top: 1px solid var(--surface-100); border-bottom: 1px solid var(--surface-100); background: var(--surface-25); }
.trustbar-inner { display: flex; justify-content: center; gap: 12px 40px; flex-wrap: wrap; padding: 18px 24px; }
.trustbar span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.trustbar svg { width: 16px; height: 16px; flex: none; }

/* ---------- Demo (grounded answer mock) ---------- */
.demo-frame {
  background: #fff; border: 1px solid var(--surface-100); border-radius: 20px;
  box-shadow: var(--shadow-lift); overflow: hidden; font-size: 13px;
}
.demo-top { display: flex; align-items: center; gap: 8px; background: var(--surface-50); border-bottom: 1px solid var(--surface-100); padding: 10px 14px; }
.demo-tab { background: #fff; border: 1px solid var(--surface-200); border-radius: 8px 8px 0 0; border-bottom: 0; padding: 5px 12px; font-size: 11.5px; color: var(--ink-soft); position: relative; top: 4px; }
.demo-tab.on { color: var(--primary-700); font-weight: 600; border-color: var(--primary-200); }
.demo-body { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 340px; }
.demo-page { padding: 22px 20px; border-right: 1px solid var(--surface-100); font-size: 12.5px; color: var(--ink-soft); line-height: 1.8; }
.demo-page h4 { font-family: var(--serif); color: var(--ink); font-size: 15px; margin-bottom: 10px; }
.demo-page .hl { background: var(--primary-200); border-radius: 3px; padding: 0 2px; transition: background .4s; }
.demo-page .hl.flash { background: var(--primary-400); }
.demo-chat { display: flex; flex-direction: column; padding: 18px 16px; background: var(--surface-25); }
.demo-q {
  align-self: flex-end; background: var(--primary-600); color: #fff;
  padding: 8px 14px; border-radius: 14px 14px 3px 14px; margin-bottom: 14px; max-width: 90%;
  font-size: 12.5px;
}
.demo-a {
  background: #fff; border: 1px solid var(--surface-100); border-radius: 14px 14px 14px 3px;
  padding: 12px 14px; color: var(--ink-soft); font-size: 12.5px; line-height: 1.7; min-height: 120px;
}
.demo-a .cite {
  display: inline-flex; align-items: center; justify-content: center;
  width: 17px; height: 17px; border-radius: 50%; background: var(--primary-100);
  color: var(--primary-700); font-size: 10px; font-weight: 700; cursor: pointer;
  vertical-align: 2px; margin: 0 2px; border: 1px solid var(--primary-200);
  transition: transform .15s, background .2s;
}
.demo-a .cite:hover { transform: scale(1.2); background: var(--primary-200); }
.demo-refs { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--surface-200); font-size: 11px; color: var(--ink-muted); }
.demo-refs b { color: var(--ink-soft); font-weight: 600; }
.demo-refs a { display: block; margin-top: 4px; color: var(--primary-700); }
.demo-caret { display: inline-block; width: 7px; height: 13px; background: var(--primary-600); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-hint { text-align: center; font-size: 12px; color: var(--ink-muted); padding: 10px; border-top: 1px solid var(--surface-100); background: #fff; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--surface-100); border-radius: var(--radius-card);
  padding: 30px 28px; box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--primary-100);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15px; }
.card.dark { background: var(--primary-950); border-color: var(--primary-900); color: #fff; }
.card.dark p { color: var(--primary-200); }
.card.tinted { background: var(--primary-50); border-color: var(--primary-100); }

/* Numbered steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 28px 22px 24px; background: #fff; border: 1px solid var(--surface-100); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--primary-600);
  display: inline-block; margin-bottom: 12px;
  border-bottom: 2px solid var(--primary-200); padding-bottom: 4px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Persona tabs ---------- */
.tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.tab-btn {
  font-family: var(--sans); font-size: 15px; font-weight: 600; cursor: pointer;
  padding: 11px 24px; border-radius: 999px; border: 1.5px solid var(--surface-200);
  background: #fff; color: var(--ink-soft); transition: all .2s;
}
.tab-btn:hover { border-color: var(--primary-300); color: var(--primary-700); }
.tab-btn.on { background: var(--primary-600); border-color: var(--primary-600); color: #fff; box-shadow: 0 4px 14px rgba(129,73,253,.3); }
.tab-panel { display: none; animation: fadeUp .45s ease; }
.tab-panel.on { display: block; }

/* ---------- Comparison table ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; box-shadow: var(--shadow-card); border-radius: var(--radius-card); overflow: hidden; }
.compare th, .compare td { padding: 18px 22px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--surface-100); }
.compare thead th { background: var(--primary-950); color: #fff; font-family: var(--sans); font-weight: 600; }
.compare thead th:nth-child(2) { background: var(--primary-700); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 600; color: var(--ink); background: var(--surface-25); width: 26%; }
.compare td:nth-child(2) { background: var(--primary-25); }
.compare td { color: var(--ink-soft); vertical-align: top; }
.compare .yes { color: var(--primary-700); font-weight: 600; }

/* ---------- Dark band / CTA ---------- */
.band {
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(129,73,253,.25) 0%, transparent 55%),
    radial-gradient(700px 400px at 90% 100%, rgba(149,119,250,.18) 0%, transparent 55%),
    var(--primary-950);
  color: #fff; text-align: center; padding: 88px 24px;
}
.band h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.band p { color: var(--primary-200); max-width: 560px; margin: 0 auto 32px; font-size: 17px; }

/* ---------- Waitlist form ---------- */
.waitlist-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 620px; margin: 0 auto; }
.waitlist-form input[type=email], .waitlist-form select {
  font-family: var(--sans); font-size: 15px; padding: 13px 16px;
  border-radius: var(--radius-btn); border: 1.5px solid var(--surface-200);
  min-width: 200px; flex: 1; outline: none; transition: border-color .2s;
  background: #fff; color: var(--ink);
}
.waitlist-form input:focus, .waitlist-form select:focus { border-color: var(--primary-500); }
.form-msg { font-size: 14px; margin-top: 14px; color: var(--primary-300); min-height: 20px; }
.band .form-msg.ok { color: #c9f7d8; }
.light-form .form-msg.ok { color: #1d7a3d; }
.form-privacy { font-size: 12.5px; color: var(--ink-muted); margin-top: 10px; }
.band .form-privacy { color: var(--primary-300); opacity: .8; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--surface-100); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--sans); font-size: 16.5px; font-weight: 600; color: var(--ink);
  padding: 22px 40px 22px 4px; position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 300; color: var(--primary-600); transition: transform .25s;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 4px 22px; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Pipeline (tech explainer animation) ---------- */
.pipeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 20px; }
.pipe-stage {
  background: #fff; border: 1px solid var(--surface-100); border-radius: var(--radius-card);
  padding: 24px 18px; text-align: center; box-shadow: var(--shadow-card);
  opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease, border-color .3s, box-shadow .3s;
}
.pipe-stage.lit { opacity: 1; transform: none; }
.pipe-stage.active { border-color: var(--primary-400); box-shadow: 0 0 0 3px var(--primary-100), var(--shadow-card); }
.pipe-stage .glyph { font-size: 26px; margin-bottom: 10px; display: block; }
.pipe-stage h3 { font-size: 16.5px; margin-bottom: 6px; }
.pipe-stage p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }
.pipe-track { position: absolute; top: -26px; left: 4%; right: 4%; height: 3px; background: var(--surface-100); border-radius: 3px; overflow: hidden; }
.pipe-track .pulse {
  position: absolute; top: 0; left: -12%; width: 12%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--primary-500), var(--primary-600));
  border-radius: 3px; animation: pipeflow 4.5s linear infinite;
}
@keyframes pipeflow { to { left: 108%; } }

/* Agent orbit */
.orbit-wrap { display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: center; }
.orbit { position: relative; width: 400px; height: 400px; margin: 0 auto; }
.orbit .ring { position: absolute; inset: 0; border: 1.5px dashed var(--primary-200); border-radius: 50%; animation: spin 40s linear infinite; }
.orbit .ring.r2 { inset: 60px; animation-duration: 30s; animation-direction: reverse; border-color: var(--primary-100); }
.orbit .core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 128px; height: 128px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--primary-500), var(--primary-800));
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; text-align: center; line-height: 1.3;
  box-shadow: 0 10px 40px rgba(129,73,253,.45); z-index: 2; padding: 10px;
}
.orbit .core small { font-weight: 400; font-size: 10px; opacity: .85; margin-top: 3px; }
.orbit .sat {
  position: absolute; width: 74px; height: 74px; margin: -37px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--primary-200); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600; color: var(--ink-soft); text-align: center; gap: 2px;
  animation: counterspin 40s linear infinite; z-index: 2;
}
.orbit .sat .g { font-size: 19px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes counterspin { from { transform: rotate(0) } to { transform: rotate(-360deg); } }
.orbit-copy h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 16px; }
.orbit-copy p { color: var(--ink-soft); margin-bottom: 14px; }

/* ---------- Source grid ---------- */
.source-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.source-chip {
  background: #fff; border: 1px solid var(--surface-100); border-radius: 14px;
  padding: 18px 10px; text-align: center; font-size: 13px; font-weight: 500; color: var(--ink-soft);
  box-shadow: var(--shadow-card); transition: transform .2s, border-color .2s;
}
.source-chip:hover { transform: translateY(-4px); border-color: var(--primary-300); }
.source-chip .g { display: block; font-size: 24px; margin-bottom: 8px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.plan {
  background: #fff; border: 1.5px solid var(--surface-100); border-radius: var(--radius-card);
  padding: 34px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s; position: relative;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.plan.featured { border-color: var(--primary-500); box-shadow: 0 0 0 4px var(--primary-100), var(--shadow-lift); }
.plan .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary-600); color: #fff; font-size: 12px; font-weight: 600;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 22px; margin-bottom: 6px; }
.plan .tagline { font-size: 13.5px; color: var(--ink-muted); margin-bottom: 18px; min-height: 40px; }
.plan .price { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--ink); }
.plan .price small { font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--ink-muted); }
.plan ul { list-style: none; margin: 22px 0 28px; flex: 1; }
.plan li { font-size: 14px; color: var(--ink-soft); padding: 7px 0 7px 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--primary-600); font-weight: 700; }
.plan .btn { width: 100%; }

/* ---------- Institutions ---------- */
.usecases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stat-strip .stat { padding: 26px 16px; background: var(--primary-50); border-radius: var(--radius-card); border: 1px solid var(--primary-100); }
.stat-strip .num { font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--primary-700); display: block; }
.stat-strip .lbl { font-size: 13.5px; color: var(--ink-soft); }

/* Demo form (institutions) */
.demo-form { max-width: 620px; margin: 0 auto; display: grid; gap: 14px; }
.demo-form input, .demo-form select, .demo-form textarea {
  font-family: var(--sans); font-size: 15px; padding: 13px 16px; width: 100%;
  border-radius: var(--radius-btn); border: 1.5px solid var(--surface-200);
  outline: none; background: #fff; color: var(--ink); transition: border-color .2s;
}
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { border-color: var(--primary-500); }
.demo-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- Footer ---------- */
footer { background: var(--primary-950); color: var(--primary-200); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
footer .logo svg { height: 20px; width: auto; color: #fff; margin-bottom: 16px; }
footer p { font-size: 14px; line-height: 1.7; max-width: 300px; }
footer h4 { font-family: var(--sans); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 16px; }
footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
footer a { color: var(--primary-200); font-size: 14px; transition: color .2s; }
footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--primary-900); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--primary-400); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal, .pipe-stage { opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .orbit-wrap { grid-template-columns: 1fr; }
  .orbit { width: 320px; height: 320px; }
  .grid.cols-3, .grid.cols-4, .steps, .plans { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .pipe-track { display: none; }
  .source-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .steps, .plans, .usecases, .demo-form .row,
  .pipeline, .stat-strip { grid-template-columns: 1fr; }
  .source-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-body { grid-template-columns: 1fr; }
  .demo-page { border-right: 0; border-bottom: 1px solid var(--surface-100); }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 20px 24px; gap: 18px;
    border-bottom: 1px solid var(--surface-100); box-shadow: 0 12px 24px rgba(29,24,49,.08);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .nav-cta .btn { padding: 9px 16px; font-size: 13.5px; }
}

/* ---------- Login button ---------- */
.mobile-only { display: none; }
@media (max-width: 640px) {
  .btn-login { display: none; }        /* login moves into the mobile menu */
  .mobile-only { display: block; }
}
