/* ============================================================
   Foretype landing page
   Aesthetic: editorial-confident dark mode, warm amber accent.
   ============================================================ */

:root {
  /* Palette: committed, dominant colors. */
  --bg-0: #0A0B12;
  --bg-1: #0E0F17;
  --bg-2: #181023;
  --ink: #F4EDE3;
  --ink-dim: rgba(244, 237, 227, 0.62);
  --ink-mute: rgba(244, 237, 227, 0.38);

  --amber: #E89A4C;
  --amber-bright: #FFB562;
  --pink: #E84393;
  --warm: #FF9F45;

  --grad-warm: linear-gradient(135deg, #FF9F45 0%, #E84393 100%);
  --grad-bg: radial-gradient(120% 80% at 70% -10%, rgba(232, 154, 76, 0.10), transparent 60%),
             radial-gradient(80% 60% at 10% 100%, rgba(232, 67, 147, 0.08), transparent 60%),
             linear-gradient(180deg, #0E0F17 0%, #15101D 60%, #190F1F 100%);

  --border: rgba(244, 237, 227, 0.08);
  --border-strong: rgba(244, 237, 227, 0.14);
  --card: rgba(244, 237, 227, 0.025);
  --card-warm: linear-gradient(160deg, rgba(255, 159, 69, 0.06) 0%, rgba(232, 67, 147, 0.04) 100%);

  /* Type */
  --font-display: 'Cabinet Grotesk', 'Inter Tight', system-ui, sans-serif;
  --font-body: 'Satoshi', 'Inter Tight', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Spacing */
  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg-1); }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--grad-bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle grain so the dark backdrop isn't flat. */
.grain {
  pointer-events: none;
  position: fixed; inset: 0;
  z-index: 100;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1   0 0 0 0 1   0 0 0 0 1   0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}

::selection { background: rgba(232, 154, 76, 0.32); color: var(--ink); }

/* ---------- Typography ---------- */

.display-1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 7.6vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 16px 0 22px;
}
.display-2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  margin: 10px 0 18px;
}
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--ink);
}
p { margin: 0 0 14px; color: var(--ink-dim); }
.lede { font-size: 18.5px; line-height: 1.55; color: var(--ink-dim); max-width: 540px; }

.ink-grad {
  font-style: normal;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 14px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 24px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(244, 237, 227, 0.02);
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }

kbd, .kbd {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  padding: 2px 7px;
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: rgba(244, 237, 227, 0.05);
  color: var(--ink);
  display: inline-block;
  line-height: 1.4;
}
.kbd--lit {
  background: linear-gradient(180deg, rgba(255, 159, 69, 0.2), rgba(255, 159, 69, 0.06));
  border-color: rgba(255, 159, 69, 0.4);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(255, 159, 69, 0.08), 0 8px 24px -8px rgba(255, 159, 69, 0.35);
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex; align-items: center; gap: 24px;
  padding: 18px clamp(20px, 4vw, 44px);
  background: rgba(14, 15, 23, 0.7);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.nav__word { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.015em; font-size: 18px; }
.nav__glyph { border-radius: 7px; }
.nav__links { display: inline-flex; gap: 26px; margin-left: auto; align-items: center; }
.nav__links a {
  font-size: 14px; font-weight: 500;
  color: var(--ink-dim); text-decoration: none;
  transition: color .18s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta-mobile { display: none; }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 38px;
  padding: 0;
  background: rgba(244, 237, 227, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.nav__toggle:hover { background: rgba(244, 237, 227, 0.08); border-color: rgba(244, 237, 227, 0.22); }
.nav__toggle-line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .22s ease, opacity .18s ease;
  transform-origin: center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14.5px;
  text-decoration: none;
  border-radius: 10px;
  transition: transform .15s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--sm { padding: 8px 14px; font-size: 13.5px; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--primary {
  background: var(--grad-warm);
  color: #1A0A0F;
  border-color: transparent;
  box-shadow: 0 14px 30px -12px rgba(232, 67, 147, 0.45),
              0 6px 16px -6px rgba(255, 159, 69, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.25);
  font-weight: 700;
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 18px 40px -12px rgba(232, 67, 147, 0.55), 0 8px 20px -4px rgba(255, 159, 69, 0.5), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn--ghost {
  background: rgba(244, 237, 227, 0.04);
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: rgba(244, 237, 227, 0.08); border-color: rgba(244, 237, 227, 0.22); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(56px, 9vw, 120px) clamp(20px, 4vw, 44px) clamp(72px, 9vw, 130px);
  max-width: var(--container);
  margin: 0 auto;
}
.hero__bg {
  position: absolute; inset: -40px clamp(-10vw, -120px, -20vw) 0;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  width: 720px; height: 720px;
  right: -120px; top: -180px;
  background: radial-gradient(closest-side, rgba(232, 154, 76, 0.22), rgba(232, 67, 147, 0.08) 50%, transparent 75%);
  filter: blur(10px);
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero__avail {
  margin: 18px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.avail__now {
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 159, 69, 0.12);
  border: 1px solid rgba(255, 159, 69, 0.25);
}
.avail__soon { color: var(--ink-mute); }
.avail__soon::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(244, 237, 227, 0.25);
  margin-right: 8px;
  transform: translateY(-1px);
}
.hero__chips {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.hero__chips li {
  font-size: 12.5px; font-weight: 500;
  color: var(--ink-dim);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(244, 237, 227, 0.02);
}
.hero__chips li::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--amber);
  border-radius: 50%;
  margin-right: 8px;
  transform: translateY(-1px);
}

.hero__demo { position: relative; }
.hero__floater {
  position: absolute; top: -28px; left: -16px;
  width: 64px; height: 64px;
  z-index: 2;
  animation: floaty 6s ease-in-out infinite;
  filter: drop-shadow(0 12px 24px rgba(232, 154, 76, 0.35));
}
.hero__floater img { display: block; border-radius: 16px; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-6px) rotate(1.5deg); }
}

/* ---------- Demo ---------- */

.demo {
  background: linear-gradient(180deg, rgba(28, 17, 36, 0.85) 0%, rgba(20, 14, 26, 0.85) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 16px 18px 18px;
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 159, 69, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}
.demo::before {
  content: "";
  position: absolute; inset: -1px;
  background: linear-gradient(140deg, rgba(255,159,69,0.25), transparent 35%, transparent 70%, rgba(232,67,147,0.18));
  border-radius: inherit;
  pointer-events: none;
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  opacity: 0.7;
}
.demo__bar {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}
.demo__dots { display: inline-flex; gap: 6px; }
.demo__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(244,237,227,0.18); display: block; }
.demo__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.demo__field {
  padding: 26px 4px 22px;
  font-size: 18px;
  line-height: 1.5;
  min-height: 92px;
  position: relative;
  font-family: var(--font-body);
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.demo__typed { color: var(--ink); }
.demo__ghost { color: rgba(232, 154, 76, 0.7); font-style: italic; }
.demo__caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--amber);
  vertical-align: text-bottom;
  margin-left: 1px;
  transform: translateY(2px);
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.demo__chrome {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.demo__lang {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.dot--amber { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.demo__keys { display: inline-flex; align-items: center; gap: 10px; }
.demo__hint { font-size: 12px; color: var(--ink-mute); font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ---------- Section wrappers ---------- */

section {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 130px) clamp(20px, 4vw, 44px);
  position: relative;
}
section + section { padding-top: clamp(24px, 4vw, 60px); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__floater { animation: none; }
}

/* ---------- How it works ---------- */

.steps {
  list-style: none;
  padding: 0;
  margin: 44px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.step {
  position: relative;
  padding: 26px 24px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}
.step::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--card-warm);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.step:hover::after { opacity: 1; }
.step:hover { border-color: rgba(255, 159, 69, 0.22); transform: translateY(-3px); }
.step { transition: transform .18s ease, border-color .25s ease; }
.step__num {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
}
.step__icon { color: var(--amber); margin-bottom: 18px; }
.step p { margin: 0; font-size: 14.5px; }
.step kbd { font-size: 11px; padding: 1px 6px; }

/* ---------- Why local (versus) ---------- */

.why__head { max-width: 700px; }
.versus {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.versus__card {
  padding: 28px 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  position: relative;
}
.versus__card ul { list-style: none; padding: 0; margin: 14px 0 0; }
.versus__card li {
  display: flex; gap: 12px; align-items: baseline;
  padding: 8px 0;
  font-size: 15px;
  border-bottom: 1px dashed var(--border);
}
.versus__card li:last-child { border-bottom: 0; }
.versus__card--dim { filter: saturate(0.4); opacity: 0.72; }
.versus__card--dim .versus__tag { background: rgba(244, 237, 227, 0.04); color: var(--ink-mute); }
.versus__card--warm { background: var(--card-warm); border-color: rgba(255, 159, 69, 0.22); }
.versus__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(244, 237, 227, 0.06);
  color: var(--ink-dim);
}
.versus__tag--lit {
  background: var(--grad-warm);
  color: #1A0A0F;
  font-weight: 700;
}
.x { color: var(--ink-mute); font-weight: 700; }
.check { color: var(--amber-bright); font-weight: 700; }

/* ---------- Features grid ---------- */

.feat-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}
.feat {
  padding: 22px 22px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  transition: transform .18s ease, border-color .25s ease, background .25s ease;
}
.feat:hover { transform: translateY(-2px); border-color: rgba(255, 159, 69, 0.22); background: rgba(255, 159, 69, 0.03); }
.feat__icon { width: 24px; height: 24px; color: var(--amber); margin-bottom: 12px; display: block; }
.feat h3 { font-size: 16.5px; }
.feat p { margin: 0; font-size: 14px; }
.feat .muted { color: var(--ink-mute); text-decoration-color: var(--ink-mute); }

/* ---------- Use cases ---------- */

.uses__grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.use {
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}
.use__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.use p { margin: 0; font-size: 14px; }

/* ---------- Personas ---------- */

.who__sub { color: var(--ink-dim); max-width: 600px; margin: 0 0 32px; }
.who__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.persona {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}
.persona h3 { color: var(--amber); font-size: 15px; }
.persona p { margin: 0; font-size: 13.8px; }

/* ---------- Pricing ---------- */

.pricing__lede {
  max-width: 640px;
  margin: 8px 0 28px;
  color: var(--ink-dim);
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.plan--free .plan__tag { background: rgba(108, 215, 162, 0.14); color: #6CD7A2; }
.plan__num--small { font-size: 44px; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--card);
  overflow: hidden;
}
.plan--featured {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255, 159, 69, 0.10), transparent 55%),
    var(--card-warm);
  border-color: rgba(255, 159, 69, 0.35);
  box-shadow:
    0 24px 60px -24px rgba(232, 67, 147, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.plan__ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--grad-warm);
  color: #1A0A0F;
  font-weight: 700;
}
.plan__head { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px dashed var(--border); }
.plan__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(244, 237, 227, 0.06);
  color: var(--ink-dim);
  margin: 0 0 14px;
}
.plan__tag--lit {
  background: rgba(255, 159, 69, 0.16);
  border: 1px solid rgba(255, 159, 69, 0.30);
  color: var(--amber-bright);
}
.plan__price {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0 0 6px;
  letter-spacing: -0.025em;
}
.plan__currency { font-size: 28px; color: var(--ink-dim); transform: translateY(-14px); }
.plan__num { font-size: 64px; line-height: 1; }
.plan__per { font-family: var(--font-body); font-size: 16px; font-weight: 500; color: var(--ink-dim); margin-left: 4px; }
.plan__sub { color: var(--ink-mute); font-size: 13px; margin: 0; }
.plan__list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--ink-dim);
  line-height: 1.5;
}
.plan__list li strong { color: var(--ink); font-weight: 600; }
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--grad-warm);
  opacity: 0.85;
  box-shadow: inset 0 0 0 3px rgba(20, 12, 26, 1);
}
.plan--featured .plan__list li::before { opacity: 1; }
.btn--full { width: 100%; justify-content: center; }
.pricing__compare {
  max-width: 720px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-dim);
  padding: 16px 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: rgba(244, 237, 227, 0.02);
}
.pricing__compare strong { color: var(--ink); font-weight: 600; }

