/* ==========================================================================
   G Hands — site styles
   Dark "lab" sections (ink) alternate with light "plate" sections (paper).
   ========================================================================== */

/* ---------- Fonts (self-hosted latin subsets, SIL OFL) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-italic-latin.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  /* brand */
  --accent: #84CC66;
  --accent-ink: #2E6A1E;        /* green on light surfaces */
  --muscle-green: #6FC04F;
  --muscle-red: #B02A22;
  --red: #9B231C;               /* red on light surfaces */
  --coral: #E07A70;             /* red on dark surfaces */

  /* dark surfaces */
  --ink: #0B0D0C;
  --ink-2: #121614;
  --on-ink: #EDEAE2;
  --on-ink-2: #BFC3BC;
  --on-ink-3: #A3A8A1;
  --on-ink-4: #8E938C;
  --rule-ink: rgba(237, 234, 226, 0.12);
  --rule-ink-2: rgba(237, 234, 226, 0.22);
  --rule-ink-3: rgba(237, 234, 226, 0.3);

  /* light surfaces */
  --paper: #EDEAE2;
  --sand: #E3DED2;
  --card: #F7F5F0;
  --on-paper: #191C1A;
  --on-paper-2: #2A2E2B;
  --on-paper-3: #3E433F;
  --on-paper-4: #4E534F;
  --rule-paper: #CFC8B8;
  --rule-paper-2: #DDD6C6;

  /* type */
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --serif: 'Instrument Serif', Georgia, serif;

  /* layout */
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(64px, 8vw, 120px);
  --notch: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  --notch-sm: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

