/* numersa.com: extracted from the Claude Design "Numersa Pre-Launch" page.
   Values are the design's own; only the structure (classes instead of inline
   styles) is new. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
}

:root {
  --bg: hsl(24, 45%, 97.5%);
  --paper: hsl(24, 45%, 99.5%);
  --tint: hsl(22, 38%, 96.5%);
  --ink: hsl(18, 22%, 14%);
  --muted: hsl(20, 16%, 32%);
  --subtle: hsl(20, 14%, 50%);
  --faint: hsl(20, 14%, 58%);
  --line: hsl(22, 22%, 88%);
  --line-strong: hsl(22, 18%, 82%);
  --pill: hsl(22, 30%, 93.5%);

  --coral: hsl(14, 78%, 58%);
  --coral-edge: hsl(12, 74%, 50%);
  --coral-hover: hsl(12, 74%, 52%);
  --coral-wash: hsl(14, 82%, 95%);
  --coral-faint: hsl(14, 82%, 97.5%);
  --link: hsl(10, 70%, 42%);
  /* Brand mark colours, from scripts/images/brand. Not the CTA coral. A
     dark surface that shows the mark sets --logo: var(--logo-reversed). */
  --logo: #D66E48;
  --logo-reversed: #FFFFFF;

  --dark: hsl(18, 22%, 10%);
  --dark-ink: hsl(26, 40%, 94%);
  --dark-muted: hsl(26, 25%, 78%);
  --dark-faint: hsl(26, 20%, 62%);
  --amber: hsl(28, 88%, 62%);

  --good: hsl(150, 44%, 38%);
  --good-wash: hsl(150, 40%, 93%);
  --bad: hsl(2, 72%, 52%);
  --bad-wash: hsl(2, 70%, 95%);
  --blue: hsl(199, 65%, 45%);
  --purple: hsl(265, 50%, 58%);

  --gutter: clamp(20px, 5vw, 56px);
  --section-pad: clamp(80px, 12vw, 160px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  color-scheme: light;
}

/* ---------- base ---------- */

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

/* Components set display, which would otherwise beat the attribute. */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--coral);
}

input,
textarea,
button {
  font-family: inherit;
}

input::placeholder,
textarea::placeholder {
  color: var(--faint);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
}

[id] {
  scroll-margin-top: 20px;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.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;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
  color: var(--paper);
}

.mono {
  font-family: var(--font-mono);
}

code.pill {
  font-family: var(--font-mono);
  font-size: .86em;
  background: var(--pill);
  padding: 1px 6px;
  border-radius: 5px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--link);
  margin: 0 0 16px;
}

.dark .eyebrow {
  color: var(--amber);
}

.h2 {
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}

.lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  margin: 22px 0 0;
  max-width: 46ch;
}

