/* ==========================================================================
   Recognition — landing page
   Taste Skill principles:
   - Editorial typography, deliberate spacing
   - Restrained palette, strong contrast
   - Subtle motion, never decoration
   - Works without JS, respects prefers-reduced-motion
   ========================================================================== */

:root {
  /* Color */
  --bg:           #f7f7f4;
  --bg-soft:     #efeee7;
  --ink:          #0a0d1a;
  --ink-2:        #1a1f33;
  --ink-3:        #4a5070;
  --ink-4:        #6b7191;
  --line:         #e2e0d6;
  --line-2:       #d6d3c4;
  --paper:        #ffffff;
  --accent:       #2f6df4;       /* deep link blue */
  --accent-ink:   #0a3fb0;
  --cyan:         #00d4ff;
  --violet:       #7b2cbf;
  --pink:         #d63a8e;
  --good:         #138a4b;
  --warn:         #b45309;
  --bad:          #b91c1c;
  --night:        #0a0d1a;
  --night-2:      #11162a;

  /* Type */
  --font-sans:   'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif:  'Fraunces', 'Iowan Old Style', 'Apple Garamond', Georgia, serif;
  --font-mono:   ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  /* Scale */
  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-15: 0.9375rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-28: 1.75rem;
  --fs-32: 2rem;
  --fs-40: 2.5rem;
  --fs-48: 3rem;
  --fs-56: 3.5rem;
  --fs-64: 4rem;

  /* Space */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-7: 32px;
  --s-8: 40px;
  --s-9: 56px;
  --s-10: 72px;
  --s-11: 96px;
  --s-12: 128px;

  /* Radius */
  --r-1: 4px;
  --r-2: 8px;
  --r-3: 12px;
  --r-4: 16px;
  --r-5: 24px;
  --r-pill: 999px;

  /* Misc */
  --shadow-1: 0 1px 2px rgba(10, 13, 26, 0.06), 0 2px 8px rgba(10, 13, 26, 0.04);
  --shadow-2: 0 6px 18px rgba(10, 13, 26, 0.08), 0 24px 48px -16px rgba(10, 13, 26, 0.18);
  --shadow-3: 0 10px 30px rgba(10, 13, 26, 0.10), 0 40px 80px -24px rgba(10, 13, 26, 0.25);
  --max: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--accent-ink);
  text-decoration: none;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 120ms var(--ease);
}
a:hover { color: var(--ink); }

button { font: inherit; cursor: pointer; }

code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  padding: 0.12em 0.36em;
  background: rgba(10, 13, 26, 0.06);
  border-radius: var(--r-1);
  color: var(--ink-2);
}

ul, ol { padding: 0; margin: 0; list-style: none; }
li { padding: 0; margin: 0; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); }
p { margin: 0; }

/* Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: var(--s-3) var(--s-5);
  z-index: 1000;
}
.skip-link:focus { left: var(--s-5); top: var(--s-5); border-radius: var(--r-2); }

:focus-visible {
  outline: 2px solid var(--accent);
outline-offset: 2px;
  border-radius: var(--r-1);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s-6);
}
.container-narrow { max-width: 820px; }

.section { padding: var(--s-12) 0; }
.section + .section { padding-top: var(--s-11); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 12px 18px;
  font-size: var(--fs-15);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: background 140ms var(--ease), color 140ms var(--ease),
              border-color 140ms var(--ease), transform 140ms var(--ease),
              box-shadow 140ms var(--ease);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.btn-sm  { padding: 8px 14px; font-size: var(--fs-14); }
.btn-lg  { padding: 16px 24px; font-size: var(--fs-16); }
.btn-block { display: flex; width: 100%; justify-content: center; }

.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, var(--shadow-1);
}
.btn-primary:hover {
  background: var(--ink-2);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost-dark:hover {
  background: var(--ink);
  color: #fff;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 244, 0.78);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 247, 244, 0.92);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: var(--s-7);
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-3);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-mark { width: 32px; height: 32px; align-self: center; border-radius: 8px; }
.brand-name { font-size: var(--fs-18); }
.brand-tag {
  font-size: var(--fs-12);
  color: var(--ink-4);
  font-weight: 500;
  letter-spacing: 0;
  padding: 2px 8px;
  background: var(--bg-soft);
  border-radius: var(--r-pill);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-7);
  margin-left: var(--s-7);
}
.nav-links a {
  font-size: var(--fs-14);
  color: var(--ink-3);
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transition: right 180ms var(--ease);
}
.nav-links a:hover::after { right: 0; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-left: auto;
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 180ms var(--ease), opacity 120ms var(--ease), top 180ms var(--ease);
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  padding: var(--s-4) var(--s-6) var(--s-6);
  border-top: 1px solid var(--line);
  background: var(--bg);
  flex-direction: column;
  gap: var(--s-3);
}
.mobile-menu a {
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}
.mobile-menu .btn { margin-top: var(--s-3); justify-content: center; }

/* ---------- HERO ---------- */
.hero {
  padding: var(--s-12) 0 var(--s-11);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(0, 212, 255, 0.10), transparent 60%),
    radial-gradient(900px 600px at 95% 0%, rgba(123, 44, 191, 0.10), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-11);
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 6px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-1);
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 3px rgba(19, 138, 75, 0.18);
}