/* ---------- Base ---------- */
::selection { background: var(--accent); color: var(--ink); }
:root { accent-color: var(--accent); caret-color: var(--accent); scrollbar-color: #3A3F3B var(--ink); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
section[id], main[id] { scroll-margin-top: 16px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.section-light :focus-visible,
.section-sand :focus-visible,
.early :focus-visible { outline-color: var(--on-paper); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap {
  /* --max is the content width; gutters sit outside it */
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.stack-24, .stack-36, .stack-40, .stack-48, .stack-72 { display: flex; flex-direction: column; }
.stack-24 { gap: 24px; }
.stack-36 { gap: 36px; }
.stack-40 { gap: 40px; }
.stack-48 { gap: 48px; }
.stack-72 { gap: 72px; }

.accent { color: var(--accent); }
.coral { color: var(--coral); }
.muted { color: var(--on-ink-2); }

/* ---------- Type primitives ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-light .eyebrow,
.section-sand .eyebrow { color: var(--accent-ink); }
.eyebrow.red, .section-light .eyebrow.red { color: var(--red); }

.mono-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-ink-3);
}
.mono-label.red { color: var(--red); font-size: 13px; }
.mono-label.ink { color: var(--ink); font-size: 13px; letter-spacing: 0.08em; }
.mono-label.dim { color: var(--on-ink-4); }

.display-xl, .display-lg, .display-md, .display-sm, .display-faq, .display-early {
  font-weight: 850;
  text-transform: uppercase;
  text-wrap: balance;
}
.display-xl { font-size: clamp(42px, 5.6vw, 84px); line-height: 0.94; letter-spacing: -0.015em; }
.display-lg { font-size: clamp(34px, 4.2vw, 60px); line-height: 0.98; letter-spacing: -0.01em; }
.display-md { font-size: clamp(32px, 3.6vw, 52px); line-height: 0.98; letter-spacing: -0.01em; }
.display-sm { font-size: clamp(26px, 2.6vw, 36px); line-height: 1; }
.display-faq { font-size: clamp(34px, 4vw, 56px); line-height: 0.98; letter-spacing: -0.01em; }
.display-early { font-weight: 900; font-size: clamp(38px, 5vw, 72px); line-height: 0.94; letter-spacing: -0.015em; }
.display-ed {
  font-weight: 750;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.fine { font-size: 14px; line-height: 1.5; color: var(--on-ink-3); }
.fine a { color: var(--accent); text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn svg { transition: transform .2s ease; }
@media (hover: hover) { .btn:hover svg { transform: translateX(3px); } }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; clip-path: var(--notch-sm); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 15px; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary.btn-lg { clip-path: var(--notch); }
@media (hover: hover) { .btn-primary:hover { background: #97D97B; } }
.btn-ghost { border: 1px solid rgba(237, 234, 226, 0.35); color: var(--on-ink); padding: 0 26px; }
@media (hover: hover) { .btn-ghost:hover { border-color: var(--on-ink); background: rgba(237, 234, 226, 0.06); } }
.btn-dark {
  align-self: flex-start;
  min-height: 50px;
  padding: 0 22px;
  font-size: 14px;
  background: var(--on-paper);
  color: var(--paper);
}
@media (hover: hover) { .btn-dark:hover { background: #000; } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.self-start { align-self: flex-start; }

.arrow-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  align-self: flex-start;
}
.arrow-link.coral { color: var(--coral); }
.arrow-link svg { transition: transform .2s ease; }
@media (hover: hover) { .arrow-link:hover svg { transform: translateX(3px); } }
@media (hover: hover) { .arrow-link:hover { text-decoration: underline; text-underline-offset: 4px; } }

/* ---------- Announcement + header ---------- */
.announce {
  background: var(--accent);
  color: var(--ink);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}
.announce a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }

.site-header { border-bottom: 1px solid var(--rule-ink); background: var(--ink); }
.nav {
  padding-block: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--on-ink);
  text-decoration: none;
  min-height: 44px;
  align-self: flex-start;
}
/* Hand-G mark: the SVG is used as a mask so the mark takes the brand colour. */
.brand-mark {
  display: block;
  flex: none;
  width: 20px;
  height: 40px;
  background: var(--accent);
  -webkit-mask: url('../img/logo-mark.svg') center / contain no-repeat;
          mask: url('../img/logo-mark.svg') center / contain no-repeat;
}
.brand-word { font-weight: 800; font-stretch: 125%; letter-spacing: 0.1em; font-size: 16px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px 24px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--on-ink); text-decoration: none; }
@media (hover: hover) { .nav-links a:hover { color: var(--accent); } }
.nav .btn-sm { align-self: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(237, 234, 226, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 234, 226, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  border-bottom: 1px solid var(--rule-ink);
}
.hero-inner {
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(48px, 6vw, 88px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-lede { max-width: 540px; font-size: 19px; line-height: 1.55; color: var(--on-ink-2); text-wrap: pretty; }
.made-for {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--rule-ink);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--rule-ink-2);
  color: var(--on-ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: border-color .15s ease, background-color .15s ease;
}
@media (hover: hover) { .chip:hover { border-color: var(--accent); background: rgba(132, 204, 102, 0.06); } }

.hero-figure-col { flex: 1 1 520px; min-width: 0; position: relative; }
.hero-glow {
  position: absolute;
  inset: 6% 4%;
  background: radial-gradient(closest-side, rgba(132, 204, 102, 0.18), rgba(132, 204, 102, 0) 72%);
  pointer-events: none;
}

/* Fig. 1 — layered hand renders */
.hand-fig {
  position: relative;
  border: 1px solid rgba(237, 234, 226, 0.16);
  background: rgba(11, 13, 12, 0.55);
}
.hand-fig-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule-ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-ink-3);
}
.hand-fig-bar.hand-controls { border-bottom: 0; border-top: 1px solid var(--rule-ink); }
.hand-controls-end { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hand-stage {
  position: relative;
  height: clamp(440px, 50vw, 680px);
  overflow: hidden;
}
.hand-view {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility 0s linear .45s;
  transform-origin: 50% 30%;
}
[data-side="palmar"] .hand-view[data-view="palmar"],
[data-side="dorsal"] .hand-view[data-view="dorsal"] {
  opacity: 1;
  visibility: visible;
  transition: opacity .45s ease, visibility 0s;
}
.hand-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  padding: 12px 0;
}
/* 3D render (hand3d.js). When it mounts, the image layers become the no-WebGL fallback. */
.hand-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  touch-action: pan-y;
  cursor: grab;
  opacity: 0;
  transition: opacity .5s ease;
}
.hand-canvas:active { cursor: grabbing; }
[data-render="3d"] .hand-canvas { opacity: 1; }
/* the model loads after the page; the images cross-fade out once it's drawn */
[data-render="3d"] .hand-view { opacity: 0 !important; visibility: hidden !important; transition: opacity .5s ease, visibility 0s linear .5s !important; }
.hand-hint { display: none; align-items: center; gap: 8px; margin-right: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-ink-3); }
[data-render="3d"] .hand-hint { display: inline-flex; }
.hand-anatomy { opacity: 0; transition: opacity .35s ease; }
.hand-glow {
  mix-blend-mode: screen;
  opacity: 0;
  filter: brightness(1.15) drop-shadow(0 0 10px rgba(132, 204, 102, 0.75));
  transition: opacity .35s ease;
}
[data-mode="anatomy"] .hand-anatomy { opacity: 1; }
[data-mode="anatomy"] .hand-glow { opacity: 0 !important; animation: none !important; }

