/* ============================================================
   NEXUM — Chapters
   The page carries one continuous signal line: it leaves the ring,
   is understood on the phone, forks once at consent, and ends at a
   horizon that splits into two ways of getting in touch.
   ============================================================ */

/* ============================ 1 · HERO ============================ */
.hero {
  position: relative;
  min-height: 100svh;
  padding-block: calc(var(--banner-h) + var(--nav-h) + clamp(1.25rem, 3.5vh, 3.25rem)) clamp(1.75rem, 4.5vh, 3.5rem);
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--bg);
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(72% 58% at 68% 44%, rgba(201,162,78,0.13), transparent 62%),
    radial-gradient(50% 40% at 20% 78%, rgba(255,255,255,0.035), transparent 70%);
}
:root[data-theme="light"] .hero__bg { display: none; }
.hero__grid {
  position: relative;
  width: 100%; max-width: var(--w-wide); margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  grid-template-areas: "copy stage" "meta meta";
  align-items: center;
  column-gap: clamp(2rem, 4vw, 5rem);
  row-gap: 0;
}
.hero__copy  { grid-area: copy; }
.hero__stage { grid-area: stage; }
.hero__meta  { grid-area: meta; }
.hero__copy { position: relative; z-index: 2; max-width: min(100%, 40rem); }
.hero__eyebrow { margin-bottom: clamp(1rem, 2vh, 1.6rem); }
.hero h1 { margin-bottom: clamp(1.25rem, 2.5vh, 1.9rem); max-width: 12em; }
.hero h1 .line-2 { display: block; color: var(--accent); }
.hero__sub {
  font-size: var(--t-lead); line-height: 1.55; color: var(--fg-2);
  max-width: 58ch; margin-bottom: clamp(1.25rem, 2.75vh, 2rem);
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }
.hero__tertiary { margin-top: 0.9rem; }
.hero__meta {
  margin-top: clamp(1.1rem, 2.5vh, 1.75rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.5rem;
}
.hero__product {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.15rem);
  letter-spacing: 0.01em; color: var(--fg-1);
}
.hero__product .sep { color: var(--accent); padding-inline: 0.25em; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 0.3rem 0; }
.hero__trust li + li { border-left: 1px solid var(--line-med); margin-inline-start: 0.9rem; padding-inline-start: 0.9rem; }
.hero__trust li { list-style: none; }

/* Ring stage — the product is physically present, lit slowly */
.hero__stage { position: relative; z-index: 1; }
.hero__ring {
  position: relative;
  width: min(100%, 560px);
  margin-inline: auto;
  aspect-ratio: 1400 / 1184;
}
.hero__ring img { width: 100%; height: 100%; object-fit: contain; }
.hero__sweep {
  position: absolute; inset: 0;
  -webkit-mask-image: url("../media/nexum-ring.png");
          mask-image: url("../media/nexum-ring.png");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  background: linear-gradient(104deg,
      transparent 34%,
      rgba(201,162,78,0.35) 44%,
      rgba(240,214,160,0.72) 50%,
      rgba(201,162,78,0.30) 56%,
      transparent 66%);
  background-size: 260% 100%;
  mix-blend-mode: screen;
  opacity: 0.9;
  animation: ring-sweep 13s var(--ease) infinite;
}
:root[data-theme="light"] .hero__sweep { mix-blend-mode: normal; opacity: 0.42; }
@keyframes ring-sweep {
  0%   { background-position: 135% 0; }
  62%  { background-position: -55% 0; }
  100% { background-position: -55% 0; }
}
.hero__halo {
  position: absolute; inset: -18%;
  background: var(--glow);
  animation: halo-breathe 11s ease-in-out infinite;
  pointer-events: none;
}
@keyframes halo-breathe {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.045); }
}
.hero__traces { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
.hero__traces path { stroke: var(--trace); stroke-width: 1; fill: none; }
.hero__traces .t-gold { stroke: var(--accent-line); }
.hero__traces .flow { stroke-dasharray: 3 9; animation: trace-flow 9s linear infinite; }
@keyframes trace-flow { to { stroke-dashoffset: -120; } }
.hero__node {
  fill: var(--bg); stroke: var(--accent-line); stroke-width: 1;
}
.hero__node-label {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em;
  text-transform: uppercase; fill: var(--fg-3);
}

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3rem); }
  .hero__grid { grid-template-areas: "stage" "copy" "meta"; }
  .hero__copy { max-width: none; }
  .hero__ring { width: min(78%, 420px); }
  }
@media (max-width: 620px) {
  .hero { min-height: auto; }
  .hero__ring { width: min(92%, 340px); }
  .hero__actions .btn { flex: 1 1 100%; }
}
/* Exhibition: 16:9 large screens keep the promise inside a safe area */
@media (min-width: 1600px) {
  .hero__grid { max-width: 1620px; }
  .hero h1 { font-size: clamp(5rem, 5.4vw, 6.6rem); }
  .hero__sub { font-size: 1.6rem; max-width: 30ch; }
}

/* ============================ 2 · PREMISE ============================ */
.premise {
  position: relative;
  min-height: 82svh;
  display: flex; align-items: center;
  padding-block: clamp(5rem, 10vw, 9rem);
  overflow: hidden;
}
.premise__line { position: absolute; inset-inline: 0; inset-block-start: 0; height: 100%; width: 100%; pointer-events: none; }
.premise__line path { stroke: var(--accent-line); stroke-width: 1; }
.premise__inner { position: relative; width: 100%; }
.premise h2 {
  font-size: clamp(3rem, 1.4rem + 8vw, 8.5rem);
  line-height: 0.96;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.premise h2 .own { display: block; color: var(--accent); }
.premise__copy {
  font-size: var(--t-lead); color: var(--fg-2); max-width: 44ch;
  margin-inline-start: auto; text-wrap: pretty;
}
.premise__sig {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 44ch; margin-inline-start: auto;
}
@media (min-width: 1000px) {
  .premise__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 6rem); align-items: end; }
  .premise h2 { margin-bottom: 0; grid-column: 1; }
  .premise__aside { grid-column: 2; padding-bottom: 0.75rem; }
  .premise__copy, .premise__sig { margin-inline-start: 0; }
}