/* ---------- FAQ ---------- */

.faq__list { margin-top: 36px; display: flex; flex-direction: column; gap: 8px; }
.qa {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}
.qa[open] { border-color: rgba(255, 159, 69, 0.18); background: rgba(255, 159, 69, 0.03); }
.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16.5px;
  color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  position: relative;
}
.qa summary::-webkit-details-marker { display: none; }
.qa p { padding: 0 22px 20px; margin: 0; font-size: 14.5px; max-width: 720px; }
.qa__caret {
  width: 14px; height: 14px; flex: none;
  position: relative;
  opacity: 0.7;
  transition: transform .22s ease;
}
.qa__caret::before, .qa__caret::after {
  content: "";
  position: absolute;
  background: var(--amber);
  border-radius: 1px;
}
.qa__caret::before { left: 0; right: 0; top: 6px; height: 2px; }
.qa__caret::after  { top: 0; bottom: 0; left: 6px; width: 2px; transition: transform .22s ease; }
.qa[open] .qa__caret::after { transform: scaleY(0); }

/* ---------- CTA ---------- */

.cta { padding-top: 80px; padding-bottom: 100px; }
.cta__inner {
  text-align: center;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--card-warm);
  border: 1px solid rgba(255, 159, 69, 0.22);
  position: relative;
  overflow: hidden;
}
.cta__inner::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(closest-side, rgba(255, 159, 69, 0.18), transparent);
  top: -200px; right: -120px;
  pointer-events: none;
}
.cta__glyph { display: block; margin: 0 auto 14px; border-radius: 18px; filter: drop-shadow(0 16px 32px rgba(255, 159, 69, 0.32)); }
.cta__sub { max-width: 540px; margin: 0 auto 26px; }
.cta__small { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-mute); margin: 18px 0 0; letter-spacing: 0.04em; }

