/* PRICING TIERS (7 Oct, Sunny: "the pricing is extremely boring and loads of text ... we need to be MUCH better").
   Shared by the home (#price) and /pricing. Six type sizes and two weights from /crew-tokens.css; 4/8 spacing grid;
   fills before borders; flat cherry, used once (the Founder card). Every number in the markup is a <data data-price>. */
.tiers { --tr-gap: var(--fift-space-16); max-width: 1040px; margin-inline: auto; text-align: left; }
.tiers button { font: inherit; color: inherit; }

/* billing toggle */
.tg { display: flex; width: max-content; margin: 0 auto var(--fift-space-32); padding: var(--fift-space-4); gap: var(--fift-space-4); background: var(--fift-fill); border-radius: var(--fift-radius-capsule); }
.tg button { min-height: 40px; padding: 0 var(--fift-space-20); border: 0; border-radius: var(--fift-radius-capsule); background: transparent; font: 400 var(--t-body)/1 var(--e-sans); color: var(--fift-secondary); cursor: pointer; transition: background var(--fift-motion-duration-hover) var(--fift-ease-smooth), color var(--fift-motion-duration-hover) var(--fift-ease-smooth); }
.tg button.on { background: var(--fift-surface); color: var(--fift-text); font-weight: 600; box-shadow: 0 0 0 1px var(--h-line); }
.tg em { margin-left: var(--fift-space-4); font-style: normal; font-weight: 600; font-size: var(--t-note); color: var(--e-accent-text); }

/* the cards: three side by side; on a phone one swipeable row with the next card peeking */
.track { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--tr-gap); align-items: stretch; }
.tier { position: relative; display: grid; grid-template-rows: auto auto auto auto 1fr auto auto; align-content: start; gap: 0; padding: var(--fift-space-32) var(--fift-space-24) var(--fift-space-24); background: var(--fift-surface); border-radius: var(--fift-corner-26); corner-shape: squircle; box-shadow: 0 0 0 1px var(--h-line); }
.tier h3 { font: 600 var(--t-body)/1.2 var(--e-sans); letter-spacing: -0.01em; color: var(--fift-secondary); }
.tier .amt { display: flex; align-items: baseline; gap: var(--fift-space-8); margin-top: var(--fift-space-16); font-family: var(--e-display); }
.tier .num { font-weight: 400; font-size: var(--t-hero); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: lining-nums tabular-nums; }
.tier .per { font: 400 var(--t-body)/1 var(--e-sans); color: var(--fift-tertiary); }
.tier .was { display: flex; align-items: baseline; gap: var(--fift-space-8); min-height: var(--fift-space-24); margin-top: var(--fift-space-8); font: 400 var(--t-body)/1.5 var(--e-sans); color: var(--fift-tertiary); font-variant-numeric: tabular-nums; }
.tier .was s { text-decoration-thickness: 1.5px; text-decoration-color: var(--e-accent-text); }
.tier .life { font-weight: 600; color: var(--e-accent-text); }
.tier ul { list-style: none; padding: 0; margin: var(--fift-space-24) 0 0; display: grid; gap: var(--fift-space-12); align-content: start; border-top: 1px solid var(--h-line); padding-top: var(--fift-space-24); }
.tier li { display: grid; grid-template-columns: var(--fift-space-24) 1fr; align-items: center; gap: var(--fift-space-12); font: 400 var(--t-body)/1.3 var(--e-sans); color: var(--fift-text); }
.tier li svg { width: 20px; height: 20px; fill: none; stroke: var(--fift-secondary); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tier .soon { margin-top: var(--fift-space-24); display: block; text-align: center; line-height: 44px; min-height: 44px; font: 400 var(--t-note)/1.3 var(--e-sans); color: var(--fift-tertiary); background: var(--fift-fill); border-radius: var(--fift-radius-capsule); }
.tier .pill { margin-top: var(--fift-space-24); display: block; width: 100%; text-align: center; line-height: 44px; padding: 0; }

/* the Founder card: the launch deal, the only cherry */
.tier.hot { background: color-mix(in srgb, var(--fift-surface) 94%, var(--fift-crew-accent)); box-shadow: 0 0 0 1.5px var(--e-accent-text); }
.tier.hot h3 { color: var(--fift-text); }
.badge { position: absolute; top: 0; left: var(--fift-space-24); transform: translateY(-50%); padding: var(--fift-space-4) var(--fift-space-12); border-radius: var(--fift-radius-capsule); background: var(--fift-face-cherry-a); color: var(--fift-ivory); font: 600 var(--t-note)/1.4 var(--e-sans); }
.left { margin-top: var(--fift-space-16); display: grid; gap: var(--fift-space-8); font: 600 var(--t-note)/1.4 var(--e-sans); color: var(--e-accent-text); text-align: center; }
.bar { display: block; height: 4px; border-radius: var(--fift-radius-capsule); background: color-mix(in srgb, var(--e-accent-text) 18%, transparent); overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--claimedk, 0)); background: var(--fift-face-cherry-a); border-radius: var(--fift-radius-capsule); transition: transform var(--fift-motion-duration-draw) var(--fift-ease-smooth); }
.bar { visibility: hidden; }
.left[data-live="1"] .bar { visibility: visible; }