.display {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: var(--s-5) 0 var(--s-6);
  color: var(--ink);
}
.display em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(95deg, var(--cyan) 0%, var(--violet) 60%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: var(--fs-18);
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 56ch;
}
.lede code { background: rgba(10, 13, 26, 0.05); }

.cta-row {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-7);
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  margin-top: var(--s-7);
  font-size: var(--fs-14);
  color: var(--ink-3);
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.hero-trust svg { color: var(--good); }

/* Hero visual: device card */
.hero-visual {
  position: relative;
  perspective: 1600px;
}
.device-frame {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  box-shadow: var(--shadow-3);
  overflow: hidden;
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 400ms var(--ease);
}
.device-frame:hover { transform: rotateY(-2deg) rotateX(1deg); }

.device-bar {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: 12px 14px;
  background: linear-gradient(to bottom, #faf9f4, #f1efe6);
  border-bottom: 1px solid var(--line);
}
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.device-url {
  margin-left: auto;
  font-size: var(--fs-12);
  color: var(--ink-4);
  font-family: var(--font-mono);
  background: var(--bg-soft);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
}

.device-body {
  padding: var(--s-7);
  background: var(--paper);
}

.device-prompt {
  font-family: var(--font-serif);
  font-size: var(--fs-20);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--s-5);
}

.device-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  margin-bottom: var(--s-3);
  background: #fbfaf5;
}
.device-field span {
  font-size: var(--fs-13);
  color: var(--ink-4);
}
.device-field em {
  font-style: normal;
  font-size: var(--fs-14);
  color: var(--ink-3);
  font-family: var(--font-mono);
}

.device-btn-secondary {
  width: 100%;
  padding: 12px 16px;
  margin-top: var(--s-3);
  background: var(--ink-2);
  color: #fff;
  border: 0;
  border-radius: var(--r-2);
  font-weight: 600;
  font-size: var(--fs-15);
}

.device-divider {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin: var(--s-6) 0;
  color: var(--ink-4);
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.device-divider::before,
.device-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.device-btn-face {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: 14px 16px;
  background: linear-gradient(135deg, #0a0d1a 0%, #1a1f33 100%);
  color: #fff;
  border: 0;
  border-radius: var(--r-3);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.device-btn-face::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 100px at 30% 0%, rgba(0, 212, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.device-face-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-2);
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  display: grid;
  place-items: center;
  color: var(--night);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.device-face-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1;
}
.device-face-text strong { font-size: var(--fs-15); }
.device-face-text em { font-style: normal; font-size: var(--fs-12); color: rgba(255,255,255,0.65); }

.device-foot {
  margin-top: var(--s-5);
  font-size: var(--fs-12);
  color: var(--ink-4);
  text-align: center;
  font-family: var(--font-mono);
}

.device-badge {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 10px 14px;
  box-shadow: var(--shadow-2);
  font-size: var(--fs-12);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.device-badge .badge-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-4);
  font-size: 10px;
  font-weight: 600;
}
.device-badge .badge-value {
  color: var(--ink);
  font-weight: 600;
  font-size: var(--fs-13);
}
.device-badge--descriptor {
  left: -28px;
  bottom: 70px;
  transform: rotate(-2deg);
}
.device-badge--noapi {
  right: -28px;
  top: 80px;
  transform: rotate(2deg);
}

/* ---------- Section heads ---------- */
.section-head {
  max-width: 760px;
  margin: 0 auto var(--s-10);
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: var(--s-4);
}
.eyebrow-light { color: rgba(255,255,255,0.7); }
.eyebrow-accent {
  color: var(--accent-ink);
  position: relative;
  padding-left: 18px;
}
.eyebrow-accent::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
.section-title code {
  font-size: 0.85em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 0.1em 0.5em;
  border-radius: var(--r-2);
}

.section-lede {
  margin-top: var(--s-5);
  font-size: var(--fs-18);
  line-height: 1.6;
  color: var(--ink-3);
}

/* ---------- Problem section ---------- */
.section-problem { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.problem-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: var(--s-7);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.problem-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.problem-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-2);
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  color: var(--ink);
  margin-bottom: var(--s-5);
}
.problem-card h3 {
  font-family: var(--font-serif);
  font-size: var(--fs-20);
  font-weight: 500;
  margin-bottom: var(--s-2);
}
.problem-card p {
  font-size: var(--fs-15);
  color: var(--ink-3);
  line-height: 1.6;
}

