/* KORVO website. "The ledger, beautifully kept."
   Editorial serif (Lora) for headlines, Inter for interface and reading, deep-forest instrument panels for numbers.
   Signature: the pay-period line, payday (filled) to next payday (open). */
@font-face { font-family: "Lora"; src: url("/assets/fonts/lora.woff") format("woff"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }

:root { color-scheme: light;
  --ivory: #F6F5EF; --paper: #FBFAF6; --white: #FFFFFF;
  --ink: #1C211F; --ink-2: #3A413D; --muted: #5A615D;
  --forest: #24543F; --forest-2: #2F6A50; --deep: #12291F; --deep-2: #1A3528; --deep-line: rgba(246, 245, 239, .14);
  --sage: #7E9C8C; --mint: #C9D7CE; --pale: #E4EBE6;
  --brass: #A9823A; --brass-2: #D9B56E; --brass-soft: #F1E7D2; --warn: #7A5300;
  --line: rgba(28, 33, 31, .12); --line-2: rgba(28, 33, 31, .2);
  --serif: "Lora", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --measure: 40rem; --r: 14px; --r-sm: 9px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(18, 41, 31, .06), 0 12px 32px -18px rgba(18, 41, 31, .28);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
html.ask-open { overflow: hidden; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 74rem; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 1rem; top: -3rem; background: var(--forest); color: #fff; padding: .55rem .9rem; border-radius: var(--r-sm); font-size: .9rem; z-index: 60; }
.skip:focus { top: 1rem; }
a { color: var(--forest); text-underline-offset: .22em; text-decoration-thickness: 1px; }
@media (hover: hover) and (pointer: fine) { a:hover { text-decoration-thickness: 2px; } }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 4px; }
.num, .facts b, .big-num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(246, 245, 239, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.site-head { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem 2rem; flex-wrap: wrap; min-height: 4.25rem; padding-top: .6rem; padding-bottom: .6rem; }
.wordmark { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .34em; color: var(--forest); text-decoration: none; margin: 0; }
.wordmark.light { color: var(--ivory); }
.nav { display: flex; align-items: center; gap: .25rem 1.6rem; flex-wrap: wrap; font-size: .9375rem; font-weight: 500; }
.nav a { color: var(--ink-2); text-decoration: none; padding: .35rem 0; position: relative; }
.nav a:not(.ask-link)::after { content: ""; position: absolute; inset-inline-start: 0; inset-inline-end: 0; bottom: 0; height: 2px; background: var(--forest); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a[aria-current="page"]:not(.ask-link)::after { transform: scaleX(1); } @media (hover: hover) and (pointer: fine) { .nav a:not(.ask-link):hover::after { transform: scaleX(1); } }
.nav a[aria-current="page"] { color: var(--ink); }
.nav .ask-link[aria-current="page"] { color: var(--ivory); }
.nav .ask-link { display: inline-flex; align-items: center; gap: .55rem; background: var(--deep); color: var(--ivory); padding: .5rem 1rem .5rem .85rem; border-radius: 999px; transition: background .2s; }
@media (hover: hover) and (pointer: fine) { .nav .ask-link:hover { background: var(--forest); } }
.nav .ask-link::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--brass-2); box-shadow: 0 0 0 3px rgba(217, 181, 110, .22); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 450; color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.1rem); line-height: 1.02; letter-spacing: -.028em; margin: 0 0 1.5rem; max-width: 15ch; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 1rem; }
h3 { font-size: 1.4rem; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
.lead { font-family: var(--serif); font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.5; color: var(--ink-2); max-width: 36rem; }
.lead-sm { font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: var(--measure); }
.measure { max-width: var(--measure); }
.small { font-size: .9rem; color: var(--muted); }
.spaced { margin-top: 1.25rem; }
main { display: block; }

/* ---------- buttons ---------- */
.btn, .btn-ghost { font: inherit; font-size: .975rem; font-weight: 500; line-height: 1.2; border-radius: 999px; padding: .85rem 1.4rem; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn { background: var(--forest); color: #fff; border: 1px solid var(--forest); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--deep); border-color: var(--deep); text-decoration: none; } }
.btn:active, .btn-ghost:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { border-color: var(--forest); color: var(--forest); text-decoration: none; } }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.linkish { background: none; border: 0; padding: .35rem 0; color: var(--forest); text-decoration: underline; text-underline-offset: .22em; font: inherit; font-size: .9375rem; font-weight: 500; cursor: pointer; }

/* ---------- hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 0; }
.hero-short { padding-bottom: clamp(1rem, 3vw, 2rem); }
.hero-short h1 { font-size: clamp(2.5rem, 5.5vw, 4.2rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy h1, .hero-copy .lead, .hero-copy .actions { animation: rise .8s var(--ease) both; }
.hero-copy .lead { animation-delay: .08s; }
.hero-copy .actions { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* the instrument panel (hero) */
.panel { margin: 0; background: var(--deep); color: var(--ivory); border-radius: 20px; padding: 1.6rem 1.6rem 1.35rem; box-shadow: 0 30px 60px -30px rgba(18, 41, 31, .55), 0 0 0 1px rgba(255, 255, 255, .04) inset; animation: rise .9s var(--ease) .12s both; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1px solid var(--deep-line); padding-bottom: .9rem; margin-bottom: 1.1rem; }
.panel-title { font-family: var(--serif); font-size: 1.15rem; margin: 0; }
.panel-meta { font-size: .8125rem; color: #A9BDB1; margin: 0; }
.panel-big { display: flex; align-items: flex-end; gap: 1rem; }
.big-num { font-family: var(--serif); font-size: 3.4rem; line-height: .9; letter-spacing: -.03em; }
.big-label { font-size: .875rem; color: #C5D3CA; line-height: 1.35; padding-bottom: .2rem; }
.panel-period { position: relative; height: 4px; background: rgba(246, 245, 239, .14); border-radius: 2px; margin: 1.2rem 0 1.1rem; }
.pp-fill { position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 60%; background: var(--ivory); border-radius: 2px; transform-origin: left; animation: grow 1.2s var(--ease) .45s both; }
.pp-dot { position: absolute; inset-inline-start: 60%; top: 50%; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: var(--deep); border: 3px solid var(--ivory); animation: fade .3s ease 1.55s both; }
.panel-sub { font-size: .875rem; color: #C5D3CA; margin: 0 0 .6rem; }
.panel-stack { display: flex; height: 10px; border-radius: 5px; overflow: hidden; gap: 2px; }
.ps { display: block; height: 100%; transform-origin: left; animation: grow .9s var(--ease) both; }
.ps-fixed { width: 44.4%; background: #E8E4D6; animation-delay: .6s; } .ps-ess { width: 17.9%; background: var(--sage); animation-delay: .7s; }
.ps-sav { width: 18.3%; background: #4E8F6D; animation-delay: .8s; } .ps-wants { width: 19.4%; background: var(--mint); animation-delay: .9s; }
.panel-legend li { white-space: nowrap; }
.panel-legend { list-style: none; padding: 0; margin: .65rem 0 1.15rem; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1rem; font-size: .8125rem; color: #C5D3CA; font-variant-numeric: tabular-nums; }
.panel-legend i { display: inline-block; width: .55rem; height: .55rem; border-radius: 2px; margin-inline-end: .45rem; }
.k-fixed { background: #E8E4D6; } .k-ess { background: var(--sage); } .k-sav { background: #4E8F6D; } .k-wants { background: var(--mint); }
.panel-pace { list-style: none; padding: .9rem 0 0; margin: 0; border-top: 1px solid var(--deep-line); }
.panel-pace li { display: grid; grid-template-columns: 7.2rem minmax(0, 1fr) 2.8rem; gap: .75rem; align-items: center; font-size: .875rem; padding: .28rem 0; color: #DCE6E0; }
.panel-pace b { font-weight: 500; text-align: end; font-variant-numeric: tabular-nums; }
.panel-pace .is-ahead, .panel-pace .is-ahead b { color: var(--brass-2); }
.pm { position: relative; height: 6px; background: rgba(246, 245, 239, .12); border-radius: 3px; }
.pf { position: absolute; inset-inline-start: 0; top: 0; bottom: 0; border-radius: 3px; background: #8FB3A0; transform-origin: left; animation: grow 1s var(--ease) both; }
.is-ahead .pf { background: var(--brass-2); }
.pf-88 { width: 88%; animation-delay: .75s; } .pf-70 { width: 70%; animation-delay: .85s; } .pf-66 { width: 66%; animation-delay: .95s; } .pf-27 { width: 27%; animation-delay: 1.05s; }
.pk { position: absolute; inset-inline-start: 60%; top: -4px; bottom: -4px; width: 2px; background: var(--ivory); opacity: .85; }
.panel-note { display: flex; gap: .6rem; align-items: flex-start; margin: 1rem 0 0; padding: .75rem .9rem; background: rgba(217, 181, 110, .1); border-radius: var(--r-sm); font-size: .8125rem; line-height: 1.45; color: #EADDBF; }
.panel-note .dot { flex: none; width: .5rem; height: .5rem; margin-top: .35rem; border-radius: 50%; background: var(--brass-2); }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* the pay period (signature) */
.period { margin: clamp(3rem, 6vw, 5rem) 0 0; padding-bottom: 1rem; }
.period-line { position: relative; height: 2px; background: var(--forest); transform-origin: left center; animation: grow 1.6s cubic-bezier(.65, 0, .35, 1) .3s both; }
.period-line::before, .period-line::after { content: ""; position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; transform: translateY(-50%); }
.period-line::before { inset-inline-start: 0; background: var(--forest); }
.period-line::after { inset-inline-end: 0; background: var(--ivory); border: 2px solid var(--forest); animation: fade .3s ease 1.8s both; }
.period-labels { display: flex; justify-content: space-between; font-size: .875rem; color: var(--muted); margin-top: .8rem; }
.period-caption { color: var(--muted); font-family: var(--serif); font-style: italic; margin: 1rem 0 0; }

/* ---------- sections ---------- */
section.block { padding: clamp(4rem, 8vw, 7rem) 0 0; }
.band-paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-bottom: clamp(4rem, 8vw, 7rem) !important; margin-top: clamp(4rem, 8vw, 7rem); }
.band-paper + section.block { padding-top: clamp(4rem, 8vw, 7rem); }
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 4rem; align-items: end; margin-bottom: 2.25rem; }
.section-head p { color: var(--ink-2); margin: 0 0 .35rem; max-width: 34rem; }
.for { list-style: none; margin: 0; padding: 0; }
.for li { padding: 1rem 0 1rem 2.2rem; border-top: 1px solid var(--line); position: relative; font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; }
.for li:last-child { border-bottom: 1px solid var(--line); }
.for li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1.62rem; width: 1.1rem; height: 2px; background: var(--forest); }
.ethos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 2.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); counter-reset: e; }
.ethos li { counter-increment: e; padding: 1.75rem 2rem 0 0; position: relative; }
.ethos li + li { padding-inline-start: 2rem; border-inline-start: 1px solid var(--line); }
.ethos li::before { content: "0" counter(e); display: block; font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; margin-bottom: 1.4rem; }
.ethos strong { display: block; font-family: var(--serif); font-weight: 450; font-size: 2.2rem; letter-spacing: -.02em; color: var(--forest); line-height: 1.1; margin-bottom: .5rem; }
.ethos .part { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: .45rem; }
.ethos .text { color: var(--ink-2); }
.promises { margin: 0; padding: 0; list-style: none; }
.promises li { position: relative; padding: .9rem 0 .9rem 2.2rem; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; }
.promises li:last-child { border-bottom: 1px solid var(--line); }
.promises li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1.55rem; width: 1.1rem; height: 2px; background: var(--brass); }
.big-link { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); word-break: break-word; }
.email { color: var(--forest); user-select: all; }

/* ---------- guide as product ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.book { display: block; perspective: 1400px; }
.book .cover { border-radius: 3px 6px 6px 3px; box-shadow: -1px 0 0 rgba(0, 0, 0, .25) inset, 0 2px 4px rgba(18, 41, 31, .15), 18px 30px 50px -20px rgba(18, 41, 31, .45); transform: rotateY(-8deg) rotateX(2deg); transition: transform .5s var(--ease); }
@media (hover: hover) and (pointer: fine) { .book:hover .cover { transform: rotateY(-3deg); } }
.status { font-size: .875rem; font-weight: 500; color: var(--forest); margin: 0 0 1rem; display: inline-flex; align-items: center; gap: .55rem; background: var(--pale); padding: .35rem .8rem; border-radius: 999px; }
.status::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--brass); }
.facts { list-style: none; padding: 1.25rem 0 0; margin: 1.75rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 8.5rem)); gap: 1rem 2rem; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); }
.facts b { display: block; font-family: var(--serif); font-weight: 450; font-size: 2.6rem; letter-spacing: -.02em; color: var(--forest); line-height: 1; margin-bottom: .3rem; }
.hero-product { padding-bottom: 1rem; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.book-lg { max-width: 22rem; justify-self: center; animation: rise .9s var(--ease) .1s both; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.checklist li { position: relative; padding: 1rem 0 1rem 2.1rem; border-top: 1px solid var(--line); line-height: 1.5; }
.checklist li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1.15rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--forest); }
.checklist li::after { content: ""; position: absolute; inset-inline-start: .4rem; top: 1.42rem; width: .45rem; height: .25rem; border-inline-start: 2px solid var(--ivory); border-bottom: 2px solid var(--ivory); transform: rotate(-45deg); }
.previews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.previews figure { margin: 0; }
.previews img { border-radius: 4px; background: #fff; box-shadow: 0 1px 2px rgba(18, 41, 31, .08), 0 16px 34px -20px rgba(18, 41, 31, .35); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
@media (hover: hover) and (pointer: fine) { .previews figure:hover img { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(18, 41, 31, .08), 0 24px 44px -20px rgba(18, 41, 31, .4); } }
.previews figcaption { font-size: .9rem; color: var(--muted); margin-top: .9rem; }
.toc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.toc-part { border-top: 2px solid var(--forest); padding-top: 1.1rem; }
.part-label { font-size: .8125rem; color: var(--muted); margin: 0 0 .35rem; }
.toc-part h3 { margin-bottom: 1rem; }
.toc { list-style: none; padding: 0; margin: 0; }
.toc li { display: grid; grid-template-columns: 2.2rem 1fr; padding: .7rem 0; border-top: 1px solid var(--line); line-height: 1.45; }
.toc-n { font-family: var(--serif); color: var(--forest); font-size: 1.1rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
.plate { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.25rem); }
.plate h2 { font-size: 1.75rem; }
.plate p { margin: 0; color: var(--ink-2); }
.cta-band { background: var(--deep); color: var(--ivory); border-radius: 20px; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; }
.cta-band h2 { color: var(--ivory); }
.cta-band p { color: #C5D3CA; margin: 0; }
.cta-band .cta-mail { font-family: var(--serif); font-size: 1.3rem; color: var(--ivory); }
.cta-band .email, .cta-band a { color: var(--brass-2); }

/* ---------- home: tools and ask teaser ---------- */
.tool-index { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.tool-index li + li { border-inline-start: 1px solid var(--line); }
.tool-index a { display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.4rem 1.25rem 1.6rem; text-decoration: none; color: var(--ink); transition: background .25s; }
.tool-index li:first-child a { padding-inline-start: 0; }
@media (hover: hover) and (pointer: fine) { .tool-index a:hover { background: var(--paper); } }
.ti-n { font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ti-t { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; color: var(--forest); }
.ti-d { font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.ask-teaser { background: var(--deep); color: var(--ivory); border-radius: 20px; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; position: relative; overflow: hidden; }
.ask-teaser h2 { color: var(--ivory); }
.ask-teaser p { color: #C5D3CA; }
.ask-teaser .small { color: #93A99C; margin: 0; }
.ask-teaser .chips { display: flex; flex-direction: column; gap: .6rem; }
.ask-teaser .chips button { text-align: start; font: inherit; font-size: .975rem; background: rgba(246, 245, 239, .05); color: var(--ivory); border: 1px solid var(--deep-line); border-radius: 12px; padding: .95rem 1.1rem; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; transition: background .2s, border-color .2s; }
.ask-teaser .chips button::after { content: "\2197"; color: var(--brass-2); }
.ask-teaser .chips button:last-child { border-style: dashed; }
@media (hover: hover) and (pointer: fine) { .ask-teaser .chips button:hover { background: rgba(246, 245, 239, .1); border-color: rgba(246, 245, 239, .3); } }
.ask-teaser :focus-visible { outline-color: var(--brass-2); }

/* ---------- tools page ---------- */
.tool-nav-wrap { position: sticky; top: 4.25rem; z-index: 20; background: rgba(246, 245, 239, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.tool-nav { display: flex; gap: .4rem; margin: 0; padding: .7rem 0; list-style: none; overflow-x: auto; scrollbar-width: none; font-size: .9rem; font-weight: 500; }
.tool-nav::-webkit-scrollbar { display: none; }
.tool-nav a { display: inline-block; white-space: nowrap; border: 1px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: .4rem .9rem; text-decoration: none; color: var(--ink-2); transition: border-color .2s, color .2s; }
@media (hover: hover) and (pointer: fine) { .tool-nav a:hover { border-color: var(--forest); color: var(--forest); } }
.tool { padding: clamp(3.5rem, 7vw, 5.5rem) 0 0; scroll-margin-top: -1rem; }
.tool-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .25rem 4rem; align-items: end; margin-bottom: 1.75rem; }
.tool-head .chapter { grid-column: 1 / -1; font-size: .8125rem; font-weight: 500; color: var(--forest); margin: 0; }
.tool-head h2 { margin: 0; }
.tool-intro { color: var(--ink-2); margin: 0; max-width: 32rem; }
.tool-card { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.tool-form { padding: clamp(1.4rem, 3vw, 2.25rem); }
.tool-out { background: var(--deep); color: var(--ivory); padding: clamp(1.4rem, 3vw, 2.25rem); display: flex; flex-direction: column; min-height: 100%; }
form.calc { font-size: 1rem; }
.field { margin: 0 0 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field label, fieldset legend, .label { display: block; font-weight: 500; font-size: .9375rem; margin: 0 0 .45rem; color: var(--ink); }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; line-height: 1.45; margin-top: .15rem; }
fieldset { border: 0; margin: 0 0 1.2rem; padding: 0; min-width: 0; }
.radios { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--ivory); border: 1px solid var(--line); border-radius: 12px; }
.radios label { display: inline-flex; align-items: center; gap: .45rem; border-radius: 9px; padding: .5rem .9rem; cursor: pointer; font-weight: 500; font-size: .9rem; margin: 0; color: var(--ink-2); transition: background .2s, color .2s, box-shadow .2s; }
.radios input { accent-color: var(--forest); margin: 0; }
.radios label:has(input:checked) { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(18, 41, 31, .12), 0 0 0 1px var(--line); }
.radios label:has(input:focus-visible) { outline: 2px solid var(--forest); outline-offset: 1px; }
input:not([type]), input[type=text], input[type=email], input[type=number], select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: 10px; padding: .7rem .85rem; width: 100%; min-height: 3rem; transition: border-color .2s, box-shadow .2s, background .2s; }
@media (hover: hover) and (pointer: fine) { input:not([type]):hover, input[type=email]:hover, input[type=text]:hover, select:hover, textarea:hover { border-color: rgba(28, 33, 31, .35); } }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--forest); background: var(--white); box-shadow: 0 0 0 4px rgba(36, 84, 63, .14); }
input.num { text-align: end; font-variant-numeric: tabular-nums; font-size: 1.05rem; }
input[aria-invalid=true] { border-color: var(--warn); box-shadow: 0 0 0 4px rgba(122, 83, 0, .1); }
.field-err { color: var(--warn); font-size: .85rem; margin: .4rem 0 0; }
table.rows { width: 100%; border-collapse: collapse; margin: 0 0 .9rem; table-layout: fixed; }
table.rows th { text-align: start; font-size: .8rem; font-weight: 500; color: var(--muted); padding: 0 .45rem .45rem 0; }
table.rows th:nth-child(1) { width: 42%; } table.rows th:nth-child(4) { width: 3rem; }
#irregular-form table.rows th:nth-child(3) { width: 34%; }
table.rows td { padding: 0 .45rem .55rem 0; vertical-align: top; }
table.rows td:last-child { padding-inline-end: 0; }
.row-del { width: 3rem; height: 3rem; border: 1px solid var(--line); background: var(--white); border-radius: 10px; font-size: 1.2rem; color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
@media (hover: hover) and (pointer: fine) { .row-del:hover { color: var(--warn); border-color: var(--warn); } }
.tool-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.4rem; margin-top: .75rem; }
.plan-group { border-top: 1px solid var(--line); padding-top: 1rem; margin-bottom: 1rem; }
.plan-group .label { display: flex; align-items: center; gap: .55rem; margin-bottom: .2rem; }
.plan-group .label i, .plan-legend i { width: .7rem; height: .7rem; border-radius: 3px; display: inline-block; flex: none; }
.group-eg { margin: 0 0 .7rem; }
.plan-line { display: grid; grid-template-columns: minmax(0, 1fr) 8.5rem 3rem; gap: .45rem; margin-bottom: .5rem; }
.pace-days { grid-template-columns: 1fr 1fr; align-items: end; gap: 0 1rem; margin-bottom: .4rem; }
.seg-fixed { background: var(--ink); } .seg-essentials { background: var(--sage); } .seg-saving { background: var(--forest); } .seg-wants { background: var(--mint); }

/* results: the instrument panel */
.result { font-size: .95rem; animation: fade .35s ease both; }
.result[hidden] { display: none; }
.result-empty { margin: auto 0; color: #A9BDB1; font-size: .95rem; padding: 1.5rem; border: 1px dashed var(--deep-line); border-radius: 14px; text-align: center; }
.result-empty[hidden] { display: none; }
.res-line { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--deep-line); color: #C5D3CA; }
.res-line b { font-weight: 500; color: var(--ivory); font-variant-numeric: tabular-nums; white-space: nowrap; }
.res-line.strong { padding: .2rem 0 1rem; color: var(--ivory); flex-direction: column; align-items: flex-start; gap: .35rem; }
.res-line.strong b { font-family: var(--serif); font-weight: 450; font-size: clamp(2.4rem, 4.5vw, 3.2rem); line-height: 1; letter-spacing: -.025em; color: var(--ivory); white-space: normal; }
.res-line.strong span { font-size: .85rem; color: #A9BDB1; order: -1; }
.res-work { font-size: .85rem; color: #A9BDB1; margin: .9rem 0 .5rem; font-variant-numeric: tabular-nums; line-height: 1.55; }
.res-note { font-size: .92rem; color: #DCE6E0; margin: .7rem 0; line-height: 1.6; }
.res-good { color: #9FD0B4; font-weight: 500; margin: .8rem 0; }
.res-warn { color: var(--brass-2); font-weight: 600; margin: .9rem 0 .3rem; }
.res-steps { margin: .4rem 0 .8rem; padding-inline-start: 1.2rem; color: #DCE6E0; font-size: .92rem; }
.res-steps li { margin-bottom: .3rem; }
.pace-warn { margin-top: 1rem; padding: .2rem 1rem .4rem; border-inline-start: 2px solid var(--brass-2); background: rgba(217, 181, 110, .07); border-radius: 0 10px 10px 0; }
.plan-bar { position: relative; display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: rgba(246, 245, 239, .1); margin: 1.2rem 0 .7rem; gap: 2px; }
.plan-bar .seg { height: 100%; transform-origin: left; animation: grow .7s var(--ease) both; }
.tool-out .seg-fixed, .tool-out .plan-legend .seg-fixed { background: #E8E4D6; }
.tool-out .seg-saving, .tool-out .plan-legend .seg-saving { background: #4E8F6D; }
.plan-legend { list-style: none; padding: 0; margin: 0 0 .5rem; display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 1rem; font-size: .84rem; color: #C5D3CA; font-variant-numeric: tabular-nums; }
.plan-legend li { display: flex; align-items: center; gap: .45rem; }
.pace-list { list-style: none; padding: 0; margin: .7rem 0; }
.pace-list li { display: grid; grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr) auto; gap: .25rem .9rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--deep-line); font-size: .9rem; }
.pace-name { font-weight: 500; }
.pace-meter { position: relative; height: 8px; background: rgba(246, 245, 239, .12); border-radius: 4px; }
.pace-fill { position: absolute; inset-inline-start: 0; top: 0; bottom: 0; background: #8FB3A0; border-radius: 4px; transform-origin: left; animation: grow .7s var(--ease) both; }
.pace-fill.ahead { background: var(--brass-2); }
.pace-mark { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--ivory); }
.pace-val { white-space: nowrap; font-variant-numeric: tabular-nums; color: #DCE6E0; }
.pace-val.ahead { color: var(--brass-2); font-weight: 600; }
.pace-left { grid-column: 2 / 4; color: #A9BDB1; font-size: .8rem; }
.ask-about { margin: 1.4rem 0 0; }
.tool-out .btn-ghost { color: var(--ivory); border-color: var(--deep-line); font-size: .9rem; padding: .6rem 1.05rem; }
.tool-out .btn-ghost::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--brass-2); }
@media (hover: hover) and (pointer: fine) { .tool-out .btn-ghost:hover { border-color: rgba(246, 245, 239, .4); color: #fff; } }
.tool-out :focus-visible { outline-color: var(--brass-2); }
/* charts drawn by tools.js */
.chart { margin: 1.1rem 0 .4rem; }
.chart-title { font-size: .8rem; color: #A9BDB1; margin: 0 0 .6rem; }
.hb { display: grid; grid-template-columns: minmax(0, 7rem) minmax(0, 1fr) auto; gap: .8rem; align-items: center; font-size: .85rem; padding: .3rem 0; color: #DCE6E0; }
.hb-track { height: 10px; background: rgba(246, 245, 239, .1); border-radius: 5px; overflow: hidden; }
.hb-bar { display: block; height: 100%; border-radius: 5px; background: #8FB3A0; transform-origin: left; animation: grow .7s var(--ease) both; }
.hb-bar.primary { background: var(--ivory); } .hb-bar.alt { background: var(--sage); } .hb-bar.brass { background: var(--brass-2); }
.hb b { font-weight: 500; font-variant-numeric: tabular-nums; }
.goal-svg { width: 100%; height: auto; display: block; overflow: visible; }
.goal-svg .axis { stroke: rgba(246, 245, 239, .18); stroke-width: 1; }
.goal-svg .target { stroke: var(--brass-2); stroke-width: 1.5; stroke-dasharray: 4 4; }
.goal-svg .area { fill: rgba(143, 179, 160, .18); }
.goal-svg .path { fill: none; stroke: var(--ivory); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw-path 1.1s var(--ease) forwards; }
.goal-svg .pt { fill: var(--deep); stroke: var(--ivory); stroke-width: 2; }
.goal-svg .end { fill: var(--brass-2); }
.goal-svg text { fill: #A9BDB1; font: 500 11px var(--sans); }
.goal-svg text.hi { fill: var(--ivory); }
@keyframes draw-path { to { stroke-dashoffset: 0; } }
.plan-mark { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--brass-2); }

/* ---------- Ask KORVO ---------- */
.ask-panel { display: flex; flex-direction: column; min-height: 0; }
.ask-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--deep); color: var(--ivory); }
.ask-head > div { display: flex; flex-direction: column; }
.ask-title { font-family: var(--serif); font-size: 1.3rem; margin: 0; color: var(--ivory); display: flex; align-items: center; gap: .6rem; }
.ask-title::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--brass-2); box-shadow: 0 0 0 3px rgba(217, 181, 110, .2); }
.ask-sub { font-size: .8125rem; color: #A9BDB1; margin: .15rem 0 0 1.15rem; }
.ask-close { font-size: 1.4rem; line-height: 1; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--deep-line); background: transparent; color: var(--ivory); cursor: pointer; flex: none; }
@media (hover: hover) and (pointer: fine) { .ask-close:hover { background: rgba(246, 245, 239, .1); } }
.ask-log { flex: 1; overflow-y: auto; padding: 1.4rem 1.25rem; min-height: 12rem; background: var(--paper); scroll-behavior: smooth; }
.ask-msg { margin: 0 0 1.4rem; animation: rise .35s var(--ease) both; }
.ask-who { font-size: .75rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin: 0 0 .4rem; }
.ask-user { display: flex; flex-direction: column; align-items: flex-end; }
.ask-user .ask-who { text-align: end; }
.ask-user .ask-q { max-width: 88%; background: var(--deep); color: var(--ivory); font-size: .975rem; line-height: 1.5; margin: 0; padding: .75rem 1rem; border-radius: 16px 16px 4px 16px; }
.ask-bot:not(.ask-intro) { background: var(--white); border: 1px solid var(--line); border-radius: 4px 16px 16px 16px; padding: 1rem 1.1rem; box-shadow: 0 1px 2px rgba(18, 41, 31, .05); }
.ask-bot .ask-who { color: var(--forest); display: flex; align-items: center; gap: .45rem; }
.ask-bot .ask-who::before { content: "K"; display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 6px; background: var(--forest); color: var(--ivory); font-family: var(--serif); font-size: .75rem; }
.ask-intro .ask-who { display: none; }
.ask-bot .ask-text { font-size: .975rem; line-height: 1.65; }
.ask-text p { margin: 0 0 .65rem; }
.ask-text ol, .ask-text ul { margin: 0 0 .65rem; padding-inline-start: 1.25rem; }
.ask-text li { margin-bottom: .3rem; }
.ask-text li::marker { color: var(--forest); font-weight: 600; }
.ask-lead { font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; margin: 0 0 1rem; color: var(--ink-2); }
.ask-source { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; color: var(--muted); margin: .7rem 0 0; padding: .25rem .6rem; background: var(--ivory); border-radius: 999px; line-height: 1.4; }
.ask-note { font-size: .84rem; color: var(--warn); margin: .4rem 0 .6rem; padding: .45rem .7rem; background: var(--brass-soft); border-radius: 8px; }
.ask-related { font-size: .84rem; margin: .7rem 0 0; color: var(--muted); }
.ask-related a { display: inline-block; margin: .2rem .15rem 0 0; padding: .2rem .6rem; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--forest); font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .ask-related a:hover { border-color: var(--forest); } }
.ask-starters { display: flex; flex-wrap: wrap; gap: .5rem; }
.ask-chip { font: inherit; font-size: .9rem; text-align: start; background: var(--white); color: var(--ink); border: 1px solid var(--line-2); border-radius: 12px; padding: .6rem .9rem; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
@media (hover: hover) and (pointer: fine) { .ask-chip:hover { border-color: var(--forest); color: var(--forest); background: var(--white); } }
.ask-pending { background: var(--white); }
.ask-dots { color: var(--muted); margin: 0; }
.ask-dots::after { content: ""; display: inline-block; width: 1.5em; text-align: start; animation: dots 1.2s steps(4, end) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.ask-form { border-top: 1px solid var(--line); padding: .9rem 1.25rem 1rem; background: var(--white); }
.ask-form textarea { resize: none; min-height: 3.3rem; max-height: 10rem; background: var(--paper); border-radius: 12px; }
.ask-row { display: flex; justify-content: space-between; align-items: center; margin-top: .6rem; }
.ask-row .btn { padding: .65rem 1.3rem; }
.ask-count { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ask-privacy { font-size: .78rem; color: var(--muted); margin: .65rem 0 0; line-height: 1.5; }
.ask-drawer[hidden] { display: none; }
.ask-drawer { position: fixed; inset: 0; z-index: 50; }
.ask-scrim { position: absolute; inset: 0; background: rgba(18, 41, 31, .42); backdrop-filter: blur(2px); opacity: 0; transition: opacity .25s; }
.ask-sheet { position: absolute; top: .75rem; right: .75rem; bottom: .75rem; width: min(30rem, calc(100vw - 1.5rem)); background: var(--paper); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(18, 41, 31, .6); display: flex; flex-direction: column; transform: translateX(calc(100% + 1rem)); transition: transform .35s var(--ease); }
.ask-drawer.is-open .ask-scrim { opacity: 1; }
.ask-drawer.is-open .ask-sheet { transform: none; }
.ask-sheet .ask-panel { height: 100%; }
.ask-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 2rem; margin-top: 1.5rem; align-items: start; }
#ask-inline .ask-panel { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; height: min(46rem, 78vh); box-shadow: var(--shadow); background: var(--paper); }
.ask-aside { display: grid; gap: 1rem; }
.aside-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.35rem 1.4rem; font-size: .94rem; color: var(--ink-2); }
.aside-card h2 { font-size: 1.25rem; margin-bottom: .6rem; }
.aside-card p:last-child { margin-bottom: 0; }

/* ---------- editorial pages ---------- */
.editorial { margin-top: 1rem; }
.ed-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem clamp(2rem, 6vw, 6rem); padding: 2.25rem 0; border-top: 1px solid var(--line); }
.ed-row:first-child { border-top-color: var(--line-2); }
.ed-row h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 0; }
.ed-row > div { max-width: var(--measure); font-size: 1.075rem; color: var(--ink-2); }
.ed-row > div p:last-child { margin-bottom: 0; }
.ed-row .promises li { font-size: 1.1rem; color: var(--ink); }

/* ---------- footer ---------- */
.site-foot { margin-top: clamp(5rem, 10vw, 8rem); padding: 3.5rem 0 3rem; background: var(--deep); color: #A9BDB1; font-size: .875rem; line-height: 1.65; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2.5rem; }
.foot-brand p { max-width: 36rem; margin: 0 0 .8rem; }
.foot-tag { font-family: var(--serif); font-size: 1.25rem; color: var(--ivory); margin: .6rem 0 1.4rem !important; }
.site-foot nav { display: flex; flex-direction: column; gap: .55rem; }
.site-foot nav a { color: var(--ivory); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .site-foot nav a:hover { color: var(--brass-2); } }
.site-foot :focus-visible { outline-color: var(--brass-2); }

/* ---------- responsive ---------- */
@media (max-width: 64rem) {
  .tool-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tool-index li:nth-child(4) { border-inline-start: 0; }
  .tool-index li:nth-child(4) a { padding-inline-start: 0; }
  .tool-index li:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 56rem) {
  .hero-grid, .product-grid, .tool-card, .ask-teaser, .ask-layout, .cta-band, .split { grid-template-columns: 1fr; }
  .split-head, .section-head, .tool-head, .ed-row { grid-template-columns: 1fr; }
  .ethos { grid-template-columns: 1fr; }
  .ethos li, .ethos li + li { padding: 1.5rem 0; border-inline-start: 0; border-bottom: 1px solid var(--line); }
  .ethos li::before { margin-bottom: .6rem; }
  .toc-grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .book-lg { max-width: 16rem; order: -1; }
  .feature { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); }
  .tool-out { min-height: 0; }
  .result-empty { margin: 0; }
}
@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .head-row { min-height: 0; }
  .nav { width: 100%; justify-content: space-between; gap: .25rem .9rem; font-size: .9rem; }
  .tool-nav-wrap { top: 6.4rem; }
  .tool { scroll-margin-top: -1rem; }
  html { scroll-padding-top: 9rem; }
  .feature { grid-template-columns: 1fr; }
  .feature .book { max-width: 13rem; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem 1rem; }
  .facts b { font-size: 2.1rem; }
  .tool-index { grid-template-columns: 1fr; }
  .tool-index li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
  .tool-index a, .tool-index li:first-child a, .tool-index li:nth-child(4) a { padding: 1.1rem 0; }
  .previews { grid-template-columns: 1fr 1fr; }
  .previews figure:nth-child(3) { display: none; }
  .panel { padding: 1.25rem; }
  .panel-head { flex-direction: column; gap: .15rem; }
  .big-num { font-size: 2.9rem; }
  .panel-pace li { grid-template-columns: 6.2rem minmax(0, 1fr) 2.6rem; }
  .field-row, .pace-days { grid-template-columns: 1fr; }
  .plan-line { grid-template-columns: minmax(0, 1fr) 6.5rem 3rem; }
  .radios { display: flex; }
  .radios label { flex: 1 1 auto; justify-content: center; }
  .plan-legend { grid-template-columns: 1fr; }
  #ask-inline .ask-panel { height: 78vh; }
  .ask-sheet { top: 0; inset-inline-end: 0; bottom: 0; width: 100vw; border-radius: 0; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .goal-svg .path { stroke-dashoffset: 0; }
}

/* ---------- phones: compact two-row header, 44px tap targets ---------- */
@media (max-width: 40rem) {
  .head-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding-top: .45rem; padding-bottom: 0; }
  .wordmark { grid-column: 1 / 3; grid-row: 1; align-self: center; justify-self: start; display: flex; align-items: center; min-height: 44px; }
  .nav { display: contents; }
  .nav .ask-link { grid-column: 2 / 4; grid-row: 1; justify-self: end; min-height: 44px; padding: .5rem 1rem .5rem .85rem; font-size: .9375rem; }
  .nav a:not(.ask-link) { grid-row: 2; display: flex; align-items: center; min-height: 46px; padding: 0; }
  .nav a:nth-child(2) { justify-content: center; }
  .nav a:nth-child(3) { justify-content: flex-end; }
  .tool-nav-wrap { top: var(--head-h, 6.1rem); }
  html { scroll-padding-top: 9.5rem; }
  .tool-nav a { padding: .6rem 1rem; }
  .radios { display: grid; grid-template-columns: 1fr; width: 100%; }
  .radios label { justify-content: flex-start; min-height: 44px; padding: .55rem .9rem; font-size: .9375rem; }
  .site-foot nav { gap: 0; }
  .site-foot nav a { display: flex; align-items: center; min-height: 44px; }
  .ask-starters button, .ask-starters a { min-height: 44px; }
}
@media (max-width: 23rem) {
  .panel-legend { grid-template-columns: 1fr; }
}

/* ---------- phones: editable rows become small cards ---------- */
@media (max-width: 40rem) {
  table.rows, table.rows tbody { display: block; }
  table.rows thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  table.rows tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 3rem; gap: .55rem .6rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  table.rows tr:first-child { padding-top: 0; }
  table.rows td { display: block; padding: 0; }
  table.rows td:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  table.rows td:nth-child(4) { grid-column: 3; grid-row: 1; align-self: end; }
  table.rows td:nth-child(2) { grid-column: 1; grid-row: 2; }
  table.rows td:nth-child(3) { grid-column: 2 / 4; grid-row: 2; }
  table.rows td:not(:last-child)::before { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); margin: 0 0 .3rem; }
  #irregular-form td:nth-child(1)::before { content: "Cost"; content: "Cost" / ""; }
  #irregular-form td:nth-child(2)::before { content: "Amount each time"; content: "Amount each time" / ""; }
  #irregular-form td:nth-child(3)::before { content: "How often"; content: "How often" / ""; }
  #pace-form td:nth-child(1)::before { content: "Category"; content: "Category" / ""; }
  #pace-form td:nth-child(2)::before { content: "Limit"; content: "Limit" / ""; }
  #pace-form td:nth-child(3)::before { content: "Used so far"; content: "Used so far" / ""; }
  .linkish { min-height: 44px; }
}

@media (max-width: 40rem) {
  .plan-line { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) 2.75rem; }
  .plan-line .row-del, table.rows .row-del { width: 2.75rem; height: 2.75rem; }
  table.rows tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 2.75rem; }
  .plan-line.pace-days { grid-template-columns: 1fr; }
}

@media (max-width: 40rem) {
  .pace-list li { grid-template-columns: minmax(0, 1fr) auto; gap: .45rem .75rem; }
  .pace-list .pace-name { grid-column: 1; grid-row: 1; }
  .pace-list .pace-val { grid-column: 2; grid-row: 1; text-align: end; }
  .pace-list .pace-meter { grid-column: 1 / 3; grid-row: 2; }
  .pace-list .pace-left { grid-column: 1 / 3; grid-row: 3; }
}

/* ---------- phone browsers ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, label, summary { -webkit-tap-highlight-color: rgba(36, 84, 63, .12); }
@media (max-width: 40rem) {
  #ask-inline .ask-panel { height: 78vh; height: 78dvh; }
  .ask-sheet { height: 100vh; height: 100dvh; }
}

/* ---------- early readers ---------- */
.dl-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; }
.dl { display: flex; flex-direction: column; gap: .15rem; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; min-height: 44px; }
@media (hover: hover) and (pointer: fine) { .dl:hover { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(36, 84, 63, .08); text-decoration: none; } }
.dl-t { font-weight: 600; }
.dl-m { font-size: .875rem; color: var(--muted); }
.steps-list { padding-inline-start: 1.2rem; }
.steps-list li { margin: 0 0 .55rem; }
.radios-stack { display: flex; }
.fb-form textarea { min-height: 5rem; resize: vertical; }
.fb-form { max-width: 40rem; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fb-status { min-height: 1.5rem; margin: .6rem 0 0; font-weight: 500; }
.fb-status.ok { color: var(--forest); }
.fb-status.warn { color: var(--warn); }

/* ---------- Money OS (Premium) page ---------- */
.pill-label { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--deep); background: var(--brass-2, #D9B56E); padding: .25rem .7rem; border-radius: 999px; margin: 0 0 1rem; }
.mos-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.mos-shot { margin: 0; }
.mos-shot img, .mos-pair img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(18, 41, 31, .35), 0 2px 6px rgba(18, 41, 31, .06); background: var(--white); }
.mos-shot img { max-height: 34rem; object-fit: cover; object-position: top; }
.mos-features { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem; }
.feature-grid { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.feature-grid li { background: var(--paper); padding: 1.25rem 1.25rem 1.4rem; }
.feature-grid h3 { font-size: 1.1rem; margin: 0 0 .45rem; }
.feature-grid p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.mos-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2rem); padding: clamp(2rem, 5vw, 3.5rem) 0 1rem; }
.mos-pair figure { margin: 0; }
.mos-pair img { max-height: 36rem; object-fit: cover; object-position: top; }
.mos-pair figcaption { font-size: .9rem; color: var(--muted); margin-top: .7rem; }
.access-row { border-top: 1px solid var(--line); margin-top: 2rem; }
.access-form { max-width: 26rem; }
.access-form input { text-transform: uppercase; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
@media (max-width: 64rem) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 48rem) { .mos-hero-grid { grid-template-columns: 1fr; } .mos-shot img { max-height: 26rem; } }
@media (max-width: 40rem) {
  .feature-grid { grid-template-columns: 1fr; }
  .mos-pair { grid-template-columns: 1fr; }
  .head-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wordmark { grid-column: 1 / 3; }
  .nav .ask-link { grid-column: 3 / 5; }
  .nav a:not(.ask-link) { font-size: .9rem; }
  .nav a:nth-child(2), .nav a:nth-child(3) { justify-content: center; }
  .nav a:nth-child(4) { justify-content: flex-end; }
}
@media (max-width: 23rem) { .nav a:not(.ask-link) { font-size: .82rem; } }

/* ---------- home: Money OS band ---------- */
.band-deep { background: var(--deep); color: var(--ivory); }
.band-deep h2 { color: var(--ivory); }
.band-deep p { color: rgba(246, 245, 239, .82); }
.band-deep .small { color: rgba(246, 245, 239, .65); }
.mos-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.mos-band .mos-shot img { max-height: 26rem; border-color: rgba(255, 255, 255, .12); }
.btn-light { background: var(--ivory); color: var(--deep); border-color: var(--ivory); }
@media (hover: hover) and (pointer: fine) { .btn-light:hover { background: var(--white); color: var(--deep); border-color: var(--white); } }
@media (max-width: 48rem) { .mos-band { grid-template-columns: 1fr; } .mos-band .mos-shot img { max-height: 22rem; } }
section.block.band-deep { padding-bottom: clamp(4rem, 8vw, 7rem); margin-top: clamp(4rem, 8vw, 7rem); }
.band-deep + section.block { padding-top: clamp(4rem, 8vw, 7rem); }

/* ---------- the KORVO list ---------- */
.join-hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 0%, #1F4A37 0%, var(--deep) 55%, #0E2018 100%); color: var(--ivory); padding: clamp(3rem, 8vw, 6rem) 0; }
.join-hero::after { content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 181, 110, .14), transparent 65%); pointer-events: none; }
.join-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.join-copy h1 { color: var(--ivory); font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.02; letter-spacing: -.02em; margin: .9rem 0 1rem; }
.join-copy .lead { color: rgba(246, 245, 239, .82); max-width: 32rem; }
.join-hero .pill-label { background: rgba(217, 181, 110, .16); color: var(--brass-2); border: 1px solid rgba(217, 181, 110, .35); }
.join-perks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; max-width: 30rem; }
.join-perks li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .8rem; align-items: start; }
.join-perks strong { display: block; color: var(--ivory); font-weight: 600; margin-bottom: .15rem; }
.join-perks span { color: rgba(246, 245, 239, .7); font-size: .95rem; line-height: 1.5; }
.perk-mark { width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid rgba(217, 181, 110, .55); position: relative; margin-top: .1rem; }
.perk-mark::after { content: ""; position: absolute; inset: .45rem; border-radius: 50%; background: var(--brass-2); }

.join-card { position: relative; }
.join-card-in { background: var(--ivory); color: var(--ink); border-radius: 24px; padding: clamp(1.4rem, 3.5vw, 2.1rem); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 30px 60px -28px rgba(0, 0, 0, .55), 0 0 0 1px rgba(217, 181, 110, .25); animation: join-rise .7s var(--ease) both; }
@keyframes join-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.join-fine { text-align: center; color: rgba(246, 245, 239, .6); font-size: .85rem; margin: 1rem 0 0; }
.join-google { display: grid; justify-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.gbtn { min-height: 44px; }
.join-or { display: flex; align-items: center; gap: .8rem; width: 100%; margin: 0; color: var(--muted); font-size: .82rem; }
.join-or::before, .join-or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.join-fields { display: grid; grid-template-columns: 1fr; gap: 0; }
.join-form .field { margin-bottom: .9rem; }
.join-form .field label { font-size: .88rem; font-weight: 600; }
.join-form input[type=email], .join-form input:not([type]) { min-height: 3.2rem; border-radius: 12px; background: var(--white); transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.join-form input[type=email]:focus-visible, .join-form input:not([type]):focus-visible { transform: translateY(-1px); }
.join-form .check { display: grid; grid-template-columns: 1.35rem 1fr; gap: .7rem; align-items: start; margin: .3rem 0 1.2rem; font-size: .9rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; position: relative; }
.join-form .check input { position: absolute; inset-inline-start: 0; top: .1rem; z-index: 2; opacity: 0; width: 1.35rem; height: 1.35rem; margin: 0; cursor: pointer; }
.join-form .check .box { width: 1.35rem; height: 1.35rem; border-radius: 6px; border: 1.5px solid var(--line-2); background: var(--white); margin-top: .1rem; transition: background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease); position: relative; }
.join-form .check .box::after { content: ""; position: absolute; inset-inline-start: .42rem; top: .18rem; width: .32rem; height: .65rem; border: solid var(--ivory); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .2s var(--ease); }
.join-form .check input:checked + .box { background: var(--forest); border-color: var(--forest); }
.join-form .check input:checked + .box::after { transform: rotate(45deg) scale(1); }
.join-form .check input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(36, 84, 63, .18); border-color: var(--forest); }
.join-form .check input[aria-invalid="true"] + .box { border-color: var(--warn); box-shadow: 0 0 0 4px rgba(122, 83, 0, .12); }
.join-btn { width: 100%; justify-content: center; min-height: 3.3rem; font-size: 1.02rem; background: linear-gradient(180deg, #2B6249, var(--forest)); box-shadow: 0 10px 22px -12px rgba(36, 84, 63, .9); transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s; }
@media (hover: hover) and (pointer: fine) { .join-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(36, 84, 63, .95); filter: brightness(1.05); } }
.join-btn:active { transform: translateY(0); }
.join-btn[disabled] { opacity: .7; cursor: progress; }
.join-done { text-align: center; padding: 1.2rem .4rem .6rem; animation: join-rise .5s var(--ease) both; }
.join-done:focus { outline: none; }
.join-done h3 { font-size: 1.6rem; margin: .8rem 0 .4rem; }
.join-done p { color: var(--ink-2); margin: 0 auto; max-width: 24rem; }
.tick svg { width: 64px; height: 64px; }
.tick circle { fill: none; stroke: var(--forest); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: tick-draw .6s var(--ease) forwards; }
.tick path { fill: none; stroke: var(--forest); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; animation: tick-draw .35s .45s var(--ease) forwards; }
@keyframes tick-draw { to { stroke-dashoffset: 0; } }
.join-google[hidden], .join-done[hidden], .join-form[hidden] { display: none; }
.join-form .hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join-leave details { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.join-leave summary { cursor: pointer; color: var(--muted); font-size: .95rem; }
.join-leave .leave { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem; align-items: end; max-width: 34rem; }
.join-leave .leave .fb-status { grid-column: 1 / -1; }

.join-band { padding-block: 1.5rem 3rem; }
.join-strip { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 1.4rem 2.4rem; flex-wrap: wrap; border-radius: 24px; padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.4rem, 4vw, 3rem); background: radial-gradient(120% 140% at 100% 0%, #1F4A37 0%, var(--deep) 60%); color: var(--ivory); box-shadow: 0 30px 60px -36px rgba(18, 41, 31, .7); }
.join-strip::after { content: ""; position: absolute; inset-inline-end: -6rem; bottom: -9rem; width: 22rem; height: 22rem; border-radius: 50%; background: radial-gradient(circle, rgba(217, 181, 110, .18), transparent 65%); pointer-events: none; }
.join-strip > * { position: relative; z-index: 1; }
.join-strip h2 { color: var(--ivory); margin: .7rem 0 .4rem; font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.join-strip p { margin: 0; color: rgba(246, 245, 239, .78); }
.join-strip .pill-label { background: rgba(217, 181, 110, .16); color: var(--brass-2); border: 1px solid rgba(217, 181, 110, .35); }
.join-cta { min-height: 3.2rem; padding-inline: 1.8rem; transition: transform .2s var(--ease); } @media (hover: hover) and (pointer: fine) { .join-cta:hover { transform: translateY(-1px); } }
@media (max-width: 52rem) { .join-grid { grid-template-columns: 1fr; } .join-perks { margin-top: 1.4rem; } }
@media (max-width: 40rem) { .join-leave .leave { grid-template-columns: 1fr; } .join-cta { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .join-card-in, .join-done { animation: none; } .tick circle, .tick path { animation: none; stroke-dashoffset: 0; } .join-btn, .join-cta, .join-form input { transition: none; } }
.block.join-leave { padding-block: 1.6rem 2.4rem; }

/* ---------- dark mode: follows the device setting ---------- */
/* Sign-up form right on the home page */
.join-strip-form { align-items: center; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); }
.join-strip-form .join-card { width: 100%; }
.join-strip-form .join-fine { color: rgba(246, 245, 239, .7); }
.join-more a { color: var(--brass-2); }
@media (max-width: 52rem) { .join-strip-form { grid-template-columns: 1fr; } }
/* Inside the dark band, text in the light card keeps the card's own colours */
.join-strip .join-card-in p { color: var(--muted); margin: 0; }
.join-strip .join-card-in .fb-status { color: var(--ink); margin-top: .6rem; }
.join-strip .join-card-in .fb-status.ok { color: var(--forest); }
.join-strip .join-card-in .fb-status.warn { color: var(--warn); }
/* Google's own button sits in a light frame: match it so no white box shows in dark mode */
.gbtn { color-scheme: light; }

/* The card after Google's sign-in pop-up */
.join-pop { position: fixed; z-index: 60; inset-inline-end: 1.25rem; bottom: 1.25rem; width: min(24rem, calc(100vw - 2rem)); padding: 1.4rem 1.4rem 1.1rem;
  background: var(--ivory, #F6F5EF); color: var(--ink); border: 1px solid var(--line-2); border-radius: 1.25rem;
  box-shadow: 0 24px 60px -20px rgba(10, 30, 20, .45); opacity: 0; transform: translateY(12px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.join-pop.in { opacity: 1; transform: none; }
.join-pop h2 { font-size: 1.45rem; margin: 0 2rem .35rem 0; }
.join-pop-who { color: var(--ink-2); margin: 0 0 1rem; overflow-wrap: anywhere; }
.join-pop-check { display: grid; grid-template-columns: 1.3rem 1fr; gap: .7rem; align-items: start; font-size: .92rem; color: var(--ink-2); margin-bottom: 1rem; cursor: pointer; }
.join-pop-check input { width: 1.25rem; height: 1.25rem; margin: .1rem 0 0; accent-color: var(--forest); }
.join-pop-check input[aria-invalid="true"] { outline: 2px solid var(--warn); outline-offset: 2px; }
.join-pop-go { width: 100%; justify-content: center; text-align: center; }
.join-pop .fb-status { margin: .5rem 0 0; min-height: 1.2rem; font-size: .9rem; }
.join-pop-later { display: block; margin: .3rem auto 0; background: none; border: 0; color: var(--muted); font: inherit; font-size: .9rem; padding: .5rem 1rem; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .join-pop-later:hover { color: var(--ink); } }
.join-pop-x { position: absolute; top: .7rem; inset-inline-end: .8rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 0; background: transparent; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .join-pop-x:hover { background: rgba(0, 0, 0, .06); color: var(--ink); } }
.join-pop-fine { font-size: .8rem; color: var(--muted); text-align: center; margin: .2rem 0 0; }
.join-pop-fine a { color: inherit; }
@media (max-width: 34rem) { .join-pop { inset-inline-end: 1rem; inset-inline-start: 1rem; bottom: 1rem; width: auto; } }
@media (prefers-reduced-motion: reduce) { .join-pop { transition: none; transform: none; } }
/* While a translation loads, keep the page hidden (at most 1.5 s), so English never flashes first */
html.i18n-wait body { visibility: hidden; }

/* ---------- language picker (header) ---------- */
.lang-pick { font: inherit; font-size: .85rem; font-weight: 500; color: var(--ink-2); background-color: transparent; border: 1px solid var(--line-2); border-radius: 999px;
  min-height: 36px; padding: 0 1.8rem 0 .85rem; cursor: pointer; appearance: none; -webkit-appearance: none; margin-inline-end: auto; max-width: 9rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235A615D' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: .6rem; background-position: right .75rem center; }
[dir="rtl"] .lang-pick { padding: 0 .85rem 0 1.8rem; background-position: left .75rem center; }
@media (hover: hover) and (pointer: fine) { .lang-pick:hover { border-color: var(--ink-2); } }
.lang-pick:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
@media (max-width: 40rem) {
  .wordmark { grid-column: 1; }
  .lang-pick { grid-column: 2; grid-row: 1; justify-self: center; align-self: center; margin: 0; min-height: 40px; max-width: 100%; font-size: .85rem; }
  .nav .ask-link { grid-column: 3; }
}
@media (max-width: 40rem) {
  .nav .ask-link { white-space: nowrap; padding-inline: .8rem; }
  .lang-pick { max-width: 6.8rem; padding-inline-start: .7rem; font-size: .8rem; }
  .nav a:not(.ask-link) { white-space: nowrap; font-size: .875rem; }
}
/* phones: the picker becomes a globe button (the list of languages still opens in full) */
@media (max-width: 40rem) {
  .lang-pick, [dir="rtl"] .lang-pick { width: 40px; max-width: 40px; min-height: 40px; padding: 0; color: transparent; text-indent: -999px; overflow: hidden; border-radius: 50%; justify-self: end; margin-inline-end: .5rem;
    background-position: center; background-size: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A413D' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9M12 3c-2.5 2.6-3.8 5.6-3.8 9s1.3 6.4 3.8 9'/%3E%3C/svg%3E"); }
  .lang-pick option { color: #1C211F; text-indent: 0; }
  .lang-pick { grid-column: 2; }
}
@media (max-width: 40rem) { .lang-pick, [dir="rtl"] .lang-pick { justify-self: start; margin: 0; } }
@media (min-width: 40.01rem) {
  .wordmark { margin-inline-end: auto; }
  .lang-pick { order: 3; margin-inline-end: 0; max-width: 7.5rem; }
}
@media (min-width: 40.01rem) and (max-width: 64rem) {
  /* tablets: globe button, so the menu stays on one line */
  .lang-pick, [dir="rtl"] .lang-pick { width: 40px; max-width: 40px; min-height: 40px; padding: 0; color: transparent; text-indent: -999px; overflow: hidden; border-radius: 50%;
    background-position: center; background-size: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A413D' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9M12 3c-2.5 2.6-3.8 5.6-3.8 9s1.3 6.4 3.8 9'/%3E%3C/svg%3E"); }
  .lang-pick option { color: #1C211F; text-indent: 0; }
}
@media (max-width: 40rem) { .lang-pick, [dir="rtl"] .lang-pick { margin-inline-start: .35rem; } }

/* Ask KORVO: a round button at the bottom, on every page */
.ask-fab { position: fixed; left: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 45; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--deep); color: var(--brass-2); font-family: var(--serif); font-size: 1.6rem; display: grid; place-items: center;
  box-shadow: 0 10px 28px -8px rgba(18, 41, 31, .55), 0 0 0 3px rgba(217, 181, 110, .35); }
.ask-fab:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .ask-fab:hover { background: var(--forest); } }
.mos-band-text { grid-template-columns: 1fr !important; max-width: 40rem; }
.hero-shot img { max-height: 30rem; max-width: 22rem; margin-inline: auto; }
@media (max-width: 48rem) { .hero-shot img { max-height: 24rem; } }

/* =====================================================================
   KORVO v2: "payday to payday". Same palette, bolder layout.
   Deep-forest bands with ivory type, one brass number that matters,
   cards with generous radius, and the pay-period line as the signature.
   ===================================================================== */
:root { --r2: 22px; --glow: radial-gradient(90% 120% at 100% 0%, rgba(217, 181, 110, .16) 0%, rgba(217, 181, 110, 0) 55%), radial-gradient(70% 90% at 0% 100%, rgba(47, 106, 80, .55) 0%, rgba(47, 106, 80, 0) 60%); }
h1, h2, h3 { font-weight: 500; }

/* header */
.site-head { background: rgba(246, 245, 239, .9); }
.head-row { gap: .75rem 1.75rem; }
.head-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1.1rem; border-radius: 999px; background: var(--deep); color: var(--ivory); text-decoration: none; font-size: .9rem; font-weight: 600; order: 4; white-space: nowrap; transition: background .2s; }
@media (hover: hover) and (pointer: fine) { .head-cta:hover { background: var(--forest); color: #fff; } }
@media (min-width: 40.01rem) { .nav { order: 2; } .lang-pick { order: 3; } }
@media (max-width: 40rem) {
  .head-row { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: .5rem; padding-bottom: .1rem; }
  .wordmark { grid-column: 1; grid-row: 1; }
  .lang-pick, [dir="rtl"] .lang-pick { grid-column: 2; grid-row: 1; justify-self: end; margin: 0; }
  .head-cta { grid-column: 3; grid-row: 1; min-height: 40px; padding: 0 .9rem; font-size: .85rem; }
  .nav { display: flex; grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: .5rem; width: 100%; }
  .nav a, .nav a:not(.ask-link) { grid-row: auto; min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; font-size: .875rem; }
}

/* buttons */
.btn-gold { background: var(--brass-2); color: var(--deep); border: 1px solid var(--brass-2); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .btn-gold:hover { background: #E6C687; border-color: #E6C687; color: var(--deep); text-decoration: none; } }
.btn-line { font: inherit; font-size: .975rem; font-weight: 500; line-height: 1.2; border-radius: 999px; padding: .85rem 1.4rem; cursor: pointer; display: inline-flex; align-items: center; background: transparent; color: var(--ivory); border: 1px solid rgba(246, 245, 239, .35); transition: border-color .2s, background .2s; }
@media (hover: hover) and (pointer: fine) { .btn-line:hover { border-color: var(--ivory); background: rgba(246, 245, 239, .06); } }
.btn, .btn-ghost, .btn-gold, .btn-line { min-height: 48px; }

/* home hero */
.hero2 { position: relative; background: var(--deep); background-image: var(--glow); color: var(--ivory); padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; }
.hero2-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero2 h1 { color: var(--ivory); font-size: clamp(2.7rem, 7vw, 5.4rem); line-height: .98; letter-spacing: -.035em; max-width: 11ch; margin-bottom: 1.4rem; }
.hero2 .lead { color: #C9D7CE; max-width: 30rem; }
.hero2 .actions { margin-top: 2.2rem; }
.hero2 :focus-visible { outline-color: var(--brass-2); }
.hero2-copy > * { animation: rise .8s var(--ease) both; } .hero2-copy .lead { animation-delay: .08s; } .hero2-copy .actions { animation-delay: .16s; }

/* the daily number: the one live thing on the page */
.daily { background: var(--ivory); color: var(--ink); border-radius: var(--r2); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(217, 181, 110, .35); animation: rise .9s .2s var(--ease) both; }
.daily-h { font-family: var(--serif); font-size: 1.35rem; margin: 0 0 1rem; color: var(--deep); }
.daily .field { margin: 0 0 .75rem; }
.daily label { display: flex; justify-content: space-between; gap: .5rem; font-size: .875rem; font-weight: 500; color: var(--ink-2); margin-bottom: .3rem; }
.daily .hint { font-weight: 400; color: var(--muted); }
.daily input { width: 100%; font: inherit; font-size: 1.15rem; min-height: 48px; padding: .55rem .85rem; border: 1px solid var(--line-2); border-radius: 12px; background: var(--white); color: var(--ink); }
.daily input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(36, 84, 63, .15); }
.daily-out { display: flex; flex-direction: column; align-items: flex-start; margin-top: 1.1rem; padding: 1rem 1.1rem; border-radius: 16px; background: var(--deep); color: var(--ivory); }
.daily-k { font-size: .9rem; color: #C9D7CE; }
.daily-v { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 3.4rem); line-height: 1.05; color: var(--brass-2); letter-spacing: -.02em; transition: transform .25s var(--ease); }
.daily.is-set .daily-v { transform: scale(1.02); }
.daily.is-low .daily-v { color: #F0A58C; }
.daily-note { font-size: .85rem; color: var(--muted); margin: .75rem 0 0; min-height: 1.3em; }

/* signature: payday (filled) to next payday (open) */
.payline { position: absolute; inset-inline: 0; bottom: 1.6rem; height: 12px; pointer-events: none; }
.payline span { position: absolute; inset-inline: clamp(1.25rem, 4vw, 2.5rem); top: 5px; height: 2px; background: linear-gradient(90deg, var(--brass-2) 0 58%, rgba(217, 181, 110, .25) 58% 100%); }
.payline span::before, .payline span::after { content: ""; position: absolute; top: -5px; width: 12px; height: 12px; border-radius: 50%; }
.payline span::before { inset-inline-start: -6px; background: var(--brass-2); }
.payline span::after { inset-inline-end: -6px; border: 2px solid rgba(217, 181, 110, .5); background: var(--deep); }

/* trust strip */
.trust { border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-list { list-style: none; margin: 0; padding: 1.1rem 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem 1.5rem; }
.trust-list li { display: flex; align-items: center; gap: .6rem; font-size: .95rem; font-weight: 500; color: var(--ink-2); }
.trust-list svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--forest); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* sections */
.sec { padding: clamp(4rem, 9vw, 7rem) 0; }
.sec:not(.sec-deep):not(.sec-paper):not(.join-band) + .sec:not(.sec-deep):not(.sec-paper):not(.join-band) { padding-top: 0; }
.daily input { text-align: start; }
.sec-deep { background: var(--deep); background-image: var(--glow); color: var(--ivory); }
.sec-deep h2, .sec-deep h3 { color: var(--ivory); }
.sec-deep p { color: #C9D7CE; }
.sec-deep .soft { color: #93A99C; }
.sec-deep :focus-visible { outline-color: var(--brass-2); }
.sec-paper { background: var(--paper); border-block: 1px solid var(--line); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .5rem 3rem; margin-bottom: 2.5rem; }
.sec-head h2 { margin: 0; max-width: 18ch; }
.sec-head p { margin: 0; color: var(--ink-2); max-width: 26rem; }
.kicker { font-size: .875rem; font-weight: 600; color: var(--brass); margin: 0 0 .8rem; }
.sec-deep .kicker { color: var(--brass-2); }
.soft { color: var(--muted); }
.more-link { margin: 1.5rem 0 0; font-weight: 500; }

/* steps: a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; position: relative; }
.steps::before { content: ""; position: absolute; top: 2.15rem; inset-inline: 3rem; height: 2px; background: repeating-linear-gradient(90deg, var(--mint) 0 8px, transparent 8px 14px); }
.steps li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r2); padding: 1.4rem 1.5rem 1.6rem; box-shadow: var(--shadow); }
.step-n { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--deep); color: var(--brass-2); font-family: var(--serif); font-size: 1.4rem; margin-bottom: 1.1rem; position: relative; }
.steps h3 { font-size: 1.6rem; color: var(--forest); }
.steps p { margin: 0; color: var(--ink-2); }

/* Money OS showcase */
.show-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.phone { margin: 0; justify-self: center; width: min(100%, 21rem); padding: 10px; border-radius: 40px; background: #0A1712; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(246, 245, 239, .12); }
.phone img { border-radius: 30px; width: 100%; }
.points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.points li { padding: 1.1rem 1.25rem; border-radius: 16px; background: rgba(246, 245, 239, .05); border: 1px solid var(--deep-line); }
.points h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin: 0 0 .25rem; color: var(--brass-2); }
.points p { margin: 0; font-size: .975rem; }
.sec-deep .lead-sm { color: #C9D7CE; }

/* tools as cards */
.tool-index { border-top: 0; gap: 1rem; }
.tool-index li + li { border-inline-start: 0; }
.tool-index li { display: flex; }
.tool-index a, .tool-index li:first-child a { width: 100%; padding: 1.3rem 1.25rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); transition: transform .25s var(--ease), border-color .25s; }
@media (hover: hover) and (pointer: fine) { .tool-index a:hover { background: var(--white); transform: translateY(-3px); border-color: var(--sage); } }
.ti-n { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--pale); color: var(--forest); font-weight: 600; font-size: .85rem; margin-bottom: .4rem; }

/* guide */
.book-grid { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem clamp(2rem, 6vw, 5rem); align-items: start; }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-family: var(--serif); font-size: 1.25rem; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--pale); color: var(--forest); font-family: var(--sans); font-size: 1.2rem; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.3rem; color: var(--ink-2); max-width: 36rem; }

/* every other page opens with a deep band */
.hero.hero-short, .hero.hero-deep { background: var(--deep); background-image: var(--glow); color: var(--ivory); padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.hero-short h1, .hero-deep h1 { color: var(--ivory); max-width: 16ch; }
.hero-short .lead, .hero-deep .lead { color: #C9D7CE; }
.hero-short .small, .hero-deep .small { color: #93A99C; }
.hero-short a:not(.btn):not(.btn-gold), .hero-deep a:not(.btn):not(.btn-gold) { color: var(--brass-2); }
.hero-short .btn-ghost, .hero-deep .btn-ghost { color: var(--ivory); border-color: rgba(246, 245, 239, .35); }
.hero-short .btn, .hero-deep .btn { background: var(--brass-2); border-color: var(--brass-2); color: var(--deep); font-weight: 600; }
.hero-short :focus-visible, .hero-deep :focus-visible { outline-color: var(--brass-2); }
.hero-deep .status, .hero-short .pill-label { background: rgba(246, 245, 239, .08); color: var(--brass-2); }
.hero-deep .facts li, .hero-deep .facts b { color: var(--ivory); }
.hero-deep .facts { border-color: var(--deep-line); }
.hero-deep .book-lg .cover { box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8); }
.mos-hero .mos-shot img { border-radius: 26px; border: 8px solid #0A1712; }
.mos-pair img { border-radius: 26px; }
.feature-grid li { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem 1.4rem; box-shadow: var(--shadow); }

/* footer */
.site-foot { background: var(--deep); background-image: var(--glow); }
.foot-big { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; color: var(--ivory); margin: .8rem 0 1.4rem !important; max-width: 14ch; }

@media (max-width: 56rem) {
  .hero2-grid, .show-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero2 h1 { max-width: 13ch; }
  .steps { grid-template-columns: 1fr; } .steps::before { display: none; }
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .show-grid .phone { order: 2; width: min(100%, 18rem); }
}
@media (max-width: 40rem) {
  .book-grid { grid-template-columns: 1fr; } .book-grid .book { max-width: 12rem; }
  .trust-list li { font-size: .875rem; }
  .payline { bottom: 1rem; }
  .tool-index a, .tool-index li:first-child a { padding: 1.1rem 1.1rem 1.2rem; }
  .sec-head { margin-bottom: 1.75rem; }
}
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 1rem !important; background: none !important; border: 0 !important; }
@media (max-width: 56rem) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 40rem) { .feature-grid { grid-template-columns: 1fr !important; } }

/* ================= v3: premium editorial homepage (Nov 2026) ================= */
.h3 { position: relative; overflow: hidden; background: var(--deep); color: var(--ivory); padding: clamp(3rem, 7vw, 6rem) 0 0; }
.h3::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 106, 80, .55), rgba(18, 41, 31, 0)); pointer-events: none; }
.h3::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(217, 181, 110, .5), transparent); }
.h3-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }
.h3-copy { padding-bottom: clamp(3rem, 7vw, 6rem); }
.h3 h1 { font-family: var(--serif); font-weight: 400; color: var(--ivory); font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 1.5rem; max-width: 12ch; }
.h3 h1 em { display: block; font-style: italic; color: var(--brass-2); }
.h3 .lead { color: #C9D7CE; max-width: 31rem; font-size: 1.15rem; }
.h3 .actions { margin-top: 2rem; }
.h3 :focus-visible { outline-color: var(--brass-2); }
.h3-proof { list-style: none; padding: 0; margin: 2.4rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; color: #C9D7CE; font-size: .92rem; }
.h3-proof li { display: inline-flex; align-items: center; gap: .5rem; }
.h3-proof svg { width: 18px; height: 18px; fill: none; stroke: var(--brass-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.h3-copy > * { animation: rise .9s var(--ease) both; } .h3-copy > :nth-child(2) { animation-delay: .08s; } .h3-copy > :nth-child(3) { animation-delay: .16s; } .h3-copy > :nth-child(4) { animation-delay: .24s; }
.h3-stage { position: relative; height: clamp(26rem, 46vw, 36rem); }
.ph { margin: 0; border-radius: 34px; padding: 9px; background: #0B1712; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 90px -40px rgba(0, 0, 0, .8); }
.ph img { border-radius: 26px; width: 100%; }
.h3-stage .ph { position: absolute; bottom: -2.5rem; width: min(19rem, 62%); }
.ph-front { right: 4%; z-index: 2; animation: floatin 1.1s var(--ease) .15s both; }
.ph-back { right: 44%; transform: rotate(-6deg) scale(.9); transform-origin: bottom right; opacity: .55; filter: saturate(.7); animation: floatin2 1.1s var(--ease) .3s both; }
@keyframes floatin { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes floatin2 { from { opacity: 0; transform: rotate(-2deg) scale(.9) translateY(60px); } to { opacity: .55; transform: rotate(-6deg) scale(.9); } }

.num-band { background: var(--paper); border-bottom: 1px solid var(--line); }
.num-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.num-copy h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.02em; max-width: 14ch; }
.num-band .daily { box-shadow: var(--shadow), 0 0 0 1px var(--line); animation: none; }

.film-sec { padding: clamp(4rem, 8vw, 7rem) 0; }
.film-grid { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.film { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 9 / 16; background: #0B1712; box-shadow: 0 0 0 1px rgba(217, 181, 110, .3), 0 50px 90px -40px rgba(0, 0, 0, .85); }
.film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-copy h2 { color: var(--ivory); font-size: clamp(2.1rem, 4.5vw, 3.4rem); line-height: 1.05; letter-spacing: -.02em; }
.film-copy h2 em { font-style: italic; color: var(--brass-2); }
.film-copy .lead-sm { color: #C9D7CE; }
.steps3 { list-style: none; padding: 0; margin: 2.2rem 0 0; }
.steps3 li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--deep-line); }
.steps3 li:last-child { border-bottom: 1px solid var(--deep-line); }
.s3-n { font-family: var(--serif); font-size: 1.1rem; color: var(--brass-2); padding-top: .15rem; }
.steps3 h3 { color: var(--ivory); font-family: var(--serif); font-weight: 400; font-size: 1.35rem; margin: 0 0 .2rem; }
.steps3 p { color: #C9D7CE; margin: 0; }

.show-sec { padding: clamp(4rem, 8vw, 7rem) 0; }
.sec-head.center, .center { text-align: center; margin-inline: auto; }
.sec-head.center p { margin-inline: auto; }
.actions.center { justify-content: center; }
.showcase { list-style: none; padding: 0; margin: clamp(2rem, 5vw, 3.5rem) 0 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.showcase li { text-align: center; }
.showcase .ph { max-width: 17rem; margin: 0 auto 1.4rem; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 40px 70px -40px rgba(18, 41, 31, .55); transition: transform .5s var(--ease); }
.showcase li:nth-child(2) .ph { transform: translateY(1.5rem); }
@media (hover: hover) and (pointer: fine) { .showcase li:hover .ph { transform: translateY(-.4rem); } .showcase li:nth-child(2):hover .ph { transform: translateY(1.1rem); } }
.showcase h3 { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; margin: .6rem 0 .3rem; }
.showcase li:nth-child(2) h3 { margin-top: 2.1rem; }
.showcase p { color: var(--muted); max-width: 19rem; margin: 0 auto; font-size: .98rem; }

.guide-sec { padding: clamp(4rem, 8vw, 7rem) 0; }
.guide-sec h2 { color: var(--ivory); }
.guide-sec .kicker { color: var(--brass-2); }
.guide-sec .lead-sm, .guide-sec .facts { color: #C9D7CE; }
.guide-sec .facts b { color: var(--ivory); }
.fan { position: relative; display: block; height: clamp(22rem, 38vw, 30rem); max-width: 26rem; width: 100%; justify-self: center; }
.fan-p { position: absolute; left: 50%; top: 50%; width: 62%; border-radius: 4px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7); transition: transform .6s var(--ease); }
.fan-1 { transform: translate(-50%, -50%) rotate(-11deg) translateX(-26%); opacity: .85; }
.fan-2 { transform: translate(-50%, -50%) rotate(7deg) translateX(24%); opacity: .92; }
.fan-3 { transform: translate(-50%, -50%); z-index: 2; }
@media (hover: hover) and (pointer: fine) { .fan:hover .fan-1 { transform: translate(-50%, -50%) rotate(-15deg) translateX(-34%); } .fan:hover .fan-2 { transform: translate(-50%, -50%) rotate(11deg) translateX(32%); } }

.chal-band { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1rem, 3vw, 2.5rem); align-items: center; padding: clamp(1.5rem, 3vw, 2.2rem) clamp(1.5rem, 3vw, 2.5rem); border-radius: 24px; background: var(--brass-soft); color: var(--ink); text-decoration: none; border: 1px solid rgba(169, 130, 58, .3); transition: transform .3s var(--ease), box-shadow .3s; }
@media (hover: hover) and (pointer: fine) { .chal-band:hover { transform: translateY(-2px); box-shadow: var(--shadow); } }
.chal-days { display: grid; grid-template-columns: repeat(7, 1.9rem); gap: .3rem; }
.chal-days i { font-style: normal; display: grid; place-items: center; height: 1.9rem; border-radius: 50%; background: var(--white); font-size: .8rem; font-weight: 600; color: var(--forest); border: 1px solid rgba(169, 130, 58, .35); }
.chal-days i:nth-child(-n+3) { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.chal-copy { display: flex; flex-direction: column; gap: .2rem; }
.chal-t { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.2; }
.chal-d { color: var(--muted); font-size: .98rem; }

/* challenge page */
.h3-short { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.ch-hero { position: relative; text-align: center; }
.ch-hero h1 { margin-inline: auto; max-width: 14ch; }
.ch-hero h1 em { display: inline; }
.ch-hero .lead { margin-inline: auto; }
.ch-prog { display: inline-flex; align-items: baseline; gap: .6rem; margin-top: 1.6rem; padding: .6rem 1.4rem; border-radius: 999px; border: 1px solid rgba(217, 181, 110, .4); }
.ch-num { font-family: var(--serif); font-size: 2.4rem; color: var(--brass-2); line-height: 1; }
.ch-of { color: #C9D7CE; }
.ch-today { text-align: center; margin: 0 0 1.5rem; }
.ch-days { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.ch-day { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 1.3rem 1.3rem 1.1rem; display: flex; flex-direction: column; gap: .5rem; transition: border-color .25s, background .25s, box-shadow .25s; }
.ch-day.is-now { border-color: var(--brass-2); box-shadow: 0 0 0 3px rgba(217, 181, 110, .25); }
.ch-day.is-yes { background: #EEF4F0; border-color: var(--forest); }
.ch-day.is-no { background: #FAF5EE; }
.ch-n { margin: 0; font-family: var(--serif); font-size: 1.35rem; color: var(--deep); }
.ch-day.is-yes .ch-n::after { content: " ✓"; color: var(--forest); }
.ch-tip { margin: 0; color: var(--ink-2); font-size: .98rem; flex: 1; }
.ch-btns { display: flex; gap: .5rem; margin-top: .4rem; }
.ch-btns button { font: inherit; font-size: .9rem; font-weight: 500; min-height: 42px; padding: .45rem 1rem; border-radius: 999px; cursor: pointer; border: 1px solid var(--line-2); background: transparent; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.ch-btns .ch-yes[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.ch-btns .ch-no[aria-pressed="true"] { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.ch-done { margin: 2rem auto 0; text-align: center; padding: 2rem; border-radius: 24px; background: var(--deep); color: var(--ivory); max-width: 34rem; }
.ch-done h2 { color: var(--brass-2); }
.ch-foot { text-align: center; margin-top: 1.5rem; }
.ch-mos { margin: 3rem auto 0; max-width: 40rem; text-align: center; padding-top: 2rem; border-top: 1px solid var(--line); }

@media (max-width: 880px) {
  .h3-grid, .num-grid, .film-grid { grid-template-columns: 1fr; }
  .h3-copy { padding-bottom: 0; }
  .h3-stage { height: 25rem; }
  .h3-stage .ph { width: min(15rem, 56%); }
  .ph-front { right: 8%; } .ph-back { right: 40%; }
  .film { max-width: 18rem; margin: 0 auto; }
  .showcase { grid-template-columns: 1fr; gap: 3rem; }
  .showcase li:nth-child(2) .ph { transform: none; } .showcase li:nth-child(2) h3 { margin-top: .6rem; }
  .chal-band { grid-template-columns: 1fr; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .h3-copy > *, .ph-front, .ph-back { animation: none; } .fan-p, .showcase .ph, .chal-band { transition: none; } }
/* v3 tuning */
.h3 h1 { max-width: 15ch; font-size: clamp(2.5rem, 5.6vw, 4.7rem); }
.h3-grid { align-items: center; }
.h3-stage { height: clamp(27rem, 44vw, 38rem); align-self: end; }
.h3-stage .ph { width: min(21rem, 64%); bottom: -3.5rem; }
.ph-back { right: 40%; }
.sec-head.center { display: block; max-width: 40rem; }
.sec-head.center h2 { margin-bottom: .6rem; }
.num-band { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.h3 h1 em { white-space: nowrap; } .h3 h1 { max-width: none; }
.ch-day.is-locked { opacity: .55; }
.ch-day.is-locked .ch-btns button { cursor: default; }
.num-chal { margin-top: 1.2rem; font-weight: 600; } .num-chal a { color: var(--forest); }
/* Money OS page: four screens */
.mos-screens { padding: clamp(2rem, 5vw, 3.5rem) 0 1rem; }
.mos-screens .showcase { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1.4rem; }
@media (max-width: 60rem) { .mos-screens .showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .mos-screens .showcase { grid-template-columns: 1fr; } }
.mos-screens .showcase li:nth-child(2) .ph { transform: none; } .mos-screens .showcase li:nth-child(2) h3 { margin-top: .6rem; }
@media (hover: hover) and (pointer: fine) { .mos-screens .showcase li:nth-child(2):hover .ph { transform: translateY(-.4rem); } }

/* Money OS plans */
.mos-plans { padding: 3rem 0 1rem; }
.plan-grid { list-style: none; padding: 0; margin: 1.2rem 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.plan { position: relative; border: 1.5px solid var(--line, #d9dcd6); border-radius: 20px; padding: 1.4rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; background: var(--white, #fff); }
.plan.best { border-color: var(--forest, #24543f); box-shadow: 0 0 0 2px var(--forest, #24543f) inset; }
.plan h3 { margin: 0; }
.plan-price { margin: .2rem 0 0; font-size: 1.05rem; } .plan-price b { font-size: 2rem; }
.plan-sub { margin: 0 0 .8rem; flex: 1; }
.plan-tag { position: absolute; top: -.8rem; inset-inline-start: 1.2rem; margin: 0; background: var(--forest, #24543f); color: var(--paper, #fff); font-size: .8rem; font-weight: 700; padding: .2rem .7rem; border-radius: 999px; }
.plan .btn { text-align: center; }

/* ================= Home (Dec 2026): 3D coin hero, statement, sticky phone, book, prices, closing mark =================
   Everything is prefixed hx- so it can't clash with the rest of the site. Motion lives in home.js / home3d.js. */
.hx-track { height: 420vh; position: relative; }
.hx-stage { position: sticky; top: var(--hx-hh, 0px); height: calc(100vh - var(--hx-hh, 0px)); height: calc(100svh - var(--hx-hh, 0px)); overflow: hidden; background: radial-gradient(120% 90% at 50% 45%, #FBF8F1 0%, #F4F0E6 55%, #E6DFCF 100%); }
#hx-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hx-k { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: min(70vw, 34rem); line-height: 1; color: transparent; background: linear-gradient(115deg, #7A5A22 0%, #E9CD8A 22%, #B8914A 38%, #FFF1C9 50%, #B8914A 62%, #6E4F1C 80%, #D9B56E 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; opacity: .22; animation: hx-sheen 7s ease-in-out infinite; pointer-events: none; }
.hx-3d .hx-k { display: none; }
@keyframes hx-sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hx-hl { position: absolute; left: max(1.25rem, calc((100vw - 74rem) / 2 + 2.5rem)); bottom: 12vh; max-width: 36rem; z-index: 2; }
.hx-js .hx-hl { opacity: 0; visibility: hidden; } .hx-js .hx-l1 { opacity: 1; visibility: visible; }
.hx-l2 { left: auto; right: max(1.25rem, calc((100vw - 74rem) / 2 + 2.5rem)); text-align: end; top: 16vh; bottom: auto; }
html:not(.hx-js) .hx-l2 { display: none; } html:not(.hx-js) .hx-l3 { position: static; padding: 0 1.25rem 3rem; }
.hx-eye { margin: 0 0 1rem; font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.hx-hl h1, .hx-big { margin: 0; font-family: var(--sans) !important; font-weight: 600; font-size: clamp(2.9rem, 9vw, 7.2rem); line-height: .9; letter-spacing: -.045em; text-transform: uppercase; color: var(--deep); text-wrap: balance; }
.hx-big em, .hx-hl em, .hx-words em, .hx-step h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.02em; color: var(--brass); }
.hx-sub { margin: 1.2rem 0 1.6rem; color: var(--ink-2); font-size: 1.05rem; line-height: 1.55; max-width: 28rem; }
.hx-prog { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); width: 120px; height: 2px; background: rgba(28, 33, 31, .12); border-radius: 2px; overflow: hidden; z-index: 3; }
.hx-prog i { display: block; height: 100%; width: 0; background: var(--brass); }
@media (max-width: 700px) { .hx-hl { bottom: 6.5rem; right: 1.25rem; } .hx-l2 { top: 1.5rem; } .hx-hl h1, .hx-big { font-size: clamp(2.6rem, 12vw, 3.6rem); } .hx-sub { font-size: .98rem; margin: .9rem 0 1.1rem; } }

.hx-say { background: var(--deep); color: #F4F0E6; padding: 22vh 0; }
.hx-words { margin: 0; font-weight: 600; font-size: clamp(2rem, 6vw, 5.2rem); line-height: 1.02; letter-spacing: -.035em; max-width: 17ch; }
.hx-words em { color: var(--brass-2); }
.hx-js .hx-w { opacity: .14; transition: opacity .5s; } .hx-js .hx-w.on { opacity: 1; }

.hx-show { background: var(--deep); color: #F4F0E6; }
.hx-show-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
.hx-step { min-height: 85vh; display: flex; flex-direction: column; justify-content: center; }
.hx-js .hx-step { opacity: .25; transition: opacity .6s; } .hx-js .hx-step.on { opacity: 1; }
.hx-n { margin: 0 0 1rem; font-size: .8rem; letter-spacing: .26em; text-transform: uppercase; color: var(--brass-2); }
.hx-step h3 { color: #F4F0E6; font-family: var(--sans); margin: 0; font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: .95; letter-spacing: -.035em; text-transform: uppercase; }
.hx-step h3 em { color: var(--brass-2); }
.hx-step p:last-child { margin: 1.2rem 0 0; max-width: 25rem; line-height: 1.6; color: #C9D2CB; }
.hx-phone-col { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; }
.hx-phone { width: 300px; height: 620px; border-radius: 48px; background: #0B1712; padding: 12px; box-shadow: 0 40px 90px rgba(0, 0, 0, .45), inset 0 0 0 1.5px #2B4638; transform: perspective(1200px) rotateY(-8deg) rotateX(4deg); transition: transform .8s var(--ease); }
.hx-screen { width: 100%; height: 100%; border-radius: 38px; background: #F4F0E6; color: #141815; overflow: hidden; position: relative; font-size: .8rem; line-height: 1.4; }
.hx-scr { position: absolute; inset: 0; padding: 3.2rem 1.2rem 1.2rem; opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.hx-scr.on { opacity: 1; transform: none; }
.hx-top { margin: 0 0 1.1rem; text-align: center; font-family: var(--serif); letter-spacing: .3em; font-size: .7rem; text-transform: uppercase; }
.hx-card { background: #1C3A2C; color: #F4F0E6; border-radius: 22px; padding: 1.3rem 1rem; text-align: center; }
.hx-card.hx-left { text-align: start; } .hx-card small { display: block; opacity: .75; font-size: .72rem; }
.hx-card b { display: block; font-size: 2.5rem; letter-spacing: -.03em; margin: .25rem 0; font-variant-numeric: tabular-nums; } .hx-card b.hx-mid { font-size: 1.9rem; }
.hx-btn-a { margin-top: .8rem; background: #D9B56E; color: #12291F; border-radius: 16px; padding: .85rem; text-align: center; font-weight: 600; }
.hx-btn-b { margin-top: .5rem; border: 1.5px solid #1C3A2C; color: #1C3A2C; border-radius: 16px; padding: .7rem; text-align: center; font-weight: 500; }
.hx-row { display: flex; justify-content: space-between; gap: .5rem; padding: .65rem .2rem; border-bottom: 1px solid #E5DFD1; font-variant-numeric: tabular-nums; }
.hx-ans { margin-top: .8rem; background: #E7EFE9; border-inline-start: 4px solid #1C3A2C; border-radius: 14px; padding: .85rem; }
.hx-ans b { display: block; font-size: .9rem; margin-bottom: .2rem; }
.hx-meter { height: 8px; border-radius: 9px; background: #E5DFD1; overflow: hidden; margin: .35rem 0 .2rem; }
.hx-meter i { display: block; height: 100%; background: #1C3A2C; border-radius: 9px; }
.hx-m100 { width: 100%; } .hx-m64 { width: 64%; } .hx-m82 { width: 82%; } .hx-meter i.hx-over { background: #A2412B; } .hx-meter i.hx-gold { background: #B8914A; }
.hx-ex { position: absolute; bottom: .8rem; left: 0; right: 0; margin: 0; text-align: center; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: #5B615C; }
@media (max-width: 860px) {
  .hx-show-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hx-phone-col { position: sticky; top: var(--hx-hh, 0px); height: auto; padding: 1rem 0 2.5rem; z-index: 2; order: -1; background: linear-gradient(var(--deep) 82%, rgba(18, 41, 31, 0)); }
  .hx-phone { width: 210px; height: 434px; border-radius: 36px; padding: 9px; } .hx-screen { border-radius: 28px; font-size: .62rem; }
  .hx-scr { padding: 2.4rem .9rem .9rem; } .hx-card b { font-size: 1.9rem; } .hx-card b.hx-mid { font-size: 1.5rem; }
  .hx-steps { position: relative; z-index: 1; }
  .hx-step { min-height: 70vh; justify-content: flex-end; padding: 1rem 0 4.5rem; }
}

.hx-book { background: var(--deep-2); color: #F4F0E6; padding: 18vh 0; }
.hx-book-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hx-cover { display: block; max-width: 20rem; transform: rotate(-4deg); transition: transform .8s var(--ease); }
.hx-cover img { border-radius: 4px 10px 10px 4px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6); }
@media (hover: hover) and (pointer: fine) { .hx-cover:hover { transform: rotate(0) translateY(-6px); } }
.hx-book .hx-big { color: #F4F0E6; } .hx-book .hx-big em { color: var(--brass-2); }
.hx-lead { margin: 1.4rem 0 2rem; max-width: 30rem; line-height: 1.6; color: #C9D2CB; }
@media (max-width: 760px) { .hx-book-grid { grid-template-columns: minmax(0, 1fr); } .hx-cover { max-width: 13rem; margin: 0 auto; } }

.hx-prices { padding: 18vh 0; }
.hx-plans { list-style: none; margin: 3.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hx-plan a { position: relative; display: flex; flex-direction: column; gap: .15rem; height: 100%; padding: 2rem 1.6rem; border-radius: 24px; background: var(--paper); border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .hx-plan a:hover { transform: translateY(-4px); } }
.hx-best a { background: var(--deep); color: #F4F0E6; border-color: var(--deep); }
.hx-pl { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.hx-pp { font-size: 2.8rem; font-weight: 600; letter-spacing: -.04em; margin-top: .6rem; }
.hx-ps, .hx-pm { opacity: .7; font-size: .95rem; }
.hx-badge { position: absolute; top: 1.4rem; inset-inline-end: 1.4rem; background: var(--brass-2); color: var(--deep); border-radius: 999px; padding: .2rem .7rem; font-size: .75rem; font-weight: 600; }
.hx-note { margin: 1.6rem 0 0; color: var(--muted); }
@media (max-width: 760px) { .hx-plans { grid-template-columns: minmax(0, 1fr); } }

.hx-end { background: var(--deep); color: #F4F0E6; padding: 14vh 0 2rem; overflow: hidden; }
.hx-cta { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; margin-bottom: 10vh; }
.hx-end .hx-big { color: #F4F0E6; font-size: clamp(2.2rem, 5vw, 4rem); } .hx-end .hx-big em { color: var(--brass-2); }
.hx-mark { margin: 0; font-family: var(--serif); font-size: 22vw; line-height: .8; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(244, 240, 230, .3); user-select: none; letter-spacing: -.02em; }

.hx-js .hx-rv { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.hx-js .hx-rv.on { opacity: 1; transform: none; }
/* Dec 2026, white look: light sections, one-screen hero that plays by itself, small phones under each step on
   phones, the product stage (book / Money OS) with tabs, a floating buy bar and back-to-top. Dark mode keeps deep green. */
.hx-track { height: auto; }
.hx-stage { position: relative; top: 0; background: radial-gradient(120% 90% at 50% 45%, #FFFFFF 0%, #FBFAF7 60%, #F1EEE6 100%); }
.hx-say, .hx-show, .hx-end { background: var(--white); color: var(--ink); }
.hx-say { border-top: 1px solid var(--line); }
.hx-words em, .hx-step h3 em, .hx-end .hx-big em { color: var(--brass); }
.hx-n { color: #7A5A22; }
.hx-step h3, .hx-end .hx-big { color: var(--deep); }
.hx-step p:last-child { color: var(--ink-2); }
.hx-phone { box-shadow: 0 30px 70px rgba(20, 24, 21, .18), inset 0 0 0 1.5px #2B4638; }
.hx-end { border-top: 1px solid var(--line); }
.hx-mark { -webkit-text-stroke: 1px rgba(28, 33, 31, .18); }
.hx-prices { background: var(--paper); }
.hx-plan a { background: var(--white); }
.hx-best a { background: var(--brass-soft); color: var(--ink); border: 2px solid var(--brass); }
.hx-step { min-height: 60vh; }
.hx-mini { display: none; }
@media (max-width: 860px) {
  .hx-phone-col { display: none; }
  .hx-js .hx-step, .hx-step { opacity: 1; min-height: 0; padding: 3.5rem 0; justify-content: flex-start; }
  .hx-step + .hx-step { border-top: 1px solid var(--line); }
  .hx-mini { display: block; width: min(250px, 72vw); margin: 2rem auto 0; border-radius: 36px; background: #0B1712; padding: 9px; box-shadow: 0 24px 50px rgba(20, 24, 21, .18); }
  .hx-mscr { position: relative; border-radius: 28px; background: #F4F0E6; color: #141815; padding: 1.6rem 1rem 2.6rem; font-size: .8rem; line-height: 1.4; }
  .hx-mscr .hx-card b { font-size: 2.1rem; } .hx-mscr .hx-card b.hx-mid { font-size: 1.7rem; }
}
/* product stage */
.hx-prod { background: var(--white); padding: 14vh 0; border-top: 1px solid var(--line); }
.hx-prod-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.hx-prod-view { position: relative; aspect-ratio: 1 / 1; max-height: 70vh; width: 100%; border-radius: 32px; background: radial-gradient(80% 70% at 50% 45%, #FFFFFF 0%, #F6F3EC 70%, #EDE8DC 100%); overflow: hidden; }
#hx-gl2 { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
#hx-gl2:active { cursor: grabbing; }
.hx-prod-flat { position: absolute; left: 50%; top: 50%; width: 42%; height: auto; transform: translate(-50%, -50%) rotate(-4deg); border-radius: 4px 10px 10px 4px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }
.hx-3d2 .hx-prod-flat { display: none; }
.hx-prod-tag { position: absolute; bottom: 1rem; left: 0; right: 0; margin: 0; text-align: center; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
html:not(.hx-3d2) .hx-prod-tag { display: none; }
.hx-tabs { display: inline-flex; gap: .25rem; padding: .3rem; border-radius: 999px; background: #EFECE4; margin-bottom: 1.8rem; }
.hx-tabs button { min-height: 44px; padding: 0 1.3rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.hx-tabs button[aria-selected="true"] { background: var(--deep); color: #F4F0E6; }
.hx-tabs button:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.hx-panel .hx-big { color: var(--deep); }
.hx-panel .hx-lead { color: var(--ink-2); }
.hx-panel .btn-line { color: var(--deep); border-color: var(--line-2); }
@media (hover: hover) and (pointer: fine) { .hx-panel .btn-line:hover { border-color: var(--deep); background: rgba(28, 33, 31, .04); } }
.hx-panel .actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
@media (max-width: 760px) {
  .hx-prod { padding: 9vh 0; }
  .hx-prod-grid { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .hx-prod-view { aspect-ratio: 4 / 4.2; }
  .hx-prod-side { text-align: start; }
}
/* floating buy bar and back-to-top */
.hx-bar { position: fixed; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 30; display: flex; align-items: center; gap: .9rem; max-width: calc(100vw - 6.5rem); padding: .45rem .45rem .45rem 1.2rem; border-radius: 999px; background: var(--deep); color: #F4F0E6; box-shadow: 0 18px 44px rgba(0, 0, 0, .25); transform: translate(-50%, 160%); transition: transform .5s var(--ease); }
[dir="rtl"] .hx-bar { padding: .45rem 1.2rem .45rem .45rem; }
.hx-bar.on { transform: translate(-50%, 0); }
.hx-bar span { opacity: .75; font-size: .9rem; white-space: nowrap; }
.hx-bar b { white-space: nowrap; }
.hx-bar a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.2rem; border-radius: 999px; background: var(--brass-2); color: var(--deep); font-weight: 700; text-decoration: none; white-space: nowrap; transition: translate .2s; }
.hx-up { position: fixed; inset-inline-end: 1rem; bottom: max(1.2rem, env(safe-area-inset-bottom)); z-index: 30; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: var(--white); color: var(--deep); box-shadow: 0 10px 30px rgba(0, 0, 0, .14); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .4s, transform .4s var(--ease); }
.hx-up.on { opacity: 1; pointer-events: auto; transform: none; }
.hx-up:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
@media (max-width: 420px) { .hx-bar span { display: none; } }
.hx-mag { transition: translate .2s ease-out; }
@media (prefers-reduced-motion: reduce) { .hx-bar, .hx-up, .hx-mag, .hx-tabs button { transition: none !important; } }
@media (prefers-reduced-motion: reduce) { .hx-k { animation: none; } .hx-phone, .hx-scr, .hx-rv, .hx-step { transition: none !important; } }
/* Browser details in KORVO colours (selection, caret, scrollbars, links, numbers) */
::selection { background: rgba(217, 181, 110, .38); color: inherit; }
input, textarea { caret-color: var(--forest); }
html { scrollbar-color: var(--line-2) transparent; }
a { text-underline-offset: .18em; text-decoration-thickness: from-font; }
.num { font-variant-numeric: tabular-nums; }
html[data-theme=dark] input, html[data-theme=dark] textarea { caret-color: #B9C9BF; }
html[data-theme=dark] { scrollbar-color: #3A4A42 transparent; }

/* Dec 2026: white website. The big green page sections (hero bands, deep sections, footer, join) are white now;
   green stays only on buttons, small cards and the Money OS screens. */
.site-foot, .hero2, .sec-deep, .hero.hero-short, .hero.hero-deep, .h3, .join-hero, .band-deep, .cta-band, .ask-teaser, .join-strip {
  --ivory: var(--ink); --deep-line: var(--line); --glow: none;
  background: var(--white) !important; background-image: none !important; color: var(--ink);
}
.hero2, .sec-deep, .hero.hero-short, .hero.hero-deep, .h3, .band-deep, .join-hero { border-bottom: 1px solid var(--line); }
.cta-band, .ask-teaser, .join-strip { background: var(--paper) !important; border: 1px solid var(--line); }
.site-foot { border-top: 1px solid var(--line); color: var(--muted); }
:is(.site-foot, .hero2, .sec-deep, .hero.hero-short, .hero.hero-deep, .h3, .join-hero, .band-deep, .cta-band, .ask-teaser, .join-strip)
  :is(p, li, small, dd, dt, label, .lead, .sub, .note, .eyebrow, .kicker):not(:is(.btn, .btn-gold, .btn-line, .btn-ghost, .pill, .panel, .daily-out, .tool-out, .join-form, input) *) { color: var(--ink-2); }
:is(.site-foot, .hero2, .sec-deep, .hero.hero-short, .hero.hero-deep, .h3, .join-hero, .band-deep, .cta-band, .ask-teaser, .join-strip)
  :is(h1, h2, h3, h4, strong, b):not(:is(.btn, .btn-gold, .pill, .panel, .daily-out, .tool-out, .join-form) *) { color: var(--ink); }
:is(.site-foot, .hero2, .sec-deep, .hero.hero-short, .hero.hero-deep, .h3, .join-hero, .band-deep, .cta-band, .ask-teaser, .join-strip) :is(h1, h2, h3) em { color: var(--brass); }
.site-foot a:not(.btn):not(.btn-gold) { color: var(--ink-2); }
:is(.site-foot, .hero2, .sec-deep, .hero.hero-short, .hero.hero-deep, .h3, .join-hero, .band-deep, .cta-band, .ask-teaser, .join-strip) :is(.btn-ghost, a:not([class])) { color: #7A5A22; }
:is(.hero2, .sec-deep, .hero.hero-short, .hero.hero-deep, .h3, .join-hero) figcaption { color: var(--muted); }
:is(.hero2, .sec-deep, .hero.hero-short, .hero.hero-deep, .h3, .join-hero) li span { color: var(--ink-2); }
.ch-num { color: var(--brass); } .ch-of { color: var(--muted); }
.join-card-in { background: var(--white) !important; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(18, 41, 31, .25), 0 0 0 1px var(--line) !important; }
.join-form { color: var(--ink); }
.join-form :is(label, span) { color: var(--ink-2); } .join-form .hint { color: var(--muted); }
.join-form input:not([type=checkbox]) { border: 1px solid var(--line-2); }

/* the language picker is an icon on phones; 16px text stops iPhones zooming in when it is tapped */
@media (hover: none), (max-width: 47.99rem) { .lang-pick, [dir="rtl"] .lang-pick { font-size: 16px; } }
/* hero headline (Dec 2026): "Your money, finally going somewhere." */
.hx-hl .hx-main { font-size: clamp(2.5rem, 6.4vw, 5.6rem); line-height: .95; }
.hx-hl .hx-main em { display: inline-block; margin-top: .08em; }
@media (max-width: 700px) { .hx-hl .hx-main { font-size: clamp(2.2rem, 10.5vw, 3rem); } }
/* goal cards on the homepage (proof of "finally going somewhere") */
.hx-goals { background: var(--white); padding: 14vh 0; border-top: 1px solid var(--line); }
.hx-goals-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hx-goals .hx-big { color: var(--deep); font-size: clamp(2.4rem, 6vw, 5rem); }
.hx-goals .hx-big em { color: var(--brass); }
.hx-goals .hx-lead { color: var(--ink-2); max-width: 30rem; margin: 1.4rem 0 1.8rem; }
.hx-goals-shot { margin: 0; justify-self: center; width: min(320px, 80vw); }
.hx-goals-shot img { display: block; width: 100%; height: auto; border-radius: 34px; border: 9px solid #0B1712; box-shadow: 0 34px 70px -24px rgba(18, 41, 31, .4); }
.hx-goals-shot figcaption { text-align: center; color: var(--muted); margin-top: .8rem; }
@media (max-width: 760px) { .hx-goals { padding: 9vh 0; } .hx-goals-grid { grid-template-columns: minmax(0, 1fr); } }
/* trial line on each plan tile */
.hx-trial { display: block; margin-top: 1rem; font-size: .85rem; font-weight: 700; color: var(--forest); }
/* what happens after you pay */
.after-pay { margin: 2.2rem auto 0; max-width: 46rem; padding: 1.4rem 1.6rem; border-radius: 20px; background: var(--white); border: 1px solid var(--line); text-align: start; }
.after-pay h3 { margin: 0 0 .9rem; font-size: 1.05rem; color: var(--ink); }
.after-pay ol { margin: 0; padding: 0; list-style: none; counter-reset: ap; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.after-pay li { counter-increment: ap; position: relative; padding-top: 2.6rem; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.after-pay li::before { content: counter(ap); position: absolute; top: 0; inset-inline-start: 0; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--brass-soft); color: #7A5A22; font-weight: 700; }
.after-pay li b { display: block; color: var(--ink); }
.after-pay a { color: var(--forest); }
@media (max-width: 640px) { .after-pay ol { grid-template-columns: minmax(0, 1fr); } .after-pay li { padding: 0 0 0 2.8rem; } [dir="rtl"] .after-pay li { padding: 0 2.8rem 0 0; } }
/* founder note */
.hx-founder { background: var(--white); padding: 12vh 0; border-top: 1px solid var(--line); }
.hx-founder blockquote { margin: 0 auto; max-width: 44rem; text-align: center; }
.hx-founder blockquote p { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.45; color: var(--ink); margin: 0; }
.hx-founder footer { margin-top: 1.4rem; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: #7A5A22; }