.dark .lede {
  color: var(--dark-muted);
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.section {
  padding: var(--section-pad) var(--gutter);
}

.dark {
  background: var(--dark);
  color: var(--dark-ink);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  border: 1px solid var(--coral-edge);
  background: var(--coral);
  color: var(--paper);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 11px;
  cursor: pointer;
  line-height: normal;
}

.btn:hover {
  background: var(--coral-hover);
  color: var(--paper);
}

.btn[disabled] {
  opacity: .7;
  cursor: progress;
}

.btn--small {
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 9px;
}

.btn--ghost {
  border-color: var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-weight: 500;
}

.btn--ghost:hover {
  background: var(--tint);
  color: var(--ink);
}

/* ---------- reveal on scroll ----------
   Applied only once the inline script has added .js, so content is visible
   when scripts are blocked and to crawlers that do not run them. */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes nm-pulse {
  0%, 100% { opacity: .35; }
  50% { opacity: 1; }
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  background: hsl(24 45% 97.5% / .78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid hsl(22 22% 88% / .6);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.mark {
  flex: none;
  color: var(--logo);
}

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

/* The design keeps this hidden; kept in the markup for when it returns. */
.nav__note {
  display: none;
  font-size: 12.5px;
  color: var(--subtle);
}

/* ---------- hero ---------- */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 140px var(--gutter) 96px;
  position: relative;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: auto -10% -30% -10%;
  height: 60%;
  background: radial-gradient(ellipse at 50% 100%, hsl(14 82% 92% / .9), transparent 65%);
  pointer-events: none;
}

.hero__badge {
  position: relative;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 99px;
  padding: 6px 12px 6px 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.hero__pulse {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--coral);
  display: inline-block;
  animation: nm-pulse 2.4s ease-in-out infinite;
}

.hero__title {
  position: relative;
  font-size: clamp(42px, 7.2vw, 104px);
  line-height: .98;
  letter-spacing: -0.035em;
  margin: 28px 0 0;
  max-width: 14ch;
}

.hero__title-sub {
  display: block;
  margin-top: 14px;
  font-size: .42em;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--muted);
}

.hero__sub {
  position: relative;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 640px;
  margin: 28px 0 0;
}

/* The agent prompt box: example questions type themselves out, each followed
   by what the agent does with it. Without scripts the first one shows. */
.ask {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin-top: 40px;
  text-align: left;
}

.ask__box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 18px 50px hsl(20 30% 20% / .10);
}

.ask__box svg {
  flex: none;
}

.ask__prompt {
  flex: 1;
  min-width: 0;
  min-height: 1.4em;
  font-size: clamp(14px, 1.3vw, 16.5px);
  line-height: 1.4;
  color: var(--ink);
}

.ask__caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--coral);
  animation: nm-pulse 1s steps(2) infinite;
}

.ask__send {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--coral);
  color: var(--paper);
  display: grid;
  place-items: center;
}

.ask__action {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 20px;
  margin: 10px 0 0;
  padding: 0 4px;
  font-size: 12.5px;
  color: var(--subtle);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .35s ease, transform .35s ease;
}

.ask__action::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--good);
  flex: none;
}

.ask__action.is-shown {
  opacity: 1;
  transform: none;
}

.hero__ctas {
  position: relative;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}

.hero__integrations {
  position: relative;
  margin: 64px 0 0;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 12px;
  color: var(--subtle);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
  list-style: none;
  padding: 0;
}

.hero__then {
  color: var(--faint);
}

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 7px;
}

.tag--now {
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--paper);
}

.tag--later {
  color: var(--subtle);
  border: 1px dashed var(--line-strong);
}

.tag--ask {
  color: var(--link);
  border: 1px dashed hsl(14, 80%, 76%);
  background: var(--coral-faint);
}

.tag--ask:hover {
  background: var(--coral-wash);
  color: var(--link);
}

/* ---------- problem ---------- */

.problem {
  padding: clamp(96px, 14vw, 180px) var(--gutter);
}

.problem .eyebrow {
  margin-bottom: 20px;
}

.problem__title {
  font-size: clamp(30px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 20ch;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin: clamp(56px, 8vw, 96px) 0 0;
  border-top: 1px solid hsl(20 20% 30% / .6);
  padding: 40px 0 0;
  list-style: none;
}

.stat__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: hsl(28, 88%, 66%);
}

.stat__suffix {
  font-size: .5em;
  vertical-align: top;
  margin-left: 2px;
}

.stat__text {
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--dark-muted);
  max-width: 30ch;
}

.stat__source {
  margin: 10px 0 0;
  font-size: 11.5px;
  color: hsl(26, 20%, 58%);
}

.problem__closing {
  margin: clamp(56px, 8vw, 96px) 0 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
  color: hsl(26, 30%, 86%);
  max-width: 44ch;
}

/* ---------- how it thinks ----------
   With scripts: a 250vh track with a sticky 100vh stage whose step and
   chart follow scroll progress (thresholds in setupHow in site.js). Kept
   short so each scroll visibly changes something; at 420vh visitors stalled
   on the first step. Without scripts: the four steps simply stack. */

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