.solution-band {
  margin-top: var(--s-9);
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-4);
  padding: var(--s-9);
  position: relative;
  overflow: hidden;
}
.solution-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 90% 20%, rgba(0,212,255,0.18), transparent 60%),
    radial-gradient(600px 300px at 10% 90%, rgba(123,44,191,0.20), transparent 60%);
  pointer-events: none;
}
.solution-band-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-9);
  align-items: center;
}
.solution-title {
  font-family: var(--font-serif);
  font-size: var(--fs-28);
  font-weight: 500;
  margin: var(--s-3) 0 var(--s-4);
  color: #fff;
  letter-spacing: -0.01em;
}
.solution-copy { color: rgba(255,255,255,0.78); font-size: var(--fs-15); }
.solution-copy code { background: rgba(255,255,255,0.10); color: #fff; }

.solution-bullets {
  display: grid;
  gap: var(--s-3);
}
.solution-bullets li {
  padding: var(--s-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  font-size: var(--fs-15);
  color: rgba(255,255,255,0.85);
}
.solution-bullets li:last-child { border-bottom: 0; }
.solution-bullets strong { color: #fff; font-weight: 600; }

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.feature {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: var(--s-7);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.feature:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-2);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-2);
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  color: var(--ink);
  margin-bottom: var(--s-5);
}
.feature h3 {
  font-family: var(--font-serif);
  font-size: var(--fs-18);
  font-weight: 500;
  margin-bottom: var(--s-2);
}
.feature p {
  font-size: var(--fs-15);
  color: var(--ink-3);
  line-height: 1.6;
}
.feature p code { background: var(--bg-soft); border: 1px solid var(--line); }

.feature--pro {
  background: linear-gradient(180deg, #f7f4ff 0%, #fff 60%);
  border-color: #e2d8f5;
}
.feature--pro .feature-icon {
  background: linear-gradient(135deg, var(--violet) 0%, var(--pink) 100%);
  color: #fff;
}

.tag {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--r-pill);
}
.tag-free { background: var(--bg-soft); color: var(--ink-3); border: 1px solid var(--line); }
.tag-pro  { background: linear-gradient(135deg, var(--violet), var(--pink)); color: #fff; }

/* ---------- Compare table ---------- */
.section-compare { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.compare {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.compare-row {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  font-size: var(--fs-15);
}
.compare-row > * { padding: 16px 20px; }
.compare-row--head {
  background: var(--ink);
  color: #fff;
  border-top: 0;
  font-size: var(--fs-13);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.compare-row--head .col-pro { color: #fff; }
.compare-row--head .col-free { color: rgba(255,255,255,0.65); }

.compare-row > div:first-child { font-weight: 500; color: var(--ink); }
.compare-row .col-free,
.compare-row .col-pro { text-align: center; }
.compare-row .col-free { background: rgba(10, 13, 26, 0.02); }

.ico {
  display: inline-block;
  width: 22px; height: 22px;
  border-radius: 50%;
  position: relative;
}
.ico::after {
  content: "";
  position: absolute;
  left: 6px; top: 4px;
  width: 10px; height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.ico-yes { background: var(--good); }
.ico-no  { background: rgba(10, 13, 26, 0.15); }
.ico-no::after { display: none; }

.compare-foot {
  margin-top: var(--s-5);
  font-size: var(--fs-13);
  color: var(--ink-4);
  text-align: center;
}

/* ---------- Pro plan ---------- */
.section-pro {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(0,212,255,0.08), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(123,44,191,0.08), transparent 60%),
    var(--bg);
}
.pro-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s-9);
  align-items: start;
}

.pro-bullets {
  margin-top: var(--s-7);
  display: grid;
  gap: var(--s-4);
}
.pro-bullets li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: var(--s-3);
  font-size: var(--fs-15);
  color: var(--ink-3);
  line-height: 1.55;
}
.pro-bullets strong { color: var(--ink); display: block; font-weight: 600; }
.pro-bullet-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  margin-top: 8px;
}

.pro-cta {
  margin-top: var(--s-7);
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.pro-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: var(--s-7);
  box-shadow: var(--shadow-2);
  position: sticky;
  top: 100px;
}
.pro-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: var(--fs-13);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  font-weight: 700;
}
.pro-card-label { color: var(--ink); }

.pro-card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: var(--s-4) 0 var(--s-3);
}
.pro-card-currency { font-family: var(--font-serif); font-size: var(--fs-24); color: var(--ink-3); }
.pro-card-amount   { font-family: var(--font-serif); font-size: var(--fs-40); color: var(--ink); font-weight: 500; letter-spacing: -0.02em; }
.pro-card-note { font-size: var(--fs-13); color: var(--ink-4); margin-bottom: var(--s-5); }

