:root {
  --bg: #fff6fb;
  --bg-2: #ffffff;
  --ink: #16041f;
  --muted: #5c4668;
  --line: rgba(90, 20, 140, 0.12);
  --line-strong: rgba(90, 20, 140, 0.2);
  --violet: #7c3aff;
  --pink: #ff2d95;
  --cyan: #00d4ff;
  --lime: #8dff2a;
  --orange: #ff7a18;
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 18px 50px rgba(124, 58, 255, 0.12);
  --sans: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body > * { position: relative; z-index: 1; }

.aurora {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.aurora span {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0.58;
  width: 46vw; height: 46vw; min-width: 280px; min-height: 280px;
  will-change: transform;
  animation: aurora-float 22s ease-in-out infinite;
}
.aurora .s1 { background: #c9b4ff; top: -12%; left: -10%; }
.aurora .s2 { background: #ffb3e2; top: -8%; right: -14%; animation-delay: -5s; }
.aurora .s3 { background: #9ef6ff; bottom: -22%; left: 10%; animation-delay: -10s; }
.aurora .s4 { background: #e8ff9c; bottom: -8%; right: -8%; animation-delay: -14s; width: 34vw; height: 34vw; }
.aurora .s5 { background: #ffd0a6; top: 36%; left: 32%; width: 26vw; height: 26vw; animation-delay: -7s; }
@keyframes aurora-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(4%, 6%, 0) scale(1.08); }
  66% { transform: translate3d(-5%, -3%, 0) scale(0.96); }
}

a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }

.wrap { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 700; letter-spacing: -0.04em; font-size: 15px;
}
.brand:hover { text-decoration: none; }
.mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--violet), var(--pink) 60%, var(--orange));
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 14px;
  box-shadow: 0 8px 20px rgba(255, 45, 149, 0.28);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 11px 18px; cursor: pointer;
  font-weight: 700; font-size: 14px; letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(110deg, var(--violet), var(--pink) 55%, var(--orange));
  background-size: 160% 100%;
  box-shadow: 0 10px 24px rgba(255, 45, 149, 0.22);
  transition: transform 0.18s ease, filter 0.18s ease, background-position 0.4s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.05); background-position: 100% 0; }
