:root {
  color-scheme: dark;
  --bg: #0a1210;
  --bg-deep: #08100e;
  --ink: #e9f0ec;
  --muted: #a3b8ae;
  --muted-2: #8ba398;
  --muted-3: #93a99f;
  --line: rgba(255, 255, 255, 0.08);
  --accent: oklch(0.74 0.13 155);
  --accent-bright: oklch(0.8 0.13 155);
  --accent-ink: #06120d;
  --amber: oklch(0.79 0.12 85);
  --font-sans: Manrope, system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --font-mono: "IBM Plex Mono", monospace;
  --wrap: 1220px;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 200;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 1rem;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.9375rem;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0.75rem);
  text-decoration: underline;
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.footer-links a,
.legal-inline a,
.hero-lede a,
.pilot-copy a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-bright);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: oklch(0.74 0.13 155 / 0.3);
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.18);
  }
  50% {
    transform: scaleY(1);
  }
}

@keyframes halo {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.08;
    transform: scale(1.5);
  }
}

@keyframes caret {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.page {
  position: relative;
  background: var(--bg);
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
}

/* ——— Header ——— */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 260ms ease, border-color 260ms ease, backdrop-filter 260ms ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(10, 18, 16, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.09);
  backdrop-filter: saturate(140%) blur(16px);
}

.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (min-width: 768px) {
  .header-inner {
    padding: 16px 32px;
  }
}

@media (min-width: 1024px) {
  .header-inner {
    gap: 28px;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--accent);
  display: block;
  position: relative;
  flex: none;
}

.brand-mark span {
  position: absolute;
  left: 7px;
  right: 7px;
  height: 2px;
  background: var(--bg);
  display: block;
}

.brand-mark span:nth-child(1) {
  top: 7px;
}

.brand-mark span:nth-child(2) {
  top: 12px;
  opacity: 0.6;
}

.brand-mark span:nth-child(3) {
  top: 17px;
  right: 12px;
  opacity: 0.35;
}

