/* ==========================================================================
   Temperature Monitoring | bespoke site (tempmonitoring.com.au)
   "One engine, every cold thing." Editorial HUB register.
   Identity: deep indigo/slate base + a restrained teal accent, with a warm
   amber used only for breach/alert. Display = Newsreader (serif), body = Inter,
   readings in a mono face. Sticky "command panel" scrollytelling that re-frames
   to a different environment per beat. Self-contained; no build step.
   Distinct from fall (no teal/coral warmth, no Fraunces, no phone-day concept)
   and from coolroom (no midnight-alarm feel): this one is calm and premium.
   ========================================================================== */
:root{
  /* base: deep indigo/slate */
  --bg:        oklch(0.984 0.004 255);
  --bg-2:      oklch(0.962 0.008 250);
  --paper:     oklch(1 0 0);
  --ink:       oklch(0.26 0.035 264);
  --ink-soft:  oklch(0.40 0.030 262);
  --muted:     oklch(0.52 0.026 260);
  --line:      oklch(0.90 0.012 258);

  /* indigo/slate brand spine */
  --indigo:    oklch(0.42 0.115 268);
  --indigo-ink:oklch(0.36 0.110 268);
  --night:     oklch(0.235 0.055 266);
  --night-2:   oklch(0.285 0.060 266);

  /* cool teal accent (the "in range" / system colour) */
  --teal:      oklch(0.66 0.105 205);
  --teal-ink:  oklch(0.52 0.095 207);
  --teal-soft: oklch(0.94 0.028 200);

  /* restrained amber, reserved for breach / out-of-range only */
  --amber:     oklch(0.74 0.155 70);
  --amber-ink: oklch(0.60 0.150 60);

  --on-dark:   oklch(0.96 0.010 255);
  --on-dark-soft: oklch(0.82 0.018 255);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;

  --maxw: 1180px;
  --gutter: clamp(1.15rem, 5vw, 5rem);
  --radius: 16px; --radius-lg: 26px; --radius-sm: 11px;
  --shadow: 0 2px 6px oklch(0.26 0.05 264 / .06), 0 26px 60px -26px oklch(0.26 0.06 264 / .30);
  --shadow-sm: 0 1px 3px oklch(0.26 0.05 264 / .07), 0 12px 28px -18px oklch(0.26 0.06 264 / .24);

  --z-nav:200;
  --ease: cubic-bezier(.16,1,.3,1);
}
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
  margin:0; background:var(--bg); color:var(--ink); font-family:var(--sans);
  font-size:clamp(1.02rem,.99rem + .18vw,1.13rem); line-height:1.65;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,svg{ max-width:100%; display:block; }
a{ color:var(--teal-ink); }
::selection{ background:oklch(0.66 0.105 205 / .26); }

h1,h2,h3{ font-family:var(--serif); font-weight:480; line-height:1.06;
  letter-spacing:-0.012em; text-wrap:balance; margin:0; color:var(--ink);
  font-optical-sizing:auto; overflow-wrap:anywhere; }
h1{ font-size:clamp(2.5rem,1.7rem + 3.8vw,4.7rem); }
h2{ font-size:clamp(1.95rem,1.4rem + 2.4vw,3.2rem); }
h3{ font-size:clamp(1.22rem,1.06rem + .8vw,1.6rem); }
p{ margin:0; text-wrap:pretty; overflow-wrap:anywhere; }
.lead{ font-size:clamp(1.16rem,1.04rem + .58vw,1.46rem); line-height:1.5; color:var(--ink-soft); }

