/* Brecha: negro, blanco y un solo lima que significa "ahora".
   Tarjetas negras flotantes, píldoras, titulares enormes y apretados. Ver .claude/skills/brecha-design. */

:root {
  color-scheme: light dark;
  --bg: #f2f2ef;
  --surface: #ffffff;
  --field: #f2f2ef;
  --track: #e7e7e3;
  --ink: #0e0e0e;
  --ink-2: #55565a;
  --muted: #68696e;
  --rule: #e3e3df;
  --rule-strong: #cfcfca;
  --accent: #d4ff3f;
  --on-accent: #0e0e0e;
  --accent-soft: #f1ffc4;
  --bad: #d93036;
  --bad-soft: #fde8e8;
  /* tarjeta negra (igual en ambos modos, salvo el tono) */
  --ink-card: #0e0e0e;
  --on-ink: #ffffff;
  --on-ink-2: #a3a3a8;
  --card-rule: #2a2a2a;
  --card-track: #2e2e2e;
  --card-btn: #262626;
  --card-btn-hover: #333333;
  /* selección: negra en claro, lima en oscuro */
  --sel-bg: #0e0e0e;
  --sel-text: #ffffff;
  --sel-fig: #d4ff3f;
  --focus: #0e0e0e;
  --shadow-float: 0 24px 48px -12px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
  --font: "Inter", "Inter Variable", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --r-pill: 999px;
  --r-card: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --surface: #151515;
    --field: #1f1f1f;
    --track: #262626;
    --ink: #f4f4f2;
    --ink-2: #a3a3a8;
    --muted: #8a8a90;
    --rule: #262626;
    --rule-strong: #3a3a3a;
    --accent-soft: #2a3310;
    --bad: #ff6b6b;
    --bad-soft: #3a1616;
    --ink-card: #1c1c1c;
    --card-rule: #2e2e2e;
    --card-track: #333333;
    --card-btn: #2a2a2a;
    --card-btn-hover: #363636;
    --sel-bg: #d4ff3f;
    --sel-text: #0e0e0e;
    --sel-fig: #0e0e0e;
    --focus: #d4ff3f;
    --shadow-float: none;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
.dim { color: var(--ink-2); }
.hl { color: var(--accent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { display: block; flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- contexto oscuro: tarjetas negras ---------- */
.dark-ctx { --c-text: var(--on-ink); --c-text-2: var(--on-ink-2); --c-rule: var(--card-rule); --focus: var(--accent); color: var(--c-text); background: var(--ink-card); }

/* ---------- etiquetas y puntos ---------- */
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 12px; border: 1px solid var(--rule-strong); border-radius: var(--r-pill); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; line-height: 1; text-transform: uppercase; color: var(--muted); }
.dark-ctx .tag { border-color: var(--c-rule); color: var(--c-text-2); }
.dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.dot.on { background: var(--accent); box-shadow: 0 0 0 4px rgba(212, 255, 63, 0.16); }
.dot.bad { background: var(--bad); }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1px solid var(--rule-strong); border-radius: var(--r-pill); background: var(--surface); font-weight: 600; letter-spacing: -0.01em; transition: transform 0.12s, filter 0.12s, background 0.12s; }
.btn:hover { background: var(--track); }
.btn:active:not([disabled]) { transform: scale(0.98); }
.btn.primary { min-height: 52px; padding: 0 8px 0 22px; border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { filter: brightness(0.96); }
.btn.ink { min-height: 52px; padding: 0 8px 0 22px; border-color: var(--on-accent); background: var(--on-accent); color: #ffffff; }
.btn.ink:hover { filter: brightness(1.3); }
.btn-arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--on-accent); color: #ffffff; }
.btn.ink .btn-arrow { background: var(--accent); color: var(--on-accent); }
.btn-arrow .ico { width: 18px; height: 18px; }
.btn.danger { border-color: var(--bad); background: transparent; color: var(--bad); }
.btn.danger:hover { background: var(--bad-soft); }
.btn.link { min-height: 36px; padding: 0 4px; border: 0; background: none; text-decoration: underline; text-underline-offset: 3px; }
.btn.link:hover { background: none; }
.btn[disabled] { opacity: 0.45; cursor: default; }
.btn.primary[disabled] { opacity: 1; border-color: var(--track); background: var(--track); color: var(--muted); filter: none; }
.btn.primary[disabled] .btn-arrow { background: var(--rule-strong); color: var(--surface); }

.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--track); color: var(--ink); transition: background 0.12s; }
.icon-btn:hover { background: var(--rule-strong); }
.dark-ctx .icon-btn { background: var(--card-btn); color: var(--c-text); }
.dark-ctx .icon-btn:hover { background: var(--card-btn-hover); }
.icon-btn.danger:hover { color: var(--bad); }
.dark-ctx .icon-btn.danger:hover { color: #ff8f8f; }

/* ---------- campos ---------- */
.field { display: block; margin: 0 0 20px; }
.field:last-child { margin-bottom: 0; }
.field-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.hint { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); max-width: 62ch; }
input[type="text"], input[type="number"], input[type="email"], input[type="password"], select {
  width: 100%; min-height: 52px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--r-md); background: var(--field); transition: border-color 0.12s;
}
input:hover, select:hover { border-color: var(--rule-strong); }
input:focus-visible, select:focus-visible { outline: 2px solid var(--focus); outline-offset: 0; }
.form-error { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 12px 16px; border-radius: var(--r-md); background: var(--bad-soft); font-size: 15px; }
.form-error::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); }