/* ============================ 3 · PLATFORM FLOW ============================ */
.flow__head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); max-width: 52ch; }
.flow__claim {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.45; color: var(--fg-1); letter-spacing: -0.01em;
  max-width: 34ch;
}
.flow__claim em { font-style: normal; color: var(--accent); display: block; }

.flow { position: relative; }
.flow__track { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.flow__track path { stroke-width: 1.25; }
.flow__track .rail   { stroke: var(--line); }
.flow__track .live   { stroke: var(--accent); stroke-dasharray: var(--len); stroke-dashoffset: calc(var(--len) - (var(--len) * var(--p, 0))); }
.flow__track .branch { stroke: var(--info); stroke-dasharray: 4 7; }

.flow__stages {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.stage { position: relative; padding-top: 3.25rem; }
.stage__idx {
  position: absolute; inset-block-start: 0; inset-inline-start: 0;
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-mono); font-size: var(--t-mono);
  letter-spacing: 0.14em; color: var(--fg-4);
}
.stage__dot {
  width: 11px; height: 11px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--bg);
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.stage.is-lit .stage__dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.stage.is-lit .stage__idx { color: var(--accent); }
.stage h3 { margin-bottom: 0.85rem; }
.stage h3 .dot-end { color: var(--accent); }
.stage__body { color: var(--fg-2); font-size: var(--t-small); max-width: 34ch; margin-bottom: 1.5rem; }
.stage__label { display: block; color: var(--fg-4); }
.stage__vis {
  margin-block: 1.5rem;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  position: relative; overflow: hidden;
}
.stage__vis svg { position: absolute; inset: 0; width: 100%; height: 100%; }

@media (max-width: 860px) {
  .flow__stages { grid-template-columns: 1fr; gap: 2.5rem; }
  .flow__track { display: none; }
  .stage { padding-inline-start: 2.25rem; padding-top: 0; }
  .stage__idx { inset-block-start: 0.35rem; }
  .stage::before {
    content: ""; position: absolute;
    inset-inline-start: 5px; inset-block: 1.9rem -2.5rem;
    width: 1px; background: var(--line);
  }
  .stage:last-child::before { display: none; }
  .stage__idx { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .stage__idx .n { display: none; }
  .stage h3 { padding-inline-start: 0; }
}

/* ============================ 4 · SIGNALS ============================ */
.signals__head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) {
  .signals__head { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 3rem; }
}

/* Lanes encode cadence: a signal's vertical position IS how often it is read */
.lanes { position: relative; margin-bottom: clamp(2rem, 4vw, 3rem); }
.lanes__svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.lanes__svg .weave { stroke: var(--accent-line); stroke-width: 1.25; fill: none; }
.lanes__svg .lane-rule { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 6; }

.lane {
  position: relative;
  display: grid;
  grid-template-columns: 168px 1fr;
  align-items: center;
  gap: 1.5rem;
  padding-block: clamp(1rem, 2vw, 1.6rem);
  border-top: 1px solid var(--line);
}
.lane:last-of-type { border-bottom: 1px solid var(--line); }
.lane__label { display: flex; flex-direction: column; gap: 0.3rem; }
.lane__label .cadence { color: var(--fg-1); }
.lane__label .hint { font-size: var(--t-mono); color: var(--fg-4); font-family: var(--font-body); letter-spacing: 0; text-transform: none; }
.lane__nodes { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.sig {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 44px;
  padding: 0.5rem 1rem 0.5rem 0.7rem;
  border: 1px solid var(--line-med);
  border-radius: 999px;
  color: var(--fg-2);
  font-size: var(--t-small); font-weight: 500;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.sig:hover { color: var(--fg-1); border-color: var(--line-strong); }
.sig__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--info); flex-shrink: 0;
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.sig[aria-selected="true"] {
  color: var(--accent-ink); background: var(--accent); border-color: var(--accent);
}
.sig[aria-selected="true"] .sig__dot { background: var(--accent-ink); box-shadow: none; }

.sig-detail {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid; gap: 1.5rem;
}
@media (min-width: 820px) {
  .sig-detail { grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 4vw, 3.5rem); }
}
.sig-detail__panel { display: none; }
.sig-detail__panel.is-active { display: contents; }
.sig-detail h3 { margin-bottom: 0.7rem; }
.sig-detail__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.1rem; }
.tag {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-family: var(--font-mono); font-size: var(--t-mono);
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.35em 0.7em; border-radius: 6px;
  border: 1px solid var(--line-med); color: var(--fg-3);
}
.tag--kind { border-color: var(--accent-line); color: var(--accent); }
.sig-detail__aside { border-top: 1px solid var(--line); padding-top: 1.25rem; }
@media (min-width: 820px) {
  .sig-detail__aside { border-top: 0; border-inline-start: 1px solid var(--line); padding-top: 0; padding-inline-start: clamp(1.5rem, 3vw, 2.5rem); }
}
.sig-detail__aside dt { margin-bottom: 0.35rem; }
.sig-detail__aside dd { color: var(--fg-2); font-size: var(--t-small); margin-bottom: 1.1rem; }
.sig-detail__aside dd:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .lane { grid-template-columns: 1fr; gap: 0.9rem; }
  .lanes__svg { display: none; }
}

/* Raw signal → context → recommendation */
.journey { margin-top: clamp(3rem, 6vw, 5rem); }
.journey__rail {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden;
}
.journey__step {
  background: var(--bg); padding: clamp(1.1rem, 2vw, 1.6rem);
  display: flex; flex-direction: column; gap: 0.55rem;
  position: relative;
}
.journey__step .n { color: var(--fg-4); }
.journey__step h4 { color: var(--fg-1); }
.journey__step p { font-size: var(--t-small); color: var(--fg-3); }
.journey__step:last-child { background: var(--surface); }
.journey__step:last-child h4 { color: var(--accent); }
@media (max-width: 760px) { .journey__rail { grid-template-columns: 1fr; } }

