/* ============================================================
   Dark Talent — Marketing Site
   Black-on-black-on-black, native Apple aesthetic, no images.
   See brand/identity.md + brand/design-system.md + .claude/brand-voice-guidelines.md.
   ============================================================ */

/* ----- Tokens (CSS custom properties) ----------------------- */
:root {
  /* Black stack — design-system §2.1 */
  --color-black: #000000;
  --color-deep-black: #050505;
  --color-surface-black: #0b0b0b;
  --color-card-black: #111111;
  --color-elevated-black: #171717;

  /* The one permitted warm-undertone for the hero void (identity §5.3). */
  --color-warm-void: rgb(10, 8, 6);

  /* White stack */
  --color-white: #ffffff;
  --color-muted-white: #cfcfcf;
  --color-muted-gray: #8a8a8a;
  --color-dim-gray: #4a4a4a;
  --color-border: #252525;
  --color-signal-white: #f5f5f5;

  /* Translucency scale */
  --alpha-4: rgba(255, 255, 255, 0.04);
  --alpha-8: rgba(255, 255, 255, 0.08);
  --alpha-16: rgba(255, 255, 255, 0.16);
  --alpha-24: rgba(255, 255, 255, 0.24);
  --alpha-40: rgba(255, 255, 255, 0.40);
  --alpha-64: rgba(255, 255, 255, 0.64);
  --alpha-88: rgba(255, 255, 255, 0.88);

  /* Spacing — 4pt base */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-30: 120px;
  --space-40: 160px;

  /* Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 36px;
  --radius-full: 9999px;

  /* Type — native Apple stack with system fallbacks */
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Helvetica Neue", system-ui, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", system-ui, sans-serif;
  --font-rounded: ui-rounded, -apple-system, BlinkMacSystemFont,
    "SF Pro Rounded", "SF Pro Display", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;

  /* Motion — design-system §2.7 */
  --motion-fast: 120ms;
  --motion-base: 240ms;
  --motion-slow: 400ms;
  --motion-cinematic: 700ms;
  --motion-reset: 1200ms;

  --ease-standard: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-decelerate: cubic-bezier(0, 0, 0.2, 1);
  --ease-liquid: cubic-bezier(0.4, 0, 0.2, 1.4);
}

/* ----- Reset / base ---------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--color-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.005em;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--color-white);
  text-decoration: none;
  transition: opacity var(--motion-base) var(--ease-standard);
}

a:hover,
a:focus-visible {
  opacity: 0.72;
}

a:focus-visible {
  outline: 1px solid var(--alpha-64);
  outline-offset: 4px;
  border-radius: 2px;
}

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

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

::selection {
  background-color: var(--color-white);
  color: var(--color-black);
}

/* ----- Skip link (a11y) ------------------------------------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: var(--space-4);
  background: var(--color-white);
  color: var(--color-black);
  padding: var(--space-2) var(--space-4);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: var(--radius-sm);
  z-index: 100;
  transition: top var(--motion-fast) var(--ease-standard);
}
.skip-link:focus-visible {
  top: var(--space-3);
  opacity: 1;
  outline: none;
}

/* Visually hidden but accessible to screen readers. */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- Page-load fade-in ------------------------------------ */
@keyframes dt-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  main,
  .site-header,
  .site-footer {
    animation: dt-fade var(--motion-cinematic) var(--ease-standard) both;
  }
}

/* ----- Scroll reveal ---------------------------------------
   Progressive enhancement: only hide-then-reveal when JS has marked
   the document with `js-reveal`. No-JS users and non-scrolling tools
   (headless screenshot, RSS readers, Reader View) see all content. */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity var(--motion-cinematic) var(--ease-decelerate),
              transform var(--motion-cinematic) var(--ease-decelerate);
  will-change: opacity, transform;
}
.js-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ----- Layout primitives ----------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-10);
  }
}

@media (min-width: 1280px) {
  .container {
    padding: 0 var(--space-12);
  }
}

/* ----- Brand mark & lockup --------------------------------- */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
}

.dot {
  display: inline-block;
  border-radius: 50%;
  background-color: var(--color-signal-white);
}

