/* GXPOL homepage v2 (product-led), from the 13 October concept
   docs/reviews/2026-10-09/concept/gxpol-home-v2.html. Loaded by index.html
   only. Colours come from tokens.css via site.css; the extra surface tones
   below are homepage-only. Classes that clash with site.css carry an h- prefix.
   Copy on the page is placeholder pending the founder's copy review. */
:root {
  --tint: #f1efea; --petrol-soft: #dcebe9; --chrome-2: #18383c;
  --shadow: 0 1px 2px rgba(17,41,44,.06), 0 12px 32px -12px rgba(17,41,44,.22);
}
[data-theme="dark"] {
  --tint: #172729; --petrol-soft: #1f3b3d; --chrome-2: #15292b;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 34px -12px rgba(0,0,0,.6);
}
:where(main.home) :where(h1, h2, h3) { font-family: var(--f-display); margin: 0; text-wrap: balance; }
:where(main.home) :where(p) { margin: 0; }
.btn-ghost { border-color: var(--rule-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--note); color: var(--ink); }
.kicker { font: 600 .75rem/1.4 var(--f-data); letter-spacing: .12em; text-transform: uppercase; color: var(--petrol); }

/* hero */
.h-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 80px); overflow: hidden; }
.h-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.h-hero h1 { font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.02; letter-spacing: -.025em; }
.h-hero h1 span { color: var(--petrol); }
.h-lede { font-size: 1.1875rem; color: var(--ink-2); max-width: 33rem; margin-top: 22px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.h-for { margin-top: 28px; font-size: .875rem; color: var(--ink-3); }

/* product cards (shared) */
.h-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; box-shadow: var(--shadow); }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--rule); font: 500 .75rem/1.3 var(--f-data); color: var(--ink-3); }
.card-b { padding: 16px; }
.h-track { position: relative; height: 10px; border-radius: 2px; background:
  linear-gradient(90deg, color-mix(in srgb, var(--r-on) 16%, transparent) 0 40%, color-mix(in srgb, var(--r-con) 16%, transparent) 40% 48%, color-mix(in srgb, var(--r-neu) 18%, transparent) 48% 54%, color-mix(in srgb, var(--r-off) 18%, transparent) 54% 65%, color-mix(in srgb, var(--r-cri) 16%, transparent) 65% 100%); }
.h-dot { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ink); border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--ink); }
.h-dot.hollow { background: var(--surface); box-shadow: 0 0 0 2px var(--ink); }
.h-chip { display: inline-block; font: 500 .75rem/1.2 var(--f-body); padding: 3px 8px; border-radius: 3px; border: 1px solid var(--rule); color: var(--ink-2); background: var(--tint); }
.h-chip.h-gap { border-style: dashed; border-color: var(--rule-strong); background: transparent; }

