/* Avido landing (gestorías). Follows the visitor's OS theme (prefers-color-scheme), even though the rest of the app is light-only;
   <html data-theme="light|dark"> forces one.
   Layout: "el expediente". Marino bands open, hold and close the page (hero, control, form);
   the light pages between them carry paperwork (opportunity, expediente, offer), marked up
   with the vernacular of Spanish admin documents: refs, CNAE codes, a "Revisado" stamp. */
:root {
  /* Surfaces & text (cool neutrals from the Marino Lima system) */
  --bg: #F4F7FB;
  --surface: #FFFFFF;
  --surface-2: #FAFCFE;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --text: #13243F;
  --muted: #5A6B82;
  --subtle: #8C99AD;
  --ink: #122B4F;              /* headings, amounts */

  /* Actions */
  --btn: #122B4F;
  --btn-hover: #0E2240;
  --btn-fg: #FFFFFF;
  --lima: #B4DA52;
  --lima-hover: #A6CE45;
  --lima-ink: #22320A;
  --lima-soft: #E3F0B8;
  --lima-soft-fg: #4A6B1C;
  --stamp: #4F7A16;
  --focus: rgba(45, 127, 249, .45);

  /* Bands (dark in both themes) */
  --band: #122B4F;
  --band-fg: #FFFFFF;
  --band-muted: rgba(255, 255, 255, .74);
  --band-line: rgba(255, 255, 255, .14);
  --band-soft: rgba(255, 255, 255, .06);

  /* Semantic */
  --ok-bg: #E8F1D9;   --ok-fg: #4A6B1C;
  --neu-bg: #E7EBF2;  --neu-fg: #3C4A66;
  --warn-bg: #FBEBCF; --warn-fg: #9A6207;
  --err: #C0392B;     --err-fg: #B0301F;

  --shadow: 0 1px 0 rgba(18, 43, 79, .04), 0 28px 56px -28px rgba(18, 43, 79, .30);

  /* Type */
  --f-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-display: clamp(2.5rem, 1.55rem + 3.6vw, 3.625rem);
  --fs-h2: clamp(1.875rem, 1.35rem + 1.8vw, 2.5rem);
  --fs-lead: 1.1875rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1426; --surface: #101E36; --surface-2: #0D192D; --line: #1E3150; --line-strong: #2B4267;
    --text: #E4EAF3; --muted: #9DAAC0; --subtle: #6E7D96; --ink: #F2F6FC;
    --btn: #E8EEF7; --btn-hover: #FFFFFF; --btn-fg: #0C1A30;
    --lima-soft: #263A12; --lima-soft-fg: #CDE88A; --stamp: #BFE06A; --focus: rgba(180, 218, 82, .55);
    --band: #0F2242; --band-line: rgba(255, 255, 255, .12); --band-soft: rgba(255, 255, 255, .05);
    --ok-bg: #1B2E13; --ok-fg: #B4D98A; --neu-bg: #1B2A44; --neu-fg: #B8C5DA;
    --warn-bg: #3A2A0E; --warn-fg: #F0C068; --err: #E0604F; --err-fg: #F3A397;
    --shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 28px 56px -28px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A1426; --surface: #101E36; --surface-2: #0D192D; --line: #1E3150; --line-strong: #2B4267;
  --text: #E4EAF3; --muted: #9DAAC0; --subtle: #6E7D96; --ink: #F2F6FC;
  --btn: #E8EEF7; --btn-hover: #FFFFFF; --btn-fg: #0C1A30;
  --lima-soft: #263A12; --lima-soft-fg: #CDE88A; --stamp: #BFE06A; --focus: rgba(180, 218, 82, .55);
  --band: #0F2242; --band-line: rgba(255, 255, 255, .12); --band-soft: rgba(255, 255, 255, .05);
  --ok-bg: #1B2E13; --ok-fg: #B4D98A; --neu-bg: #1B2A44; --neu-fg: #B8C5DA;
  --warn-bg: #3A2A0E; --warn-fg: #F0C068; --err: #E0604F; --err-fg: #F3A397;
  --shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 28px 56px -28px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
img { max-width: 100%; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 600; color: var(--ink); text-wrap: balance; letter-spacing: -0.015em; }
p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.band :focus-visible, .hero :focus-visible, .site-header:not(.is-solid) :focus-visible { outline-color: var(--lima); }
.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; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--lima); color: var(--lima-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: 1184px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }

