/* usethumbs.com — direction "One motif" (seed 54845183): Chillax, bottle ink and yellow.
   The motif is the press of a thumb on glass: an oval tilted by -16deg. It is the hero shape, the buttons,
   the picture masks, the bullets, the press marks and the footer mark. */

@font-face {
  font-family: "Chillax";
  src: url("/fonts/chillax-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Chillax";
  src: url("/fonts/chillax-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Chillax";
  src: url("/fonts/chillax-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #f7f7f7;
  --surface: #ebebeb;
  --ink: #0d2a1c;
  --muted: #5f6b64;
  --accent: #f6e016;
  --accent-ink: #0d2a1c;
  /* neighbouring tones of the ink's hue, for fields and the run cards */
  --ink-2: #163a28;
  --ink-3: #1f4a35;
  --on-ink: #f7f7f7;
  --on-ink-muted: #b9c4bd;

  --font: "Chillax", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* five sizes, plus one poster size for the figure */
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 0.95rem + 1.1vw, 2.25rem);
  --step-head: clamp(2rem, 1.2rem + 3.4vw, 4.25rem);
  --step-display: clamp(2.75rem, 1.6rem + 4.95vw, 6.25rem);
  --step-figure: clamp(7rem, 19vw, 17.5rem);

  --margin: clamp(1rem, 2.6vw, 2.5rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(6rem, 10vw, 10rem);
  --tilt: -16deg;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1,
h2,
h3,
p,
figure,
blockquote,
ul,
ol,
dl,
dd,
pre {
  margin: 0;
}
ul[class],
ol[class] {
  padding: 0;
  list-style: none;
}
img,
video,
svg {
  display: block;
  max-width: 100%;
}
img,
video {
  height: auto;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
a {
  color: inherit;
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.on-ink :focus-visible {
  outline-color: var(--accent);
}
h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  text-wrap: balance;
}
p {
  max-width: 62ch;
  text-wrap: pretty;
}
code,
pre {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.nums {
  font-variant-numeric: tabular-nums;
}
.on-ink {
  background: var(--ink);
  color: var(--on-ink);
}

/* The one button: a pill, the press shape at button size. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform var(--t-press) var(--ease-out),
    background-color var(--t-hover) ease,
    color var(--t-hover) ease;
}
.btn:active {
  transform: scale(0.96);
}
.btn--ink {
  background: var(--ink);
  color: var(--on-ink);
}
.link {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 0.08em;
  transition: text-decoration-color var(--t-hover) ease;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    background: var(--ink);
    color: var(--accent);
  }
  .btn--ink:hover {
    background: var(--accent);
    color: var(--ink);
  }
  .link:hover {
    text-decoration-color: currentColor;
  }
}

/* The motif at text size: the press, as a bullet and a selection dot. */
.press-dot {
  display: inline-block;
  flex: none;
  width: 0.42em;
  height: 0.56em;
  border-radius: 50%;
  background: currentColor;
  transform: rotate(var(--tilt));
}

/* ---------- header ---------- */
.top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1rem, 2.2vw, 1.75rem) var(--margin);
}
.wordmark {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-decoration: none;
  line-height: 1;
}
.top nav {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2rem);
  font-weight: 500;
}
.top nav a {
  text-decoration: none;
}
.top .only-wide {
  display: none;
}
@media (min-width: 56rem) {
  .top .only-wide {
    display: inline;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
  padding: 7rem var(--margin) 4rem;
}
.hero-shape {
  position: absolute;
  z-index: 0;
  width: 112vh;
  height: 136vh;
  left: calc(84% - 56vh);
  top: calc(52% - 68vh);
  border-radius: 50%;
  background: var(--accent);
  transform: rotate(var(--tilt));
}
.hero {
  grid-template-rows: auto auto;
  align-content: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 1 / span 6;
  grid-row: 1;
  align-self: end;
  container-type: inline-size;
}
.hero h1 {
  font-size: min(var(--step-display), 14.6cqi);
  line-height: 0.98;
}
.hero h1 span {
  display: block;
  white-space: nowrap;
}
.hero .lead {
  margin-top: clamp(1.5rem, 2.6vw, 2.25rem);
  max-width: 34ch;
}
/* The MCP URL, ready to copy: an ink pill holding the URL and the press-shaped button. */
.mcp {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  max-width: 100%;
  margin-top: 1.75rem;
  padding: 0.375rem 0.375rem 0.375rem 1.375rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
}
.mcp :focus-visible {
  outline-color: var(--accent);
}
.mcp-url {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font);
  font-size: min(var(--step-body), 4.1cqi);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.mcp-copy {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0 1.25rem 0 1.05rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  transition:
    transform var(--t-press) var(--ease-out),
    background-color var(--t-hover) ease,
    color var(--t-hover) ease;
}
.mcp-copy:active {
  transform: scale(0.96);
}
.mcp.is-copied .mcp-copy {
  background: var(--on-ink);
  color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .mcp-copy:hover {
    background: var(--on-ink);
    color: var(--ink);
  }
}
@media (max-width: 30rem) {
  .mcp {
    gap: 0.5rem;
    padding-left: 1rem;
  }
  .mcp-copy {
    gap: 0.35rem;
    padding: 0 0.95rem 0 0.8rem;
    font-size: var(--step-small);
  }
}
.mcp-hint {
  margin-top: 0.875rem;
  max-width: 46ch;
  font-size: var(--step-small);
  color: var(--muted);
}
.mcp-hint a {
  color: var(--ink);
  font-weight: 500;
  text-underline-offset: 0.22em;
}

.stage {
  position: relative;
  z-index: 1;
  grid-column: 7 / -1;
  grid-row: 1 / span 2;
  align-self: center;
  display: flex;
  justify-content: flex-end;
  padding-right: clamp(0px, 5.5vw, 6.5rem);
}
.phone {
  position: relative;
  height: min(76vh, 760px);
  aspect-ratio: 804 / 1748;
  border-radius: 13.8% / 6.35%;
  overflow: hidden;
  background: #dfe9ee;
  touch-action: manipulation;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--t-ui) ease;
}
.phone .hits {
  position: absolute;
  inset: 0;
}
.hit {
  position: absolute;
  border-radius: 12px;
}
.hit:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: -3px;
}
.press {
  position: absolute;
  width: 46px;
  height: 60px;
  margin: -30px 0 0 -23px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0;
  transform: rotate(var(--tilt)) scale(0.6);
  pointer-events: none;
}
.press.is-on {
  animation: press 700ms var(--ease-out) forwards;
}
@keyframes press {
  0% {
    opacity: 0.55;
    transform: rotate(var(--tilt)) scale(0.6);
  }
  35% {
    opacity: 0.45;
    transform: rotate(var(--tilt)) scale(1);
  }
  100% {
    opacity: 0;
    transform: rotate(var(--tilt)) scale(1.25);
  }
}

.readout {
  position: relative;
  z-index: 2;
  grid-column: 1 / span 6;
  grid-row: 2;
  align-self: start;
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
  max-width: 34rem;
}
.readout-title,
.readout-note {
  font-size: var(--step-small);
  color: var(--muted);
}
.readout pre {
  margin-top: 0.5rem;
  padding: 1rem 1.15rem;
  min-height: 10em;
  border-radius: 18px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: var(--step-small);
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.readout pre b {
  color: var(--accent);
  font-weight: 400;
}
.readout pre i {
  color: var(--on-ink-muted);
  font-style: normal;
}
.readout-note {
  margin-top: 0.6rem;
}
.readout-note button {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 56rem) {
  .hero {
    display: block;
    min-height: 0;
    padding: 6.5rem var(--margin) 3rem;
  }
  .hero-shape {
    display: none;
  }
  .stage {
    margin-top: 3.5rem;
    justify-content: center;
    padding: 2.5rem 0 0;
  }
  .stage::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 0;
    width: 130vw;
    height: 160vw;
    border-radius: 50%;
    background: var(--accent);
    transform: translateX(-50%) rotate(var(--tilt));
  }
  .phone {
    height: auto;
    width: min(82vw, 24rem);
  }
  .readout {
    margin-top: 2rem;
  }
}

/* ---------- intro: made for thumbs ---------- */
.intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
  padding: calc(var(--section) * 0.55) var(--margin);
}
.intro-text {
  grid-column: 1 / span 5;
}
.intro h2 {
  font-size: var(--step-head);
}
.statement {
  margin-top: 1.5rem;
  font-size: var(--step-lead);
  line-height: 1.3;
  max-width: 30ch;
}
.intro-photo {
  grid-column: 7 / -1;
}
.oval {
  position: relative;
  width: 76%;
  margin-inline: auto;
  aspect-ratio: 118 / 136;
  border-radius: 50%;
  overflow: hidden;
  transform: rotate(var(--tilt));
  background: var(--surface);
}
.oval img {
  position: absolute;
  left: -14%;
  top: -14%;
  width: 128%;
  height: 128%;
  max-width: none;
  object-fit: cover;
  transform: rotate(16deg);
}
.intro-photo figcaption {
  text-align: center;
  margin-top: 1.75rem;
  font-size: var(--step-small);
  color: var(--muted);
}
@media (max-width: 56rem) {
  .intro {
    display: block;
    padding-block: 5rem;
  }
  .intro-photo {
    margin-top: 3rem;
  }
}

/* ---------- how it works: drag through the stages ---------- */
.how {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88svh;
}
.how-left {
  background: var(--surface);
  padding: clamp(4rem, 7vw, 6rem) var(--margin) 9rem;
}
.how-right {
  background: var(--bg);
  display: grid;
  place-items: center;
  padding: 4rem var(--margin) 9rem;
}
.how h2 {
  font-size: var(--step-head);
  max-width: 11ch;
}
.how-left p {
  margin-top: 1.5rem;
  max-width: 30ch;
}
.how-frags {
  position: relative;
  width: min(100%, 27.5rem);
  display: grid;
}
.frag {
  grid-area: 1 / 1;
  align-self: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 200ms ease,
    visibility 0s linear 200ms;
}
.frag.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity 200ms ease;
}
.term {
  border-radius: 18px;
  background: var(--ink);
  color: var(--on-ink);
  padding: 1.25rem 1.3rem;
  font-size: var(--step-small);
  line-height: 1.65;
}
.term pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.term .prompt {
  color: var(--accent);
}
.term .out {
  color: var(--on-ink-muted);
}
.consent {
  border-radius: 22px;
  background: #ffffff;
  color: #1d1d1f;
  padding: 1.75rem;
  font-family: -apple-system, "Helvetica Neue", sans-serif;
  box-shadow: 0 18px 48px rgba(13, 42, 28, 0.16); /* taste-skill-ignore: the consent page is a real dialog (data-ui) */
}
.consent strong {
  display: block;
  font-size: var(--step-lead);
}
.consent p {
  margin-top: 0.4rem;
  font-size: var(--step-small);
  color: #555;
}
.consent .ask {
  margin-top: 1.25rem;
  font-size: var(--step-body);
  color: #1d1d1f;
}
.consent .row {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  font-size: var(--step-small);
}
.consent .row span {
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  background: #f1f1f1;
}
.consent .row span:last-child {
  background: #0a66ff;
  color: #ffffff;
}
.shot {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  align-items: start;
}
.shot img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 804 / 1100;
  object-fit: cover;
  object-position: top;
}
.how-track {
  position: absolute;
  left: var(--margin);
  right: var(--margin);
  bottom: 2.25rem;
  z-index: 2;
}
.how-rail {
  position: relative;
  height: 40px;
}
.how-rail .bar,
.how-rail .fill {
  position: absolute;
  left: 0;
  top: 16px;
  height: 8px;
}
.how-rail .bar {
  right: 0;
  background: #cfd3d0;
}
.how-rail .fill {
  width: var(--pos, 0%);
  background: var(--ink);
  transition: width 200ms var(--ease-out);
}
.how-rail input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 40px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.how-rail input::-webkit-slider-runnable-track {
  height: 40px;
  background: transparent;
}
.how-rail input::-moz-range-track {
  height: 40px;
  background: transparent;
}
.how-rail input::-webkit-slider-thumb {
  appearance: none;
  width: 32px;
  height: 32px;
  margin-top: 4px;
  border-radius: 0;
  background: var(--accent);
  border: 3px solid var(--ink);
  box-sizing: border-box;
}
.how-rail input::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border: 3px solid var(--ink);
  border-radius: 0;
  background: var(--accent);
}
.how-stops {
  position: relative;
  height: 1.6rem;
  margin-top: 0.4rem;
  font-size: var(--step-small);
  color: var(--muted);
}
.how-stops li {
  position: absolute;
  top: 0;
  white-space: nowrap;
  transform: translateX(-50%);
  cursor: pointer;
  transition: color var(--t-hover) ease;
}
.how-stops li:nth-child(1) {
  left: 0;
  transform: none;
}
.how-stops li:nth-child(2) {
  left: 33.333%;
}
.how-stops li:nth-child(3) {
  left: 66.667%;
}
.how-stops li:nth-child(4) {
  right: 0;
  transform: none;
}
.how-stops .is-on {
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 56rem) {
  .how {
    grid-template-columns: 1fr;
  }
  .how-right {
    order: -1;
    min-height: 46svh;
    padding: 3rem var(--margin) 7rem;
  }
  .how-left {
    padding: 3rem var(--margin) 3.5rem;
  }
  .how-track {
    top: calc(46svh - 5.5rem);
    bottom: auto;
  }
  .shot {
    grid-template-columns: 7rem 1fr;
  }
}

