/* Korah Money Transfer — korah.money
   One idea carries the design: the payout RECEIPT (dotted leaders, paper edge,
   a stamp). Everything else stays quiet so the receipt is what people remember.
   Brand colours come from the app: ink #14233D, gold #E0B563, rust #9C4A2E. */

:root {
  --ink: #14233D;
  --ink-deep: #0E1A2E;
  --ink-soft: #1E3252;
  --paper: #F7F5F0;
  --gold: #E0B563;
  --gold-text: #6B4E1A;
  --rust: #9C4A2E;
  --green: #2F855A;

  --bg: #FFFFFF;
  --bg-soft: #F2F4F8;
  --text: #14233D;
  --muted: #566074;
  --line: #E1E6EE;
  --card: #FFFFFF;
  --focus: #14233D;

  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --radius: 18px;
}

:root[data-theme="dark"] {
  --bg: #0E1A2E;
  --bg-soft: #14233D;
  --text: #F3EFE4;
  --muted: #B9AD90;
  --line: rgba(255, 255, 255, 0.12);
  --card: #1E3252;
  --focus: #E0B563;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.on-ink :focus-visible { outline-color: var(--gold); }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--soft { background: var(--bg-soft); }

h1, h2, h3 { font-family: var(--display); line-height: 1.04; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); }
.head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 46rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #ECC47A; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-soft); }
:root[data-theme="dark"] .section .btn--ink { background: var(--gold); color: var(--ink); }
.btn--line { border-color: currentColor; background: transparent; }

.store { display: inline-flex; align-items: center; gap: .75rem; padding: .6rem 1.15rem .6rem .9rem; border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; border: 1px solid rgba(255,255,255,.4); min-width: 10.5rem; cursor: pointer; transition: transform .15s ease; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 1.7rem; height: 1.7rem; flex: none; }
.store small { display: block; font-size: .68rem; line-height: 1.1; color: #566074; font-weight: 500; }
.store b { display: block; font-family: var(--display); font-size: 1.12rem; line-height: 1.15; }
.store--soon::after { content: "Launching this month"; position: absolute; }
.stores { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- nav ---------- */
.nav { --nav-fg: #14233D; --nav-line: rgba(20,35,61,.3); --nav-hover: rgba(20,35,61,.07); --nav-stuck: rgba(255,255,255,.94); --nav-menu: #FFFFFF; --nav-menu-line: rgba(20,35,61,.1);
  position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); color: var(--nav-fg); transition: background-color .25s ease, box-shadow .25s ease; }
.nav.is-stuck { background: var(--nav-stuck); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--nav-menu-line); }
:root[data-theme="dark"] .nav { --nav-fg: #F3EFE4; --nav-line: rgba(255,255,255,.28); --nav-hover: rgba(255,255,255,.1); --nav-stuck: rgba(14,26,46,.92); --nav-menu: #0E1A2E; --nav-menu-line: rgba(255,255,255,.1); }
.k-on-dark { display: none; }
:root[data-theme="dark"] .k-on-dark { display: block; }
:root[data-theme="dark"] .k-on-light { display: none; }
.nav[data-solid] { background: var(--nav-stuck); }
.nav__row { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.03em; }
.brand img { height: 1.9rem; width: auto; }
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: .98rem; opacity: .86; }
.nav__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav__tools { display: flex; align-items: center; gap: .75rem; }
.icon-btn { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--nav-line); background: transparent; display: grid; place-items: center; cursor: pointer; }
.icon-btn svg { width: 1.2rem; height: 1.2rem; }
.icon-btn:hover { background: var(--nav-hover); }
.nav__menu { display: none; }
.nav .btn { min-height: 2.6rem; padding: .4rem 1.1rem; font-size: .95rem; }

@media (max-width: 860px) {
  .nav__links { display: none; position: absolute; inset: calc(4.5rem + env(safe-area-inset-top, 0px)) 0 auto 0; flex-direction: column; gap: 0; background: var(--nav-menu); padding: .5rem var(--gutter) 1.25rem; margin: 0; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: .9rem 0; border-bottom: 1px solid var(--nav-menu-line); font-size: 1.1rem; }
  .nav__menu { display: grid; }
  .nav__tools { margin-left: auto; }
  .nav .btn--gold { display: none; }
}

