/* AlFallo landing: the app's own iOS look, at page scale.
   Inter Variable, system red, grouped lists with 12px corners, and the progress ring as the one
   recurring motif (hero, guarantee, thank-you). The hero, guarantee and lead bands are dark in
   both themes; everything else follows prefers-color-scheme. */

@font-face {
  font-family: "Inter";
  src: url("/landing/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-soft: #f2f2f7;
  --surface: #f2f2f7;          /* groups on a white section */
  --ink: #000000;
  --ink-2: #3a3a3c;            /* body on white: 11:1 */
  --muted: #6e6e73;            /* captions on white 5.1:1, on #f2f2f7 4.6:1 */
  --line: rgba(60, 60, 67, .18);
  --line-strong: #8e8e93;      /* outlined buttons: 3:1 or more against the cards */
  --accent: #d70015;           /* red text on light: 5.4:1 (#ff3b30 is only 3.5:1) */
  --accent-fill: #d70015;      /* filled buttons carry white text: 5.4:1 */
  --accent-fill-hover: #b5000f;
  --ring: #ff3b30;             /* decorative strokes keep the brand red */
  --green: #34c759;
  --focus: #007aff;
  --bar: rgba(255, 255, 255, .82);

  /* Dark bands, the same in both themes */
  --dark: #000000;
  --dark-surface: #1c1c1e;
  --dark-surface-2: #2c2c2e;
  --on-dark: #ffffff;
  --on-dark-2: #c7c7cc;        /* body on black: 12:1 */
  --on-dark-muted: #98989d;    /* captions on black 7:1, on #1c1c1e 5.9:1 */
  --dark-accent: #ff453a;      /* red text on black 6.2:1, on #1c1c1e 5:1 */
  --dark-line: rgba(84, 84, 88, .55);

  --f: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --maxw: 1120px;
  --gut: 16px;
  --radius: 12px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-soft: #1c1c1e;
    --surface: #1c1c1e;
    --ink: #ffffff;
    --ink-2: #d1d1d6;
    --muted: #98989d;
    --line: rgba(84, 84, 88, .6);
    --accent: #ff453a;
    --ring: #ff453a;
    --focus: #0a84ff;
    --bar: rgba(0, 0, 0, .78);
  }
}

