/* =============================================================
   THE REGULATION PROTOCOL
   1.  Tokens
   2.  Reset & base
   3.  Typography
   4.  Layout primitives
   5.  Components
   6.  Sections
   7.  Motion
   8.  Responsive
============================================================= */


/* =============================================================
   1. TOKENS
============================================================= */
:root {
  /* Palette */
  --ink:          #0E1512;
  --ink-soft:     #121C18;
  --forest:       #2C4A3D;
  --cream:        #FAF8F3;
  --sand:         #F0EDE4;
  --mint:         #E2EDDD;
  --accent:       #D6F27B;
  --accent-deep:  #2C4A3D;

  --on-dark:            #FFFFFF;
  --on-dark-muted:      rgba(255, 255, 255, .68);
  --on-dark-faint:      rgba(255, 255, 255, .42);
  --rule-dark:          rgba(255, 255, 255, .14);

  --on-light:           #101A16;
  --on-light-muted:     rgba(16, 26, 22, .64);
  --on-light-faint:     rgba(16, 26, 22, .40);
  --rule-light:         rgba(16, 26, 22, .14);

  /* Type */
  --sans:  "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;

  --fs-display:   clamp(3rem, 6.6vw, 6.4rem);
  --fs-hero:      clamp(3.6rem, 9.2vw, 9.4rem);
  --fs-lede:      clamp(1rem, 1.12vw, 1.175rem);
  --fs-eyebrow:   .705rem;

  /* Space */
  --shell:        1620px;
  --gutter:       clamp(1.5rem, 5vw, 5.5rem);
  --section-y:    clamp(6rem, 12vw, 12.5rem);

  /* Motion */
  --ease:         cubic-bezier(.22, 1, .36, 1);
  --ease-soft:    cubic-bezier(.4, 0, .2, 1);
}


/* =============================================================
   2. RESET & BASE
============================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--on-light);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -.008em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}


/* =============================================================
   3. TYPOGRAPHY
============================================================= */
.display {
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.035em;
}
.display--tight  { letter-spacing: -.038em; }
.display--sm     { font-size: clamp(2.4rem, 3.4vw, 3.6rem); }
.display--center { text-align: center; }

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.012em;
}

.accent       { color: var(--accent); }
.accent-green { color: var(--forest); }

.eyebrow {
  margin-bottom: clamp(2.5rem, 4.4vw, 4.5rem);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--on-light-faint);
}

.eyebrow--rule {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  color: var(--accent);
}
.eyebrow--rule::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
}

.lede {
  max-width: 40ch;
  font-size: var(--fs-lede);
  line-height: 1.68;
  color: var(--on-light-muted);
}
.lede + .lede { margin-top: 1.35rem; }


/* =============================================================
   4. LAYOUT PRIMITIVES
============================================================= */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}
.section--flush  { padding-block: 0; }

.section--cream  { background: var(--cream); }
.section--sand   { background: var(--sand); }
.section--forest {
  background: var(--forest);
  color: var(--on-dark);
}
.section--forest .eyebrow { color: var(--on-dark-faint); }
.section--forest .lede    { color: var(--on-dark-muted); }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}
.split--outcome  { grid-template-columns: 1.1fr .9fr; }
.split--method   { grid-template-columns: 1.15fr .85fr; }
.split--progress { grid-template-columns: 1fr 1.05fr; align-items: center; }
.split--fit      { grid-template-columns: 1fr 1.1fr; }

.split__aside { padding-top: .5rem; }
.split--progress .lede { margin-top: 1.9rem; max-width: 44ch; }


/* =============================================================
   5. COMPONENTS
============================================================= */

/* --- Header ------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-block: 1.75rem;
  color: var(--on-dark);
  transition: background .5s var(--ease-soft),
              padding .5s var(--ease-soft),
              color .4s var(--ease-soft),
              box-shadow .5s var(--ease-soft);
}
.site-header.is-stuck {
  padding-block: 1.05rem;
  background: rgba(14, 21, 18, .82);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .07);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--accent);
}
.brand__name {
  font-size: .755rem;
  font-weight: 500;
  letter-spacing: .19em;
  text-transform: uppercase;
}

/* --- Links & buttons --------------------------------------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding-bottom: .55rem;
  font-size: .875rem;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  transition: opacity .35s var(--ease-soft);
}
.link-arrow:hover { opacity: .62; }

.arrow {
  width: 11px; height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .45s var(--ease);
}
.link-arrow:hover .arrow,
.btn:hover .arrow { transform: translate(2px, -2px); }
.link-arrow--down:hover .arrow { transform: translateY(3px); }

.btn {
  --pad-x: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  padding: 1.05rem var(--pad-x);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: -.005em;
  transition: background .4s var(--ease-soft),
              color .4s var(--ease-soft),
              transform .5s var(--ease);
}
.btn--solid {
  background: var(--cream);
  color: var(--ink);
}
.btn--solid:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.btn--lg {
  --pad-x: 2.9rem;
  padding-block: 1.35rem;
  font-size: .96rem;
}

/* Two-line label — small centered kicker over the offer name */
.btn__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3em;
  text-align: center;
  line-height: 1.1;
}
.btn__line {
  display: block;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  opacity: .55;
}
.btn__line--lead {
  font-size: 1.06rem;
  font-weight: 400;
  letter-spacing: -.022em;
  text-transform: none;
  opacity: 1;
}

