/* PRICING.

   The page where the ladder is the point. Three tiers, and the only thing
   that changes up them is how much of the operation you hand over, so the
   tiers are drawn as positions on one rail rather than as three cards in a
   row: the row of cards with a badge floating on the middle one is the
   shape every pricing page already ships, and it says less.

   It shares The Mind's palette, measure and type, Proof's evidence
   language for anything that states a figure, and the Founding Circle's
   own card, which is lifted here unchanged because it is the same offer.

   The calculator at the foot is a real control. Every slider, profile and
   tier on it moves the numbers, because a control that cannot answer a
   click should not be on the page at all.

   Mono appears only where the content is data: a price, a figure, a
   column label. Prose is PP Mori. */

@font-face {
  font-family: "PP Mori";
  src: url("../fonts/PPMori-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* surfaces */
  --page: #101010;
  --card: #141a23;
  --rule: #202936;
  --deep: #171e28;
  --edge: #2a3442;

  /* state */
  --hot: #e8a33d;
  --gold: #e8b44f;
  --gold-lit: #f0c468;
  --wait: #8fb4e0;
  --brand: #4a90e2;

  /* the trace's own two series, so a legend swatch and the shader agree */
  --sig: #5f6b7d;
  --quiet: #394452;
  --faint: #313c4b;

  /* ink */
  --ink: #ffffff;
  --ink-2: #c9cfd4;
  --ink-3: #a2aab1;
  --ink-4: #8a93a0;
  --ink-5: #737d88;
  --ink-6: #5f6874;
  --ink-7: #4a535f;

  --sans: "PP Mori", -apple-system, BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --h2: clamp(26px, 2.55vw, 44px);
  --sub: clamp(15px, 1.15vw, 20px);
  --body: clamp(14px, 1vw, 17px);
  --cap: clamp(11px, .85vw, 15px);

  --gap: clamp(88px, 9vw, 200px);
  --gut: clamp(20px, 4.2vw, 72px);
  --nav-h: 80px;
  --pane-r: clamp(18px, 1.6vw, 24px);
  --pane-p: clamp(20px, 2.6vw, 44px);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
dt,
figure,
figcaption {
  margin: 0;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

b {
  font-weight: 400;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.wrap {
  width: 100%;
  max-width: calc(1584px + var(--gut) * 2);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.mono {
  font-family: var(--mono);
  letter-spacing: .12em;
}

.dim {
  color: var(--ink-6);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 99;
  background: var(--brand);
  color: #fff;
  padding: 12px 18px;
  border-radius: 4px;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

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

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sig);
  flex: none;
}

.dot--wait {
  background: var(--wait);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1;
  padding: 12px 20px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  background: none;
  color: var(--ink-3);
  transition: background-color .22s ease, color .22s ease;
}

.btn--brand {
  background: #478fc6;
  color: #fff;
}

.btn--brand:hover {
  background: #5a9fd6;
}

.btn--big {
  padding: 16px 28px;
  font-size: clamp(15px, 1.15vw, 18px);
}

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

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: 26px 0 38px;
  pointer-events: none;
  background: linear-gradient(180deg,
      rgba(16, 16, 16, .97) 0%, rgba(16, 16, 16, .96) 40%, rgba(16, 16, 16, .78) 60%,
      rgba(16, 16, 16, .44) 76%, rgba(16, 16, 16, .16) 89%, rgba(16, 16, 16, 0) 100%);
}

.nav a {
  pointer-events: auto;
}

.nav__mark,
.nav__sign,
.nav__links a {
  text-shadow: 0 1px 8px rgba(16, 16, 16, .8);
}

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

.nav__mark {
  font-size: clamp(19px, 1.5vw, 26px);
  color: var(--ink);
  letter-spacing: .02em;
}

.nav__links {
  display: flex;
  gap: clamp(20px, 2.4vw, 38px);
  font-size: 15px;
  color: var(--ink-3);
}

.nav__links a:hover,
.nav__links a[aria-current] {
  color: var(--ink);
}

.nav__cta {
  padding: 10px 22px;
  border-radius: 4px;
}

/* The way back in, beside the way in. Deliberately not an outlined twin of the
   filled button: someone who already has an account needs a door, not a second
   offer, so it carries the nav's own weight and lets Apply keep all the colour. */
.nav__act {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 26px);
}

.nav__sign {
  font-size: 15px;
  color: var(--ink-3);
  transition: color .22s ease;
}

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

@media (max-width: 899px) {
  .nav {
    padding: 18px 0 30px;
  }

  .nav__links {
    display: none;
  }

  .nav__cta {
    padding: 8px 16px;
    font-size: 14px;
  }

  .nav__sign {
    font-size: 14px;
  }
}
/* ---- the way through, in the hand ------------------------------------

   Below 1024 the six links stand down and this takes their place. It is a
   native <details>, so it works with no JavaScript at all; nav.js only adds
   what a disclosure cannot do for itself (Escape, close-on-choose, a lock
   on the page behind it).

   The trigger is deliberately not three equal lines turning into a cross.
   It is the site's own index: six marks for six sections, with the one you
   are on carried at full length in brand. Opening extends every mark to
   that same length, and those marks are the same object that rules each row
   of the panel, so the control reads as a compressed form of what it opens.
   Every bar keeps its rounded caps in both states and travels its whole
   track, so nothing flips or stops half way.
   --------------------------------------------------------------------- */

.mnu {
  /* the component's own palette and measure, so every rule below is identical
     wherever this ships and only this header changes with the page's system */
  --mnu-surface: var(--card);
  --mnu-mark: var(--ink-4);
  --mnu-here: var(--brand);
  --mnu-link: var(--ink-2);
  --mnu-lit: var(--ink);
  --mnu-word: var(--ink-3);
  --mnu-gut: var(--gut);
  --mnu-bleed: 0px;
  --mnu-ring: var(--wait);
  --mnu-shade: rgba(16, 16, 16, .8);

  display: none;
  position: static;
  pointer-events: auto;
}

/* the bar is inert by default; the control and its panel have to opt back in */
.mnu__t,
.mnu__p {
  pointer-events: auto;
}

/* The summary keeps its own display: WebKit hangs the disclosure role off
   list-item, and changing it there can cost the control its semantics. The
   marker goes without touching display, and an inner span does the layout. */
.mnu__t {
  position: relative;
  /* the summary stays a list-item for its role, so its line box would otherwise
     add leading around the control and push the mark off centre */
  line-height: 0;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

/* The target is 44px without the bar being 44px tall. The control's own box
   stays the height of its mark and the hit area is cast around it, so adding
   the menu never pushed the header down over the hero behind it. */
.mnu__t::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  min-width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}

.mnu__tin {
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  gap: 10px;
  line-height: 1;
  padding-left: 2px;
}

.mnu__t::-webkit-details-marker {
  display: none;
}

.mnu__t::marker {
  content: "";
}

/* a fixed 18px slot per mark, so a short bar and a full one start on the
   same axis and the row beside them never shifts */
.mnu__i {
  filter: drop-shadow(0 1px 6px var(--mnu-shade));
  display: grid;
  gap: 2px;
  width: 18px;
  flex: none;
}

.mnu__b {
  width: 11px;
  height: 2px;
  border-radius: 1px;
  background: var(--mnu-mark);
  justify-self: start;
  transition: width .26s cubic-bezier(.33, .9, .3, 1), background-color .22s ease;
}

.mnu__b--here {
  width: 18px;
  background: var(--mnu-here);
}

/* only the trigger's own marks extend; the panel's rows keep encoding where
   you are, which is the whole point of them */
.mnu[open] .mnu__i .mnu__b {
  width: 18px;
}

.mnu__w {
  text-shadow: 0 1px 6px var(--mnu-shade);
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--mnu-word);
  transition: color .22s ease;
}

/* Focus and press answer everywhere. Hover is gated behind a device that has
   one, because on a touch screen it latches: tap the control and it stays lit
   until you tap something else. */
.mnu__t:focus-visible .mnu__w,
.mnu__t:active .mnu__w {
  color: var(--mnu-lit);
}

@media (hover: hover) {
  .mnu__t:hover .mnu__w {
    color: var(--mnu-lit);
  }
}

/* one word is in the accessible name at a time, never both */
.mnu[open] .mnu__w--shut,
.mnu:not([open]) .mnu__w--open {
  display: none;
}

/* ---- the panel ---- */

/* A sheet, not a section: it is lifted a step off the page rather than drawn
   with a line, and the bar lifts with it so the two read as one object. A fade
   was tried here first and was wrong, because as soon as the sheet has to
   scroll the fade lands on a live row and the page ghosts through it. */
.mnu__p {
  position: absolute;
  left: calc(-1 * var(--mnu-bleed));
  right: calc(-1 * var(--mnu-bleed));
  top: calc(100% + 16px);
  padding: 6px var(--mnu-gut) 26px;
  background: var(--mnu-surface);
  max-height: calc(100vh - 148px);
  max-height: calc(100dvh - 148px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mnu__l {
  display: grid;
}

.mnu__l a {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 56px;
  font-size: 19px;
  letter-spacing: .01em;
  text-decoration: none;
  color: var(--mnu-link);
  transition: color .2s ease;
}

.mnu__l a:focus-visible,
.mnu__l a:active {
  color: var(--mnu-lit);
}

@media (hover: hover) {
  .mnu__l a:hover {
    color: var(--mnu-lit);
  }
}

/* Where you are is carried by the type and its own mark, never by a dot tacked
   underneath. Reading it off aria-current means the markup states it once. */
.mnu__l a[aria-current] {
  color: var(--mnu-lit);
}

.mnu__l a[aria-current] .mnu__b {
  width: 18px;
  background: var(--mnu-here);
}

/* an account action, not a seventh section, so it carries no section mark and
   sits off the run of six on its own air */
.mnu__f {
  margin-top: 26px;
}

.mnu__f a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  text-decoration: none;
  color: var(--mnu-word);
  transition: color .2s ease;
}

.mnu__f a:focus-visible,
.mnu__f a:active {
  color: var(--mnu-lit);
}

@media (hover: hover) {
  .mnu__f a:hover {
    color: var(--mnu-lit);
  }
}

/* The six section pages carry a site-wide focus ring; the home page carries
   none, so the component brings its own rather than leaving a new keyboard
   control relying on the browser default over a dark hero. */
.mnu__t:focus-visible,
.mnu__l a:focus-visible,
.mnu__f a:focus-visible {
  outline: 2px solid var(--mnu-ring);
  outline-offset: 3px;
}

/* The entrance moves the sheet only. Opacity stays at 1 the whole way, so a
   transition that never runs still leaves every link fully readable. */
@media (prefers-reduced-motion: no-preference) {
  .mnu__p {
    transition: transform .24s cubic-bezier(.33, .9, .3, 1);
  }

  @starting-style {
    .mnu[open] .mnu__p {
      transform: translateY(-8px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {

  .mnu__b,
  .mnu__w,
  .mnu__l a,
  .mnu__f a {
    transition: none;
  }
}

@media (max-width: 1024px) {
  .nav__in {
    position: relative;
  }

  .nav__links {
    display: none;
  }

  /* the way back in moves into the panel; the bar keeps only the way in */
  .nav__sign {
    display: none;
  }

  .mnu {
    display: block;
  }

  /* Open, the scrim has nothing left to fade into, so it takes the sheet's own
     surface and the two become one object with a single edge at the bottom.
     An opaque sheet must also stop passing clicks through to the page under it.
     The class is set by nav.js; :has covers the no-JavaScript path. */
  .nav.is-menu,
  .nav:has(.mnu[open]) {
    background: var(--card);
    pointer-events: auto;
  }

  /* the page behind an open sheet should not travel under it */
  html.is-locked,
  html.is-locked body {
    overflow: hidden;
  }
}

/* Measured, not guessed: the bar needs 377px to hold the wordmark, Apply and a
   worded control on one line, and 329px without the word. Below that the
   wordmark is what breaks, so the word gives up its pixels and keeps its place
   in the accessible name. The hit area is unaffected: it is cast, not measured. */
@media (max-width: 379px) {
  .mnu__w {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    clip-path: inset(50%);
  }
}

/* On paper the control is dead and the sheet is not the page, so neither prints. */
@media print {
  .mnu {
    display: none;
  }
}



/* ---- section rhythm -------------------------------------------------- */

.sec {
  padding-top: var(--gap);
}

.hero {
  padding-top: calc(var(--nav-h) + clamp(28px, 4vw, 86px));
}

.head {
  max-width: 760px;
}

.head--mid {
  margin-inline: auto;
  text-align: center;
}

.head h2 {
  font-size: var(--h2);
  line-height: 1.26;
  letter-spacing: -.03em;
  color: var(--ink);
  font-weight: 400;
}

.head .kicker+h2 {
  margin-top: 16px;
}

.head .sub {
  font-size: var(--sub);
  line-height: 1.6;
  color: var(--ink-3);
  margin-top: 16px;
}

.kicker {
  font-size: var(--cap);
}

.cta__go {
  margin-top: 32px;
}

.note {
  font-size: var(--sub);
  line-height: 1.6;
  color: var(--ink-5);
  margin-top: clamp(28px, 3vw, 48px);
}

.note--mid {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

/* The panel: a surface a shade off the page, edged in its own colour. */
.pane {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--pane-r);
  padding: var(--pane-p);
}

/* The two header shapes this page uses: the hero's, and every section's. */
.statement,
.split {
  display: grid;
  gap: clamp(32px, 4vw, 100px);
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* The hero line is long; give it the room rather than let it stair-step. */
@media (min-width: 900px) {
  .statement {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  }
}

.statement__h,
.split__h {
  font-size: clamp(28px, 2.9vw, 50px);
  line-height: 1.25;
  letter-spacing: -.03em;
  color: var(--ink);
  font-weight: 400;
}

.split__h {
  font-size: var(--h2);
}

.statement__body,
.split__body {
  display: grid;
  gap: 20px;
  align-content: start;
}

.statement__body p,
.split__body p {
  font-size: var(--sub);
  line-height: 1.6;
  color: var(--ink-3);
}

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

.foot {
  margin-top: var(--gap);
  padding-bottom: clamp(32px, 3vw, 56px);
}

.foot__top {
  display: grid;
  gap: clamp(28px, 3vw, 56px);
  padding-top: clamp(28px, 3vw, 48px);
  border-top: 1px solid var(--rule);
}

@media (min-width: 900px) {
  .foot__top {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
}

.foot__mark {
  font-size: clamp(24px, 2.2vw, 34px);
  color: var(--ink);
  letter-spacing: .02em;
}

.foot__say {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.6;
  color: var(--ink-5);
  margin-top: 12px;
  max-width: 420px;
}

.foot__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 64px);
}

.foot__cols div {
  display: grid;
  gap: 11px;
  align-content: start;
}

.foot__cap {
  font-size: 9px;
  color: var(--ink-6);
}

.foot__cols a {
  font-size: clamp(13px, 1.05vw, 16px);
  color: var(--ink-3);
}

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

.foot__base {
  display: grid;
  gap: 12px;
  margin-top: clamp(24px, 2.6vw, 40px);
  padding-top: clamp(16px, 1.8vw, 26px);
  border-top: 1px solid var(--rule);
}

@media (min-width: 900px) {
  .foot__base {
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
  }
}

.foot__legal {
  display: flex;
  gap: 20px;
}

.foot__legal a,
.foot__c {
  font-size: clamp(13px, 1vw, 14px);
  color: var(--ink-5);
}

.foot__legal a:hover {
  color: var(--ink-2);
}

.foot__c {
  color: var(--ink-6);
}



/* ---- the ladder -------------------------------------------------------- */

/* Three positions on one rail. The rail is the argument: you are not picking
   a different product, you are picking how far along it you want to stand. */

.ladder {
  margin-top: clamp(44px, 5vw, 88px);
  padding: clamp(26px, 3vw, 44px) clamp(20px, 2.6vw, 44px) clamp(28px, 3.2vw, 46px);
  border-radius: var(--pane-r);
  background: var(--card);
}

.ladder__cap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: clamp(10px, .82vw, 13px);
  letter-spacing: .2em;
  color: var(--ink-4);
}

.ladder__cap span:last-child { text-align: right; }

.tiers {
  display: grid;
  gap: clamp(28px, 3vw, 40px);
  margin-top: clamp(26px, 3vw, 44px);
}

@media (min-width: 860px) {
  .tiers {
    --tier-gap: clamp(24px, 2.6vw, 56px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--tier-gap);
  }
}

/* Each tier is a column on a shared horizontal grid, so the verb, the copy,
   the marker and the price all sit on one line across the three of them
   however long any one description runs. */
.tier {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto auto;
  gap: 0;
  text-align: center;
}

/* The flag is empty on two of the three columns, so it has to measure the same
   whether it holds a word or not: without a stated line-height the filled one
   inherited the body's and stood three pixels taller, which pushed its whole
   column out of step with its neighbours. */
.tier__flag {
  font-size: clamp(10px, .82vw, 13px);
  line-height: 1.4;
  letter-spacing: .2em;
  color: var(--hot);
  min-height: 1.4em;
}

/* Measured on the page: ink-5 at these sizes came back at 4.18 to 1, under the
   4.5 a line this small needs. */
.tier__k {
  font-size: clamp(10px, .82vw, 13px);
  letter-spacing: .2em;
  color: var(--ink-4);
  padding-top: clamp(8px, 1vw, 14px);
}

.tier__verb {
  padding-top: clamp(8px, .9vw, 12px);
  font-size: clamp(19px, 1.7vw, 27px);
  line-height: 1.22;
  letter-spacing: -.012em;
  color: var(--ink);
}

.tier__say {
  padding-top: clamp(10px, 1.1vw, 16px);
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.5;
  color: var(--ink-4);
}

/* each plan's Spark line: the app's own limit (10 captures a month on Launch, unlimited on Scale and Intelligence) */
.tier__spark {
  padding-top: clamp(6px, .7vw, 10px);
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.5;
  color: var(--ink);
}

/* the rail, drawn per column so it stays on one axis at any width */
.tier__rail {
  position: relative;
  height: clamp(28px, 3.4vw, 54px);
}

/* The rail is one line through all three markers, so each column's segment has
   to reach out over the grid gap to meet its neighbour: drawn only to the
   column's own edges it arrives as three short dashes with a hole where the
   gap is, which is not a ladder. */
.tier__rail::before {
  content: "";
  position: absolute;
  left: calc(var(--tier-gap, 0px) / -2);
  right: calc(var(--tier-gap, 0px) / -2);
  top: 50%;
  height: 1px;
  background: var(--edge);
}

/* and it starts and stops at the outer markers, never off the card's edge */
.tier:first-child .tier__rail::before { left: 50%; }
.tier:last-child .tier__rail::before { right: 50%; }

/* stacked: see the ladder on its side, after the ladder's own rules */

.tier__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--quiet);
}

.tier--pick .tier__mark { background: var(--hot); }

.tier__price {
  font-family: var(--mono);
  font-size: clamp(27px, 2.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
}

.tier__per {
  padding-top: clamp(6px, .7vw, 10px);
  font-size: clamp(13px, 1.05vw, 16px);
  color: var(--ink-4);
}

.ladder__every {
  max-width: 1100px;
  margin: clamp(30px, 3.4vw, 52px) auto 0;
  text-align: center;
  font-size: clamp(13px, 1.15vw, 18px);
  line-height: 1.6;
  color: var(--ink-4);
}


/* Stacked, the ladder turns on its side: one track down the left that every
   tier's marker stands on, and each tier read the way a price is read, name,
   then what it costs, then what it does. Centred, the three ran together into
   one column of same-sized lines with the markers floating loose between them. */
@media (max-width: 859px) {
  .tiers {
    gap: 34px;
  }

  .tier {
    grid-template-columns: 30px auto minmax(0, 1fr);
    grid-template-rows: none;
    align-items: baseline;
    text-align: left;
  }

  .tier > * {
    grid-column: 2 / -1;
  }

  .tier__flag { order: 1; }
  .tier__k { order: 2; }
  .tier__verb { order: 3; }
  .tier__price,
  .tier__per { order: 4; }
  .tier__say { order: 5; }
  .tier__spark { order: 6; }
  .tier__rail { order: 0; }

  .tier__flag:empty {
    display: none;
  }

  .tier__flag {
    min-height: 0;
    padding-bottom: 6px;
  }

  .tier__k {
    padding-top: 0;
  }

  .tier__verb {
    padding-top: 10px;
    font-size: 21px;
  }

  /* the price stands beside its unit on one baseline */
  .tier__price {
    grid-column: 2;
    padding-top: 12px;
    font-size: 30px;
  }

  .tier__per {
    grid-column: 3;
    padding: 0 0 0 10px;
    font-size: 14px;
  }

  .tier__say {
    padding-top: 12px;
    font-size: 14px;
  }

  .tier__spark {
    padding-top: 8px;
    font-size: 14px;
  }

  /* the track: from this tier's marker down to the next one's */
  .tier__rail {
    grid-column: 1;
    grid-row: 1 / span 9;
    align-self: stretch;
    height: auto;
  }

  .tier__mark {
    left: 7px;
    top: 4px;
    margin: 0 0 0 -7px;
  }

  .tier__rail::before {
    display: block;
    left: 6px;
    right: auto;
    width: 2px;
    height: auto;
    top: 18px;
    bottom: -38px;
    border-radius: 2px;
  }

  .tier:first-child .tier__rail::before { left: 6px; }
  .tier:last-child .tier__rail::before { display: none; }

  .ladder__every {
    text-align: left;
  }
}

/* ---- what changes, said once ------------------------------------------- */

/* No feature matrix: one situation per row, and one line per tier about who
   moves. Rows are a real grid so every tier's answer starts on one edge. */

.differ { margin-top: clamp(34px, 4vw, 64px); }

.differ__r {
  display: grid;
  gap: clamp(4px, .6vw, 10px) clamp(16px, 2vw, 40px);
  padding: clamp(16px, 1.8vw, 26px) 0;
  border-top: 1px solid var(--rule);
}

.differ__r:first-child { border-top: 0; }

@media (min-width: 860px) {
  .differ__r { grid-template-columns: 1.15fr .9fr 1.05fr 1.1fr; align-items: baseline; }
}

/* Stacked, each answer already names its own tier, so the header would only
   repeat four labels nobody needs twice. */
.differ__h { display: none; }

@media (min-width: 860px) {
  .differ__h {
    display: grid;
    padding-bottom: clamp(10px, 1.2vw, 16px);
    border-top: 0;
    font-size: clamp(10px, .82vw, 13px);
    letter-spacing: .2em;
  }
}

.differ__h span { color: var(--wait); }
.differ__h span:first-child { color: var(--ink-5); }

.differ__s {
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.4;
  color: var(--ink);
}

.differ__a {
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.4;
  color: var(--ink-3);
}

/* on a phone the answer needs to say which tier it belongs to */
.differ__a::before {
  content: attr(data-tier) " ";
  font-family: var(--mono);
  font-size: .72em;
  letter-spacing: .14em;
  color: var(--ink-5);
}

@media (min-width: 860px) {
  .differ__a::before { content: none; }
}

.differ__same .differ__a { color: var(--ink-4); }


/* ---- the register: included, and the trial ----------------------------- */

.reg {
  margin-top: clamp(30px, 3.4vw, 52px);
  border-radius: var(--pane-r);
  background: var(--card);
  overflow: hidden;
}

.reg__r {
  display: grid;
  gap: clamp(4px, .5vw, 8px) clamp(20px, 2.4vw, 44px);
  padding: clamp(16px, 1.8vw, 24px) clamp(18px, 2.2vw, 34px);
  border-top: 1px solid color-mix(in srgb, var(--rule) 75%, transparent);
}

.reg__r:first-child { border-top: 0; }

@media (min-width: 720px) {
  .reg__r { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: baseline; }
}

.reg__l {
  font-size: clamp(10px, .82vw, 13px);
  letter-spacing: .2em;
  color: var(--ink-4);
}

.reg__t { font-size: clamp(15px, 1.25vw, 19px); line-height: 1.4; color: var(--ink); }
.reg__d { font-size: clamp(13px, 1.1vw, 17px); line-height: 1.5; color: var(--ink-4); }



/* ---- the calculator ----------------------------------------------------- */

/* Every control here works. The profiles move both sliders to that founder's
   range, the sliders move the figures, and the tier changes what the figures
   are measured against. */

/* The point of this block is that you move something and watch a figure
   change, which only works if both are on screen at once. Stacked it ran past
   the fold and the answer was somewhere below your thumb, so the controls take
   one side and what they come to takes the other. */
/* Everything in this block is spaced against the viewport's HEIGHT, not its
   width, because height is the constraint it has to satisfy. Sized in vw it
   fitted a 900px screen and ran 40 to 74 pixels past the fold on the laptop
   heights people actually use. */
.sec--screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(28px, 6vh, 88px);
}

/* the promise of one screen is only made where the two-column card applies */
@media (min-width: 960px) {
  .sec--screen {
    min-height: 100vh;
    min-height: 100svh;
    padding-bottom: clamp(20px, 4vh, 56px);
  }
}

.calc {
  margin-top: clamp(12px, 2.2vh, 32px);
  padding: clamp(16px, 2.4vh, 36px) clamp(20px, 2.4vw, 36px);
  border-radius: var(--pane-r);
  background: var(--card);
}

@media (min-width: 960px) {
  .calc {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(26px, 2.8vw, 48px) clamp(36px, 4vw, 72px);
    align-items: start;
  }

  /* the three founders read across the whole card: squeezed into half of it
     each one broke to five lines and stopped being scannable */
  .calc__who { grid-column: 1 / -1; }
}

.calc__who {
  display: grid;
  gap: clamp(8px, 1vw, 16px);
}

@media (min-width: 760px) {
  .calc__who { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.who {
  display: block;
  width: 100%;
  padding: clamp(10px, 1.6vh, 20px) clamp(14px, 1.5vw, 20px);
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease;
}

.who:hover { border-color: var(--ink-6); }
.who[aria-pressed="true"] { border-color: var(--wait); }

/* the name is its own line, never run on into the range beside it */
.who__n {
  display: block;
  font-size: clamp(15px, 1.25vw, 18px);
  color: var(--ink-2);
}

.who[aria-pressed="true"] .who__n { color: var(--ink); }

.who__r {
  display: block;
  padding-top: clamp(5px, .6vw, 8px);
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.45;
  color: var(--ink-4);
}

/* a slider, with the figure it currently reads */
.dial { padding-top: clamp(14px, 2.6vh, 30px); }

.dial__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.dial__l { font-size: clamp(14px, 1.2vw, 18px); color: var(--ink-2); }

.dial__v {
  font-family: var(--mono);
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: -.02em;
  color: var(--ink);
}

.dial input[type="range"] {
  display: block;
  width: 100%;
  margin: clamp(12px, 1.4vw, 18px) 0 0;
  height: 18px;
  background: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.dial input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--wait) var(--at, 50%), var(--edge) var(--at, 50%));
}

.dial input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: var(--edge);
}

.dial input[type="range"]::-moz-range-progress {
  height: 4px;
  border-radius: 2px;
  background: var(--wait);
}

.dial input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -6px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
}

.dial input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
}

