/* GoldCash.in — the jeweller's counter: banknote paper, ledger ink, rupee green, and one LED rate board. */
:root {
  --paper: #f2f5f1;
  --paper-2: #e6ece5;
  --paper-3: #fbfcfa;
  --ink: #1c2420;
  --ink-2: #4b5751;
  --line: #c9d3ca;
  --cash: #0e6b4f;
  --cash-ink: #0a503b;
  --cash-tint: #dcebe3;
  --gold: #946a08;
  --gold-2: #c99a25;
  --gold-tint: #f3e7c6;
  --down: #b3261e;
  --up: #0e6b4f;
  --board: #15191b;
  --board-2: #1e2427;
  --led: #ffb21f;
  --led-dim: #7a5a1c;
  --focus: #1d6fd8;
  --radius-s: 6px;
  --radius-m: 10px;
  --shadow: 0 1px 0 rgba(28, 36, 32, .06), 0 8px 24px -12px rgba(28, 36, 32, .25);
  --wrap: 1160px;
  --font-body: "Hind", "Segoe UI", system-ui, sans-serif;
  --font-display: "Rozha One", Georgia, "Times New Roman", serif;
  --font-led: "Teko", "Hind", sans-serif;
  color-scheme: light;
}
[data-theme="dark"] {
  --paper: #0f1412;
  --paper-2: #161d1a;
  --paper-3: #131916;
  --ink: #e6ede8;
  --ink-2: #a5b2aa;
  --line: #2b3530;
  --cash: #3fbf8f;
  --cash-ink: #8fe0bf;
  --cash-tint: #163128;
  --gold: #e2b33c;
  --gold-2: #e2b33c;
  --gold-tint: #2e2612;
  --down: #ff7a6e;
  --up: #3fbf8f;
  --board: #090b0c;
  --board-2: #121618;
  --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 10px 28px -14px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1412; --paper-2: #161d1a; --paper-3: #131916; --ink: #e6ede8; --ink-2: #a5b2aa; --line: #2b3530;
    --cash: #3fbf8f; --cash-ink: #8fe0bf; --cash-tint: #163128; --gold: #e2b33c; --gold-2: #e2b33c; --gold-tint: #2e2612;
    --down: #ff7a6e; --up: #3fbf8f; --board: #090b0c; --board-2: #121618; color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--font-body); }
img, svg { max-width: 100%; }
a { color: var(--cash); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--cash-ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 400; }
h1 { font-family: var(--font-display); font-size: clamp(2.05rem, 4.4vw, 3.3rem); letter-spacing: -.005em; }
h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 1.95rem); }
h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; }
p { margin: 0 0 1em; }
small, .small { font-size: .9rem; color: var(--ink-2); }
code { font-size: .92em; background: var(--paper-2); padding: .05em .35em; border-radius: 4px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: .75rem; top: -3rem; background: var(--ink); color: var(--paper); padding: .5rem .9rem; z-index: 100; border-radius: var(--radius-s); }
.skip:focus { top: .75rem; }
.noscript { text-align: center; padding: .75rem; background: var(--gold-tint); margin: 0; }