/* --- Cells (numbered grids) -------------------------------- */
.grid-4,
.grid-2 { display: grid; }

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(4.5rem, 8vw, 8.5rem);
  border-top: 1px solid var(--rule-light);
}
.grid-4 .cell {
  padding: 2.9rem clamp(1.5rem, 2.6vw, 2.8rem) 3.1rem 0;
  border-right: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
}
.grid-4 .cell:not(:first-child) { padding-left: clamp(1.5rem, 2.6vw, 2.8rem); }
.grid-4 .cell:last-child { border-right: 0; }

.cell__num {
  display: block;
  margin-bottom: 3rem;
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--on-light-faint);
}
.cell__num--accent { color: var(--accent); }

.cell__title {
  margin-bottom: .85rem;
  font-size: clamp(1.2rem, 1.5vw, 1.44rem);
  font-weight: 400;
  letter-spacing: -.024em;
  line-height: 1.15;
}
.cell__body {
  max-width: 32ch;
  font-size: .93rem;
  line-height: 1.62;
  color: var(--on-light-muted);
}

/* --- Pull quote -------------------------------------------- */
.pullquote {
  margin-top: 2.6rem;
  padding-left: 1.6rem;
  border-left: 2px solid var(--forest);
  max-width: 42ch;
  font-size: clamp(1.02rem, 1.18vw, 1.17rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -.016em;
  color: var(--on-light);
}

/* --- Dark inset panel -------------------------------------- */
.panel-dark {
  padding: clamp(3.5rem, 6.4vw, 7rem) clamp(2rem, 4.4vw, 5rem) clamp(4rem, 7vw, 7.5rem);
  background: var(--ink-soft);
  color: var(--on-dark);
}
.panel-dark .eyebrow { color: var(--on-dark-faint); }

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(3.5rem, 6.5vw, 6.5rem);
  border-top: 1px solid var(--rule-dark);
}
.grid-2 .cell {
  padding: 2.9rem clamp(2rem, 4vw, 4.5rem) 3.2rem 0;
  border-bottom: 1px solid var(--rule-dark);
}
.grid-2 .cell:nth-child(even) { padding-left: clamp(2rem, 4vw, 4.5rem); }
.grid-2 .cell:nth-child(odd)  { border-right: 1px solid var(--rule-dark); }
.grid-2 .cell:nth-last-child(-n+2) { border-bottom: 0; }
.grid-2 .cell__body { color: var(--on-dark-muted); max-width: 40ch; }
.grid-2 .cell__num  { margin-bottom: 2.6rem; }


/* =============================================================
   6. SECTIONS
============================================================= */

/* --- Hero -------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-block: clamp(9rem, 16vh, 12rem) clamp(5rem, 10vh, 8rem);
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}

.hero__inner { position: relative; z-index: 2; }

.hero .eyebrow { margin-bottom: clamp(2rem, 3.4vw, 3.2rem); }

.hero__title {
  display: grid;
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: .93;
  letter-spacing: -.042em;
  max-width: 15ch;
}
.hero__title .serif {
  margin-top: .16em;
  font-size: .96em;
  line-height: 1.02;
  letter-spacing: -.02em;
}

.hero__sub {
  margin-top: clamp(2.4rem, 4vw, 3.6rem);
  max-width: 40ch;
  font-size: clamp(1rem, 1.15vw, 1.16rem);
  line-height: 1.6;
  color: var(--on-dark-muted);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(2.6rem, 4.4vw, 4rem);
  flex-wrap: wrap;
}

/* Concentric rings */
.hero__rings {
  position: absolute;
  top: 50%;
  right: clamp(-24vw, -14vw, -6vw);
  translate: 0 -50%;
  width: min(74vh, 62vw);
  aspect-ratio: 1;
  z-index: 1;
  pointer-events: none;
}
.ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border: 1px solid rgba(214, 242, 123, .085);
  border-radius: 50%;
  animation: breathe 11s var(--ease-soft) infinite;
}
.ring--1 { width: 100%;  height: 100%;  background: radial-gradient(circle, rgba(214,242,123,.032), transparent 68%); }
.ring--2 { width: 76%;   height: 76%;   animation-delay: .7s; }
.ring--3 { width: 52%;   height: 52%;   animation-delay: 1.4s; }
.ring--4 { width: 28%;   height: 28%;   animation-delay: 2.1s; }