/* ============================ 5 · APP & COACH ============================ */
.duo__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.seg {
  display: inline-flex; padding: 3px; gap: 3px;
  border: 1px solid var(--line-med); border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.seg__btn {
  min-height: 42px; padding: 0.55rem 1.35rem;
  border-radius: 999px;
  font-size: var(--t-small); font-weight: 600; color: var(--fg-3);
  transition: background-color 0.28s var(--ease), color 0.28s var(--ease);
}
.seg__btn[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.seg__btn:hover:not([aria-selected="true"]) { color: var(--fg-1); }

.duo__panel[hidden] { display: none; }
.duo__split { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 940px) { .duo__split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.duo__points { list-style: none; display: flex; flex-direction: column; }
.duo__points li {
  padding-block: 1rem;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start;
}
.duo__points li:last-child { border-bottom: 1px solid var(--line); }
.duo__points .k { font-family: var(--font-mono); font-size: var(--t-mono); color: var(--fg-4); letter-spacing: 0.12em; padding-top: 0.25rem; }
.duo__points .v { color: var(--fg-1); }
.duo__points .v small { display: block; color: var(--fg-3); font-size: var(--t-small); margin-top: 0.2rem; }

/* Phone composition — one focused screen, the rest set back in depth */
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: clamp(0.5rem, 1.5vw, 1.25rem); }
.phone {
  position: relative;
  border-radius: 26px;
  border: 1px solid var(--line-med);
  background: #0D0D0D;
  padding: 5px;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}
.phone img { border-radius: 21px; width: 100%; }
.phone--lead { width: 38%; max-width: 268px; z-index: 3; }
.phone--back { width: 27%; max-width: 190px; opacity: 0.6; z-index: 1; margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.phone--mid  { width: 32%; max-width: 224px; opacity: 0.82; z-index: 2; margin-bottom: clamp(0.75rem, 2vw, 1.5rem); }
@media (max-width: 620px) {
  .phones { gap: 0.5rem; }
  .phone--back { display: none; }
}

/* ============================ 6 · PRIVACY ============================ */
.privacy { position: relative; overflow: hidden; }
.privacy__topo { position: absolute; inset-block-start: 0; inset-inline-end: 0; width: min(46%, 620px); opacity: 0.5; pointer-events: none; }
.privacy__topo path { fill: none; stroke: var(--line); stroke-width: 1; }
.privacy__head { position: relative; display: grid; gap: clamp(1.5rem, 3vw, 3rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 960px) { .privacy__head { grid-template-columns: 1.05fr 0.95fr; align-items: end; } }
.privacy__stack { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.12; letter-spacing: -0.03em; font-family: var(--font-display); font-weight: 700; }
.privacy__stack span { display: block; }
.privacy__stack span + span { color: var(--fg-3); }
.privacy__stack span + span + span { color: var(--fg-4); }

/* The path: it stops at the phone until you extend it yourself */
.path {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.path__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.path__stops {
  --path-gap: clamp(0.5rem, 2vw, 1.5rem);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--path-gap); position: relative;
}
.stop::after {
  content: ""; position: absolute;
  inset-block-start: 20px;
  inset-inline-start: 50px;
  width: calc(100% - 50px + var(--path-gap));
  height: 1px;
  background: var(--line-med);
  transition: background-color 0.35s var(--ease);
}
.stop:last-child::after { display: none; }
.stop.link-on::after { background: var(--accent); }
.stop:not(.link-on)::after {
  background: none;
  border-top: 1px dashed var(--line-med);
  height: 0;
}
.stop { position: relative; display: flex; flex-direction: column; gap: 0.55rem; }
.stop__mark {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-med); background: var(--bg);
  color: var(--fg-3);
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease), background-color 0.35s var(--ease);
  position: relative; z-index: 2;
}
.stop__mark svg { width: 18px; height: 18px; }
.stop.is-on .stop__mark { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.stop h4 { font-size: var(--t-small); }
.stop p { font-size: var(--t-mono); font-family: var(--font-body); color: var(--fg-3); line-height: 1.5; letter-spacing: 0; }
.stop.is-off h4, .stop.is-off p { color: var(--fg-4); }
.path__consent {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.path__state { font-size: var(--t-small); color: var(--fg-2); max-width: 52ch; }
.toggle {
  display: inline-flex; align-items: center; gap: 0.75rem;
  min-height: 48px; padding: 0.5rem 0.5rem 0.5rem 1.1rem;
  border: 1px solid var(--line-med); border-radius: 999px;
  font-size: var(--t-small); font-weight: 600; color: var(--fg-1);
}
.toggle__track {
  width: 44px; height: 26px; border-radius: 999px;
  background: var(--line-med); position: relative;
  transition: background-color 0.3s var(--ease);
}
.toggle__knob {
  position: absolute; inset-block-start: 3px; inset-inline-start: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--fg-3);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.toggle[aria-pressed="true"] .toggle__track { background: var(--accent); }
.toggle[aria-pressed="true"] .toggle__knob { transform: translateX(18px); background: var(--accent-ink); }
@media (max-width: 760px) {
  .path__stops { grid-template-columns: 1fr; gap: 1.25rem; }
  .stop::after { display: none; }
  .stop { flex-direction: row; align-items: flex-start; gap: 1rem; }
  .stop__mark { flex-shrink: 0; }
}

/* Principles as an editorial ledger, not badges */
.ledger { display: grid; gap: 0; }
@media (min-width: 860px) { .ledger { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 5rem); } }
.ledger__item { padding-block: clamp(1.25rem, 2.5vw, 1.9rem); border-top: 1px solid var(--line); }
.ledger__item:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 860px) {
  .ledger__item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.ledger__k { display: flex; align-items: baseline; gap: 0.9rem; margin-bottom: 0.6rem; }
.ledger__k .n { font-family: var(--font-mono); font-size: var(--t-mono); color: var(--fg-4); letter-spacing: 0.12em; }
.ledger__k h3 { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); }
.ledger__item p { color: var(--fg-2); font-size: var(--t-small); max-width: 46ch; }
.ledger__flag { margin-top: 0.6rem; }

/* ============================ 7 · HARDWARE ============================ */
.hw__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 42ch; }
.hw__head h2 span { display: block; }
.hw__head h2 span + span { color: var(--fg-3); }
.hw__main { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (min-width: 940px) { .hw__main { grid-template-columns: 1.1fr 0.9fr; } }
.hw__stage { position: relative; }
.hw__stage img { width: 100%; }
.hw__stage .halo { position: absolute; inset: -10%; background: var(--glow); pointer-events: none; }
.hw__pin { position: absolute; display: flex; align-items: center; pointer-events: none; }
.hw__pin .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.hw__pin .lead { width: clamp(24px, 4vw, 56px); height: 1px; background: var(--line-strong); flex-shrink: 0; }
.hw__pin .mono { white-space: nowrap; padding-inline: 0.6rem; }
.hw__pin--a { inset-inline-start: 33%; inset-block-start: 16%; transform: translate(-100%, -50%); flex-direction: row-reverse; }
.hw__pin--b { inset-inline-start: 44%; inset-block-start: 86%; transform: translate(-100%, -50%); flex-direction: row-reverse; }
.hw__pin--b .lead { width: clamp(18px, 2.5vw, 34px); }
@media (max-width: 939px) { .hw__pin { display: none; } }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.specs > div { background: var(--bg); padding: clamp(1rem, 2vw, 1.4rem); }
.specs dt { margin-bottom: 0.4rem; }
.specs dd { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); letter-spacing: -0.02em; }
.hw__note { margin-top: 1.25rem; }
.hw__copy { margin-top: 1.5rem; }

/* Band teaser — masked silhouette, no commerce */
.band {
  margin-top: clamp(3rem, 6vw, 5rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: linear-gradient(120deg, var(--surface), color-mix(in srgb, var(--bg) 70%, var(--surface)));
  display: grid; gap: 0;
}
@media (min-width: 860px) { .band { grid-template-columns: 1fr 0.85fr; } }
.band__copy { padding: clamp(1.75rem, 4vw, 3.25rem); display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.band__copy h3 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.4rem); }
.band__sil { position: relative; min-height: 200px; overflow: hidden; }
.band__sil svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.band__sil::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--surface) 2%, transparent 45%);
  pointer-events: none;
}
.chip-soon {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-mono); font-size: var(--t-mono);
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.4em 0.85em; border-radius: 999px;
  border: 1px solid var(--line-med); color: var(--fg-3);
}
.chip-soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--info); }

