/* ==========================================================================
   Scrybe — Landing page styles
   Page-level layout on top of the design system tokens (design-system/
   project/styles.css). Everything here references DS custom properties so the
   page stays in lockstep with the brand. Sentence case, calm, cool slate.
   ========================================================================== */

/* ---------- Reset-ish page basics ---------- */
html { scroll-behavior: smooth; }
body {
  background: var(--bg-app);
  color: var(--text-body);
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

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

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container-lg);
  margin-inline: auto;
  padding-inline: var(--space-7);
}
.container--md { max-width: var(--container-md); }
.container--sm { max-width: var(--container-sm); }

section { position: relative; }
.section-pad { padding-block: var(--space-16); }
@media (max-width: 720px) { .section-pad { padding-block: var(--space-12); } }

.eyebrow {
  font-family: var(--font-sans);
  font-weight: var(--fw-bold);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--brand-blue);
  margin: 0 0 var(--space-4);
}
.eyebrow--on-dark { color: var(--on-dark-muted); }

.section-head { max-width: 740px; margin: 0 auto var(--space-10); text-align: center; }
.section-head h2 {
  font-size: var(--fs-h1);
  font-weight: var(--fw-black);
}
.section-head p {
  margin: var(--space-5) 0 0;
  font-size: var(--fs-body-lg);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}
@media (max-width: 720px) {
  .section-head h2 { font-size: var(--fs-h2); }
}

/* ---------- Buttons (mirrors DS Button.jsx in plain CSS) ---------- */
.btn {
  font-family: var(--font-sans);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  font-size: 15px;
  height: var(--control-lg);
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-fast) var(--ease-spring),
    border-color var(--dur-fast) var(--ease-out);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px) scale(.985); box-shadow: var(--shadow-xs); }
.btn svg { width: 18px; height: 18px; }

.btn--primary { background: var(--brand-blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-blue-700); box-shadow: var(--shadow-brand); }

.btn--lime { background: var(--brand-lime); color: var(--slate-900); box-shadow: var(--shadow-sm); }
.btn--lime:hover { background: var(--brand-lime-600); box-shadow: var(--shadow-lime); }

.btn--secondary {
  background: var(--surface-card);
  color: var(--text-strong);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}
.btn--secondary:hover { background: var(--slate-50); }

.btn--ghost { background: transparent; color: var(--brand-blue); box-shadow: none; }
.btn--ghost:hover { background: var(--accent-soft); }

/* Glass button — sits on the gradient */
.btn--glass {
  background: var(--glass-fill);
  border-color: var(--glass-border);
  color: #fff;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: none;
}
.btn--glass:hover { background: rgba(255,255,255,.22); }

.btn--lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn--sm { height: var(--control-sm); padding: 0 14px; font-size: 13px; border-radius: var(--radius-sm); }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248,250,252,.82);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav__inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-snug);
  font-size: 20px;
  color: var(--text-strong);
  text-decoration: none;
}
.lockup:hover { text-decoration: none; }
.lockup__icon { width: 30px; height: 30px; border-radius: var(--radius-sm); box-shadow: var(--shadow-xs); overflow: hidden; }
/* The icon's "S" — design-system display font, lighter weight = thinner letter */
.scrybe-icon-s {
  font-family: var(--font-display);
  font-weight: var(--fw-black); /* 900 — matches the hero headline thickness */
  letter-spacing: -0.03em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-7);
}
.nav__link {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  color: var(--text-body);
  text-decoration: none;
}
.nav__link:hover { color: var(--text-strong); text-decoration: none; }
.nav__actions { display: flex; align-items: center; gap: var(--space-4); }
@media (max-width: 880px) {
  .nav__links { display: none; }
  /* On small screens keep only the Buy CTA in the sticky nav (the hero + #download cover downloading). */
  .nav__download { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* Deeper blue behind the text (top-left), brightening toward the right corner —
     keeps the white headline crisp instead of washed out. */
  background: linear-gradient(120deg, var(--brand-blue) 0%, var(--brand-azure) 55%, var(--brand-sky) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
/* radial white sheen moved to the top-right corner, away from the text */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 85% at 100% 0%, rgba(255,255,255,.38) 0%, rgba(255,255,255,0) 55%);
  pointer-events: none;
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: var(--space-12);
  align-items: center;
  padding-block: var(--space-16);
}
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-10); padding-block: var(--space-12); }
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: #fff;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  padding: 6px 14px 6px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-6);
}
.hero__pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-lime);
  box-shadow: 0 0 0 4px rgba(182,242,63,.3);
}
.hero h1 {
  color: #fff;
  font-weight: var(--fw-black);
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.04;
  letter-spacing: var(--ls-tight);
  margin: 0;
}
.hero__sub {
  margin: var(--space-6) 0 0;
  font-size: clamp(17px, 2vw, 20px);
  line-height: var(--lh-relaxed);
  color: var(--on-dark-text);
  max-width: none;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.hero__note {
  margin-top: var(--space-5);
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__note svg { width: 15px; height: 15px; }
/* Platform requirement under the download CTA — left-aligned in the hero,
   centered in the final section (inherits each section's text-align). */
.cta-req {
  margin-top: var(--space-4);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--on-dark-text);
}

/* hero CTA: white primary reads best on the gradient */
.btn--on-hero { background: #fff; color: var(--brand-blue-800); box-shadow: var(--shadow-lg); }
.btn--on-hero:hover { background: #fff; color: var(--brand-blue-700); box-shadow: 0 16px 40px rgba(20,34,44,.28); }

/* ---------- The app HUD mockup (hero visual) ---------- */
.hud {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-7);
  overflow: hidden;
}
.hud__chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: var(--space-6);
}
.hud__light { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.4); }