@keyframes breathe {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.026); opacity: .78; }
}

/* Floating recovery card */
.hero__card {
  position: absolute;
  right: clamp(1.5rem, 5vw, 5.5rem);
  bottom: 0;
  z-index: 2;
  width: clamp(240px, 22vw, 310px);
  padding: 1.65rem 1.75rem 2.4rem;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .085);
  border-bottom: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero__card-label {
  font-size: .655rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}
.hero__card-value {
  margin-top: .55rem;
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--accent);
}
.hero__card-foot {
  margin-top: .5rem;
  font-size: .78rem;
  color: var(--on-dark-faint);
}

/* --- Phases ------------------------------------------------ */
.phases {
  margin-top: clamp(4.5rem, 8vw, 8.5rem);
  border-top: 1px solid var(--rule-light);
}

.phase {
  position: relative;
  display: grid;
  grid-template-columns: 6rem minmax(0, 20rem) minmax(0, 1fr) 3.5rem;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  align-items: start;
  padding-block: clamp(2.4rem, 3.4vw, 3.3rem);
  border-bottom: 1px solid var(--rule-light);
}

.phase__num {
  font-size: 1.12rem;
  color: var(--on-light-faint);
  padding-top: .95rem;
}

.phase__weeks {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--on-light-faint);
}
.phase__title {
  margin-top: .5rem;
  font-size: clamp(1.7rem, 2.3vw, 2.3rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.032em;
}

.phase__lead {
  padding-top: 1.35rem;
  max-width: 52ch;
  font-size: .95rem;
  line-height: 1.62;
  color: var(--on-light-muted);
}

.phase__toggle {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  margin-top: 1rem;
  border: 1px solid var(--rule-light);
  border-radius: 50%;
  transition: background .4s var(--ease-soft), border-color .4s var(--ease-soft);
}
.phase__toggle:hover {
  background: var(--forest);
  border-color: var(--forest);
}
.phase__toggle:hover .plus::before,
.phase__toggle:hover .plus::after { background: var(--cream); }

.plus { position: relative; width: 12px; height: 12px; display: block; }
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--on-light);
  transition: transform .5s var(--ease), background .4s var(--ease-soft);
}
.plus::before { width: 12px; height: 1px; }
.plus::after  { width: 1px; height: 12px; }

.phase__toggle[aria-expanded="true"] .plus::after { transform: rotate(90deg) scaleX(0); }
.phase__toggle[aria-expanded="true"] .plus::before { transform: rotate(180deg); }

.phase__panel {
  grid-column: 2 / 4;
  overflow: hidden;
  height: 0;
  transition: height .62s var(--ease);
}
.phase__panel[hidden] { display: block; }
.phase__panel-inner {
  padding-top: 1.9rem;
  max-width: 62ch;
  font-size: .95rem;
  line-height: 1.72;
  color: var(--on-light-muted);
}

/* --- Chart ------------------------------------------------- */
.chart {
  padding: clamp(1.75rem, 2.6vw, 2.5rem);
  background: var(--mint);
}
.chart__head,
.chart__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(44, 74, 61, .6);
}

.chart__plot {
  position: relative;
  height: clamp(230px, 24vw, 320px);
  margin-block: clamp(2.9rem, 3.8vw, 3.9rem) .5rem;
  padding-left: 54px;
}

/* Headline proof stat, floated over the top-right of the plot. */
.chart__stat {
  position: absolute;
  top: -30px;
  right: 0;
  z-index: 2;
  text-align: right;
  max-width: 78%;
}
.chart__stat-num {
  display: block;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1;
  color: var(--forest);
}
.chart__stat-num small {
  font-size: .8em;
  font-weight: 400;
  color: rgba(44, 74, 61, .45);
}
.chart__stat-label {
  display: block;
  margin-top: .35rem;
  font-size: .64rem;
  letter-spacing: .02em;
  color: rgba(44, 74, 61, .55);
}