.dial input[type="range"]:focus-visible { outline: 2px solid var(--wait); outline-offset: 4px; }

.dial__scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: clamp(8px, .9vw, 12px);
  font-family: var(--mono);
  font-size: clamp(11px, .9vw, 13px);
  color: var(--ink-4);
}

.dial__scale span:nth-child(2) { text-align: center; }
.dial__scale span:last-child { text-align: right; }

/* which tier the figures are measured against */
/* The label takes its own line so the three tiers sit together on one: left to
   wrap, the last of them dropped alone onto a second row. */
.against {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  padding-top: clamp(14px, 2.6vh, 30px);
}

.against__l {
  flex: 1 0 100%;
  font-size: clamp(12px, 1vw, 14px);
  color: var(--ink-4);
}

.pick {
  padding: 8px 14px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: none;
  font-family: var(--mono);
  font-size: clamp(11px, .9vw, 13px);
  letter-spacing: .08em;
  color: var(--ink-4);
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}

.pick:hover { border-color: var(--ink-6); color: var(--ink-2); }
.pick[aria-pressed="true"] { border-color: var(--hot); color: var(--hot); }

/* what it comes to, in Proof's register language */
.sum { padding-top: clamp(14px, 2.4vh, 32px); }

/* beside the controls the register starts level with them, not below */
@media (min-width: 960px) {
  .sum { padding-top: 0; }
  .sum__r:first-child { border-top: 0; padding-top: 0; }
}

