/* ==========================================================================
   NICHOLS SALES, INC. — Design System
   Brand: Holly #002418 · Money Green #0E964E · Black
   Type:  Montserrat (display/UI, per brand guidelines) + Satoshi (body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --holly:        #002418;
  --holly-800:    #05372a;
  --holly-700:    #0a4a37;
  --money:        #0E964E;
  --money-600:    #0b7f42;
  --money-300:    #6fce9c;
  --money-100:    #e3f5ea;

  /* Neutrals */
  --ink:          #0c1310;
  --slate-900:    #16211c;
  --slate-700:    #3d4a44;
  --slate-500:    #6b7873;
  --slate-400:    #8e9a95;
  --slate-300:    #c3ccc8;
  --slate-200:    #e2e8e5;
  --slate-100:    #f0f3f2;
  --paper:        #fafbfa;
  --white:        #ffffff;

  /* Semantic (light) */
  --bg:           var(--paper);
  --bg-elev:      var(--white);
  --bg-sunk:      var(--slate-100);
  --fg:           var(--ink);
  --fg-muted:     var(--slate-500);
  --fg-soft:      var(--slate-700);
  --border:       var(--slate-200);
  --border-strong:var(--slate-300);
  --accent:       var(--money-600);
  --accent-fg:    #ffffff;
  --shadow-sm:    0 1px 2px rgba(0,36,24,.06), 0 1px 3px rgba(0,36,24,.04);
  --shadow-md:    0 4px 16px rgba(0,36,24,.07), 0 1px 3px rgba(0,36,24,.05);
  --shadow-lg:    0 24px 60px rgba(0,36,24,.12), 0 4px 12px rgba(0,36,24,.06);

  /* Type scale */
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Satoshi', 'Montserrat', system-ui, sans-serif;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.0625rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --text-4xl:  clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  --text-hero: clamp(2.6rem, 1.4rem + 5.2vw, 5.5rem);

  /* Space */
  --sp-1: .25rem;  --sp-2: .5rem;   --sp-3: .75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;    --sp-10: 8rem;
  --section-y: clamp(4rem, 3rem + 5vw, 8rem);

  --radius:    10px;
  --radius-lg: 18px;
  --maxw:      1200px;
  --maxw-text: 46rem;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

[data-theme="dark"] {
  --bg:            #05100c;
  --bg-elev:       #0a1a14;
  --bg-sunk:       #030b08;
  --fg:            #eef3f0;
  --fg-muted:      #93a49c;
  --fg-soft:       #bcc9c3;
  --border:        #1b2f26;
  --border-strong: #294439;
  --accent:        #22b866;
  --accent-fg:     #04150d;
  --shadow-sm:     0 1px 2px rgba(0,0,0,.5);
  --shadow-md:     0 4px 16px rgba(0,0,0,.5);
  --shadow-lg:     0 24px 60px rgba(0,0,0,.6);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--money-300); color: var(--holly); }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); letter-spacing: -0.01em; line-height: 1.25; }