/* ============================ 8 · A DAY (daylight band) ============================ */
.day { position: relative; overflow: hidden; }
.day__wash {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(58% 42% at 12% 8%, rgba(201,162,78,0.16), transparent 62%),
    radial-gradient(48% 40% at 88% 96%, rgba(94,102,114,0.14), transparent 66%);
}
.day__inner { position: relative; }
.day__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.day__arc { position: absolute; inset-inline: 0; inset-block-start: 0; width: 100%; height: 120px; pointer-events: none; }
.day__arc path { fill: none; stroke: var(--accent-line); stroke-width: 1.25; }
.moments { display: grid; gap: clamp(1.5rem, 3vw, 2rem); }
@media (min-width: 1000px) { .moments { grid-template-columns: repeat(5, 1fr); } }
.moment {
  display: flex; flex-direction: column; gap: 0.7rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-med);
  position: relative;
}
.moment::before {
  content: ""; position: absolute; inset-block-start: -4px; inset-inline-start: 0;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.moment__time { color: var(--accent); }
.moment h3 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem); }
.moment p { font-size: var(--t-small); color: var(--fg-2); }
.day__aside {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
@media (min-width: 900px) { .day__aside { grid-template-columns: 0.85fr 1.15fr; } }
.day__phone {
  justify-self: center;
  width: clamp(200px, 26vw, 280px);
  border-radius: 26px; padding: 5px;
  border: 1px solid var(--line-med);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.day__phone img { border-radius: 21px; }
.day__quote {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.3rem);
  letter-spacing: -0.025em; line-height: 1.22;
  max-width: 20ch;
}
.day__themes { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }

/* ============================ 9 · PRO SPORT ============================ */
.pro__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .pro__head { grid-template-columns: 1.05fr 0.95fr; align-items: end; gap: 3rem; } }
.pro__head h2 span { display: block; }

/* Coach dashboard — fictional demo data, roster-first */
.dash {
  border: 1px solid var(--line-med); border-radius: var(--r-lg);
  background: var(--surface); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.dash__bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem;
  padding: 0.9rem clamp(1rem, 2vw, 1.5rem);
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.dash__title { font-family: var(--font-display); font-weight: 700; font-size: var(--t-body); letter-spacing: -0.01em; }
.dash__counts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-inline-start: auto; }
.dash__body { display: grid; }
@media (min-width: 900px) { .dash__body { grid-template-columns: 268px 1fr; } }
.roster { border-inline-end: 1px solid var(--line); padding: 0.5rem; }
.roster__row {
  width: 100%; display: grid; grid-template-columns: 34px 1fr auto; gap: 0.75rem; align-items: center;
  padding: 0.7rem; border-radius: var(--r-sm); text-align: start;
  transition: background-color 0.22s var(--ease);
}
.roster__row:hover { background: var(--card); }
.roster__row[aria-selected="true"] { background: var(--card-raised); box-shadow: inset 0 0 0 1px var(--line-med); }
.av {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em;
  background: var(--card-raised); color: var(--fg-2); border: 1px solid var(--line);
}
.roster__name { display: block; font-size: var(--t-small); font-weight: 600; color: var(--fg-1); }
.roster__meta { display: block; font-size: var(--t-mono); font-family: var(--font-body); color: var(--fg-4); letter-spacing: 0; }
.detail__head .roster__meta { display: inline-block; }
.roster__score { font-family: var(--font-mono); font-size: 0.95rem; font-weight: 500; }
.roster__score.is-pos  { color: var(--pos); }
.roster__score.is-warn { color: var(--warn); }
.roster__score.is-risk { color: var(--risk); }
.roster__score.is-none { color: var(--fg-4); }

