/* AuraMed — auramedical.ca
   Palette: clinical paper, silver foil, pharma-label navy. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable.woff2") format("woff2-variations"),
       url("../fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable-italic.woff2") format("woff2-variations"),
       url("../fonts/archivo-variable-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

@font-face { font-family: "Plex Mono"; src: url("../fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/plex-mono-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #eef0f2;
  --white: #ffffff;
  --ink: #14181c;
  --ink-2: #4a5059;
  --line: #d0d5dc;
  --silver: #aeb4bc;
  --navy: #1e2652;
  --navy-ink: #1b2140;
  --navy-2: #2d376b;
  --deep: #141a36;
  --deep-2: #1d2447;
  --on-dark: #e6e9ef;
  --on-dark-2: #a9b0c4;
  --panel: #d7dce4;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(88px, 11vw, 160px);
  --nav-h: 68px;

  --wide: 118%;
  --condensed: 76%;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  font-family: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  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: 12px; top: -60px;
  background: var(--ink); color: var(--white);
  padding: 10px 16px; border-radius: 8px; z-index: 100;
  text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Type ---------- */

h1, h2, h3 { margin: 0; font-weight: 600; }

.display {
  font-stretch: var(--wide);
  font-weight: 560;
  letter-spacing: -0.024em;
  line-height: 1.02;
  text-wrap: balance;
}

h1.display { font-size: clamp(40px, 4.9vw, 66px); letter-spacing: -0.028em; }
h2.display { font-size: clamp(34px, 4.2vw, 56px); }

.lede {
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34em;
  margin: 28px 0 0;
}

.tm { font-size: 0.55em; vertical-align: 0.75em; margin-left: 0.04em; font-stretch: 100%; letter-spacing: 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 560;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-2); }
.btn-quiet {
  background: transparent; color: var(--ink);
  border-color: var(--line);
}
.btn-quiet:hover { border-color: var(--ink); }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(239, 241, 242, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--navy);
}
.brand img { width: 34px; height: auto; }
.brand span { font-stretch: 125%; font-weight: 800; font-size: 16px; letter-spacing: .17em; line-height: 1; }