/* Brand lockup — the live lime waveform sits to the left of the wordmark. */
.hud__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: var(--space-9) 0 var(--space-7);
}
.hud__wordmark {
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  font-size: 42px;
  line-height: 1;
  letter-spacing: var(--ls-tight);
  color: #fff;
}

/* live waveform — animates as the brand mark beside "Scrybe" */
.wave {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 40px;
}
.wave span {
  display: block;
  width: 6px;
  border-radius: 6px;
  background: var(--brand-lime);
  transform-origin: center;
  animation: scrybe-wave 1s var(--ease-in-out) infinite;
}
@keyframes scrybe-wave { 0%,100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

.hud__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: #fff;
}
.hud__status .rec {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rec-red);
  box-shadow: 0 0 0 4px rgba(255,77,77,.3);
  animation: rec-pulse 1.4s ease-in-out infinite;
}
@keyframes rec-pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.hud__hint {
  text-align: center;
  margin-top: var(--space-5);
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
}
.hud__hint kbd {
  font-family: var(--font-mono);
  background: rgba(255,255,255,.2);
  border: 1px solid var(--glass-border);
  border-bottom-width: 2px;
  border-radius: var(--radius-xs);
  padding: 1px 6px;
  font-size: 12px;
  color: #fff;
}

/* ---------- Logo strip / trust row ---------- */
.trust {
  border-bottom: 1px solid var(--border-subtle);
  padding-block: var(--space-8);
  background: var(--surface-card);
}
.trust__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-7) var(--space-10);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}
.trust__item { display: inline-flex; align-items: center; gap: 8px; }
.trust__item svg { width: 18px; height: 18px; color: var(--brand-blue); }

/* ---------- Privacy banner ---------- */
.privacy {
  background: var(--slate-900);
  color: #fff;
  text-align: center;
}
.privacy__inner { padding-block: var(--space-12); }
.privacy h2 {
  color: #fff;
  font-size: clamp(26px, 4vw, var(--fs-h1));
  font-weight: var(--fw-black);
  max-width: 18ch;
  margin-inline: auto;
}
.privacy p {
  margin: var(--space-5) auto 0;
  max-width: 52ch;
  color: rgba(255,255,255,.74);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-relaxed);
}
.privacy .lime { color: var(--brand-lime); }
.privacy__verify {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--space-7);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}
.privacy__verify .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); }

/* ---------- Problem / "You know this feeling" ---------- */
.problem { background: var(--bg-app); }
.problem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-9);
}
@media (max-width: 720px) { .problem__grid { grid-template-columns: 1fr; } }
.quote-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-sm);
}
.quote-card p {
  margin: 0;
  font-size: var(--fs-title);
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
  line-height: var(--lh-snug);
}
.quote-card .who {
  margin-top: var(--space-4);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: var(--fw-medium);
}

/* ---------- Feature grid ---------- */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 920px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features__grid { grid-template-columns: 1fr; } }