.sum__r {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 40px);
  padding: clamp(9px, 1.7vh, 20px) 0;
  border-top: 1px solid color-mix(in srgb, var(--rule) 75%, transparent);
}

.sum__l { font-size: clamp(14px, 1.2vw, 18px); color: var(--ink-3); }

.sum__v {
  flex: none;
  font-family: var(--mono);
  font-size: clamp(17px, 1.5vw, 23px);
  letter-spacing: -.02em;
  color: var(--ink);
  text-align: right;
}

.sum__r--big .sum__v { font-size: clamp(23px, 2.2vw, 36px); color: var(--hot); }

/* When the stack is cheaper there is no figure to shout: the row carries a
   sentence instead, so it drops back to the weight of one. */
.sum__r--big.sum__r--soft .sum__v {
  font-size: clamp(15px, 1.25vw, 19px);
  color: var(--ink-2);
}
.sum__r--hours .sum__v { color: var(--wait); }

.calc__note {
  padding-top: clamp(12px, 2vh, 26px);
  font-size: clamp(13px, 1.1vw, 16px);
  color: var(--ink-4);
}


/* ---- questions ---------------------------------------------------------- */

.qa__r {
  display: grid;
  gap: clamp(8px, 1vw, 14px) clamp(24px, 3vw, 64px);
  padding: clamp(18px, 2.2vw, 32px) 0;
  border-top: 1px solid var(--rule);
}