/* ---------- features: sentences with switches ---------- */
.features {
  padding-top: var(--section);
}
.features > h2 {
  font-size: var(--step-head);
  padding-inline: var(--margin);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.band {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
  min-height: 17vh;
  padding: 1.5rem var(--margin);
  background: var(--bg);
  transition:
    background-color 300ms var(--ease-in-out),
    color 300ms var(--ease-in-out);
}
.band-text {
  grid-column: 1 / span 10;
}
.band-text p:first-child {
  font-size: var(--step-lead);
  font-weight: 500;
  line-height: 1.15;
  max-width: none;
  color: var(--muted);
  transition: color 300ms ease;
}
.band-text .then {
  margin-top: 0.6rem;
  display: none;
}
.band.is-on .band-text p:first-child {
  color: inherit;
}
.band.is-on .then {
  display: block;
}
.band.is-on.f-yellow {
  background: var(--accent);
  color: var(--accent-ink);
}
.band.is-on.f-ink {
  background: var(--ink);
  color: var(--on-ink);
}
.band.is-on.f-ink .switch {
  --off: var(--ink-3);
}
.band.is-on.f-surface {
  background: var(--surface);
}
.switch {
  grid-column: 11 / -1;
  justify-self: end;
  --off: #cfd3d0;
  position: relative;
  width: 4.2rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--off);
  transition: background-color 200ms ease;
}
.switch::after {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: 0.3rem;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 220ms var(--ease-out);
}
.switch[aria-checked="true"] {
  background: var(--ink);
}
.f-ink .switch[aria-checked="true"] {
  background: var(--accent);
}
.f-ink .switch[aria-checked="true"]::after {
  background: var(--ink);
}
.switch[aria-checked="true"]::after {
  transform: translateX(1.7rem);
}
@media (max-width: 56rem) {
  .band {
    min-height: 132px;
  }
  .band-text {
    grid-column: 1 / span 9;
  }
  .switch {
    grid-column: 10 / -1;
  }
}