.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }
.measure{ max-width:62ch; }
.skip{ position:absolute; left:-999px; }
.skip:focus{ left:1rem; top:1rem; z-index:999; background:var(--night); color:#fff; padding:.7rem 1rem; border-radius:8px; }
:where(a,button,summary):focus-visible{ outline:3px solid var(--teal); outline-offset:3px; border-radius:6px; }

/* ---------- buttons ---------- */
.btn{ display:inline-flex; align-items:center; gap:.5rem; font-family:var(--sans); font-weight:600; white-space:nowrap;
  font-size:1rem; line-height:1; padding:.92rem 1.5rem; border-radius:999px; border:1.5px solid transparent;
  text-decoration:none; cursor:pointer; transition:transform .4s var(--ease), background-color .25s, box-shadow .4s, border-color .25s; }
.btn--primary{ background:var(--indigo); color:var(--on-dark); box-shadow:0 10px 26px -12px oklch(0.42 0.115 268 / .7); }
.btn--primary:hover{ background:var(--indigo-ink); transform:translateY(-2px); box-shadow:0 16px 36px -12px oklch(0.42 0.115 268 / .8); }
.btn--ghost{ background:transparent; color:var(--indigo-ink); border-color:var(--line); }
.btn--ghost:hover{ border-color:var(--indigo); transform:translateY(-2px); }
.btn--lg{ padding:1.08rem 1.85rem; font-size:1.06rem; }
.btn--on-dark{ background:var(--on-dark); color:var(--night); }
.btn--on-dark:hover{ background:#fff; transform:translateY(-2px); }
.textlink{ color:var(--teal-ink); font-weight:600; text-decoration:none; border-bottom:2px solid oklch(0.66 0.105 205 / .42); padding-bottom:1px; transition:border-color .25s, color .25s; }
.textlink:hover{ border-color:var(--teal); color:var(--indigo-ink); }
@media (prefers-reduced-motion: reduce){ .btn:hover,.btn--on-dark:hover{ transform:none; } }

/* ---------- header ---------- */
.nav{ position:sticky; top:0; z-index:var(--z-nav); background:oklch(0.984 0.004 255 / .82); backdrop-filter:blur(12px) saturate(1.3);
  border-bottom:1px solid transparent; transition:border-color .3s, background-color .3s; }
.nav.is-stuck{ border-color:var(--line); }
.nav__in{ display:flex; align-items:center; justify-content:space-between; min-height:70px; gap:1rem; flex-wrap:wrap; }
.brand{ display:inline-flex; align-items:center; gap:.6rem; text-decoration:none; color:var(--ink); font-family:var(--serif); font-weight:520; font-size:1.26rem; letter-spacing:-0.01em; min-width:0; }
.brand svg{ width:30px; height:30px; flex:none; }
.brand span{ overflow-wrap:anywhere; }
.nav__cta{ display:flex; align-items:center; gap:1.3rem; flex-wrap:wrap; }
.nav__cta a:not(.btn){ color:var(--ink-soft); text-decoration:none; font-weight:500; font-size:.96rem; }
.nav__cta a:not(.btn):hover{ color:var(--indigo-ink); }
.nav__cta a[aria-current="page"]{ color:var(--indigo-ink); }
@media (max-width:560px){ .nav__cta a:not(.btn){ display:none; } }

/* ---------- hero ---------- */
.hero{ position:relative; padding:clamp(3.2rem,2.6rem + 6vw,7.5rem) 0 clamp(2.6rem,2rem + 4vw,5rem); overflow:hidden; }
.hero::before{ content:""; position:absolute; inset:-30% -10% auto -10%; height:92%; z-index:-1;
  background:radial-gradient(58% 70% at 74% 14%, oklch(0.66 0.105 205 / .26), transparent 70%),
             radial-gradient(52% 60% at 10% 0%, oklch(0.42 0.115 268 / .20), transparent 66%);
  filter:blur(6px); }
.hero__in{ display:grid; grid-template-columns:1.08fr .92fr; gap:clamp(2rem,4vw,4.5rem); align-items:center; }
@media (max-width:920px){ .hero__in{ grid-template-columns:1fr; } }
.hero .kicker{ font-family:var(--sans); font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--teal-ink); font-size:.82rem; margin-bottom:1rem; display:inline-flex; align-items:center; gap:.5rem; }
.hero .kicker::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--teal); box-shadow:0 0 0 4px oklch(0.66 0.105 205 / .22); flex:none; }
.hero h1{ margin-bottom:1.2rem; }
.hero h1 em{ font-style:italic; color:var(--indigo-ink); font-weight:480; }
.hero .lead{ max-width:40ch; margin-bottom:1.9rem; }
.hero__cta{ display:flex; flex-wrap:wrap; gap:.9rem; align-items:center; }
.hero__reassure{ margin-top:1.9rem; display:flex; flex-wrap:wrap; gap:.5rem 1.3rem; color:var(--muted); font-size:.95rem; font-weight:500; }
.hero__reassure span{ display:inline-flex; align-items:center; gap:.45rem; min-width:0; }
.hero__reassure svg{ width:18px; height:18px; color:var(--teal-ink); flex:none; }