/* hero stack */
.stack { position: relative; min-height: 530px; }
.stack .c1 { position: absolute; left: 0; top: 0; width: 82%; }
.stack .c2 { position: absolute; right: 0; top: 262px; width: 62%; z-index: 2; }
.stack .c3 { position: absolute; left: 0; top: 326px; width: 34%; z-index: 1; }
.h-rows { display: grid; gap: 9px; }
.h-row { display: grid; grid-template-columns: 2.6rem minmax(0,1fr) 2.8rem; gap: 10px; align-items: center; font: 600 .8125rem/1 var(--f-data); }
.h-row .h-v { text-align: right; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: .6875rem; color: var(--ink-3); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
.dec .who { display: flex; justify-content: space-between; font-size: .75rem; color: var(--ink-3); }
.dec .what { font-weight: 600; margin-top: 8px; }
.dec .why { font-size: .875rem; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
.dec .att { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rule); font: 500 .6875rem/1.4 var(--f-data); color: var(--ink-3); }
.stance { display: inline-block; font: 600 .6875rem/1 var(--f-body); letter-spacing: .04em; padding: 4px 7px; border-radius: 3px; background: var(--petrol-soft); color: var(--petrol); }
.pack .pg { aspect-ratio: 4 / 3; background: var(--tint); border-radius: 4px; padding: 12px; display: grid; gap: 6px; align-content: start; }
.pack .ln { height: 6px; border-radius: 2px; background: var(--rule); }
.pack .ln.h-s { width: 60%; } .pack .ln.t { height: 10px; width: 70%; background: var(--ink-3); opacity: .5; }
.caption { margin-top: 18px; font-size: .75rem; color: var(--ink-3); text-align: right; }

/* sections */
main.home > section { padding-block: clamp(56px, 8vw, 104px); }
main.home > section.tint { background: var(--tint); }
.sec-h { max-width: 46rem; }
.sec-h h2 { font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.08; letter-spacing: -.02em; margin-top: 12px; }
.sec-h p { color: var(--ink-2); font-size: 1.0625rem; margin-top: 16px; max-width: 40rem; }

/* problem */
.problem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.problem h2 { font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.08; letter-spacing: -.02em; }
.problem p { color: var(--ink-2); font-size: 1.0625rem; }
.problem p + p { margin-top: 14px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.step { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.step .h-n { font: 600 .8125rem/1 var(--f-data); color: var(--petrol); }
.step h3 { font-size: 1.25rem; font-weight: 600; }
.step p { color: var(--ink-2); font-size: .9375rem; }
.step .h-card { margin-top: 6px; }
.mini-row { display: flex; justify-content: space-between; align-items: center; font-size: .8125rem; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.mini-row:last-child { border-bottom: 0; }

/* modules */
.mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; margin-top: 48px; }
.mod { background: var(--surface); padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mod h3 { font-size: 1.0625rem; font-weight: 600; }
.mod p { color: var(--ink-2); font-size: .9375rem; }
.mod .soon { align-self: flex-start; font: 600 .6875rem/1 var(--f-data); letter-spacing: .06em; color: var(--ink-3); border: 1px solid var(--rule); padding: 4px 6px; border-radius: 3px; }
.mod .h-eg { margin-top: auto; padding-top: 10px; font: 500 .75rem/1.5 var(--f-data); color: var(--ink-3); }

/* trust */
main.home > section.dark { background: var(--chrome); color: var(--chrome-ink); }
main.home > section.dark .kicker { color: #8fd0ca; }
main.home > section.dark .sec-h p { color: var(--chrome-ink-2); }
.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; margin-top: 8px; }
.proofs { display: grid; gap: 18px; margin-top: 32px; }
.proof { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.proof svg { margin-top: 3px; }
.proof b { display: block; font-weight: 600; }
.proof span { color: var(--chrome-ink-2); font-size: .9375rem; }
.h-ledger { display: grid; gap: 12px; }
.h-ledger .h-card { box-shadow: none; }
.h-ledger .h-big { font: 600 2rem/1 var(--f-data); margin-top: 8px; }
.h-ledger .meta { font-size: .8125rem; color: var(--ink-3); margin-top: 8px; }

/* audiences */
.aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 44px; }
.aud div { border-top: 2px solid var(--ink); padding-top: 16px; }
.aud h3 { font-size: 1.125rem; font-weight: 600; }
.aud p { color: var(--ink-2); font-size: .9375rem; margin-top: 8px; }

/* close */
.h-close-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.h-close-in h2 { font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.02em; line-height: 1.08; max-width: 20ch; }
.h-close-in p { color: var(--ink-2); margin-top: 12px; max-width: 34rem; }
@media (max-width: 980px) {
  .h-hero-grid, .problem, .trust { grid-template-columns: 1fr; }
  .steps, .mods, .aud { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stack { min-height: 0; display: grid; gap: 14px; }
  .stack .c1, .stack .c2, .stack .c3 { position: static; width: 100%; }
  .stack .c3 { display: none; }
}

/* 2.5.0: the hero card shows stress percentiles. Neutral ink, no bands. */
.h-bar { position: relative; height: 10px; border-radius: 2px; background: color-mix(in srgb, var(--ink) 8%, transparent); overflow: hidden; }
.h-fill { position: absolute; inset: 0 auto 0 0; background: var(--ink-2); border-radius: 2px; }
.h-row { grid-template-columns: 2.6rem minmax(0,1fr) 5.6rem; }
.h-row .h-v small { font: 500 .6875rem/1 var(--f-body); color: var(--ink-3); margin-left: 6px; }
.h-key { margin-top: 12px; font-size: .6875rem; color: var(--ink-3); }
main.home > section.last-week { padding-block: 0 clamp(40px, 6vw, 72px); }
.lw-card { max-width: 46rem; }
.h-ledger .h-big { color: var(--ink); }