@media (prefers-reduced-motion: no-preference) {
  [data-anim="on"] .hand-view { animation: grip-squeeze 2.8s ease-in-out infinite; }
  [data-anim="on"][data-mode="trains"] .hand-glow { animation: grip-glow 2.8s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  [data-mode="trains"] .hand-glow { opacity: .55; }
}
[data-anim="off"][data-mode="trains"] .hand-glow { opacity: .55; }

/* The no-WebGL fallback's grip loop stops while the figure is off screen. */
.hand-fig:not([data-inview]) .hand-view, .hand-fig:not([data-inview]) .hand-glow { animation-play-state: paused !important; }
@keyframes grip-squeeze {
  0%, 100% { transform: scale(1) translateY(0); }
  42%, 62% { transform: scale(0.982) translateY(0.6%); }
}
@keyframes grip-glow {
  0%, 100% { opacity: 0; }
  42%, 62% { opacity: 1; }
}

.seg { display: flex; border: 1px solid rgba(237, 234, 226, 0.25); }
.seg button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--on-ink);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
@media (hover: hover) { .seg button:hover { background: rgba(237, 234, 226, 0.08); } }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--ink); }
.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(237, 234, 226, 0.25);
  background: transparent;
  color: var(--on-ink);
  cursor: pointer;
}
@media (hover: hover) { .icon-btn:hover { background: rgba(237, 234, 226, 0.08); } }
.icon-btn .i-play { display: none; }
.icon-btn[aria-pressed="true"] .i-play { display: block; }
.icon-btn[aria-pressed="true"] .i-pause { display: none; }
@media (prefers-reduced-motion: reduce) {
  .icon-btn[data-anim-toggle] { display: none; }
}

.hand-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 0 16px 14px;
  font-size: 14px;
  color: var(--on-ink-2);
}
[data-mode="anatomy"] .hand-legend { display: none; }
.hand-legend a { color: var(--accent); text-underline-offset: 3px; }
.hand-fig figcaption {
  padding: 10px 16px;
  border-top: 1px solid var(--rule-ink);
  font-size: 12px;
  color: var(--on-ink-4);
}

.key { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 12px; height: 12px; flex: none; }
.swatch-green { background: var(--muscle-green); }
.swatch-red { background: var(--muscle-red); }
.swatch-bone { background: #D8CFB8; border: 1px solid #B9AF98; }

/* ---------- How it works ---------- */
.steps-band { border-bottom: 1px solid var(--rule-ink); }
.steps {
  list-style: none;
  padding-block: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 28px 40px;
}
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.steps li > div { display: flex; flex-direction: column; gap: 4px; }
.step-n { font-family: var(--mono); font-size: 14px; color: var(--accent); padding-top: 3px; }
.steps h3 { font-size: 18px; font-weight: 700; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.02em; }
.steps p { font-size: 15px; color: var(--on-ink-3); }

/* ---------- Generic sections ---------- */
.section { padding-block: var(--section-y); }
.section-light { background: var(--paper); color: var(--on-paper); }
.section-sand { background: var(--sand); color: var(--on-paper); border-top: 1px solid var(--rule-paper); }
.section-device { background: var(--ink-2); border-block: 1px solid var(--rule-ink); }

.section-head { display: flex; flex-direction: column; gap: 16px; }
.section-head.narrow { max-width: 820px; }
.section-head.narrow-760 { max-width: 760px; }

.split-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 64px;
  align-items: flex-end;
  justify-content: space-between;
}
.split-head-title { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split-head-lede { flex: 1 1 380px; min-width: 0; font-size: 18px; color: var(--on-paper-3); text-wrap: pretty; }
.split-head-lede.dark { flex-basis: 360px; font-size: 17px; color: var(--on-ink-2); }
.lede { font-size: 18px; color: var(--on-paper-3); }

.grid-340, .grid-260, .grid-380 { display: grid; gap: 20px; }
.grid-340 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.grid-260 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.grid-380 { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }

/* checklists */
.checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checks-green li::before { background: var(--accent-ink); }
.checks-stop li::before {
  background: var(--red);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12'/%3E%3Cpath d='M18 6L6 18'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12'/%3E%3Cpath d='M18 6L6 18'/%3E%3C/svg%3E");
}

/* ---------- Who it's for ---------- */
.aud-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: var(--ink-2);
  border: 1px solid var(--rule-ink);
  transition: border-color .2s ease;
}
@media (hover: hover) { .aud-card:hover { border-color: rgba(237, 234, 226, 0.26); } }
.aud-card-top { display: flex; justify-content: space-between; align-items: center; }
.aud-card-top .mono-label { font-size: 13px; }
.aud-card h3 { font-weight: 850; font-size: 30px; line-height: 1; text-transform: uppercase; }
.aud-card > p { color: var(--on-ink-2); }
.callout-warn {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: rgba(176, 42, 34, 0.16);
  border: 1px solid rgba(224, 122, 112, 0.45);
  font-size: 15px;
  line-height: 1.5;
  color: #F3D6D2;
}
.callout-warn svg { flex: none; margin-top: 2px; color: var(--coral); }

