/* Layout: a phone-first story in six screens. Night chaos -> the leak -> the swipe from broker to owner -> three steps -> plans -> the ask. */
:root {
  --bg: #F5F6FB; --surface: #FFFFFF; --fg: #15162C; --muted: #5B5F7E; --line: #E1E3EF;
  --indigo: #5558E8; --emerald: #05976A; --danger: #CF3338; --amber: #A86200;
  --cta: #047857; --cta-fg: #FFFFFF;
  --night: #0E0F22; --night-2: #1B1D38; --night-line: #2C2F52; --night-fg: #ECEDF8; --night-muted: #A6A9C8;
  --note-bg: #FDE68A; --note-fg: #3A2E06;
  --grad: linear-gradient(90deg, var(--indigo), var(--emerald));
  --grad-solid: linear-gradient(100deg, #4F46E5, #047857);
  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0C19; --surface: #15172C; --fg: #ECEDF8; --muted: #A0A4C2; --line: #272A48;
    --indigo: #8D8FFA; --emerald: #34D399; --danger: #FF6B6E; --amber: #F2A93B;
    --cta: #10B981; --cta-fg: #03140D;
    --night: #06070F; --night-2: #13152B; --night-line: #262948;
    color-scheme: dark;
  }
}


* { box-sizing: border-box; }
[hidden] { display: none !important; }
img { max-width: 100%; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 6.4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(56px, 9vw, 104px); }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { color: var(--muted); font-size: 1.08rem; max-width: 38rem; }
.head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 44px); }
.center { text-align: center; justify-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 999px;
  font: 700 1rem/1 var(--f-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:focus-visible, button:focus-visible, .ba-handle:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }
.btn-cta { background: var(--cta); color: var(--cta-fg); box-shadow: 0 8px 22px -10px var(--cta); }
.btn-cta:hover { transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--fg); background: transparent; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 1.35rem/1 var(--f-display); letter-spacing: -0.02em; text-decoration: none; }
.brand svg { width: 34px; height: 34px; }