@media (min-width: 720px) { :root { --gut: 32px; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink-2); font-family: var(--f); font-size: 17px; line-height: 1.55;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: calc(var(--maxw) + 2 * var(--gut)); margin: 0 auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; font-weight: 600; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.display { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -0.04em; }
.title { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; max-width: 22ch; margin-bottom: 16px; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.sub, .body { max-width: 60ch; }
.sub { font-size: 19px; color: var(--muted); margin-bottom: clamp(32px, 5vw, 48px); }
.body + .body { margin-top: 14px; }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: 60px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-inline: var(--gut); color: var(--on-dark);
  transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.top.solid { background: var(--bar); color: var(--ink); box-shadow: 0 .5px 0 var(--line);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.logo-mark { width: 32px; height: 32px; flex: none; }
.logo-word { font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.menu { display: flex; gap: 28px; }
.menu a { font-size: 15px; font-weight: 500; text-decoration: none; opacity: .8; padding: 6px 0; transition: opacity .2s; }
.menu a:hover, .menu a.on { opacity: 1; }
.menu a.on { box-shadow: 0 2px 0 currentColor; }
@media (max-width: 900px) { .menu { display: none; } }
.top-end { display: flex; align-items: center; gap: 16px; }
.top-link { font-size: 15px; font-weight: 600; text-decoration: none; }
.top-link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 400px) { .top .logo-word { display: none; } .top-end { gap: 12px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 14px;
  font: inherit; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; text-align: center; cursor: pointer;
  border: 1.5px solid transparent; transition: background .15s var(--ease), border-color .15s var(--ease), transform .1s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 15px; border-radius: 10px; }
.btn-primary { background: var(--accent-fill); color: #fff; }
.btn-primary:hover { background: var(--accent-fill-hover); }
.btn-ghost { color: var(--on-dark); border-color: rgba(255, 255, 255, .42); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-line { color: var(--ink); border-color: var(--line-strong); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Section dots ---------- */
.dots { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 30; display: grid; gap: 2px; color: #fff; mix-blend-mode: difference; }
.dots a { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; }
.dots a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .35; transition: transform .2s, opacity .2s; }
.dots a.on::before { opacity: 1; transform: scale(1.5); }
.dots a:hover::before { opacity: .8; }
@media (max-width: 1200px) { .dots { display: none; } }

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding-block: clamp(72px, 10vw, 128px); }
.sec-soft { background: var(--bg-soft); --surface: var(--bg); }
@media (prefers-color-scheme: dark) { .sec-soft { --surface: #2c2c2e; } }
.band-dark { background: var(--dark); color: var(--on-dark-2); --line: var(--dark-line); }
.band-dark h1, .band-dark h2, .band-dark h3 { color: var(--on-dark); }
.band-dark .eyebrow { color: var(--dark-accent); }
.band-dark .muted { color: var(--on-dark-muted); }
/* In dark mode the bands sit on black too: a hairline keeps the edges readable. */
@media (prefers-color-scheme: dark) { .band-dark + .sec, .sec + .band-dark { border-top: .5px solid var(--dark-line); } }

/* Grouped list: the app's settings-style container */
.group { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.row { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; }
.row + .row::before { content: ""; position: absolute; top: 0; right: 0; left: 60px; border-top: .5px solid var(--line); }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 104px 72px; overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 100% 0%, rgba(255, 59, 48, .22), transparent 70%), var(--dark); }
.hero-ring { position: absolute; width: min(92vw, 760px); right: -18%; top: -12%; transform: rotate(-90deg); pointer-events: none; }
.hero-ring circle { fill: none; stroke-width: 14; }
.ring-track { stroke: rgba(255, 69, 58, .12); }
.ring-fill { stroke: rgba(255, 69, 58, .45); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 18; }
.hero-grid { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero .lede { margin-top: 24px; font-size: clamp(17px, 1.6vw, 19px); max-width: 52ch; color: var(--on-dark-2); }
.hero .cta-row { margin-top: 32px; }
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--dark-surface);
  color: var(--on-dark); font-size: 14px; font-weight: 500; }
.chips li::before { content: ""; width: 14px; height: 14px; flex: none; background: center / contain no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334c759' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }

/* Phones and tablets: headline, the reel, then the pitch, so the video stays near the top */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy .eyebrow { order: 1; }
  .hero-copy .display { order: 2; }
  .hero .vsl { order: 3; margin-top: 28px; }
  .hero-copy .lede { order: 4; }
  .hero-copy .hero-cta { order: 5; }
  .hero-copy .chips { order: 6; }
}

/* Load sequence: the ring closes and the copy rises, once */
@media (prefers-reduced-motion: no-preference) {
  @keyframes ring-close { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 18; } }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  .ring-fill { animation: ring-close 1.6s var(--ease) .1s both; }
  .hero-copy > *, .hero .vsl { animation: rise .6s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(n+3) { animation-delay: .14s; }
  .hero .vsl { animation-delay: .2s; }
}

/* ---------- Reel ---------- */
.vsl { margin: 0; }
.vsl-frame { position: relative; aspect-ratio: 16 / 9; background: #0d0d0d; border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 0 .5px rgba(255, 255, 255, .14), 0 30px 80px -30px rgba(255, 59, 48, .35); }
.vsl-frame video { width: 100%; height: 100%; object-fit: cover; }
/* Phones play the 9:16 cut (landing.js) in its own frame, capped so the hero stays scannable */
@media (max-width: 640px) { .vsl-frame { aspect-ratio: 9 / 16; max-width: 360px; max-height: 76svh; margin-inline: auto; } }
.vsl-play { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; display: flex; align-items: flex-end; justify-content: flex-start; gap: 12px; padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 45%); color: #fff; font: inherit; transition: background .2s; }
.vsl-play:hover { background: linear-gradient(to top, rgba(0, 0, 0, .4), transparent 45%); }
.vsl-play .disc { flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--accent-fill); display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(255, 59, 48, .25); transition: transform .2s var(--ease); }
.vsl-play .disc svg { width: 22px; height: 22px; margin-left: 4px; }
.vsl-play:hover .disc { transform: scale(1.06); }
.vsl-hint { line-height: 60px; font-size: 15px; font-weight: 600; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }

/* ---------- Problem ---------- */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } }
.vs-col { background: var(--surface); border-radius: var(--radius); padding: 20px 20px 8px; }
.vs-head { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.vs-new .vs-head { color: var(--accent); }
.vs-col ul { list-style: none; padding: 0; margin: 0; }
.vs-col li { position: relative; padding: 12px 0 12px 32px; font-size: 16px; }
.vs-col li + li { border-top: .5px solid var(--line); }
.vs-col li::before { content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%; }
.vs-old li { color: var(--muted); }
.vs-old li::before { background: rgba(142, 142, 147, .22) center / 10px no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.vs-new li { color: var(--ink); font-weight: 500; }
.vs-new li::before { background: var(--green) center / 12px no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }

/* ---------- How it works ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; max-width: 520px; } }
.step { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-content: start; }
.phone { grid-column: 1 / -1; width: min(100%, 240px); aspect-ratio: 462 / 1000; margin-bottom: 24px; border-radius: 36px; overflow: hidden;
  background: #000; border: 7px solid #1c1c1e; box-shadow: 0 0 0 1px rgba(127, 127, 127, .25), 0 24px 50px -24px rgba(0, 0, 0, .45); }
@media (prefers-color-scheme: dark) { .phone { border-color: #3a3a3c; } }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.step-n { grid-row: 2 / 4; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px;
  background: var(--accent-fill); color: #fff; font-size: 15px; font-weight: 700; }
.step h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 6px; }
.step p { font-size: 16px; }

/* ---------- Features ---------- */
.feature-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 760px) { .feature-groups { grid-template-columns: 1fr; } }
.ico { width: 30px; height: 30px; flex: none; border-radius: 7px; display: grid; place-items: center; margin-top: 2px; }
.ico svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-red { background: #ff3b30; } .ico-green { background: #34c759; } .ico-orange { background: #ff9500; } .ico-blue { background: #007aff; }
.ico-purple { background: #af52de; } .ico-teal { background: #30b0c7; } .ico-indigo { background: #5856d6; } .ico-gray { background: #8e8e93; }
.row h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.row p { font-size: 15px; color: var(--muted); margin-top: 2px; }

/* ---------- Guarantee ---------- */
.guar { display: grid; grid-template-columns: auto 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
@media (max-width: 820px) { .guar { grid-template-columns: 1fr; } }
.guar-ring { position: relative; width: clamp(220px, 30vw, 340px); aspect-ratio: 1; display: grid; place-content: center; text-align: center; }
.guar-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
/* 8 arcs, one per week: pathLength 80 split into 9 + 1 gap */
.week-ring { fill: none; stroke: var(--dark-accent); stroke-width: 12; stroke-dasharray: 9 1; stroke-dashoffset: -.5; }
.guar-num { font-size: clamp(96px, 13vw, 150px); font-weight: 800; line-height: .9; letter-spacing: -0.06em; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.guar-unit { font-size: 17px; font-weight: 600; color: var(--on-dark-muted); margin-top: 6px; }
.guar .body { color: var(--on-dark-2); }
.guar .body.muted { color: var(--on-dark-muted); font-size: 16px; }

/* ---------- Origin ---------- */
.origin { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
@media (max-width: 860px) { .origin { grid-template-columns: 1fr; } }
.punch { margin-top: 20px; font-size: 19px; font-weight: 600; color: var(--ink); max-width: 52ch; line-height: 1.45; }
.fact { align-items: baseline; gap: 16px; padding: 18px 20px; }
.origin-facts .row + .row::before { left: 20px; }
.fact b { min-width: 2.6ch; font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.fact span { font-size: 15px; color: var(--muted); }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: stretch; max-width: 860px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }
.plan { display: flex; flex-direction: column; gap: 16px; padding: 28px 24px; border-radius: 20px; background: var(--surface); }
.plan h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.plan-for { font-size: 15px; color: var(--muted); margin-top: -8px; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; color: var(--ink); }
.plan-price b { font-size: 36px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.plan-per { font-size: 15px; color: var(--muted); }
.plan-note { flex-basis: 100%; font-size: 14px; color: var(--muted); }
.plan-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan-list li { position: relative; padding-left: 26px; font-size: 15px; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: center / contain no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334c759' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }
.plan-list .plan-inherit { padding-left: 0; font-weight: 600; color: var(--ink); }
.plan-list .plan-inherit::before { content: none; }
.plan .btn { width: 100%; }
.plan-pro { background: var(--dark); color: var(--on-dark-2); box-shadow: 0 0 0 2px var(--ring), 0 30px 60px -30px rgba(255, 59, 48, .45); }
@media (prefers-color-scheme: dark) { .plan-pro { background: #1c1c1e; } }
.plan-pro h3, .plan-pro .plan-price, .plan-pro .plan-inherit { color: var(--on-dark); }
.plan-pro .plan-for, .plan-pro .plan-per, .plan-pro .plan-note { color: var(--on-dark-muted); }
.plan-tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--accent-fill); color: #fff; font-size: 13px; font-weight: 600; margin-bottom: -6px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; padding: 2px; border-radius: 9px; background: rgba(118, 118, 128, .32); }
.segmented button { appearance: none; min-height: 34px; border: 0; border-radius: 7px; background: transparent; color: var(--on-dark); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.segmented button[aria-checked="true"] { background: #636366; box-shadow: 0 3px 8px rgba(0, 0, 0, .25); }
.plans-note { margin-top: 20px; font-size: 15px; color: var(--muted); }
.plans-note a { color: var(--accent); font-weight: 600; }

/* ---------- Lead form ---------- */
.lead-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .lead-grid { grid-template-columns: 1fr; } }
.lead-grid .body { color: var(--on-dark-2); }
.lead-card { background: var(--dark-surface); border-radius: 20px; padding: clamp(20px, 3vw, 32px); color: var(--on-dark-2); }
.lead { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; color: var(--on-dark); }
.opt { font-weight: 400; color: var(--on-dark-muted); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 14px; font: inherit; font-size: 17px; color: var(--on-dark); background: var(--dark-surface-2);
  border: 1.5px solid transparent; border-radius: 10px; appearance: none; -webkit-appearance: none;
}
.field select { padding-right: 40px; background: var(--dark-surface-2) right 14px center / 14px no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398989d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.field select option { color: #000; background: #fff; }
.field input:focus, .field select:focus { outline: none; border-color: #0a84ff; }
.field input[aria-invalid="true"] { border-color: #ff6961; }
.field-err, .form-err { font-size: 14px; color: #ff6961; }   /* 6.6:1 on #1c1c1e */
.form-err { padding: 10px 12px; border-radius: 10px; background: rgba(255, 69, 58, .14); }
.lead .btn { width: 100%; }
.fine { font-size: 13px; color: var(--on-dark-muted); text-align: center; }
.lead-done { display: grid; justify-items: center; gap: 12px; padding: 12px 0; text-align: center; outline: none; }
.lead-done h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.lead-done p { max-width: 40ch; }
.lead-done .btn { margin-top: 8px; }
.done-ring { width: 64px; height: 64px; fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.done-ring circle { stroke: var(--green); }
.done-ring path { stroke: var(--green); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes draw { from { stroke-dashoffset: 130; } to { stroke-dashoffset: 0; } }
  .lead-done:not([hidden]) .done-ring circle { stroke-dasharray: 130; animation: draw .7s var(--ease) both; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { position: relative; }
.faq details + details::before { content: ""; position: absolute; top: 0; left: 20px; right: 0; border-top: .5px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative; font-size: 17px; font-weight: 600; color: var(--ink); border-radius: var(--radius); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:focus-visible { outline-offset: -3px; }
.faq details p { padding: 0 20px 20px; font-size: 16px; max-width: 68ch; }

/* ---------- Legal pages (privacidad) ---------- */
.legal { padding-block: 96px 64px; }
.legal .wrap { max-width: calc(760px + 2 * var(--gut)); }
.legal h1 { font-size: clamp(32px, 6vw, 44px); line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); margin: 0 0 8px; }
.legal h2 { font-size: 22px; letter-spacing: -0.02em; color: var(--ink); margin: 40px 0 12px; scroll-margin-top: 80px; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 68ch; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--accent); }
.legal .updated { color: var(--muted); font-size: 15px; }

/* ---------- Footer ---------- */
.foot { padding-block: 32px calc(32px + env(safe-area-inset-bottom)); border-top: .5px solid var(--line); background: var(--bg); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.foot .logo { color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-links a { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-copy { font-size: 14px; color: var(--muted); }

/* ---------- Scroll reveal (only with JS on and motion allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .steps .reveal:nth-child(2), .js .plans .reveal:nth-child(2) { transition-delay: .08s; }
  .js .steps .reveal:nth-child(3), .js .plans .reveal:nth-child(3) { transition-delay: .16s; }
}