/* ---------- Muscle map ---------- */
.muscle-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.muscle-figs {
  flex: 1 1 520px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
}
.plate { display: flex; flex-direction: column; gap: 10px; }
.plate-frame { aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand); border: 1px solid var(--rule-paper); }
.plate-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.plate figcaption {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-paper-4);
}
.muscle-list-col { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.muscle-list { list-style: none; padding: 0; display: flex; flex-direction: column; }
.muscle-list li { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--rule-paper); }
.muscle-list li:last-child { border-bottom: 1px solid var(--rule-paper); }
.muscle-list li > div { display: flex; flex-direction: column; gap: 4px; }
.muscle-list h3 { font-size: 21px; font-weight: 700; }
.muscle-list p { font-size: 16px; color: var(--on-paper-2); }
.muscle-list p:not(.latin) { margin-top: 4px; }
.muscle-list .latin { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--on-paper-4); }
.muscle-list a { color: var(--accent-ink); font-weight: 600; text-underline-offset: 3px; }
.num-dot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--muscle-green);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
}
.legend-row { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--on-paper-2); }
.section-light .fine { font-size: 13px; line-height: 1.5; color: #575B57; }

/* ---------- Research ---------- */
.stat-card { display: flex; flex-wrap: wrap; background: var(--card); border: 1px solid var(--rule-paper); }
.stat-card-img {
  flex: 1 1 300px;
  min-height: 340px;
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border-right: 1px solid var(--rule-paper);
}
.stat-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  transform: scale(1.8);
  transform-origin: 34% 30%;
}
.tag-dark {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 4px 8px;
  background: var(--on-paper);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stat-card-body { flex: 2 1 480px; min-width: 0; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.stat-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 28px; }
.stat-big {
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(88px, 11vw, 168px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--red);
}
.stat-cap {
  margin-bottom: 6px;
  max-width: 280px;
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.1;
  text-transform: uppercase;
}
.stat-text { font-size: 18px; color: var(--on-paper); }
.stat-note { padding-top: 16px; border-top: 1px solid var(--rule-paper-2); font-size: 15px; line-height: 1.55; color: var(--on-paper-3); }
.stat-note strong { color: var(--on-paper); }
.stat-cite { font-size: 14px; color: var(--on-paper-4); }
.stat-cite a { color: var(--on-paper); font-weight: 700; text-underline-offset: 3px; }

.studies-head { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; justify-content: space-between; }
.studies-head h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 750; letter-spacing: -0.01em; }
.studies-head .mono-label { color: var(--on-paper-4); letter-spacing: 0.08em; }
.studies { gap: 16px; }
.study {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--rule-paper);
}
.study-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.study-n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--on-paper);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 14px;
}
.study-kind {
  padding: 3px 8px;
  border: 1px solid #9C9584;
  color: var(--on-paper-3);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.study-title { display: flex; flex-direction: column; gap: 6px; }
.study-title h4 { font-size: 21px; font-weight: 700; line-height: 1.2; }
.study-title p { font-size: 14px; color: var(--on-paper-4); }
.study > div:not([class]) { display: flex; flex-direction: column; gap: 4px; }
.study > div:not([class]) p:not(.study-label) { font-size: 16px; line-height: 1.5; color: var(--on-paper-2); }
.study-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-paper);
}
.study-label.green { color: var(--accent-ink); }
.study-src { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rule-paper-2); }
.study-src a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--on-paper);
  font-weight: 700;
  font-size: 15px;
  text-underline-offset: 3px;
}

.callout-ok, .callout-alert {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: flex-start;
  padding: clamp(22px, 3vw, 36px);
}
.callout-ok { background: #DCEBD3; border: 1px solid #A9C79A; }
.callout-ok > svg { flex: none; color: var(--accent-ink); }
.callout-ok > div, .callout-alert > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.callout-ok h3 { font-size: 20px; font-weight: 750; }
.callout-ok p { font-size: 16px; line-height: 1.55; color: var(--on-paper-2); }

/* ---------- Routine ---------- */
.routine-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.routine-bar .mono-label { font-size: 13px; letter-spacing: 0.08em; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--rule-ink-3);
  background: transparent;
  color: var(--on-ink);
  font-family: var(--sans);
  font-weight: 700;
  font-stretch: 112%;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
@media (hover: hover) { .tabs button:hover { border-color: var(--on-ink); } }
.tabs button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }

.drills { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.drill { display: flex; flex-direction: column; background: var(--paper); color: var(--on-paper); }
/* Fixed shape, not a fixed height: a full-width phone card used to show only the fingertips. */
.drill-img { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--sand); border-bottom: 1px solid var(--rule-paper); }
.drill-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  transform: scale(var(--zoom, 1));
  transform-origin: var(--origin, 50% 0%);
}
.drill-n { position: absolute; top: 10px; left: 12px; font-weight: 900; font-stretch: 125%; font-size: 30px; line-height: 1; color: var(--on-paper); }
.drill-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 22px; flex: 1; }
.drill-body h3 { font-weight: 800; font-size: 19px; line-height: 1.15; text-transform: uppercase; }
.drill-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-dose, .tag-focus { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }
.tag-dose { padding: 3px 8px; background: var(--on-paper); color: var(--paper); }
.tag-focus { padding: 2px 8px; border: 1px solid var(--accent-ink); color: var(--accent-ink); }
.drill-body p { font-size: 15px; line-height: 1.5; color: var(--on-paper-2); }
@media (prefers-reduced-motion: no-preference) {
  .drills:not([hidden]) .drill { animation: rise .35s ease both; }
  .drills .drill:nth-child(2) { animation-delay: .04s; }
  .drills .drill:nth-child(3) { animation-delay: .08s; }
  .drills .drill:nth-child(4) { animation-delay: .12s; }
  .drills .drill:nth-child(5) { animation-delay: .16s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .drills:not([hidden]) .drill, .rehab-panel:not([hidden]) { animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  .rehab-panel:not([hidden]) { animation: rise .35s cubic-bezier(.16, 1, .3, 1) both; }
}

.rehab-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  padding: clamp(24px, 4vw, 48px);
  background: var(--paper);
  color: var(--on-paper);
}
.rehab-main, .rehab-qs { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.rehab-qs { gap: 14px; }
.rehab-main > svg { color: var(--red); }
.rehab-main h3 { font-weight: 750; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -0.01em; }
.rehab-main p { font-size: 17px; color: var(--on-paper-2); }
.rehab-qs ol { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; }

.routine-warn { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--on-ink-2); }
.routine-warn svg { flex: none; margin-top: 3px; color: var(--coral); }

/* ---------- Device ---------- */
.device-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.device-photo { flex: 1 1 540px; min-width: 0; }
.device-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px dashed var(--rule-ink-3);
  background: var(--ink);
  color: var(--on-ink-4);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}
