/* HomeOwed brand system: "Color block".
   A bold consumer brand. Every page opens with its own full-color block
   (cobalt, sunshine, tangerine, mint) so moving between tabs feels like moving
   between rooms. Wide, heavy Archivo headlines; dollar amounts as tilted
   stickers; white space everywhere else. One deliberate light look: the page
   does not switch to dark with the visitor's system. */
:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --bg-2: #F3F4FA;
  --surface: #FFFFFF;
  --ink: #0B0B1E;
  --ink-2: #34364F;
  --muted: #6B6E86;
  --rule: #E6E7F0;
  --rule-2: #D2D4E3;

  --brand: #2340FF;
  --brand-2: #1A30D9;
  --brand-soft: #E8ECFF;
  --sun: #FFD84D;
  --sun-2: #F5C518;
  --sun-soft: #FFF6CC;
  --tang: #FF6A3D;
  --tang-soft: #FFE6DD;
  --mint: #7DEBBE;
  --mint-soft: #DDFBEF;
  --lilac: #CBBDFF;
  --red: #E5372B;
  --red-soft: #FDE8E6;
  --green: #0B9A68;
  --green-soft: #DDF6EB;
  --amber: #C98A12;
  --on-brand: #FFFFFF;

  --shadow-sm: 0 1px 2px rgba(11, 11, 30, .06);
  --shadow: 0 2px 4px rgba(11, 11, 30, .04), 0 14px 34px -12px rgba(11, 11, 30, .18);
  --shadow-lg: 0 4px 10px rgba(11, 11, 30, .08), 0 34px 70px -24px rgba(11, 11, 30, .38);

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --f-hand: "Caveat", "Segoe Print", cursive;

  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 5rem; --s-9: 7.5rem;
  --r-sm: 10px; --r: 18px; --r-lg: 28px; --r-xl: 40px;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sun); color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