/* Y-axis: broad time zones (log scale) rather than a numeric scale —
   the data spans days down to minutes, so a linear number axis can't
   represent it honestly. Zones give shape; the per-bar labels give
   the exact value. */
.chart__yaxis {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 26px;
  width: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
}
.chart__yaxis span {
  font-size: .6rem;
  letter-spacing: .02em;
  color: rgba(44, 74, 61, .42);
  transform: translateY(-50%);
}
.chart__yaxis span:first-child { transform: translateY(-10%); }
.chart__yaxis span:last-child { transform: translateY(-90%); }

.chart__grid {
  position: absolute;
  inset: 0 0 26px 54px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.chart__grid span {
  display: block;
  height: 1px;
  border-top: 1px dashed rgba(44, 74, 61, .22);
}

.chart__bars {
  position: absolute;
  inset: 0 0 0 54px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid rgba(44, 74, 61, .3);
}
.chart__bars li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  height: 100%;
  padding-bottom: 26px;
}
.chart__bar-fill {
  display: block;
  width: 7px;
  height: 0;
  border-radius: 4px 4px 0 0;
  background: var(--forest);
  transition: height 1.05s var(--ease);
  transition-delay: calc(var(--i, 0) * 75ms);
}
.chart__bars li.is-final .chart__bar-fill { background: var(--accent); }
.chart__bars em {
  position: absolute;
  bottom: 0;
  font-style: normal;
  font-size: .68rem;
  letter-spacing: .08em;
  color: rgba(44, 74, 61, .55);
}
.chart.is-drawn .chart__bar-fill { height: var(--h); }

/* Value callout on every bar — the unit changes bar to bar (days, then
   hours, then minutes), so each point needs its own label to stay honest. */
.chart__bar-val {
  position: absolute;
  bottom: calc(var(--h) + 8px);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--forest);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .6s var(--ease) calc(.4s + var(--i, 0) * 75ms);
}
.chart__bar-val--final { color: var(--accent-deep); }
.chart.is-drawn .chart__bar-val { opacity: 1; }

.chart__foot {
  margin-top: .3rem;
  max-width: 46ch;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.5;
  color: rgba(44, 74, 61, .55);
}

.chart__disclosure {
  margin-top: .55rem;
  font-size: .68rem;
  font-style: italic;
  color: rgba(44, 74, 61, .42);
}

/* --- Metrics list ------------------------------------------ */
.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 15rem));
  gap: 0 clamp(1.5rem, 2.4vw, 2.5rem);
  margin-top: clamp(3rem, 5vw, 4.6rem);
}
.metrics li {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule-light);
  font-size: .9rem;
  color: var(--on-light);
}

/* --- Checklist --------------------------------------------- */
.checklist { border-top: 1px solid var(--rule-light); }
.checklist li {
  position: relative;
  padding: 1.35rem 0 1.35rem 2.5rem;
  border-bottom: 1px solid var(--rule-light);
  font-size: clamp(.94rem, 1.05vw, 1.02rem);
  color: var(--on-light);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1.3rem;
  font-size: .9rem;
  color: var(--forest);
}

/* --- Creator ----------------------------------------------- */
.creator {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}
.creator__portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--sand);
}
.creator__portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.creator__portrait:hover img { transform: scale(1.028); }

/* Shown only until assets/bradlee.jpg exists */
.creator__fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  background: var(--sand);
  border: 1px solid var(--rule-light);
}
.creator__portrait.is-empty img { display: none; }
.creator__portrait.is-empty .creator__fallback { display: flex; }

.creator__fallback-mark {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border: 1px solid var(--forest);
  border-radius: 50%;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--forest);
}
.creator__fallback-text {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-light-faint);
}

.creator__role {
  margin-top: 1.4rem;
  font-size: .95rem;
  color: var(--on-light-muted);
}
.creator__line {
  margin-top: 2.4rem;
  max-width: 42ch;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--forest);
}

/* --- Apply ------------------------------------------------- */
.apply { text-align: center; }
.apply__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.apply .eyebrow { color: var(--on-dark-faint); }
.apply .display { margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.apply__note {
  margin-top: 2.1rem;
  max-width: 34ch;
  font-size: .875rem;
  line-height: 1.65;
  color: var(--on-dark-faint);
}

/* --- Footer ------------------------------------------------ */
.site-footer {
  padding-block: 3rem;
  background: var(--ink);
  color: var(--on-dark);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: .78rem;
  color: var(--on-dark-faint);
}
.footer__legal {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255, 255, 255, .28);
  transition: text-decoration-color .3s var(--ease-soft);
}
.footer__legal:hover { text-decoration-color: currentColor; }