.specs { display: flex; flex-direction: column; }
.specs > div {
  display: grid;
  grid-template-columns: minmax(110px, 140px) 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(237, 234, 226, 0.14);
}
.specs > div:last-child { border-bottom: 1px solid rgba(237, 234, 226, 0.14); }
.specs dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-ink-3);
  padding-top: 3px;
}
.refined-lede { flex: 0 1 560px; }
.proto { display: flex; flex-direction: column; gap: 10px; }
.proto figcaption { font-size: 14px; color: var(--on-ink-3); }
.proto-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); border: 1px solid var(--rule-ink); }
.proto-media video, .proto-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.proto-media-toggle, .motion-toggle {
  position: absolute;
  right: 10px;
  bottom: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--rule-ink-3);
  background: rgba(11, 13, 12, 0.72);
  color: var(--on-ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
@media (hover: hover) { .proto-media-toggle:hover, .motion-toggle:hover { border-color: var(--accent); color: var(--accent); } }
/* The 3D turntable's own Play/Pause, top-right of its stage (WCAG 2.2.2: anything
   that moves for more than 5 seconds can be stopped). */
.motion-toggle { top: 10px; bottom: auto; z-index: 2; }

/* ---------- Safety ---------- */
.callout-alert { gap: 20px 32px; background: #F5E1DD; border: 1px solid #D9A39D; }
.callout-alert > svg { flex: none; color: var(--red); }
.callout-alert h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 750; line-height: 1.2; }
.callout-alert p { font-size: 17px; color: var(--on-paper-2); }
.safety-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--rule-paper);
}
.safety-card h3 { font-size: 20px; font-weight: 700; }
.safety-card .checks { gap: 12px; font-size: 16px; color: var(--on-paper-2); }
.safety-card .checks li { padding-left: 30px; }
.disclaimer {
  padding-top: 24px;
  border-top: 1px solid var(--rule-paper);
  font-size: 14px;
  line-height: 1.6;
  color: var(--on-paper-3);
  max-width: 980px;
}
.disclaimer strong { color: var(--on-paper); }

/* ---------- FAQ ---------- */
.faq-layout { display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: flex-start; }
.faq-intro { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.faq-intro a { color: var(--accent); text-underline-offset: 3px; }
.faq-list { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid rgba(237, 234, 226, 0.16); }
.faq-list details { border-bottom: 1px solid rgba(237, 234, 226, 0.16); }
.faq-list summary {
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font-size: 19px; font-weight: 700; line-height: 1.35; }
@media (hover: hover) { .faq-list summary:hover h3 { color: var(--accent); } }
.faq-sign {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--rule-ink-3);
  color: var(--on-ink);
  font-family: var(--mono);
  font-size: 18px;
  transition: background-color .15s ease, border-color .15s ease;
}
.faq-sign::before { content: '+'; }
details[open] .faq-sign { background: var(--accent); border-color: var(--accent); color: var(--ink); }
details[open] .faq-sign::before { content: '\2212'; }
.faq-list details p { padding: 0 56px 22px 0; font-size: 17px; color: var(--on-ink-2); }
.faq-list details p a { color: var(--accent); text-underline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .faq-list details[open] p { animation: rise .25s ease both; }
}