h4 { font-size: var(--text-base); letter-spacing: 0; }
p  { text-wrap: pretty; }
.lede { font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); line-height: 1.5; color: var(--fg-soft); }
.small { font-size: var(--text-sm); }
.muted { color: var(--fg-muted); }
.mono-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.mono-label.on-dark { color: var(--money-300); }
.disclaimer {
  font-size: var(--text-xs);
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 60ch;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.wrap-narrow { max-width: 56rem; }
.section { padding-block: var(--section-y); }
.section-sunk { background: var(--bg-sunk); }
.section-dark { background: var(--holly); color: #eef3f0; }
.section-dark h1,.section-dark h2,.section-dark h3 { color: #fff; }
.section-dark .lede,.section-dark p { color: #bfd3c9; }
.section-dark .muted { color: #8fa89d; }
.section-dark .disclaimer { color: #7f978c; }
.stack > * + * { margin-top: var(--sp-4); }
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.g-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.section-head { max-width: 54rem; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.section-head .mono-label { display: block; margin-bottom: var(--sp-4); }
.section-head h2 + .lede { margin-top: var(--sp-4); }
.divider { height: 1px; background: var(--border); border: 0; }

@media (max-width: 900px) {
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .g-2, .g-3, .g-4, .split { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent); --btn-fg: var(--accent-fg); --btn-bd: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm);
  letter-spacing: .02em;
  padding: .85em 1.6em; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  cursor: pointer; text-align: center;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(14,150,78,.28); }
.btn:active { transform: translateY(0); }
.btn-lg { font-size: var(--text-base); padding: 1em 2em; }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--fg); --btn-bd: var(--border-strong); }
.btn-outline:hover { --btn-bd: var(--accent); --btn-fg: var(--accent); box-shadow: none; }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); }
.btn-ghost-light:hover { --btn-bd: #fff; --btn-bg: rgba(255,255,255,.08); box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.link-arrow {
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm);
  color: var(--accent); display: inline-flex; align-items: center; gap: .4em;
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: var(--sp-5); min-height: 74px; }
.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.brand .logo-dark { display: block; }
.brand .logo-light { display: none; }
[data-theme="dark"] .brand .logo-dark { display: none; }
[data-theme="dark"] .brand .logo-light { display: block; }

.nav { margin-left: auto; display: flex; align-items: center; gap: var(--sp-1); }
.nav a.nav-link {
  font-family: var(--font-display); font-weight: 600; font-size: .8125rem;
  letter-spacing: .02em; padding: .55em .7em; border-radius: 8px;
  color: var(--fg-soft); white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a.nav-link:hover, .nav a.nav-link[aria-current="page"] { color: var(--accent); background: var(--bg-sunk); }
.header-actions { display: flex; align-items: center; gap: var(--sp-3); margin-left: var(--sp-4); }
.theme-toggle {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 999px; background: transparent; cursor: pointer;
  color: var(--fg-muted); flex: none;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
.menu-btn { display: none; width: 42px; height: 42px; place-items: center; border: 1px solid var(--border); border-radius: 10px; background: transparent; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--fg); position: relative; }
.menu-btn span::before, .menu-btn span::after { content:''; position:absolute; left:0; width:18px; height:1.5px; background: var(--fg); }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }

@media (max-width: 1120px) {
  .nav { display: none; }
  .menu-btn { display: grid; margin-left: auto; }
  .header-actions { margin-left: var(--sp-2); }
  .header-actions .btn { display: none; }
}
.mobile-nav {
  display: none; border-bottom: 1px solid var(--border); background: var(--bg-elev);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; padding: var(--sp-4) 0 var(--sp-6); margin: 0; }
.mobile-nav a {
  display: block; padding: .8em clamp(1.25rem, 4vw, 2.5rem);
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-base);
  border-bottom: 1px solid var(--border);
}
.mobile-nav .btn { margin: var(--sp-4) clamp(1.25rem,4vw,2.5rem) 0; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--holly); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(0,36,24,.95) 0%, rgba(0,36,24,.84) 34%, rgba(0,36,24,.34) 66%, rgba(0,36,24,.5) 100%),
    linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 40%);
}
.hero-inner { position: relative; padding-block: clamp(5rem, 6vw + 2rem, 9.5rem); max-width: 60rem; }
.hero h1 {
  font-size: var(--text-hero); font-weight: 800; letter-spacing: -0.035em;
  line-height: .98; text-transform: uppercase; color: #fff;
}
.hero h1 .em { color: var(--money-300); display: block; }
.hero .lede { color: #cfe0d7; max-width: 40rem; margin-top: var(--sp-5); }
.hero .btn-row { margin-top: var(--sp-6); }
.hero-strip {
  position: relative; border-top: 1px solid rgba(255,255,255,.14);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero-strip div { padding: var(--sp-5) 0; border-right: 1px solid rgba(255,255,255,.1); }
.hero-strip div:last-child { border-right: 0; }
.hero-strip dt { font-family: var(--font-display); font-size: var(--text-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7fa694; }
.hero-strip dd { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; color: #fff; margin: .35rem 0 0; }
@media (max-width: 780px) { .hero-strip { grid-template-columns: repeat(2,1fr); } .hero-strip div:nth-child(2){border-right:0} }

/* ---------- Page header (interior) ---------- */
.page-hero { background: var(--holly); color: #fff; padding-block: clamp(3.5rem, 5vw, 6rem); }
.page-hero h1 { color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; max-width: 44rem; }
.page-hero .lede { color: #cfe0d7; max-width: 42rem; margin-top: var(--sp-4); }
.breadcrumb { font-family: var(--font-display); font-size: var(--text-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #7fa694; margin-bottom: var(--sp-4); }
.breadcrumb a:hover { color: var(--money-300); }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card-link:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: var(--sp-3); }
.card p { color: var(--fg-muted); font-size: var(--text-base); }
.card .link-arrow { margin-top: var(--sp-4); }
.card-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--bg-elev); display: flex; flex-direction: column; }
.card-media img { aspect-ratio: 16/10; object-fit: cover; width: 100%; transition: transform .6s var(--ease); }
.card-media:hover img { transform: scale(1.03); }
.card-media-body { padding: clamp(1.35rem, 2.2vw, 2rem); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.card-media-body .link-arrow { margin-top: auto; }
.section-dark .card { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.14); }
.section-dark .card p { color: #a8bdb3; }
.section-dark .card-link:hover { border-color: var(--money-300); }

/* numbered list cards */
.numlist { counter-reset: n; list-style: none; padding: 0; }
.numlist li { counter-increment: n; display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); padding: var(--sp-5) 0; border-top: 1px solid var(--border); }
.numlist li::before {
  content: counter(n, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm);
  color: var(--accent); letter-spacing: .06em; padding-top: .3em;
}
.numlist h3 { font-size: var(--text-lg); margin-bottom: var(--sp-2); }
.numlist p { color: var(--fg-muted); font-size: var(--text-base); }
.section-dark .numlist li { border-color: rgba(255,255,255,.14); }
.section-dark .numlist li::before { color: var(--money-300); }

/* ---------- Contrast (cost) blocks ---------- */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.contrast > div { padding: clamp(1.75rem, 3vw, 2.75rem); }
.contrast > div:first-child { background: var(--bg-sunk); border-right: 1px solid var(--border); }
.contrast h3 { font-size: var(--text-base); text-transform: uppercase; letter-spacing: .1em; color: var(--fg-muted); margin-bottom: var(--sp-5); }
.contrast > div:last-child h3 { color: var(--accent); }
.contrast ul { list-style: none; padding: 0; display: grid; gap: var(--sp-4); }
.contrast li { font-size: var(--text-base); display: grid; grid-template-columns: auto 1fr; gap: .8em; align-items: start; line-height: 1.5; }
.contrast li i { width: 18px; height: 18px; margin-top: .28em; flex: none; }
@media (max-width: 700px) { .contrast { grid-template-columns: 1fr; } .contrast > div:first-child { border-right: 0; border-bottom: 1px solid var(--border); } }

/* ---------- Chain / flow ---------- */
.chain { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--sp-3); }
.chain-step {
  flex: 1 1 0; min-width: 130px; padding: var(--sp-5) var(--sp-4);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-elev); position: relative;
}
.chain-step .n { font-family: var(--font-display); font-size: var(--text-xs); font-weight: 700; letter-spacing: .14em; color: var(--accent); }
.chain-step h4 { font-family: var(--font-display); font-size: var(--text-base); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin: .5rem 0 .35rem; }
.chain-step p { font-size: var(--text-sm); color: var(--fg-muted); line-height: 1.5; }
.section-dark .chain-step { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.14); }
.section-dark .chain-step .n { color: var(--money-300); }
.section-dark .chain-step p { color: #a8bdb3; }

/* ---------- Stats ---------- */
.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 0; border-top: 1px solid var(--border); }
.statgrid > div { padding: var(--sp-6) var(--sp-5) var(--sp-6) 0; border-bottom: 1px solid var(--border); }
.statgrid .figure { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem,1.4rem+1.6vw,2.6rem); letter-spacing: -.03em; line-height: 1; color: var(--fg); }
.statgrid .label { font-size: var(--text-sm); color: var(--fg-muted); margin-top: var(--sp-3); line-height: 1.5; }
.statgrid .label a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.section-dark .statgrid, .section-dark .statgrid > div { border-color: rgba(255,255,255,.14); }
.section-dark .statgrid .figure { color: #fff; }
.section-dark .statgrid .label { color: #9db3a9; }
.section-dark .statgrid .label a { color: var(--money-300); }

/* ---------- Progressive disclosure ---------- */
details.spec { border-top: 1px solid var(--border); }
details.spec summary {
  cursor: pointer; list-style: none; padding: var(--sp-4) 0;
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm);
  color: var(--accent); display: flex; align-items: center; gap: .6em;
}
details.spec summary::-webkit-details-marker { display: none; }
details.spec summary::after { content: '+'; margin-left: auto; font-size: 1.1rem; line-height: 1; color: var(--fg-muted); }
details.spec[open] summary::after { content: '–'; }
details.spec .spec-body { padding-bottom: var(--sp-5); }
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.spec-table th, .spec-table td { text-align: left; padding: .7em 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table th { font-family: var(--font-display); font-weight: 600; color: var(--fg-muted); width: 42%; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4) var(--sp-5); }
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-size: var(--text-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); }
.field input, .field select, .field textarea {
  padding: .8em 1em; border: 1px solid var(--border-strong); border-radius: var(--radius);
  background: var(--bg-elev); color: var(--fg); font-size: var(--text-base); width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,150,78,.14);
}
.field textarea { min-height: 130px; resize: vertical; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-note { font-size: var(--text-xs); color: var(--fg-muted); }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: clamp(2rem,4vw,4rem); align-items: start; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc-inputs { display: grid; gap: var(--sp-6); }
.calc-field label { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-3); font-family: var(--font-display); font-size: var(--text-sm); font-weight: 600; }
.calc-field .val { color: var(--accent); font-variant-numeric: tabular-nums; }
.calc-field .hint { font-size: var(--text-xs); color: var(--fg-muted); margin-top: .4rem; display: block; line-height: 1.5; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 3px; margin-top: .9rem;
  background: var(--border-strong); border-radius: 99px; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg-elev); box-shadow: var(--shadow-sm); cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: var(--accent);
  border: 3px solid var(--bg-elev); cursor: grab;
}
.seg { display: flex; gap: 0; border: 1px solid var(--border-strong); border-radius: 999px; padding: 3px; margin-top: .6rem; }
.seg button {
  flex: 1; border: 0; background: transparent; border-radius: 999px; padding: .55em .5em; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-xs); letter-spacing: .04em;
  color: var(--fg-muted); transition: background .25s var(--ease), color .25s var(--ease);
}
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-fg); }
.calc-results { background: var(--holly); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.75rem,3vw,2.75rem); position: sticky; top: 96px; }
[data-theme="dark"] .calc-results { background: #071c14; border: 1px solid var(--border); }
.calc-results .mono-label { color: var(--money-300); }
.calc-headline { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem,1.6rem+2.6vw,3.6rem); letter-spacing: -.035em; line-height: 1; color: #fff; margin: var(--sp-4) 0 var(--sp-2); font-variant-numeric: tabular-nums; }
.calc-sub { color: #a8c4b7; font-size: var(--text-sm); }
.calc-lines { list-style: none; padding: 0; margin: var(--sp-6) 0 0; display: grid; gap: 0; }
.calc-lines li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-4); padding: .85em 0; border-top: 1px solid rgba(255,255,255,.14); font-size: var(--text-sm); }
.calc-lines .k { color: #a8c4b7; }
.calc-lines .v { font-family: var(--font-display); font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.calc-lines li.total .k { color: #fff; font-family: var(--font-display); font-weight: 600; }
.calc-lines li.total .v { color: var(--money-300); font-size: var(--text-lg); }
.calc-results .disclaimer { color: #7f978c; margin-top: var(--sp-5); }
.calc-results .btn-row { margin-top: var(--sp-5); }

/* ---------- Finder ---------- */
.finder { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-elev); overflow: hidden; }
.finder-progress { display: flex; border-bottom: 1px solid var(--border); }
.finder-progress div { flex: 1; padding: var(--sp-4) var(--sp-3); text-align: center; font-family: var(--font-display); font-size: var(--text-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted); border-right: 1px solid var(--border); position: relative; }
.finder-progress div:last-child { border-right: 0; }
.finder-progress div[data-state="active"] { color: var(--accent); }
.finder-progress div[data-state="active"]::after { content:''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
.finder-progress div[data-state="done"] { color: var(--fg-soft); }
.finder-body { padding: clamp(1.75rem,3.5vw,3rem); }
.finder-step { display: none; }
.finder-step.active { display: block; animation: fadeUp .4s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.finder-q { font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xl); letter-spacing: -.02em; margin-bottom: var(--sp-5); }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: var(--sp-3); }
.opt {
  text-align: left; padding: var(--sp-5); border: 1px solid var(--border-strong); border-radius: var(--radius);
  background: transparent; cursor: pointer; transition: all .25s var(--ease);
}
.opt:hover { border-color: var(--accent); background: var(--bg-sunk); transform: translateY(-2px); }
.opt strong { display: block; font-family: var(--font-display); font-size: var(--text-base); margin-bottom: .3rem; }
.opt span { font-size: var(--text-sm); color: var(--fg-muted); line-height: 1.45; }
.finder-nav { margin-top: var(--sp-6); display: flex; gap: var(--sp-3); align-items: center; }
.finder-result { border: 1px solid var(--accent); border-radius: var(--radius); padding: clamp(1.5rem,3vw,2.25rem); background: var(--money-100); }
[data-theme="dark"] .finder-result { background: rgba(14,150,78,.1); }
.finder-result h3 { color: var(--accent); }
.recap { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.chip { font-family: var(--font-display); font-size: var(--text-xs); font-weight: 600; letter-spacing: .04em; padding: .4em .85em; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--fg-soft); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; }
.timeline li { display: grid; grid-template-columns: 8rem 1fr; gap: var(--sp-5); padding: var(--sp-5) 0; border-top: 1px solid var(--border); }
.timeline .era { font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); letter-spacing: .06em; color: var(--accent); text-transform: uppercase; }
.timeline h3 { font-size: var(--text-lg); margin-bottom: var(--sp-2); }
.timeline p { color: var(--fg-muted); font-size: var(--text-base); }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; gap: var(--sp-2); } }

