@font-face {
  font-family: "Due Display";
  src: url("/assets/fonts/SpaceGrotesk-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Due Mono";
  src: url("/assets/fonts/SpaceMono-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Due Mono";
  src: url("/assets/fonts/SpaceMono-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ground: #0f0f12;
  --card: #17171b;
  --raised: #1f1f24;
  --fill: #2a2a30;
  --ink: #f2f1f7;
  --muted: #aaa9b2;
  --faint: #92919a;
  --yellow: #ffc93c;
  --yellow-ink: #171122;
  --quality: #b56bfa;
  --long: #32d7f0;
  --line: rgba(242, 241, 247, 0.14);
  --line-strong: rgba(242, 241, 247, 0.24);
  --display: "Due Display", "Arial Narrow", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Due Mono", ui-monospace, monospace;
  --shell: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: clip;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 0;
  width: 100%;
  overflow-x: clip;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
select,
input {
  font: inherit;
}

button,
a,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(3.35rem, 7vw, 5.8rem);
  line-height: 0.93;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.08;
}

p,
li {
  max-width: 68ch;
}

code {
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--fill);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.86em;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--ground);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding-inline: max(20px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--ground);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  width: max-content;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  border-radius: 9px;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
}

.mobile-nav {
  display: none;
}

.site-nav a,
.mobile-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.mobile-nav a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 0;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--yellow-ink);
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.button:hover {
  background: #ffd568;
  transform: translateY(-1px);
}

.button:active {
  transform: none;
}

.button-small {
  justify-self: end;
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.88rem;
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--raised);
}

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

.button-ink:hover {
  background: #ffffff;
}

.text-link {
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  margin-left: 0.2em;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 92px);
  min-height: calc(100svh - 76px);
  padding-block: clamp(72px, 10vh, 126px);
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 5.7vw, 4.9rem);
}

.hero-copy > p {
  max-width: 52ch;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.55vw, 1.28rem);
}

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