.js .how {
  height: 250vh;
}

.how__stage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  padding: 88px var(--gutter) 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.js .how__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.how__copy {
  position: relative;
  min-height: 300px;
}

.how .eyebrow {
  margin-bottom: 14px;
}

.how__dots {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}

.how__dot {
  height: 3px;
  width: 12px;
  border-radius: 99px;
  background: var(--line-strong);
  transition: all .4s ease;
  display: inline-block;
}

.how__dot.is-done {
  background: var(--coral);
}

.how__dot.is-current {
  width: 28px;
  background: var(--coral);
}

.how__steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 40px;
}

.js .how__steps {
  display: block;
  height: 260px;
}

.js .how__step {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s var(--ease);
  pointer-events: none;
}

.js .how__step.is-before {
  transform: translateY(-18px);
}

.js .how__step.is-current {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.how__title {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
}

.how__body {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 18px 0 0;
  max-width: 44ch;
}

.how__body code.pill {
  font-size: 14px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.runway {
  margin: 0;
  padding: 18px 18px 14px;
  box-shadow: 0 24px 60px hsl(20 30% 20% / .08);
}

.runway__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.micro {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--subtle);
}

.runway__figure {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}

.runway__value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: -0.02em;
  transition: color .4s;
}

.runway__unit {
  font-size: 13px;
  color: var(--subtle);
}

.runway__delta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity .3s;
  color: var(--good);
  background: var(--good-wash);
}

.runway__delta.is-shown {
  opacity: 1;
}

.runway__delta.is-bad {
  color: var(--bad);
  background: var(--bad-wash);
}

.legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 170px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.legend__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.legend__name {
  display: flex;
  align-items: center;
  gap: 7px;
}

.swatch {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  flex: none;
}

.swatch--base { background: var(--muted); }
.swatch--blue { background: var(--blue); }
.swatch--purple { background: var(--purple); }

.legend__always {
  font-size: 10px;
  font-weight: 600;
  color: var(--subtle);
  letter-spacing: .05em;
}

.toggle {
  width: 30px;
  height: 18px;
  border-radius: 99px;
  background: hsl(22, 30%, 88%);
  position: relative;
  display: inline-block;
  transition: background .3s ease;
  flex: none;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 99px;
  background: var(--paper);
  transition: left .3s var(--ease);
  box-shadow: 0 1px 2px hsl(20 30% 20% / .2);
}

.toggle.is-on {
  background: var(--coral);
}

.toggle.is-on::after {
  left: 14px;
}

.runway__chart {
  position: relative;
  margin-top: 16px;
}

.runway__chart svg {
  display: block;
  overflow: visible;
  width: 100%;
  height: auto;
}

.chart-grid {
  stroke: hsl(22, 30%, 92%);
}

.chart-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  fill: var(--faint);
}

.chart-base {
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  transition: stroke-dasharray .4s, opacity .4s;
}

.chart-base.is-dashed {
  stroke-dasharray: 4 5;
}

.chart-active {
  fill: none;
  stroke: var(--coral);
  stroke-width: 2.5;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity .4s;
}

.chart-active.is-shown {
  opacity: 1;
}

.chart-end {
  fill: var(--coral);
  stroke: var(--paper);
  stroke-width: 2;
  transition: cy .6s var(--ease);
}

.explain {
  position: absolute;
  right: 8%;
  bottom: 28%;
  width: 230px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 12px 32px hsl(20 20% 20% / .14);
  opacity: 0;
  transform: translateY(10px) scale(.98);
  transition: opacity .45s ease, transform .45s var(--ease);
  pointer-events: none;
}

.explain.is-shown {
  opacity: 1;
  transform: none;
}

.explain__total {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 16px;
  margin-top: 3px;
}

.explain__rule {
  border-top: 1px solid var(--line);
  margin: 9px 0 8px;
}