/* ---------- stats: the figure set by a slider ---------- */
.stats {
  position: relative;
  min-height: 80svh;
  margin-top: var(--section);
  padding: clamp(4rem, 7vw, 6rem) var(--margin) clamp(3rem, 5vw, 4.5rem);
  background: var(--surface);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr auto;
  column-gap: var(--gutter);
}
.stats h2 {
  grid-column: 1 / -1;
  font-size: var(--step-head);
}
.meter {
  grid-column: 1 / span 5;
  margin-top: 1.75rem;
  max-width: 25rem;
}
.meter label {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
}
.meter input {
  width: 100%;
  margin-top: 0.75rem;
  accent-color: var(--ink);
  height: 2rem;
}
.figure {
  grid-column: 1 / span 7;
  grid-row: 4;
  align-self: end;
  font-weight: 600;
  font-size: var(--step-figure);
  line-height: 0.8;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.figure small {
  font-size: var(--step-head);
  letter-spacing: -0.02em;
  margin-left: 0.12em;
}
.stats .how-figure {
  grid-column: 9 / -1;
  grid-row: 4;
  align-self: end;
  max-width: 30ch;
}
@media (max-width: 56rem) {
  .stats {
    min-height: 84svh;
    display: flex;
    flex-direction: column;
  }
  .meter {
    max-width: none;
  }
  .figure {
    margin-top: auto;
    padding-top: 3rem;
    font-size: 30vw;
    align-self: flex-start;
  }
  .figure small {
    display: block;
    margin: 0.5rem 0 0;
    font-size: var(--step-lead);
  }
  .stats .how-figure {
    margin-top: 1rem;
    align-self: flex-start;
  }
}

/* ---------- watch: the band that splits the page ---------- */
.watch {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
  min-height: 84svh;
  padding: 5rem var(--margin);
  overflow: hidden;
}
.watch-text {
  grid-column: 1 / span 5;
}
.watch h2 {
  font-size: var(--step-head);
}
.watch-text p {
  margin-top: 1.25rem;
  color: var(--on-ink);
  max-width: 32ch;
}
.watch-text .cap {
  margin-top: 1.5rem;
  font-size: var(--step-small);
  color: var(--on-ink-muted);
}
.window {
  grid-column: 7 / span 6;
  justify-self: center;
  position: relative;
  width: min(34rem, 100%);
  aspect-ratio: 118 / 136;
}
.window::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  transform: rotate(var(--tilt));
}
.window video {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50%;
  aspect-ratio: 540 / 1174;
  transform: translate(-50%, -50%);
  border-radius: 13.8% / 6.35%;
  object-fit: cover;
  background: var(--ink-2);
}
@media (max-width: 56rem) {
  .watch {
    display: block;
    min-height: 0;
    padding: 4.5rem var(--margin);
  }
  .window {
    margin-top: 2.5rem;
  }
}