@media (min-width: 760px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

/* Type */
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.8vw, 6rem); line-height: .94; font-weight: 800; letter-spacing: -.035em; font-stretch: 115%; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: .98; font-weight: 800; letter-spacing: -.03em; font-stretch: 112%; }
h3 { font-size: 1.28rem; line-height: 1.2; font-weight: 750; letter-spacing: -.015em; font-stretch: 105%; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; width: fit-content; max-width: 100%; line-height: 1.3; font: 600 .74rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink); background: var(--bg-2); padding: 8px 12px; border-radius: 999px; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.hand { font-family: var(--f-hand); color: var(--red); font-weight: 600; line-height: 1.05; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.prose { max-width: 66ch; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); align-content: start; min-width: 0; }
@media (max-width: 560px) { .btn { white-space: normal; } .block .btn-row .btn { flex: 1 1 100%; } }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s-5); min-height: 74px; position: relative; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.36rem/1 var(--f-display); letter-spacing: -.03em; font-stretch: 112%; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo .mark { width: 34px; height: 34px; flex: none; }
.logo .wm span { color: var(--brand); }
.site-footer .logo { color: #fff; }
.site-footer .logo .wm span { color: var(--sun); }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: .96rem; color: var(--ink-2); padding: 9px 14px; border-radius: 999px; }
.nav a:not(.btn):hover { background: var(--bg-2); color: var(--ink); }
.nav a[aria-current="page"]:not(.btn) { background: var(--ink); color: #fff; }
.nav .btn { margin-left: 10px; }
.nav-toggle { display: none; margin-left: auto; background: var(--bg-2); border: 0; border-radius: 999px; padding: 10px 16px; color: var(--ink); font: 700 .88rem var(--f-body); cursor: pointer; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; background: #fff; border-bottom: 1px solid var(--rule); box-shadow: var(--shadow); padding: var(--s-3) max(20px, env(safe-area-inset-right, 0px)) var(--s-5) max(20px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin: var(--s-3) 0 0; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: 1em 1.6em; border-radius: 999px; font: 700 1rem/1.1 var(--f-body); text-decoration: none; border: 2px solid transparent; background: var(--ink); color: #fff; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s; white-space: nowrap; }
.btn:hover { color: #fff; transform: translateY(-2px); }
.btn.red, .btn.primary { background: var(--brand); color: #fff; }
.btn.red:hover, .btn.primary:hover { background: var(--brand-2); color: #fff; box-shadow: 0 12px 24px -10px rgba(35, 64, 255, .6); }
.btn.white, .btn.light { background: #fff; color: var(--ink); }
.btn.white:hover, .btn.light:hover { color: var(--ink); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .35); }
.btn.sun { background: var(--sun); color: var(--ink); }
.btn.sun:hover { background: var(--sun-2); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { color: #fff; background: var(--ink); }
.btn.outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn.outline-light:hover { color: var(--ink); background: #fff; border-color: #fff; }
.btn.sm { padding: .7em 1.2em; font-size: .92rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

/* Sections */
section { padding-block: var(--s-8); }
section.tight { padding-block: var(--s-7); }
.band { background: var(--bg-2); }
.section-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-6); max-width: 54rem; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Color-block page heroes ---------- */
.block-hero { padding-block: var(--s-4) var(--s-6); }
.block { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(32px, 6vw, 80px); isolation: isolate; }
.block.cobalt { background: var(--brand); color: #fff; }
.block.cobalt h1, .block.cobalt h2, .block.cobalt h3 { color: #fff; }
.block.cobalt .lede { color: #DCE2FF; }
.block.cobalt .eyebrow { background: rgba(255, 255, 255, .16); color: #fff; }
.block.sun { background: var(--sun); }
.block.tang { background: var(--tang); color: #fff; }
.block.tang h1, .block.tang h2 { color: #fff; }
.block.tang .lede { color: #FFEDE6; }
.block.tang .eyebrow { background: rgba(255, 255, 255, .2); color: #fff; }
.block.mint { background: var(--mint); }
.block.lilac { background: var(--lilac); }
.block.ink { background: var(--ink); color: #fff; }
.block.ink h1, .block.ink h2, .block.ink h3 { color: #fff; }
.block.ink .lede { color: #B9BBD3; }
.block.ink .eyebrow { background: rgba(255, 255, 255, .12); color: #fff; }
.block.sun .eyebrow, .block.mint .eyebrow, .block.lilac .eyebrow { background: rgba(11, 11, 30, .08); }
.block.sun .lede, .block.mint .lede, .block.lilac .lede { color: var(--ink-2); }
.block .shape { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: var(--s-7); align-items: end; }
.page-hero-grid h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); }
.page-hero-grid .prose { gap: var(--s-5); max-width: none; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Home hero */
.home-hero .block { min-height: 640px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s-6); align-items: center; }
.home-hero .copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); align-content: center; min-width: 0; }
.home-hero .stickers { min-width: 0; }
.home-hero h1 { font-size: clamp(2.8rem, 5.6vw, 5.4rem); }
.home-hero h1 .line2 { display: block; color: var(--sun); margin-top: .12em; }
.home-hero .ticks { display: flex; flex-wrap: wrap; gap: 10px; }
.home-hero .ticks span { background: rgba(255, 255, 255, .14); color: #fff; padding: 8px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.home-hero .shape.s1 { width: 520px; height: 520px; right: -140px; top: -160px; background: rgba(255, 255, 255, .08); }
.home-hero .shape.s2 { width: 260px; height: 260px; right: 22%; bottom: -120px; background: rgba(255, 216, 77, .18); }
@media (max-width: 980px) { .home-hero .block { grid-template-columns: minmax(0, 1fr); min-height: 0; } }

/* Stickers */
/* Each sticker pops in, then floats. --r is its resting tilt, --d its start delay. */
.stickers { position: relative; height: 520px; }
.sticker { --r: 0deg; --d: 0s; position: absolute; border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--shadow-lg); color: var(--ink); display: grid; gap: 6px; transform: rotate(var(--r)); animation: pop .75s cubic-bezier(.2, .9, .3, 1.25) var(--d) both, float 6s ease-in-out calc(var(--d) + .8s) infinite; }
.sticker .k { font: 600 .72rem/1.25 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; opacity: .75; }
.sticker .v { font: 800 3.4rem/1 var(--f-display); letter-spacing: -.04em; font-stretch: 112%; }
.sticker .d { font-size: .95rem; font-weight: 600; }
.sticker.t4 { --r: 5deg; --d: .55s; background: var(--mint); right: 2%; top: 0; z-index: 4; padding: 14px 20px; border-radius: 999px; font: 700 .95rem var(--f-body); white-space: nowrap; }
.sticker.big { --r: -5deg; --d: .1s; background: var(--sun); left: 0; top: 60px; z-index: 2; width: min(340px, 74%); }
.sticker.big .v { font-size: clamp(3.2rem, 5.4vw, 4.6rem); }
.sticker.t2 { --r: 4deg; --d: .25s; background: #fff; right: 0; top: 268px; z-index: 3; width: min(290px, 62%); }
.sticker.t2 .v { font-size: 2.2rem; color: var(--green); }
.sticker.t3 { --r: -3deg; --d: .4s; background: var(--tang); color: #fff; left: 3%; bottom: -4px; z-index: 1; width: min(260px, 56%); }
.sticker.t3 .v { font-size: 1.9rem; }
@keyframes pop { 0% { transform: translateY(28px) rotate(0deg) scale(.7); } 65% { transform: rotate(var(--r)) scale(1.05); } 100% { transform: rotate(var(--r)) scale(1); } }
@keyframes float { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(var(--r)) translateY(-9px); } }
@media (max-width: 980px) { .stickers { height: 540px; max-width: 520px; } }
@media (max-width: 560px) {
  .stickers { height: auto; display: grid; gap: 14px; }
  .stickers { max-width: none; }
  .stickers .sticker { --r: 0deg; position: relative; inset: auto; width: 100%; }
  .stickers .sticker.t4 { width: fit-content; order: -1; }
  .sticker.big .v { font-size: 3.4rem; }
}

/* Ticker */
.ticker { background: var(--ink); color: #fff; overflow: hidden; padding-block: 22px; margin-top: var(--s-6); }
.ticker .track { display: flex; gap: 48px; width: max-content; animation: tick 40s linear infinite; font: 800 clamp(1.3rem, 2.6vw, 2rem)/1 var(--f-display); letter-spacing: -.02em; font-stretch: 112%; white-space: nowrap; }
.ticker .track span { display: inline-flex; align-items: center; gap: 48px; }
.ticker .track span::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--sun); }
.ticker .track span:nth-child(3n+2)::after { background: var(--tang); }
.ticker .track span:nth-child(3n)::after { background: var(--mint); }
@keyframes tick { to { transform: translateX(-50%); } }

/* Doors: big colored cards that open other pages */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.door { display: grid; grid-template-rows: auto 1fr auto; gap: var(--s-4); min-height: 360px; border-radius: var(--r-lg); padding: var(--s-6); text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s; position: relative; overflow: hidden; }
.door:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow-lg); color: var(--ink); }
.door .n { font: 600 .74rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.door h3 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); line-height: 1; font-weight: 800; font-stretch: 112%; letter-spacing: -.03em; }
.door p { font-size: 1rem; color: inherit; opacity: .85; }
.door .go { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.door .go i { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 1.3rem; transition: transform .2s; }
.door:hover .go i { transform: rotate(-45deg); }
.door.sun { background: var(--sun); } .door.tang { background: var(--tang); color: #fff; } .door.tang:hover { color: #fff; } .door.tang .go i { background: #fff; color: var(--ink); }
.door.mint { background: var(--mint); } .door.lilac { background: var(--lilac); } .door.cobalt { background: var(--brand); color: #fff; } .door.cobalt:hover { color: #fff; } .door.cobalt .go i { background: #fff; color: var(--ink); }
.door .big-n { font: 800 4.4rem/1 var(--f-display); letter-spacing: -.05em; font-stretch: 115%; }
@media (max-width: 900px) { .doors { grid-template-columns: minmax(0, 1fr); } .door { min-height: 0; } }

/* Big stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.stat { border-radius: var(--r-lg); padding: var(--s-6); display: grid; gap: var(--s-3); align-content: start; background: var(--bg-2); }
.stat:nth-child(1) { background: var(--brand-soft); } .stat:nth-child(2) { background: var(--sun-soft); } .stat:nth-child(3) { background: var(--tang-soft); }
.stat .fig { font: 800 clamp(3rem, 5.6vw, 4.6rem)/1 var(--f-display); letter-spacing: -.04em; font-stretch: 115%; color: var(--ink); }
.stat .fig small { font-size: .5em; }
.stat p { color: var(--ink-2); font-size: 1.05rem; }
.stat .src { font: 400 .72rem/1.4 var(--f-mono); color: var(--muted); }
@media (max-width: 800px) { .stats { grid-template-columns: minmax(0, 1fr); } }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.calc-in { padding: var(--s-7) var(--s-6); display: grid; gap: var(--s-5); align-content: start; }
.calc-out { padding: var(--s-7) var(--s-6); display: grid; gap: var(--s-5); background: var(--ink); color: #fff; }
.calc-out .lab, .calc-out .small { color: #B9BBD3; }
.calc .amount { font: 800 clamp(2.8rem, 5vw, 4.2rem)/1 var(--f-display); letter-spacing: -.04em; font-stretch: 115%; font-variant-numeric: tabular-nums; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--brand) var(--p, 20%), var(--rule) var(--p, 20%)); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); cursor: grab; }
.range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); cursor: grab; }
.range-scale { display: flex; justify-content: space-between; font: 400 .75rem var(--f-mono); color: var(--muted); }
.seg { display: inline-flex; background: var(--bg-2); border-radius: 999px; padding: 5px; gap: 4px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font: 700 .9rem var(--f-body); color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cmp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: end; }
.cmp-row .lab { font-size: .98rem; }
.cmp-row .val { font: 800 2rem/1 var(--f-display); letter-spacing: -.03em; font-stretch: 112%; font-variant-numeric: tabular-nums; text-align: right; }
.cmp-row .track { grid-column: 1 / -1; height: 16px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.cmp-row .track i { display: block; height: 100%; border-radius: inherit; transition: width .35s cubic-bezier(.2, .8, .2, 1); }
.cmp-row.pa .val { color: var(--tang); } .cmp-row.pa .track i { background: var(--tang); }
.cmp-row.hs .val { color: var(--mint); } .cmp-row.hs .track i { background: var(--mint); min-width: 10px; }
.keep { border-top: 1px dashed rgba(255, 255, 255, .25); padding-top: var(--s-5); display: flex; justify-content: space-between; align-items: end; gap: var(--s-4); flex-wrap: wrap; }
.keep .big { font: 800 clamp(2.8rem, 5vw, 4rem)/1 var(--f-display); letter-spacing: -.04em; font-stretch: 115%; color: var(--sun); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }

/* Timeline (How it works) */
.timeline { display: grid; gap: var(--s-4); }
.tl { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); align-items: center; border-radius: var(--r-lg); padding: var(--s-6); background: var(--bg-2); }
.tl:nth-child(1) { background: var(--brand-soft); } .tl:nth-child(2) { background: var(--sun-soft); } .tl:nth-child(3) { background: var(--mint-soft); } .tl:nth-child(4) { background: var(--tang-soft); }
.tl .num { font: 800 5rem/1 var(--f-display); letter-spacing: -.05em; font-stretch: 115%; }
.tl .t { font: 600 .72rem var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.tl h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.025em; margin-top: 6px; }
.tl p { color: var(--ink-2); }
.tl .demo { background: #fff; border-radius: var(--r); padding: var(--s-4) var(--s-5); box-shadow: var(--shadow); font-size: .9rem; display: grid; gap: 8px; }
.tl .demo .row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--rule); }
.tl .demo .row:last-child { border: 0; }
.tl .demo .up { color: var(--green); font-weight: 700; font-family: var(--f-mono); }
@media (max-width: 900px) { .tl { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); } .tl .num { font-size: 3.4rem; } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-4); }
.tile { background: var(--bg-2); border-radius: var(--r-lg); padding: var(--s-6); display: grid; gap: var(--s-3); align-content: start; overflow: hidden; position: relative; min-width: 0; }
.tile.w3 { grid-column: span 3; } .tile.w2 { grid-column: span 2; } .tile.w4 { grid-column: span 4; }
.tile .tag { font: 600 .7rem/1 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.tile p { color: var(--ink-2); font-size: .98rem; }
.tile.dark { background: var(--brand); color: #fff; } .tile.dark h3 { color: #fff; } .tile.dark p { color: #DCE2FF; } .tile.dark .tag { color: var(--sun); }
.tile.sunny { background: var(--sun); } .tile.minty { background: var(--mint); } .tile.tangy { background: var(--tang); color: #fff; } .tile.tangy h3 { color: #fff; } .tile.tangy p, .tile.tangy .tag { color: #FFEDE6; } .tile.lilac { background: var(--lilac); }
.mini { margin-top: var(--s-3); border-radius: var(--r); background: #fff; padding: var(--s-4); display: grid; gap: 8px; font-size: .86rem; color: var(--ink); box-shadow: var(--shadow-sm); }
.mini .row { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px dashed var(--rule); }
.mini .row:last-child { border-bottom: 0; }
.mini .mono { font-size: .8rem; }
.mini .up { color: var(--green); font-weight: 700; }
.mini .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font: 800 .8rem var(--f-display); color: var(--ink); flex: none; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.thumbs span { aspect-ratio: 1; border-radius: 12px; background: var(--bg-2); display: grid; place-items: end start; padding: 6px; font: 500 .62rem var(--f-mono); color: var(--muted); }
.mini.letter-mini { display: block; font: 400 .86rem/1.6 var(--f-body); color: var(--ink-2); }
.letter-mini mark { background: var(--sun); color: var(--ink); padding: 0 3px; border-radius: 3px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; font: 400 .68rem var(--f-mono); text-align: center; color: var(--muted); }
.cal span { padding: 6px 0; border-radius: 6px; }
.cal .due { background: var(--red); color: #fff; font-weight: 600; }
.cal .rem { background: var(--sun-soft); color: var(--ink); }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile.w2, .tile.w3, .tile.w4 { grid-column: span 1; } }
@media (max-width: 600px) { .bento { grid-template-columns: minmax(0, 1fr); } }

/* Comparison */
.table-scroll { overflow-x: auto; border-radius: var(--r-lg); background: #fff; border: 2px solid var(--ink); }
.compare { width: 100%; border-collapse: collapse; min-width: 680px; font-size: .98rem; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { font: 800 1.05rem/1.2 var(--f-display); font-stretch: 108%; background: var(--bg-2); }
.compare thead th.us { background: var(--brand); color: #fff; }
.compare td.us { background: var(--brand-soft); font-weight: 700; color: var(--ink); }
.compare tbody th { font-weight: 600; color: var(--muted); width: 24%; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.yes { color: var(--green); font-weight: 800; }
.no { color: var(--red); font-weight: 800; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); align-items: stretch; }
.plan { background: var(--bg-2); border-radius: var(--r-lg); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); min-width: 0; position: relative; }
.plan.featured { background: var(--brand); color: #fff; box-shadow: var(--shadow-lg); transform: translateY(-10px); }
.plan.featured h2, .plan.featured h3, .plan.featured .price { color: #fff; }
.plan.featured .for, .plan.featured .muted, .plan.featured .price small, .plan.featured p.small { color: #DCE2FF; }
.plan.featured li { color: #fff; }
.plan.featured li::before { color: var(--sun); }
.plan.featured a { color: #fff; }
.plan .ribbon { position: absolute; top: -14px; right: 24px; background: var(--sun); color: var(--ink); font: 700 .7rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 9px 14px; border-radius: 999px; transform: rotate(3deg); }
.plan .price { font: 800 3.6rem/1 var(--f-display); letter-spacing: -.04em; font-stretch: 115%; }
.plan .price small { font: 600 .9rem var(--f-body); color: var(--muted); letter-spacing: 0; margin-left: .3em; }
.plan .for { color: var(--ink-2); font-size: .98rem; }
.plan ul { flex: 1 0 auto; list-style: none; padding: var(--s-4) 0 0; margin: 0; display: grid; gap: 10px; font-size: .96rem; align-content: start; border-top: 2px solid rgba(11, 11, 30, .08); }
.plan.featured ul { border-color: rgba(255, 255, 255, .2); }
.plan li { display: grid; grid-template-columns: 1.1em 1fr; gap: .55em; }
.plan li::before { content: "✓"; color: var(--brand); font-weight: 800; }
.plan.featured .btn.ghost { color: #fff; border-color: #fff; }
@media (max-width: 980px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; } .plan.featured { transform: none; } }
.strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-4) var(--s-6); align-items: center; background: var(--sun-soft); border-radius: var(--r-lg); padding: var(--s-5) var(--s-6); }
@media (max-width: 720px) { .strip { grid-template-columns: minmax(0, 1fr); } }

/* Guarantee */
.guarantee { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s-7); align-items: center; }
.seal { width: 200px; height: 200px; flex: none; border-radius: 50%; display: grid; place-items: center; text-align: center; color: var(--ink); padding: 30px; background: #fff; box-shadow: inset 0 0 0 10px #fff, inset 0 0 0 13px var(--ink); transform: rotate(-10deg); }
.seal > div { display: grid; gap: 8px; justify-items: center; }
.seal b { font: 800 2.05rem/1 var(--f-display); letter-spacing: -.03em; font-stretch: 100%; display: block; white-space: nowrap; }
.seal span { font: 600 .64rem/1.35 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; }
@media (max-width: 860px) { .guarantee { grid-template-columns: minmax(0, 1fr); } }

/* Layout helpers */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.checklist li { display: grid; grid-template-columns: 1.8em 1fr; gap: .4em; color: var(--ink-2); }
.checklist li::before { content: "→"; color: var(--brand); font-weight: 800; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--bg-2); border-radius: var(--r); padding: var(--s-4) var(--s-5); }
.faq details[open] { background: var(--sun-soft); }
.faq summary { cursor: pointer; font: 700 1.08rem/1.35 var(--f-display); list-style: none; display: flex; justify-content: space-between; gap: var(--s-4); align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 500 1.2rem/1 var(--f-body); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: var(--s-3); color: var(--ink-2); max-width: 66ch; }

/* Forms */
.field { display: grid; gap: var(--s-2); min-width: 0; }
.field label, .label { font: 700 .86rem/1.2 var(--f-body); color: var(--ink-2); }
.field .hint { font-size: .8rem; color: var(--muted); }
input:not([type]), input[type="text"], input[type="email"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--ink); background: #fff;
  border: 2px solid var(--rule-2); border-radius: 14px; padding: .8em 1em; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 140px; resize: vertical; font-family: var(--f-mono); font-size: .86rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.inline-form { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.inline-form input { flex: 1 1 220px; border-radius: 999px; padding-inline: 1.3em; border-color: transparent; }
.form-msg { font-size: .92rem; min-height: 1.4em; font-weight: 600; }
.form-msg.ok { color: var(--green); }
.block .form-msg.ok { color: inherit; }
.form-msg.err { color: var(--red); }
.dropzone { border: 2px dashed var(--rule-2); border-radius: var(--r); padding: var(--s-6) var(--s-5); text-align: center; background: var(--bg-2); cursor: pointer; display: grid; gap: var(--s-2); justify-items: center; transition: border-color .15s, background .15s; position: relative; }
.dropzone:hover, .dropzone.over { border-color: var(--brand); background: var(--brand-soft); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.files { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); font: 400 .85rem var(--f-mono); }
.files li { display: flex; justify-content: space-between; gap: var(--s-3); padding: var(--s-2) var(--s-3); background: var(--bg-2); border-radius: 10px; min-width: 0; }
.files li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files button { background: none; border: 0; color: var(--red); cursor: pointer; font: inherit; }

/* Panels & results */
.panel { background: #fff; border: 2px solid var(--rule); border-radius: var(--r-lg); padding: var(--s-6); display: grid; gap: var(--s-4); min-width: 0; }
.result-head { display: flex; justify-content: space-between; gap: var(--s-4); align-items: start; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: .4em; font: 700 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; padding: 8px 12px; border-radius: 999px; }
.pill.red { background: var(--red-soft); color: var(--red); }
.pill.green { background: var(--green-soft); color: var(--green); }
.pill.grey { background: var(--bg-2); color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.kpi { background: var(--bg-2); border-radius: var(--r); padding: var(--s-4); display: grid; gap: 4px; min-width: 0; align-content: start; }
.kpi:nth-child(3) { background: var(--sun-soft); }
/* Amounts like "$6,500–8,600" may wrap after the dash instead of spilling out of the box. */
.kpi .v { font: 800 clamp(1.1rem, 1.7vw, 1.45rem)/1.15 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kpi .v.red { color: var(--red); }
.kpi .k { font-size: .8rem; color: var(--muted); }
@media (max-width: 560px) { .kpis { grid-template-columns: minmax(0, 1fr); } }
.deadline { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s-3); align-items: center; padding: var(--s-3) 0; border-bottom: 1px dashed var(--rule); }
.deadline .d { font: 600 .85rem/1.2 var(--f-mono); color: var(--red); white-space: nowrap; text-align: right; }
.deadline .sev { width: 12px; height: 12px; border-radius: 50%; background: var(--red); }
.deadline .sev.mid { background: var(--amber); }
.deadline .sev.low { background: var(--green); }
.notice { background: var(--red-soft); padding: var(--s-3) var(--s-4); border-radius: var(--r); font-size: .92rem; }
.notice.info { background: var(--sun-soft); }
.spinner { width: 18px; height: 18px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }
.sheet-scroll { overflow-x: auto; }
.code-chip { display: inline-block; font: 700 1.1rem/1 var(--f-mono); letter-spacing: .08em; border: 2px dashed var(--ink); color: var(--ink); background: var(--sun); padding: 12px 16px; border-radius: 12px; }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(11, 11, 30, .55); backdrop-filter: blur(4px); z-index: 80; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal { background: #fff; color: var(--ink); max-width: 500px; width: 100%; border-radius: var(--r-lg); padding: var(--s-7) var(--s-6) var(--s-6); display: grid; gap: var(--s-4); position: relative; box-shadow: var(--shadow-lg); overflow: hidden; }
.modal::before { content: ""; position: absolute; inset: 0 0 auto; height: 10px; background: linear-gradient(90deg, var(--brand) 0 33%, var(--sun) 33% 66%, var(--tang) 66%); }
.modal .close { position: absolute; top: 20px; right: 14px; background: var(--bg-2); border: 0; width: 36px; height: 36px; border-radius: 50%; font: 400 1.3rem/1 var(--f-body); color: var(--ink); cursor: pointer; }

/* Footer */
.site-footer { background: var(--ink); color: #A4A6BF; padding-block: var(--s-8) var(--s-6); font-size: .94rem; margin-top: var(--s-6); }
.foot-cta { display: flex; justify-content: space-between; align-items: end; gap: var(--s-6); flex-wrap: wrap; padding-bottom: var(--s-7); margin-bottom: var(--s-7); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot-cta h2 { color: #fff; max-width: 14em; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.foot-grid h4 { font: 600 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: var(--s-4); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--sun); }
.site-footer .disclaimer { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; line-height: 1.6; display: grid; gap: var(--s-2); color: #7E8099; }
.site-footer a { color: inherit; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Article (guides, legal) */
.article { max-width: 72ch; margin: 0 auto; padding-block: var(--s-6) var(--s-8); display: grid; gap: var(--s-4); }
.article h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); margin-bottom: var(--s-2); }
.article h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); margin-top: var(--s-5); }
.article h3 { margin-top: var(--s-3); }
.article p, .article li { color: var(--ink-2); line-height: 1.72; }
.article ul, .article ol { padding-left: 1.3em; margin: 0; display: grid; gap: var(--s-2); }
.article table { width: 100%; border-collapse: collapse; font-size: .92rem; display: block; overflow-x: auto; border-radius: var(--r); background: var(--bg-2); }
.article th, .article td { border-bottom: 1px solid var(--rule); padding: 10px 14px; text-align: left; vertical-align: top; }
.article th { background: var(--brand-soft); font-weight: 700; }
.article blockquote { margin: 0; padding: var(--s-4) var(--s-5); background: var(--sun-soft); border-radius: var(--r); }
.article aside.note, .article .note-box { background: var(--brand-soft); padding: var(--s-4) var(--s-5); border-radius: var(--r); }
.article .lede { font-size: 1.22rem; }
.crumbs { font: 500 .78rem var(--f-mono); color: var(--muted); }
.crumbs a { text-decoration: none; }
.guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.guide-list a { display: grid; gap: var(--s-3); padding: var(--s-6); border-radius: var(--r-lg); background: var(--bg-2); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.guide-list a:nth-child(4n+1) { background: var(--brand-soft); } .guide-list a:nth-child(4n+2) { background: var(--sun-soft); } .guide-list a:nth-child(4n+3) { background: var(--mint-soft); } .guide-list a:nth-child(4n) { background: var(--tang-soft); }
.guide-list a:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.guide-list h3 { font-size: 1.4rem; font-weight: 800; font-stretch: 110%; }
.guide-list p { color: var(--ink-2); font-size: .96rem; }
@media (max-width: 720px) { .guide-list { grid-template-columns: minmax(0, 1fr); } }

.lines { width: 100%; border-collapse: collapse; font: 400 .8rem/1.35 var(--f-mono); }
.lines th, .lines td { padding: 8px 12px; border-bottom: 1px dashed var(--rule); text-align: left; }

.reveal { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.reveal.d1 { animation-delay: .06s; } .reveal.d2 { animation-delay: .14s; } .reveal.d3 { animation-delay: .22s; } .reveal.d4 { animation-delay: .3s; }
@keyframes rise { from { transform: translateY(12px); } to { transform: none; } }