/* ---------- Placeholder / pending-content note ---------- */
.pending {
  border: 1px dashed var(--border-strong); border-radius: var(--radius);
  padding: var(--sp-5); background: var(--bg-sunk);
}
.pending .mono-label { color: var(--fg-muted); display: block; margin-bottom: var(--sp-2); }
.pending p { font-size: var(--text-sm); color: var(--fg-muted); }
.section-dark .pending { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.22); }

/* ---------- Media band ---------- */
.band { position: relative; min-height: clamp(320px, 40vw, 520px); display: grid; align-items: end; overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content:''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,36,24,.95) 5%, rgba(0,36,24,.45) 55%, rgba(0,36,24,.15) 100%); }
.band-inner { position: relative; padding-block: clamp(2.5rem,5vw,4.5rem); color: #fff; }
.band-inner h2 { color: #fff; max-width: 34rem; }
.band-inner p { color: #cfe0d7; max-width: 34rem; margin-top: var(--sp-4); }

/* ---------- CTA ---------- */
.cta-final { background: var(--holly); color: #fff; text-align: center; }
.cta-final h2 { color: #fff; font-size: var(--text-4xl); font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; max-width: 34rem; margin-inline: auto; }
.cta-final .lede { color: #bfd3c9; max-width: 38rem; margin: var(--sp-5) auto 0; }
.cta-final .btn-row { justify-content: center; margin-top: var(--sp-6); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-sunk); border-top: 1px solid var(--border); padding-block: var(--sp-8) var(--sp-6); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(1.5rem,3vw,3rem); }
.site-footer .brand img { height: 30px; }
.site-footer h4 { font-family: var(--font-display); font-size: var(--text-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: var(--sp-4); }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
.site-footer a { font-size: var(--text-sm); color: var(--fg-soft); }
.site-footer a:hover { color: var(--accent); }
.footer-contact { font-size: var(--text-sm); color: var(--fg-soft); margin-top: var(--sp-4); line-height: 1.7; }
.footer-bottom { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; font-size: var(--text-xs); color: var(--fg-muted); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.mt-0 { margin-top: 0; } .mt-5 { margin-top: var(--sp-5); } .mt-6 { margin-top: var(--sp-6); } .mt-7 { margin-top: var(--sp-7); }
.tac { text-align: center; }
.rounded-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: var(--sp-4); top: var(--sp-4); z-index: 200; background: var(--accent); color: #fff; padding: .6em 1em; border-radius: 8px; }

/* Launch build: internal 'content to confirm' notes are hidden from visitors. Remove this rule to show them again. */
.pending { display: none !important; }