.section { padding-block: 72px; }
@media (min-width: 1024px) { .section { padding-block: 112px; } }
.on-surface { background: var(--surface); }
.on-bg { background: var(--bg); }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic-lg { width: 24px; height: 24px; stroke-width: 1.5; }

.eyebrow { font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.022em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 48px; }
@media (min-width: 1024px) { .sec-head { margin-bottom: 64px; } }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .9375rem/1.2 var(--f-body); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .14s ease-out, border-color .14s ease-out, color .14s ease-out, transform .14s ease-out;
}
.btn:active { transform: scale(.98); }
.btn .ic { width: 18px; height: 18px; transition: transform .16s ease-out; }
.btn:hover .ic-arrow { transform: translateX(3px); }
.btn-lima { background: var(--lima); color: var(--lima-ink); }
.btn-lima:hover { background: var(--lima-hover); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.btn-block { width: 100%; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; line-height: 1.45; white-space: nowrap; }
.b-ok { background: var(--ok-bg); color: var(--ok-fg); }
.b-neu { background: var(--neu-bg); color: var(--neu-fg); }
.b-warn { background: var(--warn-bg); color: var(--warn-fg); }
.b-lima { background: var(--lima); color: var(--lima-ink); }
.b-soft { background: var(--lima-soft); color: var(--lima-soft-fg); }
.b-example {
  font-family: var(--f-mono); font-weight: 500; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase;
  border: 1px dashed var(--line-strong); color: var(--muted); background: transparent; padding: 2px 9px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--band); color: var(--band-fg); border-bottom: 1px solid transparent;
  --logo-ink: #FFFFFF;
  transition: background-color .2s ease-out, border-color .2s ease-out, color .2s ease-out;
}
.site-header.is-solid {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom-color: var(--line); color: var(--text); --logo-ink: var(--ink);
}
.hdr { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; color: var(--logo-ink); text-decoration: none; border-radius: 6px; }
.logo svg { width: 100px; height: 30px; display: block; }
.nav { display: none; gap: 30px; margin-left: 24px; }
.nav a { position: relative; padding-block: 8px; text-decoration: none; font-weight: 500; font-size: .9375rem; opacity: .8; transition: opacity .14s ease-out; }
.nav a:hover, .nav a[aria-current="true"] { opacity: 1; }
.nav a[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 2px; border-radius: 2px; background: var(--lima); }
.hdr-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.enter { display: none; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .9375rem; opacity: .85; }
.enter:hover { opacity: 1; }
.cta-long { display: none; }
.menu-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent);
  background: transparent; color: inherit; cursor: pointer;
}
.mnav { border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); padding-block: 8px 16px; }
.mnav a { display: block; padding: 12px 0; text-decoration: none; font-weight: 500; font-size: 1.0625rem; }
@media (min-width: 640px) { .enter { display: inline-flex; } }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .menu-btn, .mnav { display: none !important; }
  .cta-long { display: inline; }
  .cta-short { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--band); color: var(--band-fg); padding-block: 48px 80px; }