/* hero art: a compact live "command panel" card */
.hero__fig{ position:relative; justify-self:center; width:min(100%,420px); }
.panelcard{ background:var(--night); color:var(--on-dark); border-radius:var(--radius-lg); padding:1.2rem 1.2rem 1.35rem;
  box-shadow:var(--shadow); border:1px solid oklch(1 0 0 / .08); position:relative; overflow:hidden; }
.panelcard::before{ content:""; position:absolute; inset:0; pointer-events:none; z-index:0;
  background:radial-gradient(60% 50% at 85% 0%, oklch(0.66 0.105 205 / .22), transparent 70%); }
.panelcard > *{ position:relative; z-index:1; }
.panelcard__bar{ display:flex; align-items:center; gap:.5rem; font-size:.78rem; letter-spacing:.04em; text-transform:uppercase; color:var(--on-dark-soft); font-weight:600; margin-bottom:.9rem; }
.panelcard__bar .live{ width:8px; height:8px; border-radius:50%; background:var(--teal); box-shadow:0 0 0 4px oklch(0.66 0.105 205 / .25); flex:none; animation:pulse 2.6s var(--ease) infinite; }
@keyframes pulse{ 0%,100%{ box-shadow:0 0 0 3px oklch(0.66 0.105 205 / .3); } 50%{ box-shadow:0 0 0 7px oklch(0.66 0.105 205 / 0); } }
.readrow{ display:grid; grid-template-columns:repeat(3,1fr); gap:.55rem; }
.readtile{ background:oklch(1 0 0 / .07); border:1px solid oklch(1 0 0 / .12); border-radius:13px; padding:.7rem .65rem; min-width:0; }
.readtile .val{ font-family:var(--mono); font-weight:600; font-size:1.15rem; line-height:1.1; color:var(--on-dark); overflow-wrap:anywhere; }
.readtile .nm{ font-size:.74rem; color:var(--on-dark-soft); margin-top:.25rem; overflow-wrap:anywhere; }
.readtile .bar{ height:4px; border-radius:99px; background:oklch(1 0 0 / .14); margin-top:.55rem; overflow:hidden; }
.readtile .bar i{ display:block; height:100%; border-radius:99px; background:var(--teal); }
.readtile.is-breach{ background:oklch(0.74 0.155 70 / .16); border-color:oklch(0.74 0.155 70 / .42); }
.readtile.is-breach .val{ color:oklch(0.86 0.12 75); }
.readtile.is-breach .bar i{ background:var(--amber); }
.panelcard__alert{ margin-top:.85rem; display:flex; gap:.5rem; align-items:center; background:oklch(0.74 0.155 70 / .16);
  border:1px solid oklch(0.74 0.155 70 / .4); border-radius:12px; padding:.6rem .7rem; font-size:.82rem; color:oklch(0.9 0.08 78); }
.panelcard__alert svg{ width:16px; height:16px; flex:none; color:var(--amber); }
.hero__fig .clip{ position:absolute; top:-14px; right:-10px; background:var(--paper); box-shadow:var(--shadow-sm); border-radius:999px;
  padding:.45rem .85rem; display:inline-flex; gap:.4rem; align-items:center; font-size:.82rem; font-weight:600; color:var(--teal-ink); white-space:nowrap; }