input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 0; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--track); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border: 4px solid var(--surface); border-radius: 50%; background: var(--sel-bg); box-shadow: 0 0 0 1px var(--rule-strong); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--track); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 4px solid var(--surface); border-radius: 50%; background: var(--sel-bg); box-shadow: 0 0 0 1px var(--rule-strong); }
.slider-wrap { margin-top: 14px; }
.slider-scale { position: relative; display: block; height: 16px; margin-top: 4px; font-size: 12px; color: var(--muted); }
.slider-scale .scale-t { position: absolute; left: calc(var(--p) * (100% - 24px) + 12px); transform: translateX(-50%); white-space: nowrap; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border: 1px solid var(--rule-strong); border-radius: var(--r-pill); background: transparent; font-size: 15px; font-weight: 500; transition: background 0.12s; }
.chip:hover { background: var(--track); }
.chip[aria-pressed="true"] { border-color: var(--sel-bg); background: var(--sel-bg); color: var(--sel-text); font-weight: 600; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--track); }
.segmented button { min-height: 44px; padding: 6px 14px; border: 0; border-radius: var(--r-pill); background: transparent; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.segmented button[aria-pressed="true"] { background: var(--sel-bg); color: var(--sel-text); font-weight: 600; }

.switch { position: relative; flex: none; width: 48px; height: 28px; padding: 0; border: 0; border-radius: var(--r-pill); background: var(--track); transition: background 0.15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #ffffff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.18s var(--ease); }
.switch[aria-checked="true"] { background: var(--accent); }
.switch[aria-checked="true"]::after { background: var(--on-accent); transform: translateX(20px); }
.dark-ctx .switch { background: var(--card-track); }
.dark-ctx .switch[aria-checked="true"] { background: var(--accent); }
.switch-row { display: flex; align-items: center; gap: 14px; }
.switch-row strong { display: block; font-weight: 600; }
.switch-row .hint { margin-top: 2px; }

.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.amount-readout { display: block; margin-bottom: 12px; font-size: 36px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.amount-tools { display: grid; grid-template-columns: 170px 1fr; gap: 14px; align-items: center; margin-top: 14px; }

/* ---------- plan (nivel de comisión) ---------- */
.plans { display: grid; gap: 8px; }
.plan { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 20px; border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--surface); text-align: left; font-weight: 500; transition: background 0.12s; }
.plan:hover { background: var(--field); }
.plan-fig { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan[aria-pressed="true"] { border-color: var(--sel-bg); background: var(--sel-bg); color: var(--sel-text); font-weight: 600; }
.plan[aria-pressed="true"] .plan-fig { color: var(--sel-fig); }
.plans.is-off { opacity: 0.45; }

/* ---------- estructura ---------- */
.top-in { display: flex; align-items: center; gap: 28px; max-width: 1080px; min-height: 76px; margin: 0 auto; padding: 0 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; }
.brand-name { font-size: 26px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.logo { display: block; flex: none; }
.logo .bg { fill: var(--accent); }
.logo .mk { fill: var(--on-accent); }
.logo .track { opacity: 0.25; }
.nav { display: flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--surface); }
.nav button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: none; font-size: 15px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.nav button:hover { color: var(--ink); }
.nav button .ico { width: 18px; height: 18px; }
.nav button[aria-current="page"] { background: var(--sel-bg); color: var(--sel-text); }
.top-user { margin-left: auto; font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.page { max-width: 1080px; margin: 0 auto; padding: 24px 20px 96px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.page-head .tag { margin-bottom: 18px; }
.page-head h1 { font-size: clamp(44px, 6vw, 72px); letter-spacing: -0.045em; line-height: 0.95; }
.page-head p { margin-top: 12px; color: var(--ink-2); max-width: 56ch; }

.notice > .dot { margin-top: 8px; }
.notice { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 12px; margin: 0 0 12px; padding: 14px 20px; border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--surface); font-size: 15px; }
.notice.bad { border-color: transparent; background: var(--bad-soft); }
.notice-text { flex: 1 1 280px; }
.notice .btn.link { min-height: 28px; padding: 0; font-weight: 600; }

/* ---------- widgets de estado ---------- */
.widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 20px; }
.widget { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 14px 18px; border-radius: var(--r-md); }
.widget-cap { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-text-2); }
.widget-val { display: block; overflow: hidden; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; text-overflow: ellipsis; white-space: nowrap; }
.widget > div { min-width: 0; }

/* ---------- alertas: tarjetas negras ---------- */
.alerts { display: grid; gap: 16px; }
.alert { padding: 28px; border-radius: var(--r-card); box-shadow: var(--shadow-float); }
.alert-head { display: grid; grid-template-columns: 1fr auto; gap: 12px 16px; align-items: start; }
.alert-head h3 { font-size: 24px; letter-spacing: -0.03em; line-height: 1.1; }
.alert-route { margin-top: 8px; font-size: 14px; color: var(--c-text-2); max-width: 70ch; }
.alert-route .arrow { margin: 0 6px; color: var(--c-text); }
.alert-route .side { white-space: nowrap; }
.alert-tools { display: flex; align-items: center; gap: 8px; }
.alert-tools .switch { margin-right: 4px; }

.board { margin-top: 26px; }
.board.is-paused .board-live { opacity: 0.45; }
.board-hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; }
.net-num { display: block; font-size: clamp(56px, 9vw, 88px); font-weight: 600; letter-spacing: -0.05em; line-height: 0.88; font-variant-numeric: tabular-nums; }
.reached .net-num { color: var(--accent); }
.neg .net-num { color: #ff7a7a; }
.net-sub { display: block; margin-top: 12px; font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-text-2); }
.state-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border: 1px solid var(--c-rule); border-radius: var(--r-pill); font-size: 13px; font-weight: 600; color: var(--c-text-2); white-space: nowrap; }
.state-pill.on { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.state-pill.on .dot { background: var(--on-accent); box-shadow: none; }

.ruler { position: relative; height: 68px; margin-top: 18px; }
.ruler-line { position: absolute; left: 0; right: 0; top: 44px; height: 4px; border-radius: 2px; background: var(--card-track); }
.band { position: absolute; top: 42px; height: 8px; border-radius: 4px; transform-origin: left center; }
.band.gross { background: rgba(255, 255, 255, 0.16); }
.band.net { background: rgba(255, 255, 255, 0.85); }
.reached .band.gross { background: rgba(212, 255, 63, 0.3); }
.reached .band.net { background: var(--accent); }
.pin { position: absolute; top: 36px; width: 20px; height: 20px; margin-left: -10px; border: 4px solid var(--ink-card); border-radius: 50%; background: var(--c-text); }
.tick { position: absolute; top: 26px; height: 32px; margin-left: -1px; border-left: 2px dashed var(--c-text-2); }
.tick-label { position: absolute; top: -26px; left: -1px; transform: translateX(-50%); padding: 3px 8px; border-radius: var(--r-pill); background: var(--c-text); color: var(--ink-card); font-size: 10px; font-weight: 600; letter-spacing: 0.06em; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.reached .tick-label { background: var(--accent); color: var(--on-accent); }
.enter .band { animation: grow 0.8s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--c-rule); }
.stat { min-width: 0; }
.stat-cap { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-text-2); }
.stat-val { display: block; margin-top: 6px; font-size: 28px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-who { display: block; margin-top: 6px; overflow: hidden; font-size: 13px; color: var(--c-text-2); text-overflow: ellipsis; white-space: nowrap; }
.board-meta { margin-top: 16px; font-size: 13px; color: var(--c-text-2); }
.board-note { padding: 18px 20px; border: 1px dashed var(--c-rule); border-radius: var(--r-md); color: var(--c-text-2); max-width: 70ch; }
.verdict-line { margin-top: 12px; font-weight: 600; }

.empty { display: grid; gap: 18px; justify-items: start; padding: 44px clamp(24px, 5vw, 48px); border-radius: var(--r-card); background: var(--accent); color: var(--on-accent); }
.empty .tag { border-color: rgba(14, 14, 14, 0.35); color: var(--on-accent); }
.empty h2 { max-width: 12ch; font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.045em; line-height: 0.95; }
.empty p { max-width: 46ch; }

/* ---------- hoja de edición ---------- */
dialog.sheet { width: min(620px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0; border-radius: var(--r-card) 0 0 var(--r-card); background: var(--surface); color: var(--ink); }
dialog.sheet[open] { display: flex; flex-direction: column; animation: slide 0.24s var(--ease); }
dialog.sheet::backdrop { background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(6px); }
@keyframes slide { from { transform: translateX(32px); opacity: 0; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px 12px; }
.sheet-head .tag { margin-bottom: 12px; }
.sheet-head h2 { font-size: 34px; letter-spacing: -0.04em; }
.sheet-body { flex: 1; overflow-y: auto; padding: 0 28px 28px; }
.sheet-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 28px; border-top: 1px solid var(--rule); background: var(--surface); }
.group { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.group:last-child { border-bottom: 0; }
.group > .tag { margin-bottom: 18px; }
.side-note { margin: -6px 0 18px; font-size: 14px; color: var(--ink-2); max-width: 62ch; }
.fee-line { margin-top: 14px; font-size: 14px; color: var(--ink-2); max-width: 62ch; }
.preview-box:not(:empty) { margin-top: 16px; padding: 24px; border-radius: var(--r-card); }
.preview-box .board { margin-top: 0; }

/* ---------- Mi bot y cuenta ---------- */
.stack { display: grid; gap: 12px; max-width: 760px; }
.steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.step, .panel { padding: 24px; border-radius: var(--r-card); background: var(--surface); }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 0 16px; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--track); font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.step-n .ico { width: 18px; height: 18px; stroke-width: 2.5; }
.step.done .step-n { background: var(--accent); color: var(--on-accent); }
.step h3, .panel h3 { margin: 8px 0 10px; font-size: 22px; letter-spacing: -0.03em; line-height: 1.15; }
.step p, .panel p { margin-bottom: 14px; max-width: 60ch; color: var(--ink-2); }
.step .field { margin-bottom: 14px; }
.panel > .tag { margin-bottom: 14px; }
.step-status { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 14px 6px 12px; border-radius: var(--r-pill); background: var(--track); font-size: 14px; font-weight: 600; color: var(--ink); }

/* ---------- entrada ---------- */
.auth { display: grid; grid-template-columns: 1.15fr 0.85fr; min-height: 100dvh; }
.auth-hero { display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: 48px clamp(24px, 6vw, 88px); }
.auth-hero h1 { max-width: 13ch; font-size: clamp(44px, 5.8vw, 76px); letter-spacing: -0.05em; line-height: 0.95; }
.auth-hero .dim { color: var(--on-ink-2); }
.auth-hero p.lead { max-width: 46ch; font-size: 17px; color: var(--c-text-2); }
.hero-stage { position: relative; max-width: 560px; padding: 30px 0 34px; }
.sample { padding: 24px; border: 1px solid var(--c-rule); border-radius: var(--r-card); background: #141414; }
.sample .board { margin-top: 0; }
.sample .net-num { font-size: clamp(48px, 6vw, 68px); }
.float { position: absolute; z-index: 1; background: #262626; box-shadow: 0 18px 36px -10px rgba(0, 0, 0, 0.6); }
.float.a { top: 0; right: -12px; }
.float.b { bottom: 0; left: -12px; }
.auth-card { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(24px, 5vw, 72px); background: var(--surface); }
.auth-card .tag { align-self: flex-start; margin-bottom: 18px; }
.auth-card h2 { margin-bottom: 28px; font-size: 44px; letter-spacing: -0.045em; }
.auth-card .btn.primary { width: 100%; justify-content: space-between; margin-top: 8px; }
.auth-switch { margin-top: 20px; color: var(--ink-2); }

.auth-back { align-self: flex-start; margin: -12px 0 24px -4px; color: var(--ink-2); }

/* ---------- página de inicio ---------- */
.l-top-in { display: flex; align-items: center; gap: 24px; max-width: 1240px; min-height: 76px; margin: 0 auto; padding: 0 20px; }
.l-links { display: flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--surface); }
.l-links button { min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: none; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.l-links button:hover { color: var(--ink); background: var(--track); }
.l-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.l-actions .btn.primary { min-height: 46px; padding-left: 18px; }
.l-actions .btn.primary .btn-arrow { width: 32px; height: 32px; }
.l-main { padding: 0 20px; }
.l-sec { max-width: 1200px; margin: 0 auto 16px; }

.l-hero { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px; align-items: center; min-height: 660px; padding: clamp(32px, 5vw, 72px); overflow: hidden; border-radius: 36px;
  background: radial-gradient(55% 60% at 78% 45%, rgba(212, 255, 63, 0.12), transparent 70%), var(--ink-card); }
.l-hero h1 { margin: 22px 0 24px; font-size: clamp(48px, 7vw, 100px); letter-spacing: -0.055em; line-height: 0.92; }
.l-hero .dim { color: var(--on-ink-2); }
.l-hero .lead { max-width: 46ch; margin-bottom: 32px; font-size: 18px; color: var(--c-text-2); }
.l-hero .row { gap: 12px; }
.btn.ghost { border-color: var(--card-rule); background: transparent; color: inherit; }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.07); }
.l-hero-art { position: relative; display: grid; place-items: center; min-height: 580px; }
.l-hero-art .float { position: absolute; margin: 0; }
.l-hero-art .fa { top: 64px; left: 0; }
.l-hero-art .fb { bottom: 72px; right: 0; }
.l-hero-art .fc { top: 50%; right: 4px; }

.phone { width: 290px; height: 590px; padding: 11px; border-radius: 50px; background: #050505; box-shadow: 0 0 0 2px #2c2c2c, 0 50px 90px -24px rgba(0, 0, 0, 0.85); transform: rotate(-7deg); }
.phone-screen { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 16px 16px 14px; overflow: hidden; border-radius: 40px; background: #f2f2ef; color: #0e0e0e; }
.phone-status { display: flex; align-items: center; justify-content: space-between; padding: 0 6px; font-size: 12px; font-weight: 600; }
.phone-island { width: 84px; height: 24px; border-radius: var(--r-pill); background: #0e0e0e; }
.phone-hi { margin-top: 6px; font-size: 34px; font-weight: 600; letter-spacing: -0.05em; line-height: 0.95; }
.phone-hi .dim { color: #8a8b90; }
.phone-card { display: grid; gap: 10px; padding: 18px; border-radius: 26px; background: #0e0e0e; color: #ffffff; }
.phone-cap { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #a3a3a8; }
.phone-net { font-size: 48px; font-weight: 600; letter-spacing: -0.055em; line-height: 0.88; color: var(--accent); }
.phone-bar { position: relative; height: 6px; border-radius: 3px; background: #2e2e2e; }
.phone-bar span { position: absolute; top: 0; bottom: 0; left: 14%; width: 62%; border-radius: 3px; background: var(--accent); }
.phone-row { display: flex; justify-content: space-between; font-size: 12px; color: #a3a3a8; }
.phone-cta { display: flex; align-items: center; justify-content: space-between; padding: 7px 7px 7px 18px; border-radius: var(--r-pill); background: var(--accent); font-weight: 600; }
.phone-nav { display: flex; justify-content: space-around; margin-top: auto; padding: 6px; border-radius: var(--r-pill); background: #ffffff; }
.phone-nav span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #ecece8; }
.phone-nav span.on { background: var(--accent); }

.l-statement { padding: clamp(72px, 10vw, 140px) 0; text-align: center; }
.l-statement p { max-width: 22ch; margin: 22px auto 0; font-size: clamp(32px, 4.8vw, 64px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.02; }
.mark { padding: 0 0.12em; border-radius: 0.2em; background: var(--accent); color: var(--on-accent); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.l-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.b-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; min-height: 300px; padding: 28px; overflow: hidden; border-radius: var(--r-card); }
.b-card h3 { max-width: 16ch; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.04em; line-height: 1.02; }
.b-card p { max-width: 42ch; color: var(--ink-2); }
.b-card.dark-ctx p { color: var(--c-text-2); }
.b-lime { background: var(--accent); color: var(--on-accent); }
.b-lime p { color: rgba(14, 14, 14, 0.72); }
.b-lime .tag { border-color: rgba(14, 14, 14, 0.3); color: var(--on-accent); }
.b-white { background: var(--surface); }
.b-wide { grid-column: span 2; }
.tg { max-width: 380px; margin-top: auto; padding: 14px 16px 8px; border-radius: 20px 20px 20px 6px; background: #ffffff; color: #0e0e0e; font-size: 14px; line-height: 1.5; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.35); }
.tg-time { display: block; text-align: right; font-size: 11px; color: #8a8b90; }
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: auto; }
.list { display: grid; gap: 6px; padding: 14px 16px; border-radius: var(--r-md); background: var(--card-btn); }
.list-cap { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-text-2); }
.list-val { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.b-card .big-fig { margin-top: auto; font-size: 72px; font-weight: 600; letter-spacing: -0.055em; line-height: 0.9; color: var(--ink); }
.big-fig .dim { font-size: 24px; letter-spacing: -0.02em; }
.l-chips { margin-top: auto; }
.l-chips .chip { display: inline-flex; align-items: center; cursor: default; }
.chip.is-on { border-color: var(--sel-bg); background: var(--sel-bg); color: var(--sel-text); font-weight: 600; }

.l-steps { margin-top: 112px; margin-bottom: 112px; }
.l-head { display: grid; gap: 18px; justify-items: start; margin-bottom: 32px; }
.l-head h2 { max-width: 16ch; font-size: clamp(38px, 5.4vw, 72px); letter-spacing: -0.05em; line-height: 0.95; }
.l-steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.l-steps-list li { display: grid; align-content: start; gap: 14px; padding: 28px; border-radius: var(--r-card); background: var(--surface); }
.l-steps-list li:first-child .step-n { background: var(--accent); color: var(--on-accent); }
.l-steps-list h3 { font-size: 24px; letter-spacing: -0.03em; }
.l-steps-list p { color: var(--ink-2); }

.l-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.l-list { display: grid; gap: 12px; width: 100%; margin: auto 0 0; padding: 0; list-style: none; }
.l-list li { display: flex; align-items: flex-start; gap: 12px; }
.l-list .dot { margin-top: 8px; }
.b-white .l-list li { color: var(--ink-2); }

.l-final { display: grid; justify-items: start; gap: 32px; margin-top: 16px; padding: clamp(40px, 6vw, 88px); border-radius: 36px; background: var(--accent); color: var(--on-accent); }
.l-final h2 { max-width: 14ch; font-size: clamp(44px, 6.8vw, 96px); letter-spacing: -0.055em; line-height: 0.92; }
.l-final .soft { color: rgba(14, 14, 14, 0.55); }
.l-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; max-width: 1240px; margin: 0 auto; padding: 40px 20px 56px; font-size: 14px; color: var(--muted); }
.l-foot p { max-width: 60ch; }

@media (max-width: 960px) {
  .l-links { display: none; }
  .l-hero { grid-template-columns: 1fr; min-height: 0; }
  .l-bento { grid-template-columns: 1fr 1fr; }
  .l-steps-list, .l-split { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .l-top-in { gap: 12px; min-height: 64px; padding: 0 16px; }
  .l-main { padding: 0 10px; }
  .l-hero { padding: 28px 20px 24px; border-radius: 28px; }
  .l-hero .row .btn { flex: 1 1 100%; justify-content: space-between; }
  .l-hero-art { min-height: 560px; }
  .phone { width: 240px; height: 490px; border-radius: 44px; }
  .phone-screen { border-radius: 34px; }
  .phone-hi { font-size: 28px; }
  .phone-net { font-size: 40px; }
  .l-hero-art .fa { top: 28px; }
  .l-hero-art .fb { bottom: 40px; }
  .l-hero-art .fc { display: none; }
  .l-bento { grid-template-columns: 1fr; }
  .b-wide { grid-column: auto; }
  .b-card { min-height: 0; padding: 24px 20px; }
  .l-steps { margin-top: 72px; margin-bottom: 72px; }
  .l-final { border-radius: 28px; }
  .l-final .btn { width: 100%; justify-content: space-between; }
}

@media (max-width: 420px) {
  .l-actions .btn.link { display: none; }
}

/* ---------- avisos flotantes ---------- */
#toasts { position: fixed; left: 50%; bottom: 24px; z-index: 50; display: grid; gap: 8px; width: max-content; max-width: calc(100vw - 32px); transform: translateX(-50%); }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 20px 12px 16px; border-radius: var(--r-pill); background: #0e0e0e; color: #ffffff; font-size: 15px; font-weight: 600; box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.45); animation: pop 0.22s var(--ease); }
@media (prefers-color-scheme: dark) { .toast { background: #262626; } }
@keyframes pop { from { transform: translateY(8px); opacity: 0; } }

@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth-hero { padding-block: 32px 36px; }
}

@media (max-width: 640px) {
  .top-in { min-height: 64px; padding: 0 16px; }
  .top-user { display: block; }
  .nav { position: fixed; left: 50%; bottom: 16px; z-index: 40; gap: 8px; padding: 8px; transform: translateX(-50%); background: var(--ink-card); box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5); }
  .nav button { justify-content: center; width: 52px; height: 52px; padding: 0; border-radius: 50%; background: var(--card-btn); color: var(--on-ink); }
  .nav button .ico { width: 22px; height: 22px; }
  .nav button[aria-current="page"] { background: var(--accent); color: var(--on-accent); }
  .nav-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  #toasts { bottom: 96px; }
  .page { padding: 12px 16px 120px; }
  .page-head .btn { width: 100%; justify-content: space-between; }
  .widgets { grid-template-columns: 1fr 1fr; gap: 8px; }
  .widget { padding: 12px 14px; }
  .alert { padding: 22px 18px; border-radius: 24px; }
  .alert-head { grid-template-columns: 1fr; }
  .stats { gap: 10px; }
  .stat-val { font-size: 20px; }
  .stat-who { white-space: normal; overflow-wrap: anywhere; }
  .alert-route .side { white-space: normal; }
  .notice .btn.link { margin-left: 20px; }
  .amount-tools { grid-template-columns: 1fr; }
  dialog.sheet { border-radius: 0; }
  .sheet-head, .sheet-body, .sheet-foot { padding-inline: 18px; }
  .sheet-foot .btn { flex: 1; }
  .step, .panel { padding: 20px 18px; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .auth-hero, .auth-card { padding-inline: 16px; }
  .hero-stage { padding: 0; }
  .float { position: static; display: inline-flex; margin: 0 6px 10px 0; }
  .float.b { margin-top: 10px; }
}

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