.week-ledger {
  padding-block: 26px 22px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.week-ledger-head,
.contract-line,
.supporting-goals {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.week-ledger-head {
  margin-bottom: 20px;
}

.week-ledger-head p,
.illustrative-label {
  margin: 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
}

.contract-line {
  align-items: flex-end;
  padding-top: 32px;
}

.contract-line strong {
  font-family: var(--display);
  font-size: clamp(4.6rem, 8vw, 7.2rem);
  letter-spacing: -0.04em;
  line-height: 0.8;
}

.contract-line span {
  color: var(--muted);
  font-family: var(--mono);
}

.contract-line small {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.contract-reading {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 5px 8px;
  padding-bottom: 3px;
}

.contract-reading strong {
  font-family: var(--mono);
  font-size: 1.7rem;
  line-height: 1;
}

.contract-reading span {
  font-size: 0.82rem;
}

.hero-shifts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-shift {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(220px, 1.2fr);
  align-items: center;
  gap: 24px;
  padding-block: 18px;
}

.hero-shift + .hero-shift {
  border-top: 1px solid var(--line);
}

.hero-shift > p {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 0.86rem;
}

.hero-shift > p small {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.shift-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.9rem;
}

.shift-route span {
  color: var(--muted);
}

.shift-route strong {
  color: var(--ink);
}

.shift-route small {
  display: block;
  margin-bottom: 3px;
  color: var(--faint);
  font-family: var(--body);
  font-size: 0.7rem;
  font-style: normal;
}

.shift-route i {
  align-self: center;
  color: var(--faint);
  font-family: var(--body);
  font-style: normal;
}

.mileage-rail {
  height: 8px;
  margin-block: 38px 24px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--fill);
}

.mileage-rail span {
  display: block;
  width: 57%;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow);
  transform-origin: left;
}

.supporting-goals {
  justify-content: flex-start;
  margin-bottom: 26px;
}

.supporting-goals p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.supporting-goals strong {
  color: var(--ink);
}

.data-mark {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}

.quality-mark { background: var(--quality); }
.long-mark { background: var(--long); }

.statement {
  display: grid;
  align-content: center;
  min-height: 88svh;
  padding-block: 130px;
}

.statement h2 {
  max-width: 12ch;
  font-size: clamp(4rem, 10vw, 6rem);
}

.statement p {
  max-width: 43ch;
  margin: 26px 0 0 auto;
  color: var(--muted);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.reshape,
.handoff,
.starter-teaser,
.faq {
  padding-block: clamp(100px, 14vw, 180px);
  border-top: 1px solid var(--line);
}

.section-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 50px;
  margin-bottom: clamp(54px, 8vw, 96px);
}

.section-copy h2 {
  max-width: 15ch;
  margin: 0;
}

.section-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.reshape-proof {
  margin-bottom: 34px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.change-context {
  margin: 0;
  padding: 20px 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.move-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.6fr) minmax(280px, 1.4fr);
  align-items: center;
  gap: 36px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
}

.move-row h3 {
  margin: 0;
}

.move-row > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.move-row span,
.move-row strong {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 1.08rem;
}

.move-row strong {
  color: var(--ink);
}

.move-row small {
  display: block;
  margin-bottom: 5px;
  color: var(--faint);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 750;
}

.contract-holds {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding-block: 30px;
  border-top: 1px solid var(--line);
}

.contract-holds > span {
  color: var(--muted);
  font-weight: 720;
}

.contract-holds > strong {
  font-family: var(--display);
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  letter-spacing: -0.035em;
  line-height: 1;
}

.contract-holds > p {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.handoff {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(60px, 10vw, 140px);
  min-height: 84svh;
}

.handoff-copy h2 {
  max-width: 12ch;
}

.handoff-copy p {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.08rem;
}

.handoff-proof {
  padding-block: 34px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.handoff-proof p {
  margin-bottom: 54px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.handoff-proof strong,
.handoff-proof span {
  display: block;
}

.handoff-proof strong {
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.handoff-proof strong code {
  padding: 0;
  background: none;
  font: inherit;
}

.handoff-proof span {
  color: var(--muted);
}

.starter-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 46px;
  border-top: 1px solid var(--line-strong);
}

.starter-preview article {
  min-height: 190px;
  padding: 26px 24px 24px 0;
  border-bottom: 1px solid var(--line);
}

.starter-preview article + article {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.starter-preview h3 {
  font-size: 1.45rem;
}

.starter-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.starter-preview .plan-peak {
  margin-top: 22px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.loading-copy,
.error-copy {
  grid-column: 1 / -1;
  padding-block: 32px;
  color: var(--muted);
}

.error-copy {
  color: #ffb281;
}

.faq .section-copy {
  grid-template-columns: 1fr;
  margin-bottom: 42px;
}

.faq-list {
  margin-bottom: 36px;
  border-top: 1px solid var(--line-strong);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding: 24px 46px 24px 0;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 720;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 18px;
  height: 18px;
  content: "+";
  color: var(--muted);
  font-family: var(--mono);
  font-size: 1.2rem;
  line-height: 1;
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "−";
}

details > p,
details > div {
  margin: -6px 0 24px;
  color: var(--muted);
}

.closing {
  width: min(1280px, calc(100vw - 40px));
  margin-block: 80px 40px;
  padding: clamp(54px, 9vw, 110px);
  border-radius: 16px;
  background: var(--yellow);
  color: var(--yellow-ink);
  text-align: center;
}

.closing h2 {
  margin-inline: auto;
}

.closing p {
  margin: 0 auto 28px;
  color: #4b3b0b;
}

.closing .button {
  background: var(--yellow-ink);
  color: var(--yellow);
}

.closing .button:hover {
  background: #28202f;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  min-height: 130px;
  border-top: 1px solid var(--line);
}

.brand-small {
  gap: 8px;
  font-size: 1.15rem;
}

.brand-small img {
  border-radius: 7px;
}

.site-footer p {
  justify-self: end;
  margin: 0;
  color: var(--faint);
  font-size: 0.8rem;
}

/* Reading and utility pages */

.reading-page {
  min-height: 70svh;
  padding-block: clamp(80px, 10vw, 130px) 150px;
}

.not-found-title {
  margin-top: 96px;
}

.page-intro {
  max-width: 860px;
  margin-bottom: clamp(72px, 10vw, 120px);
}

.page-intro h1 {
  font-size: clamp(3.4rem, 8vw, 6rem);
}

.page-intro > p {
  color: var(--muted);
  font-size: clamp(1.16rem, 2vw, 1.42rem);
}

/* Starter plan workbench */

.plans-page {
  min-height: 70svh;
  padding-block: clamp(44px, 5vw, 72px) 150px;
}

.plans-intro {
  max-width: 940px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.plans-intro h1 {
  max-width: none;
  margin-bottom: 18px;
  font-size: clamp(3rem, 5.6vw, 4.8rem);
}

.plans-intro p {
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
}

.plan-workbench {
  display: block;
}

.plan-workbench-top {
  display: grid;
  grid-template-columns: minmax(400px, 1fr) minmax(330px, 410px);
  align-items: start;
  gap: clamp(64px, 9vw, 130px);
}

.plan-chooser {
  padding-top: 12px;
}

.plan-selectors {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(164px, 0.62fr);
  gap: 14px;
}

.plan-selector {
  display: grid;
  gap: 10px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.plan-select-shell {
  position: relative;
  display: block;
}

.plan-select-shell::after {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  content: "";
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.plan-selector select {
  width: 100%;
  min-height: 60px;
  padding: 10px 50px 10px 18px;
  appearance: none;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.16rem, 1.8vw, 1.48rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  transition: border-color 150ms ease, background 150ms ease;
}

.plan-selector select:hover {
  border-color: var(--ink);
  background: var(--raised);
}

.plan-select-shell:focus-within {
  border-radius: 14px;
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.selected-plan-copy {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.selected-plan-copy h2 {
  max-width: none;
  margin-bottom: 12px;
  font-size: clamp(2.25rem, 3.5vw, 3.35rem);
  white-space: nowrap;
}

.selected-plan-copy > p {
  color: var(--muted);
}

.plan-demand {
  margin: 42px 0 30px;
  border-top: 1px solid var(--line);
}

.plan-demand div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding-block: 13px;
  border-bottom: 1px solid var(--line);
}

.plan-demand dt {
  color: var(--muted);
}

.plan-demand dd {
  margin: 0;
  font-family: var(--mono);
  font-weight: 700;
}

.plan-fit-note {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.88rem;
}

.plan-fit-note strong {
  color: var(--ink);
}

.plan-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 22px;
}

.plan-gradual {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  text-align: left;
}

.plan-gradual:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.plan-gradual:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.plan-preview-device {
  position: sticky;
  top: 118px;
  margin-top: 12px;
  perspective: 1500px;
}

.plan-demo-device-shell {
  position: relative;
  width: min(100%, 366px);
  margin-inline: auto;
  aspect-ratio: 1206 / 2622;
  transform: rotateY(-6deg) rotateX(1deg);
  transform-origin: center;
  transform-style: preserve-3d;
}

.plan-demo-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 39px;
  background: #0d0d10;
  box-shadow:
    0 0 0 9px #1a1b20,
    -2px 1px 0 10px #707178,
    -7px 8px 0 10px #0a0a0c,
    -20px 26px 44px 8px rgba(0, 0, 0, 0.38);
}

.plan-device-button {
  position: absolute;
  z-index: -1;
  width: 5px;
  border: 1px solid #74757c;
  border-radius: 3px;
  background: #28292f;
}

.plan-device-button-silent { top: 104px; right: -14px; height: 34px; }
.plan-device-button-volume-up,
.plan-device-button-volume-down { right: -15px; height: 62px; }
.plan-device-button-volume-up { top: 155px; }
.plan-device-button-volume-down { top: 228px; }
.plan-device-button-power { top: 164px; left: -14px; height: 86px; }

.plan-phone-status {
  position: absolute;
  z-index: 5;
  top: 14px;
  left: 0;
  display: grid;
  grid-template-columns: 1fr 88px 1fr;
  align-items: center;
  width: 100%;
  padding-inline: 32px;
  color: #f2f1f7;
  font-size: 0.72rem;
}

.plan-phone-status strong {
  font-size: 0.72rem;
}

.plan-phone-island {
  height: 25px;
  border-radius: 16px;
  background: #000;
}

.plan-phone-signal {
  justify-self: end;
  color: #8d8d95;
  letter-spacing: 0.08em;
}

.plan-phone-scroll {
  height: 100%;
  padding: 64px 14px 84px;
  overflow: hidden;
}

.plan-phone-mast {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.plan-phone-back {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(242, 241, 247, 0.14);
  border-radius: 50%;
  background: #1f1f24;
}

.plan-phone-back::before {
  width: 7px;
  height: 7px;
  border-bottom: 2px solid #f2f1f7;
  border-left: 2px solid #f2f1f7;
  content: "";
  transform: rotate(45deg) translate(1px, -1px);
}

.plan-phone-mast h2 {
  margin: 0;
  color: #f2f1f7;
  font-size: 1.25rem;
  line-height: 1;
}

.plan-phone-mast p {
  margin: 3px 0 0;
  color: #a6a5ad;
  font-size: 0.67rem;
  font-weight: 700;
}

.plan-phone-goal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #909099;
  font-size: 0.62rem;
  font-weight: 800;
}

.plan-phone-goal strong {
  color: #f2f1f7;
  font-family: var(--mono);
  font-size: 0.78rem;
}

.plan-phone-profile {
  padding: 14px;
  border: 1px solid rgba(242, 241, 247, 0.11);
  border-radius: 12px;
  background: #17171b;
}

.plan-phone-profile-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.plan-phone-profile-head p {
  margin: 0;
  color: #a6a5ad;
  font-size: 0.62rem;
  font-weight: 800;
}

.plan-phone-profile-head strong {
  color: #f2f1f7;
  font-family: var(--display);
  font-size: 2.1rem;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.plan-phone-profile-head p:last-child {
  text-align: right;
}

.plan-phone-profile-head p:last-child strong {
  font-size: 1.1rem;
}

.plan-phone-chart {
  display: flex;
  align-items: end;
  gap: 2px;
  height: 70px;
  margin-top: 18px;
  border-bottom: 1px solid rgba(242, 241, 247, 0.12);
}

.plan-phone-chart i {
  flex: 1;
  min-width: 2px;
  height: var(--bar);
  border-radius: 2px 2px 0 0;
  background: rgba(242, 241, 247, 0.24);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 480ms cubic-bezier(0.16, 1, 0.3, 1);
}

.plan-phone-chart i.is-recovery {
  background: rgba(242, 241, 247, 0.13);
}

.plan-phone-chart.is-ready i {
  transform: scaleY(1);
}

.plan-phone-phase-axis,
.plan-profile-phases {
  display: flex;
  justify-content: space-around;
  gap: 8px;
  color: #909099;
  font-size: 0.55rem;
  font-weight: 750;
}

.plan-phone-phase-axis {
  margin-top: 5px;
}

.plan-phone-campaigns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 14px;
}

.plan-phone-campaigns div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 4px;
  color: #a6a5ad;
  font-size: 0.62rem;
  font-weight: 800;
}

.plan-phone-campaigns strong {
  font-size: 0.68rem;
}

.plan-phone-campaigns i {
  grid-column: 1 / -1;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
}

.quality { color: var(--quality) !important; }
.long { color: var(--long) !important; }

.plan-phone-anchor {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(242, 241, 247, 0.11);
  border-radius: 12px;
  background: #17171b;
  color: #f2f1f7;
  font-size: 0.65rem;
}

.plan-phone-anchor svg {
  width: 16px;
  fill: none;
  stroke: #a6a5ad;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.plan-phone-anchor span {
  color: #a6a5ad;
  font-size: 0.58rem;
  font-weight: 800;
}

.plan-phone-phase-list {
  margin-top: 10px;
  padding: 0 14px;
  border: 1px solid rgba(242, 241, 247, 0.11);
  border-radius: 12px;
  background: #17171b;
}

.plan-phone-phase-list > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 39px;
  border-bottom: 1px solid rgba(242, 241, 247, 0.1);
  font-size: 0.7rem;
}

.plan-phone-phase-list > header span {
  color: #a6a5ad;
  font-size: 0.58rem;
}

.plan-phone-phase-row {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 41px;
  border-bottom: 1px solid rgba(242, 241, 247, 0.075);
}

.plan-phone-phase-row:last-child {
  border-bottom: 0;
}

.plan-phone-phase-row > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #55555d;
}

.plan-phone-phase-row.is-current > i {
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 201, 60, 0.13);
}

.plan-phone-phase-row > div {
  display: grid;
  gap: 1px;
}

.plan-phone-phase-row strong {
  color: #f2f1f7;
  font-size: 0.64rem;
}

.plan-phone-phase-row span {
  overflow: hidden;
  color: #8d8d95;
  font-size: 0.52rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-phone-phase-row b {
  color: #a6a5ad;
  font-family: var(--mono);
  font-size: 0.54rem;
  white-space: nowrap;
}

.plan-phone-install {
  position: absolute;
  z-index: 6;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--yellow-ink);
  font-size: 0.72rem;
  font-weight: 850;
  box-shadow: 0 -12px 28px 16px #0d0d10;
}

.plan-preview-caption {
  margin: 28px 0 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.66rem;
  text-align: center;
}

.plan-block-detail {
  margin-top: clamp(104px, 12vw, 150px);
}

.plan-block-detail > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  align-items: end;
  gap: 56px;
  margin-bottom: 46px;
}

.plan-block-detail > header h2 {
  max-width: 18ch;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.plan-block-detail > header p {
  margin-bottom: 0;
  color: var(--muted);
}

.plan-mileage-profile {
  padding-block: 38px 28px;
  border-block: 1px solid var(--line-strong);
}

.plan-profile-summary {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.plan-profile-summary p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.plan-profile-summary p:last-child {
  text-align: right;
}

.plan-profile-summary strong {
  font-family: var(--display);
  font-size: clamp(2rem, 3.7vw, 3.1rem);
  letter-spacing: -0.035em;
}

.plan-profile-summary span {
  color: var(--muted);
  font-size: 0.9rem;
}

.plan-week-bars {
  display: grid;
  grid-template-columns: repeat(var(--week-count), minmax(22px, 1fr));
  align-items: end;
  gap: 5px;
  height: 238px;
  margin-top: 48px;
}

.plan-week-bar {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--faint);
  cursor: pointer;
}

.plan-week-bar::before {
  position: absolute;
  inset: auto 0 0;
  height: var(--bar);
  border-radius: 4px 4px 1px 1px;
  background: rgba(242, 241, 247, 0.22);
  content: "";
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), background 180ms ease;
}

.plan-week-bars.is-ready .plan-week-bar::before {
  transform: scaleY(1);
}

.plan-week-bar.is-recovery::before {
  background: rgba(242, 241, 247, 0.12);
}

.plan-week-bar[aria-pressed="true"]::before {
  background: var(--yellow);
}

.plan-week-bar span {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  color: currentColor;
  font-family: var(--mono);
  font-size: clamp(0.72rem, 1.1vw, 0.86rem);
  font-weight: 700;
}

.plan-week-bar[aria-pressed="true"] span {
  color: var(--yellow-ink);
}

.plan-profile-phases {
  justify-content: space-around;
  margin-top: 12px;
  color: var(--faint);
  font-size: 0.86rem;
}

.selected-week {
  margin-top: 96px;
}

.selected-week-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 50px;
  margin-bottom: 26px;
}

.selected-week-head > div:first-child p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.selected-week-head h3 {
  margin: 0;
  font-size: clamp(3.4rem, 6vw, 5.4rem);
}

.selected-week-contracts {
  display: flex;
  gap: clamp(24px, 4vw, 50px);
}

.selected-week-contracts p {
  display: grid;
  gap: 2px;
  margin: 0;
  text-align: right;
}

.selected-week-contracts span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.selected-week-contracts strong {
  font-family: var(--mono);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.week-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-block: 1px solid var(--line-strong);
}

.week-day {
  display: flex;
  flex-direction: column;
  min-height: 246px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.week-day:last-child {
  border-right: 0;
}

.week-day > span {
  display: block;
  margin-bottom: 32px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: clamp(0.92rem, 1vw, 1rem);
  font-weight: 700;
}

.week-day-run {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 16px;
}

.week-day-run + .week-day-run {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.week-day-run::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8fa7c5;
  content: "";
}

.week-day-run[data-kind="quality"]::before { background: var(--quality); }
.week-day-run[data-kind="long"]::before { background: var(--long); }
.week-day-run[data-kind="race"]::before { background: var(--yellow); }

.week-day-run strong {
  display: block;
  margin-bottom: 7px;
  font-size: clamp(1.12rem, 1.25vw, 1.32rem);
  line-height: 1.2;
}

.week-day-run small {
  display: block;
  margin-top: auto;
  padding-top: 28px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: clamp(0.92rem, 1vw, 1.05rem);
}

.week-day-empty {
  color: var(--fill);
  font-family: var(--mono);
  font-size: 0.95rem;
}

.week-flex-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 900px) {
  .plan-workbench-top {
    grid-template-columns: minmax(330px, 1fr) minmax(290px, 340px);
    gap: 42px;
  }

  .plan-block-detail > header {
    gap: 38px;
  }

  .week-calendar {
    grid-template-columns: repeat(7, minmax(132px, 1fr));
    overflow-x: auto;
  }
}

@media (max-width: 720px) {
  .plans-page {
    padding-top: 40px;
  }

  .plans-intro {
    margin-bottom: 42px;
  }

  .plan-workbench-top {
    grid-template-columns: 1fr;
    gap: 82px;
  }

  .plan-chooser {
    padding-top: 0;
  }

  .plan-preview-device {
    position: relative;
    top: auto;
    width: min(100%, 390px);
    margin-inline: auto;
    margin-top: 0;
  }

  .plan-demo-device-shell {
    transform: rotateY(-3deg) rotateX(0.6deg);
  }

  .plan-block-detail {
    margin-top: 110px;
  }

  .plan-block-detail > header,
  .selected-week-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

  .selected-week-contracts {
    width: 100%;
    justify-content: space-between;
  }

  .selected-week-contracts p {
    text-align: left;
  }

  .plan-week-bars {
    gap: 3px;
    height: 150px;
  }

  .selected-plan-copy h2 {
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .plan-selectors {
    grid-template-columns: 1fr;
  }

  .selected-plan-copy {
    margin-top: 52px;
  }

  .plan-demo-device-shell {
    width: calc(100% - 20px);
  }

  .plan-profile-summary {
    align-items: start;
    flex-direction: column;
  }

  .plan-profile-summary p:last-child {
    text-align: left;
  }

  .plan-week-bars {
    grid-template-columns: repeat(var(--week-count), minmax(16px, 1fr));
  }

  .selected-week-contracts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .selected-week-contracts strong {
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plan-phone-chart i,
  .plan-week-bar::before {
    transition: none;
    transform: scaleY(1);
  }
}

.plain-note,
.download-help {
  max-width: 760px;
  margin-top: clamp(90px, 12vw, 150px);
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.plain-note h2,
.download-help h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.plain-note p,
.download-help p {
  color: var(--muted);
}

.help-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.help-index a {
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.help-index a:hover {
  background: var(--raised);
}

.help-section,
.legal-page section {
  max-width: 820px;
  margin-top: 120px;
  padding-top: 34px;
  border-top: 1px solid var(--line-strong);
}

.help-page {
  padding-top: clamp(44px, 6vw, 72px);
}

.help-page .page-intro {
  margin-bottom: clamp(36px, 5vw, 56px);
}

.help-page .page-intro h1 {
  max-width: 16ch;
  margin-bottom: 18px;
  font-size: clamp(3rem, 6vw, 4.8rem);
}

.help-page .page-intro > p {
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
}

.help-page .help-section {
  margin-top: clamp(72px, 8vw, 96px);
}

.help-page .help-section:first-of-type {
  margin-top: 0;
}

.help-section h2,
.legal-page section h2 {
  font-size: clamp(2.15rem, 4.5vw, 3.8rem);
}

.help-section > p,
.legal-page section p,
.legal-page section li {
  color: var(--muted);
}

.steps {
  margin: 46px 0 0;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 28px minmax(150px, 0.65fr) minmax(260px, 1fr);
  gap: 20px;
  max-width: none;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps);
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
}

.steps strong {
  color: var(--ink);
}

.steps span {
  color: var(--muted);
}

.help-section details:first-of-type {
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.updated {
  margin-top: 30px;
  color: var(--faint) !important;
  font-family: var(--mono);
  font-size: 0.78rem !important;
}

.legal-page section ul {
  padding-left: 1.25em;
}

.legal-page section li + li {
  margin-top: 9px;
}

/* Create a .due plan — public, crawlable documentation and prompt. */
.create-page {
  padding-top: clamp(90px, 12vw, 150px);
  padding-bottom: 80px;
}

.create-intro {
  max-width: 920px;
}

.create-intro h1 {
  max-width: 12ch;
}

.create-intro > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.create-intro-actions,
.prompt-section > header {
  display: flex;
  align-items: center;
  gap: 22px;
}

.create-intro-actions {
  margin-top: 38px;
}

.copy-status {
  min-height: 1.5em;
  margin-top: 12px;
  color: var(--yellow) !important;
  font-family: var(--mono);
  font-size: 0.78rem !important;
}

.create-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(90px, 12vw, 150px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--line-strong);
}

.create-paths article {
  max-width: none;
  padding: clamp(28px, 5vw, 54px);
  background: var(--card);
}

.create-paths h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.08;
}

.create-paths h3 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.create-paths article > p:last-child,
.prompt-section > p,
.create-safety p {
  color: var(--muted);
}

.create-steps {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1fr);
  gap: clamp(56px, 9vw, 120px);
  margin-top: clamp(110px, 15vw, 180px);
  padding-top: 34px;
  border-top: 1px solid var(--line-strong);
}

.create-steps h2 {
  font-size: clamp(2.35rem, 4.6vw, 4rem);
}

.create-steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.create-steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  max-width: none;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.create-steps li > span {
  color: var(--yellow);
  font-family: var(--mono);
  font-weight: 700;
}

.create-steps li strong {
  display: block;
  margin-bottom: 5px;
}

.create-steps li p {
  margin: 0;
  color: var(--muted);
}

.create-safety {
  max-width: 820px;
  margin-top: clamp(100px, 13vw, 160px);
  padding: 32px;
  border-left: 4px solid var(--yellow);
  background: var(--card);
}

.create-safety h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.create-safety p {
  margin-bottom: 0;
}

.prompt-section,
.create-faq {
  margin-top: clamp(110px, 15vw, 190px);
  padding-top: 34px;
  border-top: 1px solid var(--line-strong);
}

.prompt-section > header {
  justify-content: space-between;
}

.prompt-section h2,
.create-faq h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.due-prompt {
  max-height: 720px;
  margin: 42px 0 0;
  padding: clamp(20px, 4vw, 34px);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(0.82rem, 1.1vw, 0.92rem);
  line-height: 1.72;
  white-space: pre-wrap;
}

.due-prompt code {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.create-faq {
  max-width: 920px;
}

.create-faq .faq-list {
  margin-top: 42px;
}

@media (max-width: 760px) {
  .create-paths,
  .create-steps {
    grid-template-columns: 1fr;
  }

  .create-steps {
    gap: 28px;
  }

  .create-intro-actions,
  .prompt-section > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .prompt-section > header {
    gap: 8px;
  }

  .due-prompt {
    max-height: 620px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .mileage-rail span {
    animation: bank-week 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  @keyframes bank-week {
    from { transform: scaleX(0.08); }
    to { transform: scaleX(1); }
  }
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 36px, 720px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding-inline: 14px;
  }

  .site-nav {
    display: none;
  }

  .mobile-nav {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 4px;
  }

  .mobile-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 74px;
    min-height: auto;
    padding-block: 86px 110px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .week-ledger {
    max-width: 680px;
  }

  .statement {
    min-height: 76svh;
  }

  .section-copy {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
  }

  .handoff {
    grid-template-columns: 1fr;
    gap: 70px;
    min-height: auto;
  }

  .starter-preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .starter-preview article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .starter-preview article:nth-child(3),
  .starter-preview article:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    padding-block: 30px;
  }

  .site-footer nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 70px;
  }

  .brand {
    font-size: 1.3rem;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .mobile-nav a {
    padding-inline: 8px;
    font-size: 0.82rem;
  }

  .button-small {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 0.78rem;
  }

  .hero {
    padding-block: 64px 90px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 13vw, 4.5rem);
  }

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

  .week-ledger-head {
    margin-bottom: 34px;
  }

  .hero-shift {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contract-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }

  .contract-reading {
    align-self: stretch;
    grid-template-columns: auto 1fr auto 1fr;
  }

  .contract-reading strong {
    font-size: 1.4rem;
  }

  .supporting-goals {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .statement {
    min-height: auto;
    padding-block: 120px;
  }

  .statement h2 {
    font-size: clamp(3.5rem, 17vw, 5rem);
  }

  .statement p {
    margin-left: 0;
  }

  .starter-preview {
    grid-template-columns: 1fr;
  }

  .move-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contract-holds {
    grid-template-columns: 1fr auto;
  }

  .contract-holds > p {
    grid-column: 1 / -1;
  }

  .starter-preview article,
  .starter-preview article + article,
  .starter-preview article:nth-child(3) {
    min-height: 0;
    padding: 24px 0;
    border-top: 0;
    border-right: 0;
    border-left: 0;
  }

  .closing {
    width: calc(100vw - 28px);
    padding: 54px 24px;
  }

  .site-footer {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 14px 24px;
  }

  .site-footer p {
    justify-self: auto;
  }

  .reading-page {
    padding-block: 70px 110px;
  }

  .page-intro {
    margin-bottom: 72px;
  }

  .help-index {
    margin-bottom: 48px;
  }

  .help-page .help-section,
  .legal-page section {
    margin-top: 72px;
  }

  .help-page .help-section:first-of-type {
    margin-top: 0;
  }

  .steps li {
    grid-template-columns: 28px 1fr;
    gap: 8px 14px;
  }

  .steps li::before {
    grid-row: 1 / span 2;
  }
}

/* Run your plan homepage */

@property --mileage-progress {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}

@property --quality-progress {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}

@property --long-progress {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.run-story {
  border-bottom: 1px solid var(--line);
}

.run-story-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.68fr) minmax(400px, 0.82fr);
  align-items: start;
  gap: clamp(72px, 10vw, 148px);
}

.run-story-device {
  position: sticky;
  z-index: 2;
  top: 112px;
  align-self: start;
  margin: 56px 0 18px;
  padding: 0 18px 18px 2px;
  perspective: 1500px;
}

.demo-device-shell {
  position: relative;
  width: auto;
  height: min(760px, calc(100svh - 108px));
  min-height: 640px;
  margin-inline: auto;
  aspect-ratio: 1206 / 2622;
  transform: rotateY(7deg) rotateX(1.2deg);
  transform-origin: center;
  transform-style: preserve-3d;
}

.run-story-stage {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 39px;
  background: #0d0d10;
  box-shadow:
    0 0 0 9px #1a1b20,
    2px 1px 0 10px #707178,
    7px 8px 0 10px #0a0a0c,
    20px 26px 44px 8px rgba(0, 0, 0, 0.38);
}

.real-app-frames,
.real-app-frame {
  position: absolute;
  inset: 0;
}

.real-app-frame {
  z-index: 1;
  display: block;
  opacity: 0;
  transition: opacity 260ms ease;
}

.real-app-frame.is-current {
  z-index: 2;
  opacity: 1;
}

.real-app-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.real-plan-frame {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5%) scale(0.985);
  transition:
    opacity 420ms ease,
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.real-plan-frame.is-current {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.real-plan-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.real-app-motion {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: none;
  pointer-events: none;
}

.run-story.is-enhanced .real-app-motion {
  display: block;
}

.run-story.is-plan-state .real-app-motion {
  display: none;
}

.real-app-motion-region {
  position: absolute;
  overflow: hidden;
}

.real-app-motion-bar {
  top: 27.269%;
  left: 7.877%;
  width: 84.163%;
  height: 1.831%;
}

.real-app-motion-card {
  top: 66.171%;
  left: 3.98%;
  width: 92.04%;
  height: 21.358%;
}

.real-app-motion-frame {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  will-change: clip-path, opacity, transform;
}

.real-app-motion-frame img {
  display: block;
  width: 100%;
  height: 100%;
}

.demo-app-scroll {
  position: absolute;
  inset: 0;
  padding: 52px 16px 50px;
  transform: translateY(var(--app-scroll-y));
  transition: transform 480ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.demo-dynamic-island {
  position: absolute;
  z-index: 3;
  top: 11px;
  left: 50%;
  width: 86px;
  height: 24px;
  border-radius: 13px;
  background: #09090b;
  transform: translateX(-50%);
}

.demo-device-button {
  position: absolute;
  z-index: -1;
  width: 5px;
  border: 1px solid #74757c;
  border-radius: 3px;
  background: #28292f;
}

.demo-device-button-silent {
  top: 104px;
  left: -14px;
  height: 34px;
}

.demo-device-button-volume-up,
.demo-device-button-volume-down {
  left: -15px;
  height: 62px;
}

.demo-device-button-volume-up { top: 155px; }
.demo-device-button-volume-down { top: 228px; }

.demo-device-button-power {
  top: 164px;
  right: -14px;
  height: 86px;
}

.demo-home-indicator {
  position: absolute;
  z-index: 4;
  bottom: 10px;
  left: 50%;
  width: 112px;
  height: 5px;
  border-radius: 3px;
  background: #25262b;
  transform: translateX(-50%);
}

.demo-phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--app-muted);
  font-size: 0.68rem;
  font-weight: 750;
}

.demo-phone-bar > div {
  display: grid;
  gap: 1px;
}

.demo-phone-bar strong {
  color: var(--app-ink);
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.demo-phone-bar > span {
  padding: 7px 10px;
  border: 1px solid #d3d4d9;
  border-radius: 15px;
  color: var(--app-ink);
  font-size: 0.64rem;
}

.demo-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin: 14px 0 11px;
  padding: 0;
  list-style: none;
}

.demo-calendar li {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-width: 0;
  padding: 8px 2px 7px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #8a8b93;
  transition: border-color 320ms ease, background 320ms ease, color 320ms ease;
}

.demo-calendar li > span {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.demo-calendar li > strong {
  font-family: var(--display);
  font-size: 0.88rem;
  line-height: 1;
}

.demo-calendar li > small {
  overflow: hidden;
  max-width: 100%;
  color: transparent;
  font-size: 0.56rem;
  font-weight: 750;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 320ms ease;
}

.demo-calendar li.is-complete {
  border-color: #cbd8e4;
  background: #e9f0f6;
  color: #295c87;
}

.demo-calendar li.is-selected {
  border-color: #295c87;
  background: #295c87;
  color: #ffffff;
}

.demo-calendar li.is-selected > small {
  color: #dce9f4;
}

.demo-calendar li.is-complete > small {
  color: #477291;
}

.demo-contract {
  overflow: hidden;
  padding: 18px 17px 0;
  border: 1px solid #e4e4e7;
  border-radius: 22px;
  background: #ffffff;
}

.demo-contract-head,
.demo-contract-total,
.demo-projected,
.demo-contract-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.demo-contract-head {
  margin-bottom: 17px;
}

.demo-contract-head h2 {
  margin: 0;
  color: var(--app-ink);
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.demo-contract-head p {
  margin: 0;
  color: #2f7455;
  font-size: 0.76rem;
  font-weight: 850;
  transition: color 300ms ease;
}

.demo-contract-head p.is-open {
  color: var(--app-yellow-deep);
}

.demo-contract-total {
  align-items: end;
  margin-bottom: 15px;
}

.demo-contract-total p {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0;
}

.demo-contract-total p:last-child {
  flex-direction: column;
  align-items: end;
  gap: 0;
}

.demo-contract-total strong {
  color: var(--app-ink);
  font-family: var(--display);
  font-size: clamp(2.85rem, 4.6vw, 3.65rem);
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.demo-contract-total p:last-child strong {
  font-size: 1.65rem;
}

.demo-contract-total span {
  color: var(--app-muted);
  font-size: 0.7rem;
  font-weight: 750;
}

.demo-progress {
  height: 11px;
  overflow: hidden;
  border-radius: 7px;
  background: #d8dadd;
}

.demo-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--app-yellow);
  transform: scaleX(var(--mileage-progress));
  transform-origin: left;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.demo-projected {
  padding-block: 7px 11px;
  border-bottom: 1px solid var(--app-line);
  color: var(--app-muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.demo-projected strong {
  color: var(--app-ink);
  font-size: 0.9rem;
}

.demo-contract-goals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding-block: 13px;
  border-bottom: 1px solid var(--app-line);
}

.demo-goal {
  display: grid;
  grid-template-columns: 39px 1fr;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.demo-goal + .demo-goal {
  margin-left: 14px;
  padding-left: 16px;
  border-left: 1px solid var(--app-line);
}

.demo-ring {
  position: relative;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: conic-gradient(var(--ring-color) calc(var(--ring-progress) * 1turn), #d8dbe0 0);
  transition: --ring-progress 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.demo-ring::after {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #ffffff;
  content: "";
}

.demo-goal-quality .demo-ring {
  --ring-color: var(--app-quality);
  --ring-progress: var(--quality-progress);
}

.demo-goal-long .demo-ring {
  --ring-color: var(--app-long);
  --ring-progress: var(--long-progress);
}

.demo-goal p {
  display: grid;
  min-width: 0;
  margin: 0;
}

.demo-goal p > span {
  color: var(--app-muted);
  font-size: 0.66rem;
  font-weight: 750;
}

.demo-goal p > strong {
  overflow: hidden;
  color: var(--app-muted);
  font-size: 0.67rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-goal p b {
  color: var(--ring-color);
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.demo-goal-quality p b { color: var(--app-quality); }
.demo-goal-long p b { color: var(--app-long); }

.demo-contract-foot {
  min-height: 48px;
  color: var(--app-muted);
  font-size: 0.75rem;
}

.demo-contract-foot strong {
  color: var(--app-ink);
  font-size: 0.66rem;
}

.demo-contract-foot b {
  display: inline-block;
  margin-left: 4px;
  font-size: 1.4rem;
  line-height: 0;
  vertical-align: -2px;
}

.demo-run-stack {
  position: relative;
  height: 171px;
  overflow: hidden;
}

.demo-run-stack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 31px;
  color: var(--app-muted);
  font-size: 0.61rem;
  font-weight: 750;
}

.demo-run-stack-head strong {
  color: var(--app-ink);
  font-size: 0.68rem;
}

.demo-run-empty {
  display: grid;
  place-items: center;
  height: 122px;
  margin: 0;
  border-top: 1px solid var(--app-line);
  color: #92939b;
  font-size: 0.7rem;
  font-weight: 700;
}

.demo-caption {
  margin: 26px 16px 0 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.62rem;
  text-align: center;
}

.run-story-rail {
  min-width: 0;
}

.run-hero-copy {
  display: grid;
  align-content: center;
  min-height: calc(100svh - 76px);
  padding-block: 88px;
}

.run-hero-copy h1 {
  max-width: 8ch;
  margin-bottom: 24px;
  font-size: clamp(4.6rem, 8.2vw, 7rem);
}

.run-hero-copy > p:not(.eyebrow):not(.hero-aside) {
  max-width: 42ch;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
}

.run-hero-copy .hero-aside {
  margin: 24px 0 0;
  color: var(--faint);
  font-size: 0.78rem;
}

.run-beat {
  display: grid;
  align-content: center;
  min-height: 86svh;
  padding-block: 82px;
  border-top: 1px solid var(--line);
  opacity: 1;
  transition: opacity 280ms ease;
}

.run-story.is-enhanced .run-beat {
  opacity: 0.62;
}

.run-story.is-enhanced .run-beat.is-active {
  opacity: 1;
}

.run-beat-copy {
  margin-bottom: 34px;
}

.run-beat-copy h2 {
  max-width: 11ch;
  font-size: clamp(2.6rem, 4.8vw, 4.3rem);
}

.run-beat-copy > p:last-child {
  max-width: 39ch;
  margin-bottom: 0;
  color: var(--muted);
}

.activity-card {
  --activity-tint: #e1ebf4;
  --activity-ink: #295c87;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: var(--activity-tint);
  color: #24242b;
  font-variant-numeric: tabular-nums;
  transform: none;
  transition: border-color 280ms ease, transform 280ms ease;
}

.run-story.is-enhanced .activity-card {
  transform: translateY(8px);
}

.run-story.is-enhanced .run-beat.is-active .activity-card {
  border-color: rgba(255, 255, 255, 0.5);
  transform: none;
}

.activity-card-quality {
  --activity-tint: #eee2f7;
  --activity-ink: #8132b7;
}

.activity-card-long {
  --activity-tint: #dcebf2;
  --activity-ink: #216f9f;
}

.activity-card-top,
.activity-card-bottom {
  display: grid;
  align-items: center;
}

.activity-card-top {
  grid-template-columns: 50px 1fr auto;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(36, 36, 43, 0.1);
}

.activity-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid color-mix(in srgb, var(--activity-ink), transparent 72%);
  border-radius: 13px;
  color: var(--activity-ink);
}

.activity-icon svg {
  width: 27px;
  height: 27px;
  overflow: visible;
  fill: currentColor;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.activity-icon svg circle {
  stroke: none;
}

.activity-icon svg path {
  fill: none;
}

.activity-card-top > div,
.activity-card-top > p,
.activity-card-bottom > div {
  display: grid;
  margin: 0;
}

.activity-card-top strong,
.activity-card-bottom strong {
  font-family: var(--display);
  font-size: 1.23rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.activity-card-top span,
.activity-card-bottom span {
  color: var(--activity-ink);
  font-size: 0.82rem;
  font-weight: 750;
}

.activity-card-top > p {
  justify-items: end;
  color: #46464f;
  font-size: 0.8rem;
}

.activity-card-top > p strong {
  color: #202027;
  font-size: 1.9rem;
}

.activity-card-bottom {
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding-top: 16px;
}

.activity-card-bottom > p {
  margin: 0;
  color: #35353d;
  font-size: 0.86rem;
}

.activity-card-bottom > p b {
  margin-left: 5px;
  color: #777782;
  font-size: 1.5rem;
  line-height: 0;
  vertical-align: -2px;
}

.demo-phone-activity.activity-card {
  position: absolute;
  top: 31px;
  right: 0;
  left: 0;
  min-height: 136px;
  margin: 0;
  padding: 13px 14px;
  border-color: rgba(36, 36, 43, 0.08);
  border-radius: 18px;
  opacity: 0;
  transform: translateY(115%);
  transition: opacity 300ms ease, transform 460ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.run-story.is-enhanced .demo-phone-activity.activity-card {
  transform: translateY(115%);
}

.demo-phone-activity.activity-card.is-current,
.run-story.is-enhanced .demo-phone-activity.activity-card.is-current {
  opacity: 1;
  transform: translateY(0);
}

.demo-phone-activity.activity-card.is-past,
.run-story.is-enhanced .demo-phone-activity.activity-card.is-past {
  opacity: 0;
  transform: translateY(-115%);
}

.demo-phone-activity .activity-card-top {
  grid-template-columns: 40px 1fr auto;
  gap: 9px;
  padding-bottom: 10px;
}

.demo-phone-activity .activity-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.demo-phone-activity .activity-icon svg {
  width: 23px;
  height: 23px;
}

.demo-phone-activity .activity-card-top strong,
.demo-phone-activity .activity-card-bottom strong {
  font-size: 0.93rem;
}

.demo-phone-activity .activity-card-top span,
.demo-phone-activity .activity-card-bottom span {
  font-size: 0.61rem;
}

.demo-phone-activity .activity-card-top > p strong {
  font-size: 1.35rem;
}

.demo-phone-activity .activity-card-bottom {
  padding-top: 10px;
}

.demo-phone-activity .activity-card-bottom > p {
  font-size: 0.68rem;
}

.faq {
  padding-block: clamp(110px, 14vw, 180px);
  border-top: 1px solid var(--line);
}

.plan-source {
  border-top: 1px solid rgba(37, 29, 8, 0.3);
  background: var(--yellow);
  color: var(--yellow-ink);
}

.plan-source-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(520px, 1fr);
  align-items: center;
  gap: clamp(64px, 9vw, 130px);
  padding-block: clamp(84px, 10vw, 130px);
}

.plan-source .section-copy,
.faq .section-copy {
  display: block;
  margin: 0;
}

.plan-source .section-copy h2 {
  max-width: 11ch;
  margin-bottom: 24px;
}

.plan-source .section-copy > p {
  margin-bottom: 30px;
  max-width: 31rem;
  color: rgba(37, 29, 8, 0.76);
  font-size: 1.08rem;
}

.plan-routes {
  border-top: 1px solid rgba(37, 29, 8, 0.38);
}

.plan-route {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 152px;
  border-bottom: 1px solid rgba(37, 29, 8, 0.38);
  color: inherit;
  text-decoration: none;
}

.plan-route > span {
  align-self: start;
  padding-top: 34px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.62;
}

.plan-route h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.035em;
}

.plan-route p {
  max-width: 42rem;
  margin: 0;
  color: rgba(37, 29, 8, 0.72);
}

.plan-route > b {
  padding-inline: 14px 6px;
  font-size: 2rem;
  transition: transform 180ms ease;
}

.plan-route:hover > b,
.plan-route:focus-visible > b {
  transform: translateX(6px);
}

.faq .section-copy {
  margin-bottom: 46px;
}

.faq .section-copy h2 {
  max-width: 12ch;
}

@media (max-width: 1040px) {
  .run-story-layout {
    grid-template-columns: minmax(360px, 0.7fr) minmax(340px, 0.8fr);
    gap: 48px;
  }

  .plan-source-inner {
    gap: 58px;
  }
}

@media (max-width: 820px) {
  .run-story-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .run-story-rail {
    display: contents;
  }

  .run-hero-copy {
    order: 1;
    width: 100%;
    min-height: auto;
    padding-block: 92px 64px;
  }

  .run-story-device {
    top: 82px;
    order: 2;
    width: 100%;
    margin: 0 auto 64px;
  }

  .demo-device-shell {
    height: min(720px, calc(100svh - 102px));
    min-height: 610px;
    transform: rotateY(4deg) rotateX(1deg);
  }

  .run-beat {
    order: 3;
    width: 100%;
    min-height: 72svh;
  }

  .plan-source-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    min-height: auto;
    padding-block: 92px;
  }

}

@media (max-width: 600px) {
  .run-hero-copy h1 {
    font-size: clamp(4rem, 20vw, 5.5rem);
  }

  .run-story-device {
    top: 76px;
    width: 100%;
    padding: 0 10px 12px 0;
  }

  .demo-device-shell {
    height: min(700px, calc(100svh - 92px));
    min-height: 580px;
    transform: rotateY(2.5deg) rotateX(0.7deg);
  }

  .run-story-stage {
    width: 100%;
    height: 100%;
    padding: 0;
    border-width: 7px;
    border-radius: 38px;
    box-shadow: 1px 1px 0 #707178, 5px 6px 0 #0a0a0c, 14px 19px 30px rgba(0, 0, 0, 0.34);
  }

  .demo-dynamic-island {
    top: 10px;
    width: 76px;
    height: 21px;
  }

  .demo-app-scroll {
    padding: 44px 11px 44px;
  }

  .demo-phone-bar {
    margin-bottom: 14px;
  }

  .demo-phone-bar span:first-child,
  .demo-phone-bar span:last-child {
    font-size: 0.62rem;
  }

  .demo-calendar {
    margin-top: 10px;
    margin-bottom: 9px;
  }

  .demo-calendar li {
    padding-inline: 0;
  }

  .demo-calendar li > small {
    font-size: 0.5rem;
  }

  .demo-contract {
    padding: 15px 14px 0;
    border-radius: 17px;
  }

  .demo-contract-head {
    margin-bottom: 16px;
  }

  .demo-contract-head h2 {
    font-size: 0.86rem;
  }

  .demo-contract-head p {
    font-size: 0.74rem;
  }

  .demo-contract-total strong {
    font-size: clamp(2.65rem, 14vw, 3.35rem);
  }

  .demo-contract-total p:last-child strong {
    font-size: 1.6rem;
  }

  .demo-contract-total span {
    font-size: 0.7rem;
  }

  .demo-contract-goals {
    padding-block: 13px;
  }

  .demo-goal {
    grid-template-columns: 36px 1fr;
    gap: 7px;
  }

  .demo-goal + .demo-goal {
    margin-left: 7px;
    padding-left: 9px;
  }

  .demo-ring {
    width: 36px;
    height: 36px;
  }

  .demo-ring::after {
    inset: 7px;
  }

  .demo-goal p > span {
    font-size: 0.64rem;
  }

  .demo-goal p > strong {
    font-size: 0.62rem;
  }

  .demo-goal p b {
    font-size: 1.15rem;
  }

  .demo-contract-foot {
    min-height: 48px;
    font-size: 0.62rem;
  }

  .demo-contract-foot strong {
    font-size: 0.64rem;
  }

  .demo-run-stack {
    height: 160px;
  }

  .run-beat {
    min-height: 68svh;
    padding-block: 68px;
  }

  .activity-card {
    padding: 17px;
    border-radius: 17px;
  }

  .activity-card-top {
    grid-template-columns: 44px 1fr auto;
    gap: 11px;
  }

  .activity-icon {
    width: 44px;
    height: 44px;
  }

  .activity-card-top strong,
  .activity-card-bottom strong {
    font-size: 1.05rem;
  }

  .activity-card-top span,
  .activity-card-bottom span {
    font-size: 0.7rem;
  }

  .activity-card-top > p strong {
    font-size: 1.55rem;
  }

  .faq {
    padding-block: 100px;
  }

  .plan-source-inner {
    padding-block: 76px;
  }

  .plan-route {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 14px;
    min-height: 142px;
  }

  .plan-route > span {
    padding-top: 31px;
  }

}

/* Mobile is a reading flow, not a scaled-down desktop canvas. */
@media (max-width: 600px) {
  :root {
    --shell: calc(100% - 32px);
  }

  html {
    scroll-padding-top: calc(76px + env(safe-area-inset-top));
  }

  main,
  main > section,
  main > header,
  .shell,
  .site-footer {
    min-width: 0;
    max-width: 100%;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: calc(64px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
    overflow: hidden;
  }

  .brand {
    gap: 7px;
    min-width: 0;
    font-size: 1.18rem;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .mobile-nav {
    min-width: 0;
    gap: 0;
  }

  .mobile-nav a {
    min-height: 44px;
    padding-inline: 6px;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .site-header > .button-small {
    min-height: 42px;
    max-width: 164px;
    padding-inline: 12px;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .run-hero-copy {
    padding-block: 54px 44px;
  }

  .run-hero-copy h1 {
    max-width: 7ch;
    margin-bottom: 20px;
    font-size: clamp(3.35rem, 16.5vw, 4.25rem);
    line-height: 0.94;
  }

  .run-hero-copy > p:not(.eyebrow):not(.hero-aside) {
    margin-bottom: 28px;
    font-size: 1rem;
  }

  .run-hero-copy .hero-actions {
    gap: 12px;
    width: 100%;
  }

  .run-hero-copy .button {
    width: 100%;
  }

  .run-hero-copy .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .run-story-device {
    position: relative;
    top: auto;
    width: 100%;
    margin: 0 auto 22px;
    padding: 6px 10px 14px;
  }

  .demo-device-shell {
    width: min(72vw, 252px);
    height: auto;
    min-height: 0;
    aspect-ratio: 1206 / 2622;
    transform: none;
  }

  .run-story-stage {
    border-radius: 32px;
    box-shadow:
      0 0 0 7px #1a1b20,
      0 18px 38px rgba(0, 0, 0, 0.34);
  }

  .demo-device-button {
    display: none;
  }

  .demo-caption {
    margin-top: 22px;
    margin-right: 0;
  }

  .run-beat,
  .run-story.is-enhanced .run-beat {
    min-height: 0;
    padding-block: 50px;
    opacity: 1;
  }

  .run-beat-copy {
    margin-bottom: 0;
  }

  .run-beat-copy h2 {
    max-width: 12ch;
    margin-bottom: 14px;
    font-size: clamp(2.15rem, 10.5vw, 2.7rem);
    line-height: 1;
  }

  .plan-source-inner {
    gap: 42px;
    padding-block: 62px;
  }

  .plan-source .section-copy h2,
  .faq .section-copy h2 {
    margin-bottom: 18px;
    font-size: clamp(2.45rem, 12vw, 3rem);
  }

  .plan-source .section-copy > p {
    margin-bottom: 0;
    font-size: 1rem;
  }

  .plan-route {
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 12px;
    min-height: 0;
    padding-block: 25px;
  }

  .plan-route > span {
    display: none;
  }

  .plan-route h3 {
    font-size: 1.85rem;
  }

  .plan-route > b {
    padding: 0;
    text-align: right;
  }

  .faq {
    padding-block: 72px;
  }

  .faq .section-copy {
    margin-bottom: 28px;
  }

  .faq-list summary {
    min-height: 56px;
    padding-block: 18px;
    padding-right: 34px;
  }

  .closing {
    width: calc(100% - 24px);
    margin-block: 56px 28px;
    padding: 48px 20px;
  }

  .closing h2 {
    font-size: 2.5rem;
  }

  .plans-page,
  .create-page,
  .reading-page {
    padding-top: 38px;
    padding-bottom: 92px;
  }

  .plans-intro,
  .page-intro {
    margin-bottom: 36px;
  }

  .plans-intro h1,
  .create-intro h1,
  .help-page .page-intro h1,
  .page-intro h1 {
    max-width: 12ch;
    margin-bottom: 16px;
    font-size: clamp(2.65rem, 13vw, 3.25rem);
    line-height: 0.98;
  }

  .plans-intro p,
  .create-intro > p:not(.eyebrow),
  .help-page .page-intro > p,
  .page-intro > p {
    font-size: 1rem;
  }

  .plan-workbench-top {
    gap: 54px;
  }

  .plan-selectors {
    gap: 14px;
  }

  .plan-selector select,
  .plan-select-shell {
    min-width: 0;
    max-width: 100%;
  }

  .plan-selector select {
    min-height: 56px;
    font-size: 1.18rem;
  }

  .selected-plan-copy {
    margin-top: 34px;
    padding-top: 22px;
  }

  .selected-plan-copy h2 {
    overflow-wrap: anywhere;
    font-size: clamp(1.9rem, 9.5vw, 2.25rem);
    white-space: normal;
  }

  .plan-demand {
    margin-block: 28px 24px;
  }

  .plan-actions {
    display: grid;
    gap: 10px;
  }

  .plan-actions .button {
    width: 100%;
  }

  .plan-gradual {
    min-height: 44px;
    padding-block: 11px;
  }

  .plan-preview-device {
    position: relative;
    top: auto;
    width: 100%;
    margin: 0 auto;
  }

  .plan-demo-device-shell {
    width: min(76vw, 292px);
    max-width: 100%;
    transform: none;
  }

  .plan-demo-stage {
    border-radius: 32px;
    box-shadow:
      0 0 0 7px #1a1b20,
      0 18px 38px rgba(0, 0, 0, 0.34);
  }

  .plan-device-button {
    display: none;
  }

  .plan-preview-caption {
    margin-top: 22px;
  }

  .plan-block-detail {
    margin-top: 72px;
  }

  .plan-block-detail > header {
    gap: 16px;
    margin-bottom: 30px;
  }

  .plan-block-detail > header h2 {
    font-size: clamp(2rem, 9.5vw, 2.5rem);
  }

  .plan-mileage-profile {
    padding-block: 28px 22px;
  }

  .plan-profile-summary {
    gap: 18px;
  }

  .plan-profile-summary strong {
    font-size: 1.8rem;
  }

  .plan-week-bars {
    grid-template-columns: repeat(var(--week-count), minmax(10px, 1fr));
    gap: 3px;
    height: 126px;
    margin-top: 30px;
  }

  .plan-week-bar span {
    margin-bottom: 5px;
    font-size: 0.62rem;
  }

  .plan-profile-phases {
    gap: 4px;
    font-size: 0.65rem;
  }

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

  .selected-week {
    margin-top: 64px;
  }

  .selected-week-head {
    gap: 22px;
    margin-bottom: 22px;
  }

  .selected-week-head h3 {
    font-size: 3.2rem;
  }

  .selected-week-contracts {
    gap: 10px;
  }

  .selected-week-contracts p {
    text-align: left;
  }

  .selected-week-contracts span {
    font-size: 0.7rem;
  }

  .selected-week-contracts strong {
    font-size: 0.78rem;
  }

  .week-calendar {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .week-day {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px 14px;
    min-height: 0;
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .week-day:last-child {
    border-bottom: 0;
  }

  .week-day > span {
    grid-column: 1;
    margin: 0;
    font-size: 0.78rem;
  }

  .week-day-run,
  .week-day-empty {
    grid-column: 2;
  }

  .week-day-run {
    min-width: 0;
    padding-top: 13px;
  }

  .week-day-run + .week-day-run {
    margin-top: 4px;
    padding-top: 16px;
  }

  .week-day-run strong {
    margin-bottom: 4px;
    font-size: 1.05rem;
  }

  .week-day-run small {
    margin-top: 0;
    padding-top: 2px;
    font-size: 0.84rem;
  }

  .week-day-empty {
    margin: 0;
  }

  .download-help,
  .plain-note {
    margin-top: 72px;
  }

  .create-intro-actions {
    gap: 10px;
    margin-top: 28px;
  }

  .create-intro-actions .button {
    width: 100%;
  }

  .create-intro-actions .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .create-paths {
    margin-top: 64px;
    border-radius: 16px;
  }

  .create-paths article {
    min-width: 0;
    padding: 26px 22px;
  }

  .create-paths h2 {
    font-size: 1.2rem;
  }

  .create-paths h3 {
    overflow-wrap: anywhere;
    font-size: clamp(1.9rem, 9vw, 2.25rem);
  }

  .create-steps {
    gap: 22px;
    margin-top: 72px;
    padding-top: 24px;
  }

  .create-steps h2,
  .prompt-section h2,
  .create-faq h2 {
    font-size: clamp(2.1rem, 10vw, 2.6rem);
  }

  .create-steps li {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    padding-block: 18px;
  }

  .create-safety {
    margin-top: 72px;
    padding: 24px 22px;
    border-top: 1px solid var(--yellow);
    border-left: 0;
  }

  .prompt-section,
  .create-faq {
    margin-top: 80px;
    padding-top: 24px;
  }

  .prompt-section > header {
    gap: 14px;
  }

  .prompt-section > header .button {
    width: 100%;
  }

  .due-prompt {
    width: 100%;
    max-height: 520px;
    margin-top: 28px;
    padding: 18px;
    border-radius: 14px;
    font-size: 0.76rem;
    line-height: 1.6;
  }

  .help-index {
    gap: 7px;
    margin-bottom: 42px;
  }

  .help-index a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 12px;
  }

  .help-page .help-section,
  .legal-page section {
    margin-top: 64px;
    padding-top: 26px;
  }

  .help-section h2,
  .legal-page section h2 {
    font-size: clamp(2rem, 9.5vw, 2.45rem);
  }

  .steps {
    margin-top: 30px;
  }

  .steps li {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 7px 12px;
    padding-block: 18px;
  }

  .site-footer {
    width: calc(100% - 32px);
    padding-top: 28px;
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }

  .site-footer nav {
    gap: 4px 18px;
  }

  .site-footer nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (max-width: 360px) {
  .site-header .brand span {
    display: none;
  }

  .mobile-nav a {
    padding-inline: 5px;
  }

  .site-header > .button-small {
    max-width: 154px;
  }
}

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

  .demo-calendar li,
  .demo-calendar li > small,
  .run-story-stage,
  .demo-progress span,
  .demo-ring,
  .demo-app-scroll,
  .demo-phone-activity.activity-card,
  .real-app-frame,
  .run-beat,
  .activity-card {
    transition: none;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: white;
    color: black;
  }

  .site-header,
  .site-footer,
  .button,
  .help-index {
    display: none;
  }

  .reading-page {
    width: auto;
    padding: 0;
  }

  .page-intro,
  .help-section,
  .legal-page section {
    max-width: none;
    break-inside: avoid;
  }

  .page-intro > p,
  .help-section > p,
  .legal-page section p,
  .legal-page section li,
  .steps span {
    color: #333;
  }
}