.hero__fig .clip svg{ width:15px; height:15px; color:var(--teal-ink); flex:none; }
@media (max-width:920px){ .hero__fig{ width:min(94%,400px); } .hero__fig .clip{ right:0; } }

/* ---------- section rhythm ---------- */
.section{ padding:clamp(3.6rem,2.8rem + 4.5vw,7rem) 0; }
.section--tight{ padding-top:0; }
.section__head{ max-width:46ch; margin-bottom:clamp(2rem,3vw,3rem); }
.section__head h2{ margin-bottom:.85rem; }
.section__head p{ color:var(--ink-soft); font-size:1.12rem; }
.panelband{ background:var(--bg-2); }

/* ---------- story: sticky command panel + scrolling beats ---------- */
.story{ background:var(--night); color:var(--on-dark); position:relative; overflow:hidden; }
.story::before{ content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:radial-gradient(42% 30% at 82% 6%, oklch(0.66 0.105 205 / .20), transparent 70%),
             radial-gradient(46% 36% at 8% 96%, oklch(0.42 0.115 268 / .34), transparent 72%); }
.story .wrap{ position:relative; z-index:1; }
.story__intro{ max-width:44ch; padding-top:clamp(3.6rem,2.8rem + 4vw,6.5rem); padding-bottom:clamp(1rem,2vw,2.5rem); }
.story__intro h2{ color:var(--on-dark); margin-bottom:.9rem; }
.story__intro p{ color:var(--on-dark-soft); font-size:1.16rem; }
.story__intro .tag{ font-family:var(--sans); font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--teal); font-size:.8rem; margin-bottom:1rem; display:inline-flex; gap:.5rem; align-items:center; }
.story__intro .tag svg{ width:16px; height:16px; }

.story__cols{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(1.5rem,5vw,5rem); align-items:start; padding-bottom:clamp(2rem,4vw,4rem); }
@media (max-width:880px){ .story__cols{ grid-template-columns:1fr; } }
.story__stage{ position:sticky; top:0; height:100vh; display:flex; align-items:center; justify-content:center; order:2; }
@media (max-width:880px){ .story__stage{ height:auto; position:sticky; top:62px; padding:1rem 0 1.4rem; order:0; } }