.explain__rows {
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.explain__rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.explain__rows dd {
  margin: 0;
  font-family: var(--font-mono);
}

.explain__rows .swatch {
  width: 7px;
  height: 7px;
  margin-right: 6px;
}

.is-good { color: var(--good); }
.is-bad { color: var(--bad); }

.explain__link {
  margin-top: 9px;
  font-size: 11px;
  color: var(--link);
  font-weight: 600;
}

/* ---------- your month-end (close shape picker) ---------- */

.close__intro {
  max-width: 720px;
}

.close__picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: clamp(40px, 6vw, 64px);
  align-items: start;
}

.close__controls {
  display: grid;
  gap: 16px;
}

.close__group {
  display: grid;
  gap: 8px;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.close__group legend {
  padding: 0;
  margin-bottom: 8px;
  color: var(--dark-faint);
}

.close__days {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.option {
  position: relative;
  display: block;
  cursor: pointer;
}

.option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tpl {
  display: block;
  text-align: left;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid hsl(20 20% 30% / .7);
  background: hsl(18 22% 14% / .6);
  color: var(--dark-ink);
  transition: all .2s ease;
}

.option input:checked + .tpl {
  border-color: var(--coral);
  background: hsl(14 78% 58% / .12);
}

.option input:focus-visible + .tpl,
.option input:focus-visible + .day,
.option input:focus-visible + .chip {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.tpl__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tpl__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}

.tpl__meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--dark-faint);
}

.tpl__desc {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--dark-muted);
  margin-top: 5px;
}

.day {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid hsl(20 20% 30% / .7);
  background: transparent;
  color: var(--dark-muted);
  transition: all .2s ease;
}

.option input:checked + .day {
  border-color: var(--coral);
  background: hsl(14 78% 58% / .14);
  color: hsl(28, 88%, 66%);
}

.timeline {
  background: var(--paper);
  color: var(--ink);
  border-radius: 16px;
  padding: 16px 18px 14px;
  box-shadow: 0 24px 60px hsl(20 30% 20% / .25);
}

.timeline__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.timeline__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
}

.timeline__note {
  font-size: 11px;
  color: var(--subtle);
}

.timeline__grid {
  position: relative;
  margin-top: 12px;
}

.timeline__row {
  display: grid;
  margin-top: 4px;
}

.timeline__day {
  text-align: center;
  min-width: 0;
  padding: 2px 0 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--subtle);
}

.timeline__day.is-zero {
  font-weight: 700;
  color: hsl(18, 22%, 16%);
}

.lane {
  display: flex;
  align-items: center;
  height: 26px;
  padding: 0 8px;
  margin: 0 2px;
  border-radius: 7px;
  border: 1px solid;
  font-size: 11px;
  font-weight: 600;
  min-width: 0;
  transition: all .35s var(--ease);
}

.lane span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.phase-validate { background: hsl(199, 60%, 94.5%); color: hsl(199, 60%, 28%); border-color: hsl(199, 50%, 78%); }
.phase-lock { background: hsl(38, 85%, 93%); color: hsl(30, 75%, 28%); border-color: hsl(38, 65%, 72%); }
.phase-signoff { background: hsl(265, 55%, 95.5%); color: hsl(265, 45%, 38%); border-color: hsl(265, 45%, 80%); }
.phase-refocus { background: hsl(150, 40%, 93%); color: hsl(150, 44%, 26%); border-color: hsl(150, 38%, 76%); }

.dot-validate { background: hsl(199, 55%, 44%); }
.dot-lock { background: hsl(36, 80%, 50%); }
.dot-signoff { background: hsl(265, 45%, 56%); }
.dot-refocus { background: hsl(150, 44%, 38%); }

.timeline__steps {
  border-top: 1px solid var(--line);
  margin: 12px 0 0;
  padding: 10px 0 0;
  display: grid;
  gap: 7px;
  list-style: none;
}

.timeline__step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
}

.timeline__dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  flex: none;
}

.timeline__label {
  flex: 1;
  min-width: 0;
}

