/* Napkin Plan · napkin-plan.com
   Layout: a long café-table scroll. Paper sections alternate with ink bands;
   ballpoint-blue scribbles are the one bold gesture, orange is the action color. */

@font-face { font-family: "Bricolage"; src: url("fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("fonts/instrument-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("fonts/caveat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #FAF7F0;
  --paper-2: #F1EBDD;
  --card: #FFFFFF;
  --ink: #1F2A37;
  --ink-soft: #4F5966;
  --ink-faint: #6B7480;
  --line: #E4DCCB;
  --pen: #16287A;          /* ballpoint blue · the scribbles */
  --accent: #E8603C;       /* napkin orange · actions */
  --accent-ink: #B9411F;   /* orange text on paper (AA) */
  --accent-soft: #FDEDE7;
  --green: #1A7A4E;
  --green-soft: #E3F2EA;
  --red: #B83A2A;
  --navy: #24456B;
  --navy-soft: #E7EFF8;
  --band: #1F2A37;         /* ink bands */
  --band-text: #F6F2EA;
  --band-soft: #B9C3CF;
  --band-card: #2A3747;
  --shadow: 0 18px 44px rgba(31, 42, 55, .12);
  --font-display: "Bricolage", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --wrap: 1180px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #14181E; --paper-2: #1C222A; --card: #1E252E; --ink: #EEE9DF; --ink-soft: #C2BCB0; --ink-faint: #A39D92;
    --line: #2E3742; --pen: #9DB2FF; --accent: #F07650; --accent-ink: #FF9A7A; --accent-soft: #3A2620;
    --green: #5FD39C; --green-soft: #18332A; --red: #FF8B7A; --navy: #9DC0EA; --navy-soft: #1B2A3B;
    --band: #0C1015; --band-text: #F6F2EA; --band-soft: #A9B4C1; --band-card: #18202A; --shadow: 0 18px 44px rgba(0,0,0,.4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #14181E; --paper-2: #1C222A; --card: #1E252E; --ink: #EEE9DF; --ink-soft: #C2BCB0; --ink-faint: #A39D92;
  --line: #2E3742; --pen: #9DB2FF; --accent: #F07650; --accent-ink: #FF9A7A; --accent-soft: #3A2620;
  --green: #5FD39C; --green-soft: #18332A; --red: #FF8B7A; --navy: #9DC0EA; --navy-soft: #1B2A3B;
  --band: #0C1015; --band-text: #F6F2EA; --band-soft: #A9B4C1; --band-card: #18202A; --shadow: 0 18px 44px rgba(0,0,0,.4);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; overflow-x: clip; }
.marquee-wrap { overflow: hidden; padding-block: 14px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--pen); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 10px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }
.hand { font-family: var(--font-hand); font-weight: 700; color: var(--pen); font-size: 30px; line-height: 1; }
.eyebrow { font-family: var(--font-hand); font-weight: 700; color: var(--accent-ink); font-size: 30px; line-height: 1; display: block; margin-bottom: 10px; }
.h2 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); max-width: 62ch; }
.section { padding-block: clamp(72px, 9vw, 128px); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.section-head > div:first-child { flex: 1 1 520px; min-width: 0; display: grid; gap: 16px; }
.section-head > .tabs { flex: 0 1 auto; }
.muted { color: var(--ink-faint); font-size: 14px; }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 25; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 2px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; }
.brand img { width: 34px; height: 34px; margin: 0 1px; }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav-links a { color: var(--ink); text-decoration: none; }
.nav-links a:hover { color: var(--accent-ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: var(--font-body); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { color: var(--paper); background: var(--pen); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { color: var(--ink); background: var(--paper-2); }
.menu-btn { display: none; margin-left: auto; background: transparent; border: 1.5px solid var(--line); border-radius: 12px; width: 48px; height: 48px; color: var(--ink); cursor: pointer; }
.mobile-menu { display: none; }
@media (max-width: 880px) {
  .nav-links, .nav .btn-ink { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .mobile-menu:not([hidden]) { display: grid; gap: 4px; padding-block: 8px 18px; }
  .mobile-menu a { padding: 12px 4px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
}

/* ---------- store badges ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.store-circle { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #FFFFFF; color: #111; border: 1px solid var(--line); box-shadow: 0 3px 8px rgba(31,42,55,.06); text-decoration: none; transition: transform .15s ease; }
.store-circle:hover { transform: translateY(-1px); color: #111; }
.store-circle svg { flex: none; width: 14px; height: 15px; }
.store-soon { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); font-weight: 600; font-size: 13px; }
.cta .store-circle { border-color: #fff; }
.cta .store-soon { border-color: rgba(255,255,255,.75); color: #fff; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 22px; border-radius: 16px; text-decoration: none; border: 1.5px solid var(--ink); }
.store .s-small { display: block; font-size: 12px; line-height: 1.1; opacity: .8; }
.store .s-big { display: block; font-size: 19px; line-height: 1.15; font-weight: 700; }
.store-dark { background: var(--ink); color: var(--paper); }
.store-dark:hover { color: var(--paper); background: var(--pen); border-color: var(--pen); }
.store-light { background: var(--card); color: var(--ink); }
.store-light:hover { color: var(--ink); background: var(--paper-2); }
.store svg { flex: none; }
.store .store-mark { width: 13px; height: 14px; opacity: .55; align-self: flex-start; margin-top: 4px; }
.store:has(.store-mark) { gap: 9px; }
.store-light .soon { font-size: 11px; font-weight: 800; letter-spacing: .06em; background: var(--accent-soft); color: var(--accent-ink); border-radius: 6px; padding: 2px 6px; margin-left: 6px; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.pill { display: inline-flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 55%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
.hero h1 { font-size: clamp(52px, 8.4vw, 104px); font-weight: 800; letter-spacing: -0.045em; line-height: .95; margin-top: 24px; }
.scribble-word { position: relative; display: inline-block; color: var(--accent); white-space: nowrap; }
.scribble-word svg { position: absolute; left: -2%; bottom: -0.2em; width: 104%; height: .42em; overflow: visible; }
.scribble-word path { fill: none; stroke: var(--pen); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 0; animation: draw 2.2s .3s ease-out both; }
@keyframes draw { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }
.hero .lede { margin-top: 30px; }
.hero .stores { margin-top: 18px; }
.hero-note { margin-top: 18px; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-faint); }
.phone-stage { position: relative; display: flex; justify-content: center; padding-block: 24px; }
.phone-stage::before { content: ""; position: absolute; width: min(440px, 92%); aspect-ratio: 1; border-radius: 50%; background: var(--accent); opacity: .13; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.phone { position: relative; width: min(310px, 78%); border-radius: 48px; background: #101318; padding: 11px; box-shadow: 0 40px 80px rgba(16, 19, 24, .3); animation: float 7s ease-in-out infinite; }
.phone img { border-radius: 38px; width: 100%; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
.hero-icon { position: absolute; width: 104px; border-radius: 24px; top: 0; right: 4%; box-shadow: var(--shadow); transform: rotate(9deg); animation: wobble 3.4s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(4deg); } 50% { transform: rotate(12deg) scale(1.04); } }
.napkin-note { position: absolute; left: 0; bottom: 64px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); transform: rotate(-5deg); font-family: var(--font-hand); font-weight: 700; color: var(--pen); font-size: 26px; line-height: 1.05; }
.now-playing { position: absolute; right: 0; bottom: 10px; width: min(260px, 70%); background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px; box-shadow: var(--shadow); display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; transform: rotate(2deg); }
.now-playing .np-label { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--accent-ink); text-transform: uppercase; }
.now-playing .np-title { font-weight: 700; font-size: 14px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 520px) { .napkin-note { bottom: 40px; font-size: 21px; } .now-playing { display: none; } .hero-icon { width: 76px; } }

/* ---------- marquee ---------- */
.marquee { background: var(--band); color: var(--band-text); overflow: hidden; transform: rotate(-1.4deg); margin: 4px -24px 0; padding-block: 18px; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 38px; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); animation: marquee 46s linear infinite; }
.marquee-track span::after { content: "✳"; color: var(--accent); margin-left: 38px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- feature rows ---------- */
.features { display: grid; gap: clamp(64px, 8vw, 110px); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.feature:nth-child(even) .feature-media { order: -1; }
@media (max-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature:nth-child(even) .feature-media { order: 0; } }
.feature-text { display: grid; gap: 18px; min-width: 0; }
.feature-tag { display: inline-flex; width: fit-content; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.feature-tag b { display: inline-flex; width: 30px; height: 30px; border-radius: 9px; align-items: center; justify-content: center; color: #fff; font-size: 13px; }
.feature h3 { font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; }
.checks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; color: var(--ink-soft); }
.checks svg { margin-top: 3px; color: var(--green); }
.feature-media { position: relative; min-width: 0; display: flex; justify-content: center; }
.media-card { background: var(--card); border: 1px solid var(--line); border-radius: 30px; padding: clamp(18px, 3vw, 34px); width: 100%; box-shadow: var(--shadow); }
.mini-phone { width: min(260px, 70%); margin: 0 auto; border-radius: 38px; background: #101318; padding: 9px; transform: rotate(-2deg); }
.mini-phone img { border-radius: 30px; }

/* ---------- ranking ---------- */
.band-white { background: var(--card); border-block: 1px solid var(--line); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper-2); color: var(--ink); font: 600 15px var(--font-body); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 700; }
.episodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.ep { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .25s ease, box-shadow .25s ease; }
.ep:hover { color: var(--ink); transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow); }
.ep-cover { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.ep-cover img { width: 100%; height: 100%; object-fit: cover; }
.ep-cover .ph { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 40px; line-height: .95; text-align: center; padding: 18px; letter-spacing: -0.02em; }
.ep-rank { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; font-weight: 800; font-size: 14px; border-radius: 10px; padding: 3px 10px; }
.ep-lock { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(16, 19, 24, .8); color: #fff; border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; }
.ep-body { padding: 16px 18px 20px; display: grid; gap: 6px; }
.ep-show { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.ep-title { font-weight: 700; font-size: 17px; line-height: 1.3; }
.ep-meta { font-size: 13px; color: var(--ink-faint); }
.data-note { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 14px; color: var(--ink-faint); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 8px; padding: 3px 8px; background: var(--accent-soft); color: var(--accent-ink); }
.badge.live { background: var(--green-soft); color: var(--green); }

/* ---------- 20 topics ---------- */
.groups { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.group { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: grid; gap: 14px; align-content: start; }
.group-head { display: flex; align-items: center; gap: 12px; }
.group-letter { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; }
.group-head h3 { font-size: 26px; }
.group-head span { color: var(--ink-faint); font-size: 14px; margin-left: auto; }
.cat { border-top: 1px dashed var(--line); padding-top: 12px; }
.cat summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; font-weight: 700; min-height: 32px; }
.cat summary::-webkit-details-marker { display: none; }
.cat summary .num { font-variant-numeric: tabular-nums; color: var(--ink-faint); font-size: 13px; width: 22px; }
.cat summary::after { content: "+"; margin-left: auto; color: var(--accent-ink); font-size: 22px; line-height: 1; }
.cat[open] summary::after { content: "−"; }
.cat p { color: var(--ink-soft); font-size: 15px; margin: 6px 0 0 32px; }
.cat ul { margin: 8px 0 4px 32px; padding: 0; list-style: none; display: grid; gap: 6px; }
.cat li { font-family: var(--font-hand); font-weight: 700; color: var(--pen); font-size: 22px; line-height: 1.15; }

/* ---------- rates ---------- */
.band-ink { background: var(--band); color: var(--band-text); }
.band-ink .eyebrow { color: #FFB59E; }
.band-ink .lede { color: var(--band-soft); }
.rate-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.tile { border-radius: 24px; padding: 26px; display: grid; gap: 6px; background: var(--band-card); }
.tile .t-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--band-soft); text-transform: uppercase; }
.tile .t-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 5vw, 58px); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.tile .t-sub { font-size: 14px; color: var(--band-soft); }
.tile.fed { background: #24456B; }
.tile.ndq { background: #1E5E45; }
.rate-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 14px; align-items: center; }
.rate-toolbar .tab { background: transparent; color: var(--band-text); border-color: #3A4757; }
.rate-toolbar .tab[aria-selected="true"] { background: var(--band-text); color: var(--band); border-color: var(--band-text); }
.table-box { background: var(--paper); color: var(--ink); border-radius: 24px; overflow-x: auto; }
.rates-table { width: 100%; border-collapse: collapse; min-width: 640px; font-variant-numeric: tabular-nums; }
.rates-table th { text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); padding: 16px 20px; }
.rates-table td { padding: 14px 20px; border-top: 1px solid var(--line); vertical-align: middle; }
.rates-table .grp td { background: var(--paper-2); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); padding-block: 10px; }
.bank { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.logo { position: relative; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; }
.logo img { position: absolute; inset: 0; margin: auto; width: 24px; height: 24px; opacity: 0; transition: opacity .2s; }
.logo.ok img { opacity: 1; }
.logo.ok span { visibility: hidden; }
.logo span { font-size: 13px; font-weight: 800; color: #24456B; }
.range { text-align: right; font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--navy); white-space: nowrap; }
.bar { position: relative; height: 8px; border-radius: 4px; background: var(--paper-2); min-width: 160px; }
.bar i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(90deg, var(--green), var(--accent)); }
.rates-foot { margin-top: 16px; font-size: 13px; color: var(--band-soft); max-width: 90ch; }

/* ---------- calculator ---------- */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: minmax(0, 1fr); } }
.calc { background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow); display: grid; gap: 14px; max-width: 460px; width: 100%; margin: 0 auto; }
.calc-display { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 12px 18px; text-align: right; min-width: 0; }
.calc-expr { color: var(--ink-faint); font-size: 15px; min-height: 22px; overflow-wrap: anywhere; }
.calc-value { font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper-2); color: var(--ink); font: 700 15px var(--font-body); cursor: pointer; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.final { background: var(--green); color: #fff; border-radius: 22px; padding: 14px 18px 16px; display: grid; gap: 2px; }
.final-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.final-top b { background: #fff; color: #1A7A4E; border-radius: 9px; padding: 2px 9px; font-size: 13px; letter-spacing: 0; }
.final-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 6vw, 58px); letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.final-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-variant-numeric: tabular-nums; }
.final-row s { font-weight: 700; }
.final-row strong { color: #FFE08A; }
.pad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.key { min-height: 62px; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 600 26px var(--font-body); cursor: pointer; font-variant-numeric: tabular-nums; }
.key:active { transform: scale(.97); }
.key.fn { background: var(--paper-2); }
.key.op { background: #24456B; border-color: #24456B; color: #fff; }
.key.eq { background: var(--accent); border-color: var(--accent); color: #fff; }
.key.zero { grid-column: span 2; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: grid; gap: 10px; align-content: start; min-height: 240px; }
.step-n { font-family: var(--font-display); font-weight: 800; font-size: 76px; line-height: .8; color: var(--paper-2); }
.step h3 { font-size: 24px; }
.step p { color: var(--ink-soft); font-size: 16px; }

/* ---------- day / who ---------- */
.day { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: var(--card); }
.slot { padding: 26px; border-right: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.slot:last-child { border-right: 0; }
.slot time { font-family: var(--font-hand); font-weight: 700; color: var(--pen); font-size: 34px; line-height: 1; }
.slot h3 { font-size: 21px; }
.slot p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 700px) { .slot { border-right: 0; border-bottom: 1px solid var(--line); } }
.who { display: flex; flex-wrap: wrap; gap: 10px; }
.who span { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 600; }

/* ---------- account / countries ---------- */
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 30px; display: grid; gap: 14px; align-content: start; }
.panel h3 { font-size: 28px; }
.flags { display: flex; flex-wrap: wrap; gap: 8px; }
.flags span { border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: 7px 12px; font-weight: 600; font-size: 15px; }
.code { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .3em; font-size: 28px; font-weight: 700; color: var(--pen); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 16px; min-height: 68px; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--accent-ink); font-size: 28px; font-weight: 500; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 22px; color: var(--ink-soft); }

/* ---------- final cta / contact ---------- */
.cta { position: relative; overflow: hidden; background: var(--accent); color: #fff; border-radius: 40px; padding: clamp(48px, 7vw, 88px) clamp(22px, 5vw, 64px); text-align: center; display: grid; gap: 20px; justify-items: center; }
.cta h2 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -0.04em; }
.cta p { color: #FFF1EC; font-size: 20px; max-width: 46ch; }
.cta .swirl-bg { position: absolute; width: 300px; opacity: .2; right: -40px; top: -50px; animation: wobble 4s ease-in-out infinite; }
.cta .swirl-bg.two { width: 200px; left: -30px; right: auto; top: auto; bottom: -50px; }
.cta .app-icon { width: 108px; border-radius: 26px; box-shadow: 0 16px 34px rgba(0,0,0,.2); position: relative; }
.cta .stores { justify-content: center; position: relative; }
@media (min-width: 760px) { .cta .stores { position: absolute; right: 28px; bottom: 24px; } }
.cta .store-dark { border-color: #1F2A37; background: #1F2A37; color: #fff; }
.cta .store-light { border-color: #fff; background: #fff; color: #1F2A37; }
.contact { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; position: relative; }
.email { font-weight: 700; font-size: 20px; color: #fff; user-select: all; }
.copy { min-height: 40px; border-radius: 999px; border: 1.5px solid #fff; background: transparent; color: #fff; font: 700 14px var(--font-body); padding: 0 14px; cursor: pointer; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.foot .links { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; font-weight: 600; font-size: 15px; }
.foot .links a { color: var(--ink); }
.foot small { color: var(--ink-faint); font-size: 14px; }
.foot-meta { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 24px; color: var(--ink-faint); font-size: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.foot-meta a { color: var(--ink-soft); font-weight: 600; }

/* ---------- legal pages ---------- */
.doc { max-width: 760px; margin: 0 auto; padding-block: 56px 96px; }
.doc h1 { font-size: clamp(40px, 6vw, 60px); font-weight: 800; }
.doc h2 { font-size: 26px; margin-top: 40px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 8px; }
.doc .updated { color: var(--ink-faint); margin-top: 12px; }
.doc .box { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; margin-top: 24px; }

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

/* 2026-11-11: rates without lender-named numbers, mock cards (no podcast covers) */
.rates-sub { font-family: var(--font-display); font-size: 22px; margin: 36px 0 14px; }
.rates-table .range-note { display: block; font-size: 12px; color: var(--ink-faint); margin-top: 2px; }
.lender-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 8px; }
.lender-group { background: var(--band-card); border-radius: 20px; padding: 18px 20px; }
.lender-group h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--band-soft); }
.lender-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lender-group a { color: inherit; text-decoration: underline; text-underline-offset: 3px; font-size: 15px; }
.mock { display: grid; gap: 12px; padding: 6px; }
.mock-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.mock-chips span { padding: 6px 12px; border-radius: 999px; background: var(--paper-2); font-size: 13px; font-weight: 700; }
.mock-chips .on { background: var(--accent); color: #fff; }
.mock-rank { font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
.mock-row { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; font-size: 14px; }
.mock-row b { width: 28px; height: 28px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; }
.mock-row i { width: 44px; height: 44px; border-radius: 12px; background: repeating-linear-gradient(135deg, #E8603C22 0 6px, #24456B22 6px 12px); flex: none; }
.mock-row i.bar { width: 90px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #24456B, #1A7A4E); }
.mock-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-tiles div { background: #24456B; color: #fff; border-radius: 16px; padding: 14px; display: grid; }
.mock-tiles small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.mock-tiles strong { font-size: 28px; font-family: var(--font-display); }
.mock-note { font-size: 12px; color: var(--ink-faint); }