.dot--mark {
  width: 8px;
  height: 8px;
}

/* Pulsing brand dot — identity §4.7 idle pulse, 1s cycle. */
.dot--pulse {
  width: 6px;
  height: 6px;
  margin-right: 12px;
  vertical-align: 1px;
  animation: dt-dot-pulse 1000ms var(--ease-standard) infinite;
}

@keyframes dt-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.92); }
}

@media (prefers-reduced-motion: reduce) {
  .dot--pulse { animation: none; opacity: 1; }
}

.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-white);
}

/* ----- Header ---------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--alpha-8);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.site-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--color-muted-white);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-white);
  opacity: 1;
}

.site-nav-cta {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 var(--space-4);
  border: 1px solid var(--alpha-24);
  border-radius: var(--radius-sm);
  color: var(--color-white) !important;
  transition: border-color var(--motion-base) var(--ease-standard),
              background-color var(--motion-base) var(--ease-standard);
}

.site-nav-cta:hover,
.site-nav-cta:focus-visible {
  border-color: var(--color-white);
  background-color: var(--alpha-8);
}

@media (max-width: 559px) {
  /* Tighten nav at narrow widths; keep the download CTA always visible. */
  .site-nav { gap: var(--space-3); }
  .site-nav a:not(.site-nav-cta) { display: none; }
}

/* ----- Section rhythm -------------------------------------- */
section {
  padding: var(--space-20) 0;
  position: relative;
}

@media (min-width: 768px) {
  section {
    padding: var(--space-30) 0;
  }
}

@media (min-width: 1100px) {
  section {
    padding: var(--space-40) 0;
  }
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-white);
  background: var(--alpha-4);
  border: 1px solid var(--alpha-8);
  border-radius: var(--radius-full);
  padding: 6px 12px 6px 10px;
  margin-bottom: var(--space-8);
  width: max-content;
}

.section-eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-signal-white);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--color-white);
  max-width: 22ch;
}

.section-lede {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.55;
  color: var(--color-muted-white);
  max-width: 56ch;
  margin-top: var(--space-5);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: clamp(80px, 14vh, 200px);
  padding-bottom: clamp(80px, 14vh, 200px);
  background:
    radial-gradient(ellipse at 65% 25%, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0) 60%),
    var(--color-warm-void);
  border-bottom: 1px solid var(--alpha-4);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.25fr 1fr;
    gap: var(--space-20);
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted-white);
  margin-bottom: var(--space-8);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 11vw, 128px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--color-white);
  margin-bottom: var(--space-8);
  max-width: 12ch;
}

.hero-lede {
  font-family: var(--font-text);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--color-muted-white);
  max-width: 48ch;
  margin-bottom: var(--space-5);
  letter-spacing: -0.01em;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-white);
  margin-bottom: var(--space-12);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.cta-row--final {
  gap: var(--space-4);
  margin-top: var(--space-10);
  margin-bottom: var(--space-6);
}

.cta-note {
  font-size: 12px;
  color: var(--color-muted-gray);
  letter-spacing: 0.02em;
}

/* ----- App Store badge ------------------------------------ */
.app-badge {
  display: inline-block;
  line-height: 0;
  border-radius: 12px;
  transition: transform var(--motion-fast) var(--ease-standard),
              opacity var(--motion-base) var(--ease-standard);
  -webkit-tap-highlight-color: transparent;
}

.app-badge:hover,
.app-badge:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.app-badge:active {
  transform: translateY(0);
  opacity: 0.88;
}

.app-badge:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 4px;
}

.app-badge-svg {
  display: inline-block;
  width: 180px;
  height: 60px;
}

.app-badge-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Hero badges get a touch more presence next to the 128px H1. */
.cta-row--hero .app-badge-svg {
  width: 200px;
  height: 66px;
}

@media (max-width: 559px) {
  .app-badge-svg,
  .cta-row--hero .app-badge-svg {
    width: 160px;
    height: 54px;
  }
}