.brand-name {
  display: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-name .os {
  color: #7d9a8e;
}

@media (min-width: 380px) {
  .brand-name {
    display: inline;
  }
}

.nav-desktop {
  display: none;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: #a8bcb2;
}

.nav-desktop a {
  transition: color 180ms ease;
  padding: 6px 0;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.lang-pill {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  flex: none;
}

.lang-pill a,
.lang-pill span {
  min-width: 42px;
  min-height: 36px;
  padding: 8px 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms ease, color 180ms ease;
  color: #9db3a8;
}

.lang-pill a:hover {
  color: var(--ink);
}

.lang-pill .is-active {
  background: #e9f0ec;
  color: var(--bg);
}

.header-cta {
  display: none;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 200ms ease, background 180ms ease;
}

.header-cta:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px oklch(0.74 0.13 155 / 0.28);
  color: var(--accent-ink);
}

@media (min-width: 1024px) {
  .header-cta {
    display: inline-flex;
  }
}

.menu-toggle {
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
}

.menu-toggle span {
  height: 2px;
  border-radius: 2px;
  background: #dbe7e1;
  display: block;
}

.menu-toggle span:nth-child(1),
.menu-toggle span:nth-child(2) {
  width: 18px;
}

.menu-toggle span:nth-child(3) {
  width: 12px;
  background: #8ba398;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px calc(20px + env(safe-area-inset-bottom));
  background: #0b1613;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}

.site-header.is-menu-open .mobile-menu {
  display: flex;
}

.mobile-menu a:not(.btn-accent) {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #dbe7e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu .btn-accent {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 16px;
  font-weight: 700;
}

.mobile-menu .btn-accent:hover {
  color: var(--accent-ink);
}

body.is-menu-open {
  overflow: hidden;
}

/* ——— Buttons ——— */

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 220ms ease, background 180ms ease;
  text-align: center;
}

.btn-accent:hover {
  background: oklch(0.81 0.13 155);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px oklch(0.74 0.13 155 / 0.3);
  color: var(--accent-ink);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 15px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 15px;
  font-weight: 600;
  color: #dbe7e1;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.btn-ghost-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 15px;
  font-weight: 600;
  color: #dbe7e1;
  text-align: center;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
}

.btn-ghost-outline:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

/* ——— Shared section bits ——— */

.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(27px, 3.1vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-pad {
  padding: clamp(56px, 7vw, 88px) clamp(16px, 4vw, 32px);
}

/* ——— Hero ——— */

.hero {
  position: relative;
  padding: clamp(104px, 11vw, 124px) clamp(16px, 4vw, 32px) clamp(48px, 6vw, 68px);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -240px;
  left: 50%;
  width: 1100px;
  height: 680px;
  transform: translateX(-50%);
  background: radial-gradient(60% 55% at 50% 40%, oklch(0.74 0.13 155 / 0.13), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #9db3a8;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  display: block;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(31px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero h1 .accent {
  color: var(--accent-bright);
}

.hero-lede {
  margin: 0;
  max-width: 480px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

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

.hero-note {
  font-size: 13.5px;
  color: var(--muted-2);
  line-height: 1.5;
}

/* ——— Hero illustration ——— */

.illo {
  position: relative;
  min-width: 0;
}

.illo-frame {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012) 55%);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  min-width: 0;
}

@media (min-width: 1160px) {
  .illo-frame {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.session-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #0d1714;
  padding: 14px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.session-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #7f978b;
}

.session-team {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 10px;
}

.session-drill {
  font-size: 12.5px;
  color: var(--muted-2);
  margin-top: 2px;
}

.wave-bars {
  margin: 12px 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  gap: 3px;
}

.wave-bars span {
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
  display: block;
  height: 38px;
  transform-origin: center;
  opacity: 0.16;
  animation: wave var(--d, 1s) ease-in-out infinite;
  animation-delay: var(--dl, 0s);
  animation-play-state: paused;
}

[data-stage="0"] .wave-bars span {
  opacity: 1;
  animation-play-state: running;
}

.rec-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rec-btn {
  position: relative;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  transition: background 300ms ease;
}

[data-stage="0"] .rec-btn {
  background: var(--accent);
}

.rec-halo {
  position: absolute;
  inset: -5px;
  border-radius: 999px;
  background: oklch(0.74 0.13 155 / 0.5);
  animation: halo 2.4s ease-in-out infinite;
  animation-play-state: paused;
  opacity: 0;
}

[data-stage="0"] .rec-halo {
  animation-play-state: running;
  opacity: 1;
}

.rec-square {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--accent-ink);
  display: block;
  position: relative;
}

.rec-state {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.rec-label {
  font-size: 13px;
  font-weight: 600;
}

.rec-timer {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-bright);
}

.transcript {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12.5px;
  line-height: 1.55;
  color: #c4d6cc;
  flex: 1;
  min-height: 56px;
  min-width: 0;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  white-space: normal;
}

@media (min-width: 768px) {
  .transcript {
    min-height: 76px;
  }
}

.transcript .word {
  display: inline;
  transition: opacity 220ms ease, background 260ms ease, color 260ms ease;
  border-radius: 3px;
  opacity: 0.08;
  color: #c4d6cc;
}

.transcript .word.is-on {
  opacity: 1;
}

.transcript .word.is-hi-1 {
  background: oklch(0.74 0.13 155 / 0.22);
  color: #f2f8f4;
}

.transcript .word.is-hi-2 {
  background: oklch(0.79 0.12 85 / 0.2);
  color: #f2f8f4;
}

.caret {
  display: inline-block;
  width: 6px;
  height: 12px;
  background: var(--accent);
  vertical-align: -1px;
  animation: caret 1s steps(1) infinite;
  opacity: 0;
}

[data-stage="1"] .caret {
  opacity: 1;
}

.no-audio {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  color: #7f978b;
}

.stage-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.022);
  overflow: hidden;
  min-height: 242px;
}

@media (min-width: 768px) {
  .stage-panel {
    min-height: 300px;
  }
}

.stage-label-row {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  z-index: 5;
}

.stage-label-row::before {
  content: "";
  width: 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  display: block;
}

.stage-view {
  position: absolute;
  inset: 40px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: opacity 400ms ease, transform 460ms var(--ease-out);
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  pointer-events: none;
}

.stage-view.is-wait {
  transform: translate3d(0, -8px, 0);
}

.stage-view.is-chips {
  transform: translate3d(0, 10px, 0);
}

.stage-view.is-rev,
.stage-view.is-hist {
  justify-content: center;
  transform: translate3d(0, 12px, 0);
}