@media (min-width: 860px) {
  .qa__r { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); align-items: baseline; }
}

.qa__q { font-size: clamp(15px, 1.25vw, 19px); line-height: 1.4; color: var(--ink); }
.qa__a { font-size: clamp(14px, 1.15vw, 18px); line-height: 1.55; color: var(--ink-4); }

/* Headings break into lines of even length rather than wherever the line
   runs out, so a narrow screen never strands one word on a line of its own;
   running text avoids a lone last word the same way. */
h1,
h2,
h3 {
  text-wrap: balance
}

p,
li {
  text-wrap: pretty
}

/* ---- in the hand: parallel sets become rails ----------------------------
   On a phone a set of parallel things (entries, situations, tiers, records)
   stacked into one column runs two screens long, and every one of them reads
   as more of the same. Turned on its side it is one row you swipe through, the
   next card always showing at the edge so the row says there is more. Every
   card is still in the page; nothing is hidden behind a control. The count
   under each rail is drawn by js/rail.js. */
@media (max-width: 759px) {
  :root {
    --gap: 64px;
  }

  [data-rail] {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  [data-rail]::-webkit-scrollbar {
    display: none;
  }

  [data-rail] > * {
    flex: 0 0 min(86%, 340px);
    min-width: 0;
    scroll-snap-align: start;
  }

  /* a rail that stands on the page, not inside a card, runs to the screen's
     edges so the next card is cut by the glass, not by the gutter */
  [data-rail].rail--bleed {
    margin-left: calc(-1 * var(--gut));
    margin-right: calc(-1 * var(--gut));
    padding-left: var(--gut);
    padding-right: var(--gut);
    scroll-padding-left: var(--gut);
  }

  [data-rail]:focus-visible {
    outline: 2px solid var(--ink-5);
    outline-offset: 4px;
    border-radius: 6px;
  }

  .rail-n {
    margin-top: 12px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .08em;
    font-variant-numeric: tabular-nums;
    color: var(--ink-5);
  }
}

/* ---- in the hand: one type scale ----------------------------------------
   Stacked on a phone the page headline, the section headings and the card
   headings had all come out between 26 and 30 pixels, so nothing outranked
   anything and a section heading read as loud as the page's own claim. Three
   clear steps instead: the page's headline, a section's, a card's. Section
   headings also lose the narrow measures they were set to on a wide frame,
   which stacked them three and four lines deep in a column this narrow. */
@media (max-width: 759px) {
  main h1,
  h1.statement__h,
  h1.belief__h {
    font-size: 32px;
    line-height: 1.12;
    letter-spacing: -.022em;
  }

  .head h2,
  h2.split__h,
  h2.band__h,
  h2.statement__h,
  h2.fic__h {
    font-size: 24px;
    line-height: 1.22;
    letter-spacing: -.012em;
    max-width: none;
  }
}

/* SHOPIFY'S APP STORE BADGE, under the plans. Shopify's own artwork, never
   restyled, at a height Shopify allows, with clear space of at least half
   that height on every side. */
.store-badge {
  --badge-h: 44px;
  display: inline-block;
  line-height: 0;
  margin: calc(var(--badge-h) / 2);
}

.store-badge img {
  display: block;
  height: var(--badge-h);
  width: auto;
}

.ladder__store {
  text-align: center;
  margin-top: clamp(16px, 2vw, 28px);
}

@media (max-width: 759px) {
  .store-badge { --badge-h: 40px }
}

/* The company line and the way to reach it, in the footer's own words: the
   links sit in the sentence, so they are underlined to read as links. */
.foot__say a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.foot__say a:hover,
.foot__say a:focus-visible {
  color: var(--ink);
}

/* ---- the plans as the Shopify App Store lists them (19 Nov) -----------
   Under each price, the yearly price and the features exactly as the
   listing words them, so the page and the listing never disagree. */
.tier__year {
  padding-top: 4px;
  font-size: clamp(12px, .95vw, 14px);
  color: var(--ink-4);
}

.tier__list {
  margin: clamp(16px, 1.6vw, 22px) auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  max-width: 30ch;
  text-align: left;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.45;
  color: var(--ink-3);
}

.tier__list li {
  position: relative;
  padding-left: 18px;
}

.tier__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--edge);
}