/* the command panel (the re-framing centrepiece) */
.cmd{ width:min(420px,86vw); background:oklch(0.20 0.05 266); border-radius:var(--radius-lg); padding:1.3rem 1.3rem 1.45rem;
  box-shadow:0 40px 90px -34px #000, 0 0 0 1px oklch(1 0 0 / .07); position:relative; overflow:hidden; }
.cmd__head{ display:flex; align-items:center; justify-content:space-between; gap:.6rem; margin-bottom:1rem; }
.cmd__sys{ display:inline-flex; align-items:center; gap:.5rem; font-size:.74rem; letter-spacing:.05em; text-transform:uppercase; color:var(--on-dark-soft); font-weight:600; }
.cmd__sys .live{ width:8px; height:8px; border-radius:50%; background:var(--teal); box-shadow:0 0 0 4px oklch(0.66 0.105 205 / .25); flex:none; animation:pulse 2.6s var(--ease) infinite; }
.cmd__env{ font-size:.74rem; color:var(--on-dark-soft); font-weight:600; }
.cmd__stack{ position:relative; min-height:230px; }
.frame{ position:absolute; inset:0; opacity:0; transform:translateY(10px) scale(.99);
  transition:opacity .6s var(--ease), transform .6s var(--ease); pointer-events:none; }
.frame.is-active{ opacity:1; transform:none; pointer-events:auto; }
.frame__label{ font-family:var(--sans); font-weight:600; font-size:.9rem; color:var(--on-dark); display:flex; align-items:center; gap:.55rem; margin-bottom:.7rem; }
.frame__label .ic{ width:34px; height:34px; flex:none; border-radius:10px; background:oklch(1 0 0 / .1); display:grid; place-items:center; color:var(--teal); }
.frame__label .ic svg{ width:19px; height:19px; }
.frame__read{ display:flex; align-items:baseline; gap:.6rem; flex-wrap:wrap; }
.frame__big{ font-family:var(--mono); font-weight:600; font-size:clamp(2.6rem,2rem + 3vw,3.4rem); line-height:1; color:var(--on-dark); letter-spacing:-0.02em; }
.frame__state{ display:inline-flex; align-items:center; gap:.4rem; font-size:.8rem; font-weight:600; color:var(--teal); background:oklch(0.66 0.105 205 / .16); border:1px solid oklch(0.66 0.105 205 / .34); border-radius:999px; padding:.28rem .7rem; }
.frame__state .dot{ width:7px; height:7px; border-radius:50%; background:var(--teal); flex:none; }
.frame__trend{ margin-top:1rem; }
.frame__trend svg{ width:100%; height:46px; display:block; }
.frame__meta{ margin-top:.85rem; display:flex; flex-wrap:wrap; gap:.45rem .8rem; }
.frame__meta span{ font-size:.74rem; color:var(--on-dark-soft); background:oklch(1 0 0 / .07); border:1px solid oklch(1 0 0 / .1); border-radius:8px; padding:.3rem .55rem; overflow-wrap:anywhere; }
.frame__rule{ margin-top:.9rem; font-size:.82rem; color:var(--on-dark-soft); line-height:1.5; }
.frame__rule b{ color:var(--on-dark); font-weight:600; }
.frame__rule a{ color:var(--teal); border-bottom:1px solid oklch(0.66 0.105 205 / .4); text-decoration:none; }

.beats{ padding:6vh 0 8vh; order:1; }
@media (max-width:880px){ .beats{ padding:1vh 0 0; } }
.beat{ min-height:62vh; display:flex; flex-direction:column; justify-content:center; max-width:32ch; }
@media (max-width:880px){ .beat{ min-height:54vh; } }
.beat__num{ font-family:var(--mono); font-weight:600; font-size:.82rem; letter-spacing:.06em; color:var(--teal); margin-bottom:.7rem; }
.beat h3{ color:var(--on-dark); font-size:clamp(1.5rem,1.2rem + 1.6vw,2.3rem); margin-bottom:.7rem; }
.beat p{ color:var(--on-dark-soft); font-size:1.08rem; }
.beat p a{ color:var(--teal); }

/* ---------- pains (the failure cards) ---------- */
.pains{ display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(1rem,2.2vw,1.6rem); }
@media (max-width:720px){ .pains{ grid-template-columns:1fr; } }
.pain{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:clamp(1.3rem,1rem + 1.4vw,1.8rem); box-shadow:var(--shadow-sm); min-width:0; }
.pain h3{ display:flex; gap:.65rem; align-items:flex-start; font-size:1.18rem; margin-bottom:.5rem; }
.pain h3 .x{ width:26px; height:26px; flex:none; border-radius:8px; background:oklch(0.74 0.155 70 / .16); color:var(--amber-ink); display:grid; place-items:center; font-family:var(--sans); font-weight:700; font-size:.95rem; margin-top:.1rem; }
.pain p{ color:var(--ink-soft); }

/* ---------- capability rows (asymmetric editorial, NOT identical cards) ---------- */
.caps{ display:grid; gap:0; margin-top:.5rem; }
.cap{ display:grid; grid-template-columns:auto 1fr auto; gap:1.3rem; align-items:start; padding:clamp(1.5rem,2.5vw,2.2rem) 0; border-top:1px solid var(--line); }
.cap:first-child{ border-top:0; }
@media (max-width:680px){ .cap{ grid-template-columns:auto 1fr; gap:1rem; } }
.cap__ic{ width:48px; height:48px; flex:none; border-radius:13px; background:var(--teal-soft); color:var(--teal-ink); display:grid; place-items:center; }
.cap__ic svg{ width:24px; height:24px; }
.cap__body{ min-width:0; }
.cap__body h3{ font-size:1.32rem; margin-bottom:.4rem; }
.cap__body p{ color:var(--ink-soft); max-width:60ch; }
.cap__tag{ font-family:var(--mono); font-size:.74rem; letter-spacing:.02em; color:var(--muted); white-space:nowrap; padding-top:.5rem; }
@media (max-width:680px){ .cap__tag{ display:none; } }

/* ---------- segments grid (environments) ---------- */
.segs{ display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(1rem,2.2vw,1.6rem); }
@media (max-width:760px){ .segs{ grid-template-columns:1fr; } }
.seg{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:clamp(1.4rem,1.1rem + 1.4vw,1.9rem); box-shadow:var(--shadow-sm); position:relative; min-width:0; }
.seg__top{ display:flex; align-items:center; gap:.8rem; margin-bottom:.7rem; }
.seg__ic{ width:44px; height:44px; flex:none; border-radius:12px; background:var(--teal-soft); color:var(--teal-ink); display:grid; place-items:center; }
.seg__ic svg{ width:23px; height:23px; }
.seg h3{ font-size:1.24rem; min-width:0; }
.seg__range{ font-family:var(--mono); font-size:.8rem; font-weight:600; color:var(--indigo-ink); background:oklch(0.42 0.115 268 / .08); border-radius:7px; padding:.18rem .5rem; display:inline-block; margin-bottom:.6rem; overflow-wrap:anywhere; }
.seg p{ color:var(--ink-soft); }
.seg p a{ color:var(--teal-ink); }

/* ---------- compliance trio ---------- */
.trio{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1rem,2.4vw,1.8rem); }
@media (max-width:820px){ .trio{ grid-template-columns:1fr; } }
.comp{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:clamp(1.5rem,1.2rem + 1.4vw,2.1rem); box-shadow:var(--shadow-sm); display:flex; flex-direction:column; min-width:0; }
.comp__std{ font-family:var(--mono); font-size:.72rem; letter-spacing:.04em; text-transform:uppercase; color:var(--teal-ink); font-weight:600; margin-bottom:.7rem; overflow-wrap:anywhere; }
.comp h3{ font-size:1.3rem; margin-bottom:.5rem; }
.comp__range{ font-family:var(--mono); font-weight:600; font-size:1.45rem; color:var(--indigo-ink); margin-bottom:.6rem; line-height:1.1; overflow-wrap:anywhere; }
.comp p{ color:var(--ink-soft); font-size:.98rem; }