/* ----- Hero mock — Lock-In frame --------------------------- */
.hero-mock {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lockin-frame {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 19.5;
  border-radius: var(--radius-2xl);
  background: var(--color-black);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 32px 80px rgba(0, 0, 0, 0.8),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

/* Top notch / Dynamic Island shape on the device mock. */
.lockin-frame::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background: #000;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 2;
}

.lockin-statusbar {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 28px;
  font-family: var(--font-rounded);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-white);
  z-index: 3;
}

.lockin-statusbar-glyphs {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--color-muted-white);
  align-self: center;
}

.lockin-void {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-8);
  text-align: center;
}

.lockin-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-signal-white);
  margin-bottom: var(--space-10);
  animation: dt-dot-pulse 1000ms var(--ease-standard) infinite;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.25);
}

.lockin-timer {
  font-family: var(--font-rounded);
  font-size: clamp(52px, 14vw, 68px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--color-white);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-6);
}

.lockin-move {
  font-family: var(--font-text);
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-muted-white);
  max-width: 22ch;
}

.lockin-controls {
  position: absolute;
  bottom: var(--space-10);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: var(--space-5);
}

.lockin-control {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-muted-white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--alpha-8);
  backdrop-filter: blur(8px);
}

@media (prefers-reduced-motion: reduce) {
  .lockin-dot { animation: none; }
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem {
  border-bottom: 1px solid var(--alpha-4);
}

.display-line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6.5vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--color-white);
  max-width: 18ch;
}

.display-line-sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--color-muted-gray);
  margin-top: var(--space-10);
  max-width: 26ch;
}

/* ============================================================
   HOW IT WORKS — three modules
   ============================================================ */
.how-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 720px;
  margin-bottom: var(--space-20);
}

.modules {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

@media (min-width: 880px) {
  .modules {
    gap: var(--space-40);
  }
}

.module {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 880px) {
  .module {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: var(--space-20);
  }
  .module--reverse .module-head {
    order: 2;
  }
  .module--reverse .module-mock {
    order: 1;
  }
}

/* Massive silent numeral — sits as a low-contrast typographic anchor. */
.module-numeral {
  position: absolute;
  top: -0.18em;
  left: -0.04em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(120px, 18vw, 220px);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--color-white);
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

@media (min-width: 880px) {
  .module--reverse .module-numeral {
    left: auto;
    right: -0.04em;
    text-align: right;
  }
}

.module-head {
  position: relative;
  z-index: 1;
  max-width: 44ch;
}

.module-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-gray);
  margin-bottom: var(--space-6);
}

.module-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: var(--space-6);
}

.module-body {
  font-family: var(--font-text);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--color-muted-white);
  max-width: 38ch;
}

.module-mock {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* ============================================================
   DOUBLE-BEZEL (Doppelrand) — machined hardware frame.
   Outer shell: subtle fill + hairline + larger radius.
   Inner core:  device surface + concentric radius + inset highlight.
   ============================================================ */
.bezel {
  position: relative;
  padding: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 60%),
              var(--color-surface-black);
  border: 1px solid var(--alpha-8);
  border-radius: calc(var(--radius-2xl) + 4px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset,
              0 30px 60px -30px rgba(0, 0, 0, 0.9);
}

.bezel--lg {
  padding: 10px;
}

.bezel-inner {
  position: relative;
  background: var(--color-black);
  border: 1px solid var(--alpha-8);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06),
              inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.bezel-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 35%);
  border-radius: inherit;
}

/* Module mock stages live inside the bezel-inner. */
.module-mock-stage {
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
}

.module-mock-stage--lockin {
  aspect-ratio: 16 / 11;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-4);
}

.module-mock-stage--pressure {
  gap: var(--space-3);
  padding: var(--space-8);
}

.module-mock-stage--debrief {
  padding: var(--space-8);
  gap: 0;
}

/* Legacy hooks kept so unrelated styles do not break. */
.module-mock--lockin,
.module-mock--pressure,
.module-mock--debrief {
  background: transparent;
  border: 0;
  padding: 0;
}

.mini-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-signal-white);
  margin-bottom: var(--space-6);
  animation: dt-dot-pulse 1000ms var(--ease-standard) infinite;
}