.btn:active { transform: translateY(0); }
.btn.ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn.ghost:hover { background: #fff; filter: none; }
.btn.danger { background: #fff0f3; color: #c81e4c; border: 1px solid #ffc1d0; box-shadow: none; }
.btn.danger:hover { background: #ffe4ea; filter: none; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn.sm { padding: 7px 12px; font-size: 13px; }

.grad-text {
  background: linear-gradient(100deg, var(--violet), var(--pink), var(--orange), var(--cyan), var(--violet));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: grad-shift 8s linear infinite;
}
@keyframes grad-shift { to { background-position: 220% 0; } }

/* Nav */
.nav, .site-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0;
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 246, 251, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
  display: none; width: 40px; height: 40px; place-items: center;
  border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--glass);
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  display: block; width: 16px; height: 2px; background: var(--ink); position: relative; border-radius: 2px;
}
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; }
.nav-burger span::before { top: -5px; }
.nav-burger span::after { top: 5px; }
.nav-links { display: flex; gap: 8px 16px; align-items: center; color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-links a { color: #3c2a4d; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links .btn { color: #fff; }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  padding: 28px 0 36px;
  overflow: hidden;
}
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--violet);
  background: rgba(124, 58, 255, 0.1);
  border: 1px solid rgba(124, 58, 255, 0.2);
  border-radius: 999px; padding: 5px 10px; margin-bottom: 16px;
}
.hero h1, h1.display {
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin: 0 0 16px;
  max-width: 13ch;
}
.lede { font-size: 1.08rem; color: var(--muted); max-width: 42ch; margin: 0 0 22px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.note { color: var(--muted); font-size: 13px; margin-top: 14px; }

.hero-stage { position: relative; }
.example-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  border-radius: 999px; padding: 4px 8px;
}
.term {
  margin: 0 0 12px;
  padding: 16px 16px 18px;
  border-radius: 16px 16px 8px 8px;
  background: #16041f;
  color: #f4ecff;
  font-family: var(--mono); font-size: 12px; line-height: 1.65;
  min-height: 196px;
  box-shadow: 0 20px 50px rgba(22, 4, 31, 0.22), 0 0 0 1px rgba(124, 58, 255, 0.25);
  overflow: hidden;
  white-space: pre-wrap;
}
.term::before {
  content: "● ● ●  hopleads — example";
  display: block; color: #c9b4e8; font-size: 10px; letter-spacing: 0.04em;
  margin: -4px 0 12px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.t-prompt { color: var(--lime); }
.t-cmd { color: var(--cyan); }
.t-key { color: #ffb4e6; }
.t-str { color: #ffe08a; }
.t-out { color: #c9b4e8; }
.t-ok { color: var(--lime); }

.example-leads {
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateY(12px);
  pointer-events: none;
}
.example-leads.in { opacity: 1; transform: none; pointer-events: auto; transition: opacity 0.45s ease, transform 0.45s ease; }
.ex-card {
  display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start;
  padding: 10px 12px; border-radius: 14px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(124, 58, 255, 0.16);
  box-shadow: var(--shadow);
}
.ex-card h3 { margin: 0 2px 2px 0; font-size: 13px; letter-spacing: -0.03em; }
.ex-card p { margin: 0; font-size: 12px; color: var(--muted); }
.ex-card .handle { color: var(--muted); font-weight: 500; }
.score, .score-pill {
  display: inline-grid; place-items: center;
  min-width: 42px; height: 42px; padding: 0 6px;
  border-radius: 12px; font-weight: 700; font-size: 14px; letter-spacing: -0.03em;
  color: #16041f;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  box-shadow: 0 6px 16px rgba(0, 212, 255, 0.25);
}
.score.mid, .score-pill.mid { background: linear-gradient(135deg, var(--orange), var(--pink)); color: #fff; box-shadow: 0 6px 16px rgba(255, 45, 149, 0.25); }
.score.low, .score-pill.low { background: linear-gradient(135deg, var(--pink), var(--violet)); color: #fff; }

/* Marquee */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.45);
  padding: 12px 0;
}
.marquee-track {
  display: flex; gap: 36px; width: max-content;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  animation: marquee 28s linear infinite;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); white-space: nowrap; }
.marquee-track b { color: var(--violet); }
.marquee-track em { font-style: normal; color: var(--muted); background: rgba(124,58,255,0.08); border-radius: 999px; padding: 2px 8px; font-size: 11px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
section { padding: 56px 0; }
.section-kicker {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink); margin-bottom: 8px;
}
h2 {
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -0.05em;
  margin: 0 0 12px;
}
.grid-3, .grid-4 { display: grid; gap: 16px; margin: 28px 0; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { border-color: rgba(255, 45, 149, 0.28); box-shadow: 0 16px 40px rgba(124, 58, 255, 0.14); }
.card h3 { margin: 0 0 8px; font-size: 1.05rem; letter-spacing: -0.03em; }
.card p, .muted { color: var(--muted); }

.code-card {
  padding: 0; overflow: hidden;
  border: 1px solid rgba(124, 58, 255, 0.18);
  background: #16041f;
  display: flex; flex-direction: column;
  min-height: 236px;
}
.code-card .code-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(90deg, rgba(124,58,255,0.16), rgba(255,45,149,0.14), rgba(0,212,255,0.14));
  color: #16041f;
  background-color: #f6eeff;
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.code-card pre {
  margin: 0; padding: 16px 14px 18px;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.65;
  background: #16041f; color: #f4ecff;
  overflow: auto; flex: 1;
}

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }

/* Pricing */
.price { display: flex; flex-direction: column; gap: 8px; min-height: 100%; position: relative; }
.price .amt { font-size: 2rem; font-weight: 700; letter-spacing: -0.05em; }
.price .inr { color: var(--muted); font-size: 13px; }
.price ul { padding: 0; margin: 8px 0 16px; list-style: none; color: var(--muted); flex: 1; }
.price li { padding: 6px 0 6px 18px; position: relative; }
.price li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--pink));
  position: absolute; left: 0; top: 11px;
}
.price .btn, .price .btn.ghost { width: 100%; }
.price.featured {
  border-color: transparent;
  background:
    linear-gradient(var(--glass), var(--glass)) padding-box,
    conic-gradient(from var(--spin, 0deg), var(--violet), var(--pink), var(--orange), var(--cyan), var(--lime), var(--violet)) border-box;
  border: 2px solid transparent;
  animation: spin-border 5s linear infinite;
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(255, 45, 149, 0.18);
}
.price-tag {
  position: absolute; top: 14px; right: 14px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: linear-gradient(90deg, var(--violet), var(--pink));
  border-radius: 999px; padding: 3px 8px;
}
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin-border { to { --spin: 360deg; } }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; max-width: 760px; }
.faq details {
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--glass); padding: 4px 16px;
}
.faq summary {
  cursor: pointer; list-style: none; font-weight: 650; letter-spacing: -0.02em; padding: 14px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--pink); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: var(--muted); }