/* ---------- steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1.4rem,3vw,3rem); counter-reset:s; }
@media (max-width:760px){ .steps{ grid-template-columns:1fr; gap:0; } }
.step{ counter-increment:s; position:relative; padding-top:1.5rem; border-top:2px solid var(--line); min-width:0; }
@media (max-width:760px){ .step{ padding:1.5rem 0; border-top:1px solid var(--line); } .step:first-child{ border-top:2px solid var(--line); } }
.step::before{ content:counter(s,decimal-leading-zero); font-family:var(--mono); font-weight:600; font-size:1.1rem; color:var(--teal-ink); position:absolute; top:1.35rem; right:0; }
.step h3{ font-size:1.28rem; margin:.2rem 0 .45rem; }
.step p{ color:var(--ink-soft); }

/* ---------- who it's for ---------- */
.audience{ display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(1rem,2.2vw,1.5rem); }
@media (max-width:680px){ .audience{ grid-template-columns:1fr; } }
.aud{ display:flex; gap:.9rem; align-items:flex-start; padding:1.1rem 0; border-bottom:1px solid var(--line); min-width:0; }
.aud .mk{ width:38px; height:38px; flex:none; border-radius:10px; background:var(--teal-soft); color:var(--teal-ink); display:grid; place-items:center; }
.aud .mk svg{ width:20px; height:20px; }
.aud b{ font-family:var(--sans); font-weight:600; display:block; color:var(--ink); margin-bottom:.15rem; }
.aud span.t{ color:var(--ink-soft); font-size:.97rem; }