.pro-card-feats {
  display: grid;
  gap: var(--s-2);
  margin-bottom: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.pro-card-feats li {
  font-size: var(--fs-14);
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 6px 0;
}
.pro-card-feats li::before {
  content: "";
  width: 16px; height: 16px;
  background: var(--good);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M20 6 9 17l-5-5'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M20 6 9 17l-5-5'/></svg>") center/contain no-repeat;
  flex-shrink: 0;
}

/* ---------- Add-ons ---------- */
.section-addons { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.addon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
}
.addon {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.addon:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.addon-top {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}
.addon-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-2);
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.addon-meta h3 {
  font-family: var(--font-serif);
  font-size: var(--fs-24);
  font-weight: 500;
  margin: 0 0 4px;
}
.addon-version {
  font-size: var(--fs-12);
  color: var(--ink-4);
  font-family: var(--font-mono);
}
.addon-desc {
  color: var(--ink-3);
  font-size: var(--fs-15);
  line-height: 1.6;
  margin-bottom: var(--s-5);
}
.addon-feats {
  display: grid;
  gap: var(--s-2);
  margin-bottom: var(--s-6);
}
.addon-feats li {
  position: relative;
  padding-left: 24px;
  font-size: var(--fs-14);
  color: var(--ink-2);
  line-height: 1.5;
}
.addon-feats li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M20 6 9 17l-5-5'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M20 6 9 17l-5-5'/></svg>") center/contain no-repeat;
}
.addon-foot {
  margin-top: auto;
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.addon-license {
  font-size: var(--fs-12);
  color: var(--ink-4);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 600;
  font-size: var(--fs-14);
}
.link-arrow:hover { color: var(--accent-ink); }
.link-arrow svg { transition: transform 180ms var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- How it works ---------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  counter-reset: how;
}
.how-step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: var(--s-7);
  position: relative;
}
.how-num {
  font-family: var(--font-serif);
  font-size: var(--fs-40);
  font-weight: 500;
  color: var(--ink-4);
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: var(--s-4);
  line-height: 1;
}
.how-step h3 {
  font-family: var(--font-serif);
  font-size: var(--fs-20);
  font-weight: 500;
  margin-bottom: var(--s-2);
}
.how-step p {
  font-size: var(--fs-14);
  color: var(--ink-3);
  line-height: 1.55;
}
.how-step p code, .how-step p em { font-style: normal; font-family: var(--font-sans); background: var(--bg-soft); border: 1px solid var(--line); padding: 1px 6px; border-radius: 4px; font-size: 0.92em; color: var(--ink-2); }

/* ---------- UI preview section ---------- */
.section-ui { background: var(--paper); }
.ui-preview {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-9);
  align-items: center;
  margin-top: var(--s-7);
}
@media (max-width: 960px) {
  .ui-preview { grid-template-columns: 1fr; }
}

