:root {
  --bg: #0a0b10;
  --bg-2: #101218;
  --paper: #161821;
  --paper-2: #1c1f2a;
  --ink: #f3eee4;
  --ink-dim: #c8c0b3;
  --muted: #8f877b;
  --line: rgba(243, 238, 228, 0.12);
  --line-strong: rgba(243, 238, 228, 0.22);
  --itch: #e07a5f;
  --itch-2: #c45c42;
  --still: #8fbfa8;
  --pulse: #f0c27a;
  --pulse-2: #d9a85e;
  --clip: #efe6d4;
  --clip-ink: #1c1712;
  --danger-soft: rgba(224, 122, 95, 0.14);
  --still-soft: rgba(143, 191, 168, 0.12);
  --pulse-soft: rgba(240, 194, 122, 0.14);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --nav-h: 72px;
  --max: 1180px;
  --font-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Outfit", "Avenir Next", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

body {
  min-height: 100%;
  overflow-x: hidden;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--pulse);
  color: var(--bg);
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--pulse);
  color: var(--bg);
  padding: 8px 12px;
  z-index: 20;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 14;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--pulse);
  transform: scaleX(0);
  transform-origin: left;
}

.skip:focus {
  top: 12px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 12;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-num {
  font-family: var(--font-serif);
  font-size: 13px;
  font-style: italic;
  color: var(--pulse);
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-dim);
  font-size: 14px;
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--pulse);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--bg) !important;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 72px;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pulse);
  margin: 0 0 18px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(48px, 7.4vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}

.hero h1 em {
  font-style: italic;
  color: var(--pulse);
}

.lede {
  font-size: 20px;
  color: var(--ink-dim);
  max-width: 34ch;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--itch);
  color: #1a0d0a;
  font-weight: 600;
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(224, 122, 95, 0.32);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--pulse);
}

.hero-stage {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.spot {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 194, 122, 0.18), transparent 68%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.45s ease;
}

.hero-stage.is-hot .spot {
  opacity: 1;
}

.enter {
  opacity: 0;
  translate: 0 18px;
  animation: rise 0.85s ease forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes rise {
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.hand-photo {
  position: relative;
  z-index: 1;
  width: min(340px, 86%);
  transition: transform 0.45s ease-out;
}

.hand-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 58%;
  display: block;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

/* Soft haptic glow sitting on the band in the hero illustration */
.band-glow {
  position: absolute;
  left: 53%;
  top: 66%;
  width: 34%;
  aspect-ratio: 2.4 / 1;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(240, 194, 122, 0.35), rgba(240, 194, 122, 0) 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.hero-stage.is-hot .band-glow {
  opacity: 1;
  animation: bandGlow 1.4s ease-in-out infinite;
}

@keyframes bandGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.55; }
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

.story {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 40px;
  counter-reset: story;
}

.story-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px 20px;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.story-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 194, 122, 0.45);
}

.story-art {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  background: #0f1119;
}

.story-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.story-card:hover .story-art img {
  transform: scale(1.04);
}

.story-art .story-time {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(10, 11, 16, 0.72);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  backdrop-filter: blur(4px);
}

.story-card::before {
  counter-increment: story;
  content: "0" counter(story);
  position: absolute;
  right: 24px;
  top: 24px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(10, 11, 16, 0.72);
  backdrop-filter: blur(4px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--pulse);
}

.story-card.is-cue h3 {
  color: var(--pulse);
}

.story-card h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  margin: 14px 0 6px;
}

.story-card p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 15px;
}

.led {
  transform-origin: 228px 186px;
  animation: led 2.6s ease-in-out infinite;
}

.led-2 {
  transform-origin: 248px 186px;
  animation-delay: 0.7s;
}