.nav-links { display: flex; gap: 28px; margin-left: auto; list-style: none; padding: 0; }
.nav-links a {
  text-decoration: none; font-size: 15px; color: var(--ink-2);
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { min-height: 42px; padding: 0 18px; font-size: 15px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 10px;
  background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink);
  position: relative; transition: transform .25s ease, background-color .25s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(88px, 9vw, 128px); overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-note { margin: 20px 0 0; font-size: 14px; color: var(--ink-2); }

/* ---------- The overwrap pouch (hero) ---------- */

.hero {
  background:
    radial-gradient(55% 65% at 76% 44%, #fafbfc 0%, rgba(250,251,252,0) 70%),
    var(--paper);
}
.pouch-stage {
  --rod: 80px;
  --hang-top: 58px;
  position: relative;
  container-type: inline-size;
  display: flex; justify-content: center;
  padding-top: var(--hang-top);
}

/* IV-pole hook the pouch hangs from */
.iv-hook {
  position: absolute; left: 50%; top: calc(var(--rod) * -1);
  height: calc(var(--rod) + var(--hang-top) + 0.0478 * min(430px, 100cqw) + 3px);
  width: 36px; margin-left: -4px;
  pointer-events: none; z-index: 3;
}
.iv-hook::before {
  content: ""; position: absolute; left: 1.5px; top: 0; bottom: 20px; width: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #7d848d, #f4f5f7 45%, #b9bec5 70%, #8a9199);
}
.iv-hook svg { position: absolute; left: 0; bottom: 0; width: 36px; height: 30px; overflow: visible; }

.pouch-swing {
  width: min(430px, 100%);
  transform-origin: 50% 4.4%;
  filter: drop-shadow(0 34px 34px rgba(20, 26, 54, 0.22)) drop-shadow(0 6px 8px rgba(20, 26, 54, 0.12));
}
.pouch {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 0.62;
  overflow: hidden;
  isolation: isolate;
  color: var(--navy);
  clip-path: polygon(1.4% 0, 98.6% 0, 100% 0.9%, 100% 9.7%, 97.3% 10.7%, 100% 11.7%, 100% 99.1%, 98.6% 100%, 1.4% 100%, 0 99.1%, 0 11.7%, 2.7% 10.7%, 0 9.7%, 0 0.9%);
  background: linear-gradient(113deg,
    #c9cdd3 0%, #eceef1 13%, #c6cbd1 26%, #b1b7bf 37%, #e7e9ec 50%,
    #cbcfd5 61%, #aeb4bc 73%, #dfe2e6 87%, #c4c9cf 100%);
}
.pouch-crinkle {
  position: absolute; inset: 0; width: 100%; height: 100%;
  mix-blend-mode: multiply; opacity: .34; z-index: 1; pointer-events: none;
}
.pouch-crimp {
  position: absolute; left: 0; right: 0; z-index: 1;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.75) 0 1px, rgba(96,104,116,.34) 1px 2.4px, rgba(255,255,255,0) 2.4px 3.6px),
    linear-gradient(180deg, rgba(255,255,255,.35), rgba(120,128,140,.12));
}
.pouch-crimp.top { top: 0; height: 8.8%; border-bottom: 1px solid rgba(92,100,112,.35); }
.pouch-crimp.bottom { bottom: 0; height: 6%; border-top: 1px solid rgba(92,100,112,.35); }
.pouch-slot {
  position: absolute; top: 3.1%; left: 50%; z-index: 2;
  width: 15%; height: 2.6%; transform: translateX(-50%);
  border-radius: 999px;
  background: #f2f3f5;
  box-shadow: inset 0 1.5px 3px rgba(20,26,54,.35), 0 0 0 1px rgba(255,255,255,.7);
}
.pouch-tear {
  position: absolute; top: 9.6%; left: 4.6%; z-index: 2; margin: 0;
  font-family: var(--mono); font-size: 2.3cqw; letter-spacing: .14em; color: #3a414d;
}

/* The printed label */
.plabel {
  position: absolute; z-index: 2;
  left: 10%; right: 12.5%; top: 14.2%;
  display: grid; grid-template-columns: minmax(0, 1fr) 10.5cqw;
  background: #fdfdfc;
  box-shadow: 0 0 0 .5px rgba(20,24,40,.12);
  color: var(--ink);
  font-size: 1.9cqw; line-height: 1.45;
}
.plabel-main { padding: 3.8cqw 3.8cqw 3cqw 4.2cqw; min-width: 0; }
.plabel-strip {
  border-left: 1.5px solid var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 3.4cqw 0 3cqw;
}
.plabel-strip img { width: 5.6cqw; height: auto; }
.plabel-strip span {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-stretch: 125%; font-weight: 800; font-size: 3.3cqw; letter-spacing: .2em; color: var(--navy);
}
.plabel-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 3cqw; }
.p-mono { font-family: var(--mono); }
.p-kicker { display: block; font-family: var(--mono); font-size: 1.85cqw; letter-spacing: .08em; color: #3d4450; }
.p-style { display: block; margin-top: .6cqw; font-family: var(--mono); font-weight: 600; font-size: 2.9cqw; letter-spacing: .02em; color: var(--ink); }
.p-size {
  border: .35cqw solid var(--navy); padding: 1.2cqw 2.2cqw .6cqw; text-align: center; color: var(--navy);
}
.p-size .p-kicker { color: var(--navy); }
.p-size b { display: block; font-stretch: 125%; font-weight: 800; font-size: 8.2cqw; line-height: 1; margin-top: .4cqw; }
.p-title { margin: 3cqw 0 0; font-weight: 700; font-size: 4.3cqw; white-space: nowrap; line-height: 1.08; letter-spacing: -0.012em; color: var(--navy); }
.p-sub { margin: .8cqw 0 0; font-size: 2.55cqw; color: #2b313b; }
.p-strong { margin: 1.8cqw 0 0; font-weight: 700; font-size: 2.35cqw; color: var(--ink); }
.p-band {
  margin: 2cqw 0 0; padding: 1.4cqw 2cqw;
  background: var(--navy); color: #fff;
  font-family: var(--mono); font-weight: 600; font-size: 2.05cqw; letter-spacing: .07em;
  white-space: nowrap; overflow: hidden;
}
.p-copy { margin: 1.7cqw 0 0; font-size: 1.95cqw; line-height: 1.48; color: #1f242c; }
.p-copy b { font-weight: 700; letter-spacing: .01em; }
.p-foot {
  margin-top: 2.2cqw; padding-top: 2.2cqw; border-top: 1.5px solid var(--ink);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 3cqw;
}
.p-barcode { width: 34cqw; height: 7.4cqw; fill: #101317; display: block; }
.p-code { display: block; margin-top: .8cqw; font-family: var(--mono); font-size: 1.85cqw; letter-spacing: .1em; color: #3d4450; }
.p-lot { display: grid; grid-template-columns: auto auto; column-gap: 2.4cqw; font-family: var(--mono); font-size: 2.2cqw; line-height: 1.55; color: var(--ink); }
.p-address { margin: 1.8cqw 0 0; font-size: 1.8cqw; color: #4a515c; }

/* Brand lockup printed on the foil */
.p-lockup {
  position: absolute; z-index: 2; left: 10.5%; top: 80.5%;
  display: flex; align-items: center; gap: 3.2cqw;
}
.p-lockup img { width: 10.5cqw; height: auto; }
.p-lockup b { display: block; font-stretch: 125%; font-weight: 800; font-size: 4.4cqw; letter-spacing: .17em; color: var(--navy); line-height: 1; }
.p-lockup span { display: block; margin-top: 1.2cqw; font-family: var(--mono); font-size: 2.2cqw; letter-spacing: .2em; color: #333a46; }

.pouch-glint {
  position: absolute; inset: -30% -80%; z-index: 5; pointer-events: none;
  background: linear-gradient(106deg, transparent 43%, rgba(255,255,255,.55) 49.5%, rgba(255,255,255,0) 56%);
  transform: translateX(-60%); opacity: 0;
}

/* Load moment: the pouch settles on its hook, one glint crosses the foil */
@media (prefers-reduced-motion: no-preference) {
  .js .pouch-swing { animation: hang 2.6s cubic-bezier(.3,.6,.3,1) .15s both; }
  .js .pouch-glint { animation: glint 1.7s cubic-bezier(.4,0,.2,1) 1.1s both; }
}
@keyframes hang {
  0%   { transform: rotate(5deg); }
  22%  { transform: rotate(-3deg); }
  42%  { transform: rotate(1.7deg); }
  62%  { transform: rotate(-.8deg); }
  80%  { transform: rotate(.3deg); }
  100% { transform: rotate(0deg); }
}
@keyframes glint { 0% { opacity: 1; transform: translateX(-60%); } 100% { opacity: 1; transform: translateX(60%); } }

/* ---------- Technical flats ---------- */

.f-body { fill: #fff; stroke: var(--navy-ink); stroke-width: 1.6; stroke-linejoin: round; }
.f-panel { fill: var(--panel); }
.f-cuff { fill: #fff; stroke: var(--navy-ink); stroke-width: 1.3; stroke-linejoin: round; }
.f-rib { fill: none; stroke: var(--navy-ink); stroke-width: .7; opacity: .7; }
.f-inside { fill: #e8ebf0; stroke: var(--navy-ink); stroke-width: 1.2; }
.f-seam { fill: none; stroke: var(--navy-ink); stroke-width: 1.1; stroke-linecap: round; }
.f-stitch { fill: none; stroke: var(--navy-ink); stroke-width: .75; stroke-dasharray: 2.4 2.4; opacity: .75; }
.f-hidden { fill: none; stroke: var(--navy-ink); stroke-width: 1; stroke-dasharray: 3 2.5; }
.f-zip { fill: none; stroke: var(--navy-ink); stroke-width: 3.6; stroke-dasharray: 1.1 1.3; }
.f-zip-sm { stroke-width: 2.6; }
.f-zipline { fill: none; stroke: var(--navy-ink); stroke-width: .7; }
.f-garage, .f-welt { fill: #fff; stroke: var(--navy-ink); stroke-width: 1.05; }
.f-pull, .f-tab, .f-perf { fill: var(--navy-ink); }
.f-guard { fill: #e3e7ed; stroke: var(--navy-ink); stroke-width: 1.1; }

.co { cursor: pointer; transition: opacity .2s ease; outline: none; }
.co line { stroke: var(--navy); stroke-width: .9; transition: stroke-width .2s ease; }
.co-dot { fill: var(--navy); }
.co-num { fill: var(--navy); transition: fill .2s ease; }
.co text { fill: #fff; font-family: "Archivo", sans-serif; font-size: 13px; font-weight: 620; font-variant-numeric: tabular-nums; }
.flats.has-active .co { opacity: .22; }
.flats.has-active .co.is-active { opacity: 1; }
.co.is-active line { stroke-width: 1.8; }
.co.is-active .co-dot { r: 4; }
.co:focus-visible .co-num { stroke: var(--navy); stroke-width: 2; paint-order: stroke; fill: #3a4a95; }

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section-head { max-width: 40rem; }

/* Problem */
.problem .wrap { display: grid; gap: 64px; }
.problem-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.problem-intro p { margin: 0; color: var(--ink-2); font-size: 18px; max-width: 30em; }

.shift { border-top: 1px solid var(--ink); padding-top: 18px; }
.shift-caption { margin: 0 0 28px; font-size: 14px; color: var(--ink-2); }
.shift ol {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  position: relative;
}
.shift ol::before {
  content: ""; position: absolute; left: 0; right: 0; top: 5px;
  height: 1px; background: var(--silver);
}
.shift li { position: relative; padding: 26px 16px 0 0; }
.shift li::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--ink);
}
.shift li:last-child::before { background: var(--ink); }
.shift time {
  display: block;
  font-stretch: var(--wide); font-weight: 560;
  font-size: 22px; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.shift li span { display: block; margin-top: 4px; font-size: 15px; color: var(--ink-2); line-height: 1.4; }

.evidence {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
}
.evidence p {
  margin: 0;
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.38;
  letter-spacing: -0.008em;
  max-width: 24em;
  text-wrap: pretty;
}
.evidence sup { line-height: 0; }
.evidence sup a {
  font-size: 13px; text-decoration: none; color: var(--navy);
  padding: 0 2px; margin-left: 1px;
}
.evidence-close {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px;
}
.evidence-close p { font-size: 18px; color: var(--ink); max-width: 36em; }
.sources { margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-2); max-width: 30em; }
.sources li + li { margin-top: 6px; }
.sources a { color: var(--ink-2); text-underline-offset: 3px; }

/* Technology (the one dark band) */
.tech { background: var(--deep); color: var(--on-dark); }
.tech .lede { color: var(--on-dark-2); }
.tech-top {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}

.fibres { display: grid; gap: 22px; }
.fibre-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); }
figure.fibre { margin: 0; }
.fibre svg { width: 100%; height: auto; }
.fibre figcaption { margin-top: 12px; font-size: 15px; color: var(--on-dark); }
.fibre figcaption small { display: block; color: var(--on-dark-2); font-size: 13.5px; }
.fibre-core { fill: url(#fibreCore); stroke: rgba(255,255,255,.16); stroke-width: 1; }
.tech :focus-visible, .footer :focus-visible { outline-color: var(--on-dark); }
.ag { fill: url(#silverDot); transition: opacity .45s ease, transform .45s ease; transform-box: fill-box; transform-origin: center; }
.ag.is-gone { opacity: 0; transform: scale(.2); }

.wash {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  padding: 16px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
}
.wash label { font-size: 14px; color: var(--on-dark-2); }
.wash output {
  font-stretch: var(--wide); font-weight: 560; font-size: 16px;
  font-variant-numeric: tabular-nums; min-width: 8.5ch; text-align: right;
}
.wash input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0;
}
.wash input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--on-dark) var(--fill, 0%), rgba(255,255,255,.18) var(--fill, 0%)); border-radius: 2px; }
.wash input[type="range"]::-moz-range-track { height: 2px; background: rgba(255,255,255,.18); border-radius: 2px; }
.wash input[type="range"]::-moz-range-progress { height: 2px; background: var(--on-dark); }
.wash input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; margin-top: -9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #c3c8ce 60%, #8d949b);
  border: 0; box-shadow: 0 0 0 4px rgba(255,255,255,.1);
}
.wash input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; border: 0;
  background: radial-gradient(circle at 35% 30%, #fff, #c3c8ce 60%, #8d949b);
  box-shadow: 0 0 0 4px rgba(255,255,255,.1);
}
.wash input[type="range"]:focus-visible { outline-offset: 6px; }
.fibre-note { margin: 0; font-size: 13.5px; color: var(--on-dark-2); max-width: 38em; }

.steps {
  list-style: none; margin: clamp(72px, 9vw, 120px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px);
  counter-reset: step;
}
.steps li { border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: block; margin-bottom: 18px;
  font-stretch: var(--wide); font-weight: 500; font-size: 15px; color: var(--silver);
  font-variant-numeric: tabular-nums;
}
.steps h3 { font-stretch: 108%; font-size: 21px; font-weight: 580; letter-spacing: -0.01em; }
.steps p { margin: 10px 0 0; color: var(--on-dark-2); font-size: 16px; max-width: 26em; }

.specs {
  margin: clamp(64px, 8vw, 104px) 0 0;
  display: grid; grid-template-columns: 220px minmax(0, 1fr);
  border-top: 1px solid rgba(255,255,255,.18);
}
.specs dt, .specs dd { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); margin: 0; }
.specs dt { color: var(--on-dark-2); font-size: 15px; }
.specs dd { font-size: 16px; }

/* SilverCore product: the tech sheet */
.product-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.product-head p { margin: 0; color: var(--ink-2); font-size: 18px; max-width: 30em; }

.sheet {
  margin-top: 64px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 40px 80px -60px rgba(20,26,54,.35);
}
.sheet-head {
  display: grid;
  grid-template-columns: 1fr 2.2fr 1.6fr 1.9fr 0.9fr 1fr;
  border-bottom: 1px solid var(--line);
}
.sheet-head div { padding: 14px 18px 15px; border-left: 1px solid var(--line); min-width: 0; }
.sheet-head div:first-child { border-left: 0; }
.sheet-head dt {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--ink-2);
}
.sheet-head dd { margin: 3px 0 0; font-size: 15px; font-weight: 560; color: var(--ink); line-height: 1.35; }
.sheet-head .sheet-name dd { font-stretch: 112%; font-size: 17px; font-weight: 620; color: var(--navy); letter-spacing: -0.005em; }
.sheet-head .p-mono { font-family: var(--mono); font-weight: 600; font-size: 14.5px; }

.flats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 32px);
  padding: clamp(20px, 3vw, 40px) clamp(12px, 3vw, 40px) 8px;
}
.flat { margin: 0; }
.flat svg { width: 100%; height: auto; overflow: visible; }
.flat figcaption {
  text-align: center; margin-top: 6px;
  font-stretch: 118%; font-weight: 640; font-size: 15px; letter-spacing: .12em; color: var(--navy);
}

.spec-list {
  list-style: none; margin: 0; padding: 28px clamp(20px, 3vw, 40px) 12px;
  columns: 2; column-gap: clamp(28px, 4vw, 64px);
  border-top: 1px solid var(--line);
  background: #f7f8fa;
}
.spec-list li {
  display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; align-content: start;
  padding: 14px 0 15px; border-bottom: 1px solid #e3e6ea;
  break-inside: avoid;
  cursor: default;
}
.spec-list .n {
  grid-row: span 3;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--white); color: var(--navy); border: 1.5px solid var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 620; font-variant-numeric: tabular-nums;
  transition: background-color .2s ease, color .2s ease;
}
.spec-list li.is-active .n { background: var(--navy); color: var(--white); }
.spec-list h3 { font-size: 16.5px; font-weight: 620; font-stretch: 104%; line-height: 1.3; }
.spec-list .spec { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); margin-top: 1px; }
.spec-list p { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.sheet-note {
  margin: 0; padding: 14px clamp(20px, 3vw, 40px) 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; color: var(--ink-2);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* Founder */
.story { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 6vw, 96px); }
.story-quote { margin: 0; }
.story-quote p {
  margin: 0;
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.28;
  letter-spacing: -0.014em;
  font-weight: 420;
  text-indent: -0.42em;
  max-width: 24em;
  text-wrap: pretty;
}
.story-quote footer { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.story-quote footer img { width: 44px; height: auto; }
.story-quote cite { font-style: normal; font-weight: 600; display: block; }
.story-quote footer span { font-size: 14.5px; color: var(--ink-2); }
.story-bio { margin: 40px 0 0; color: var(--ink-2); max-width: 36em; }

/* Roadmap */
.roadmap ol {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0;
  position: relative;
}
.roadmap ol::before {
  content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--silver);
}
.roadmap li { position: relative; padding: 30px 20px 0 0; }
.roadmap li::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--silver);
}
.roadmap li[data-status="done"]::before { background: var(--ink); border-color: var(--ink); }
.roadmap li[data-status="now"]::before { background: var(--navy); border-color: var(--navy); box-shadow: 0 0 0 5px rgba(30,38,82,.14); }
.roadmap .status { display: block; font-size: 13px; color: var(--ink-2); }
.roadmap li[data-status="now"] .status { color: var(--navy); font-weight: 600; }
.roadmap h3 { margin-top: 6px; font-size: 18px; font-weight: 600; font-stretch: 106%; letter-spacing: -0.005em; }
.roadmap p { margin: 6px 0 0; font-size: 15px; color: var(--ink-2); line-height: 1.5; }

/* Early access */
.access { padding-top: 0; }
.access .wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.perks { list-style: none; margin: 36px 0 0; padding: 0; }
.perks li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); }
.perks li:last-child { border-bottom: 1px solid var(--line); }
.perks li::before {
  content: ""; position: absolute; left: 2px; top: 19px;
  width: 12px; height: 7px; border-left: 1.8px solid var(--ink); border-bottom: 1.8px solid var(--ink);
  transform: rotate(-45deg);
}