/* Mock browser frame */
.ui-frame {
  position: relative;
  background: linear-gradient(180deg, #fbfbf8 0%, #f5f4ee 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  box-shadow: var(--shadow-3);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.ui-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.ui-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.ui-dot-r { background: #ff5f57; }
.ui-dot-y { background: #febc2e; }
.ui-dot-g { background: #28c840; }
.ui-frame-url {
  margin-left: 12px;
  font-size: var(--fs-12);
  color: var(--ink-4);
  font-family: var(--font-mono);
}
.ui-frame-body {
  padding: 28px 32px;
  display: grid;
  gap: 12px;
  max-width: 360px;
  margin: 0 auto;
}
.ui-frame-prompt {
  font-family: var(--font-serif);
  font-size: var(--fs-20);
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 4px;
}
.ui-frame-field {
  display: grid;
  gap: 4px;
  font-size: var(--fs-12);
  color: var(--ink-4);
}
.ui-frame-field em {
  font-style: normal;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: var(--fs-14);
}
.ui-frame-btn-secondary {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--ink-2);
  font-size: var(--fs-14);
  font-weight: 500;
}
.ui-frame-divider {
  text-align: center;
  font-size: var(--fs-12);
  color: var(--ink-4);
  position: relative;
  margin: 6px 0 2px;
}
.ui-frame-divider::before,
.ui-frame-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 18px);
  height: 1px;
  background: var(--line);
}
.ui-frame-divider::before { left: 0; }
.ui-frame-divider::after { right: 0; }
.ui-frame-btn-face {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 600;
  font-size: var(--fs-14);
}

/* Modal overlay */
.ui-modal {
  position: absolute;
  inset: 36px 32px 32px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.ui-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 26, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: var(--r-3);
}
.ui-modal-content {
  position: relative;
  background: #fff;
  border-radius: 24px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 10px 24px rgba(10, 13, 26, 0.18),
    0 40px 80px -24px rgba(10, 13, 26, 0.32);
  width: 100%;
  max-width: 380px;
  padding: 18px 18px 20px;
  animation: ui-modal-pop 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes ui-modal-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

.ui-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.ui-modal-title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ui-modal-title-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(47, 109, 244, 0.32);
}
.ui-modal-title-text {
  font-size: var(--fs-15);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.ui-modal-subtitle {
  font-size: var(--fs-12);
  color: var(--ink-4);
  line-height: 1.45;
  margin-top: 2px;
}
.ui-modal-close {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

/* Camera viewport */
.ui-camera {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  background: #0a0d1a;
  background-image:
    radial-gradient(120% 80% at 50% 0%, #1a1f33 0%, #0a0d1a 60%, #06080f 100%);
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 0 24px rgba(0, 0, 0, 0.5);
}
.ui-camera-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ui-camera-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(32px);
  opacity: 0.55;
}
.ui-camera-orb--a {
  width: 50%; height: 50%;
  background: radial-gradient(circle, rgba(47, 109, 244, 0.45) 0%, transparent 70%);
  top: -10%; left: -10%;
}
.ui-camera-orb--b {
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.30) 0%, transparent 70%);
  bottom: -20%; right: -10%;
}

.ui-camera-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(10, 13, 26, 0.55);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2;
}
.ui-camera-pill--status { top: 12px; left: 12px; }
.ui-camera-pill--switch {
  top: 12px; right: 12px;
  cursor: pointer;
  background: rgba(10, 13, 26, 0.65);
}
.ui-camera-pill--position {
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(47, 109, 244, 0.85);
  border-color: rgba(255, 255, 255, 0.16);
}
.ui-pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: ui-pill-pulse 1.8s ease-out infinite;
}
@keyframes ui-pill-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* Corner brackets */
.ui-bracket {
  position: absolute;
  width: 28px; height: 28px;
  border: 2.5px solid #2f6df4;
  z-index: 2;
  pointer-events: none;
}
.ui-bracket--tl { top: 14px;  left: 14px;  border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.ui-bracket--tr { top: 14px;  right: 14px; border-left: 0;  border-bottom: 0; border-top-right-radius: 6px; }
.ui-bracket--bl { bottom: 14px; left: 14px;  border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.ui-bracket--br { bottom: 14px; right: 14px; border-left: 0;  border-top: 0; border-bottom-right-radius: 6px; }

/* Stage: silhouette + scan ring */
.ui-camera-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  z-index: 1;
}
.ui-silhouette {
  width: 100px; height: 100px;
  position: relative;
  z-index: 1;
}
.ui-scan-ring {
  position: absolute;
  width: 140px; height: 140px;
  border-radius: 50%;
  border: 1.5px dashed rgba(47, 109, 244, 0.55);
  animation: ui-ring-rotate 12s linear infinite;
}
@keyframes ui-ring-rotate {
  to { transform: rotate(360deg); }
}

/* Trust row */
.ui-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
@media (max-width: 420px) {
  .ui-trust { grid-template-columns: repeat(2, 1fr); }
}
.ui-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
}
.ui-trust li > div { display: grid; gap: 1px; }
.ui-trust li strong {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}
.ui-trust li span:not(.ui-trust-icon) {
  font-size: 10px;
  color: var(--ink-4);
  line-height: 1.2;
}
.ui-trust-icon {
  width: 24px; height: 24px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ui-trust-icon--green  { background: #dcfce7; color: #15803d; }
.ui-trust-icon--blue   { background: #dbeafe; color: #1d4ed8; }
.ui-trust-icon--purple { background: #f3e8ff; color: #7e22ce; }
.ui-trust-icon--amber  { background: #fef3c7; color: #b45309; }

/* Actions */
.ui-modal-actions { margin-bottom: 10px; }
.ui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 18px;
  font-size: var(--fs-14);
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 140ms var(--ease), box-shadow 140ms var(--ease);
}
.ui-btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(47, 109, 244, 0.30);
}
.ui-modal-foot {
  text-align: center;
  font-size: var(--fs-12);
}
.ui-foot-link {
  color: var(--ink-4);
  text-decoration: none;
  font-weight: 500;
}
.ui-foot-link:hover { color: var(--accent); }

/* Highlights list */
.ui-highlights {
  display: grid;
  gap: 22px;
}
.ui-highlights li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
}
.ui-highlight-num {
  font-family: var(--font-serif);
  font-size: var(--fs-28);
  color: var(--ink-4);
  letter-spacing: -0.03em;
  line-height: 1;
}
.ui-highlights h3 {
  font-family: var(--font-serif);
  font-size: var(--fs-20);
  font-weight: 500;
  margin-bottom: 6px;
}
.ui-highlights p {
  font-size: var(--fs-14);
  color: var(--ink-3);
  line-height: 1.55;
}
.ui-highlights em {
  font-style: normal;
  font-weight: 600;
  color: var(--ink-2);
}

@media (prefers-reduced-motion: reduce) {
  .ui-modal-content { animation: none; }
  .ui-pill-dot, .ui-scan-ring { animation: none; }
}

/* ---------- License section ---------- */
.section-license { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.license-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-9);
  align-items: start;
}
.license-steps {
  margin-top: var(--s-6);
  display: grid;
  gap: var(--s-4);
  counter-reset: lic;
}
.license-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
}
.license-steps li:last-child { border-bottom: 0; }
.lic-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: var(--fs-15);
  font-weight: 500;
  flex-shrink: 0;
}
.license-steps strong { display: block; font-size: var(--fs-16); margin-bottom: 2px; }
.license-steps span   { font-size: var(--fs-14); color: var(--ink-3); line-height: 1.5; }