/* --- Legal pages --------------------------------------------- */
.legal {
  padding-block: clamp(7.5rem, 11vw, 9.5rem) clamp(5rem, 8vw, 7rem);
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
  font-size: .82rem;
  font-weight: 500;
  color: var(--on-light-muted);
}
.legal__back .arrow { transform: rotate(225deg); }
.legal__back:hover .arrow { transform: rotate(225deg) translate(2px, -2px); }
.legal__title { max-width: 20ch; }
.legal__updated {
  margin-top: 1.1rem;
  font-size: .82rem;
  color: var(--on-light-faint);
}
.legal__body {
  max-width: 66ch;
  margin-top: clamp(3rem, 5vw, 4.5rem);
}
.legal__body h2 {
  margin-top: clamp(2.8rem, 4.6vw, 3.6rem);
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--on-light);
}
.legal__body > h2:first-child { margin-top: 0; }
.legal__body h3 {
  margin-top: 1.8rem;
  margin-bottom: .6rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--on-light);
}
.legal__body p {
  margin-bottom: 1.1rem;
  font-size: .95rem;
  line-height: 1.72;
  color: var(--on-light-muted);
}
.legal__body ul {
  margin: 0 0 1.1rem 1.3rem;
  list-style: disc;
}
.legal__body li {
  margin-bottom: .45rem;
  font-size: .95rem;
  line-height: 1.68;
  color: var(--on-light-muted);
}
.legal__body strong { color: var(--on-light); font-weight: 600; }
.legal__body a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal__body em { font-style: italic; }
.legal__todo {
  background: rgba(214, 242, 123, .35);
  padding: .05em .35em;
  font-style: normal;
  font-weight: 600;
  color: #4a5c1c;
}
.legal__note {
  margin-top: clamp(3rem, 5vw, 4rem);
  padding: 1.5rem 1.7rem;
  background: var(--sand);
  font-size: .85rem;
  line-height: 1.65;
  color: var(--on-light-muted);
}
.legal__note strong { color: var(--on-light); }


/* =============================================================
   7. MOTION
============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .95s var(--ease) var(--d, 0ms),
              transform .95s var(--ease) var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .chart__bars span { height: var(--h); }
}


/* =============================================================
   8. RESPONSIVE
============================================================= */
@media (max-width: 1180px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 .cell:nth-child(2n) { border-right: 0; }
  .grid-4 .cell:nth-child(2n+1) { padding-left: 0; }
  .grid-4 .cell:nth-child(2n)   { padding-left: clamp(1.5rem, 2.6vw, 2.8rem); }

  .phase { grid-template-columns: 4rem minmax(0, 16rem) minmax(0, 1fr) 3rem; }
  .hero__rings { right: -26vw; width: min(64vh, 78vw); }
}

@media (max-width: 960px) {
  :root { --fs-hero: clamp(3rem, 11vw, 5.4rem); }

  .split,
  .split--outcome,
  .split--method,
  .split--progress,
  .split--fit,
  .creator {
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 6vw, 4rem);
  }
  .split__aside { padding-top: 0; }
  .lede { max-width: 56ch; }

  .hero { min-height: auto; padding-bottom: clamp(10rem, 26vw, 14rem); }
  .hero__card {
    right: var(--gutter);
    bottom: 0;
    width: clamp(210px, 46vw, 260px);
  }

  .creator__portrait { max-width: 460px; }
}

@media (max-width: 720px) {
  .brand__name { display: none; }

  .grid-4,
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 .cell,
  .grid-2 .cell {
    padding: 2.2rem 0 2.4rem !important;
    border-right: 0 !important;
  }
  .grid-2 .cell:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule-dark); }
  .grid-2 .cell:last-child { border-bottom: 0; }
  .cell__num { margin-bottom: 1.6rem; }

  .phase {
    grid-template-columns: minmax(0, 1fr) 3rem;
    gap: 1rem;
    row-gap: 0;
  }
  .phase__num { display: none; }
  .phase__head { grid-column: 1; }
  .phase__lead { grid-column: 1 / -1; padding-top: 1rem; }
  .phase__panel { grid-column: 1 / -1; }
  .phase__toggle { margin-top: .25rem; }

  .metrics { grid-template-columns: 1fr; }

  .hero__actions { gap: 1.6rem; }
  .btn { width: 100%; }

  .hero__card { display: none; }
  .hero__rings { top: 62%; right: -40vw; width: 96vw; }

  .footer__inner { flex-direction: column; align-items: flex-start; }
}