.feature {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--border-default);
}
.feature__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-5);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-extrabold);
  color: var(--text-strong);
  margin: 0 0 var(--space-3);
}
.feature p { margin: 0; color: var(--text-muted); line-height: var(--lh-relaxed); }
.feature__note { margin: var(--space-4) 0 0; color: var(--text-muted); }
.feature__note a { color: var(--brand-blue); font-weight: var(--fw-semibold); text-decoration: underline; text-underline-offset: 2px; }
.feature__note a:hover { color: var(--brand-blue-700); }
.feature--wide { grid-column: span 2; }
@media (max-width: 600px) { .feature--wide { grid-column: span 1; } }

/* highlight feature (the wedge) */
.feature--accent {
  background: var(--slate-900);
  border-color: transparent;
}
.feature--accent h3 { color: #fff; }
.feature--accent p { color: rgba(255,255,255,.72); }
.feature--accent .feature__icon { background: rgba(255,255,255,.1); color: var(--brand-lime); }
.feature--accent .wedge {
  display: block;
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,.12);
  font-weight: var(--fw-bold);
  color: #fff;
}
.feature--accent .wedge .lime { color: var(--brand-lime); }

/* ---------- How it works ---------- */
.how { background: var(--slate-900); }
.how .eyebrow { color: var(--on-dark-muted); }
.how .section-head h2 { color: #fff; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  counter-reset: step;
}
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-7);
  box-shadow: 0 12px 28px rgba(8, 23, 30, .45);
  position: relative;
}
.step__num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-brand);
}
.step h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-extrabold);
  color: #fff;
  margin: 0 0 var(--space-3);
}
.step p { margin: 0; color: var(--on-dark-muted); line-height: var(--lh-relaxed); }
.step kbd {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-bottom-width: 2px;
  border-radius: var(--radius-xs);
  padding: 1px 6px;
  font-size: 12px;
  color: #fff;
}

/* ---------- Pricing ---------- */
.pricing { background: var(--bg-app); }
.price-wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: var(--space-8);
  align-items: stretch;
}
@media (max-width: 880px) { .price-wrap { grid-template-columns: 1fr; } }

.price-card {
  background: var(--brand-gradient);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-9);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.price-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(100% 70% at 50% -10%, rgba(255,255,255,.4), transparent 60%);
  z-index: -1;
}
.price-card .eyebrow { color: rgba(255,255,255,.8); }
.price-card .amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: var(--space-4) 0 var(--space-2);
}
.price-card .amount .num {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: 72px;
  line-height: 1;
  letter-spacing: var(--ls-tight);
}
.price-card .amount .per { font-size: var(--fs-title); font-weight: var(--fw-bold); color: rgba(255,255,255,.85); }
.price-card .once { font-weight: var(--fw-bold); font-size: var(--fs-body-lg); }
.price-card ul { list-style: none; margin: var(--space-7) 0; padding: 0; display: grid; gap: var(--space-4); }
.price-card li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-body-lg); color: rgba(255,255,255,.92); }
.price-card li svg { width: 20px; height: 20px; flex: none; color: var(--brand-lime); margin-top: 1px; }
.price-card .price-cta { display: grid; gap: var(--space-3); margin-top: var(--space-8); }
.price-card .guarantee { text-align: center; font-size: var(--fs-sm); color: rgba(255,255,255,.72); margin-top: var(--space-2); }

/* comparison */
.compare {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}
.compare h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-extrabold);
  color: var(--text-strong);
  margin: 0 0 var(--space-6);
}
.compare table { width: 100%; border-collapse: collapse; table-layout: fixed; }
/* Fixed column widths so the two competitor columns are equal and wrap
   identically. Dictavo (scrybe-col) stays a touch wider for emphasis; Glaido +
   Wispr Flow split the remaining space evenly (24% each). */