.detail { padding: clamp(1rem, 2vw, 1.6rem); display: flex; flex-direction: column; gap: 1.25rem; }
.detail__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.detail__head h4 { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -0.01em; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.metric { background: var(--bg); padding: 0.8rem 0.9rem; }
.metric dt { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-4); margin-bottom: 0.3rem; }
.metric dd { font-family: var(--font-mono); font-size: 1.05rem; color: var(--fg-1); }
.metric .delta { display: block; font-family: var(--font-body); font-size: 0.72rem; color: var(--fg-3); letter-spacing: 0; margin-top: 0.15rem; }
.read {
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--card); padding: 1rem 1.1rem;
}
.read__label { margin-bottom: 0.5rem; }
.read p { font-size: var(--t-small); color: var(--fg-2); }
.read__calc {
  margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--fg-3); line-height: 1.7;
  overflow-x: auto; white-space: nowrap;
}
.charts { display: grid; gap: 1rem; }
@media (min-width: 640px) { .charts { grid-template-columns: 1fr 1fr; } }
.chart { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0.9rem 1rem; background: var(--bg); }
.chart__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.6rem; }
.chart svg { width: 100%; height: 62px; overflow: visible; }
.chart .series   { fill: none; stroke: var(--info); stroke-width: 1.8; }
.chart .baseline { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 3 4; }
.chart .bar      { fill: var(--line-med); }
.chart .bar.is-peak { fill: var(--warn); }
.dash__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem clamp(1rem, 2vw, 1.5rem); border-top: 1px solid var(--line); background: var(--card);
}
.dash__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mini-btn {
  min-height: 36px; padding: 0.4rem 0.9rem; border-radius: 999px;
  border: 1px solid var(--line-med); font-size: var(--t-small); color: var(--fg-2);
}
.mini-btn:hover { color: var(--fg-1); border-color: var(--line-strong); }

.pro__list { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 0; }
@media (min-width: 900px) { .pro__list { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 5rem); } }
.pro__item { padding-block: clamp(1.1rem, 2vw, 1.6rem); border-top: 1px solid var(--line); }
.pro__item h3 { font-size: clamp(1rem, 0.95rem + 0.35vw, 1.2rem); margin-bottom: 0.45rem; display: flex; align-items: baseline; gap: 0.8rem; }
.pro__item h3 .n { font-family: var(--font-mono); font-size: var(--t-mono); color: var(--fg-4); letter-spacing: 0.12em; }
.pro__item p { color: var(--fg-2); font-size: var(--t-small); max-width: 46ch; }
.pro__cta { margin-top: clamp(2rem, 4vw, 3rem); display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }

/* ============================ 10 · NO BLACK BOX ============================ */
.bb { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 900px) { .bb { grid-template-columns: repeat(3, 1fr); } }
.bb__step { position: relative; padding-top: 2.5rem; }
.bb__step::before {
  content: ""; position: absolute; inset-block-start: 12px; inset-inline: 0 -1.5rem;
  height: 1px; background: var(--line);
}
.bb__step:last-child::before { inset-inline-end: 0; }
.bb__num {
  position: absolute; inset-block-start: 0; inset-inline-start: 0;
  width: 25px; height: 25px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-med); background: var(--bg);
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--fg-3);
}
.bb__step:last-child .bb__num { border-color: var(--accent); color: var(--accent); }
.bb__step h3 { margin-bottom: 0.8rem; }
.bb__step > p { color: var(--fg-2); font-size: var(--t-small); margin-bottom: 1.1rem; max-width: 40ch; }
.bb__facts { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.bb__facts li {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  font-size: var(--t-small); color: var(--fg-2);
}
.bb__facts .val { font-family: var(--font-mono); font-size: var(--t-small); color: var(--fg-1); }
.bb__quote {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em;
  font-size: clamp(1.3rem, 1rem + 1.5vw, 2.2rem); line-height: 1.25;
  max-width: 24ch;
}

/* ============================ 11 · COMPARISON ============================ */
.cmp { margin-top: clamp(2rem, 4vw, 3rem); }
.cmp__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; }
.cmp__cell { padding: clamp(0.85rem, 1.6vw, 1.25rem) clamp(0.6rem, 1.4vw, 1.15rem); border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--fg-2); }
.cmp__cell--dim { color: var(--fg-1); font-weight: 600; }
.cmp__cell--nexum { background: var(--accent-soft); color: var(--fg-1); }
.cmp__head .cmp__cell { border-top: 0; padding-bottom: 1rem; }
.cmp__head .cmp__cell--nexum { border-radius: var(--r-sm) var(--r-sm) 0 0; }
.cmp__brand { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.16em; font-size: 0.95rem; color: var(--accent); }
.cmp__who { font-family: var(--font-mono); font-size: var(--t-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); line-height: 1.5; }
.cmp__grid > .cmp__cell:nth-child(4n+1) { padding-inline-start: 0; }
.cmp__foot { margin-top: 1.5rem; }
.cmp__cards { display: none; }
@media (max-width: 880px) {
  .cmp__grid { display: none; }
  .cmp__cards { display: grid; gap: 1rem; }
  .cmp__card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem 1.25rem; }
  .cmp__card h3 { font-size: var(--t-body); margin-bottom: 0.9rem; }
  .cmp__card dl { display: grid; gap: 0.7rem; }
  .cmp__card dt { font-family: var(--font-mono); font-size: var(--t-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-4); margin-bottom: 0.15rem; }
  .cmp__card dd { font-size: var(--t-small); color: var(--fg-2); }
  .cmp__card .is-nexum dt { color: var(--accent); }
  .cmp__card .is-nexum dd { color: var(--fg-1); }
}