.owner {
  font-size: 10.5px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 6px;
  background: hsl(22, 30%, 92%);
  color: hsl(20, 16%, 30%);
  white-space: nowrap;
}

.timeline__foot {
  margin-top: 10px;
  font-size: 11px;
  color: var(--subtle);
}

/* ---------- every month-end ---------- */

.month-end {
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.month-end__title {
  max-width: 16ch;
}

.month-end .lede {
  margin: 0;
  max-width: 44ch;
}

.phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: clamp(40px, 6vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}

.phase {
  border-top: 2px solid var(--coral);
  padding-top: 16px;
}

.phase__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--subtle);
}

.phase__title {
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 10px 0 6px;
}

.phase__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.examples {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  align-items: start;
}

.variance {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px hsl(20 30% 20% / .06);
}

.variance table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

/* The design's grid: 1.6fr 1fr 1fr 1fr. */
.variance__col-account {
  width: 34.8%;
}

.variance caption {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--tint);
}

.variance__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.variance__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
}

.variance__subtitle {
  letter-spacing: .05em;
}

.variance th,
.variance td {
  padding: 8px 0 8px 10px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
}

.variance th:first-child,
.variance td:first-child {
  padding-left: 16px;
  text-align: left;
}

.variance th:last-child,
.variance td:last-child {
  padding-right: 16px;
}

.variance thead th {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--subtle);
}

.variance tbody tr {
  border-top: 1px solid hsl(22, 30%, 95%);
}

.variance tbody tr.is-highlight {
  background: var(--coral-faint);
}

.variance tbody th {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
}

.variance__code {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--subtle);
  margin-right: 8px;
}

.variance__note {
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--subtle);
  margin: 0;
}

.commentary {
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 24px 60px hsl(20 30% 20% / .06);
}

.commentary__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.commentary__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
}

.status {
  font-size: 10.5px;
  font-weight: 600;
  color: hsl(30, 75%, 34%);
  background: hsl(38, 85%, 92%);
  border: 1px solid hsl(38, 65%, 78%);
  padding: 2px 8px;
  border-radius: 99px;
}

.commentary__body {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

.commentary__body code.pill {
  font-size: 12.5px;
  padding: 1px 5px;
}

.commentary__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.avatar {
  width: 26px;
  height: 26px;
  border-radius: 99px;
  background: var(--blue);
  color: var(--paper);
  font-size: 10px;
  font-weight: 600;
  display: inline-grid;
  place-items: center;
}

.commentary__route {
  font-size: 12.5px;
  color: var(--muted);
}

.commentary__route strong {
  font-weight: 600;
  color: var(--ink);
}

.commentary__actions {
  margin-left: auto;
  display: flex;
  gap: 6px;
}

.fake-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: var(--tint);
  color: var(--muted);
}

.fake-btn--primary {
  border-color: var(--coral-edge);
  background: var(--coral);
  color: var(--paper);
}

/* ---------- principles ---------- */

.principles__title {
  max-width: 18ch;
}

.principles__intro {
  max-width: 52ch;
}

/* The AI principles: one highlighted panel above the product principles. */
.principles.principles--ai {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px 32px;
  padding: 24px;
  border-radius: 14px;
  background: hsl(14 78% 58% / .10);
  border: 1px solid hsl(14 78% 58% / .45);
}

.principles--ai + .principles {
  margin-top: 16px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: clamp(40px, 6vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}

.principle {
  background: hsl(18 22% 14% / .7);
  border: 1px solid hsl(20 20% 30% / .7);
  border-radius: 14px;
  padding: 24px;
}

.principle__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid;
}

.tone-coral { color: hsl(14, 82%, 95%); background: hsl(10 70% 42% / .35); border-color: hsl(14, 80%, 60%); }
.tone-blue { color: hsl(222, 65%, 92%); background: hsl(222 55% 45% / .35); border-color: hsl(222, 55%, 62%); }
.tone-green { color: hsl(150, 40%, 92%); background: hsl(150 44% 34% / .4); border-color: hsl(150, 38%, 55%); }
.tone-purple { color: hsl(265, 55%, 93%); background: hsl(265 45% 50% / .35); border-color: hsl(265, 45%, 66%); }