/* stageIdx: 0 wait (st<=2), 1 chips (st<=3), 2 rev (st<=6), 3 hist */
[data-stage="0"] .stage-view.is-wait,
[data-stage="1"] .stage-view.is-wait,
[data-stage="2"] .stage-view.is-wait,
[data-stage="3"] .stage-view.is-chips,
[data-stage="4"] .stage-view.is-rev,
[data-stage="5"] .stage-view.is-rev,
[data-stage="6"] .stage-view.is-rev,
[data-stage="7"] .stage-view.is-hist {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.wait-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.014);
}

.wait-row .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #56695f;
  min-width: 66px;
}

.wait-row .bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  display: block;
}

.chip-row {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 8px 11px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  transition: opacity 420ms ease, transform 420ms var(--ease-out);
  opacity: 0;
  transform: translate3d(-8px, 6px, 0);
}

[data-stage="3"] .chip-row,
[data-stage="4"] .chip-row,
[data-stage="5"] .chip-row,
[data-stage="6"] .chip-row,
[data-stage="7"] .chip-row {
  opacity: 1;
  transform: none;
}

.chip-row .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  min-width: 66px;
}

.chip-row .v {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  color: #e4ede8;
}

.rev-card {
  padding: 13px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 400ms ease, background 400ms ease;
}

[data-stage="6"] .rev-card,
[data-stage="7"] .rev-card {
  border-color: oklch(0.74 0.13 155 / 0.4);
  background: oklch(0.74 0.13 155 / 0.08);
}

.rev-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.rev-title {
  font-size: 13.5px;
  font-weight: 700;
}

.rev-state {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.09em;
  color: var(--amber);
}

[data-stage="6"] .rev-state,
[data-stage="7"] .rev-state {
  color: var(--accent-bright);
}

.rev-body {
  font-size: 12.5px;
  line-height: 1.45;
  color: #c4d6cc;
  margin-bottom: 11px;
}

.rev-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.rev-approve {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-ink);
  transition: transform 200ms ease, background 260ms ease;
}

[data-stage="5"] .rev-approve {
  transform: scale(0.94);
}

[data-stage="6"] .rev-approve,
[data-stage="7"] .rev-approve {
  background: var(--accent);
}

.rev-edit {
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #a8bcb2;
}

.rev-discard {
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-2);
}

.rev-note {
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.hist-card {
  padding: 13px;
  border-radius: 14px;
  border: 1px solid oklch(0.74 0.13 155 / 0.3);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
}

.hist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.avatar {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 999px;
  background: #1d3a2e;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-bright);
}

.player-block {
  display: flex;
  align-items: center;
  gap: 9px;
}

.player-block .name {
  font-size: 13.5px;
  font-weight: 700;
}

.player-block .meta {
  font-size: 11.5px;
  color: var(--muted-2);
}

.badge-ok {
  padding: 5px 9px;
  border-radius: 999px;
  background: oklch(0.74 0.13 155 / 0.16);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  color: oklch(0.82 0.13 155);
  text-align: right;
}

.hist-list {
  display: grid;
  gap: 7px;
}

.hist-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.hist-dot {
  width: 4px;
  height: 4px;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  flex: none;
  display: block;
}

.hist-dot.is-accent {
  background: var(--accent-bright);
}

.hist-item .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.hist-item .v {
  font-size: 12.5px;
  line-height: 1.35;
  color: #dce7e2;
}

.phase-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}

.phase-dots .dot {
  height: 3px;
  border-radius: 999px;
  display: block;
  transition: width 400ms ease, background 400ms ease;
  width: 10px;
  background: rgba(255, 255, 255, 0.18);
}

.phase-dots .dot.is-active {
  width: 26px;
  background: var(--accent);
}

.phase-label {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  color: var(--muted-2);
}

/* ——— Problem ——— */

.problem {
  position: relative;
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.problem-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.problem-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 32px;
  align-items: end;
}

.problem-head-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problem-label {
  color: var(--amber);
}

.problem-lede {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--muted-3);
  max-width: 440px;
}

.problem-mid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 32px;
  align-items: center;
}

.notes {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.note-chip {
  flex: 1 1 auto;
  min-width: 128px;
  padding: 12px 13px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.note-chip .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}

.note-chip .v {
  font-size: 12.5px;
  font-weight: 600;
  color: #c6d6cd;
  line-height: 1.3;
}

.note-chip .bar {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  display: block;
}

.history-bridge {
  display: flex;
  align-items: center;
  gap: 18px;
}

.history-bridge-line {
  flex: none;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), oklch(0.74 0.13 155 / 0.7));
  display: block;
}