/* ---------- Early access ---------- */
.early { background: var(--accent); color: var(--ink); padding-block: clamp(56px, 7vw, 104px); }
.early-inner { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; justify-content: space-between; }
.early-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.early-copy > p:last-child { max-width: 520px; font-size: 18px; }
.early-form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.early-fields { display: flex; flex-wrap: wrap; gap: 8px; }
.early-fields input {
  flex: 1 1 240px;
  min-width: 0;
  min-height: 56px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: #F4FBEF;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
}
.early-fields input::placeholder { color: #5D6B57; }
.early-fields input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.early-fields input[aria-invalid="true"] { border-color: #7A1A14; box-shadow: inset 0 0 0 1px #7A1A14; }
.btn-submit {
  min-height: 56px;
  padding: 0 26px;
  border: 0;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--sans);
  font-weight: 700;
  font-stretch: 112%;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .15s ease;
}
@media (hover: hover) { .btn-submit:hover { background: #26302A; } }
.btn-submit[disabled] { opacity: .7; cursor: progress; }
.early-status { font-size: 15px; font-weight: 600; }
.early-status:empty { margin-top: -12px; } /* keep the live region mounted without adding a gap */
.early-status[data-state="error"] { color: #6E1610; }
.early-alt { font-size: 14px; }
.early-alt a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-2); padding: 64px 0 36px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand p { font-size: 14px; color: var(--on-ink-3); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.footer-col > .mono-label { margin-bottom: 4px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--on-ink); text-decoration: none; }
@media (hover: hover) { .footer-col a:hover { color: var(--accent); } }
.footer-notes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--rule-ink);
  font-size: 13px;
  line-height: 1.6;
  color: var(--on-ink-4);
}
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--on-ink-4); }
.footer-legal div { display: flex; gap: 20px; }
.footer-legal a { color: var(--on-ink-3); }
/* Inline links keep their visual size but get a 44px-tall tap area. */
.announce a, .hand-legend a, .device-cap a, .footer-legal a, .fine a {
  display: inline-block; padding-block: 13px; margin-block: -13px;
}
/* The 20px between legal links is the links' own padding, so short words like
   "FAQ" get a 44px-wide tap area without moving anything or poking out of the row. */
.footer-legal div { gap: 0; }
.footer-legal div a { padding-inline: 10px; }
.footer-legal div a:first-child { padding-left: 0; }
.footer-legal div a:last-child { padding-right: 0; }
/* Links inside sentences: a taller invisible tap band. Vertical padding on an
   inline box doesn't move the text, but it is part of what you can tap. */
:is(main, footer) :is(p, li, small) a:not(.btn) { padding-block: 14px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- Small screens ---------- */
@media (max-width: 520px) {
  .aud-card { padding: 24px; }
  .study { padding: 22px; }
  .faq-list details p { padding-right: 0; }
  .specs > div { grid-template-columns: 1fr; gap: 4px; }
  .hand-fig-bar.hand-controls { padding: 12px; }
  .seg button { padding: 0 12px; font-size: 12px; }
}

/* ==========================================================================
   Pre-order (preorder.html)
   ========================================================================== */
.po { padding-block: clamp(32px, 5vw, 72px) clamp(64px, 8vw, 112px); }
.po-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 900px) { .po-layout { grid-template-columns: 1fr; } }
.po-preview { position: sticky; top: 24px; }
/* Phones and tablets: the preview stays pinned, compact, at the top of the
   screen while you pick an edition and colour, so every change is visible.
   Vertical swipes on the canvas still scroll the page (touch-action: pan-y). */
@media (max-width: 900px) {
  :root { --po-stage-h: clamp(170px, 28svh, 260px); }
  html:has(.po-layout) { scroll-padding-top: calc(var(--po-stage-h) + 56px); } /* keep focused fields clear of it */
  .po-preview { position: sticky; top: 0; z-index: 5; }
  .po-preview .po-fig { box-shadow: 0 18px 24px -18px rgba(0, 0, 0, 0.9); }
  .po-preview .po-stage { height: var(--po-stage-h); }
  .po-preview .po-fig .hand-controls {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 8px 12px; border-top: 0; justify-content: flex-end; pointer-events: none;
  }
  .po-preview .po-fig .hand-controls .mono-label { font-size: 11px; }
  .po-preview .po-fig[data-render="3d"] .po-hint { display: none; }
}
/* Too short to pin (phones in landscape): let it scroll away as before. */
@media (max-width: 900px) and (max-height: 560px) {
  .po-preview { position: static; }
  .po-preview .po-stage { height: clamp(220px, 60svh, 320px); }
}