/* ============================ 12 · APP SCREENS & STORES ============================ */
.screens { position: relative; }
.screens__strip {
  display: flex; gap: clamp(0.75rem, 2vw, 1.5rem); align-items: flex-end;
  justify-content: center; flex-wrap: nowrap;
}
.screens__item { flex-shrink: 0; text-align: center; }
.screens__item figcaption { margin-top: 0.9rem; }
.screens__item .phone { margin-inline: auto; }
@media (max-width: 900px) {
  .screens__strip {
    overflow-x: auto; scroll-snap-type: x mandatory;
    justify-content: flex-start;
    padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1);
    padding-bottom: 1rem;
    scrollbar-width: thin;
  }
  .screens__item { scroll-snap-align: center; }
  .screens__item .phone { width: 232px; opacity: 1 !important; margin-bottom: 0 !important; }
}
.screens__progress { display: flex; gap: 6px; justify-content: center; margin-top: 1.25rem; }
.screens__progress span { width: 6px; height: 6px; border-radius: 999px; background: var(--line-med); transition: width 0.25s var(--ease), background-color 0.25s var(--ease); }
.screens__progress span.is-on { width: 20px; background: var(--accent); }
@media (min-width: 901px) { .screens__progress { display: none; } }

.stores {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line); padding-top: clamp(1.75rem, 3vw, 2.5rem);
  display: grid; gap: 1.5rem; align-items: center;
}
@media (min-width: 860px) { .stores { grid-template-columns: 1fr auto; } }
.stores__badges { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.store-badge {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 1.15rem; min-height: 54px;
  border: 1px dashed var(--line-med); border-radius: var(--r-sm);
  color: var(--fg-3); cursor: not-allowed;
}
.store-badge svg { width: 20px; height: 20px; flex-shrink: 0; }
.store-badge .txt { display: flex; flex-direction: column; line-height: 1.25; text-align: start; }
.store-badge .txt b { font-size: var(--t-small); color: var(--fg-2); font-weight: 600; }
.store-badge .txt span { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* ============================ 13 · FAQ ============================ */
.faq__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.faq__mod {
  grid-column: span 12;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.6vw, 2.25rem);
  background: var(--surface);
}
.faq__mod h3 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.5rem); margin-bottom: 0.9rem; }
.faq__mod p { color: var(--fg-2); font-size: var(--t-small); max-width: 54ch; }
.faq__mod p + p { margin-top: 0.7rem; }
.faq__q { margin-bottom: 1rem; }

.faq--lead { background: var(--card); }
.faq--lead h3 { font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.6rem); line-height: 1.15; max-width: 16ch; }
.faq--lead p { font-size: var(--t-body); max-width: 46ch; }
.faq__triad { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.faq__triad span {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-mono); font-size: var(--t-mono); letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.4em 0.8em; border-radius: 6px; border: 1px solid var(--line-med); color: var(--fg-2);
}
.faq__triad span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.faq--flow .mini-path { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.25rem; }
.faq--flow .mini-path .node {
  font-family: var(--font-mono); font-size: var(--t-mono); letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.45em 0.8em; border: 1px solid var(--line-med); border-radius: 6px; color: var(--fg-2);
}
.faq--flow .mini-path .node.is-opt { border-style: dashed; color: var(--fg-4); }
.faq--flow .mini-path .arr { color: var(--fg-4); }

.faq--split { padding: 0; overflow: hidden; }
.faq--split .halves { display: grid; }
@media (min-width: 720px) { .faq--split .halves { grid-template-columns: 1fr 1fr; } }
.faq--split .half { padding: clamp(1.4rem, 2.6vw, 2.25rem); }
.faq--split .half + .half { border-top: 1px solid var(--line); }
@media (min-width: 720px) { .faq--split .half + .half { border-top: 0; border-inline-start: 1px solid var(--line); } }
.faq--split .half h3 { font-size: var(--t-body); margin-bottom: 0.7rem; display: flex; align-items: center; gap: 0.6rem; }
.faq--split .half h3 .mono { color: var(--accent); }

.myth { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1.25rem; }
.myth li { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start; }
.myth .mk { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; flex-shrink: 0; margin-top: 1px; }
.myth .mk svg { width: 11px; height: 11px; }
.myth .is-no  { color: var(--risk); }
.myth .is-yes { color: var(--pos); }
.myth .txt { color: var(--fg-2); font-size: var(--t-small); }
.myth .txt b { color: var(--fg-1); display: block; font-weight: 600; margin-bottom: 0.1rem; }

.faq__acc { display: flex; flex-direction: column; }
.faq__acc details { border-top: 1px solid var(--line); }
.faq__acc details:last-of-type { border-bottom: 1px solid var(--line); }
.faq__acc summary {
  list-style: none; cursor: pointer;
  padding: 1.05rem 2rem 1.05rem 0;
  position: relative;
  font-weight: 600; color: var(--fg-1); font-size: var(--t-small);
}
.faq__acc summary::-webkit-details-marker { display: none; }
.faq__acc summary::after {
  content: ""; position: absolute; inset-inline-end: 0.25rem; inset-block-start: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 1.5px solid var(--fg-3); border-bottom: 1.5px solid var(--fg-3);
  transform: rotate(45deg); transition: transform 0.25s var(--ease);
}
.faq__acc details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__acc summary:hover { color: var(--accent); }
.faq__acc .answer { padding: 0 0 1.15rem; color: var(--fg-2); font-size: var(--t-small); max-width: 60ch; }
.faq__acc .answer p + p { margin-top: 0.6rem; }

.faq--ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; background: var(--card); }
.faq--ask h3 { margin-bottom: 0.35rem; }

@media (min-width: 900px) {
  .faq--lead  { grid-column: span 7; }
  .faq--flow  { grid-column: span 5; }
  .faq--split { grid-column: span 12; }
  .faq--myth  { grid-column: span 5; }
  .faq--acc   { grid-column: span 7; }
  .faq--ask   { grid-column: span 12; }
}