/* ---------- Footer ---------- */

.foot {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px clamp(20px, 4vw, 44px) 56px;
  border-top: 1px solid var(--border);
  color: var(--ink-mute);
}
.foot__row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.foot__brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.foot__nav { display: inline-flex; gap: 22px; flex-wrap: wrap; }
.foot__nav a { color: var(--ink-dim); font-size: 13.5px; text-decoration: none; }
.foot__nav a:hover { color: var(--ink); }
.foot__small { font-size: 12.5px; margin: 22px 0 0; color: var(--ink-mute); }
.foot__small a { color: var(--amber); text-decoration: none; }

/* ---------- Responsive ---------- */

/* Tablet: two-column drops to single-column where it matters. */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero__demo { margin-top: 8px; max-width: 560px; }
  .steps { grid-template-columns: 1fr; }
  .versus { grid-template-columns: 1fr; }
  .uses__grid { grid-template-columns: 1fr 1fr; }
  .who__grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 540px; margin: 12px auto 0; gap: 12px; }
  .nav__links { gap: 18px; }
  .nav__links a { font-size: 13.5px; }
}

/* Phone breakpoint: collapse nav into a hamburger panel. */
@media (max-width: 760px) {
  .nav { gap: 12px; flex-wrap: wrap; }
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .nav__cta-mobile {
    display: inline-flex;
    margin-top: 6px;
    justify-content: center;
    width: 100%;
  }
  .nav__links {
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 4px -20px -18px;
    padding: 4px 20px 14px;
    border-top: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .26s ease, opacity .18s ease, padding .2s ease;
  }
  .nav.is-open .nav__links {
    max-height: 60vh;
    opacity: 1;
    padding-top: 10px;
    padding-bottom: 16px;
  }
  .nav__links a:not(.nav__cta-mobile) {
    padding: 12px 2px;
    font-size: 15px;
    color: var(--ink);
    border-bottom: 1px dashed var(--border);
  }
  .nav__links a:not(.nav__cta-mobile):last-of-type {
    border-bottom: 0;
  }
  .nav.is-open .nav__toggle-line:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .nav.is-open .nav__toggle-line:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle-line:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
}