.po-fig { position: relative; border: 1px solid rgba(237, 234, 226, 0.16); background:
  linear-gradient(rgba(237, 234, 226, 0.035) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(90deg, rgba(237, 234, 226, 0.035) 1px, transparent 1px) 0 0 / 40px 40px,
  var(--ink); }
@property --glow { syntax: '<color>'; inherits: true; initial-value: #2B2D2C; }
.po-fig { --glow: #2B2D2C; transition: --glow .6s cubic-bezier(.16, 1, .3, 1); }
.po-stage { position: relative; height: clamp(320px, 42vw, 560px); isolation: isolate; }
.po-stage::before { content: ''; position: absolute; inset: 8% 12%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 34%, transparent), transparent 75%); }
@media (prefers-reduced-motion: reduce) { .po-fig { transition: none; } }
.po-fig[data-render="3d"] .hand-canvas { opacity: 1; }
.po-fig[data-render="3d"] .po-fallback { display: none; }
.po-fig[data-render="3d"] .po-hint { display: inline-flex; }
.po-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.po-fallback-swatch { width: 120px; height: 72px; border-radius: 36px; background: #2B2D2C; box-shadow: inset 0 -8px 20px rgba(0, 0, 0, .35); }
.po-fig .hand-controls { justify-content: space-between; }

.po-form-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.po-form-col .muted { font-size: 16px; text-wrap: pretty; }
.po-alert { padding: 14px 16px; border: 1px solid rgba(224, 122, 112, 0.45); background: rgba(176, 42, 34, 0.16); color: #F3D6D2; font-size: 15px; }

.po-form { display: flex; flex-direction: column; gap: 24px; }
.po-set { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.po-legend { padding: 0; margin-bottom: 14px; font-weight: 800; font-stretch: 112%; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-ink); }

.po-editions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 10px; }
.po-card { position: relative; display: block; cursor: pointer; }
.po-card input, .po-swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.po-card-body { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 18px; border: 1px solid var(--rule-ink-3); background: var(--ink-2); transition: border-color .15s ease, background-color .15s ease; }
@media (hover: hover) { .po-card:hover .po-card-body { border-color: rgba(237, 234, 226, 0.5); } }
.po-card input:checked + .po-card-body { border-color: var(--accent); background: rgba(132, 204, 102, 0.08); box-shadow: inset 0 0 0 1px var(--accent); }
.po-card input:focus-visible + .po-card-body { outline: 2px solid var(--accent); outline-offset: 3px; }
.po-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.po-card-name { font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: .03em; }
.po-price { font-family: var(--mono); font-weight: 500; color: var(--accent); }
.po-card-text { font-size: 14px; color: var(--on-ink-2); line-height: 1.45; }

/* Colour: a row of large swatches; the selected one is named underneath. */
.po-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 10px; max-width: 580px; }
.po-swatch { position: relative; display: block; width: 100%; min-width: 44px; max-width: 48px; aspect-ratio: 1; border-radius: 50%; cursor: pointer; }
.po-chip { display: block; width: 100%; height: 100%; border-radius: 50%;
  background: linear-gradient(135deg, var(--chip) 50%, var(--chip2) 50%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 -6px 10px rgba(0, 0, 0, .28), inset 0 5px 8px rgba(255, 255, 255, .14);
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease; }
@media (hover: hover) { .po-swatch:hover .po-chip { transform: scale(1.08); } }
.po-swatch:has(input:checked) .po-chip { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--on-ink), inset 0 -6px 10px rgba(0, 0, 0, .28), inset 0 5px 8px rgba(255, 255, 255, .14); }
.is-muted .po-swatch:has(input:checked) .po-chip { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 -6px 10px rgba(0, 0, 0, .28); }
.is-muted .po-chip { filter: saturate(.7) brightness(.85); }
@media (hover: hover) { .is-muted .po-swatch:hover .po-chip { filter: none; } }
.po-swatch:has(input:focus-visible) .po-chip { outline: 2px solid var(--accent); outline-offset: 6px; }
.po-pick { min-height: 3em; font-size: 15px; line-height: 1.5; color: var(--on-ink-2); text-wrap: pretty; }
.po-pick strong { color: var(--on-ink); font-weight: 700; }
.po-pick-name { font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: .04em; color: var(--on-ink); }
.po-card-dots { display: flex; gap: 4px; margin-top: auto; padding-top: 6px; }
.po-card-dots span { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--chip) 50%, var(--chip2) 50%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.po-chip-sm { display: inline-block; flex: none; width: 14px; height: 14px; }

.po-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 16px; align-items: end; }
@media (max-width: 420px) { .po-row { grid-template-columns: 1fr; } }
.po-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.po-field label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-3); }
.po-stepper { display: flex; border: 1px solid var(--rule-ink-3); }
.po-stepper button { width: 46px; min-height: 48px; border: 0; background: transparent; color: var(--on-ink); font-size: 20px; cursor: pointer; }
@media (hover: hover) { .po-stepper button:hover { background: rgba(237, 234, 226, 0.08); } }
.po-stepper input { width: 52px; border: 0; border-inline: 1px solid var(--rule-ink-3); background: transparent; color: var(--on-ink); text-align: center; font: 600 17px var(--sans); -moz-appearance: textfield; }
.po-stepper input::-webkit-outer-spin-button, .po-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.po-field select { width: 100%; min-height: 50px; padding: 0 40px 0 14px; border: 1px solid var(--rule-ink-3); border-radius: 0; background: var(--ink-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23BFC3BC' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--on-ink); font: 500 16px var(--sans); appearance: none; -webkit-appearance: none; }

.po-summary { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; background: var(--ink-2); border: 1px solid var(--rule-ink); }
.po-sum-row { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.po-sum-row span:last-child { font-family: var(--mono); white-space: nowrap; }
.po-sum-dim { color: var(--on-ink-3); }
.po-sum-total { padding-top: 10px; border-top: 1px solid var(--rule-ink); font-weight: 750; font-size: 17px; }
.po-sum-charity { font-size: 14px; color: var(--accent); }
.po-terms { padding: 14px 16px; border: 1px solid var(--rule-ink-3); background: var(--ink-2); transition: border-color .2s ease; }
.po-terms.is-error { border-color: var(--coral); }
.po-terms-label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.5; color: var(--on-ink); text-wrap: pretty; }
.po-terms-label input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; }
.po-submit { width: 100%; }
.po-submit[disabled] { opacity: .7; cursor: progress; }
.po-status { font-size: 15px; font-weight: 600; min-height: 1.4em; }
.po-status:empty { min-height: 0; margin-top: -24px; }
.po-status[data-state="error"] { color: var(--coral); }

.po-details { border-top: 1px solid rgba(237, 234, 226, 0.16); }
.po-details:last-of-type { border-bottom: 1px solid rgba(237, 234, 226, 0.16); }
.po-details { padding-block: 8px; }
.po-details summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; padding-block: 10px; cursor: pointer; list-style: none; font-weight: 700; }
.po-details summary::-webkit-details-marker { display: none; }
.po-details[open] .faq-sign { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.po-details[open] .faq-sign::before { content: '\2212'; }
.po-details-body { display: flex; flex-direction: column; gap: 12px; padding-bottom: 20px; font-size: 15px; color: var(--on-ink-2); }
.po-ship-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.po-ship-table th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-3); font-weight: 400; padding-bottom: 6px; }
.po-ship-table td { padding: 7px 0; border-top: 1px solid var(--rule-ink); color: var(--on-ink); }
.po-ship-table td:last-child, .po-ship-table th:last-child { text-align: right; font-family: var(--mono); }
.po-ship-notes, .po-charity-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.po-charity-list { list-style: none; padding: 0; }
.po-charity-list li { display: flex; align-items: center; gap: 10px; color: var(--on-ink); }
.po-charity-list .po-chip { border-radius: 50%; }