.ladder__src {
  max-width: 1100px;
  margin: clamp(14px, 1.4vw, 20px) auto 0;
  text-align: center;
  font-size: clamp(12px, .95vw, 14px);
  line-height: 1.6;
  color: var(--ink-4);
}

.ladder__src a {
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 859px) {
  .tier__year { order: 4; grid-column: 2 / -1; padding-top: 2px; }
  .tier__list { order: 7; margin: 14px 0 0; max-width: none; }
  .tier__rail { grid-row: 1 / span 11; }
  .ladder__src { text-align: left; }
}

/* With the listing's features under each price the three columns are no
   longer the same height below the rail, so the one flexible row can no
   longer keep the rail and the prices level. The columns share their rows
   instead: each row is as tall as the tallest of the three, so the verb,
   the rail, the price and the list each start on one line across the ladder. */
@media (min-width: 860px) {
  @supports (grid-template-rows: subgrid) {
    .tiers {
      grid-template-rows: repeat(10, auto);
      row-gap: 0;
    }

    .tier {
      grid-row: span 10;
      grid-template-rows: subgrid;
    }

    .tier__spark { align-self: end; }
  }
}

/* a shorter list keeps its own spacing rather than stretching to the longest */
.tier__list { align-content: start; align-self: start; }

/* the footer's small captions and copyright line at a readable contrast
   (ink-6 measured 3.4 to 1 on the page; ink-4 clears 4.5) */
.foot__cap,
.foot__c {
  color: var(--ink-4);
}