/* ---------- top bar ---------- */
.topbar { background: var(--ink); color: var(--paper); font-size: .86rem; line-height: 1.35; }
.topbar a { display: block; color: inherit; text-decoration: none; padding: .45rem 0; text-align: center; }
.topbar a:hover { text-decoration: underline; color: var(--gold-2); }
[data-theme="dark"] .topbar { background: #000; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.logo__mark { width: 30px; height: 30px; color: var(--gold); }
.logo__word { font-family: var(--font-display); font-size: 1.42rem; line-height: 1; }
.logo__tld { color: var(--cash); }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav__list a, .nav__more-btn { display: block; white-space: nowrap; padding: .45rem .55rem; color: var(--ink); text-decoration: none; font: 500 .97rem/1.2 var(--font-body); border-radius: var(--radius-s); background: none; border: 0; cursor: pointer; }
.nav__list a:hover, .nav__more-btn:hover { background: var(--paper-2); color: var(--ink); }
.nav__list a[aria-current="page"] { color: var(--cash); box-shadow: inset 0 -2px 0 var(--gold-2); border-radius: 0; }
.nav__more { position: relative; }
.nav__more-btn::after { content: ""; display: inline-block; width: .42em; height: .42em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); margin-left: .45em; }
.nav__menu { display: none; position: absolute; right: 0; top: calc(100% + .4rem); min-width: 240px; list-style: none; margin: 0; padding: .4rem; background: var(--paper-3); border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow); }
.nav__more.is-open .nav__menu { display: block; }
.nav__menu a { padding: .5rem .7rem; }
.site-header__actions { display: flex; align-items: center; gap: .35rem; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid transparent; background: none; color: var(--ink); border-radius: 50%; cursor: pointer; }
.icon-btn:hover { background: var(--paper-2); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav-toggle { display: none; }
.rate-chip { display: inline-flex; align-items: baseline; gap: .2rem; padding: .25rem .6rem; border-radius: 999px; background: var(--board); color: var(--led); text-decoration: none; font: 500 1.08rem/1 var(--font-led); letter-spacing: .02em; white-space: nowrap; }
.rate-chip:hover { color: var(--led); filter: brightness(1.15); }
.rate-chip__k { color: #c9cfcb; font-size: .9rem; }
.rate-chip__u { color: #c9cfcb; font-size: .85rem; }
@media (max-width: 1220px) {
  .nav-toggle { display: inline-grid; }
  .nav { display: none; position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: var(--paper-3); border-left: 1px solid var(--line); padding: 5rem 1rem 1rem; overflow-y: auto; z-index: 50; }
  .nav.is-open { display: block; box-shadow: var(--shadow); animation: slidein .22s ease-out; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__list a, .nav__more-btn { font-size: 1.05rem; padding: .7rem .8rem; width: 100%; text-align: left; }
  .nav__menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 .6rem; background: none; }
  .nav__more-btn { display: none; }
  .nav-toggle { position: relative; z-index: 60; }
  .site-header__actions { margin-left: auto; }
}
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 560px) { .hide-sm { display: none !important; } .rate-chip__k { display: none; } .logo__word { font-size: 1.2rem; } .site-header__in { gap: .5rem; } .site-header__actions { gap: .1rem; } .icon-btn { width: 36px; height: 36px; } }
@media (max-width: 400px) { .rate-chip__u { display: none; } .logo__mark { width: 26px; height: 26px; } [data-theme-toggle] { display: none; } }

/* ---------- buttons ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .78rem 1.25rem; border-radius: var(--radius-s); border: 1px solid transparent; font: 600 1rem/1.1 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--cash { background: var(--cash); color: #fff; }
.btn--cash:hover { background: var(--cash-ink); color: #fff; }
[data-theme="dark"] .btn--cash { color: #06261c; }
[data-theme="dark"] .btn--cash:hover { color: #06261c; background: #5fd3a6; }
.btn--gold { background: var(--gold-2); color: #1c1402; }
.btn--gold:hover { background: #ddb042; color: #1c1402; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-2); color: var(--ink); background: var(--paper-2); }
.btn--sm { padding: .5rem .85rem; font-size: .93rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---------- breadcrumbs ---------- */
.crumbs { padding-top: 1rem; font-size: .9rem; color: var(--ink-2); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: var(--line); }
.crumbs a { color: var(--ink-2); }

/* ---------- page head ---------- */
.page-head { padding: 1.6rem 0 1.4rem; }
.page-head .lede { max-width: 62ch; font-size: 1.15rem; color: var(--ink-2); }
.page-head--guide h1 { max-width: 24ch; }
.meta-line { font-size: .92rem; color: var(--ink-2); }

/* ---------- home hero ---------- */
.hero { padding: 2.2rem 0 2.6rem; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 14ch; }
.hero__lede { font-size: 1.2rem; color: var(--ink-2); max-width: 46ch; }
.hero__quick { margin-top: 1.4rem; display: grid; gap: .6rem; max-width: 520px; }
.hero__note { font-size: .9rem; color: var(--ink-2); margin-top: .8rem; }
@media (max-width: 900px) { .hero__in { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; } }

/* ---------- the rate board ---------- */
.board { background: linear-gradient(180deg, var(--board-2), var(--board)); color: #d8ddd9; border-radius: 14px; padding: 1.1rem 1.2rem 1rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 1px 0 rgba(255, 255, 255, .04), 0 22px 40px -22px rgba(0, 0, 0, .6); position: relative; }
.board::before, .board::after { content: ""; position: absolute; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #8a9390, #2b3133); }
.board::before { left: 12px; } .board::after { right: 12px; }
.board__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0 .9rem .55rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.board__title { font: 600 1.02rem/1.2 var(--font-body); color: #f1f3f2; margin: 0; }
.board__when { font-size: .82rem; color: #9aa4a0; text-align: right; }
.board__rows { margin: .35rem 0 .2rem; }
.board__row { display: grid; grid-template-columns: 1.2fr 1fr 1fr .8fr; align-items: baseline; gap: .6rem; padding: .45rem .3rem; border-bottom: 1px dashed rgba(255, 255, 255, .07); }
.board__row:last-child { border-bottom: 0; }
.board__head { font-size: .78rem; color: #8f9995; padding-top: .55rem; padding-bottom: .1rem; border-bottom: 0; }
.board__k { font-weight: 600; color: #eef1ef; line-height: 1.15; }
.board__k small { display: block; color: #8f9995; font-weight: 400; font-size: .8rem; }
.led { font: 500 clamp(1.7rem, 3.6vw, 2.35rem)/1 var(--font-led); color: var(--led); text-shadow: 0 0 10px rgba(255, 178, 31, .35); font-variant-numeric: tabular-nums; letter-spacing: .02em; white-space: nowrap; }
.led--sm { font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
.led--off { color: var(--led-dim); text-shadow: none; }
.chg { font: 500 1.05rem/1 var(--font-led); white-space: nowrap; }
.chg--up { color: #49d29d; } .chg--down { color: #ff8a7f; } .chg--flat { color: #9aa4a0; }
.board__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding: .6rem .3rem 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; color: #a7b0ac; }
.board__foot a { color: var(--led); }
.board__live { display: inline-flex; align-items: center; gap: .4rem; }
.board__dot { width: 8px; height: 8px; border-radius: 50%; background: #49d29d; box-shadow: 0 0 0 0 rgba(73, 210, 157, .6); animation: pulse 2.4s infinite; }
.board__dot.is-stale { background: #9aa4a0; animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(73, 210, 157, .55); } 70% { box-shadow: 0 0 0 8px rgba(73, 210, 157, 0); } 100% { box-shadow: 0 0 0 0 rgba(73, 210, 157, 0); } }
@media (max-width: 560px) {
  .board__row { grid-template-columns: 1.1fr 1fr .8fr; }
  .board__row > :nth-child(3) { display: none; }
}

/* small rate card in tool sidebars */
.rate-mini { background: var(--board); color: #cfd5d2; border-radius: var(--radius-m); padding: .8rem 1rem; margin-bottom: 1.2rem; }
.rate-mini:empty { display: none; }
.rate-mini p { margin: 0; font-size: .85rem; }
.rate-mini .led { font-size: 1.9rem; }

/* ---------- sections ---------- */
.section { padding: 2.6rem 0; }
.section--tint { background: var(--paper-2); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.section__head h2 { margin: 0; }
.section__head p { margin: .3rem 0 0; color: var(--ink-2); max-width: 60ch; }

/* three routes comparison */
.routes { width: 100%; border-collapse: collapse; background: var(--paper-3); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.routes th, .routes td { text-align: left; vertical-align: top; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
.routes thead th { background: var(--paper-2); font-weight: 700; }
.routes tbody th { font-weight: 600; color: var(--ink-2); width: 22%; }
.routes tr:last-child td, .routes tr:last-child th { border-bottom: 0; }
.routes td a { font-weight: 600; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; margin: 0 0 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--paper-3); }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.table-wrap table th, .table-wrap table td { padding: .6rem .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap td.num, .table-wrap th.num { white-space: nowrap; }
.table-wrap table thead th { background: var(--paper-2); font-weight: 700; font-size: .95rem; }
.table-wrap table tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; }

/* ---------- lists of tools/guides ---------- */
.tool-group { margin-bottom: 2rem; }
.tool-group h2 { font-size: 1.45rem; padding-bottom: .4rem; border-bottom: 2px solid var(--gold-2); display: inline-block; }
.tool-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.tool-list li { border-bottom: 1px solid var(--line); }
.tool-list a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: .4rem 1.5rem; align-items: baseline; padding: .95rem .2rem; text-decoration: none; color: var(--ink); }
.tool-list a:hover { background: var(--paper-2); }
.tool-list__t { font-weight: 700; color: var(--cash); }
.tool-list__d { color: var(--ink-2); }
.tool-list__m { font-size: .85rem; color: var(--ink-2); white-space: nowrap; }
.tool-list--guides a { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) auto; }
@media (max-width: 760px) { .tool-list a, .tool-list--guides a { grid-template-columns: minmax(0, 1fr); } }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { padding: .45rem 0; border-bottom: 1px solid var(--line); }

/* ---------- prose and guides ---------- */
.prose { max-width: 72ch; }
.prose--narrow { margin-inline: auto; padding-bottom: 2rem; }
.prose h2 { margin-top: 2rem; scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.4rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.1em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.2rem 0; padding: .6rem 1rem; border-left: 3px solid var(--gold-2); background: var(--paper-3); }
.doc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 2.5rem; padding-bottom: 2.5rem; }
.doc__rail { position: sticky; top: 88px; align-self: start; font-size: .92rem; }
.doc__rail-h { font-weight: 700; margin-bottom: .4rem; }
.doc__rail ol { padding-left: 1.1rem; margin: 0; color: var(--ink-2); }
.doc__rail li { margin-bottom: .35rem; }
.doc__rail a { color: var(--ink-2); text-decoration: none; }
.doc__rail a:hover { color: var(--cash); }
@media (max-width: 900px) { .doc { grid-template-columns: minmax(0, 1fr); } .doc__rail { position: static; border: 1px solid var(--line); border-radius: var(--radius-m); padding: .8rem 1rem; background: var(--paper-3); } }
.takeaways { background: var(--gold-tint); border-radius: var(--radius-m); padding: 1rem 1.2rem .4rem; margin-bottom: 1.6rem; }
.takeaways__h { font: 700 1.05rem/1.3 var(--font-body); margin: 0 0 .5rem; }
.sources { margin-top: 2.4rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.sources__h { font: 700 1.05rem/1.3 var(--font-body); }
.sources ul { font-size: .93rem; }
.callout { border: 1px solid var(--line); border-left: 4px solid var(--cash); background: var(--paper-3); padding: .9rem 1.1rem; border-radius: var(--radius-s); margin: 1.2rem 0; }
.callout--warn { border-left-color: var(--down); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { margin-top: 2rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; padding: .85rem 2rem .85rem 0; font-weight: 600; position: relative; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: .3rem; top: .7rem; font-size: 1.3rem; color: var(--gold); }
.faq__item[open] summary::after { content: "−"; }
.faq__a { padding: 0 0 1rem; color: var(--ink-2); }

/* ---------- CTA block ---------- */
.cta-block { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; background: var(--cash-tint); border-left: 5px solid var(--gold-2); border-radius: var(--radius-m); padding: 1.2rem 1.4rem; margin: 2rem 0; }
.cta-block > div { flex: 1 1 360px; }
.cta-block__h { font-size: 1.35rem; margin-bottom: .25rem; }
.cta-block p { margin: 0; color: var(--ink-2); }

/* ---------- tools ---------- */
.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; padding-bottom: 1.5rem; align-items: start; }
@media (max-width: 960px) { .tool-layout { grid-template-columns: minmax(0, 1fr); } }
.tool { background: var(--paper-3); border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem 1.4rem; box-shadow: var(--shadow); }
.tool__loading { color: var(--ink-2); margin: 0; }
.tool-aside__h { font: 700 1rem/1.3 var(--font-body); margin-bottom: .3rem; }
.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .9rem 1rem; }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field--wide { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .84rem; color: var(--ink-2); }
input, select, textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); padding: .62rem .75rem; width: 100%; min-height: 44px; }
input:focus, select:focus, textarea:focus { border-color: var(--cash); outline: 2px solid color-mix(in srgb, var(--cash) 35%, transparent); outline-offset: 0; }
textarea { min-height: 110px; resize: vertical; }
.is-invalid { border-color: var(--down) !important; box-shadow: 0 0 0 1px var(--down); }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.seg button { border: 0; background: var(--paper); color: var(--ink); padding: .5rem .8rem; font: 600 .92rem/1.1 var(--font-body); cursor: pointer; border-right: 1px solid var(--line); min-height: 40px; }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.out { margin-top: 1.2rem; border-top: 2px solid var(--ink); padding-top: 1rem; }
.out__big { font: 500 2.6rem/1 var(--font-led); color: var(--cash); font-variant-numeric: tabular-nums; }
.out__label { font-size: .92rem; color: var(--ink-2); margin-bottom: .2rem; }
.out__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .8rem 1rem; margin: .9rem 0; }
.out__grid div { border-left: 3px solid var(--gold-2); padding-left: .7rem; }
.out__grid b { display: block; font: 500 1.6rem/1.1 var(--font-led); font-variant-numeric: tabular-nums; }
.out__work { font-size: .92rem; color: var(--ink-2); background: var(--paper-2); border-radius: var(--radius-s); padding: .7rem .9rem; margin-top: .8rem; }
.out__work ol, .out__work ul { margin: .2rem 0 0; padding-left: 1.2rem; }
.verdict { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-s); background: var(--gold-tint); font-weight: 500; }
.verdict strong { color: var(--ink); }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 760px) { .offer-grid { grid-template-columns: minmax(0, 1fr); } }
.offer { border: 1px solid var(--line); border-radius: var(--radius-m); padding: .9rem; }
.offer h3 { margin: 0 0 .6rem; font-size: 1rem; }
.offer .field { margin-bottom: .6rem; }
.rank { width: 100%; margin-top: 1rem; }
.rank td, .rank th { padding: .55rem .6rem; border-bottom: 1px solid var(--line); text-align: left; }
.rank tr.is-best td { background: var(--cash-tint); font-weight: 600; }
.bar { height: 10px; border-radius: 5px; background: var(--paper-2); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--gold-2); }
.planner-table td, .planner-table th { white-space: normal; }

/* ---------- chart ---------- */
.chart { background: var(--paper-3); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; }
.chart__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.chart__stat { font-size: .95rem; color: var(--ink-2); }
.chart__stat b { font: 500 1.5rem/1 var(--font-led); color: var(--ink); margin-right: .3rem; }
.chart svg { width: 100%; height: 280px; display: block; }
.chart .axis text { font: 12px var(--font-body); fill: var(--ink-2); }
.chart .grid line { stroke: var(--line); stroke-dasharray: 2 4; }
.chart .line { fill: none; stroke: var(--gold-2); stroke-width: 2.2; }
.chart .area { fill: color-mix(in srgb, var(--gold-2) 16%, transparent); }
.chart .cursor { stroke: var(--ink-2); stroke-width: 1; }
.chart .dot { fill: var(--gold-2); stroke: var(--paper-3); stroke-width: 2; }
.chart__tip { min-height: 1.5em; font-size: .92rem; color: var(--ink-2); margin-top: .3rem; }
.chart__empty { padding: 3rem 1rem; text-align: center; color: var(--ink-2); }

/* ---------- forms (lead / contact) ---------- */
.form-card { background: var(--paper-3); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; box-shadow: var(--shadow); }
.form-status { margin: .6rem 0 0; font-weight: 500; min-height: 1.4em; }
.form-status.is-ok { color: var(--up); }
.form-status.is-err { color: var(--down); }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.consent input { width: auto; min-height: 0; margin-top: .3rem; }
.lead { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 960px) { .lead { grid-template-columns: minmax(0, 1fr); } }
.steps { display: flex; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.2rem; counter-reset: s; }
.steps li { flex: 1; font-size: .9rem; color: var(--ink-2); border-top: 4px solid var(--line); padding-top: .4rem; }
.steps li[aria-current="step"] { color: var(--ink); border-top-color: var(--gold-2); font-weight: 600; }
.steps li.is-done { border-top-color: var(--cash); }
.form-step__h { font-size: 1.4rem; }
.needs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem; }
.need { position: relative; }
.need input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.need label { display: block; border: 1px solid var(--line); border-radius: var(--radius-m); padding: .8rem .9rem; cursor: pointer; background: var(--paper); height: 100%; }
.need label b { display: block; }
.need label span { font-size: .88rem; color: var(--ink-2); }
.need input:checked + label { border-color: var(--cash); box-shadow: inset 0 0 0 1px var(--cash); background: var(--cash-tint); }
.need input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.form-nav { display: flex; justify-content: space-between; gap: .6rem; margin-top: 1.2rem; }
.estimate { position: sticky; top: 88px; }
.estimate .board__row { grid-template-columns: 1fr auto; }
.estimate .board__row > :nth-child(3) { display: block; }
.inline-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-start; }
.inline-form input { flex: 1 1 220px; }
.inline-form .form-status { flex-basis: 100%; }

/* ---------- feeds ---------- */
.feed { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.feed li { border-bottom: 1px solid var(--line); }
.feed a { display: block; padding: .8rem .2rem; text-decoration: none; color: var(--ink); }
.feed a:hover { background: var(--paper-2); }
.feed__t { display: block; font-weight: 600; }
.feed__m { display: block; font-size: .86rem; color: var(--ink-2); }
.feed__empty { padding: 1rem 0; color: var(--ink-2); }
.videos .feed__empty { grid-column: 1 / -1; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.chip { border: 1px solid var(--line); background: var(--paper-3); color: var(--ink); border-radius: 999px; padding: .35rem .85rem; font: 500 .92rem/1.2 var(--font-body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.video__btn { display: block; width: 100%; aspect-ratio: 16/9; border: 0; padding: 0; background: #000; cursor: pointer; border-radius: var(--radius-m); overflow: hidden; position: relative; }
.video__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video__btn::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 58px; height: 40px; transform: translate(-50%, -50%); background: rgba(0, 0, 0, .7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3C/svg%3E") center/22px no-repeat; border-radius: 10px; }
.video iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius-m); }
.video__t { font-weight: 600; margin: .5rem 0 .1rem; line-height: 1.35; }
.video__m { font-size: .86rem; color: var(--ink-2); margin: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
@media (max-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

/* ---------- misc blocks ---------- */
.steps-list { counter-reset: st; list-style: none; padding: 0; margin: 0 0 1.4rem; }
.steps-list li { counter-increment: st; position: relative; padding: 0 0 1rem 2.6rem; }
.steps-list li::before { content: counter(st); position: absolute; left: 0; top: -.1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 500 1.1rem/1 var(--font-led); }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1rem 0 1.6rem; }
.tier { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem; background: var(--paper-3); }
.tier__price { font: 500 2rem/1 var(--font-led); color: var(--gold); }
.tier h3 { margin: .3rem 0; }
.tier p { font-size: .94rem; color: var(--ink-2); margin: 0; }
.pay-buttons { margin: 1rem 0; }
.quiz { max-width: 720px; }
.quiz__q { font-size: 1.3rem; font-weight: 600; margin-bottom: .8rem; }
.opts { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.opt { width: 100%; text-align: left; display: flex; gap: .7rem; align-items: center; border: 1px solid var(--line); background: var(--paper-3); border-radius: var(--radius-s); padding: .7rem .9rem; font: inherit; color: var(--ink); cursor: pointer; }
.opt:hover { border-color: var(--ink-2); }
.opt__k { width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font-weight: 700; flex-shrink: 0; }
.opt.is-right { border-color: var(--up); background: var(--cash-tint); }
.opt.is-wrong { border-color: var(--down); }
.quiz__exp { margin-top: .9rem; padding: .8rem 1rem; background: var(--paper-2); border-radius: var(--radius-s); }
.quiz__bar { height: 6px; background: var(--paper-2); border-radius: 3px; margin-bottom: 1rem; overflow: hidden; }
.quiz__bar span { display: block; height: 100%; background: var(--gold-2); width: 0; transition: width .3s; }
.ad-slot { margin: 1.6rem 0; }
.ad-slot:empty { margin: 0; }

/* ---------- prefooter + footer ---------- */
.prefooter { background: var(--ink); color: var(--paper); padding: 2rem 0; margin-top: 2rem; }
[data-theme="dark"] .prefooter { background: #0a0e0c; color: var(--ink); border-top: 1px solid var(--line); }
.prefooter__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.prefooter__h { font-size: 1.6rem; margin-bottom: .3rem; }
.prefooter p { margin: 0; opacity: .85; }
.prefooter input { background: #fff; color: #1c2420; border-color: transparent; }
.prefooter .form-status.is-ok { color: #8fe0bf; }
.prefooter .form-status.is-err { color: #ffb4ab; }
@media (max-width: 800px) { .prefooter__in { grid-template-columns: minmax(0, 1fr); } }
.site-footer { padding: 2.4rem 0 5.5rem; background: var(--paper-2); font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 1.6rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
.footer__brand p { color: var(--ink-2); max-width: 36ch; margin-top: .8rem; }
.footer__h { font: 700 .98rem/1.3 var(--font-body); margin-bottom: .5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--cash); text-decoration: underline; }
.footer__legal { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-2); }
.footer__legal a { color: var(--ink-2); text-decoration: underline; }

/* ---------- sticky CTA (mobile) ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; gap: .5rem; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--paper-3); border-top: 1px solid var(--line); box-shadow: 0 -8px 20px -12px rgba(0, 0, 0, .3); transform: translateY(110%); transition: transform .2s; }
.sticky-cta .btn { flex: 1; }
.sticky-cta.is-on { transform: none; }
@media (max-width: 760px) { .sticky-cta { display: flex; } }

/* ---------- search ---------- */
.search { position: fixed; inset: 0; background: rgba(10, 14, 12, .55); z-index: 80; display: grid; place-items: start center; padding: 10vh 1rem 1rem; }
.search[hidden] { display: none; }
.search__panel { width: min(640px, 100%); background: var(--paper-3); border-radius: 14px; padding: 1rem; box-shadow: var(--shadow); }
.search__results { list-style: none; padding: 0; margin: .6rem 0; max-height: 55vh; overflow-y: auto; }
.search__results a { display: block; padding: .6rem .5rem; border-radius: var(--radius-s); text-decoration: none; color: var(--ink); font-weight: 600; }
.search__results a:hover, .search__results a:focus { background: var(--paper-2); }
.search__results small { display: block; font-weight: 400; }

/* ---------- 404 ---------- */
.notfound { padding: 3rem 0 4rem; text-align: left; }
body[data-section="offer"] .sticky-cta { display: none; }
.routes { min-width: 640px; }
.prose .takeaways__h, .prose .sources__h { margin-top: 0; }