.po-done { max-width: 640px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 420px) { .po-submit { font-size: 13.5px; letter-spacing: .04em; padding-inline: 16px; } }

/* Homepage device section: white V16 turntable in place of the product photo */
.device-fig { background: radial-gradient(120% 90% at 50% 100%, #161B17, var(--ink) 70%); }
.device-stage { height: auto; aspect-ratio: 4 / 3; cursor: grab; }
.device-fig .po-stage::before { inset: 4% 8%; }
.device-cap { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--rule-ink); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-3); }
.device-cap a { color: var(--accent); text-underline-offset: 3px; }

/* ---------- Pressed states ----------
   Every control answers the touch itself instead of Safari's grey tap flash.
   The pressed look applies instantly (no transition in) and eases back out on
   release through each control's existing transition. iOS only applies
   :active when the page has a touch listener; the page scripts add a no-op one. */
a, button, summary, label, select, input { -webkit-tap-highlight-color: transparent; }
.btn:active { filter: brightness(0.9); transition-duration: 0s; }
.btn-ghost:active, .seg button:active, .icon-btn:active, .tabs button:active,
.po-stepper button:active, .proto-media-toggle:active, .motion-toggle:active, .chip:active { background: rgba(237, 234, 226, 0.14); transition-duration: 0s; }
.btn-submit:active { background: #26302A; transition-duration: 0s; }
.nav-links a:active, .footer-col a:active, .arrow-link:active,
.announce a:active, .device-cap a:active, .footer-legal a:active, .fine a:active { opacity: 0.55; }
.faq-list summary:active h3 { color: var(--accent); }
.po-card:active .po-card-body { border-color: rgba(237, 234, 226, 0.5); background-color: rgba(237, 234, 226, 0.03); }
.po-swatch:active .po-chip { transform: scale(0.9); transition-duration: 0s; }
@media (prefers-reduced-motion: reduce) {
  .po-swatch:active .po-chip { transform: none; opacity: 0.7; }
}

/* Early-access honeypot: off-screen for people; naive bots still fill it in. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Privacy policy and terms of sale (reading pages) ---------- */
.legal { padding-block: clamp(32px, 5vw, 72px) clamp(64px, 8vw, 112px); }
.legal-body { max-width: 70ch; display: flex; flex-direction: column; gap: 16px; }
.legal-body h1 { margin-bottom: 4px; }
.legal-body h2 { margin-top: 24px; font-size: 20px; line-height: 1.25; font-weight: 750; letter-spacing: -0.005em; text-wrap: balance; }
.legal-body p, .legal-body li { font-size: 17px; line-height: 1.65; color: var(--on-ink-2); text-wrap: pretty; }
.legal-body strong { color: var(--on-ink); font-weight: 650; }
.legal-body ul { padding-left: 1.25em; display: grid; gap: 8px; }
.legal-body a { color: var(--accent); text-underline-offset: 3px; }
.legal-body a:active { opacity: 0.55; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 16px 0; border-block: 1px solid var(--rule-ink); }
.legal-toc a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; padding-block: 12px; margin-block: -12px; }