/* ---------- proof band ---------- */
.proof{ background:linear-gradient(140deg, var(--indigo), var(--night) 96%); color:var(--on-dark); border-radius:var(--radius-lg); padding:clamp(2.2rem,1.8rem + 3.6vw,4rem); }
.proof h2{ color:var(--on-dark); max-width:22ch; margin-bottom:1rem; }
.proof p{ color:var(--on-dark-soft); max-width:62ch; font-size:1.1rem; }
.proof p a{ color:var(--teal); border-bottom:1px solid oklch(0.66 0.105 205 / .4); text-decoration:none; }
.proof__stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.2rem; margin-top:2rem; }
@media (max-width:680px){ .proof__stats{ grid-template-columns:1fr; gap:1rem; } }
.proof__stats .stat{ background:oklch(1 0 0 / .07); border:1px solid oklch(1 0 0 / .12); border-radius:14px; padding:1.1rem 1.1rem; min-width:0; }
.proof__stats .stat b{ font-family:var(--serif); font-weight:520; font-size:1.18rem; display:block; color:var(--on-dark); margin-bottom:.25rem; }
.proof__stats .stat span{ font-size:.9rem; color:var(--on-dark-soft); overflow-wrap:anywhere; }

/* ---------- faq ---------- */
.faq{ max-width:780px; }
.faq details{ border-bottom:1px solid var(--line); }
.faq summary{ list-style:none; cursor:pointer; padding:1.35rem 2.5rem 1.35rem 0; position:relative; font-family:var(--serif); font-weight:500; font-size:1.2rem; color:var(--ink); overflow-wrap:anywhere; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:""; position:absolute; right:.3rem; top:50%; width:12px; height:12px; margin-top:-7px;
  border-right:2px solid var(--teal-ink); border-bottom:2px solid var(--teal-ink); transform:rotate(45deg); transition:transform .3s var(--ease); }
.faq details[open] summary::after{ transform:rotate(225deg); }
.faq p{ color:var(--ink-soft); padding-bottom:1.35rem; max-width:66ch; }

/* ---------- closing CTA ---------- */
.cta{ background:var(--night); color:var(--on-dark); position:relative; overflow:hidden; }
.cta::before{ content:""; position:absolute; inset:auto -10% -50% -10%; height:80%; z-index:0;
  background:radial-gradient(50% 100% at 50% 100%, oklch(0.66 0.105 205 / .28), transparent 70%); }
.cta .wrap{ position:relative; z-index:1; text-align:center; }
.cta h2{ color:var(--on-dark); max-width:20ch; margin:0 auto 1.1rem; }
.cta p{ color:var(--on-dark-soft); max-width:50ch; margin:0 auto 1.9rem; font-size:1.14rem; }
.cta__row{ display:flex; gap:.9rem; justify-content:center; flex-wrap:wrap; }