.history-card {
  flex: 1;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid oklch(0.74 0.13 155 / 0.28);
  background: linear-gradient(150deg, oklch(0.74 0.13 155 / 0.09), rgba(255, 255, 255, 0.014));
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.history-card .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  color: var(--accent-bright);
}

.history-card .t {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.trend {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 30px;
}

.trend span {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: rgba(255, 255, 255, 0.14);
  display: block;
}

.trend span.is-accent {
  background: var(--accent);
}

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

.value-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.022);
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.value-card .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent-bright);
}

.value-card .b {
  font-size: 15px;
  line-height: 1.5;
  color: #cfdcd5;
}

/* ——— How ——— */

.how {
  position: relative;
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.how-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.how-head {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.how-head .mono-label {
  color: var(--accent-bright);
}

.how-head .section-title {
  max-width: 680px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.how-tabs {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.how-tab {
  text-align: left;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-height: 48px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: transparent;
  transition: opacity 300ms ease, border-color 300ms ease, background 300ms ease;
  opacity: 0.45;
}

.how-tab.is-active {
  opacity: 1;
  border-color: oklch(0.74 0.13 155 / 0.45);
  background: rgba(255, 255, 255, 0.05);
}

.how-tab .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding-top: 3px;
  color: #7d9689;
  transition: color 300ms ease;
}

.how-tab.is-active .num {
  color: var(--accent-bright);
}

.how-tab .title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.how-tab .dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: transparent;
  display: block;
  transition: background 300ms ease;
}

.how-tab.is-active .dot {
  background: var(--accent);
}

.how-tab .body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted-3);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.how-screen {
  position: relative;
  height: 300px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}

@media (min-width: 768px) {
  .how-screen {
    height: 340px;
  }
}

.how-pane {
  position: absolute;
  inset: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: opacity 400ms ease, transform 460ms var(--ease-out);
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(0.985);
  z-index: 1;
  pointer-events: none;
}

.how-pane.is-active {
  opacity: 1;
  transform: none;
  z-index: 2;
  pointer-events: auto;
}

.how-pane.is-center {
  justify-content: center;
  gap: 8px;
}

.how-pane .lab {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted-2);
}

.how-static-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 72px;
}

.how-static-bars span {
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.85;
  display: block;
}

.how-rec-row {
  display: flex;
  align-items: center;
  gap: 11px;
}

.how-rec-btn {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 999px;
  background: var(--accent);
  display: grid;
  place-items: center;
}

.how-rec-btn span {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--accent-ink);
  display: block;
}

.how-quote {
  font-size: 13px;
  line-height: 1.5;
  color: #b9cdc3;
  font-style: italic;
}

.how-chip {
  display: flex;
  align-items: baseline;
  gap: 11px;
  padding: 10px 13px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
}

.how-chip .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  min-width: 78px;
}

.how-chip .v {
  font-size: 13px;
  font-weight: 600;
  color: #e4ede8;
  line-height: 1.3;
}

.how-review-box {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid oklch(0.74 0.13 155 / 0.3);
  background: oklch(0.74 0.13 155 / 0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.how-hist-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.how-hist-row .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.11em;
  color: var(--muted-2);
}

.how-hist-row .v {
  font-size: 13px;
  line-height: 1.35;
  color: #dce7e2;
}

/* ——— Report ——— */

.report {
  background: #f2efe8;
  color: #141b18;
}

.report-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.report-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.report-copy .mono-label {
  color: #5d7367;
}

.report-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.report-points span {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: #3c4a43;
}

.report-points .dash {
  color: oklch(0.52 0.11 155);
  font-weight: 700;
}

.report-card {
  background: #fdfcfa;
  border: 1px solid rgba(20, 27, 24, 0.1);
  border-radius: 20px;
  padding: clamp(18px, 2.6vw, 30px);
  box-shadow: 0 28px 64px rgba(20, 27, 24, 0.13);
}

.report-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(20, 27, 24, 0.1);
}

@media (min-width: 520px) {
  .report-card-head {
    flex-direction: row;
  }
}

.report-card-head .mono-label {
  color: #5d7367;
  letter-spacing: 0.14em;
}