.studio { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: var(--fift-space-4) var(--fift-space-12); margin-top: var(--tr-gap); padding: var(--fift-space-16) var(--fift-space-24); background: var(--fift-fill); border-radius: var(--fift-corner-26); corner-shape: squircle; font-size: var(--t-body); color: var(--fift-secondary); text-align: center; }
.studio b { font-weight: 600; color: var(--fift-text); }

/* BRING 3: three slots fill, then the price turns into Free */
.bring { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--fift-space-24); margin-top: var(--fift-space-32); padding: var(--fift-space-24) var(--fift-space-32); background: var(--fift-surface); border-radius: var(--fift-corner-26); corner-shape: squircle; box-shadow: 0 0 0 1px var(--h-line); }
.slots { list-style: none; margin: 0; padding: 0; display: flex; }
.slots li { width: 48px; height: 48px; margin-left: calc(var(--fift-space-12) * -1); }
.slots li:first-child { margin-left: 0; }
.slots i { box-shadow: 0 0 0 3px var(--fift-surface); position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; border: 1.5px dashed var(--fift-tertiary); background: var(--fift-surface); box-sizing: border-box; }
.slots i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--fift-face-cherry-a); opacity: 0; transform: scale(.6); }
.slots i::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 24%; width: 28%; height: 28%; margin-left: -14%; border-radius: 50%; background: var(--fift-ivory); opacity: 0; box-shadow: 0 .62em 0 .3em var(--fift-ivory); clip-path: none; }
.b-t { font: 400 var(--t-question)/1.3 var(--e-serif); }
.b-free { color: var(--fift-text); }
.b-l { font: 600 var(--t-body)/1 var(--e-sans); color: var(--fift-text); text-decoration: none; white-space: nowrap; border-bottom: 1px solid var(--h-line); padding-bottom: var(--fift-space-4); }
.b-l:hover { border-color: var(--fift-text); }
.fine { margin-top: var(--fift-space-24); text-align: center; font: 400 var(--t-note)/1.5 var(--e-sans); color: var(--fift-tertiary); text-wrap: balance; }

/* at rest (no motion, or before it scrolls in) the band reads finished: three people, "Free" */
.slots i { border-style: solid; border-color: transparent; }
.slots i::after, .slots i::before { opacity: 1; transform: none; }
/* P2-30 / D2: Bring 3 is quiet: no loops; it reads finished (three people), and its Coming soon tag says it isn't live */