/* ---------- contact page ---------- */
.contact-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(2rem,4vw,3.5rem); align-items:start; }
@media (max-width:880px){ .contact-grid{ grid-template-columns:1fr; } }
.card{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-lg); padding:clamp(1.5rem,1.2rem + 2vw,2.5rem); box-shadow:var(--shadow-sm); }
.card > h2{ font-size:clamp(1.4rem,1.2rem + 1vw,1.8rem); margin-bottom:1.3rem; }
.form{ display:grid; gap:1.05rem; }
.form__honey{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.field{ display:grid; gap:.4rem; }
.field label{ font-family:var(--sans); font-weight:600; font-size:.94rem; color:var(--ink); }
.field .opt{ font-weight:400; color:var(--muted); }
.field input,.field textarea{ font-family:var(--sans); font-size:1rem; color:var(--ink); background:var(--bg); border:1.5px solid var(--line);
  border-radius:var(--radius-sm); padding:.82rem 1rem; width:100%; transition:border-color .2s, box-shadow .2s; }
.field textarea{ min-height:7.5rem; resize:vertical; line-height:1.55; }
.field input:focus,.field textarea:focus{ outline:none; border-color:var(--teal); box-shadow:0 0 0 3px oklch(0.66 0.105 205 / .18); }
.form button{ justify-self:start; }
.form__note{ color:var(--muted); font-size:.87rem; max-width:50ch; }
.aside h2{ font-size:1.28rem; margin-bottom:.5rem; }
.aside h2 + p{ color:var(--ink-soft); }
.aside .next{ list-style:none; margin:1.3rem 0 0; padding:0; display:grid; gap:1rem; }
.aside .next li{ display:grid; grid-template-columns:auto 1fr; gap:.85rem; align-items:start; }
.aside .next .n{ width:30px; height:30px; flex:none; border-radius:9px; background:var(--teal-soft); color:var(--teal-ink);
  font-family:var(--mono); font-weight:600; display:grid; place-items:center; font-size:.95rem; }
.aside .next b{ font-family:var(--sans); font-weight:600; font-size:.96rem; display:block; color:var(--ink); }
.aside .next small{ color:var(--ink-soft); font-size:.91rem; line-height:1.5; }
.aside__block{ margin-top:1.6rem; padding-top:1.3rem; border-top:1px solid var(--line); }
.aside__block h3{ font-family:var(--sans); font-weight:700; font-size:.8rem; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); margin-bottom:.3rem; }
.aside__block p{ color:var(--ink-soft); font-size:.95rem; }
.aside__fine{ margin-top:1.2rem; color:var(--muted); font-size:.87rem; }

/* ---------- guide prose ---------- */
.prose{ max-width:66ch; }
.prose > p{ margin-bottom:1.1rem; color:var(--ink-soft); }
.prose .lead{ color:var(--ink-soft); }
.byline{ color:var(--muted); font-size:.92rem; margin-top:1rem; }

/* ---------- footer ---------- */
.foot{ background:var(--night); color:var(--on-dark-soft); padding:clamp(2.8rem,2rem + 3vw,4.2rem) 0 2.4rem; }
.foot a{ color:var(--on-dark-soft); }
.foot__top{ display:grid; grid-template-columns:1.2fr 2fr; gap:2rem 2.5rem; }
@media (max-width:860px){ .foot__top{ grid-template-columns:1fr; } }
.foot__brand .brand{ color:var(--on-dark); }
.foot__brand p{ margin-top:.9rem; color:var(--on-dark-soft); font-size:.95rem; max-width:34ch; }
.foot__promise{ font-family:var(--serif); font-weight:480; font-size:1.18rem; color:var(--on-dark); margin-top:1rem; }
.foot__cols{ display:flex; flex-wrap:wrap; gap:1.8rem 2.6rem; }
.foot__col h4{ font-family:var(--sans); font-size:.74rem; text-transform:uppercase; letter-spacing:.08em; color:var(--teal); margin:0 0 .85rem; }
.foot__col ul{ list-style:none; margin:0; padding:0; display:grid; gap:.5rem; }
.foot__col li{ font-size:.94rem; color:var(--on-dark-soft); }
.foot__col a{ text-decoration:none; font-size:.94rem; }
.foot__col a:hover{ color:#fff; }
.foot__bottom{ border-top:1px solid oklch(1 0 0 / .12); margin-top:2.4rem; padding-top:1.5rem; display:flex; flex-wrap:wrap; gap:.5rem 1.4rem; justify-content:space-between; color:oklch(0.72 0.02 255); font-size:.85rem; }
.foot__bottom a{ color:oklch(0.82 0.02 255); }

/* ---------- reveal motion (visible by default; JS hides only below-fold) ---------- */
.reveal{ transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-pending{ opacity:0; transform:translateY(22px); }
@media (prefers-reduced-motion: reduce){ .reveal.is-pending{ opacity:1; transform:none; } .frame{ transition:none; } }