.cta-band {
  text-align: center; padding: 56px 24px; border-radius: 28px;
  background: linear-gradient(120deg, rgba(124,58,255,0.16), rgba(255,45,149,0.16), rgba(0,212,255,0.16));
  border: 1px solid rgba(124, 58, 255, 0.18);
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 16ch; margin: 0 auto 12px; }
.cta-band p { margin: 0 auto 22px; max-width: 46ch; }

.footer {
  border-top: 1px solid var(--line);
  margin-top: 28px; padding: 24px 0 48px;
  color: var(--muted); font-size: 13px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer a { color: var(--muted); }
.footer a:hover { color: var(--ink); }

/* Auth */
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px);
  gap: 48px; align-items: center;
  padding: 40px min(56px, 6vw);
  width: min(1040px, 100%);
  margin: 0 auto;
}
.auth-aside h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  max-width: 12ch; margin: 16px 0 10px;
}
.auth-card { width: 100%; padding: 28px; border: 1px solid rgba(124,58,255,0.16); }
.auth-card h1 { font-size: 1.7rem; letter-spacing: -0.05em; font-weight: 700; margin: 16px 0 8px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--muted); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn.google {
  width: 100%; gap: 10px;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line-strong); box-shadow: none;
}
.btn.google:hover { background: #fff7fb; filter: none; text-decoration: none; }
.btn.google .g-icon { width: 18px; height: 18px; flex: 0 0 18px; }
label { display: block; font-size: 13px; margin: 12px 0 6px; color: var(--muted); font-weight: 600; }
input, textarea, select {
  width: 100%; padding: 11px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: rgba(255,255,255,0.9); color: var(--ink);
  outline: none; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 45, 149, 0.15);
}
textarea { min-height: 110px; resize: vertical; }
.err { color: #c81e4c; font-size: 14px; min-height: 1.2em; }
.ok { color: #0a8a4b; font-size: 14px; }

/* Dashboard */
.app-shell { display: grid; grid-template-columns: 244px 1fr; min-height: 100vh; }
.side {
  border-right: 1px solid var(--line);
  padding: 20px 14px;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(18px);
  display: flex; flex-direction: column; gap: 6px;
  position: sticky; top: 0; height: 100vh;
}
.side .brand { padding: 6px 10px 18px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.side a[data-panel], .side #signout {
  display: flex; align-items: center; gap: 10px;
  color: var(--muted); padding: 9px 10px; border-radius: 12px;
  font-size: 14px; font-weight: 600;
}
.side a[data-panel] svg, .side #signout svg {
  width: 18px; height: 18px; stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 18px;
}
.side a[data-panel]:hover, .side #signout:hover {
  background: rgba(124, 58, 255, 0.08); color: var(--ink); text-decoration: none;
}
.side a[data-panel].active {
  background: linear-gradient(90deg, rgba(124,58,255,0.14), rgba(255,45,149,0.12));
  color: var(--violet);
  box-shadow: inset 0 0 0 1px rgba(124, 58, 255, 0.18);
}
.side #signout { margin-top: auto; }
.main { padding: 28px 32px 48px; min-width: 0; }
.topbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.credits-pill {
  background: linear-gradient(90deg, rgba(124,58,255,0.12), rgba(255,45,149,0.12));
  color: var(--violet);
  border: 1px solid rgba(124, 58, 255, 0.2);
  border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 13px;
  white-space: nowrap;
}