/* Hero */
.hero { display: grid; gap: 40px; align-items: center; padding-block: clamp(36px, 7vw, 88px); grid-template-columns: 1fr; }
.hero-copy { display: grid; gap: 20px; min-width: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.small { font-size: 0.92rem; color: var(--muted); }
.small b { color: var(--fg); }
.small a { color: var(--indigo); font-weight: 600; }

/* Demo video pop-up */
.vid { padding: 0; border: 0; margin: 0; background: transparent; width: 100%; height: 100%; max-width: none; max-height: none; color: #fff; }
.vid[open] { display: grid; place-items: center; }
.vid::backdrop { background: rgba(6, 7, 18, .86); }
.vid-box { display: grid; gap: 12px; width: min(calc(100vw - 32px), calc((100vh - 200px) * 9 / 16)); width: min(calc(100vw - 32px), calc((100dvh - 200px) * 9 / 16)); }
.vid-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 700 1.05rem/1.2 var(--f-body); }
.vid-x { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #fff; font-size: 1.1rem; cursor: pointer; }
.vid-frame { position: relative; }
.vid-frame video { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 18px; background: #000; }
.vid-end { position: absolute; inset: 0; border-radius: 18px; background: rgba(10, 11, 30, .86); display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; }
.vid-end[hidden] { display: none; }
.vid-end p { font: 700 1.3rem/1.3 var(--f-display); }
.vid-end .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.vid-cta { display: grid; gap: 8px; text-align: center; font-size: .9rem; color: rgba(255,255,255,.8); }
.vid-cta .btn { width: 100%; }
.hero-visual { display: grid; justify-items: center; gap: 16px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.15fr 0.85fr; } }

.phone {
  width: min(300px, 100%); aspect-ratio: 300 / 600; border-radius: 42px; padding: 10px;
  background: #0A0A12; box-shadow: 0 30px 60px -30px rgba(20, 22, 60, .55), inset 0 0 0 2px #2A2B3A;
  position: relative;
}
.screen { position: absolute; inset: 10px; border-radius: 33px; overflow: hidden; transition: opacity .7s ease, transform .7s ease; }
.screen.chaos { background: radial-gradient(120% 80% at 50% 0%, #2A2560 0%, #10112A 55%, #08091A 100%); color: #ECEDF8; padding: 34px 12px 12px; }
.screen.calm { background: var(--surface); color: var(--fg); padding: 30px 14px 14px; opacity: 0; transform: scale(.97); }
.phone[data-state="calm"] .chaos { opacity: 0; transform: scale(1.03); }
.phone[data-state="calm"] .calm { opacity: 1; transform: none; }
.clock { text-align: center; font: 700 2.6rem/1 var(--f-display); letter-spacing: -0.03em; }
.clock-date { text-align: center; font-size: .78rem; color: #B9BBD8; margin: 4px 0 14px; }
.notifs { display: grid; gap: 7px; }
.notif {
  background: rgba(255, 255, 255, .11); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 7px 10px;
  display: grid; grid-template-columns: 22px 1fr; gap: 2px 8px; align-items: center; font-size: .74rem; line-height: 1.3;
  transition: opacity .35s ease, transform .35s ease;
}
.notif.off { opacity: 0; transform: translateY(-8px); }
.notif .ico { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: .66rem; font-weight: 800; grid-row: span 2; color: #fff; }
.ico.wa { background: #1FA855; } .ico.ph { background: #E5484D; } .ico.no { background: #6B6E8E; }
.notif b { font-weight: 700; color: #fff; }
.notif span { color: #C9CBE3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif.hurt { background: rgba(229, 72, 77, .22); border-color: rgba(255, 120, 120, .45); }
.notif.hurt span { color: #FFD9DA; white-space: normal; }

.app-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.app-top .brand { font-size: 1rem; gap: 6px; } .app-top .brand svg { width: 22px; height: 22px; }
.app-top small { font-size: .7rem; color: var(--muted); }
.today-h { font: 800 1.35rem/1.1 var(--f-display); margin-bottom: 8px; }
.stats { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.stat { font-size: .66rem; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: color-mix(in srgb, var(--indigo) 12%, transparent); color: var(--indigo); }
.stat.ok { background: color-mix(in srgb, var(--emerald) 14%, transparent); color: var(--emerald); }
.tasks { display: grid; gap: 6px; }
.task { display: grid; grid-template-columns: 42px 1fr auto; gap: 8px; align-items: center; padding: 8px 9px; border: 1px solid var(--line); border-radius: 12px; font-size: .74rem; line-height: 1.3; }
.task time { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--muted); font-size: .7rem; }
.task b { display: block; font-size: .78rem; }
.task span { color: var(--muted); }
.chip { font-size: .62rem; font-weight: 800; padding: 3px 7px; border-radius: 999px; white-space: nowrap; }
.chip.hot { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
.chip.warm { background: color-mix(in srgb, var(--amber) 16%, transparent); color: var(--amber); }
.chip.score { background: var(--grad-solid); color: #fff; }

.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); gap: 2px; }
.seg button { border: 0; background: transparent; color: var(--muted); font: 700 .86rem/1 var(--f-body); padding: 10px 14px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }

/* Night: the pain */
.night { background: var(--night); color: var(--night-fg); }
.night .eyebrow { color: var(--night-muted); }
.night .sub { color: var(--night-muted); }
/* Mobile: heading, deck, closing line. Desktop: heading and closing line on the left, deck on the right. */
.pain-grid { display: grid; gap: 28px; grid-template-areas: "head" "deck" "close"; }
.pain-grid > .head { grid-area: head; margin-bottom: 0; }
.deck-wrap { grid-area: deck; display: grid; justify-items: center; gap: 16px; min-width: 0; }
.pain-grid > .pain-close { grid-area: close; }
@media (min-width: 900px) {
  .pain-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "head deck" "close deck"; align-items: center; column-gap: 56px; }
}
.deck { position: relative; width: min(440px, 100%); height: 330px; touch-action: pan-y; outline: none; }
@media (max-width: 380px) { .deck { height: 370px; } }
.deck:focus-visible { outline: 3px solid var(--indigo); outline-offset: 8px; border-radius: 24px; }
.pain {
  position: absolute; inset: 0; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 22px;
  padding: 22px; display: grid; grid-auto-rows: max-content; gap: 14px; align-content: start; min-width: 0;
  box-shadow: 0 22px 40px -24px rgba(0, 0, 0, .9); cursor: grab; user-select: none; -webkit-user-select: none;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .35s ease;
}
.pain.dragging { transition: none; cursor: grabbing; }
.pain .say { font: 700 1.5rem/1.22 var(--f-display); letter-spacing: -0.01em; }
.deck-nav { display: flex; align-items: center; gap: 14px; }
.deck-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--night-line); background: transparent; color: var(--night-fg); font: 700 1.2rem/1 var(--f-body); cursor: pointer; }
.deck-nav button:hover { background: var(--night-2); }
.dots { display: flex; gap: 6px; align-items: center; }
.dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--night-line); transition: width .25s ease, background .25s ease; }
.dots span.on { width: 22px; background: var(--night-fg); }
.swipe-hint { font-size: .88rem; color: var(--night-muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pain .en { font-size: .9rem; color: var(--night-muted); }
.vig { min-height: 74px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.vig .pill { font-size: .8rem; padding: 7px 11px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid var(--night-line); color: var(--night-fg); }
.vig .pill .dim { color: var(--night-muted); }
.vig .live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34D399; margin-right: 7px; vertical-align: middle; box-shadow: 0 0 0 3px rgba(52, 211, 153, .25); }
.vig .bubble { background: #1E3A2B; color: #E4F7EC; border-radius: 14px 14px 14px 4px; padding: 9px 12px; font-size: .88rem; max-width: 100%; }
.vig .bubble small { display: block; color: #9CC9AE; font-size: .7rem; margin-top: 2px; text-align: right; }
.vig .sys { font-size: .8rem; color: var(--night-muted); background: rgba(255,255,255,.06); padding: 6px 12px; border-radius: 999px; }
.vig .badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #1FA855; color: #fff; font-size: .7rem; font-weight: 800; margin-left: 6px; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; width: 100%; }
.week div { font-size: .62rem; text-align: center; padding: 6px 0; border-radius: 8px; background: rgba(255,255,255,.07); color: var(--night-muted); }
.week div b { display: block; color: var(--night-fg); font-size: .66rem; }
.week .x { background: rgba(229,72,77,.22); color: #FFC9CB; }
.pain-close { display: grid; gap: 8px; }
.pain-close p:first-child { font: 800 clamp(1.8rem, 5vw, 2.8rem)/1.08 var(--f-display); letter-spacing: -0.02em; }
.pain-close p:last-child { color: var(--night-muted); font-size: 1.1rem; }

/* Leak calculator */
.calc { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .calc { grid-template-columns: 1.1fr 0.9fr; } .result { position: sticky; top: 90px; } }
.sliders { display: grid; gap: 14px; min-width: 0; }
.sl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px 12px; display: grid; gap: 8px; min-width: 0; }
.sl-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sl-top label { font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.sl-top label small { display: block; font-size: .84rem; color: var(--muted); font-weight: 500; margin-top: 2px; }
.val { font: 800 1.3rem/1 var(--f-display); font-variant-numeric: tabular-nums; padding: 9px 12px; border-radius: 12px; white-space: nowrap;
  background: color-mix(in srgb, var(--indigo) 11%, transparent); color: var(--indigo); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; cursor: pointer; margin: 0; --fill: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, var(--indigo), var(--emerald)) 0 0 / var(--fill) 100% no-repeat, var(--line); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--indigo); box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .45); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 999px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--indigo), var(--emerald)); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 3px solid var(--indigo); }
input[type="range"]:focus-visible { outline: 3px solid var(--indigo); outline-offset: 4px; border-radius: 8px; }
.sl-ends { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.result { background: var(--night); color: var(--night-fg); border-radius: 24px; padding: clamp(22px, 4vw, 34px); display: grid; gap: 10px; }
.result .label { color: var(--night-muted); font-size: .95rem; font-weight: 600; }
.total { font: 800 clamp(2.6rem, 9vw, 4.2rem)/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: #FF8A8D; }
.words { font-weight: 700; font-size: 1.05rem; }
.math { color: var(--night-muted); font-size: .92rem; border-top: 1px solid var(--night-line); padding-top: 12px; margin-top: 4px; }
.result .btn { justify-self: start; margin-top: 8px; }
.qs { display: grid; gap: 14px; min-width: 0; }
fieldset { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); margin: 0; padding: 16px 18px 18px; min-width: 0; }
legend { padding: 0 6px; margin-left: -6px; font-weight: 700; font-size: 1.02rem; }
.qhint { font-size: .86rem; color: var(--muted); margin: 2px 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { min-height: 46px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; cursor: pointer; font-variant-numeric: tabular-nums; transition: background .15s, border-color .15s; }
.chips input:checked + label { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chips input:focus-visible + label { outline: 3px solid var(--indigo); outline-offset: 2px; }
.fine { font-size: .86rem; color: var(--muted); margin-top: 14px; }

/* Before / after swipe */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 16px; }
.tabs button { border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); font: 700 .92rem/1 var(--f-body); padding: 11px 16px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.ba {
  --pos: 50%;
  position: relative; max-width: 460px; margin: 0 auto; height: 430px; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--line); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
  box-shadow: 0 24px 50px -32px rgba(20, 22, 60, .5);
}
.pane { position: absolute; inset: 0; padding: 48px 18px 18px; }
.pane.before { background: var(--night); color: var(--night-fg); }
.pane .scene { height: 100%; }
.pane.after { background: var(--surface); color: var(--fg); clip-path: inset(0 0 0 var(--pos)); }
.tag { position: absolute; top: 14px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.before .tag { left: 14px; background: rgba(255,255,255,.1); color: var(--night-muted); }
.after .tag { right: 14px; background: var(--grad-solid); color: #fff; }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--grad); pointer-events: none; }
.ba-handle {
  position: absolute; top: 50%; left: var(--pos); width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%;
  background: var(--surface); color: var(--fg); border: 2px solid var(--indigo); display: grid; place-items: center;
  box-shadow: 0 6px 18px -6px rgba(0,0,0,.45); font-weight: 800; font-size: .9rem; cursor: ew-resize;
}
.drag-hint { text-align: center; font-size: .88rem; color: var(--muted); margin-top: 12px; }
.contact-list { display: grid; gap: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--night-line); }
.contact { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--night-line); font-size: .9rem; }
.contact:last-child { border-bottom: 0; }
.av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; background: rgba(255,255,255,.1); color: var(--night-muted); }
.contact small { display: block; color: var(--night-muted); font-size: .74rem; }
.miss { color: #FF8A8D !important; }
.lead-list { display: grid; gap: 8px; }
.lead { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; font-size: .86rem; }
.lead b { font-size: .92rem; }
.lead .meta { color: var(--muted); font-size: .78rem; grid-column: 1 / -1; }
.stage { font-size: .66rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--indigo) 12%, transparent); color: var(--indigo); }
.notes { position: relative; height: 100%; }
.sticky { position: absolute; background: var(--note-bg); color: var(--note-fg); font: 600 .92rem/1.3 "Segoe Print", "Bradley Hand", "Comic Sans MS", var(--f-body); padding: 12px 12px 14px; width: 46%; box-shadow: 0 8px 16px -8px rgba(0,0,0,.6); }
.sticky:nth-child(1) { top: 2%; left: 2%; transform: rotate(-4deg); }
.sticky:nth-child(2) { top: 6%; right: 3%; transform: rotate(5deg); }
.sticky:nth-child(3) { top: 38%; left: 8%; transform: rotate(3deg); }
.sticky:nth-child(4) { top: 44%; right: 1%; transform: rotate(-6deg); }
.sticky:nth-child(5) { bottom: 4%; left: 24%; transform: rotate(-1deg); }
.chat { display: grid; gap: 10px; align-content: start; }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--night-line); font-weight: 700; }
.chat .bubble { background: #1E3A2B; color: #E4F7EC; border-radius: 14px 14px 14px 4px; padding: 10px 12px; font-size: .92rem; max-width: 88%; }
.chat .bubble small { display: block; color: #9CC9AE; font-size: .7rem; text-align: right; margin-top: 2px; }
.chat .sys { justify-self: center; font-size: .8rem; color: var(--night-muted); background: rgba(255,255,255,.06); padding: 6px 12px; border-radius: 999px; }
.lost { margin-top: 8px; border: 1px dashed #FF8A8D; border-radius: 14px; padding: 14px; text-align: center; }
.lost b { display: block; font: 800 2rem/1 var(--f-display); color: #FF8A8D; }
.lost span { font-size: .85rem; color: var(--night-muted); }
.alert { border-radius: 14px; padding: 12px 14px; background: color-mix(in srgb, var(--emerald) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--emerald) 35%, transparent); font-size: .9rem; display: grid; gap: 4px; }
.alert b { color: var(--emerald); }
.kept { margin-top: 10px; display: grid; gap: 8px; }
.kept div { display: flex; justify-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: .86rem; }
.kept div span { color: var(--muted); }
.today-mini .task { font-size: .84rem; } .today-mini .task b { font-size: .88rem; }
.overdue { border-color: color-mix(in srgb, var(--danger) 40%, transparent); }
.overdue time { color: var(--danger); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.step-n { counter-increment: s; font: 800 .82rem/1 var(--f-display); color: var(--indigo); letter-spacing: .06em; }
.step-n::before { content: "STEP " counter(s); }
.step p { color: var(--muted); }
.snip { margin-top: 6px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); padding: 12px; font-size: .84rem; display: grid; gap: 6px; }
.snip .row { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.snip .row span { color: var(--muted); }
.ok { color: var(--emerald); font-weight: 700; }
.file { font-weight: 700; }

/* Promise + founder */
.duo { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .duo { grid-template-columns: 1.1fr 0.9fr; } }
.promise { background: var(--grad-solid); color: #fff; border-radius: 26px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; align-content: start; }
.promise h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.promise ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.promise li { display: flex; gap: 10px; align-items: baseline; }
.promise li::before { content: "✓"; font-weight: 800; }
.promise .btn { background: #fff; color: #10123A; justify-self: start; }
.founder { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; align-content: start; }
.founder blockquote { margin: 0; font: 700 clamp(1.3rem, 3vw, 1.6rem)/1.25 var(--f-display); letter-spacing: -0.01em; }
.founder p { color: var(--muted); }

/* Plans */
.plans { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.plan.live { border: 2px solid var(--emerald); }
.plan.soon { background: transparent; border-style: dashed; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.status { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.status.live { background: color-mix(in srgb, var(--emerald) 15%, transparent); color: var(--emerald); }
.status.soon { background: color-mix(in srgb, var(--indigo) 13%, transparent); color: var(--indigo); }
.status.talk { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.price { font: 800 2rem/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.price .per { font: 600 1rem/1 var(--f-body); color: var(--muted); }
.price-box { display: grid; gap: 6px; }
.price-alt { font: 700 1.15rem/1.2 var(--f-display); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-variant-numeric: tabular-nums; }
.save { font: 800 .72rem/1 var(--f-body); letter-spacing: .04em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: color-mix(in srgb, var(--emerald) 15%, transparent); color: var(--emerald); }
.price-note { font-size: .9rem; color: var(--muted); }
.plan > p { color: var(--muted); font-size: .95rem; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: .95rem; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.plan li::before { content: "✓"; color: var(--emerald); font-weight: 800; }
.plan.soon li::before { content: "◦"; color: var(--indigo); }
.plan .btn { justify-self: start; }

/* Final */
.final { text-align: center; }
.final .wrap { display: grid; gap: 18px; justify-items: center; padding-block: clamp(64px, 10vw, 120px); }
.final h2 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.final .q { font-size: clamp(1.1rem, 2.6vw, 1.35rem); color: var(--night-muted); max-width: 36rem; }
.final .q b { color: var(--night-fg); }
.final .cta-row { justify-content: center; }
.final .btn-ghost { color: var(--night-fg); border-color: var(--night-line); }
.contact-box { display: grid; gap: 8px; margin-top: 10px; font-size: .95rem; color: var(--night-muted); }
.contact-box .row { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.contact-box code { font-family: var(--f-body); color: var(--night-fg); font-weight: 700; user-select: all; }
.copy { border: 1px solid var(--night-line); background: transparent; color: var(--night-fg); border-radius: 999px; padding: 6px 12px; font: 600 .8rem/1 var(--f-body); cursor: pointer; }
footer { background: var(--night); color: var(--night-muted); border-top: 1px solid var(--night-line); font-size: .86rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding-block: 22px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot-links a { color: var(--night-fg); text-decoration: none; font-weight: 600; }
.foot-links a:hover { text-decoration: underline; }
.follow { display: flex; gap: 8px; align-items: center; }
.follow a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--night-line); color: var(--night-fg); }
.follow a:hover { border-color: var(--night-fg); }
.follow svg { width: 18px; height: 18px; }

/* Sticky mobile CTA */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .25s ease;
}
.dock .btn { width: 100%; }
.dock.show { transform: none; }
@media (max-width: 719px) { .dock { display: block; } }

@media (prefers-reduced-motion: reduce) {
  .screen, .notif, .dock, .btn { transition: none !important; }
}