.license-cta {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-7);
  flex-wrap: wrap;
}
.license-fine {
  margin-top: var(--s-5);
  font-size: var(--fs-13);
  color: var(--ink-4);
}

.license-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-3);
  padding: var(--s-7);
  box-shadow: var(--shadow-2);
  position: sticky;
  top: 100px;
}
.license-card-head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 700;
  margin-bottom: var(--s-5);
}
.license-card-pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.25);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.25); }
  50%      { box-shadow: 0 0 0 8px rgba(0, 212, 255, 0.05); }
}
.license-card-list {
  display: grid;
  gap: var(--s-2);
  font-size: var(--fs-14);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--s-5);
}
.license-card-list li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.license-card-list li:last-child { border-bottom: 0; }
.st {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  flex-shrink: 0;
}
.st-on  { background: rgba(19, 138, 75, 0.20); color: #6ee7a8; border: 1px solid rgba(110, 231, 168, 0.3); }
.st-warn { background: rgba(245, 158, 11, 0.18); color: #fcd34d; border: 1px solid rgba(252, 211, 77, 0.3); }
.st-off { background: rgba(255, 255, 255, 0.10); color: rgba(255,255,255,0.75); border: 1px solid rgba(255,255,255,0.10); }
.license-card-foot {
  font-size: var(--fs-12);
  color: rgba(255,255,255,0.55);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(255,255,255,0.10);
}
.license-card-foot code { background: rgba(255,255,255,0.10); color: #fff; }

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-6) 0;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font-serif);
  font-size: var(--fs-20);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color 160ms var(--ease);
}
.faq-q:hover { color: var(--accent-ink); }