@media (min-width: 1024px) { .hero { padding-block: 72px 120px; } }
.hero::before {
  content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: 50%; transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(180, 218, 82, .17), rgba(180, 218, 82, 0) 72%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(255, 255, 255, .045) 31px 32px);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 80%); mask-image: linear-gradient(90deg, transparent 30%, #000 80%);
}
@media (max-width: 1023px) { .hero::after { opacity: .45; } }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 72px; } }
.hero .eyebrow { color: var(--lima); display: inline-flex; align-items: center; gap: 10px; }
.hero .eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--lima); }
.hero h1 { margin-top: 22px; color: #FFFFFF; font-size: var(--fs-display); line-height: 1.03; letter-spacing: -0.03em; max-width: 22ch; }
.dbr { display: none; }
@media (min-width: 768px) { .hero h1 .hl { white-space: nowrap; } .dbr { display: inline; } }
.hl {
  background-image: linear-gradient(var(--lima), var(--lima)); background-repeat: no-repeat;
  background-size: 100% .12em; background-position: 0 94%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: underline 900ms cubic-bezier(.2, .7, .2, 1) 250ms both;
}
@keyframes underline { from { background-size: 0% .12em; } to { background-size: 100% .12em; } }
.hero-sub { margin-top: 26px; font-size: var(--fs-lead); line-height: 1.55; color: var(--band-muted); max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.assure { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; font-size: .875rem; color: var(--band-muted); }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure .ic { width: 16px; height: 16px; color: var(--lima); }
.assure .hi { color: #FFFFFF; font-weight: 600; }
.comm { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 12px; border-radius: 10px; background: var(--lima-soft); color: var(--lima-soft-fg); font-size: .8125rem; font-weight: 600; line-height: 1.35; }
.comm .ic { width: 18px; height: 18px; }

/* ---------- Opportunity card ---------- */
.opp-stack { position: relative; width: 100%; max-width: 480px; justify-self: center; }
@media (min-width: 1024px) { .opp-stack { justify-self: end; } }
.opp-stack::before {
  content: ""; position: absolute; inset: 18px -12px -16px 14px; border-radius: 18px;
  background: var(--band-soft); border: 1px solid var(--band-line); transform: rotate(2.4deg);
}
.opp {
  position: relative; background: var(--surface); color: var(--text); border: 1px solid var(--line);
  border-radius: 18px; padding: 22px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .65);
}
@media (min-width: 480px) { .opp { padding: 26px; } }
.opp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.opp-title { margin-top: 14px; font-size: 1.3125rem; line-height: 1.22; }
.opp-meta { margin-top: 6px; font-size: .875rem; color: var(--muted); }
.opp-meta b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.opp-amount { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.amt { font-family: var(--f-display); font-size: 1.875rem; line-height: 1; font-weight: 600; color: var(--ink); letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.amt-note { display: block; margin-top: 6px; font-size: .8125rem; color: var(--muted); }
.stamp {
  margin-left: auto; transform: rotate(-8deg); padding: 7px 11px 6px; border-radius: 8px;
  border: 2px solid var(--stamp); color: var(--stamp); text-align: center; line-height: 1.2;
  font-family: var(--f-mono); font-weight: 500; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  box-shadow: inset 0 0 0 2px var(--surface), inset 0 0 0 3px var(--stamp);
  animation: stamp 420ms cubic-bezier(.3, 1.6, .5, 1) 900ms both;
}
.stamp small { display: block; margin-top: 2px; font-size: .5625rem; letter-spacing: .08em; }
@keyframes stamp { from { transform: rotate(-16deg) scale(1.35); } to { transform: rotate(-8deg) scale(1); } }
.why { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--bg); }
.why-h { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.why li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding-top: 10px; font-size: .875rem; line-height: 1.45; }
.why .ic { width: 18px; height: 18px; color: var(--ok-fg); margin-top: 1px; }
.src { font-family: var(--f-mono); font-size: .6875rem; color: var(--muted); border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.decide { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-strong); }
.decide-q { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.decide-btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.dbtn {
  min-height: 46px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink); font: 600 .8125rem/1.2 var(--f-body); cursor: pointer;
  transition: background-color .14s ease-out, border-color .14s ease-out, color .14s ease-out, transform .14s ease-out;
}
.dbtn:hover { border-color: var(--ink); }
.dbtn:active { transform: scale(.98); }
.dbtn[aria-pressed="true"][data-choice="discard"] { background: var(--neu-bg); border-color: var(--neu-bg); color: var(--neu-fg); }
.dbtn[aria-pressed="true"][data-choice="own"] { background: var(--btn); border-color: var(--btn); color: var(--btn-fg); }
.dbtn[aria-pressed="true"][data-choice="avido"] { background: var(--lima); border-color: var(--lima); color: var(--lima-ink); }
.decide-result { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; min-height: 2.9em; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.decide-result .ic { width: 18px; height: 18px; margin-top: 1px; color: var(--muted); }
.decide-result.is-set { color: var(--text); }
.decide-result.is-set .ic { color: var(--ok-fg); }
.mode { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-size: .8125rem; color: var(--muted); }
.mode-opt { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); font-weight: 500; }
.mode-opt.is-on { border-color: var(--ink); color: var(--ink); }
.mode-opt.is-on .ic { width: 14px; height: 14px; }
.mode-opt.is-later { border-style: dashed; color: var(--subtle); }
.mode-opt.is-later em { font-style: normal; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; }
.fade-in { animation: fade 200ms ease-out both; }
@keyframes fade { from { opacity: .3; transform: translateY(3px); } to { opacity: 1; transform: none; } }


/* ---------- Earnings ---------- */
.earn-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .earn-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } }
.earn .sec-head { margin-bottom: 8px; }
@media (min-width: 1024px) { .earn-side, .tech-side { position: sticky; top: 104px; } }
.benefit { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding-block: 28px; border-top: 1px solid var(--band-line); }
.benefit-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(180, 218, 82, .14); color: var(--lima); }
.benefit-k { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lima); }
.benefit h3 { margin-top: 6px; font-size: 1.3125rem; line-height: 1.25; }
.benefit p { margin-top: 10px; color: var(--band-muted); max-width: 52ch; }
.shift { display: grid; justify-items: start; gap: 6px; margin-top: 16px; }
.pill { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 500; border: 1px solid var(--band-line); color: var(--band-muted); }
.pill.is-new { background: var(--lima); border-color: var(--lima); color: var(--lima-ink); font-weight: 600; }
.shift .ic { width: 16px; height: 16px; color: var(--band-muted); transform: rotate(90deg); margin-left: 14px; }
.earn-cta { margin-top: 12px; }
.ledger { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.ledger-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.ledger-head h4 { margin: 0; font-family: var(--f-display); font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.ledger-sub { font-family: var(--f-mono); font-size: .75rem; color: var(--muted); margin-top: 4px; }
.lrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.lrow-name { font-size: .9375rem; line-height: 1.35; color: var(--text); }
.lrow-meta { display: block; margin-top: 3px; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .04em; color: var(--muted); }
.lrow-r { display: grid; justify-items: end; gap: 6px; }
.lrow-amt { font-family: var(--f-display); font-size: 1.125rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.ledger-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; padding: 20px 22px; background: var(--bg); }
.ledger-foot .k { font-size: .8125rem; color: var(--muted); }
.ledger-foot .v { display: block; margin-top: 2px; font-family: var(--f-display); font-size: 1.75rem; line-height: 1.1; font-weight: 600; color: var(--ink); letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.ledger-foot .you { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: var(--lima); color: var(--lima-ink); font-weight: 600; font-size: .875rem; }
.ledger-foot .you .ic { width: 18px; height: 18px; }
.ledger-note { margin-top: 14px; font-size: .8125rem; color: var(--band-muted); }

/* ---------- Technology ---------- */
.tech-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .tech-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } }
.pillars { display: grid; gap: 0; margin-top: 8px; }
.pillar { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding-block: 22px; border-top: 1px solid var(--line); }
.pillar-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.pillar h3 { font-size: 1.125rem; line-height: 1.3; }
.pillar p { margin-top: 6px; font-size: .9375rem; color: var(--muted); max-width: 50ch; }
.vs { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.vs-head, .vs-cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vs-head > div { padding: 16px 20px; font-family: var(--f-display); font-weight: 600; font-size: 1rem; }
.vs-head .old { color: var(--muted); background: var(--surface-2); border-right: 1px solid var(--line); }
.vs-head .new { color: var(--lima-ink); background: var(--lima); display: flex; align-items: center; gap: 8px; }
.vs-head .new svg { width: 18px; height: 18px; }
.vs-row { border-top: 1px solid var(--line); background: linear-gradient(var(--line), var(--line)) 50% 0 / 1px 100% no-repeat; }
.vs-label { padding: 12px 20px 0; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vs-cells > div { padding: 6px 20px 16px; font-size: .9375rem; line-height: 1.45; }
.vs-cells .old { color: var(--muted); }
.vs-cells .new { color: var(--ink); font-weight: 500; }

/* ---------- Problem ---------- */
.problem-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .problem-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; } }
.problem-grid .sec-head { margin-bottom: 0; align-content: start; }
.gaps { display: grid; }
.gap { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; padding-block: 28px; border-top: 1px solid var(--line); }
.gap:first-child { padding-top: 4px; border-top: 0; }
@media (min-width: 1024px) { .gap:first-child { padding-top: 0; } }
.gap-ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.gap h3 { font-size: 1.375rem; line-height: 1.2; }
.gap p { margin-top: 8px; color: var(--muted); max-width: 52ch; }
.gap .badge { margin-top: 14px; }
.closing { padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--f-display); font-size: 1.375rem; line-height: 1.35; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; max-width: 40ch; }
.closing strong { font-weight: 600; background: linear-gradient(transparent 62%, var(--lima-soft) 62%); }

