/* Tax Saver Hub: deep forest green, lime and saffron on dark. Space Grotesk for headings, Instrument Sans for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #0E1F1A;
  --surface: #15291F;
  --soft: #1C3A2C;
  --ink: #E6F2E6;
  --muted: #9DB8A6;
  --line: #24402F;
  --line-strong: #3A5E47;
  --brand: #B8F24C;
  --brand-hover: #CFFB7A;
  --brand-ink: #10200A;
  --brand-text: #B8F24C;
  --eyebrow: #FFB84D;
  --c1: #B8F24C; --c2: #FFB84D; --c3: #9DB8A6;
  --out-bg: #B8F24C; --out-ink: #10200A; --out-accent: #10200A; --out-btn: #10200A; --out-btn-ink: #B8F24C;
  --badge-bg: #FFB84D; --badge-ink: #10200A;
  --input-bg: #112419;
  --danger: #FF9C8A;
  --head: "Space Grotesk", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --radius: 10px; --radius-lg: 16px; --btn-radius: 10px;
  --wrap: 1180px; --gap: 20px;
  color-scheme: dark;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
.btn { font-family: var(--head); font-weight: 600; }
.ic { color: var(--brand); }
.topbar { background: #0A1612; color: var(--muted); font-size: .85rem; border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; } .topbar .ic { width: 16px; height: 16px; color: var(--eyebrow); }
.topbar a { color: var(--brand); font-weight: 700; text-decoration: none; }
@media (max-width: 600px) { .topbar span { display: none; } .topbar .wrap { justify-content: center; } }
.header { background: var(--bg); border-bottom: 1px solid var(--line); }
.header > .wrap { min-height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; }
.logo span { display: flex; align-items: baseline; gap: 5px; }
.logo b { font: 700 1.25rem var(--head); } .logo small { font: 500 1.05rem var(--head); color: var(--brand); }
.nav { padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.nav a { color: var(--muted); font-weight: 600; font-size: .94rem; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { background: var(--brand); color: var(--brand-ink); }
.nav-toggle { border-color: var(--line-strong); }
@media (max-width: 960px) { .nav { padding: 8px 16px 20px; border-radius: 0 0 16px 16px; } .nav-open .nav { background: var(--surface); } .nav-open .nav a[aria-current="page"] { border-radius: 8px; } }
.hero { padding-block: clamp(32px, 6vw, 84px); background: radial-gradient(700px 360px at 90% 10%, #1f4a2c, transparent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); margin: 12px 0 16px; }
.hero .t-actions { margin-top: 24px; }
.meter-card { display: grid; gap: 6px; padding: clamp(20px, 3vw, 30px); background: var(--brand); color: #10200A; border-radius: 22px; transform: rotate(-1.5deg); box-shadow: 0 26px 60px -30px #b8f24c88; }
.meter-card p { font-weight: 700; } .meter-card b { font: 700 clamp(2.8rem, 6vw, 4.2rem)/1 var(--head); } .meter-card span { font-size: .9rem; }
.meter-card .mt { height: 14px; border-radius: 99px; background: rgba(16, 32, 10, .2); margin-top: 8px; overflow: hidden; } .meter-card .mt i { display: block; height: 100%; background: #10200A; border-radius: inherit; }
.tiles-band { background: #0B1913; border-block: 1px solid var(--line); }
.sec-tiles { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.sec-tiles li { display: grid; gap: 4px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.sec-tiles b { font: 700 1rem var(--head); color: var(--eyebrow); letter-spacing: .04em; }
.sec-tiles strong { font: 700 1.7rem/1.1 var(--head); color: var(--brand); }
.sec-tiles span { color: var(--muted); font-size: .9rem; }
.note { margin-top: 14px; color: var(--muted); font-size: .88rem; }
.c-card { background: var(--surface); }
.c-card:hover { border-color: var(--brand); }
.c-filters button { background: var(--surface); }
.c-filters button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.c-facts, .c-facts div { background: var(--soft); }
.page-head { background: linear-gradient(180deg, #12281e, transparent); }
.tool-out .out-total { color: #10200A; }
.tool-out .out-lines div { border-color: rgba(16, 32, 10, .25); }
.chart-card { background: var(--surface); }
.rooms { list-style: none; display: grid; gap: 14px; }
.rooms li { display: grid; gap: 5px; }
.rooms span { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; flex-wrap: wrap; }
.rooms em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.rooms small { color: var(--muted); }
.meter { height: 10px; border-radius: 99px; background: #0B1913; overflow: hidden; border: 1px solid var(--line); }
.meter i { display: block; height: 100%; background: var(--brand); border-radius: inherit; }
.numbers-band { background: var(--soft); }
.values li { border-top-color: var(--eyebrow); }
.cta-band { padding-block: clamp(44px, 6vw, 76px); background: var(--brand); color: #10200A; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
.cta-band p { margin-top: 6px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: #10200A; color: var(--brand); }
.cta-band .btn-ghost { color: #10200A; border-color: #10200A; }
.footer { background: #08130F; color: var(--muted); --footer-line: var(--line); }
.footer .logo b, .footer h2 { color: var(--ink); }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: var(--brand); }