/* ============================ 14 · CONTACT ============================ */
.contact { position: relative; overflow: hidden; }
.contact__horizon { position: absolute; inset-inline: 0; inset-block-start: 0; width: 100%; height: 280px; pointer-events: none; }
.contact__horizon path { fill: none; stroke-width: 1.25; }
.contact__horizon .h-line { stroke: var(--line-med); }
.contact__horizon .h-fork { stroke: var(--accent-line); }
.contact__horizon .h-glow { stroke: var(--accent); opacity: 0.55; }
.contact__inner { position: relative; }
.contact__head { max-width: 40ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.paths { display: grid; gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
@media (min-width: 940px) { .paths { grid-template-columns: 1fr 1fr; } }
.pathcard {
  border: 1px solid var(--line-med); border-radius: var(--r-lg);
  background: var(--surface);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.pathcard--team { background: var(--card); }
.pathcard__head h3 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 0.5rem; }
.pathcard__head p { color: var(--fg-2); font-size: var(--t-small); max-width: 44ch; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field > label { font-size: var(--t-small); font-weight: 600; color: var(--fg-1); }
.field .req { color: var(--accent); }
.field .hint { font-size: 0.78rem; color: var(--fg-3); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--line-med);
  border-radius: var(--r-sm);
  font-size: var(--t-small);
  color: var(--fg-1);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 108px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: right 1.05rem top 55%, right 0.75rem top 55%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-inline-end: 2.25rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--risk); }
.field__error {
  display: none; align-items: center; gap: 0.4em;
  font-size: 0.78rem; color: var(--risk);
}
.field__error svg { width: 12px; height: 12px; flex-shrink: 0; }
.field__error.is-shown { display: flex; }

.grid-2 { display: grid; gap: 1rem; }
@media (min-width: 560px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.form-rows { display: flex; flex-direction: column; gap: 1rem; }

.checks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.check {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.9rem; min-height: 42px;
  border: 1px solid var(--line-med); border-radius: 999px;
  font-size: var(--t-small); color: var(--fg-2); cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box {
  width: 14px; height: 14px; border-radius: 4px;
  border: 1px solid var(--line-strong); display: grid; place-items: center; flex-shrink: 0;
}
.check .box svg { width: 9px; height: 9px; opacity: 0; }
.check input:checked ~ .box { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.check input:checked ~ .box svg { opacity: 1; }
.check:has(input:checked) { color: var(--fg-1); border-color: var(--accent-line); background: var(--accent-soft); }
.check:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.consent label { font-size: 0.82rem; color: var(--fg-2); line-height: 1.55; }
.consent a { color: var(--accent); }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.form-status {
  display: none;
  gap: 0.6rem; align-items: flex-start;
  padding: 0.9rem 1.05rem; border-radius: var(--r-sm);
  font-size: var(--t-small); line-height: 1.55;
  border: 1px solid currentColor;
}
.form-status.is-shown { display: flex; }
.form-status svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; }
.form-status--ok   { color: var(--pos); }
.form-status--info { color: var(--info); }
.form-status--err  { color: var(--risk); }
.form-status span { color: var(--fg-2); }
.form-status--ok span, .form-status--info span { color: var(--fg-2); }

/* Exhibition-friendly block, ready to hold a real QR code later */
.kiosk {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid; gap: clamp(1.25rem, 3vw, 2rem); align-items: center;
}
@media (min-width: 800px) { .kiosk { grid-template-columns: auto 1fr; } }
.kiosk__slot {
  width: 132px; height: 132px; border-radius: var(--r-md);
  border: 1px dashed var(--line-med);
  display: grid; place-items: center; text-align: center;
  color: var(--fg-4); padding: 0.75rem;
  justify-self: center;
}
.kiosk__slot .mono { line-height: 1.5; }
.kiosk h3 { margin-bottom: 0.5rem; }
.kiosk p { color: var(--fg-2); font-size: var(--t-small); max-width: 52ch; }
.kiosk dl { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; margin-top: 1.1rem; }
.kiosk dt { margin-bottom: 0.2rem; }
.kiosk dd { font-size: var(--t-small); color: var(--fg-1); }

/* ---- Flow rail: CSS-driven so it never skews on wide viewports ---- */
.flow__rail {
  position: absolute; inset-block-start: 5px;
  inset-inline-start: 5px; inset-inline-end: 5px;
  height: 1px; background: var(--line); pointer-events: none;
}
.flow__rail span {
  display: block; height: 100%; background: var(--accent);
  transform: scaleX(var(--p, 0)); transform-origin: left center;
  transition: transform 0.25s linear;
}
@media (max-width: 860px) { .flow__rail { display: none; } }

/* Small stage diagrams */
.dia { width: 100%; height: 100%; }
.dia .ln    { fill: none; stroke: var(--line-strong); stroke-width: 1.2; }
.dia .ln-a  { fill: none; stroke: var(--accent); stroke-width: 1.4; }
.dia .ln-i  { fill: none; stroke: var(--info); stroke-width: 1.4; }
.dia .fillx { fill: var(--line); }
.dia .fill-a{ fill: var(--accent); }
.dia .fill-i{ fill: var(--info); }
.dia .fill-b{ fill: var(--bg); }
.dia .dash  { stroke-dasharray: 3 5; }
.dia .lbl   { font-family: var(--font-mono); font-size: 7.5px; letter-spacing: 0.12em; fill: var(--fg-4); text-transform: uppercase; }

/* Hero connector — ring · phone · team in one line */
.hero__connector { margin-top: clamp(1.25rem, 3vh, 2rem); width: 100%; }
.hero__connector svg { width: 100%; height: auto; overflow: visible; }
.hero__connector .cn-line { stroke: var(--line-med); stroke-width: 1; fill: none; }
.hero__connector .cn-flow { stroke: var(--accent-line); stroke-width: 1.25; fill: none; stroke-dasharray: 3 7; animation: cn-move 7s linear infinite; }
@keyframes cn-move { to { stroke-dashoffset: -100; } }
.hero__connector .cn-node { fill: var(--bg); stroke: var(--line-strong); stroke-width: 1; }
.hero__connector .cn-node.is-key { stroke: var(--accent); }
.hero__connector .cn-lbl { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; fill: var(--fg-3); }

/* Detail panel owns the grid, so only one panel is ever laid out */
.sig-detail { display: block; }
.sig-detail__panel { display: none; gap: 1.5rem; }
.sig-detail__panel.is-active { display: grid; }
@media (min-width: 820px) {
  .sig-detail__panel.is-active { grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 4vw, 3.5rem); }
}

/* Screen composition — asymmetric, focus falls on “Heute” */
.sc { position: relative; }
.sc .phone { width: 100%; }
.sc--xs   { width: 112px; opacity: 0.55; margin-bottom: 3.25rem; }
.sc--s    { width: 150px; opacity: 0.75; margin-bottom: 1.9rem; }
.sc--m    { width: 186px; opacity: 0.9;  margin-bottom: 0.9rem; }
.sc--lead { width: 228px; opacity: 1; }
.sc figcaption { opacity: 0; transition: opacity 0.3s var(--ease); }
.sc--lead figcaption, .sc--m figcaption { opacity: 1; }
.sc:hover figcaption, .sc:focus-within figcaption { opacity: 1; }
@media (max-width: 1180px) and (min-width: 901px) {
  .sc--xs { width: 92px; } .sc--s { width: 124px; } .sc--m { width: 152px; } .sc--lead { width: 188px; }
}
@media (max-width: 900px) {
  .sc { width: 232px !important; opacity: 1 !important; margin-bottom: 0 !important; }
  .sc figcaption { opacity: 1; }
}

/* Compact squad preview inside the surfaces chapter */
.squadmini { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.squadmini__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; padding: 0.85rem 1.15rem; border-bottom: 1px solid var(--line); background: var(--card); }
.squadmini__rows { padding: 0.4rem; }
.squadmini__row { display: grid; grid-template-columns: 32px 1fr auto auto; gap: 0.75rem; align-items: center; padding: 0.65rem 0.75rem; border-radius: var(--r-sm); }
.squadmini__row + .squadmini__row { border-top: 1px solid var(--line); }
.squadmini__foot { padding: 0.85rem 1.15rem; border-top: 1px solid var(--line); }

/* ---- Overflow discipline: nothing may push the page wider than the viewport ---- */
.hw__stage .halo { inset: 0; }
.dash__body > * { min-width: 0; }
.roster, .detail, .read, .charts, .chart { min-width: 0; }
.read { overflow: hidden; }
.read__calc { max-width: 100%; }
.roster__row > span { min-width: 0; }
.roster__name, .roster__meta { overflow-wrap: anywhere; }
.metrics, .metric { min-width: 0; }
.metric dd { overflow-wrap: anywhere; }

/* ---- Narrow phones ---- */
@media (max-width: 420px) {
  .specs { grid-template-columns: 1fr; }
  .kiosk__slot { width: 108px; height: 108px; }
  .dash__counts { width: 100%; margin-inline-start: 0; }
}

/* ---- Ring finishes ---- */
.finishes {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  display: grid; gap: clamp(1.5rem, 3vw, 3rem); align-items: center;
}
@media (min-width: 860px) { .finishes { grid-template-columns: 0.85fr 1.15fr; } }
.finishes__head { margin-bottom: 1.25rem; }
.finishes__head h3 { margin-bottom: 0.5rem; }
.finish__stage { position: relative; aspect-ratio: 612 / 752; max-width: 420px; margin-inline: auto; width: 100%; }
.finish__stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.finish__stage img.is-on { opacity: 1; }
.finish__list { display: flex; flex-direction: column; }
.finish__btn {
  display: grid; grid-template-columns: auto 1fr; gap: 0 1.1rem; align-items: center;
  width: 100%; text-align: start;
  padding: clamp(0.9rem, 2vw, 1.25rem) 0;
  border-top: 1px solid var(--line);
  transition: opacity 0.25s var(--ease);
}
.finish__btn:last-child { border-bottom: 1px solid var(--line); }
.finish__sw {
  width: 34px; height: 34px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(127,127,127,0.35);
  grid-row: span 2;
}
.finish__n { font-family: var(--font-display); font-weight: 700; font-size: var(--t-h3); letter-spacing: -0.02em; color: var(--fg-3); transition: color 0.25s var(--ease); }
.finish__d { font-size: var(--t-small); color: var(--fg-3); max-width: 40ch; }
.finish__btn[aria-selected="true"] .finish__n { color: var(--fg-1); }
.finish__btn[aria-selected="true"] .finish__d { color: var(--fg-2); }
.finish__btn:not([aria-selected="true"]):hover .finish__n { color: var(--fg-2); }

/* ---- Everyday photography ---- */
.day__gallery {
  display: grid; gap: clamp(0.75rem, 1.6vw, 1.25rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 760px) { .day__gallery { grid-template-columns: repeat(3, 1fr); align-items: end; } }
.day__shot { position: relative; border-radius: var(--r-md); overflow: hidden; }
.day__shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.day__shot--a { aspect-ratio: 4 / 5; }
.day__shot--b { aspect-ratio: 4 / 5; }
.day__shot--c { aspect-ratio: 4 / 5; }
@media (min-width: 760px) {
  .day__shot--a { aspect-ratio: 3 / 4; }
  .day__shot--b { aspect-ratio: 3 / 4.6; }
  .day__shot--c { aspect-ratio: 3 / 4; }
}
.day__shot figcaption {
  position: absolute; inset-inline-start: 0; inset-block-end: 0;
  padding: 0.9rem 1rem;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}
.day__shot::after {
  content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 45%;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  pointer-events: none;
}

/* ---- Grouped FAQ accordions ---- */
.faq--groups { padding: 0; }
.faq__groups { display: grid; }
@media (min-width: 780px) { .faq__groups { grid-template-columns: 1fr 1fr; } }
.faq__group { padding: clamp(1.4rem, 2.6vw, 2.25rem); }
.faq__group + .faq__group { border-top: 1px solid var(--line); }
@media (min-width: 780px) { .faq__group + .faq__group { border-top: 0; border-inline-start: 1px solid var(--line); } }
.faq__group > .mono { display: block; margin-bottom: 0.9rem; }
@media (min-width: 900px) { .faq--groups { grid-column: span 12; } }