/* ---------- runs: cards that fold into spines ---------- */
.runs {
  position: relative;
  margin-top: var(--section);
}
.runs-pin {
  height: 200svh;
}
.runs-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  padding: 120px var(--margin) 6rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.runs h2 {
  font-size: var(--step-head);
}
.deck {
  position: relative;
  margin-top: 2.5rem;
  flex: 1;
  min-height: 360px;
  max-height: 520px;
}
.card {
  position: absolute;
  top: 0;
  left: 0;
  width: min(680px, 62vw);
  height: 100%;
  padding: 2.25rem;
  border-radius: 28px;
  color: var(--on-ink);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    transform 450ms var(--ease-out),
    width 450ms var(--ease-out);
}
.card:nth-child(3n + 1) {
  background: var(--ink);
}
.card:nth-child(3n + 2) {
  background: var(--ink-2);
}
.card:nth-child(3n) {
  background: var(--ink-3);
}
.card h3 {
  font-size: var(--step-lead);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 16ch;
  overflow: hidden;
}
.card p {
  margin-top: 1rem;
  color: var(--on-ink-muted);
  max-width: 34ch;
}
.card .foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.card .foot b {
  color: var(--accent);
  font-weight: 500;
  font-size: var(--step-lead);
}
.card.is-spine {
  width: 120px;
  cursor: pointer;
}
.card.is-spine p,
.card.is-spine .foot {
  display: none;
}
.card.is-spine h3 {
  flex: none;
  white-space: nowrap;
  writing-mode: vertical-rl;
  text-orientation: sideways;
  transform: rotate(180deg);
  max-width: none;
  max-height: 100%;
  align-self: center;
}
.runs-note {
  margin-top: 48px;
}
@media (max-width: 56rem), (max-height: 40rem) {
  .runs-pin {
    height: auto;
  }
  .runs-stage {
    position: static;
    height: auto;
    padding: 0 var(--margin);
  }
  .deck {
    max-height: none;
    display: grid;
    gap: 12px;
  }
  .card {
    position: static;
    width: 100%;
    height: auto;
    min-height: 15rem;
    transform: none;
  }
  .card.is-spine {
    width: 100%;
  }
  .card.is-spine p,
  .card.is-spine .foot {
    display: revert;
  }
  .card.is-spine .foot {
    display: flex;
  }
  .card.is-spine h3 {
    writing-mode: horizontal-tb;
    transform: none;
    white-space: normal;
  }
}