@keyframes led {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.hero-stage.is-hot .pad {
  animation: cue 1.4s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

.pulse-rings {
  position: absolute;
  width: 420px;
  height: 420px;
}

.pulse-rings span {
  position: absolute;
  inset: 0;
  border: 1px solid var(--pulse);
  border-radius: 50%;
  opacity: 0;
  animation: pulse 4.6s ease-out infinite;
}

.pulse-rings span:nth-child(2) { animation-delay: 1.5s; }
.pulse-rings span:nth-child(3) { animation-delay: 3s; }

@keyframes pulse {
  0% { transform: scale(0.42); opacity: 0.55; }
  70% { opacity: 0; }
  100% { transform: scale(1.08); opacity: 0; }
}

.wrist {
  position: relative;
  z-index: 1;
  width: 100%;
  animation: float 7.5s ease-in-out infinite;
}

.hero-stage.is-hot .pulse-rings span {
  animation-duration: 2.8s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.hero-note {
  position: absolute;
  right: 0;
  bottom: 4%;
  z-index: 2;
  max-width: 200px;
  font-size: 13px;
  color: var(--muted);
  border-left: 2px solid var(--still);
  padding-left: 12px;
}

section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.sub {
  color: var(--ink-dim);
  max-width: 62ch;
  margin: 0 0 40px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stat {
  background: linear-gradient(180deg, var(--paper) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.stat:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--itch) 45%, var(--line));
}

.stat b {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.9;
  font-weight: 500;
  color: var(--itch);
  letter-spacing: -0.04em;
}

.stat p {
  margin: 16px 0 0;
  color: var(--ink-dim);
  font-size: 15px;
}

.stat cite {
  display: block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.thesis-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 16px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.thesis-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.thesis-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}

.thesis-card p {
  margin: 0;
  color: var(--ink-dim);
}

.sauce {
  border-color: color-mix(in srgb, var(--pulse) 40%, var(--line));
  background:
    radial-gradient(120% 80% at 100% 0%, var(--pulse-soft), transparent 55%),
    var(--paper);
}

.waveform {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 92px;
}

.waveform header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--muted);
}

canvas#wave {
  width: 100%;
  height: 220px;
  display: block;
}

.wave-frame {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.wave-scan {
  position: absolute;
  inset: 0 auto 0 0;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(240, 194, 122, 0.1), transparent);
  animation: sweep 5.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(460%); }
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--still);
  box-shadow: 0 0 0 0 rgba(143, 191, 168, 0.5);
  animation: ping 2.2s ease-out infinite;
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(143, 191, 168, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(143, 191, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(143, 191, 168, 0); }
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.legend button {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 4px 8px 4px 6px;
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
  transition: opacity 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.legend button:hover,
.legend button:focus-visible {
  border-color: var(--line-strong);
  color: var(--ink);
}

.legend button.is-dim {
  opacity: 0.38;
}

.wave-hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.swatch {
  display: inline-block;
  width: 18px;
  height: 3px;
  margin-right: 6px;
  vertical-align: middle;
}

.swatch.itch { background: var(--itch); }
.swatch.sleep { background: var(--still); }

.steps-wrap {
  position: relative;
  margin-bottom: 48px;
}

.loop-rail {
  display: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 0;
}

.step.is-lit {
  border-color: color-mix(in srgb, var(--pulse) 55%, var(--line));
}

.step.is-lit .n {
  color: var(--ink);
  text-shadow: 0 0 18px rgba(240, 194, 122, 0.45);
}

@media (min-width: 981px) {
  .loop-rail {
    display: block;
    position: absolute;
    top: 36px;
    left: 11%;
    right: 11%;
    height: 1px;
    background: var(--line);
    z-index: 0;
    pointer-events: none;
  }

  .loop-rail i {
    display: block;
    height: 100%;
    width: 0;
    background: var(--pulse);
    box-shadow: 0 0 10px rgba(240, 194, 122, 0.45);
    transition: width 1.1s ease;
  }

  .steps-wrap.is-drawn .loop-rail i {
    width: 100%;
  }

  .steps .step {
    position: relative;
    z-index: 1;
  }
}

.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 18px;
  min-height: 230px;
  transition: transform 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

@media (hover: hover) {
  .steps:hover .step {
    opacity: 0.55;
  }

  .steps .step:hover {
    opacity: 1;
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--pulse) 50%, var(--line));
  }
}