.compare th:first-child { width: 24%; }
.compare th.scrybe-col { width: 28%; }
.compare th, .compare td {
  text-align: left;
  padding: var(--space-4) var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--fs-body);
}
.compare thead th {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}
.compare thead th.scrybe-col { color: var(--brand-blue); }
.compare tbody th { font-weight: var(--fw-semibold); color: var(--text-body); }
.compare td { color: var(--text-muted); font-weight: var(--fw-medium); }
.compare td.scrybe-col { color: var(--text-strong); font-weight: var(--fw-bold); background: var(--accent-soft); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--green-500); font-weight: var(--fw-bold); }
.compare .no { color: var(--text-faint); }
.compare__foot {
  margin-top: auto;
  padding-top: var(--space-6);
  font-size: var(--fs-body);
  color: var(--text-body);
  font-weight: var(--fw-semibold);
}
.compare__foot .lime { color: var(--brand-lime-text); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-canvas); }
.faq__list { max-width: 760px; margin-inline: auto; display: grid; gap: var(--space-4); }
.faq details {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  scroll-margin-top: 80px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-6) var(--space-7);
  font-weight: var(--fw-bold);
  font-size: var(--fs-title);
  color: var(--text-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev {
  flex: none;
  width: 20px; height: 20px;
  color: var(--text-muted);
  transition: transform var(--dur-base) var(--ease-out);
}
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details p {
  margin: 0;
  padding: 0 var(--space-7) var(--space-6);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  font-size: var(--fs-body-lg);
}
.faq details a {
  color: var(--brand-blue);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq details a:hover { color: var(--brand-blue-700); }

/* optional price/spec table inside an FAQ answer — reuses the comparison table look */
.faq-table-wrap {
  padding: 0 var(--space-7) var(--space-6);
  overflow-x: auto;
}
.faq-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.faq-table th,
.faq-table td {
  text-align: left;
  padding: var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}
.faq-table thead th {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}
.faq-table tbody th {
  font-family: var(--font-mono);
  font-weight: var(--fw-medium);
  color: var(--text-body);
}
.faq-table tbody td { color: var(--text-muted); font-weight: var(--fw-medium); }
.faq-table tbody tr:last-child th,
.faq-table tbody tr:last-child td { border-bottom: none; }
.faq details .faq-table__foot {
  margin: var(--space-5) 0 0;
  padding: 0;
  font-size: var(--fs-sm);
  color: var(--text-faint);
  line-height: var(--lh-relaxed);
}

/* ---------- Final CTA ---------- */
.final {
  background: var(--brand-gradient);
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.final::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(110% 80% at 50% -10%, rgba(255,255,255,.4), transparent 55%);
  z-index: -1;
}
.final__inner { padding-block: var(--space-16); }
.final h2 {
  color: #fff;
  font-weight: var(--fw-black);
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: var(--ls-tight);
  max-width: 16ch;
  margin-inline: auto;
}
.final p {
  margin: var(--space-5) auto 0;
  max-width: 46ch;
  color: var(--on-dark-text);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-relaxed);
}
.final__cta { display: inline-flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; margin-top: var(--space-8); }

/* ---------- Footer ---------- */
.footer {
  background: var(--slate-950);
  color: rgba(255,255,255,.7);
  padding-block: var(--space-10) var(--space-9);
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-9);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand { max-width: 280px; }
.footer__brand .lockup { color: #fff; }
.footer__brand p { margin: var(--space-4) 0 0; font-size: var(--fs-sm); color: rgba(255,255,255,.55); line-height: var(--lh-relaxed); }
.footer__cols { display: flex; gap: var(--space-12); flex-wrap: wrap; }
.footer__col h4 {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  color: rgba(255,255,255,.45);
  margin: 0 0 var(--space-5);
}
.footer__col a {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: var(--fs-body);
  text-decoration: none;
  margin-bottom: var(--space-3);
}
.footer__col a:hover { color: #fff; text-decoration: none; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-7);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.45);
}
.footer__bottom .badge {
  display: inline-flex; align-items: center; gap: 8px;
}
.footer__bottom .badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); }

/* ---------- Intel-Mac download warning (best-effort; render.js) ---------- */
.intel-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}
.intel-modal[hidden] { display: none; }
.intel-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 23, 30, .55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.intel-modal__card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-8) var(--space-8) var(--space-7);
  text-align: center;
  animation: intel-pop var(--dur-base) var(--ease-out);
}
@keyframes intel-pop {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.intel-modal__icon {
  width: 52px; height: 52px;
  margin: 0 auto var(--space-5);
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--brand-blue);
}
.intel-modal__icon svg { width: 26px; height: 26px; }
.intel-modal__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-extrabold);
  color: var(--text-strong);
  margin: 0 0 var(--space-3);
}
.intel-modal__body {
  margin: 0 0 var(--space-4);
  color: var(--text-body);
  line-height: var(--lh-relaxed);
}
.intel-modal__check {
  margin: 0 0 var(--space-6);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}
.intel-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}
.intel-modal__actions .btn { flex: 1 1 auto; min-width: 140px; }
.intel-modal__windows {
  margin: var(--space-5) 0 0;
  font-size: var(--fs-xs);
  color: var(--text-faint);
}
@media (prefers-reduced-motion: reduce) {
  .intel-modal__card { animation: none; }
}