@media (max-width: 820px) {
  .track { display: flex; gap: var(--tr-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--e-gutter, 20px) * -1); padding: var(--fift-space-16) var(--e-gutter, 20px) var(--fift-space-8); scroll-padding-inline: var(--e-gutter, 20px); overscroll-behavior-x: contain; }
  .track::-webkit-scrollbar { display: none; }
  .tier { flex: 0 0 min(78vw, 320px); scroll-snap-align: center; }
  .bring { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: var(--fift-space-16); padding: var(--fift-space-24); }
}
/* site-hero 7 Oct: "Opens after the first 100" keeps its pill height (the card grid's 1fr row was stretching it) */
.tier .soon { align-self: end; height: 44px; line-height: 44px; }
/* site-hero 7 Oct (honesty gate): referrals are built, not live; the band says so */
.tier .soon { color: var(--fift-secondary); }   /* contrast on the fill, both themes */
.tier .was .tax { color: var(--fift-secondary); }
/* D5: the home's Founder card alone, and the after-100 ladder as one quiet line */
.track.solo-card { display: grid; grid-template-columns: minmax(0, 400px); justify-content: center; }
.ladder { margin-top: var(--fift-space-24); text-align: center; font: 400 var(--fift-type-size-body)/1.5 var(--e-sans); color: var(--fift-secondary); }
.studio .soon { color: var(--fift-secondary); }
.tier .was s { font-variant-numeric: lining-nums proportional-nums; }
/* P1-8 (site-rip, 8 Oct): cherry only on the Download button in this view. The Founder card is lifted by its fill,
   the launch notes read in ink, and the badge is ink on the ground. */
.tier.hot { background: var(--fift-surface-hi); box-shadow: none; }
.badge { background: var(--fift-text); color: var(--fift-ground); }
.tier .life, .left, .tg em { color: var(--fift-text); font-weight: var(--fift-type-weight-semibold); }
.tier .was s { text-decoration-color: currentColor; }
.bar { background: var(--fift-fill); }
.bar i { background: var(--fift-text); }
.slots i::after { background: var(--fift-secondary); }
/* P1-9: one hero size per page (the H1); prices are display size, in the display face on every page */
.tier .num, .tier .num data { font-family: var(--e-display); font-size: var(--fift-type-web-display); line-height: var(--fift-type-leading-title); letter-spacing: -0.022em; }
/* Raven 01:39: the card's Download label sits in the middle of its 52 pt button; Bring 3 has no placeholder avatars */
.tier .pill { display: flex; align-items: center; justify-content: center; line-height: 1; }
@media (min-width: 821px) { .bring { grid-template-columns: 1fr auto; } }

/* SITE-RELEASE1: the card's two CTAs, Start free then Download, stacked */
.tier .pill + .pill { margin-top: var(--fift-space-8); }
/* the one price line reads as a sentence (no flex gaps around the live numbers) */
.tier.hot .was { display: block; }

/* SITE-RECO (Raven 10:00): the Founder block sits above; /pricing then shows the plans that open after the first 100, two side by side */
.tiers .fo + .ladder { margin-top: var(--fift-space-48); }
.tiers .after { margin: var(--fift-space-80) 0 var(--fift-space-24); text-align: center; font: 600 var(--t-note)/1.4 var(--e-sans); color: var(--fift-secondary); }
.track.duo { grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; }

/* PRICING-SIMPLE (Sunny 8 Oct 16:27): the home ends on the card, then one quiet line with air above it */
.tiers.home .fine { margin-top: var(--fift-space-48); }
/* BRING 3 on the home (ui-0315 16:45): one plain line under the card, centred; line 2 (.fo-b2) waits for Raven's words */
.tiers.home .fo-bring { margin-top: var(--fift-space-48); text-align: center; }
.fo-b1 { font: var(--fift-type-weight-semibold) var(--fift-type-size-body)/1.4 var(--e-sans); color: var(--fift-text); }
.fo-b2 { max-width: 52ch; margin: var(--fift-space-4) auto 0; font: 400 var(--t-note)/1.5 var(--e-sans); color: var(--fift-secondary); }
.tiers.home .fo-bring + .fine { margin-top: var(--fift-space-24); }
@media (max-width: 480px) { .tiers.home .fine-links { display: none; } }