/* ---------- pricing: plan names, one live figure ---------- */
.pricing {
  margin-top: var(--section);
  padding-inline: var(--margin);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
}
.plans {
  grid-column: 1 / span 6;
}
.plans h2 {
  font-size: var(--step-head);
}
.plans ul {
  margin-top: 2rem;
}
.plan {
  display: flex;
  align-items: center;
  gap: 0.35em;
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #9aa39e;
  text-align: left;
  transition: color var(--t-hover) ease;
}
.plan .press-dot {
  visibility: hidden;
}
.plan[aria-pressed="true"] {
  color: var(--ink);
}
.plan[aria-pressed="true"] .press-dot {
  visibility: visible;
}
@media (hover: hover) {
  .plan:hover {
    color: var(--ink);
  }
}
.plan-stage {
  grid-column: 8 / -1;
  padding-top: clamp(4rem, 7vw, 6rem);
  transition: opacity 200ms ease;
}
.plan-stage .price {
  font-size: var(--step-display);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan-stage .price small {
  font-size: var(--step-body);
  font-weight: 500;
  letter-spacing: 0;
  margin-left: 0.4rem;
}
.plan-stage p {
  margin-top: 1.25rem;
  max-width: 36ch;
}
.plan-stage .btn {
  margin-top: 1.75rem;
}
@media (max-width: 40rem) {
  .pricing {
    display: block;
  }
  .plan-stage {
    padding-top: 2rem;
  }
}

/* ---------- faq: accordion of filled tiles ---------- */
.faq {
  margin-top: var(--section);
  padding-inline: var(--margin);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
}
.faq h2 {
  grid-column: 1 / span 4;
  position: sticky;
  top: 96px;
  font-size: var(--step-head);
}
.tiles {
  grid-column: 5 / -1;
  display: grid;
  gap: 8px;
}
.tiles details {
  border-radius: 22px;
  background: var(--surface);
  transition: background-color 200ms ease;
}
.tiles summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
  padding: 1rem 1.5rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.tiles summary::-webkit-details-marker {
  display: none;
}
.plus {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6.5px;
  width: 16px;
  height: 3px;
  background: currentColor;
  transition: transform 200ms var(--ease-out);
}
.plus::after {
  transform: rotate(90deg);
}
.tiles details[open] {
  background: var(--accent);
}
.tiles details[open] .plus::after {
  transform: rotate(0deg);
}
.tiles details p {
  padding: 0 1.5rem 1.5rem;
  max-width: 52ch;
}
.tiles code {
  font-size: var(--step-small);
  overflow-wrap: anywhere;
}
@media (max-width: 56rem) {
  .faq {
    display: block;
  }
  .faq h2 {
    position: static;
    margin-bottom: 1.5rem;
  }
  .tiles {
    gap: 6px;
  }
  .tiles summary {
    min-height: 64px;
    padding: 0.9rem 1.25rem;
  }
  .tiles details p {
    padding: 0 1.25rem 1.25rem;
  }
}

/* ---------- cta: the first step, already open ---------- */
.cta {
  margin-top: var(--section);
  min-height: 84svh;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
  padding: 4rem var(--margin);
}
.cta-text {
  grid-column: 1 / span 5;
  align-self: end;
  padding-bottom: 2.5rem;
}
.cta h2 {
  font-size: var(--step-display);
  line-height: 0.92;
}
.cta h2 span {
  display: block;
  white-space: nowrap;
}
.cta-text p {
  margin-top: 1.5rem;
  max-width: 34ch;
}
.dialog {
  grid-column: 7 / span 5;
  justify-self: center;
  width: min(100%, 27.5rem);
  border-radius: 26px;
  background: var(--bg);
  color: var(--ink);
  padding: 1.75rem;
  box-shadow: 0 24px 60px rgba(13, 42, 28, 0.18); /* taste-skill-ignore: the connect dialog floats above the field (data-ui) */
}
.dialog-title {
  font-size: var(--step-lead);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.dialog label {
  display: block;
  margin-top: 1.25rem;
  font-weight: 500;
}
.dialog input[type="text"] {
  margin-top: 0.4rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 0;
  border-radius: 14px;
  background: var(--surface);
}
fieldset.seg {
  border: 0;
  min-width: 0;
}
.seg {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
}
.seg button {
  min-height: 2.6rem;
  border-radius: 999px;
  font-weight: 500;
  transition:
    background-color var(--t-hover) ease,
    color var(--t-hover) ease;
}
.seg button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--on-ink);
}
.dialog .setup {
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: var(--step-small);
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  min-height: 5.5em;
}
.dialog .btn {
  margin-top: 1.5rem;
  width: 100%;
  min-height: 3.5rem;
}
@media (max-width: 56rem) {
  .cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 84svh;
  }
  .cta-text {
    padding-bottom: 0;
  }
  .dialog {
    margin-top: 3rem;
    width: 100%;
  }
}