.faq-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: border-color 160ms var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--ink-3);
  transform: translate(-50%, -50%);
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}
.faq-icon::before { width: 11px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 11px; }
.faq-q[aria-expanded="true"] .faq-icon { border-color: var(--ink); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 320ms var(--ease);
}
.faq-q[aria-expanded="true"] + .faq-a { max-height: 480px; }
.faq-a p {
  padding: 0 0 var(--s-6);
  color: var(--ink-3);
  font-size: var(--fs-16);
  line-height: 1.65;
  max-width: 70ch;
}
.faq-a p code { background: var(--bg-soft); border: 1px solid var(--line); }

/* ---------- Final CTA ---------- */
.section-final { padding: var(--s-11) 0; }
.final-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-4);
  padding: var(--s-10);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--s-8);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.final-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 350px at 80% 100%, rgba(0, 212, 255, 0.18), transparent 60%),
    radial-gradient(700px 350px at 0% 0%, rgba(123, 44, 191, 0.20), transparent 60%);
  pointer-events: none;
}
.final-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
  position: relative;
}
.final-copy {
  margin-top: var(--s-4);
  color: rgba(255,255,255,0.75);
  font-size: var(--fs-16);
  position: relative;
}
.final-actions {
  display: flex;
  gap: var(--s-3);
  justify-content: flex-end;
  flex-wrap: wrap;
  position: relative;
}
.final-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.final-actions .btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--night-2);
  color: rgba(255,255,255,0.7);
  padding: var(--s-10) 0 var(--s-6);
  border-top: 1px solid var(--night-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s-8);
  padding-bottom: var(--s-8);
}
.brand--footer { color: #fff; }
.brand--footer .brand-name { color: #fff; }
.footer-tag {
  margin-top: var(--s-4);
  font-size: var(--fs-14);
  color: rgba(255,255,255,0.55);
  max-width: 28ch;
  line-height: 1.55;
}

.footer-col h4 {
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--s-4);
}
.footer-col a {
  display: block;
  padding: 4px 0;
  color: rgba(255,255,255,0.85);
  font-size: var(--fs-14);
  text-decoration: none;
  transition: color 140ms var(--ease);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-6);
  border-top: 1px solid rgba(255,255,255,0.10);
  font-size: var(--fs-12);
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: var(--s-3);
}
.footer-meta { font-family: var(--font-mono); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-9); }
  .device-frame { transform: none; }
  .device-badge--descriptor { left: 16px; bottom: 16px; }
  .device-badge--noapi { right: 16px; top: 16px; }

  .problem-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  .solution-band-inner { grid-template-columns: 1fr; gap: var(--s-6); }

  .pro-grid { grid-template-columns: 1fr; }
  .pro-card { position: static; }

  .addon-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }

  .license-grid { grid-template-columns: 1fr; }
  .license-card { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-actions .btn:not(.nav-toggle):not(.btn-primary) { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-actions .btn-primary { display: none; }
  .mobile-menu.is-open { display: flex; }

  .section { padding: var(--s-10) 0; }
  .section + .section { padding-top: var(--s-10); }
  .hero { padding: var(--s-9) 0 var(--s-8); }

  .feature-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .final-card { grid-template-columns: 1fr; padding: var(--s-7); }
  .final-actions { justify-content: flex-start; }

  .compare-row { grid-template-columns: 1.5fr 1fr 1fr; font-size: var(--fs-13); }
  .compare-row > * { padding: 12px; }
  .compare-row--head { font-size: 11px; }

  .display { font-size: 2.4rem; }
  .section-title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 var(--s-4); }
  .device-body { padding: var(--s-5); }
  .solution-band { padding: var(--s-6); }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .device-frame { transform: none; }
}