.step .n {
  font-family: var(--font-mono);
  color: var(--pulse);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.step h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  margin: 18px 0 10px;
  font-weight: 500;
}

.step p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 15px;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.panel h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.panel .hint {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 18px;
}

.sim-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chip {
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--ink-dim);
  font-size: 13px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.chip:hover {
  transform: translateY(-1px);
  color: var(--ink);
}

.chip.is-on {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.night {
  position: relative;
  height: 84px;
  background: #0d0e14;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.night-hours {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  color: #5d574e;
  font-family: var(--font-mono);
  font-size: 10px;
  pointer-events: none;
}

.bouts {
  position: absolute;
  inset: 28px 10px 18px;
}

.playhead {
  position: absolute;
  top: 18px;
  bottom: 10px;
  left: 10px;
  width: 2px;
  z-index: 2;
  background: var(--pulse);
  opacity: 0;
  box-shadow: 0 0 12px var(--pulse);
  pointer-events: none;
}

.playhead.is-run {
  animation: scan 2.2s ease-in-out;
}

@keyframes scan {
  0% { left: 10px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(100% - 12px); opacity: 0; }
}

.bout {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 3px;
  background: var(--itch);
  opacity: 0.9;
  transform-origin: bottom;
}

.bout.cut {
  background: var(--pulse);
  height: 42%;
  top: 29%;
}

.sim-readout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.sim-readout div {
  background: var(--bg);
  border-radius: 12px;
  padding: 12px;
}

.sim-readout b {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
}

.sim-readout span {
  color: var(--muted);
  font-size: 12px;
}

.receipt {
  background: var(--clip);
  color: var(--clip-ink);
  border-radius: 8px 8px 18px 18px;
  padding: 22px 20px 20px;
  box-shadow: var(--shadow);
  min-height: 100%;
}

.receipt h3 {
  font-family: var(--font-serif);
  margin: 0 0 4px;
  font-size: 22px;
}

.receipt .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #6d6458;
  margin-bottom: 16px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px dashed #cbbda8;
  font-size: 14px;
  opacity: 0;
  translate: 0 8px;
}

.receipt.is-in .receipt-row,
.receipt:not(.reveal) .receipt-row {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.45s ease, translate 0.45s ease;
}

.receipt.is-in .receipt-row:nth-child(3) { transition-delay: 0.05s; }
.receipt.is-in .receipt-row:nth-child(4) { transition-delay: 0.12s; }
.receipt.is-in .receipt-row:nth-child(5) { transition-delay: 0.19s; }
.receipt.is-in .receipt-row:nth-child(6) { transition-delay: 0.26s; }
.receipt.is-in .receipt-row:nth-child(7) { transition-delay: 0.33s; }

.receipt-row b { font-weight: 600; }

.stamp {
  margin-top: 18px;
  display: inline-block;
  border: 2px solid #3f7a64;
  color: #3f7a64;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-6deg);
  animation: stamp-in 0.6s ease both;
}

.cta {
  background:
    radial-gradient(80% 80% at 10% 0%, var(--danger-soft), transparent 50%),
    radial-gradient(70% 70% at 100% 100%, var(--still-soft), transparent 46%),
    var(--bg-2);
}

.cta-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