/* ---------- How it works ---------- */
.track { position: relative; display: grid; gap: 32px; counter-reset: step; }
.track::before { content: ""; position: absolute; left: 18px; top: 18px; bottom: 18px; width: 1px; background: var(--line-strong); }
.step { position: relative; padding-left: 60px; }
.node {
  position: absolute; left: 0; top: -4px; width: 37px; height: 37px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface);
  font-family: var(--f-mono); font-size: .8125rem; font-weight: 500; color: var(--ink);
}
.step.is-you .node { background: var(--lima); border-color: var(--lima); color: var(--lima-ink); }
.step h3 { font-size: 1.125rem; line-height: 1.3; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.step p { margin-top: 8px; font-size: .9375rem; color: var(--muted); }
@media (min-width: 1024px) {
  .track { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
  .track::before { left: 18px; right: 18px; top: 18px; bottom: auto; width: auto; height: 1px; }
  .step { padding-left: 0; padding-top: 60px; }
  .node { top: 0; }
}

.exp-grid { display: grid; gap: 40px; margin-top: 88px; align-items: center; }
@media (min-width: 1024px) { .exp-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; margin-top: 120px; } }
.exp-copy h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); line-height: 1.15; letter-spacing: -0.02em; }
.exp-copy > p { margin-top: 14px; color: var(--muted); max-width: 48ch; }
.ticks { display: grid; gap: 12px; margin-top: 24px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic { margin-top: 3px; color: var(--ok-fg); }
.exp { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.exp-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 16px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.exp-head h4 { margin: 0; font-family: var(--f-display); font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.exp-ref { margin-top: 4px; font-family: var(--f-mono); font-size: .75rem; color: var(--muted); }
.exp-prog { display: flex; align-items: center; gap: 14px; padding: 14px 22px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { flex: 1; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; width: 37.5%; border-radius: inherit; background: var(--lima); }
.exp-row { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 4px 12px; align-items: start; padding: 13px 22px; border-bottom: 1px solid var(--line); }
.exp-row:last-child { border-bottom: 0; }
.exp-row > .ic { width: 20px; height: 20px; margin-top: 1px; }
.exp-row .done { color: var(--ok-fg); }
.exp-row .todo { color: var(--subtle); }
.exp-row .rev { color: var(--ink); }
.exp-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; min-width: 0; }
.exp-name { font-size: .9375rem; line-height: 1.35; color: var(--text); }
.exp-who { display: block; margin-top: 2px; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .04em; color: var(--muted); }
.exp-foot { display: flex; gap: 10px; align-items: center; padding: 14px 22px; background: var(--bg); border-top: 1px solid var(--line); font-size: .875rem; font-weight: 500; color: var(--ink); }

/* ---------- Levels ---------- */
.levels { display: grid; gap: 20px; }
@media (min-width: 1024px) {
  .levels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
.level { position: relative; padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.level-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.level-n { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.level h3 { margin-top: 14px; font-size: 1.5rem; letter-spacing: -0.02em; }
.level ul { display: grid; gap: 10px; margin-top: 16px; }
.level li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; line-height: 1.5; }
.level li .ic { width: 16px; height: 16px; margin-top: 4px; color: var(--muted); }
.mode-line { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
@media (min-width: 1024px) { .mode-line { margin-top: 112px; } }
.mode-text { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-family: var(--f-display); font-size: clamp(1.5rem, 1rem + 2vw, 2.375rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
.sep { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--lima); color: var(--lima-ink); }
.sep .ic { width: 16px; height: 16px; stroke-width: 2; }
@media (max-width: 767px) {
  .mode-text { display: grid; justify-items: start; gap: 8px; }
  .sep { width: 28px; height: 28px; margin-left: 2px; }
  .sep .ic { transform: rotate(90deg); }
}

/* ---------- Control band ---------- */
.band { background: var(--band); color: var(--band-fg); }
.band .h2, .band h3 { color: #FFFFFF; }
.band .eyebrow { color: var(--lima); }
.band .lead { color: var(--band-muted); }
.tiles { display: grid; column-gap: 32px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { display: grid; gap: 10px; align-content: start; padding-block: 26px 30px; border-top: 1px solid var(--band-line); }
.tile .ic { color: var(--lima); }
.tile h3 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: -0.005em; }
.tile p { font-size: .9375rem; color: var(--band-muted); }

/* ---------- Needs ---------- */
.needs { display: grid; gap: 16px; }
@media (min-width: 768px) { .needs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.panel { padding: 28px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg); }
.panel h3 { font-size: 1.25rem; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.panel h3 span { font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.panel ul { display: grid; gap: 14px; margin-top: 20px; }
.panel li { display: flex; gap: 12px; align-items: flex-start; }
.dot { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; margin-top: 0; }
.dot .ic { width: 14px; height: 14px; stroke-width: 2.2; }
.dot-yes { background: var(--ok-bg); color: var(--ok-fg); }
.dot-no { background: var(--neu-bg); color: var(--neu-fg); }
.footnote { margin-top: 24px; font-size: .875rem; color: var(--muted); max-width: 70ch; }
.footnote a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }

/* ---------- Price ---------- */
.price-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .price-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; } }
.offer { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.offer-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 20px 26px; background: var(--band); color: var(--band-fg); }
.offer-name { font-family: var(--f-display); font-size: 1.125rem; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.offer-name svg { width: 18px; height: 18px; }
.offer-head .mono { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--band-muted); }
.offer-body { padding: 26px; }
@media (min-width: 480px) { .offer-body { padding: 32px; } }
.price { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.price .num { font-family: var(--f-display); font-size: 3.75rem; line-height: 1; font-weight: 600; letter-spacing: -0.04em; color: var(--ink); }
.price .num-text { font-family: var(--f-display); font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.price-sub { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.incl { display: grid; gap: 12px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.incl li { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; }
.incl .ic { margin-top: 2px; color: var(--ok-fg); }
.extra { margin-top: 24px; padding: 16px 18px; border-radius: 12px; background: var(--bg); }
.extra p:first-child { font-size: .8125rem; font-weight: 600; color: var(--ink); }
.extra p + p { margin-top: 4px; font-size: .875rem; color: var(--muted); }
.offer .btn { margin-top: 24px; }

.plan h3 { font-size: 1.375rem; }
.months { position: relative; display: grid; gap: 28px; margin-top: 28px; }
.months::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: var(--line-strong); }
.month { position: relative; padding-left: 36px; }
.month::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); }
.month:last-child::before { background: var(--lima); border-color: var(--lima); }
.month-k { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.month h4 { margin: 2px 0 0; font-family: var(--f-display); font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.month ul { display: grid; gap: 6px; margin-top: 8px; }
.month li { font-size: .9375rem; color: var(--muted); padding-left: 14px; position: relative; }
.month li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 1px; background: var(--subtle); }
.why-pay { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.why-pay .eyebrow { display: block; }
.why-pay p:not(.eyebrow) { margin-top: 10px; font-family: var(--f-display); font-size: 1.1875rem; line-height: 1.45; color: var(--ink); max-width: 46ch; }
.why-pay .cancel { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 500; color: var(--ok-fg); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; }
  .faq-side { position: sticky; top: 112px; align-self: start; }
}
.faq-side .sec-head { margin-bottom: 0; }
.faq-side .more { margin-top: 20px; font-size: .9375rem; color: var(--muted); }
.faq-side .more a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 20px 0;
  cursor: pointer; list-style: none; font-family: var(--f-display); font-size: 1.125rem; font-weight: 600; line-height: 1.35; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); margin-top: -2px; transition: background-color .16s ease-out, border-color .16s ease-out; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .2s ease-out; border-radius: 2px; }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .pm { background: var(--lima); border-color: var(--lima); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: var(--lima-ink); }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover .pm { border-color: var(--ink); }
.faq details p { padding: 0 48px 22px 0; color: var(--muted); max-width: 64ch; }

/* ---------- Final CTA + form ---------- */
.cta-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .cta-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; } }
.cta-copy .h2 { margin-top: 16px; }
.cta-copy > p { margin-top: 18px; color: var(--band-muted); font-size: var(--fs-lead); line-height: 1.55; max-width: 44ch; }
.next { display: grid; gap: 18px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--band-line); counter-reset: n; }
.next li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: start; color: var(--band-muted); }
.next li::before { counter-increment: n; content: counter(n); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--band-line); font-family: var(--f-mono); font-size: .8125rem; color: var(--lima); }
.next b { display: block; color: #FFFFFF; font-weight: 600; }
.form-card { background: var(--surface); color: var(--text); border-radius: 20px; padding: 24px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
@media (min-width: 640px) { .form-card { padding: 34px; } }
.band .form-card h3 { font-size: 1.375rem; color: var(--ink); }
.form-card .form-intro { margin-top: 6px; font-size: .9375rem; color: var(--muted); }
.form-grid { display: grid; gap: 18px; margin-top: 24px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--text); font: 400 1rem/1.3 var(--f-body);
  transition: border-color .14s ease-out, box-shadow .14s ease-out; -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: var(--subtle); }
.field input:hover, .field select:hover { border-color: var(--muted); }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--focus); }
.field [aria-invalid="true"] { border-color: var(--err); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select { padding-right: 40px; cursor: pointer; }
.err { margin-top: 6px; font-size: .8125rem; color: var(--err-fg); }
.field label.consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; margin: 0; padding-block: 6px; font-size: .875rem; font-weight: 400; line-height: 1.5; color: var(--text); cursor: pointer; }
.field .consent input {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; min-height: 24px; padding: 0; margin: 0;
  border: 1.5px solid var(--line-strong); border-radius: 7px; background-color: var(--surface); background-repeat: no-repeat; background-position: center; background-size: 16px;
  cursor: pointer; transition: background-color .14s ease-out, border-color .14s ease-out;
}
.field .consent input:checked {
  background-color: var(--lima); border-color: var(--lima);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322320A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.field .consent input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.consent a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.form-card .btn { margin-top: 24px; min-height: 54px; font-size: 1rem; }
.form-note { margin-top: 14px; font-size: .8125rem; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- End-user door & footer ---------- */
.enduser { background: var(--surface-2); border-top: 1px solid var(--line); padding-block: 22px; }
.enduser .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; text-align: center; font-size: .9375rem; color: var(--muted); }
.enduser a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.enduser a:hover { border-bottom-color: var(--ink); }
.enduser .ic { width: 16px; height: 16px; }
.footer { background: var(--bg); border-top: 1px solid var(--line); padding-block: 40px; font-size: .875rem; color: var(--muted); }
.foot-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.footer .logo { color: var(--ink); }
.footer .tag { margin-top: 10px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.copy { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: .75rem; color: var(--subtle); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