/* ---------- footer: the mark, built large ---------- */
.foot-page {
  padding: clamp(3rem, 6vw, 5rem) var(--margin) 2rem;
}
.mark svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.mark text {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.04em;
  fill: var(--ink);
}
.mark .mark-narrow {
  display: none;
}
.foot-cols {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 2rem;
  font-size: var(--step-small);
}
.foot-cols ul {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-cols ul:nth-child(1) {
  grid-column: 1 / span 2;
}
.foot-cols ul:nth-child(2) {
  grid-column: 3 / span 2;
}
.foot-cols .contact {
  grid-column: 9 / -1;
  color: var(--on-ink-muted);
}
.foot-cols a {
  text-decoration: none;
}
.foot-last {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  font-size: var(--step-small);
  color: var(--on-ink-muted);
}
.foot-last .credit {
  max-width: 70ch;
}
.foot-last .credit a {
  color: var(--on-ink);
}
@media (max-width: 56rem) {
  .mark .mark-wide {
    display: none;
  }
  .mark .mark-narrow {
    display: block;
  }
  .foot-cols ul:nth-child(1) {
    grid-column: 1 / span 6;
  }
  .foot-cols ul:nth-child(2) {
    grid-column: 7 / span 6;
  }
  .foot-cols .contact {
    grid-column: 1 / -1;
  }
  .foot-last {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- motion (content stays visible without JavaScript) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] {
    opacity: 0;
    transform: translateY(20px);
    animation: rise var(--t-reveal) var(--ease-out) forwards;
    animation-delay: calc(var(--i, 0) * 80ms + 120ms);
  }
  .js [data-reveal]:not(.mark) {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 700ms var(--ease-out),
      transform 900ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 75ms);
  }
  .js [data-reveal]:not(.mark).is-in {
    opacity: 1;
    transform: none;
  }
  .js .shutter {
    clip-path: inset(0 100% 0 0 round 13.8% / 6.35%);
    transition: clip-path 1100ms var(--ease-in-out);
  }
  .js .shutter img {
    transform: scale(1.12);
    transition:
      transform 1500ms var(--ease-soft),
      opacity var(--t-ui) ease;
  }
  .js .shutter.is-in {
    clip-path: inset(0 0 0 0 round 13.8% / 6.35%);
  }
  .js .shutter.is-in img {
    transform: none;
  }
  .js .hero-shape {
    opacity: 0;
    transform: rotate(var(--tilt)) scale(0.9);
    animation: shape-in 1200ms var(--ease-expo) 80ms forwards;
  }
  .js .oval img {
    transform: rotate(16deg) scale(1.08);
    transition: transform 1600ms var(--ease-soft);
  }
  .js .intro-photo.is-in .oval img {
    transform: rotate(16deg) scale(1);
  }
  .js .mark .b {
    transform: translateY(36px);
    transition: transform 900ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .js .mark.is-in .b {
    transform: none;
  }
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes shape-in {
  to {
    opacity: 1;
    transform: rotate(var(--tilt)) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .press.is-on {
    animation: none;
  }
  .card,
  .how-rail .fill,
  .switch::after,
  .band {
    transition: none;
  }
}

/* ---------- the waiting list and the privacy page ---------- */
.note-page .hero-copy {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
  align-self: center;
}
.note-page .lead {
  max-width: 40ch;
}
main.prose {
  max-width: 46rem;
  margin: 0 auto;
  padding: 8rem var(--margin) 6rem;
}
.prose h1 {
  font-size: var(--step-head);
}
.prose .lead {
  margin-top: 1.25rem;
  font-size: var(--step-lead);
  line-height: 1.3;
}
.prose h2 {
  margin-top: 3rem;
  font-size: var(--step-lead);
}
.prose p {
  margin-top: 1rem;
}