/* ---------- hero ---------- */
.on-ink { background: var(--ink-deep); color: #F3EFE4; --muted: #B9AD90; --line: rgba(255,255,255,.14); }
.hero, .band, .footer {
  --h-bg: radial-gradient(70% 60% at 84% 36%, rgba(224,181,99,.34), transparent 70%), radial-gradient(60% 50% at 6% 8%, rgba(224,181,99,.16), transparent 70%), linear-gradient(180deg, #FFFBF1 0%, #F7F5F0 100%);
  --h-fg: #14233D; --h-lede: #3F4A5F; --h-note: #566074; --h-trust: #2B3850; --h-icon: #8A6420;
  --h-store-bg: #14233D; --h-store-fg: #FFFFFF; --h-store-small: #C9D0DE; --h-store-line: transparent;
  --rcpt-shadow: drop-shadow(0 0 1px rgba(20,35,61,.55)) drop-shadow(0 18px 24px rgba(20,35,61,.25));
  --b-bg: #F6F2E6; --final-bg: radial-gradient(60% 90% at 50% 0%, rgba(224,181,99,.4), transparent 70%), #FBF6E6;
  --f-bg: #EFEBDD; --f-line: rgba(20,35,61,.14); --f-head: #14233D; --h-plaque: rgba(138,100,32,.45);
}
.hero {
  position: relative; overflow: hidden; color: var(--h-fg); background: var(--h-bg);
  padding-block: calc(4.5rem + env(safe-area-inset-top, 0px) + clamp(2.5rem, 6vw, 5rem)) clamp(4rem, 8vw, 6.5rem);
}
:root[data-theme="dark"] .hero, :root[data-theme="dark"] .band, :root[data-theme="dark"] .footer {
  --h-bg: radial-gradient(70% 60% at 82% 38%, rgba(224,181,99,.13), transparent 70%), radial-gradient(90% 80% at 12% 0%, #1B3052 0%, var(--ink-deep) 62%);
  --h-fg: #F3EFE4; --h-lede: #CFC6AE; --h-note: #B9AD90; --h-trust: #D9D1BC; --h-icon: var(--gold);
  --h-store-bg: #FFFFFF; --h-store-fg: var(--ink); --h-store-small: #566074; --h-store-line: rgba(255,255,255,.4);
  --rcpt-shadow: drop-shadow(0 22px 28px rgba(0,0,0,.4));
  --b-bg: var(--ink-deep); --final-bg: radial-gradient(60% 90% at 50% 0%, rgba(224,181,99,.12), transparent 70%), var(--ink-deep);
  --f-bg: #0A1322; --f-line: rgba(255,255,255,.1); --f-head: #F3EFE4; --h-plaque: rgba(224,181,99,.5);
}
.band { background: var(--b-bg); color: var(--h-fg); }
.band .store { background: var(--h-store-bg); color: var(--h-store-fg); border-color: var(--h-store-line); }
.band .store small { color: var(--h-store-small); }
.band :focus-visible { outline-color: var(--h-icon); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero h1 { max-width: 14ch; }
.hero .lede { margin-top: 1.5rem; color: var(--h-lede); }
.hero .store { background: var(--h-store-bg); color: var(--h-store-fg); border-color: var(--h-store-line); }
.hero .store small { color: var(--h-store-small); }
.hero__cta { margin-top: 2rem; display: grid; gap: 1rem; }
.hero__note { font-size: .92rem; color: var(--h-note); max-width: 34rem; }
.trust { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .95rem; color: var(--h-trust); list-style: none; padding: 0; }
.trust li { display: inline-flex; align-items: center; gap: .5rem; }
.trust svg { width: 1.1rem; height: 1.1rem; color: var(--h-icon); flex: none; }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
}

/* ---------- THE RECEIPT ---------- */
.printer { position: relative; max-width: 27rem; margin-inline: auto; padding-top: .9rem; }
.printer::before { content: ""; position: absolute; top: 0; left: -1rem; right: -1rem; height: 1.15rem; border-radius: 999px; background: linear-gradient(#0A1322, #1b2c48); box-shadow: 0 8px 20px rgba(0,0,0,.45); z-index: 2; }
.printer__slot { overflow: hidden; padding: 0 .35rem 2rem; margin: 0 -.35rem; }
.receipt {
  --notch: 11px;
  position: relative; background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: .9rem; line-height: 1.5;
  padding: 1.5rem 1.4rem 2.4rem; margin-top: .2rem;
  filter: var(--rcpt-shadow);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--notch) * 2) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--notch) * 2) 100%;
}
.receipt.is-printing { animation: feed 1.5s steps(16, end) both; }
@keyframes feed { from { transform: translateY(-101%); } to { transform: translateY(0); } }
.receipt__top { display: flex; align-items: center; gap: .7rem; padding-bottom: 1rem; border-bottom: 2px dashed rgba(20,35,61,.28); }
.receipt__top img { height: 2.3rem; width: auto; }
.receipt__top b { display: block; font-family: var(--display); font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1.1; }
.receipt__top span { font-size: .74rem; color: #5A6275; }
.field { display: grid; gap: .25rem; margin-top: 1rem; }
.field label, .field .label { font-size: .74rem; color: #5A6275; }
.field select, .field input {
  width: 100%; min-height: 2.9rem; padding: .45rem .7rem; border: 2px solid var(--ink); border-radius: 10px; background: #fff; color: var(--ink);
  font-family: var(--mono); font-size: 1rem; font-weight: 500;
}
.field select { font-size: .86rem; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2314233D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; padding-right: 2.2rem; }
.amount { position: relative; }
.amount span { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); font-weight: 500; pointer-events: none; }
.amount input { padding-left: 2.5rem; }
.quick { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .1rem; }
.quick button { border: 1px solid rgba(20,35,61,.35); background: transparent; border-radius: 999px; padding: .15rem .7rem; font-family: var(--mono); font-size: .78rem; cursor: pointer; color: var(--ink); }
.quick button:hover, .quick button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.lines { margin-top: 1.2rem; display: grid; gap: .45rem; }
.line { display: flex; align-items: baseline; gap: .5rem; }
.line i { flex: 1; border-bottom: 2px dotted rgba(20,35,61,.4); transform: translateY(-.28rem); min-width: 1rem; }
.line--total { margin-top: .5rem; padding-top: .9rem; border-top: 2px solid var(--ink); font-size: 1.05rem; font-weight: 500; }
.line--total b { font-family: var(--display); font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1; }
.line b { font-weight: 500; font-variant-numeric: tabular-nums; }
.receipt__fine { margin-top: 1rem; font-size: .72rem; color: #5A6275; line-height: 1.45; }
.receipt__bars { margin-top: .9rem; height: 2.2rem; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 9px, var(--ink) 9px 12px, transparent 12px 14px); opacity: .85; }
.stamp {
  position: absolute; right: 1rem; bottom: 6.1rem; transform: rotate(-11deg); opacity: 0;
  border: 3px solid var(--rust); color: var(--rust); border-radius: 8px; padding: .15rem .7rem .05rem;
  font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: .06em; pointer-events: none; mix-blend-mode: multiply;
}
.stamp.is-hit { animation: thud .5s cubic-bezier(.2, 1.7, .4, 1) forwards; }
@keyframes thud { 0% { opacity: 0; transform: rotate(-11deg) scale(2.4); } 55% { opacity: .95; } 100% { opacity: .9; transform: rotate(-11deg) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .receipt.is-printing { animation: none; }
  .stamp.is-hit { animation: none; opacity: .9; }
}

/* ---------- services strip ---------- */
.services { padding-block: clamp(2.25rem, 4vw, 3.25rem); background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.services__row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; justify-content: center; }
.services__label { flex-basis: 100%; text-align: center; font-size: clamp(1.15rem, 2.2vw, 1.5rem); margin-bottom: .6rem; max-width: 40rem; margin-inline: auto; }
.logo-tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; height: 4.6rem; padding: .5rem .9rem; display: grid; place-items: center; }
.a.logo-tile{}
.logo-tile { transition: transform .15s ease, border-color .15s ease; }
a.logo-tile:hover { transform: translateY(-2px); border-color: var(--ink); }
.logo-tile img { width: auto; height: auto; max-height: 3.5rem; max-width: 8.5rem; object-fit: contain; }
.services__fine { margin-top: 1.25rem; font-size: .82rem; color: var(--muted); text-align: center; max-width: 52rem; margin-inline: auto; }

/* ---------- how it works ---------- */
.how { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.steps { display: grid; gap: .5rem; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.step { border-left: 3px solid var(--line); padding: .35rem 0 .35rem 1.4rem; transition: border-color .2s ease; }
.step__btn { all: unset; display: block; width: 100%; cursor: pointer; }
.step__btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; border-radius: 6px; }
.step__title { display: flex; align-items: baseline; gap: .8rem; font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.015em; color: var(--muted); transition: color .2s ease; }
.step__title::before { counter-increment: s; content: counter(s); font-family: var(--mono); font-size: .95rem; font-weight: 500; min-width: 1.4rem; }
.step__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.step__body > div { overflow: hidden; }
.step__body p { padding-top: .5rem; color: var(--muted); max-width: 34rem; }
.step.is-active { border-left-color: var(--gold); }
.step.is-active .step__title { color: var(--text); }
.step.is-active .step__body { grid-template-rows: 1fr; }

.phone { position: relative; width: min(19rem, 100%); aspect-ratio: 9 / 18.6; margin-inline: auto; border-radius: 2.7rem; background: #0A1322; padding: .6rem; box-shadow: 0 40px 70px -20px rgba(14,26,46,.55), 0 0 0 2px #243a5e inset; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 2.15rem; overflow: hidden; background: #fff; color: var(--ink); font-family: var(--body); font-size: .8rem; line-height: 1.4; }
.phone__island { position: absolute; top: .55rem; left: 50%; width: 5.2rem; height: 1.35rem; transform: translateX(-50%); background: #0A1322; border-radius: 999px; z-index: 5; }
.scr { position: absolute; inset: 0; padding: 2.7rem 1rem 1rem; display: flex; flex-direction: column; gap: .65rem; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
.scr.is-active { opacity: 1; transform: none; pointer-events: auto; }
.scr h4 { font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; margin: 0; color: var(--ink); }
.scr small { color: #6B6354; font-size: .7rem; }
.scr__brand { display: flex; align-items: center; gap: .4rem; font-family: Georgia, serif; font-weight: 700; font-size: .95rem; }
.scr__brand img { height: 1.1rem; width: auto; }
.chat { background: #E7F4EA; border-radius: 14px 14px 14px 4px; padding: .7rem .8rem; max-width: 92%; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.chat b { font-family: var(--mono); font-size: 1rem; letter-spacing: .03em; }
.chat--you { align-self: flex-end; background: #fff; border: 1px solid #ECE7DA; border-radius: 14px 14px 4px 14px; }
.svc-row { display: flex; align-items: center; gap: .6rem; background: #F7F5F0; border-radius: 14px; padding: .5rem .65rem; }
.svc-row img { height: 1.9rem; width: auto; max-width: 3.4rem; object-fit: contain; border-radius: 6px; background: #fff; padding: .15rem; }
.svc-row b { font-size: .8rem; display: block; }
.pill { display: inline-block; font-size: .6rem; font-weight: 700; padding: .05rem .5rem; border-radius: 999px; background: #F2ECD9; border: 1px solid #D8CBA8; color: #6B4E1A; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: #F7F5F0; border-radius: 999px; padding: .2rem; gap: .2rem; }
.seg span { text-align: center; padding: .3rem; border-radius: 999px; font-weight: 600; font-size: .75rem; }
.seg .on { background: var(--ink); color: #fff; }
.input { border: 1.5px solid #ECE7DA; border-radius: 12px; padding: .5rem .7rem; background: #fff; min-height: 2.3rem; font-weight: 600; }
.input.typing::after { content: "|"; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mini-btn { margin-top: auto; background: var(--ink); color: #fff; border-radius: 14px; padding: .7rem; text-align: center; font-weight: 700; }
.spin { width: 3.1rem; height: 3.1rem; border-radius: 50%; border: 4px solid #ECE7DA; border-top-color: var(--ink); margin: 1.2rem auto .3rem; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.status-list { display: grid; gap: .5rem; margin-top: .6rem; }
.status-list div { display: flex; gap: .55rem; align-items: center; color: #6B6354; }
.status-list .done { color: var(--ink); font-weight: 600; }
.dot { width: .9rem; height: .9rem; border-radius: 50%; border: 2px solid #D8CBA8; flex: none; }
.done .dot { background: var(--green); border-color: var(--green); }
.cur .dot { border-color: var(--ink); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(20,35,61,.15); } }
.tick { width: 3.4rem; height: 3.4rem; border-radius: 50%; background: #E4F3EA; color: var(--green); display: grid; place-items: center; margin: .8rem auto .2rem; }
.tick svg { width: 1.7rem; height: 1.7rem; }
.tx { background: #F7F5F0; border-radius: 16px; padding: .8rem .85rem; }
.tx .pill-ok { float: right; background: #E4F3EA; color: var(--green); font-weight: 700; font-size: .62rem; padding: .05rem .5rem; border-radius: 999px; }
.push { position: absolute; top: 2.7rem; left: .6rem; right: .6rem; background: rgba(20,35,61,.96); color: #fff; border-radius: 16px; padding: .6rem .75rem; z-index: 6; font-size: .72rem; transform: translateY(-320%); opacity: 0; transition: transform .45s cubic-bezier(.2,1.2,.4,1), opacity .2s ease; }
.push.is-in { transform: none; opacity: 1; }
.push b { display: block; font-size: .7rem; color: #E0B563; }
.phone__hint { text-align: center; margin-top: .6rem; font-size: .85rem; color: var(--muted); }
.phone__ctrl { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 1.25rem; font-weight: 600; }
.phone__ctrl .btn { min-height: 2.5rem; padding: .3rem 1.1rem; font-size: .95rem; }
.phone__ctrl .btn[disabled] { opacity: .35; cursor: default; }

@media (max-width: 920px) {
  .how { grid-template-columns: 1fr; }
  .how__phone { order: -1; }
  .phone { width: min(15.5rem, 100%); }
}

/* ---------- ledger (why korah) ---------- */
.ledger { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; }
.ledger li { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: 1.5rem; padding: 1.35rem 0; border-top: 1px dotted var(--muted); }
.ledger li:last-child { border-bottom: 1px dotted var(--muted); }
.ledger h3 { font-size: 1.25rem; }
.ledger p { color: var(--muted); max-width: 34rem; }
@media (max-width: 720px) { .ledger li { grid-template-columns: 1fr; gap: .35rem; } }

/* ---------- compare ---------- */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.col { border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); }
.col--old { border: 2px dashed var(--line); color: var(--muted); }
.col--new { background: var(--ink); color: #F3EFE4; }
:root[data-theme="dark"] .col--new { background: var(--ink-soft); }
.col h3 { margin-bottom: 1.1rem; }
.col dl { margin: 0; display: grid; gap: 1rem; }
.col dt { font-weight: 700; font-size: .92rem; opacity: .75; }
.col dd { margin: .1rem 0 0; font-size: 1.05rem; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ---------- earn ---------- */
.earn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.earn__box { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); font-family: var(--mono); box-shadow: 0 24px 50px -28px rgba(14,26,46,.55); border: 1px solid rgba(20,35,61,.1); }
.range { display: grid; gap: .35rem; margin-top: 1.1rem; }
.range__top { display: flex; justify-content: space-between; font-size: .85rem; }
.range input[type=range] { width: 100%; accent-color: var(--ink); height: 2rem; }
.earn__out { margin-top: 1.25rem; padding-top: 1rem; border-top: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.earn__out b { font-family: var(--display); font-size: 2rem; letter-spacing: -0.03em; }
.earn ul { padding-left: 1.2rem; color: var(--muted); display: grid; gap: .5rem; margin: 1.5rem 0 0; max-width: 34rem; }
@media (max-width: 860px) { .earn { grid-template-columns: 1fr; } }

/* ---------- trust ---------- */
.trustband__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.facts { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.facts li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .8rem; color: var(--h-trust); }
.facts svg { width: 1.4rem; height: 1.4rem; color: var(--h-icon); margin-top: .15rem; }
.facts b { color: var(--h-fg); display: block; font-family: var(--display); font-size: 1.15rem; letter-spacing: -0.01em; }
.plaque { border: 1px solid var(--h-plaque); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); background: linear-gradient(160deg, rgba(224,181,99,.1), transparent 60%); }
.plaque dl { margin: 1rem 0 0; display: grid; gap: .9rem; }
.plaque dt { font-size: .85rem; color: var(--h-note); }
.plaque dd { margin: 0; font-family: var(--mono); font-size: 1rem; word-break: break-word; }
.plaque a { color: var(--h-icon); }
@media (max-width: 860px) { .trustband__grid { grid-template-columns: 1fr; } }

/* ---------- agents ---------- */
.agents { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; border: 2px solid var(--text); border-radius: 28px; padding: clamp(1.75rem, 5vw, 3.5rem); }
.agents__cta { display: grid; gap: .8rem; justify-items: start; }
@media (max-width: 860px) { .agents { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 3rem 1.2rem 0; font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: .8rem; height: .8rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__a { padding: 0 3rem 1.4rem 0; color: var(--muted); max-width: 42rem; }
.faq__a p + p { margin-top: .7rem; }

/* ---------- final cta + footer ---------- */
.final { text-align: center; background: var(--final-bg); }
.final h2 { max-width: 16ch; margin-inline: auto; }
.final .lede { margin: 1.25rem auto 0; color: var(--h-lede); }
.final .stores { justify-content: center; margin-top: 2rem; }
.footer { background: var(--f-bg); color: var(--h-note); padding-block: 3.5rem calc(2rem + env(safe-area-inset-bottom, 0px)); font-size: .95rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--h-fg); text-decoration: underline; text-underline-offset: 4px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr 1fr; gap: 2rem; }
.footer .brand { color: var(--f-head); }
.footer h4 { margin: 0 0 .8rem; color: var(--f-head); font-family: var(--display); font-size: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer__fine { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--f-line); font-size: .82rem; display: grid; gap: .6rem; }
.ph { border-bottom: 1px dashed var(--h-icon); }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- launch dialog (store buttons before launch) ---------- */
dialog { border: 0; border-radius: 22px; padding: 0; width: min(26rem, 92vw); background: var(--paper); color: var(--ink); box-shadow: 0 40px 90px rgba(0,0,0,.5); }
dialog::backdrop { background: rgba(10, 19, 34, .66); backdrop-filter: blur(3px); }
.dlg { padding: 1.75rem; display: grid; gap: 1rem; }
.dlg h3 { font-size: 1.6rem; }
.dlg p { color: #566074; }
.dlg__row { display: grid; gap: .6rem; }
.dlg .btn { width: 100%; }
.dlg__x { justify-self: end; background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: .2rem .5rem; }

/* ---------- legal pages ---------- */
.doc { max-width: 46rem; padding-block: calc(4.5rem + 3rem) var(--section); }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .6rem; }
.doc h2 { font-size: 1.35rem; margin: 2rem 0 .5rem; letter-spacing: -0.015em; }
.doc p, .doc li { color: var(--muted); }
.doc p { margin-top: .6rem; }
.doc ul { padding-left: 1.2rem; display: grid; gap: .4rem; }
.doc .meta { color: var(--muted); font-size: .95rem; }
.certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.certs a { display: block; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.certs img { width: 100%; height: auto; }
.certs span { display: block; padding: .7rem .9rem; font-weight: 600; font-size: .92rem; color: var(--text); }
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem; }

/* ---------- landing pages ---------- */
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1.25rem; }
.crumbs a { color: var(--muted); }
.crumbs span { color: var(--text); }
.doc__steps { padding-left: 1.3rem; display: grid; gap: .7rem; color: var(--muted); margin: .8rem 0 0; }
.doc__steps b { color: var(--text); }
.doc .store { background: var(--ink); color: #fff; border-color: transparent; }
.doc .store small { color: #C9D0DE; }
:root[data-theme="dark"] .doc .store { background: #fff; color: var(--ink); }
:root[data-theme="dark"] .doc .store small { color: #566074; }
.doc a { color: var(--text); text-underline-offset: 3px; }
.doc .faq summary { font-size: 1.05rem; }
.doc .btn--ink { color: #fff; }
.doc .btn--line { color: var(--text); }