.mini-timer {
  font-family: var(--font-rounded);
  font-size: clamp(40px, 4vw, 52px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.035em;
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.mini-move {
  font-family: var(--font-text);
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-muted-white);
}

/* Pressure Log mock — input → signal → move */
.module-mock--pressure {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.pressure-input {
  background: var(--color-elevated-black);
  border: 1px solid var(--alpha-16);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  position: relative;
}

.pressure-input-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted-gray);
  margin-bottom: var(--space-3);
}

.pressure-input-text {
  font-family: var(--font-text);
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-white);
  max-width: 28ch;
}

.pressure-input-caret {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: var(--color-white);
  vertical-align: -2px;
  margin-left: 2px;
  animation: dt-caret-blink 1s steps(2, end) infinite;
}

@keyframes dt-caret-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pressure-input-caret { animation: none; opacity: 1; }
}

.coach-block {
  background: var(--color-black);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  position: relative;
}

.coach-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--space-5);
  right: var(--space-5);
  height: 1px;
  background: var(--alpha-40);
}

.coach-block--move {
  border-color: var(--alpha-16);
}

.coach-eyebrow {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted-gray);
  margin-bottom: var(--space-3);
}

.coach-line {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-white);
  max-width: 26ch;
}

/* Weekly Debrief mock */
.module-mock--debrief {
  background: var(--color-black);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  position: relative;
}

.module-mock--debrief::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--space-6);
  right: var(--space-6);
  height: 1px;
  background: var(--alpha-40);
}

.debrief-eyebrow {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted-gray);
  margin-bottom: var(--space-3);
}

.debrief-line {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-white);
  margin-bottom: var(--space-3);
}

.debrief-line--muted {
  color: var(--color-muted-white);
  font-weight: 400;
}

.debrief-divider {
  height: 1px;
  background: var(--alpha-8);
  margin: var(--space-5) 0;
}

/* ============================================================
   NATIVE SURFACES
   ============================================================ */
.native {
  background-color: var(--color-deep-black);
  border-top: 1px solid var(--alpha-4);
  border-bottom: 1px solid var(--alpha-4);
}

.native-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 720px;
  margin-bottom: var(--space-20);
}

.native-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 720px) {
  .native-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

/* Asymmetric bento at desktop: hero spans 7 of 12, satellites stack. */
@media (min-width: 1100px) {
  .native-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: auto;
    gap: var(--space-8);
  }
  .native-card--hero  { grid-column: span 7; grid-row: span 2; }
  .native-card--md    { grid-column: span 5; grid-row: span 1; }
  .native-card--wide  { grid-column: span 12; grid-row: auto; }
}

.native-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.native-card .bezel {
  display: block;
}

.native-stage {
  min-height: 280px;
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
}

.native-card--hero .native-stage {
  min-height: 460px;
}

.native-stage--wide {
  gap: var(--space-8);
  padding: var(--space-8);
  min-height: 220px;
}

@media (min-width: 720px) {
  .native-stage--wide {
    flex-direction: row;
    gap: var(--space-12);
    padding: var(--space-10);
  }
}

/* Dynamic Island grounded in a Lock Screen frame. */
.native-stage--lockscreen {
  flex-direction: column;
  justify-content: flex-start;
  padding-top: var(--space-10);
  gap: var(--space-12);
}

.lockscreen-clock {
  text-align: center;
}

.lockscreen-day {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-muted-white);
  margin-bottom: var(--space-2);
}

.lockscreen-time {
  font-family: var(--font-rounded);
  font-size: clamp(40px, 7vw, 56px);
  font-weight: 200;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  color: var(--color-white);
  line-height: 1;
}

.native-card figcaption {
  padding: var(--space-6) var(--space-2) 0;
}

.native-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.native-caption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-muted-gray);
  max-width: 26ch;
}

/* Dynamic Island */
.dynamic-island {
  background: var(--color-black);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-5);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 120px;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.di-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-signal-white);
  animation: dt-dot-pulse 1000ms var(--ease-standard) infinite;
}