.lead-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-bottom: 16px; flex-wrap: wrap;
}
.lead { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; padding: 18px; }
.lead:hover { transform: translateY(-2px); }
.lead-head { display: flex; gap: 12px; align-items: flex-start; }
.lead .score, .lead .score-pill {
  width: 46px; height: 46px; min-width: 46px; font-size: 16px;
}
.lead h3 { margin: 0 2px 4px 0; font-size: 1rem; letter-spacing: -0.03em; }
.lead .handle { color: var(--muted); font-weight: 500; }
.lead .meta { font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip {
  display: inline-flex; align-items: center;
  border-radius: 999px; padding: 2px 8px;
  border: 1px solid var(--line); background: rgba(124, 58, 255, 0.06);
  font-size: 11px; font-weight: 650; color: var(--ink);
}
.lead-content, .draft, .lead pre {
  background: rgba(255,255,255,0.7);
  border-radius: 12px; padding: 10px 12px; font-size: 14px; margin: 0;
  border: 1px solid var(--line);
}
.lead-content, [data-reply], .lead pre { white-space: pre-wrap; }
.lead-reason { background: transparent; border: 0; padding: 0; color: var(--muted); font-size: 13px; margin: 0; }
.draft-head {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700;
  font-family: var(--mono);
}
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.empty-state, .skel-wrap {
  text-align: center; padding: 48px 20px;
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  background: rgba(255,255,255,0.55);
}
.empty-state h3 { margin: 0 0 8px; }
.empty-state p { margin: 0 auto 18px; max-width: 42ch; }

.skel {
  border-radius: 10px; height: 12px;
  background: linear-gradient(90deg, rgba(124,58,255,0.08), rgba(255,45,149,0.16), rgba(124,58,255,0.08));
  background-size: 200% 100%;
  animation: shimmer 1.2s ease infinite;
}
.skel-lead { display: flex; flex-direction: column; gap: 10px; padding: 18px; margin-bottom: 12px; }
.skel.score { width: 44px; height: 44px; }
.skel.line { height: 12px; width: 60%; }
.skel.block { height: 56px; width: 100%; }
@keyframes shimmer { to { background-position: -100% 0; } }

.toasts {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.toast {
  pointer-events: auto;
  background: #fff; border: 1px solid var(--line-strong); color: var(--ink);
  padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow);
  font-size: 13px; font-weight: 600;
}

.hidden { display: none !important; }
.panel { display: none; }
.panel.show { display: block; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); color: var(--muted); }
th { font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; font-family: var(--mono); }
.legal, .legal-shell { max-width: 72ch; padding: 24px 0 80px; margin: 0 auto; width: min(72ch, calc(100% - 40px)); }
.legal h1 { letter-spacing: -0.05em; font-weight: 700; }

@media (min-width: 961px) {
  .auth-card > .brand { display: none; }
}
@media (max-width: 960px) {
  .hero-inner, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .price.featured { transform: none; }
  .auth-shell { grid-template-columns: 1fr; padding: 32px 20px 48px; width: min(460px, 100%); }
  .auth-aside { display: none; }
}
@media (max-width: 800px) {
  .app-shell { grid-template-columns: 1fr; padding-bottom: 76px; }
  .side {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; height: auto;
    flex-direction: row; align-items: center;
    border-right: 0; border-top: 1px solid var(--line);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    z-index: 40;
  }
  .side .brand { display: none; }
  .side #signout { margin-top: 0; display: flex; }
  .side-nav { flex-direction: row; width: 100%; justify-content: space-around; }
  .side { justify-content: space-around; }
  .side a[data-panel], .side #signout { flex-direction: column; gap: 4px; font-size: 11px; padding: 8px 10px; }
  .main { padding: 18px 16px 32px; }
  .grid-4, .hero-inner { grid-template-columns: 1fr; }
  .hero { padding: 16px 0 24px; }
  .hero h1 { max-width: 16ch; }
  .ex-card:nth-child(n+3) { display: none; }
  .nav-burger { display: grid; }
  .nav-links {
    display: none; position: absolute; top: 64px; right: 0; left: 0;
    flex-direction: column; align-items: stretch;
    padding: 12px; border: 1px solid var(--line); border-radius: 16px;
    background: rgba(255,255,255,0.96);
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .site-nav { position: sticky; flex-wrap: wrap; }
  .term { min-height: 0; max-height: 200px; overflow: auto; font-size: 11px; }
  .example-badge { position: static; display: inline-flex; align-self: flex-start; margin: 0 0 8px; }
  .hero-stage { display: flex; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .example-leads { opacity: 1; transform: none; }
  .price.featured { animation: none; }
}