.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 8px solid var(--navy);
  border-radius: 14px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 30px 60px -48px rgba(22,25,29,.4);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 560; }
.field input, .field select {
  width: 100%; min-height: 50px;
  padding: 0 14px;
  border: 1px solid #c3c9cf; border-radius: 10px;
  background: var(--white);
  font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field select {
  -webkit-appearance: none; appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field input:hover, .field select:hover { border-color: #8f979f; }
.field input:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30,38,82,.18); }
.field [aria-invalid="true"] { border-color: #b3261e; }

.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin-top: 4px; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.consent label { font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.consent small { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.consent small a { color: var(--ink-2); text-underline-offset: 3px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form-actions .btn { min-width: 220px; }
.form-actions .btn[disabled] { opacity: .6; cursor: progress; }
.form-error { margin: 0; font-size: 14.5px; color: #b3261e; }
.form-error:empty { display: none; }

.form-done { display: none; }
.form-panel.is-done form { display: none; }
.form-panel.is-done .form-done { display: block; }
.form-done h3 { font-stretch: var(--wide); font-size: 28px; font-weight: 580; letter-spacing: -0.02em; }
.form-done p { color: var(--ink-2); margin: 10px 0 0; max-width: 30em; }

/* FAQ */
.faq .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.faq-list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px 0;
  font-size: 18px; font-weight: 560; font-stretch: 104%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 38em; }

/* Footer */
.footer { background: var(--deep); color: var(--on-dark); padding: 72px 0 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .brand { color: var(--on-dark); }
.footer .brand img { width: 40px; }
.footer-sign { margin: 14px 0 0; font-stretch: var(--wide); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--on-dark); }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 36px; list-style: none; margin: 0; padding: 0; align-content: start; }
.footer-links a { text-decoration: none; color: var(--on-dark-2); font-size: 15px; }
.footer-links a:hover { color: var(--on-dark); }
.footer-contact a { font-size: 18px; color: var(--on-dark); text-underline-offset: 4px; }
.footer-legal { padding-top: 28px; display: grid; gap: 10px; font-size: 13px; color: var(--on-dark-2); max-width: 60em; }
.footer-legal p { margin: 0; }

/* Plain pages (privacy, 404) */
.page { padding: clamp(56px, 8vw, 110px) 0 var(--section); }
.prose { max-width: 42rem; }
.prose h1 { margin-bottom: 12px; }
.prose h2 { font-stretch: 108%; font-size: 22px; font-weight: 600; margin: 44px 0 10px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--ink-2); }
.prose a { color: var(--ink); text-underline-offset: 3px; }
.prose .updated { font-size: 14px; }

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
  .shift ol { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .shift ol::before { display: none; }
  .roadmap ol { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .roadmap ol::before { display: none; }
}

@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; order: 1; }
  .nav-links { order: 2; }
  .nav-cta { order: 3; }
  .nav.is-open { height: auto; background: var(--paper); border-bottom-color: var(--line); }
  .nav.is-open .wrap { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 20px; }
  .nav.is-open .brand, .nav.is-open .nav-toggle { height: 44px; }
  .nav.is-open .nav-links { display: grid; gap: 4px; width: 100%; margin: 8px 0 0; }
  .nav.is-open .nav-links a { display: block; padding: 10px 0; font-size: 18px; color: var(--ink); }
  .nav.is-open .nav-cta { display: inline-flex; width: 100%; min-height: 50px; }

  .hero .wrap, .problem-intro, .tech-top, .product-head, .anatomy,
  .story .wrap, .access .wrap, .faq .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 32px; }
  .pouch-stage { margin-top: 8px; }
  .sheet-head { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet-head div { border-left: 0; border-top: 1px solid var(--line); }
  .sheet-head div:nth-child(-n+2) { border-top: 0; }
  .sheet-head div:nth-child(even) { border-left: 1px solid var(--line); }
  .sheet-head .sheet-name { order: -1; border-left: 0; }
  .sheet-head div:first-child { border-left: 1px solid var(--line); }
  .pouch-stage { --rod: 0px; --hang-top: 56px; }
  .flats { grid-template-columns: minmax(0, 1fr); }
  .spec-list { columns: 1; }
  .evidence { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .specs { grid-template-columns: minmax(0, 1fr); }
  .specs dt { padding-bottom: 2px; border-bottom: 0; }
  .specs dd { padding-top: 0; }
}

@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .shift ol, .roadmap ol { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .shift li, .roadmap li { padding: 0 0 24px 30px; }
  .shift li::before, .roadmap li::before { top: 6px; }
  .shift ol::after, .roadmap ol::after {
    content: ""; position: absolute; left: 5px; top: 10px; bottom: 24px; width: 1px; background: var(--silver);
  }
  .roadmap ol::after { left: 6px; }
  .shift time { font-size: 19px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn { width: 100%; }
  .wash { grid-template-columns: 1fr auto; }
  .wash input[type="range"] { grid-column: 1 / -1; grid-row: 2; }
  .sheet { margin-left: calc(var(--gutter) * -1 + 8px); margin-right: calc(var(--gutter) * -1 + 8px); }
  .flats { padding-left: 4px; padding-right: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