.di-time {
  font-family: var(--font-rounded);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

/* Live Activity */
.live-activity {
  width: 100%;
  max-width: 260px;
  background: var(--color-card-black);
  border: 1px solid var(--alpha-16);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  position: relative;
  overflow: hidden;
}

.live-activity::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--alpha-16) 0%, transparent 50%);
  pointer-events: none;
  border-radius: inherit;
}

.la-eyebrow {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted-white);
  margin-bottom: var(--space-2);
  position: relative;
}

.la-status {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: var(--space-1);
  position: relative;
}

.la-timer {
  font-family: var(--font-rounded);
  font-size: 26px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: var(--space-3);
  position: relative;
}

.la-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted-gray);
  margin-bottom: 2px;
  position: relative;
}

.la-move {
  font-family: var(--font-text);
  font-size: 12px;
  color: var(--color-white);
  position: relative;
}

/* Lock Screen widgets */
.widget-cluster {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.widget {
  background: var(--color-card-black);
  border: 1px solid var(--alpha-16);
  position: relative;
  overflow: hidden;
}

.widget::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--alpha-8) 0%, transparent 50%);
  pointer-events: none;
}

.widget--circular {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.widget--circular .widget-num {
  font-family: var(--font-rounded);
  font-size: 28px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--color-white);
  letter-spacing: -0.03em;
  position: relative;
}

.widget--circular .widget-label {
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-muted-gray);
  position: relative;
  margin-top: 1px;
}

.widget--rect {
  border-radius: var(--radius-md);
  padding: var(--space-4);
  min-width: 132px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.widget--rect .widget-eyebrow {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-muted-gray);
  position: relative;
}

.widget--rect .widget-line {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: -0.01em;
  position: relative;
}

/* macOS menu bar */
.menubar {
  width: 100%;
  max-width: 280px;
  background: var(--color-elevated-black);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-4);
  display: flex;
  justify-content: flex-end;
  font-family: var(--font-display);
}

.menubar-icons {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 11px;
  color: var(--color-muted-white);
  letter-spacing: 0.04em;
}

.mb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-signal-white);
}

.mb-glyph {
  font-family: var(--font-rounded);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.menubar-popover {
  width: 100%;
  max-width: 240px;
  background: var(--color-elevated-black);
  border: 1px solid var(--alpha-16);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  position: relative;
  overflow: hidden;
}

.menubar-popover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--alpha-16) 0%, transparent 50%);
  pointer-events: none;
}

.popover-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted-gray);
  margin-bottom: var(--space-2);
  position: relative;
}

.popover-line {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-white);
  margin-bottom: var(--space-4);
  position: relative;
}

.popover-cta {
  background: var(--color-white);
  color: var(--color-black);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-align: center;
  position: relative;
}

/* ============================================================
   THE COACH
   ============================================================ */
.coach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  align-items: start;
}

@media (min-width: 960px) {
  .coach-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-20);
  }
}

.coach-quote-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 960px) {
  .coach-quote-stack {
    gap: var(--space-16);
  }
}

.coach-quote {
  position: relative;
  padding-left: var(--space-8);
}

.coach-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 18%,
    rgba(255, 255, 255, 0.35) 82%,
    rgba(255, 255, 255, 0) 100%);
}

.coach-quote .coach-eyebrow {
  margin-bottom: var(--space-4);
  color: var(--color-muted-gray);
}

.coach-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--color-white);
  max-width: 32ch;
  margin: 0;
}

/* ============================================================
   FOR WHO
   ============================================================ */
.for-who {
  border-top: 1px solid var(--alpha-4);
  border-bottom: 1px solid var(--alpha-4);
}

.for-who-line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-white);
  max-width: 36ch;
}

.for-who-sub {
  font-family: var(--font-text);
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--color-muted-gray);
  letter-spacing: -0.005em;
  margin-top: var(--space-6);
  text-transform: lowercase;
}

/* ============================================================
   PRIVACY
   ============================================================ */
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
}

@media (min-width: 880px) {
  .privacy-grid {
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: var(--space-20);
  }
}

.privacy-head .section-title {
  font-size: clamp(32px, 4vw, 44px);
}