form {
  display: grid;
  gap: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.form-fields {
  display: grid;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field label {
  display: block;
  font-size: 13px;
  line-height: 1.2;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  box-sizing: border-box;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 48px;
  outline: none;
  line-height: 1.4;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
  padding-top: 12px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--pulse);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.form-ok {
  display: none;
  background: var(--still-soft);
  border: 1px solid color-mix(in srgb, var(--still) 45%, var(--line));
  color: var(--still);
  border-radius: 12px;
  padding: 12px;
}

form.is-sent .form-ok { display: block; }
form.is-sent .form-fields { display: none; }

.proof {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.clip {
  background: var(--clip);
  color: var(--clip-ink);
  border-radius: 4px;
  padding: 24px 22px;
  transform: rotate(-0.6deg);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.clip:hover {
  transform: rotate(0deg) translateY(-4px);
}

.clip + .clip,
.clip-stack .clip:nth-child(2) {
  transform: rotate(1.1deg);
}

.clip-stack .clip:nth-child(2):hover {
  transform: rotate(0deg) translateY(-4px);
}

.clip h3 {
  font-family: var(--font-serif);
  margin: 0 0 8px;
  font-size: 26px;
}

.clip p {
  margin: 0 0 12px;
}

.clip a {
  color: #5b3a2a;
}

.clip-stack {
  display: grid;
  gap: 16px;
}

.clip.quote {
  background: #12141c;
  color: var(--ink);
  border: 1px solid rgba(240, 194, 122, 0.35);
  transform: rotate(0.8deg);
}

.clip.quote:hover {
  transform: rotate(0deg) translateY(-4px);
}

.clip.quote h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.clip.quote blockquote {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1.2;
  color: var(--pulse);
}

.clip.quote p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-dim);
}

.metric-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.pill {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
}

.receipt.is-in + * .pill,
.clip.is-in .pill {
  animation: rise 0.55s ease both;
}

.clip.is-in .pill:nth-child(1) { animation-delay: 0.05s; }
.clip.is-in .pill:nth-child(2) { animation-delay: 0.12s; }
.clip.is-in .pill:nth-child(3) { animation-delay: 0.19s; }
.clip.is-in .pill:nth-child(4) { animation-delay: 0.26s; }

.pill b {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  color: #9a4030;
}

.compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.compare article {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: var(--bg);
}

.compare h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.compare p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 56px;
  color: var(--muted);
  font-size: 14px;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 72px 0 12px;
}

.prose {
  max-width: 72ch;
}

.prose p { color: var(--ink-dim); }
.prose h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  margin: 36px 0 10px;
}

.source-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.source-list a {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  text-decoration: none;
}

.source-list a:hover { border-color: var(--pulse); }

.kill {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.kill div {
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
}

.kill .down {
  background: var(--danger-soft);
}

.kill .hold {
  background: var(--still-soft);
}

.reveal {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.7s ease, translate 0.7s ease;
  transition-delay: var(--d, 0ms);
}

.reveal.is-in {
  opacity: 1;
  translate: 0 0;
}

.copy-in {
  opacity: 0;
  translate: 0 14px;
  transition: opacity 0.7s ease, translate 0.7s ease;
}

.copy-in.is-in {
  opacity: 1;
  translate: 0 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 8px 0 48px;
}

.person {
  margin: 0;
}

.person-photo {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: #f6f2e8;
  border: 1px solid var(--line);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.person:hover .person-photo {
  transform: translateY(-4px);
  border-color: rgba(240, 194, 122, 0.45);
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.person figcaption {
  padding: 12px 4px 0;
  text-align: center;
}

.person strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
}

.person span {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

@media (max-width: 980px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes stamp-in {
  from { opacity: 0; transform: rotate(-12deg) scale(0.86); }
  to { opacity: 1; transform: rotate(-6deg) scale(1); }
}

@media (max-width: 1100px) {
  .story { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .story { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .hero,
  .split,
  .demo-grid,
  .cta-grid,
  .proof,
  .stats,
  .steps,
  .kill,
  .form-row {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-links { display: flex; }
  .menu-btn { display: grid; place-items: center; }
  .hero { min-height: auto; padding-top: 28px; }
  .hero-stage { min-height: 380px; }
  .waveform { position: static; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse-rings span,
  .wrist,
  .playhead.is-run,
  .stamp,
  .enter,
  .wave-scan,
  .live-dot,
  .led,
  .pad {
    animation: none;
  }
  .pulse-rings span { opacity: 0.25; }
  .enter,
  .reveal,
  .copy-in,
  .receipt-row {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }
  .spot { display: none; }
  .stat:hover,
  .step:hover,
  .thesis-card:hover,
  .btn:hover,
  .chip:hover {
    transform: none;
  }
}