.principle__title {
  font-size: 19px;
  letter-spacing: -0.01em;
  margin: 16px 0 8px;
}

.principle__body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--dark-muted);
}

/* ---------- audience ---------- */

.audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.audience__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience__item {
  border-top: 1px solid var(--line-strong);
  padding: 22px 0;
}

.audience__item:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.audience__title {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.audience__body {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- early access ---------- */

.signup {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.signup__title {
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.02;
}

.signup .lede {
  max-width: 40ch;
}

.perks {
  display: grid;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--dark-muted);
}

.perks li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.perks li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--amber);
  flex: none;
}

.form-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 32px);
  display: grid;
  gap: 20px;
}

.field {
  display: grid;
  gap: 6px;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

fieldset.field {
  gap: 8px;
}

.field__label,
.field legend {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--subtle);
  padding: 0;
}

fieldset.field legend {
  margin-bottom: 8px;
}

.field__hint {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--faint);
}

.input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14.5px;
  background: var(--paper);
  color: var(--ink);
}

textarea.input {
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
}

.input--other {
  padding: 10px 13px;
  font-size: 14px;
  margin-top: 2px;
}

.input:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px hsl(14, 82%, 92%);
}

.input[aria-invalid="true"] {
  border-color: var(--bad);
}

.field__error {
  font-size: 12px;
  color: var(--bad);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-block;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .14s ease;
}

.option input:checked + .chip {
  border-color: var(--coral-edge);
  background: var(--coral-wash);
  color: var(--link);
  font-weight: 600;
}

.month-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--tint);
  font-size: 12.5px;
  color: var(--muted);
}

.month-summary strong {
  font-weight: 600;
  color: var(--ink);
}

.month-summary a {
  font-size: 12px;
  font-weight: 600;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile {
  min-height: 65px;
}

.turnstile:empty {
  min-height: 0;
}

.form-error {
  font-size: 13px;
  line-height: 1.5;
  color: var(--bad);
  background: var(--bad-wash);
  border-radius: 10px;
  padding: 10px 12px;
}

.form-error a {
  color: inherit;
  text-decoration: underline;
}

.submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.submit-row__note {
  font-size: 12px;
  color: var(--subtle);
}

.submit-row__note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.success {
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 320px;
}

.success:focus {
  outline: none;
}

.success__title {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 8px 0 0;
}

.success__body {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}

.success__email {
  font-family: var(--font-mono);
  font-size: 14px;
}

.success__position {
  font-size: 12px;
  color: var(--subtle);
  margin-top: 8px;
}

.success__position span {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--link);
}

.noscript {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- footer ---------- */

.footer {
  padding: 36px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}

.footer .brand__name {
  font-size: 15px;
}

.footer__meta {
  font-size: 12.5px;
  color: var(--subtle);
}

.footer__meta a {
  color: var(--subtle);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- simple pages (privacy, 404) ---------- */

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 140px var(--gutter) 96px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

.doc h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 12px;
}

.doc h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 40px 0 8px;
}

.doc a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- motion preferences ---------- */

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Short or narrow screens: the sticky stage stacks copy above the chart and
   needs the room. */
@media (max-width: 700px) {
  .js .how__stage {
    align-content: center;
    gap: 20px;
    padding-top: 76px;
  }

  .how__copy {
    min-height: 0;
  }

  .js .how__steps {
    height: 230px;
  }

  .how__dots {
    margin-bottom: 18px;
  }

  .explain {
    right: 4%;
    bottom: 18%;
  }
}

@media print {
  .nav,
  .form-card,
  .hero__glow {
    display: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .js .how {
    height: auto;
  }

  .js .how__stage {
    position: static;
    height: auto;
  }
}