/* Small tablet / large phone: tighten paddings, soften the demo. */
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .nav { padding: 14px 20px; gap: 14px; }
  .nav__brand { gap: 8px; }
  .nav__word { font-size: 17px; }
  .nav__glyph { width: 26px; height: 26px; }

  .lede { font-size: 16.5px; max-width: 100%; }

  .hero { padding: 48px 20px 64px; }
  .hero__glow { width: 460px; height: 460px; right: -120px; top: -120px; }
  .hero__ctas { gap: 10px; }
  .hero__floater { width: 52px; height: 52px; top: -22px; left: -8px; }
  .hero__floater img { width: 52px; height: 52px; }
  .hero__avail {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
  }
  .hero__chips { gap: 8px; margin-top: 26px; }
  .hero__chips li { font-size: 11.5px; padding: 5px 10px; }

  .demo { padding: 14px 14px 14px; border-radius: 18px; }
  .demo__field { font-size: 15.5px; padding: 18px 2px 16px; min-height: 78px; line-height: 1.45; }
  .demo__title { font-size: 10px; }

  section { padding: 56px 20px; }
  section + section { padding-top: 24px; }
  .display-2 { font-size: clamp(28px, 6vw, 40px); }
  .kicker { font-size: 11px; }

  .step { padding: 20px 18px 22px; }
  .step__icon svg { width: 30px; height: 30px; }
  .step__num { top: 14px; right: 16px; font-size: 10px; }

  .versus__card { padding: 22px 20px 18px; }
  .versus__card li { font-size: 14px; padding: 7px 0; }

  .feat-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
  .feat { padding: 16px 16px 18px; }
  .feat h3 { font-size: 15px; }
  .feat p { font-size: 13px; }
  .feat__icon { width: 20px; height: 20px; }

  .uses__grid, .who__grid { grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
  .use, .persona { padding: 16px 18px; }

  .qa summary { padding: 14px 16px; font-size: 15px; gap: 10px; }
  .qa p { padding: 0 16px 16px; font-size: 13.8px; }

  .plan { padding: 22px 22px 20px; border-radius: 18px; }
  .plan__num { font-size: 56px; }
  .plan__currency { font-size: 24px; transform: translateY(-12px); }
  .plan__ribbon { top: 12px; right: 12px; font-size: 9.5px; padding: 3px 8px; }
  .plan__list li { font-size: 14px; }

  .cta { padding-top: 50px; padding-bottom: 64px; }
  .cta__inner { padding: 40px 22px; border-radius: 18px; }
  .cta__glyph { width: 56px; height: 56px; }
  .cta__small { font-size: 11px; }

  .foot { padding: 28px 20px 44px; }
  .foot__row { gap: 18px; }
  .foot__nav { gap: 16px; }
}

/* Phone: last-mile tightening. */
@media (max-width: 480px) {
  .display-1 {
    font-size: clamp(38px, 12vw, 56px);
    line-height: 0.98;
    letter-spacing: -0.03em;
  }
  .eyebrow { font-size: 10.5px; padding: 5px 10px 5px 7px; }
  .eyebrow__dot { width: 6px; height: 6px; }

  .btn { padding: 12px 16px; font-size: 14px; }
  .btn--lg { padding: 14px 22px; font-size: 15px; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
  .hero__ctas { gap: 8px; }

  .feat-grid { grid-template-columns: 1fr; }

  .demo__title { display: none; }
  .demo__field { font-size: 14.5px; }
  .demo__lang { font-size: 10px; }
  .demo__hint { font-size: 11px; }

  .foot__row { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* Very small phones (iPhone SE width 320px). */
@media (max-width: 360px) {
  .nav__brand .nav__word { display: none; }
  .display-1 { font-size: 36px; }
  .lede { font-size: 15.5px; }
  section { padding: 44px 16px; }
  .hero { padding: 40px 16px 52px; }
}