.privacy-body p {
  font-family: var(--font-text);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.6;
  color: var(--color-muted-white);
  max-width: 58ch;
}

.privacy-bullets {
  list-style: none;
  padding: 0;
  margin: var(--space-8) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 58ch;
}

.privacy-bullets li {
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-muted-white);
  padding-left: var(--space-6);
  position: relative;
}

.privacy-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-signal-white);
}

.privacy-bullets li strong {
  color: var(--color-white);
  font-weight: 600;
}

.privacy-cta {
  margin-top: var(--space-8);
}

.privacy-cta a {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-white);
  border-bottom: 1px solid var(--alpha-40);
  padding-bottom: 2px;
  letter-spacing: -0.005em;
}

.privacy-cta a:hover,
.privacy-cta a:focus-visible {
  border-bottom-color: var(--color-white);
  opacity: 1;
}

/* ============================================================
   FOUNDER NOTE
   ============================================================ */
.founder-note blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--color-white);
  max-width: 52ch;
  border-left: 1px solid var(--alpha-24);
  padding-left: var(--space-8);
  margin-top: var(--space-8);
}

.founder-note blockquote p + p {
  margin-top: var(--space-5);
}

.founder-attribution {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted-gray);
  margin-top: var(--space-8);
  padding-left: var(--space-8);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  text-align: left;
  border-top: 1px solid var(--alpha-4);
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0) 60%),
    var(--color-warm-void);
}

.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 8vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--color-white);
  margin-bottom: var(--space-6);
  max-width: 14ch;
}

.final-cta-lede {
  font-family: var(--font-text);
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--color-muted-white);
  max-width: 48ch;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--alpha-8);
  padding: var(--space-16) 0 var(--space-10);
  color: var(--color-muted-gray);
  font-size: 13px;
  letter-spacing: -0.005em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
  margin-bottom: var(--space-16);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-8);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-tagline {
  color: var(--color-muted-gray);
  font-size: 12px;
  letter-spacing: 0.02em;
  max-width: 28ch;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted-white);
  margin-bottom: var(--space-4);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  color: var(--color-muted-gray);
  font-size: 13px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--color-white);
  opacity: 1;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  border-top: 1px solid var(--alpha-8);
  padding-top: var(--space-8);
  font-size: 12px;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom .copyright {
  color: var(--color-muted-gray);
}

/* ============================================================
   LEGAL / LONG-FORM DOCUMENT PAGES (privacy, terms)
   Kept intact so /privacy.html and /terms.html still render.
   ============================================================ */
.doc-shell {
  padding: 80px 0;
}

@media (min-width: 768px) {
  .doc-shell {
    padding: 120px 0;
  }
}

.doc {
  max-width: 720px;
  margin: 0 auto;
}

.doc-meta {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted-gray);
  margin-bottom: var(--space-5);
}

.doc h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--color-white);
  margin-bottom: var(--space-6);
}

.doc h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--color-white);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
}

.doc h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-white);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.doc p,
.doc li {
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-muted-white);
  max-width: 62ch;
}

.doc p + p {
  margin-top: var(--space-4);
}

.doc ul,
.doc ol {
  margin-top: var(--space-4);
  padding-left: var(--space-6);
}

.doc li {
  margin-bottom: var(--space-2);
}

.doc a {
  color: var(--color-white);
  border-bottom: 1px solid var(--alpha-40);
  padding-bottom: 1px;
}

.doc a:hover,
.doc a:focus-visible {
  opacity: 1;
  border-bottom-color: var(--color-white);
}

.doc-callout {
  border: 1px solid var(--color-border);
  border-left: 2px solid var(--alpha-40);
  background-color: var(--color-card-black);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-md);
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.doc-callout p {
  font-size: 14px;
  color: var(--color-muted-white);
}

.doc-back {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-muted-gray);
  margin-bottom: var(--space-8);
  border-bottom: none;
}

.doc-back:hover,
.doc-back:focus-visible {
  color: var(--color-white);
}

/* ============================================================
   REDUCED MOTION OVERRIDE
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