.report-card-head .name {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.report-card-head .meta {
  font-size: 12.5px;
  color: #5d7367;
}

.report-badge {
  flex: none;
  padding: 7px 12px;
  border-radius: 999px;
  background: oklch(0.52 0.11 155 / 0.1);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: oklch(0.42 0.1 155);
}

.report-block {
  padding: 18px 0;
  border-bottom: 1px solid rgba(20, 27, 24, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.report-block .mono-label {
  color: #5d7367;
  letter-spacing: 0.14em;
}

.goal-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.goal-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.goal-row-top .t {
  font-size: 14.5px;
  font-weight: 600;
}

.goal-row-top .n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #5d7367;
  text-align: right;
}

.goal-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(20, 27, 24, 0.08);
  overflow: hidden;
}

.goal-fill {
  height: 100%;
  border-radius: 999px;
  background: oklch(0.52 0.11 155);
}

.goal-fill.is-muted {
  background: rgba(20, 27, 24, 0.22);
}

.evidence-item {
  padding-left: 15px;
  border-left: 2px solid oklch(0.52 0.11 155);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.evidence-item.is-amber {
  border-left-color: oklch(0.68 0.11 85);
}

.evidence-item .q {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.45;
  color: #202b26;
}

.evidence-item .m {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #5d7367;
}

.report-foot {
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.report-foot .note {
  font-size: 12.5px;
  color: #5d7367;
  max-width: 280px;
  line-height: 1.45;
}

.report-coach {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #3c4a43;
}

.report-coach .av {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 999px;
  background: #1d3a2e;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--accent-bright);
}

/* ——— Trust ——— */

.trust {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(30px, 4vw, 56px);
  align-items: start;
}

.trust-copy {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.trust-copy .mono-label {
  color: var(--muted-2);
}

.trust-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-3);
  max-width: 400px;
}

.privacy-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-bright);
  border-bottom: 1px solid oklch(0.74 0.13 155 / 0.35);
}

.privacy-link:hover {
  color: var(--accent-bright);
}

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trust-item {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.018);
}

.trust-item .sq {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  flex: none;
  border-radius: 2px;
  background: var(--accent);
  display: block;
}

.trust-item .sq.is-amber {
  background: var(--amber);
}

.trust-item .t {
  font-size: 15px;
  font-weight: 700;
}

.trust-item .b {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted-3);
}

.trust-item > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* ——— Pilot ——— */

.pilot {
  position: relative;
  padding: clamp(60px, 7.5vw, 96px) clamp(16px, 4vw, 32px);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pilot-glow {
  position: absolute;
  bottom: -300px;
  left: 50%;
  width: 980px;
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(55% 55% at 50% 50%, oklch(0.74 0.13 155 / 0.16), transparent 70%);
  pointer-events: none;
}

.pilot-inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(30px, 4vw, 56px);
  align-items: center;
}

.pilot-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pilot-copy h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(29px, 3.6vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.pilot-copy p {
  margin: 0;
  max-width: 460px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--muted);
}

.pilot-copy .price {
  color: oklch(0.82 0.13 155);
  font-weight: 700;
}

.pilot-box {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pilot-box > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #b9cdc3;
}

.pilot-box > p a {
  color: oklch(0.82 0.13 155);
}

.pilot-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pilot-actions .btn-accent {
  min-height: 54px;
  font-size: 15.5px;
}

.pilot-actions .btn-accent:hover {
  box-shadow: 0 16px 38px oklch(0.74 0.13 155 / 0.32);
}

.pilot-wa {
  align-self: center;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13.5px;
  color: var(--muted-2);
  text-align: center;
}

.pilot-wa:hover {
  color: var(--accent-bright);
}

/* ——— Footer ——— */

.site-footer {
  padding: 32px clamp(16px, 4vw, 32px) 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--bg-deep);
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted-2);
}

.footer-inner > span {
  max-width: 460px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: color 180ms ease;
}

/* ——— Sticky CTA ——— */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(8, 16, 14, 0.94);
  backdrop-filter: saturate(140%) blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.sticky-cta.is-visible {
  display: flex;
}

.sticky-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 16px;
  font-weight: 700;
}

.sticky-cta a:hover {
  color: var(--accent-ink);
}

@media (min-width: 768px) {
  .sticky-cta.is-visible {
    display: none;
  }
}

/* Reveal defaults — JS sets initial hidden state */
[data-in] {
  will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  [data-in] {
    will-change: auto;
    opacity: 1 !important;
    transform: none !important;
  }
}
