/* Cadence homepage art direction, scoped so the public utility pages keep their UI. */

.home-page {
  --home-ink: #10271f;
  --home-ink-soft: #17372b;
  --home-cream: #f6f1e8;
  --home-paper: #fffdf7;
  --home-mist: #e9f3eb;
  --home-green: #4be895;
  --home-green-deep: #0d7044;
  --accent-strong: var(--home-green-deep);
  --home-line: rgba(16, 39, 31, 0.16);
  --home-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --home-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --home-press-duration: 140ms;
  /* One vertical rhythm for every homepage band. Sections used eleven
     different paddings between 84px and 156px, so the gaps between them read
     as accidents rather than pacing. */
  --home-space: clamp(72px, 8vw, 112px);
  background: var(--home-cream);
  color: var(--home-ink);
}

.home-page .home-main {
  overflow: clip;
}

.home-page .section-shell {
  width: min(1240px, calc(100vw - 64px));
}

.home-page h2 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 5.8vw, 5.6rem);
  line-height: 0.94;
  /* Fraunces already tightens itself at display sizes. At -0.045em the word
     spaces closed up ("startingpoint", "Freeto start") on every section
     heading; -0.022em keeps the dense display colour with readable gaps. */
  letter-spacing: -0.022em;
}

.home-page h3 {
  letter-spacing: -0.025em;
}

.home-page .section-text {
  max-width: 58ch;
  color: #526159;
  font-size: 1.04rem;
  line-height: 1.72;
}

.home-page .eyebrow {
  margin-bottom: 18px;
  color: var(--home-green-deep);
  letter-spacing: 0.16em;
}

.home-page .breadth-strip[hidden],
.home-page .plus-numbers[hidden],
.home-page .faq-list details[hidden] {
  display: none !important;
}

/* Header */

/* A thin bar that reads as chrome, not content: one translucent tone with
   blur from the first pixel, a hairline instead of a drop shadow, the links
   centred between the brand and the action at regular weight, and a small
   action pill. Measured against apple.com on October 10, 2026: a 44px bar,
   12px regular links at 80% ink, 44px/17px pills, no shadow. */
.home-page {
  --header-height: 60px;
}

.home-page .site-header {
  position: fixed;
  color: #f8f4ea;
  background: rgba(7, 54, 46, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.home-page .site-header.is-scrolled {
  color: #f8f4ea;
  background: rgba(7, 54, 46, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: none;
}

.home-page .site-header-shell {
  position: relative;
  width: min(1240px, calc(100vw - 64px));
  min-height: 60px;
  gap: 24px;
  padding: 0;
}

.home-page .section-anchor {
  scroll-margin-top: 80px;
}

.home-page .brand {
  gap: 10px;
  color: #fffdf6;
  font-size: 1.15rem;
}

.home-page .brand img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  box-shadow: none;
}

.home-page .header-actions {
  gap: 10px;
}

.home-page .site-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transform: translate(-50%, -50%);
}

.home-page .site-nav a {
  min-height: 36px;
  padding: 0 14px;
  color: rgba(248, 244, 234, 0.78);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 160ms ease;
}

.home-page .site-nav a:hover,
.home-page .site-nav a:focus-visible,
.home-page .site-nav a[aria-current="location"] {
  color: #fffdf6;
  background: transparent;
  box-shadow: none;
}

.home-page .site-menu-toggle {
  padding: 0 13px;
  border-color: rgba(255, 255, 255, 0.24);
  background: transparent;
  color: #fffdf6;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: none;
}

.home-page .site-nav a[aria-current="location"]::after {
  display: none;
}

.home-page .header-actions > .button-primary {
  min-height: 34px;
  padding: 0 15px;
  color: var(--home-ink);
  background: var(--home-green);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: none;
}

.home-page .header-actions > .header-course-link {
  display: inline-flex;
  min-height: 44px;
  gap: 9px;
  padding: 0 12px 0 16px;
  color: #fffdf6;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(124, 226, 168, 0.36);
  box-shadow: none;
}

.home-page .header-actions > .header-course-link::after {
  width: 22px;
  height: 22px;
  color: var(--home-ink);
  background: var(--home-green);
  box-shadow: none;
}

.home-page .header-actions > .header-course-link:hover,
.home-page .header-actions > .header-course-link:focus-visible {
  color: #fffdf6;
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(124, 226, 168, 0.58);
  box-shadow: none;
}

/* Hero */

.home-page .hero {
  min-height: 100svh;
  padding: 0;
  color: #fffdf6;
  background: var(--home-ink);
}

.home-page .hero::before {
  z-index: 0;
  background:
    radial-gradient(circle at 31% 44%, rgba(47, 203, 122, 0.16), transparent 32%),
    linear-gradient(112deg, rgba(255, 255, 255, 0.042) 1px, transparent 1px);
  background-size: auto, 72px 72px;
}

.home-page .hero::after {
  content: none;
}

.home-page .hero-backdrop {
  opacity: 0.08;
  mix-blend-mode: luminosity;
  filter: saturate(0.6) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 52%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 52%, #000 100%);
}

.home-page .hero-shell {
  width: 100%;
  max-width: none;
  min-height: 100svh;
  grid-template-columns: minmax(0, 56%) minmax(0, 44%);
  grid-template-areas: "intro visual";
  align-items: stretch;
  gap: 0;
  padding: 76px 0 0 max(32px, calc((100vw - 1240px) / 2));
}

.home-page .hero-intro {
  grid-area: intro;
  width: 100%;
  max-width: 660px;
  align-self: center;
  padding-right: clamp(44px, 6vw, 86px);
  animation: home-hero-copy-in 620ms var(--home-ease-out) both;
}

.home-page .hero-copy h1 {
  max-width: none;
  margin-top: 0;
  color: #fffdf6;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 0.98;
}

.home-page .hero-promise-break {
  display: block;
}

.home-page .hero-promise-accent {
  color: var(--home-green);
}

.home-page .hero-topic-line {
  margin-top: 22px;
  color: rgba(255, 253, 246, 0.84);
  font-size: clamp(1.02rem, 1.25vw, 1.12rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

/* Two stacked rows that both start on the hero's left spine, so the block has
   one text edge instead of three. Stacking with flex rather than grid columns
   is deliberate: WebKit undersizes an intrinsic `max-content` column here and
   breaks `Start with` across two lines at every viewport. */
.home-page .hero-topic-line .hero-topic-display {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 0.5em;
}

/* The prefix and the rotating topic are one sentence, so the flex gap has to be
   a word space, not a layout gap. Manrope's space advance is 0.2em and the line
   carries -0.01em letter-spacing, so 0.19em renders the same width as the space
   between `Start` and `with` beside it. */
.home-page .hero-topic-line .hero-topic-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  max-width: 100%;
  column-gap: 0.19em;
  row-gap: 0.18em;
}

/* The prefix is one phrase, never two lines. */
.home-page .hero-topic-line .hero-topic-prefix {
  white-space: nowrap;
}

.home-page .hero-topic-line .rotating-topic-slot {
  display: inline-flex;
  align-items: baseline;
  vertical-align: baseline;
}

/* The arrow holds the left spine and the tail text hangs off it, so the second
   row stays put while the topic above it rotates. */
.home-page .hero-topic-line .hero-topic-tail {
  display: flex;
  align-items: center;
  max-width: 100%;
  gap: 0.55em;
}

/* The stem is drawn above the box (negative y) so the connector can reach up to
   the topic line without adding height to the row. The long horizontal run is
   what keeps the arrowhead clear of the words it points at. */
.home-page .hero-topic-line .hero-topic-arrow {
  width: 1.9em;
  height: 1.45em;
  flex: 0 0 auto;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.48;
}

.home-page .hero-topic-line .rotating-topic {
  display: inline-block;
  color: var(--home-green);
  font-weight: 800;
  white-space: nowrap;
  will-change: transform, filter;
  transition:
    opacity 160ms var(--home-ease-out),
    transform 160ms var(--home-ease-out),
    filter 160ms var(--home-ease-out);
}

/* The old topic lifts away fast; the next settles in from below, blur-masked
   so the crossfade reads as one word turning into the next. */
.home-page .hero-topic-line .rotating-topic.is-swapping {
  opacity: 0;
  transform: translateY(-0.24em);
  filter: blur(6px);
  transition-duration: calc(160ms / 1.5);
}

.home-page .hero-topic-line .rotating-topic.is-entering {
  opacity: 0;
  transform: translateY(0.28em);
  filter: blur(6px);
  transition: none;
}

.home-page .text-link::after {
  content: "\2192";
}

.home-page .hero .eyebrow {
  margin-bottom: 28px;
  color: var(--home-green);
}

.home-page .hero-body {
  max-width: 530px;
  margin-top: 26px;
}

.home-page .hero-text {
  max-width: 48ch;
  margin-top: 0;
  color: rgba(248, 244, 234, 0.74);
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  line-height: 1.62;
}

.home-page .hero-actions {
  display: grid;
  justify-items: start;
  gap: 20px;
  margin-top: 30px;
}

.home-page .store-buttons {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 10px;
}

.home-page .store-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  min-width: 196px;
  min-height: 58px;
  padding: 8px 17px;
  border: 1px solid transparent;
  border-radius: 15px;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--home-press-duration) var(--home-ease-out),
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.home-page .store-button:focus-visible,
.home-page .store-badge-link:focus-visible,
.home-page .android-waitlist-close:focus-visible,
.home-page .android-waitlist-topic:focus-visible,
.home-page .android-waitlist-email:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.home-page .store-badge-link {
  display: flex;
  width: 210px;
  flex: 0 0 210px;
  align-items: center;
  border-radius: 10px;
  text-decoration: none;
  transition:
    transform var(--home-press-duration) var(--home-ease-out),
    box-shadow 160ms ease;
}

.home-page .app-store-badge {
  display: block;
  width: 100%;
  height: auto;
}

/* The badge sets the height of the hero action row, so matching its width to
   the Android button gives the two stores an identical footprint. The badge
   artwork rounds its own corners at about 21% of its height, so 16px keeps the
   drop shadow and focus ring on that same curve. */
.home-page .hero-actions .hero-store-badge-link {
  width: 230px;
  min-width: 230px;
  flex: 0 0 230px;
  align-self: center;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(1, 10, 7, 0.22);
}

.home-page .store-button-android,
.home-page .store-button-ios {
  width: 230px;
  min-width: 230px;
  flex: 0 0 230px;
  overflow: hidden;
  color: #fffdf6;
  background: #000;
  border-color: #a6a6a6;
  box-shadow:
    0 12px 28px rgba(1, 10, 7, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.home-page .hero-actions .store-button-ios {
  width: 240px;
  min-width: 240px;
  flex-basis: 240px;
  gap: 8px;
  padding-right: 13px;
  padding-left: 13px;
  color: var(--home-ink);
  background: var(--home-green);
  border-color: var(--home-green);
  box-shadow:
    0 18px 38px rgba(1, 10, 7, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.home-page .hero-actions .store-button-android {
  gap: 8px;
  padding-right: 13px;
  padding-left: 13px;
  color: rgba(255, 253, 246, 0.9);
  background: rgba(0, 0, 0, 0.66);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 12px 28px rgba(1, 10, 7, 0.18);
}

.home-page .store-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
}

.home-page .store-icon-android {
  width: 31px;
  height: 18px;
  object-fit: contain;
}

.home-page .store-icon-ios {
  width: 24px;
  height: 26px;
}

.home-page .store-button-copy {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.home-page .store-button-copy small {
  color: inherit;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.065em;
  line-height: 1.15;
  text-transform: uppercase;
  opacity: 0.72;
}

.home-page .store-button-copy strong {
  color: inherit;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

/* Learning shaped around you: one course forks into two learners' lessons.
   Rows share a subgrid so the same stage lines up across both learners. */

.home-page .personal-section {
  display: grid;
  gap: 40px;
  padding-top: var(--home-space);
  padding-bottom: var(--home-space);
}

.home-page .personal-copy {
  max-width: 640px;
}

.home-page .personal-compare {
  display: grid;
  justify-items: center;
  margin: 0;
  color: #183d32;
}

.home-page .personal-course {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 14px 32px 16px;
  border: 1px solid rgba(16, 39, 31, 0.16);
  border-radius: 999px;
  background: #fffdf7;
  box-shadow: 0 8px 20px rgba(15, 41, 32, 0.05);
  text-align: center;
}

.home-page .personal-course span {
  color: #53655b;
  font-size: 14px;
  font-weight: 600;
}

.home-page .personal-course strong {
  font: 700 22px/1.25 var(--site-heading);
  letter-spacing: -0.02em;
}

.home-page .personal-fork {
  display: block;
  width: 100%;
  height: 40px;
  color: #9db39f;
}

.home-page .personal-learners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.home-page .personal-learner {
  --learner-soft: #e7eedc;
  --learner-accent: #2f6248;
  --learner-line: rgba(47, 98, 72, 0.18);
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 5;
  row-gap: 0;
  padding: 32px;
  border-radius: 24px;
  background: var(--learner-soft);
}

.home-page .personal-learner--gold {
  --learner-soft: #f4ead0;
  --learner-accent: #6f4f27;
  --learner-line: rgba(111, 79, 39, 0.18);
}

.home-page .personal-learner h3 {
  margin: 0 0 12px;
  color: var(--learner-accent);
  font: 700 15px/1.35 var(--site-heading);
  letter-spacing: 0;
}

.home-page .personal-learner blockquote {
  margin: 0 0 24px;
  font: 600 clamp(20px, 1.8vw, 24px)/1.4 var(--site-heading);
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.home-page .personal-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  column-gap: 16px;
  align-content: start;
  padding: 16px 0;
  border-top: 1px solid var(--learner-line);
}

.home-page .personal-row > span {
  grid-row: span 2;
  padding-top: 2px;
  color: var(--learner-accent);
  font-size: 14px;
  font-weight: 700;
}

.home-page .personal-row strong {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
}

.home-page .personal-row p {
  grid-column: 2;
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.8);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .home-page .personal-section {
    gap: 28px;
  }

  .home-page .personal-course {
    width: 100%;
    border-radius: 16px;
  }

  .home-page .personal-fork {
    display: none;
  }

  .home-page .personal-learners {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }

  .home-page .personal-learner {
    grid-template-rows: none;
    grid-row: auto;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .home-page .personal-row {
    grid-template-columns: 68px minmax(0, 1fr);
    column-gap: 12px;
  }
}

.home-page .hero-visual {
  grid-area: visual;
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: none;
  height: calc(100svh - 76px);
  align-self: end;
  justify-self: stretch;
  margin: 0;
  padding: clamp(40px, 5vw, 72px);
  animation: home-hero-visual-in 760ms 70ms var(--home-ease-out) both;
}

.home-page .hero-visual::before {
  content: none;
}

/* The hero is a still product shot. The interactive journey it used to carry
   moved to How it works, where a visitor goes looking for the whole story
   instead of meeting it while reading the promise. */
.home-page .hero-still {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  filter: drop-shadow(0 26px 38px rgba(1, 23, 17, 0.28));
}

/* 380px is the practical ceiling: the still is 682 by 818, so on a DPR 2
   display this upscales 1.11x and the words on the phone stay crisp. */
.home-page .hero-still-screen {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
  /* `fill` matches the stage the still was cut for: its 682 by 818 cell is a
     rounding away from 5:6, and stretching it the same way is what keeps the
     inline placeholder underneath pixel aligned with it. */
  object-fit: fill;
}

/* The mascot rests where the journey's track used to dock it, at the lower
   left of the device, close enough to belong to the product shot without
   covering any of the screen. */
.home-page .hero-still-mascot {
  position: absolute;
  left: 6%;
  top: 82%;
  width: 16%;
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(5px 9px 7px rgba(8, 34, 29, 0.35));
  pointer-events: none;
}

.home-page .hero-motion-stage {
  position: relative;
  width: min(360px, 100%);
  aspect-ratio: 5 / 6;
  margin: 8px 0 2px;
  cursor: default;
  /* pan-y keeps vertical page scrolling working when a touch starts on the
     stage. The controller locks the horizontal axis itself. */
  touch-action: pan-y;
  user-select: none;
  filter: drop-shadow(0 24px 34px rgba(1, 23, 17, 0.26));
  transition: transform 220ms var(--home-ease-out);
}

.home-page .process-story.is-ready .hero-motion-stage {
  cursor: ew-resize;
}

.home-page .hero-motion-stage[data-dragging="true"] {
  cursor: grabbing;
}

/* The still is frame 0 of the atlas at the atlas's own cell size, so it shares
   the canvas box exactly: same inset, same scale, same transparent surround.
   That is the whole point of it. The atlas is over half a megabyte and cannot
   be the first thing a visitor sees, so the still stands in until it lands, and
   because the two are the same picture in the same place the handoff is
   invisible rather than a visible change of screen. */
.home-page .hero-motion-fallback {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  /* `fill` on purpose: the canvas stretches the same cell to the same box, and
     the cell's 682 by 818 is a rounding away from the stage's 5:6, so matching
     the stretch is what keeps the two pixel identical. */
  object-fit: fill;
  /* The canvas's own layer. Left on auto the still would sit under the track
     while the canvas sits over it, so the ring would cross the device before
     the atlas landed and duck behind it after. */
  z-index: 3;
}

/* The hero still and the journey's pre-atlas still are the same picture, so
   they share one placeholder. The stylesheet is render blocking, so nothing
   paints until it arrives and the still cannot decode before then either. This
   inline copy costs no request and paints with the first frame of CSS, which is
   the earliest a visitor can see anything at all. It keeps its alpha so the
   surround stays transparent over the hero rather than boxing the phone in a
   pale slab. Regenerate it alongside the still with
   `python3 marketing/hero-motion/pack_atlas.py --still-only`. */
.home-page .hero-still-screen,
.home-page .hero-motion-fallback {
  background-image: url("data:image/webp;base64,UklGRrwCAABXRUJQVlA4WAoAAAAQAAAAFwAAHAAAQUxQSDIBAAABkKztnxk6v3+Obdu4Bdv2aZd2u9PK1tbmyr4E240O1rWTmVlMMnl6BxExAfivhLCWnp7e3t7enp7WCJCfpl0WirdDNR9Cyi/muJ4Oc7Kg+aV+Elx4cvE9W6Xop8rfSoWwtUKRi3XhRBKh8b7aozZIhORDs66CYHPH00BS1xNbbfpZPwiE8O2WyZRMa28kiFBwzTaUuGnfKpZqHpimmmU8bpRG3uhB9HdT0oKPH4N81JdKy/Rg5mqAsPBjMH0ZiDD2Rg+iv5sn1T80gxhPWqSim3YA07pbJkXusQIdjAaB0P/cdlXY9MtREEBIPzmrNnc2SwKh6zFX4c/7QJAoYiPjfpxviiIPEEoZc1zGGHMdJqqhwVujS0LxaogGX4JWP7Xl4r17l7bNbwgF+Xkn5OUnQBFWUDggZAEAAPAHAJ0BKhgAHQA+tUidSickIqGwGAwA4BaJYwC7DBFv/Q4bw0FSQ72z0Rf9FwAH6mhqfrZ6Sy7zn8Fyc0PSJWgf0+G2iQxHAAD8XF8iz5QbGlOr7KKubrxFm5rTgUXK+N0FfKTtsnb2rIDIc9l9Sfk57iGFSa4hucwZ0bVrL00AjvoWkDNNWq/wzXGRk0YjP8NzXObGEfPizA+6js53h7GxcqJjI9NdLdXmzP/FXDa6x0rkAsxAnSoIzPJ1rHsGOrhpKRE5k+vV8F0HNOaYQkYT6UAzbUwg+3lLyzqA196MtSpfg85t7jfDdZQzOy1A7SMRU9e5JMl9qsvgwCefwX3qSnO6Ef+UvBluSC+c1UVlUZeOXeRA41+kPt7i7cHjBMzxxUTiVgTDOrdQcwjrz2mkHMMreEuOOfoDyAyv/k24JYHlc9LAr0t3oMFj/4vx6h2/7TIVU54RGbQzKQcchwIT+AAA");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.home-page .hero-motion-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 3;
}

/* The progress track and the mascot are live elements, not atlas pixels, so
   they move continuously with the spring instead of hopping frame to frame.
   Both share the 560 x 672 design space of the stage, which is exactly 5:6. */
.home-page .hero-motion-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 160ms ease;
  pointer-events: none;
  z-index: 1;
}

.home-page .hero-motion-track-base {
  stroke: rgba(248, 244, 234, 0.22);
  stroke-width: 5;
}

.home-page .hero-motion-track-fill {
  stroke: var(--home-green);
  stroke-width: 6;
  stroke-linecap: round;
  /* pathLength="1" normalises the dash maths, so the fill can start empty
     from CSS alone. The controller is deferred, and without this the whole
     loop painted solid green until the script ran. */
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.home-page .hero-motion-track-dot {
  fill: rgba(248, 244, 234, 0.35);
}

.home-page .hero-motion-track-dot.is-reached {
  fill: var(--home-green);
}

.home-page .hero-motion-mascot {
  position: absolute;
  /* The loop's home dot, (76, 560) in the 560 x 672 design space. The
     controller only starts placing the mascot once the atlas is ready, so
     this default is what a visitor sees first and must already be home. */
  left: 13.571%;
  top: 83.333%;
  width: 14.5%;
  height: auto;
  transform: translate(-50%, -58%);
  transition: opacity 160ms ease;
  filter: drop-shadow(5px 9px 7px rgba(8, 34, 29, 0.35));
  pointer-events: none;
  z-index: 5;
}

/* Crossing the top of the stage the mascot slips behind the device. The
   canvas is opaque only at the phone and its halo, so the silhouette itself
   decides where the duck becomes visible. */
.home-page .hero-motion-mascot.is-behind {
  z-index: 2;
}

/* Only the canvas waits for the atlas. */

.home-page .process-story.is-unavailable .hero-motion-track,
.home-page .process-story.is-unavailable .hero-motion-mascot {
  display: none;
}

/* Swapped, not crossfaded. The still and the canvas's opening frame are the
   same picture in the same box, so a fade would only dip the density of the
   soft-alpha halo where the two half-transparent copies stack. Swapping
   identical pixels is what makes the atlas arriving unnoticeable. */
.home-page .process-story.is-ready .hero-motion-fallback {
  opacity: 0;
  pointer-events: none;
}

.home-page .process-story.is-ready .hero-motion-canvas {
  opacity: 1;
}

.home-page .hero-motion-drag-hint {
  position: absolute;
  right: -52px;
  bottom: 78px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(248, 244, 234, 0.68);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 180ms ease;
}

/* Only invite a drag once the journey has finished playing itself. */
.home-page .process-story.is-handed-over .hero-motion-drag-hint {
  opacity: 1;
}

.home-page .hero-motion-stage[data-dragging="true"]
  .hero-motion-drag-hint {
  opacity: 0;
}

.home-page .hero-motion-drag-hint > span {
  position: relative;
  width: 26px;
  height: 1px;
  background: currentColor;
}

.home-page .hero-motion-drag-hint > span::before,
.home-page .hero-motion-drag-hint > span::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
}

.home-page .hero-motion-drag-hint > span::before {
  left: 0;
  border-left: 1px solid currentColor;
  transform: rotate(-45deg);
}

.home-page .hero-motion-drag-hint > span::after {
  right: 0;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.home-page .hero-motion-controls {
  width: min(100%, 430px);
}

.home-page .hero-motion-slider {
  width: 100%;
  height: 26px;
  margin: 0;
  appearance: none;
  cursor: ew-resize;
  background: transparent;
}

.home-page .hero-motion-slider:disabled {
  cursor: wait;
}

/* Atlas failed to load: the poster stays, and nothing further is coming, so
   stop promising progress with a wait cursor. */
.home-page .process-story.is-unavailable .hero-motion-slider:disabled,
.home-page .process-story.is-unavailable .process-step:disabled {
  cursor: default;
}

.home-page .hero-motion-slider:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.home-page .hero-motion-slider::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--home-green) 0 calc(var(--hero-motion-progress) * 100%),
    rgba(248, 244, 234, 0.22) calc(var(--hero-motion-progress) * 100%) 100%
  );
}

.home-page .hero-motion-slider::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--home-green) 0 calc(var(--hero-motion-progress) * 100%),
    rgba(248, 244, 234, 0.22) calc(var(--hero-motion-progress) * 100%) 100%
  );
}

.home-page .hero-motion-slider::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -7px;
  appearance: none;
  border: 4px solid var(--home-ink);
  border-radius: 50%;
  background: var(--home-green);
  box-shadow: 0 0 0 2px rgba(248, 244, 234, 0.64);
}

.home-page .hero-motion-slider::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 4px solid var(--home-ink);
  border-radius: 50%;
  background: var(--home-green);
  box-shadow: 0 0 0 2px rgba(248, 244, 234, 0.64);
}

.home-page .hero-motion-readout {
  width: min(100%, 430px);
  display: grid;
  /* Wide enough for `Lesson completed`, the longest chapter name, to hold one
     line beside its sentence. */
  grid-template-columns: 118px 1fr;
  gap: 14px;
  margin: 14px 0 0;
  padding-top: 15px;
  color: rgba(248, 244, 234, 0.68);
  border-top: 1px solid rgba(248, 244, 234, 0.2);
  font-size: 0.875rem;
  line-height: 1.45;
}

.home-page .hero-motion-readout strong {
  color: var(--home-green);
  font-weight: 800;
}

/* Keep building toward your goal: one authored journey drawn as a trail.
   Complete without JavaScript; with motion allowed it draws once, then rests. */

.home-page .journey-section {
  padding: var(--home-space) 0;
  background: var(--home-cream);
}

.home-page .journey-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
}

.home-page .journey-band h2 {
  max-width: 11ch;
  font-size: clamp(2.4rem, 4.7vw, 4.7rem);
}

/* The shared 10px gap was sized for the old 2rem heading; at this display size
   the descenders of the last line sat on the paragraph. */
.home-page .journey-band .section-text {
  margin-top: 18px;
}

.home-page .journey-example {
  margin: 0;
  padding: clamp(24px, 3vw, 36px);
  color: var(--home-ink);
  background: #fffdf7;
  border: 1px solid rgba(23, 61, 50, 0.12);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 41, 32, 0.06);
}

.home-page .journey-example figcaption {
  margin: 0 0 20px;
  color: #53655b;
  font-size: 0.875rem;
  font-weight: 650;
}

.home-page .journey-stop-label {
  display: block;
  color: #53655b;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}

.home-page .journey-example-direction {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding-bottom: 20px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e3e5db;
}

.home-page .journey-example-direction .learning-icon {
  width: 64px;
  height: 64px;
}

.home-page .journey-example-direction p {
  margin: 2px 0 0;
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.home-page .journey-example-trail {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-page .journey-stop {
  --journey-art: 56px;
  position: relative;
  display: grid;
  grid-template-columns: var(--journey-art) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 12px 0;
}

/* A dotted path runs from each stop's picture to the next, like the trail on
   the course illustration, so wrapped text never stretches it past a stop. */
.home-page .journey-stop:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(12px + var(--journey-art) + 4px);
  bottom: -8px;
  left: calc(var(--journey-art) / 2 - 2px);
  width: 4px;
  background: radial-gradient(circle, #7fa886 1.7px, transparent 2.2px) center top / 4px 10px repeat-y;
  transform-origin: top;
}

.home-page .journey-stop-art {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fffdf7;
}

.home-page .journey-stop-art .learning-icon {
  display: block;
  width: 56px;
  height: 56px;
}

.home-page .journey-stop-check {
  position: absolute;
  right: -4px;
  bottom: 2px;
  width: 20px;
  height: 20px;
}

.home-page .journey-stop-check circle {
  fill: #2f7a5c;
}

.home-page .journey-stop strong {
  display: block;
  margin-top: 2px;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.35;
}

.home-page .journey-stop-detail {
  display: block;
  margin-top: 2px;
  color: #53655b;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.home-page .journey-stop.is-moment q {
  display: block;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 14px 14px 14px 4px;
  background: #f6efd9;
  font-size: 0.9875rem;
  line-height: 1.5;
}

.home-page .journey-stop-node {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 6px auto 0;
  border: 2px solid #2f7a5c;
  border-radius: 50%;
  color: #2f7a5c;
  background: #fffdf7;
}

.home-page .journey-stop-node svg {
  width: 20px;
  height: 20px;
}

.home-page .journey-stop.is-next > div {
  padding: 14px 18px;
  border: 1px solid #8fae93;
  border-radius: 16px;
  background: #e6ebdb;
}

.home-page .journey-stop.is-next .journey-stop-label {
  color: #2f6a4e;
}

@media (prefers-reduced-motion: no-preference) {
  .home-page .journey-example[data-reveal] .journey-stop::after {
    transition: transform 0.35s ease-out;
  }

  .home-page .journey-example[data-reveal] .journey-stop {
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .home-page .journey-example[data-reveal="ready"] .journey-stop::after {
    transform: scaleY(0);
  }

  .home-page .journey-example[data-reveal="ready"] .journey-stop {
    opacity: 0;
    transform: translateY(10px);
  }

  /* Each stop settles, then its path draws towards the next one. */
  .home-page .journey-example[data-reveal="shown"] .journey-stop:nth-child(1)::after { transition-delay: 0.25s; }
  .home-page .journey-example[data-reveal="shown"] .journey-stop:nth-child(2) { transition-delay: 0.5s; }
  .home-page .journey-example[data-reveal="shown"] .journey-stop:nth-child(2)::after { transition-delay: 0.75s; }
  .home-page .journey-example[data-reveal="shown"] .journey-stop:nth-child(3) { transition-delay: 1s; }
  .home-page .journey-example[data-reveal="shown"] .journey-stop:nth-child(3)::after { transition-delay: 1.25s; }
  .home-page .journey-example[data-reveal="shown"] .journey-stop:nth-child(4) { transition-delay: 1.5s; }
}

/* Why Cadence */

.home-page .compare-section {
  /* The shared rule adds a top margin and the shell adds its own 84px, which
     painted a stray cream band under Practice and doubled the whitespace. */
  margin-top: 0;
  padding: var(--home-space) 0;
  color: var(--home-ink);
  background: #e9e2d6;
}

.home-page .compare-shell {
  padding-block: 0;
}

.home-page .compare-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(620px, 1.28fr);
  align-items: center;
  gap: 28px clamp(48px, 6vw, 82px);
}

.home-page .compare-intro {
  position: static;
}

.home-page .compare-intro h2 {
  max-width: 10.5ch;
  font-size: clamp(2.8rem, 4.4vw, 4.35rem);
}

.home-page .compare-visual {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: 18px;
}

.home-page .compare-panel {
  min-height: 0;
  padding: clamp(22px, 2.4vw, 30px);
  border: 0;
  border-top: 1px solid rgba(16, 39, 31, 0.22);
  border-radius: 0;
  box-shadow: none;
}

.home-page .compare-panel-chat {
  color: var(--home-ink);
  background: transparent;
}

.home-page .compare-panel-chat .compare-panel-tag {
  color: #1f4938;
  background: rgba(47, 203, 122, 0.13);
}

.home-page .compare-panel-chat .compare-panel-sub {
  color: #59675f;
}

.home-page .compare-panel-chat .chat-row-you .chat-bubble {
  color: #24304f;
  background: #dedff0;
}

.home-page .compare-panel-chat .chat-row-ai .chat-bubble {
  color: #26372f;
  background: rgba(255, 255, 255, 0.56);
}

.home-page .compare-panel-chat .chat-bubble-fade {
  color: #526159;
}

.home-page .compare-panel-chat .chat-bubble-fade::after {
  background: linear-gradient(90deg, transparent 30%, rgba(233, 226, 214, 0.94));
}

.home-page .compare-panel-chat .chat-end {
  color: #526159;
}

.home-page .compare-panel-chat .chat-end-line {
  background: repeating-linear-gradient(
    90deg,
    rgba(16, 39, 31, 0.34) 0 6px,
    transparent 6px 12px
  );
}

.home-page .compare-panel-cadence {
  color: #f8f4ea;
  border-top-color: rgba(255, 255, 255, 0.24);
  background: var(--home-ink);
}

.home-page .compare-panel-chat {
  align-self: stretch;
}

.home-page .compare-panel-cadence .compare-panel-sub,
.home-page .compare-panel-cadence .compare-arc-foot {
  color: rgba(248, 244, 234, 0.66);
}

.home-page .compare-panel-cadence .arc-stop {
  border-color: rgba(255, 255, 255, 0.14);
}

/* Course shelf */

/* The support note is a plain paragraph under a hairline, not a tinted card:
   a callout container was the one decorated block on an otherwise flat page. */
.home-page .support-kindness {
  margin-top: 22px;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid var(--home-line);
  border-radius: 0;
  background: none;
}

.home-page .courses-feature {
  margin-top: 0;
  padding: var(--home-space) 0;
  /* The typed-goal section above it shares this cream, so the two need a line
     between them the way the process section takes one below. */
  border-top: 1px solid var(--home-line);
}

.home-page .courses-feature-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: clamp(44px, 7vw, 92px);
}

.home-page .courses-feature-copy {
  max-width: 980px;
}

.home-page .courses-feature-copy h2 {
  max-width: 11.5ch;
  font-size: clamp(3.3rem, 5vw, 4.8rem);
}

.home-page .courses-feature-aside {
  padding-bottom: 6px;
}

.home-page .courses-feature-link {
  margin-top: 24px;
}

.home-page .course-card-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(36px, 4.5vw, 54px);
}

.home-page .course-card {
  grid-column: span 3;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: visible;
  color: var(--home-ink);
  text-decoration: none;
  border: 0;
  border-bottom: 1px solid var(--home-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .course-card:nth-child(1),
.home-page .course-card:nth-child(2),
.home-page .course-card:nth-child(3),
.home-page .course-card:nth-child(4) {
  grid-column: span 3;
}

.home-page .course-card:nth-child(5) {
  display: none;
}

.home-page .course-card-art {
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 18px;
}

.home-page .course-card-art img {
  transition: transform 260ms var(--home-ease-out);
}

.home-page .course-card-body {
  gap: 7px;
  padding: 17px 0 20px;
}

.home-page .course-card-kicker {
  color: var(--home-green-deep);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-page .course-card-title {
  font-size: clamp(1.25rem, 1.7vw, 1.7rem);
}

.home-page .course-card-desc {
  max-width: 42ch;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Editorial interaction: lift the artwork, keep the reading layout still. */
.home-page .course-card:focus-visible {
  outline: none;
  border-bottom-color: var(--home-green-deep);
  box-shadow: 0 2px 0 var(--home-green-deep);
}

.home-page .course-card-title {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.home-page .course-card:focus-visible .course-card-title {
  color: var(--home-green-deep);
  text-decoration-color: currentColor;
  text-decoration-thickness: 3px;
}

.home-page .course-card-art {
  transition: transform 220ms var(--home-ease-out), box-shadow 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .home-page .course-card:hover .course-card-art {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(16, 39, 31, 0.1);
  }

  .home-page .course-card:hover .course-card-title {
    color: var(--home-green-deep);
    text-decoration-color: currentColor;
  }
}

.home-page .course-card:active .course-card-art {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 39, 31, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .home-page .course-card-art,
  .home-page .course-card-title {
    transition: none;
  }

  .home-page .course-card:hover .course-card-art,
  .home-page .course-card:active .course-card-art,
  .home-page .course-card-grid .course-card:hover .course-card-art img {
    transform: none;
  }
}

@media (forced-colors: active) {
  .home-page .course-card:focus-visible {
    outline: 2px solid Highlight;
    outline-offset: 4px;
  }
}

/* Five step product journey */

.home-page .process-section {
  position: relative;
  padding: var(--home-space) 0;
  border-top: 1px solid var(--home-line);
}

/* The beige Why Cadence band already ends here; a hairline on the colour
   change drew a second edge. */
.home-page .compare-section + .process-section {
  border-top: 0;
}

.home-page .process-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  max-width: none;
  gap: clamp(24px, 3vw, 34px);
}

.home-page .process-intro .eyebrow {
  margin-bottom: 20px;
}

.home-page .process-intro h2 {
  max-width: none;
}

.home-page .process-intro .section-text {
  max-width: 48ch;
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
}

.home-page .process-story {
  --hero-motion-progress: 0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(480px, 1.22fr);
  min-height: 650px;
  margin-top: clamp(58px, 7vw, 88px);
  overflow: hidden;
  border: 1px solid rgba(16, 39, 31, 0.16);
  border-radius: 42px;
  background: var(--home-ink);
  box-shadow: 0 36px 90px rgba(16, 39, 31, 0.13);
  transform-origin: 50% 18%;
  transition:
    opacity 620ms ease,
    transform 760ms cubic-bezier(0.2, 0.76, 0.2, 1);
}

/* Translate only. A scale would resize the canvas inside for the length of the
   entrance, and its ResizeObserver would reallocate the backing store on every
   frame of it. */
.home-page .process-story.is-motion-ready {
  opacity: 0;
  transform: translateY(34px);
}

.home-page .process-story.is-motion-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-page .process-controls {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: center;
  padding: clamp(34px, 5vw, 60px);
  color: #fffdf6;
  background:
    radial-gradient(circle at 0% 0%, rgba(75, 232, 149, 0.16), transparent 34%),
    var(--home-ink);
}

.home-page .process-controls-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 20px;
  color: rgba(248, 244, 234, 0.66);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-page .process-step {
  appearance: none;
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 24px 0;
  color: rgba(248, 244, 234, 0.58);
  text-align: left;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font: inherit;
  cursor: pointer;
  transition:
    color 160ms ease,
    opacity 220ms ease,
    transform 240ms var(--home-ease-out);
}

.home-page .process-step::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: -18px;
  width: 2px;
  border-radius: 999px;
  background: var(--home-green);
  box-shadow: 0 0 20px rgba(75, 232, 149, 0.4);
  transform: scaleY(0);
  transform-origin: 50% 50%;
  transition: transform 200ms var(--home-ease-out);
}

.home-page .process-step::after {
  content: none;
}

.home-page .process-story.is-motion-ready .process-step {
  opacity: 0;
  transform: translateX(-18px);
}

.home-page .process-story.is-motion-ready.is-visible .process-step {
  opacity: 1;
  transform: translateX(0);
}

.home-page .process-story.is-visible .process-step:nth-child(2) {
  transition-delay: 60ms;
}

.home-page .process-story.is-visible .process-step:nth-child(3) {
  transition-delay: 100ms;
}

.home-page .process-story.is-visible .process-step:nth-child(4) {
  transition-delay: 140ms;
}

.home-page .process-story.is-visible .process-step:nth-child(5) {
  transition-delay: 180ms;
}

.home-page .process-story.is-visible .process-step:nth-child(6) {
  transition-delay: 220ms;
}

/* The lit step is whichever one the journey has reached. hero-motion.js owns
   that, and it says so with aria-current, so the styling reads the same
   attribute rather than a class kept in step with it. */
.home-page .process-step:hover,
.home-page .process-step[aria-current="step"] {
  color: #fffdf6;
}

.home-page .process-step[aria-current="step"]::before {
  transform: scaleY(1);
}

/* Until the atlas lands the steps cannot move the stage yet. */
.home-page .process-step:disabled {
  cursor: wait;
}

.home-page .process-step:focus-visible {
  border-radius: 10px;
  outline: 3px solid var(--focus-ring);
  outline-offset: 5px;
}

.home-page .process-copy {
  display: grid;
  max-width: 30ch;
  gap: 7px;
  padding: 0;
}

.home-page .process-index {
  display: inline-grid;
  width: 38px;
  min-width: 38px;
  min-height: 30px;
  place-items: center;
  padding: 0;
  color: rgba(248, 244, 234, 0.66);
  font-size: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  transition:
    color 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.home-page .process-step[aria-current="step"] .process-index {
  color: var(--home-ink);
  border-color: var(--home-green);
  background: var(--home-green);
}

.home-page .process-step-label {
  color: var(--home-green);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-page .process-copy strong {
  color: inherit;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.35rem, 1.8vw, 1.72rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.home-page .process-step-detail {
  max-height: 0;
  overflow: hidden;
  color: rgba(248, 244, 234, 0.61);
  font-size: 0.88rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(-5px);
  transition:
    max-height 320ms ease,
    opacity 240ms ease,
    transform 300ms ease;
}

.home-page .process-step[aria-current="step"] .process-step-detail {
  max-height: 6em;
  opacity: 1;
  transform: translateY(0);
}

/* The stage stays dark. The journey's frames carry a pale paper backdrop
   behind the device and its track and mascot are drawn in light ink, so the
   whole composition was built to sit on this green. */
.home-page .process-stage {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  min-height: 650px;
  padding: clamp(38px, 4.4vw, 60px) clamp(30px, 4vw, 58px);
  overflow: hidden;
  isolation: isolate;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at 70% 16%, rgba(75, 232, 149, 0.13), transparent 46%),
    radial-gradient(circle at 14% 90%, rgba(255, 255, 255, 0.06), transparent 44%),
    var(--home-ink-soft);
}

.home-page .process-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle at 50% 44%, #000, transparent 78%);
  mask-image: radial-gradient(circle at 50% 44%, #000, transparent 78%);
}

.home-page .process-stage > * {
  position: relative;
  z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
  .home-page .store-button:hover,
  .home-page .store-badge-link:hover {
    transform: translateY(-2px);
  }

  .home-page .store-button-android:hover,
  .home-page .store-button-ios:hover {
    background: #111;
    border-color: #d0d0d0;
  }

  .home-page .course-card:hover {
    transform: none;
    border-color: var(--home-green-deep);
    box-shadow: none;
  }

  .home-page .course-card:hover .course-card-art img {
    transform: scale(1.035);
  }

  .home-page .process-story.is-ready .process-stage:hover .hero-motion-stage {
    transform: translateY(-3px);
  }
}

.home-page :where(
  .button,
  .store-button,
  .store-badge-link,
  .process-step
) {
  transform-origin: center;
}

.home-page :where(
  .button,
  .store-button,
  .store-badge-link,
  .process-step,
  .practice-detail-link
):active {
  transform: scale(0.97);
  transition-duration: var(--home-press-duration);
}

/* Practice: a real product moment before the pricing decision */

.home-page .practice-section {
  position: relative;
  padding: calc(var(--home-space) * 1.15) 0;
  color: #fffdf6;
}

.home-page .practice-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 78% 18%, rgba(75, 232, 149, 0.18), transparent 32%),
    radial-gradient(circle at 10% 88%, rgba(255, 255, 255, 0.05), transparent 30%),
    var(--home-ink);
}

.home-page .practice-shell {
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(56px, 8vw, 112px);
}

.home-page .practice-copy {
  max-width: 510px;
}

.home-page .practice-copy .eyebrow {
  color: #7ce2a8;
}

.home-page .practice-copy h2 {
  max-width: 10ch;
  color: #fffdf6;
}

.home-page .practice-copy .section-text {
  max-width: 46ch;
  margin-top: 28px;
  color: rgba(248, 244, 234, 0.7);
}

.home-page .practice-path {
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  list-style: none;
}

.home-page .practice-path li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.home-page .practice-path span,
.home-page .practice-example-label,
.home-page .practice-turn > span,
.home-page .practice-feedback span {
  color: #7ce2a8;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.home-page .practice-path strong {
  color: rgba(255, 253, 246, 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
}

.home-page .practice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.home-page .practice-actions .button {
  min-height: 50px;
  padding: 0 20px;
}

.home-page .practice-actions .button-primary {
  color: var(--home-ink);
  background: var(--home-green);
  box-shadow: 0 18px 42px rgba(47, 203, 122, 0.18);
}

.home-page .practice-actions .button-secondary {
  color: #fffdf6;
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
}

.home-page .practice-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  color: rgba(255, 253, 246, 0.76);
  font-size: 0.875rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    color 180ms ease,
    gap 220ms var(--home-ease-out),
    transform var(--home-press-duration) ease;
}

.home-page .practice-detail-link:hover,
.home-page .practice-detail-link:focus-visible {
  gap: 13px;
  color: #fffdf6;
}

.home-page .practice-stage {
  display: grid;
  grid-template-columns: minmax(160px, 210px) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(30px, 4vw, 52px);
  min-width: 0;
  margin: 0;
}

.home-page .practice-phone {
  width: 100%;
  overflow: hidden;
  border: 7px solid #09130f;
  border-radius: 34px;
  background: #09130f;
  box-shadow:
    0 34px 72px rgba(1, 10, 7, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: transform 360ms var(--home-ease-out);
}

.home-page .practice-phone img {
  display: block;
  width: 100%;
  height: auto;
}

.home-page .practice-example {
  min-width: 0;
  margin: 0;
  padding-left: clamp(24px, 3vw, 42px);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.home-page .practice-example-label {
  margin: 0 0 8px;
}

.home-page .practice-exchange {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.home-page .practice-turn {
  padding: 22px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.home-page .practice-turn p,
.home-page .practice-turn blockquote,
.home-page .practice-feedback p {
  margin: 9px 0 0;
  color: rgba(255, 253, 246, 0.82);
  font-size: 0.95rem;
  line-height: 1.68;
}

.home-page .practice-turn blockquote {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.2rem, 1.7vw, 1.48rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.42;
}

.home-page .practice-turn-reply blockquote {
  color: #fffdf6;
}

.home-page .practice-feedback {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  padding: 26px 0 28px;
  border-top: 2px solid rgba(75, 232, 149, 0.72);
}

.home-page .practice-feedback img {
  width: 54px;
  height: 54px;
  margin-top: 2px;
  object-fit: contain;
  opacity: 0.88;
  filter: drop-shadow(0 12px 20px rgba(1, 10, 7, 0.3));
}

.home-page .practice-section.is-waiting .practice-copy,
.home-page .practice-section.is-waiting .practice-stage {
  opacity: 0;
  transform: translateY(28px);
}

.home-page .practice-section.is-waiting .practice-feedback {
  opacity: 0;
  transform: translateY(18px);
}

.home-page .practice-copy,
.home-page .practice-stage,
.home-page .practice-feedback {
  transition:
    opacity 640ms ease,
    transform 760ms var(--home-ease-out);
}

.home-page .practice-section.is-visible .practice-copy,
.home-page .practice-section.is-visible .practice-stage,
.home-page .practice-section.is-visible .practice-feedback {
  opacity: 1;
  transform: translateY(0);
}

.home-page .practice-section.is-visible .practice-stage {
  transition-delay: 100ms;
}

.home-page .practice-section.is-visible .practice-feedback {
  transition-delay: 360ms;
}

@media (hover: hover) and (pointer: fine) {
  .home-page .practice-stage:hover .practice-phone {
    transform: translateY(-5px);
  }

  .home-page .practice-actions .button-secondary:hover {
    color: var(--home-ink);
    border-color: var(--home-green);
    background: var(--home-green);
  }
}

/* Pricing */

.home-page #pricing {
  scroll-margin-top: 0;
}

/* narrator-previews.css pads this band with the shared section gap; the
   homepage keeps it on the same rhythm as its neighbours. */
.home-page .voice-section {
  padding-block: var(--home-space);
}

.home-page .plus-section {
  /* No bottom padding: the access row's hairline closes the section, and the
     FAQ's own top padding is the gap. Two hairlines 155px apart with nothing
     between them used to sit here. */
  padding: var(--home-space) 0 0;
}

.home-page .plus-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 18px clamp(42px, 6vw, 84px);
  align-items: end;
  max-width: none;
}

.home-page .plus-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.home-page .plus-intro h2 {
  max-width: 15ch;
}

.home-page .plus-intro .section-text {
  max-width: 39ch;
  margin: 0 0 6px;
}

.home-page .plus-tier-grid {
  gap: 0;
  margin-top: clamp(34px, 4vw, 52px);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.home-page .plus-tier {
  min-width: 0;
  padding: clamp(32px, 4.5vw, 54px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .plus-tier + .plus-tier {
  border-left: 1px solid var(--home-line);
}

.home-page .plus-tier-paid {
  background: rgba(47, 203, 122, 0.08);
}

.home-page .plus-tier:not(.plus-tier-paid) .plus-tier-label {
  color: #526159;
}

.home-page .plus-plan-ribbon {
  top: 32px;
  right: 28px;
  background: var(--home-green);
  color: var(--home-ink);
}

.home-page .plus-badge {
  display: none;
}

.home-page .plus-tier-name,
.home-page .plus-price-amount {
  color: var(--home-ink);
}

.home-page .plus-billing-choice {
  border-radius: 0;
  background: rgba(255, 255, 255, 0.45);
}

.home-page a.plus-billing-choice {
  text-decoration: none;
}

.home-page a.plus-billing-choice:hover {
  border-color: var(--home-ink);
}

.home-page .plus-store-price-note {
  margin-top: 7px;
  max-width: 46ch;
  color: #58665e;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.48;
}

.home-page .plus-web-purchase {
  margin-top: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(16, 39, 31, 0.12);
  border-bottom: 1px solid rgba(16, 39, 31, 0.12);
}

.home-page .plus-web-purchase .button {
  min-height: 52px;
}

.home-page .plus-web-note {
  margin-top: 10px;
  max-width: 54ch;
  color: #46564d;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.55;
}

.home-page .plus-access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  padding: 28px 0;
  border-bottom: 1px solid var(--home-line);
}

/* The early testing note sits under the badges, in their column. */
.home-page .plus-access .early-testing-note {
  grid-column: 2;
  margin-top: calc(-1 * clamp(10px, 2vw, 30px));
}

.home-page .plus-access-title {
  color: var(--home-ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
}



/* FAQ and support */

.home-page .faq-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  align-items: start;
  gap: clamp(64px, 9vw, 140px);
  padding: var(--home-space) 0;
}

.home-page .faq-section > .section-heading {
  position: sticky;
  top: 126px;
}

.home-page .faq-section h2 {
  max-width: 8ch;
}

.home-page .faq-list {
  margin-top: 0;
  border-top: 1px solid var(--home-line);
}

.home-page .faq-list details {
  border: 0;
  border-bottom: 1px solid var(--home-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .faq-list summary {
  padding: 25px 46px 25px 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.26rem;
  font-weight: 600;
  line-height: 1.28;
}

.home-page .faq-list details p {
  padding: 0 0 28px;
  color: #59675f;
}

.home-page .support-section {
  padding: 0 0 var(--home-space);
}

.home-page .support-panel {
  padding: clamp(36px, 6vw, 72px);
  border: 0;
  border-radius: 32px;
  background: var(--home-mist);
  box-shadow: none;
}

.home-page .support-copy {
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(240px, 0.72fr) minmax(320px, 1.28fr);
  align-items: center;
  grid-template-rows: auto auto;
  gap: 18px clamp(40px, 8vw, 120px);
}

/* The label sat absolutely at the section's corner, half on the panel edge.
   It now heads the left column, and the card spans both rows beside it. */
.home-page .support-copy > .eyebrow {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  margin: 0;
}

.home-page .support-copy h2 {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  max-width: 8ch;
}

.home-page .support-copy > .support-card {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.home-page .support-card {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .support-card-meta {
  flex: 1;
}

@media (min-width: 1041px) {
  .home-page .support-mail-link {
    word-break: normal;
    white-space: nowrap;
  }
}

/* Founder note: a letter resting on a desk mat */

.home-page .founder-section {
  padding: var(--home-space) 0;
  border-top: 1px solid var(--home-line);
}

.home-page .founder-manifesto {
  padding: clamp(22px, 3vw, 46px) 0 clamp(30px, 4vw, 58px);
  border-top: 0;
}

.home-page .founder-letter {
  min-height: 0;
  width: 100%;
}

.home-page .founder-manifesto::before {
  top: 0;
  bottom: 0;
  height: auto;
  width: min(1080px, 100%);
  border-radius: 40px;
  transform: translateX(-50%) rotate(0.5deg);
}

.home-page .founder-copy {
  /* A notebook page: the left margin carries short handwritten notes beside
     the lines they mark, the way a learner annotates what they read. */
  --founder-margin: clamp(150px, 16vw, 210px);
  position: relative;
  width: min(100%, 980px);
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(30px, 4.4vw, 54px) clamp(24px, 4.4vw, 58px)
    clamp(28px, 4vw, 46px) var(--founder-margin);
  opacity: 1;
  border: 1px solid rgba(16, 39, 31, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(
      90deg,
      transparent calc(var(--founder-margin) - 26px),
      rgba(214, 92, 92, 0.3) calc(var(--founder-margin) - 26px),
      rgba(214, 92, 92, 0.3) calc(var(--founder-margin) - 25px),
      transparent calc(var(--founder-margin) - 25px)
    ),
    linear-gradient(180deg, #fffefb 0%, #fdfaf2 100%);
  box-shadow:
    0 32px 68px rgba(16, 28, 20, 0.11),
    0 4px 14px rgba(16, 28, 20, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: rotate(-0.4deg);
  transition:
    opacity 640ms ease,
    transform 780ms cubic-bezier(0.2, 0.82, 0.22, 1),
    box-shadow 240ms ease;
}

.home-page .founder-copy.is-waiting {
  opacity: 0;
  transform: translateY(36px) rotate(-1.4deg) scale(0.985);
}

.home-page .founder-copy.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(-0.4deg) scale(1);
}

@media (hover: hover) and (pointer: fine) {
  .home-page .founder-copy.is-visible:hover {
    transform: translateY(-5px) rotate(-0.3deg) scale(1);
    box-shadow:
      0 38px 78px rgba(16, 28, 20, 0.14),
      0 5px 16px rgba(16, 28, 20, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
}

.home-page .founder-copy::before,
.home-page .founder-copy::after {
  content: none;
}

.home-page .founder-letterhead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 20px;
  margin-bottom: clamp(24px, 3.6vw, 36px);
  border-bottom: 1px solid rgba(16, 39, 31, 0.1);
}

.home-page .founder-letterhead-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--home-ink);
}

.home-page .founder-letterhead-brand img {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  box-shadow:
    0 8px 18px rgba(22, 153, 93, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.home-page .founder-letterhead .eyebrow {
  margin: 0;
  font-size: 0.875rem;
}

.home-page .founder-copy h2 {
  max-width: 19ch;
  margin: 0 0 6px;
  font-size: clamp(2.1rem, 3.6vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.home-page .founder-copy .section-text {
  max-width: 56ch;
  font-size: 1.07rem;
}

.home-page .founder-signature {
  margin: clamp(26px, 3.2vw, 36px) 0 0;
  color: var(--home-ink);
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.005em;
}

.home-page .founder-postscript {
  margin: clamp(24px, 3.4vw, 34px) 0 0;
  padding-top: 18px;
  border-top: 1px dashed rgba(16, 39, 31, 0.14);
  color: #526159;
  font-size: 0.98rem;
  line-height: 1.6;
}

.home-page .founder-postscript strong {
  color: var(--home-ink);
  font-weight: 800;
}

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/assets/fonts/caveat-latin.woff2") format("woff2");
}

.home-page .founder-margin-note {
  position: absolute;
  top: -2px;
  right: calc(100% + 34px);
  width: calc(var(--founder-margin) - 50px);
  color: var(--home-green-deep);
  font-family: "Caveat", "Bradley Hand", cursive;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.05;
  text-align: right;
  transform: rotate(-3deg);
}

.home-page .founder-margin-note::after {
  content: "";
  position: absolute;
  top: 0.55em;
  right: -28px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.6;
  transform: rotate(8deg);
}

.home-page .founder-copy mark {
  padding: 0 2px;
  color: inherit;
  background: linear-gradient(
    180deg,
    transparent 42%,
    rgba(75, 232, 149, 0.42) 42%,
    rgba(75, 232, 149, 0.42) 90%,
    transparent 90%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.home-page .founder-copy .founder-signature {
  font-family: "Caveat", "Bradley Hand", cursive;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(2.4rem, 3.4vw, 2.9rem);
  line-height: 1;
}

@media (max-width: 820px) {
  .home-page .founder-copy {
    --founder-margin: 58px;
  }

  .home-page .founder-margin-note {
    position: static;
    display: block;
    width: auto;
    margin: 0 0 2px;
    font-size: 1.35rem;
    text-align: left;
    transform: rotate(-1.5deg);
    transform-origin: left center;
  }

  .home-page .founder-margin-note::after {
    content: none;
  }
}

@media (max-width: 560px) {
  .home-page .founder-manifesto {
    padding: 14px 0 20px;
  }

  .home-page .founder-manifesto::before {
    border-radius: 26px;
    transform: translateX(-50%) rotate(0.7deg);
  }

  .home-page .founder-copy {
    --founder-margin: 46px;
    border-radius: 20px;
    padding-right: 22px;
    transform: rotate(-0.25deg);
  }

  .home-page .founder-copy.is-visible {
    transform: translateY(0) rotate(-0.25deg) scale(1);
  }

  .home-page .founder-letterhead {
    padding-bottom: 16px;
  }
}

.home-page .final-cta {
  padding: calc(var(--home-space) * 1.15) 0;
  color: #fffdf6;
  text-align: left;
}

.home-page .final-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 74% 12%, rgba(47, 203, 122, 0.24), transparent 30%),
    var(--home-ink);
}

.home-page .final-cta-shell {
  display: grid;
  /* The shared .final-cta-shell centres a 760px column; inside it this grid
     overflowed, stacked the heading into six lines and pushed the buttons
     past the page edge. The homepage uses the full section grid instead. */
  max-width: none;
  margin: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "eyebrow actions"
    "heading actions"
    "body actions";
  align-items: center;
  column-gap: clamp(54px, 8vw, 112px);
  row-gap: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .final-cta-shell .eyebrow {
  grid-area: eyebrow;
  align-self: end;
  margin: 0;
  color: #7ce2a8;
}

.home-page .final-cta-shell h2 {
  grid-area: heading;
  max-width: 13ch;
  /* The shared centred .final-cta h2 auto margins indented it past the eyebrow. */
  margin-inline: 0;
  color: #fffdf6;
}

.home-page .final-cta-shell > .section-text {
  grid-area: body;
  align-self: start;
  max-width: 38ch;
  margin: 0;
  color: rgba(248, 244, 234, 0.68);
}

.home-page .download-action-final {
  grid-area: actions;
  align-self: center;
  justify-items: start;
  width: auto;
  margin: 0;
  text-align: left;
}

.home-page .download-action-final .button {
  min-height: 58px;
  padding: 0 28px;
  color: var(--home-ink);
  background: var(--home-green);
  box-shadow: 0 18px 42px rgba(47, 203, 122, 0.2);
}

.home-page .download-action-final .platform-note {
  color: rgba(248, 244, 234, 0.62);
}

/* The hero sits on the same dark green, so its early testing note needs the
   same light ink; the shared muted grey measures under 2:1 there. */
.home-page .hero-actions .early-testing-note {
  margin-top: 14px;
  color: rgba(248, 244, 234, 0.72);
}

.home-page .download-action-final .store-buttons {
  flex-wrap: nowrap;
  justify-content: flex-start;
}

/* Android tester waitlist */

.home-page.android-waitlist-open {
  overflow: hidden;
}

.home-page .android-waitlist-dialog {
  width: min(600px, calc(100vw - 32px));
  max-width: none;
  max-height: min(760px, calc(100svh - 32px));
  padding: 0;
  overflow: visible;
  color: var(--home-ink);
  background: transparent;
  border: 0;
}

.home-page .android-waitlist-dialog[open] {
  animation: android-waitlist-in 240ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.home-page .android-waitlist-dialog::backdrop {
  background: rgba(4, 16, 12, 0.72);
  backdrop-filter: blur(12px);
}

.home-page .android-waitlist-panel {
  position: relative;
  max-height: min(760px, calc(100svh - 32px));
  padding: clamp(32px, 5vw, 48px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 2%, rgba(75, 232, 149, 0.2), transparent 28%),
    var(--home-paper);
  box-shadow: 0 38px 110px rgba(1, 12, 8, 0.44);
}

.home-page .android-waitlist-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #4f6057;
  background: rgba(16, 39, 31, 0.06);
  border: 1px solid rgba(16, 39, 31, 0.1);
  border-radius: 50%;
  font: 700 1.45rem/1 "Manrope", sans-serif;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.home-page .android-waitlist-close:hover {
  color: var(--home-ink);
  background: rgba(16, 39, 31, 0.1);
  transform: rotate(4deg);
}

.home-page .android-waitlist-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--home-green-deep);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-page .android-waitlist-kicker img {
  width: 31px;
  height: 18px;
}

.home-page .waitlist-mark {
  display: inline-flex;
  align-items: center;
}

.home-page .waitlist-mark[hidden] {
  display: none;
}

.home-page .waitlist-apple-mark {
  width: 19px;
  height: 21px;
}

.home-page .waitlist-apple-mark-large {
  width: 30px;
  height: 33px;
}

.home-page .android-waitlist-dialog h2 {
  max-width: 9.5ch;
  color: var(--home-ink);
  font-size: clamp(2.65rem, 6vw, 4.5rem);
  line-height: 0.94;
}

.home-page .android-waitlist-description {
  max-width: 46ch;
  margin-top: 22px;
  color: #536159;
  font-size: 1rem;
  line-height: 1.65;
}

.home-page .android-waitlist-form {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.home-page .android-waitlist-form > label {
  color: var(--home-ink);
  font-size: 0.875rem;
  font-weight: 800;
}

.home-page .android-waitlist-controls {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 7px;
  background: #fff;
  border: 1px solid rgba(16, 39, 31, 0.14);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(16, 39, 31, 0.08);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.home-page .android-waitlist-controls:focus-within {
  border-color: rgba(13, 112, 68, 0.52);
  box-shadow:
    0 0 0 4px rgba(75, 232, 149, 0.14),
    0 16px 36px rgba(16, 39, 31, 0.1);
}

.home-page .android-waitlist-email {
  min-width: 0;
  flex: 1 1 210px;
  min-height: 50px;
  padding: 0 12px;
  color: var(--home-ink);
  background: transparent;
  border: 0;
  font: 600 0.96rem/1.4 "Manrope", sans-serif;
}

.home-page .android-waitlist-email::placeholder {
  color: #758179;
}

.home-page .android-waitlist-topic {
  min-width: 0;
  flex: 1 1 auto;
  min-height: 50px;
  padding: 0 12px;
  color: var(--home-ink);
  background: transparent;
  border: 0;
  font: 600 0.96rem/1.4 "Manrope", sans-serif;
}

.home-page .android-waitlist-topic::placeholder {
  color: #758179;
}

.home-page .android-waitlist-optional {
  margin-left: 7px;
  color: #68746c;
  font-size: 0.875rem;
  font-weight: 700;
}

/* Breathing room between the topic answer and the email it is attached to. */
.home-page .android-waitlist-form > [data-waitlist-email-label] {
  margin-top: 8px;
}

.home-page .android-waitlist-submit {
  min-height: 50px;
  padding: 0 19px;
  white-space: nowrap;
}

.home-page .android-waitlist-note,
.home-page .android-waitlist-status {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.home-page .android-waitlist-note {
  color: #68746c;
}

.home-page .android-waitlist-status {
  min-height: 1.5em;
  font-weight: 800;
}

.home-page .android-waitlist-status[data-state="pending"] {
  color: #526159;
}

.home-page .android-waitlist-status[data-state="error"] {
  color: #9a3a24;
}

.home-page .android-waitlist-success {
  min-height: 400px;
  place-content: center;
  justify-items: start;
  gap: 18px;
}

.home-page .android-waitlist-success:not([hidden]) {
  display: grid;
}

.home-page .android-waitlist-success-mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 8px;
  border-radius: 22px;
  background: rgba(75, 232, 149, 0.15);
  box-shadow: inset 0 0 0 1px rgba(13, 112, 68, 0.12);
}

.home-page .android-waitlist-success .eyebrow {
  margin: 0;
}

.home-page .android-waitlist-success h2 {
  max-width: 10ch;
}

.home-page .android-waitlist-success > p:not(.eyebrow) {
  max-width: 38ch;
  color: #536159;
  line-height: 1.65;
}

.home-page .android-waitlist-success .button {
  min-width: 132px;
  margin-top: 8px;
}

.home-page .android-waitlist-success-cta:not([hidden]) {
  display: inline-flex;
}

.home-page .android-waitlist-success-cta[hidden] {
  display: none;
}

.home-page .android-waitlist-success-cta-note {
  margin-top: -12px;
  font-size: 0.875rem;
  color: #6d7a72;
}

.home-page .android-waitlist-success-cta-note:not([hidden]) + .button {
  margin-top: 0;
}

@keyframes android-waitlist-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes home-hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-hero-visual-in {
  from {
    opacity: 0;
    transform: translate3d(30px, 20px, 0) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* The homepage nav now carries the same four links as every other page, so it
   collapses at the same 720px as the rest of the site instead of the 1040px
   the old wider header needed. Between 720 and 1040 the header keeps the nav,
   matching what a visitor sees on every generated route at those widths. */
@media (max-width: 720px) {
  .home-page .site-nav {
    display: none;
  }
}

@media (max-width: 1040px) {
  .home-page .site-header-shell {
    flex-direction: row;
    align-items: center;
  }

  .home-page .header-actions {
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }

  .home-page .hero-shell {
    grid-template-columns: minmax(0, 56%) minmax(0, 44%);
    gap: 0;
  }

  .home-page .hero-visual {
    width: 100%;
    margin: 0;
  }

  .home-page .compare-band {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-page .practice-shell {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .home-page .practice-copy {
    max-width: 720px;
  }

  .home-page .practice-stage {
    width: min(100%, 820px);
  }

  .home-page .compare-intro {
    max-width: 720px;
  }

  .home-page .faq-section {
    grid-template-columns: minmax(260px, 0.72fr) minmax(380px, 1.28fr);
    gap: 54px;
  }

  .home-page .support-copy {
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 40px);
  }

  /* 8ch only fits the two-column panel. Stacked, it broke the heading into
     three short lines with half the panel empty beside it. */
  .home-page .support-copy h2 {
    max-width: 16ch;
  }

  .home-page .support-copy > .eyebrow,
  .home-page .support-copy h2,
  .home-page .support-copy > .support-card {
    grid-column: 1;
    grid-row: auto;
  }

  .home-page .support-card-meta {
    flex: 0 1 auto;
  }

  .home-page .course-card:nth-child(n) {
    grid-column: span 6;
  }
}

@media (max-width: 959px) {
  .home-page .hero-shell {
    width: 100%;
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "visual";
    gap: 32px;
    padding: 132px 0 0;
  }

  .home-page .hero-intro {
    width: min(100% - 48px, 720px);
    max-width: none;
    margin: 0 auto;
    padding-right: 0;
  }

  .home-page .hero-visual {
    width: 100%;
    height: 520px;
    justify-self: stretch;
    margin: 0;
    padding: 0 24px 36px;
  }

  .home-page .hero-still {
    width: min(100%, 300px);
  }
}

@media (max-width: 820px) {
  .home-page .section-shell,
  .home-page .site-header-shell {
    width: min(100% - 40px, 720px);
  }

  .home-page .mobile-nav-link {
    display: inline-flex;
    min-height: 42px;
    color: #fffdf6;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
  }

  .home-page .hero-shell {
    width: 100%;
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "visual";
    gap: 32px;
    padding: 132px 0 0;
  }

  .home-page .hero-intro {
    width: min(100% - 40px, 720px);
    max-width: none;
    margin: 0 auto;
    padding-right: 0;
  }

  .home-page .hero-visual {
    width: 100%;
    height: 500px;
    justify-self: stretch;
    margin: 0;
    padding: 0 24px 32px;
  }

  .home-page .journey-band,
  .home-page .compare-band,
  .home-page .courses-feature-head,
  .home-page .process-intro,
  .home-page .faq-section,
  .home-page .support-copy,
  .home-page .final-cta-shell {
    grid-template-columns: 1fr;
  }

  .home-page .compare-visual {
    grid-template-columns: 1fr;
  }

  .home-page .compare-intro,
  .home-page .faq-section > .section-heading {
    position: static;
  }

  .home-page .process-intro .eyebrow,
  .home-page .final-cta-shell .eyebrow {
    margin-bottom: 0;
  }

  .home-page .process-intro {
    gap: 26px;
  }

  .home-page .process-intro .section-text {
    margin: 0;
  }

  .home-page .process-story {
    grid-template-areas:
      "stage"
      "controls";
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 34px;
  }

  .home-page .process-controls {
    grid-area: controls;
    padding: 38px clamp(30px, 7vw, 52px) 44px;
  }

  .home-page .process-stage {
    grid-area: stage;
    min-height: 0;
    padding: 44px clamp(30px, 7vw, 52px) 40px;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .home-page .practice-stage {
    grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
    gap: 26px;
  }

  .home-page .practice-example {
    padding-left: 26px;
  }

  .home-page .plus-tier-grid {
    grid-template-columns: 1fr;
  }

  .home-page .plus-intro {
    display: block;
    max-width: 720px;
  }

  .home-page .plus-intro .eyebrow {
    margin-bottom: 18px;
  }

  .home-page .plus-intro h2 {
    max-width: 10ch;
  }

  .home-page .plus-intro .section-text {
    max-width: 58ch;
    margin: 18px 0 0;
  }

  .home-page .plus-tier + .plus-tier {
    border-top: 1px solid var(--home-line);
    border-left: 0;
  }

  .home-page .support-copy > .eyebrow,
  .home-page .support-copy h2,
  .home-page .support-copy > .support-card {
    grid-column: 1;
    grid-row: auto;
  }

  .home-page .final-cta-shell {
    grid-template-areas:
      "eyebrow"
      "heading"
      "body"
      "actions";
    gap: 20px;
  }

  .home-page .final-cta-shell > .section-text {
    margin-bottom: 24px;
  }

  .home-page .download-action-final {
    grid-area: actions;
  }
}

@media (max-width: 560px) {
  .home-page .section-shell,
  .home-page .site-header-shell {
    width: calc(100% - 40px);
  }

  .home-page .practice-shell {
    gap: 46px;
  }

  .home-page .practice-copy .section-text {
    margin-top: 22px;
  }

  .home-page .practice-actions .button {
    flex: 1 1 100%;
  }

  .home-page .practice-stage {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-page .practice-phone {
    width: min(168px, 54vw);
    justify-self: center;
    border-width: 6px;
    border-radius: 29px;
  }

  .home-page .practice-example {
    padding: 26px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .home-page .practice-turn {
    padding: 20px 0 22px;
  }

  .home-page .practice-feedback {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
  }

  .home-page .practice-feedback img {
    width: 46px;
    height: 46px;
  }

  .home-page .site-header-shell {
    min-height: 56px;
    gap: 8px;
    padding: 0;
  }

  .home-page .brand {
    gap: 8px;
    font-size: 1.05rem;
  }

  .home-page .brand img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .home-page .mobile-nav-link {
    display: none;
  }

  .home-page .header-actions > .button-primary {
    min-height: 34px;
    padding: 0 13px;
    font-size: 0.875rem;
  }

  .home-page .header-actions > .header-course-link {
    min-height: 42px;
    gap: 6px;
    padding: 0 10px;
    font-size: 0.875rem;
  }

  .home-page .header-actions > .header-course-link::after {
    display: none;
  }

  .home-page .hero {
    min-height: 100svh;
  }

  .home-page .hero-shell {
    grid-template-rows: auto auto;
    width: 100%;
    gap: 24px;
    padding: 104px 0 0;
  }

  .home-page .hero-intro {
    width: calc(100% - 40px);
  }

  .home-page .hero .eyebrow {
    margin-bottom: 14px;
    font-size: 0.875rem;
  }

  .home-page .hero-copy h1 {
    max-width: none;
    margin-top: 0;
    font-size: clamp(2.35rem, 11vw, 3rem);
  }

  .home-page .hero-topic-line {
    margin-top: 15px;
    font-size: 0.94rem;
    line-height: 1.48;
  }

  .home-page .hero-body {
    margin-top: 18px;
  }

  .home-page .hero-text {
    max-width: 35ch;
    font-size: 0.96rem;
    line-height: 1.52;
  }

  .home-page .hero-actions {
    align-items: flex-start;
    gap: 16px;
    margin-top: 18px;
  }

  .home-page .hero-actions .store-buttons,
  .home-page .download-action-final .store-buttons {
    width: 100%;
    flex-wrap: nowrap;
    gap: 7px;
  }

  /* Two grid columns rather than two flex items, so the tracks size the badge
     boxes themselves. The Play column is wider by the ratio of the two
     artworks' aspect ratios, so both badges stand at the same height. */
  .home-page .hero-actions .store-buttons {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1225fr);
    gap: 5px;
  }

  .home-page .hero-actions .store-button-ios,
  .home-page .hero-actions .store-button-android {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
    gap: 7px;
    padding: 7px 9px;
  }

  .home-page .store-button {
    min-width: 0;
    min-height: 52px;
    flex: 1 1 0;
    gap: 7px;
    padding: 7px 9px;
    border-radius: 13px;
  }

  .home-page .store-badge-link {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
  }

  .home-page .hero-actions .store-badge-link {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
  }

  .home-page .store-button-android,
  .home-page .store-button-ios {
    width: auto;
    min-width: 0;
    flex-basis: 0;
    opacity: 1;
  }

  .home-page .store-icon {
    width: 21px;
    height: 21px;
  }

  .home-page .store-icon-android {
    width: 26px;
    height: 15px;
  }

  .home-page .store-icon-ios {
    width: 19px;
    height: 21px;
  }

  .home-page .store-button-copy small {
    font-size: 0.875rem;
    letter-spacing: 0.045em;
  }

  /* Both actions are equal-width here, so the longer label sets the ceiling. */
  .home-page .store-button-copy strong {
    font-size: 0.875rem;
  }

  .home-page .android-waitlist-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100svh - 24px);
  }

  .home-page .android-waitlist-panel {
    max-height: calc(100svh - 24px);
    padding: 58px 20px 28px;
    border-radius: 24px;
  }

  .home-page .android-waitlist-close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }

  .home-page .android-waitlist-kicker {
    margin-bottom: 16px;
  }

  .home-page .android-waitlist-dialog h2 {
    font-size: clamp(2.35rem, 12vw, 3.1rem);
  }

  .home-page .android-waitlist-description {
    margin-top: 16px;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .home-page .android-waitlist-form {
    margin-top: 22px;
  }

  .home-page .android-waitlist-controls {
    display: grid;
    padding: 8px;
  }

  .home-page .android-waitlist-email,
  .home-page .android-waitlist-topic {
    width: 100%;
    min-height: 46px;
    padding: 0 8px;
  }

  .home-page .android-waitlist-submit {
    width: 100%;
  }

  .home-page .android-waitlist-success {
    min-height: 370px;
  }

  .home-page .hero-visual {
    width: 100%;
    height: 400px;
    justify-self: stretch;
    margin: 0;
    padding: 0 24px 28px;
  }

  .home-page .hero-still {
    width: min(100%, 280px);
  }

  .home-page .hero-motion-controls,
  .home-page .hero-motion-readout {
    width: 100%;
  }

  .home-page .hero-motion-stage {
    width: min(230px, 100%);
    margin-top: 3px;
  }

  .home-page .hero-motion-drag-hint {
    display: none;
  }

  .home-page .hero-motion-readout {
    grid-template-columns: 1fr;
    gap: 4px;
    margin-top: 10px;
    padding-top: 12px;
    font-size: 0.875rem;
  }

  .home-page .hero-motion-slider {
    height: 24px;
  }

  .home-page h2,
  .home-page .journey-band h2 {
    font-size: clamp(2.45rem, 12.4vw, 3.4rem);
  }

  .home-page .journey-section,
  .home-page .compare-section,
  .home-page .courses-feature,
  .home-page .process-section,
  .home-page .practice-section,
  .home-page .plus-section,
  .home-page .faq-section,
  .home-page .founder-section,
  .home-page .final-cta {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .home-page .plus-section {
    padding-top: 58px;
  }

  .home-page .journey-band {
    gap: 36px;
  }

  .home-page .journey-example {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .home-page .journey-example-direction {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
  }

  .home-page .journey-example-direction .learning-icon {
    width: 52px;
    height: 52px;
  }

  .home-page .journey-stop {
    --journey-art: 48px;
    gap: 14px;
  }

  .home-page .journey-stop-art,
  .home-page .journey-stop-art .learning-icon {
    width: 48px;
    height: 48px;
  }

  .home-page .journey-stop-node {
    width: 40px;
    height: 40px;
  }

  .home-page .journey-stop.is-next > div {
    padding: 12px 14px;
  }

  .home-page .compare-band,
  .home-page .faq-section {
    gap: 48px;
  }

  .home-page .compare-panel {
    padding: 24px 0;
  }

  .home-page .compare-panel-cadence {
    margin: 0 -14px;
    padding: 28px 20px;
  }

  .home-page .course-card-grid {
    width: calc(100vw - 14px);
    grid-template-columns: none;
    grid-auto-flow: column;
    /* Narrow enough that the next card shows a clear edge, so the row reads
       as a row and not as one course. */
    grid-auto-columns: min(80vw, 330px);
    gap: 18px;
    margin-top: 42px;
    padding-right: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home-page .course-card-grid::-webkit-scrollbar {
    display: none;
  }

  .home-page .course-card:nth-child(n) {
    grid-column: auto;
    scroll-snap-align: start;
  }

  .home-page .course-card-body {
    padding-right: 14px;
    padding-left: 14px;
  }

  .home-page .course-card:nth-child(5) {
    display: none;
  }

  .home-page .process-intro {
    gap: 20px;
  }

  .home-page .process-intro h2 {
    max-width: 10ch;
  }

  .home-page .process-intro .section-text {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .home-page .process-story {
    margin-top: 40px;
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(16, 39, 31, 0.12);
  }

  .home-page .process-stage {
    min-height: 0;
    padding: 34px 20px 30px;
  }

  .home-page .process-controls {
    padding: 28px 22px 34px;
  }

  .home-page .process-controls-label {
    margin-bottom: 12px;
  }

  .home-page .process-controls-label span:last-child {
    display: none;
  }

  .home-page .process-step {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
    padding: 20px 0;
  }

  .home-page .process-step::before {
    left: -10px;
  }

  .home-page .process-copy strong {
    font-size: 1.35rem;
  }

  .home-page .process-step-detail {
    font-size: 0.875rem;
  }

  .home-page .plus-tier {
    padding: 32px 18px;
  }

  .home-page .plus-tier-price {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .home-page .plus-price-amount {
    font-size: 2.1rem;
  }

  .home-page .plus-plan-ribbon {
    top: 30px;
    right: 12px;
  }

  .home-page .plus-billing-choices {
    grid-template-columns: 1fr;
  }

  .home-page .plus-access {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 0 30px;
  }

  .home-page .plus-access .store-buttons {
    flex-wrap: wrap;
  }

  .home-page .plus-access .early-testing-note {
    grid-column: auto;
    margin-top: 0;
  }

  /* Natural width, so the Android button stays a pair with Apple's
     fixed-size badge when the row wraps instead of stretching past it. */
  .home-page .plus-access .store-button {
    flex: 0 0 auto;
  }

  .home-page .faq-list summary {
    font-size: 1.12rem;
  }

  .home-page .support-section {
    padding-bottom: 82px;
  }

  .home-page .support-panel {
    padding: 34px 20px;
  }

  .home-page .support-copy {
    gap: 28px;
  }

  .home-page .support-card-header {
    align-items: flex-start;
  }

  .home-page .support-icon {
    display: none;
  }

}

/* Equal columns leave `Request free access` only a couple of pixels of room on
   a 375 to 390 phone, and none at 360. Trim this one button's padding and label
   rather than shrinking the pair or stacking it, so the hero still opens inside
   a single viewport on the narrowest common phones. */
@media (max-width: 389px) {
  .home-page .hero-actions .store-button-android {
    gap: 6px;
    padding-right: 7px;
    padding-left: 7px;
  }

  .home-page .hero-actions .store-button-copy strong {
    font-size: 0.875rem;
  }
}

/* Below this the two equal-width actions crowd their labels, so stack them. */
@media (max-width: 374px) {
  .home-page .brand span {
    display: none;
  }

  .home-page .hero-actions .store-buttons,
  .home-page .download-action-final .store-buttons {
    flex-wrap: wrap;
  }

  .home-page .store-button {
    width: 230px;
    max-width: 100%;
    flex: 0 0 auto;
  }
}

/* Narrower than any current phone, so there is no width left to trim: the two
   hero actions finally stack the way the breakpoint above always intended. The
   single column holds the same 230px pair the desktop hero uses, so the Android
   button takes the badge's matching 77px height instead of its own minimum. */
@media (max-width: 359px) {
  .home-page .hero-actions .store-buttons {
    grid-template-columns: minmax(0, 258px);
  }

  /* One column wide enough for the Play badge at Apple's 77px height; the App
     Store badge keeps its own 230px. */
  .home-page .hero-actions .hero-store-badge-link:not(.store-badge-play) {
    max-width: 230px;
  }

  .home-page .hero-actions .store-button-android {
    min-height: 77px;
  }
}

/* On phones, give the return control a real slot in the action bar instead
   of floating it over reading content and full-width links. At the final CTA,
   the bar retires and Back to top remains in normal flow after the footer. */
.home-action-dock {
  display: contents;
}

@media (max-width: 820px) {
  html:has(.home-page .home-action-dock .sticky-cta:not([hidden])) {
    scroll-padding-bottom: calc(85px + env(safe-area-inset-bottom));
  }

  .home-page .home-action-dock {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #0a1b15;
  }

  .home-page .home-action-dock:has(.sticky-cta:not([hidden])) {
    position: fixed;
    inset: auto 0 0;
    z-index: 45;
    background: rgba(255, 253, 247, 0.94);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(16, 39, 31, 0.12);
    box-shadow: 0 -10px 30px rgba(16, 28, 20, 0.08);
  }

  .home-page .home-action-dock .sticky-cta:not([hidden]) {
    display: contents;
  }

  .home-page .home-action-dock .back-to-top {
    position: static;
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    order: 1;
    padding: 0;
    box-shadow: none;
  }

  .home-page .home-action-dock .back-to-top[hidden] {
    display: none;
  }

  .home-page .home-action-dock .back-to-top:focus-visible {
    outline: 2px solid #fffdf6;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px #132c23;
  }

  .home-page .home-action-dock:has(.back-to-top[hidden]):has(.sticky-cta[hidden]) {
    display: none;
  }
}

@media (max-width: 560px) {
  .home-page .home-action-dock .sticky-cta-copy {
    display: none;
  }

  .home-page .home-action-dock .sticky-cta-button {
    flex: 1;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-intro,
  .home-page .hero-visual,
  .home-page .android-waitlist-dialog[open] {
    animation: none;
  }

  .home-page .hero-motion-stage,
  .home-page .hero-motion-drag-hint,
  .home-page .course-card-art img,
  .home-page .store-button,
  .home-page .android-waitlist-close,
  .home-page .process-story,
  .home-page .process-step,
  .home-page .process-step::before,
  .home-page .process-step-detail {
    transition: none;
  }

  .home-page .process-story.is-motion-ready,
  .home-page .process-story.is-motion-ready.is-visible,
  .home-page .process-story.is-motion-ready .process-step,
  .home-page .process-story.is-motion-ready.is-visible .process-step {
    opacity: 1;
    transform: none;
  }

  .home-page .process-step {
    transition: color 120ms ease, opacity 120ms ease;
  }

  .home-page .process-story.is-ready .process-stage:hover .hero-motion-stage {
    transform: none;
  }

  .home-page .founder-copy,
  .home-page .founder-copy.is-waiting,
  .home-page .founder-copy.is-visible {
    opacity: 1;
    transform: rotate(-0.4deg);
    transition: none;
  }
}

/* Pricing and closing rows pair Apple's badge with the Android button. The
   badge is Apple's artwork, unmodified, at the Android button's height so the
   two read as one matched pair. The earlier iPhone pill drew the standalone
   Apple logo, which Apple's App Store marketing guidelines do not allow. */
.home-page .store-badge-link-paired {
  display: flex;
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
  align-items: center;
  align-self: center;
}

.home-page .store-badge-link-paired .app-store-badge {
  width: auto;
  height: 58px;
}

@media (max-width: 560px) {
  .home-page .plus-access .store-buttons,
  .home-page .download-action-final .store-buttons {
    flex-wrap: nowrap;
  }

  .home-page .store-badge-link-paired {
    flex: 0 0 auto;
    min-height: 44px;
  }

  .home-page .store-badge-link-paired .app-store-badge {
    /* Reserve the pricing band's gutters and gap for both original artworks. */
    height: clamp(40px, calc((100vw - 90px) / 6.4), 52px);
  }
}

/* The approved store artwork belongs only to the homepage opening. Keep these
   overrides scoped so the existing sections and other public pages retain
   their typography, layout, controls and colour system. */
.home-page .hero--illustrated {
  background: #073f35;
}

.home-page .hero--illustrated::before,
.home-page .hero--illustrated .hero-backdrop {
  display: none;
}

.home-page .hero--illustrated .hero-shell {
  width: min(1240px, calc(100% - 64px));
  min-height: 760px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  padding: 124px 0 64px;
}

.home-page .hero--illustrated .hero-intro {
  width: 100%;
  padding: 0;
}

.home-page .hero--illustrated .eyebrow {
  color: #dae6dc;
  font-size: 0.875rem;
  line-height: 1.45;
  letter-spacing: 0;
  margin-bottom: 26px;
  font-weight: 600;
  text-transform: none;
}

.home-page .hero--illustrated h1 {
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: clamp(2.9rem, 4.9vw, 4.6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.home-page .hero--illustrated .hero-promise-accent {
  color: #f5d982;
}

.home-page .hero--illustrated .hero-body {
  margin-top: 26px;
}

.home-page .hero--illustrated .hero-text {
  max-width: 42ch;
  color: #dae6dc;
  font-size: 1.1rem;
  line-height: 1.55;
}

.home-page .hero--illustrated .hero-actions {
  gap: 12px;
  margin-top: 28px;
}

.home-page .hero--illustrated .hero-free-note {
  color: #dae6dc;
  font-size: 0.875rem;
  margin: 0;
}

.home-page .hero--illustrated .hero-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 0;
  margin: 0;
}

.home-page .hero-learning-path {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: contain;
}

.home-page .hero-goal-example {
  width: 92%;
  margin: 14px auto 0;
  padding: 18px 22px;
  border-radius: 18px;
  color: #073f35;
  background: #faf5e8;
  transform: rotate(-2deg);
  box-shadow: 0 16px 36px #002d2238;
}

.home-page .hero-goal-example figcaption {
  margin-bottom: 10px;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* The example goal is real text in the app's goal field, so it stays as
   legible as the rest of the card at every width. */
.home-page .hero-goal-input {
  position: relative;
  margin: 0;
  padding: 14px 52px 14px 16px;
  min-height: 80px;
  border: 1.5px solid #073f35;
  border-radius: 14px;
  background: #ffffff;
  color: #073f35;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
}

.home-page .hero-goal-mic {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 30px;
  height: 30px;
}

.home-page .hero-goal-mic circle { fill: #073f35; }
.home-page .hero-goal-mic path { fill: #faf5e8; }

/* The goal card shows the input and what Cadence makes from it, so the
   promise is visible above the fold instead of 4,000px down the page. */
.home-page .hero-goal-plan {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1.5px solid #073f3522;
}

.home-page .hero-goal-plan-label {
  margin: 0 0 10px;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2f7a5c;
}

.home-page .hero-goal-plan-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-page .hero-goal-plan-list li {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: #073f35;
}

.home-page .hero-goal-plan-list li span {
  font-size: 0.875rem;
  font-weight: 800;
  color: #2f7a5c;
}

/* Get to know Cadence: one idea per card, copy pinned to the top, and the
   real app screen filling the rest of the card and running off its edge, so
   the product is the proof. The row scrolls sideways; the last card peeks. */
.home-page .learning-benefits {
  padding: 96px 0 64px;
}

.home-page .learning-benefits-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.home-page .learning-benefits-heading h2 {
  max-width: none;
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.home-page .learning-benefits-link {
  flex: none;
  font-size: 0.95rem;
}

.home-page .learning-benefits-grid {
  display: flex;
  gap: 20px;
  margin: 0 calc(50% - 50vw);
  padding: 6px max(32px, calc(50vw - 620px)) 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(32px, calc(50vw - 620px));
  scrollbar-width: none;
}

.home-page .learning-benefits-grid::-webkit-scrollbar { display: none; }

.home-page .learning-benefit {
  position: relative;
  display: flex;
  flex: 0 0 372px;
  flex-direction: column;
  height: 620px;
  padding: 28px 28px 0;
  border-radius: 28px;
  overflow: hidden;
  color: #073f35;
  scroll-snap-align: start;
}

.home-page .learning-benefit--cream { background: #e7ebd9; }
.home-page .learning-benefit--yellow { background: #f5d982; }
.home-page .learning-benefit--green { background: #073f35; color: #faf5e8; }

.home-page .learning-benefit-copy {
  position: relative;
  z-index: 1;
}

.home-page .learning-benefit-kicker {
  margin: 0 0 8px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: inherit;
  opacity: 0.78;
}

.home-page .learning-benefit h3 {
  max-width: 13em;
  margin: 0 0 10px;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: inherit;
}

.home-page .learning-benefit-copy p:last-child {
  margin: 0;
  max-width: 24em;
  font-size: 0.92rem;
  line-height: 1.5;
  color: inherit;
  opacity: 0.84;
}

.home-page .learning-benefit-screen {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 0;
  margin: 22px 0 0 12%;
  border: 7px solid #10201c;
  border-bottom: 0;
  border-radius: 34px 34px 0 0;
  background: #faf5e8;
  overflow: hidden;
  box-shadow: 0 18px 40px #00000033;
}

.home-page .learning-benefit--green .learning-benefit-screen { border-color: #d7cfb9; }

.home-page .learning-benefit-screen img {
  display: block;
  width: 100%;
  /* A bottom-cropped screen can reserve a strip under its last control so the
     card's arrow never sits on top of a button inside the screenshot. */
  height: calc(100% - var(--screen-inset, 0px));
  object-fit: cover;
  object-position: var(--screen-pos, 50% 0);
}

.home-page .learning-benefit-more {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #073f35;
  color: #faf5e8;
  box-shadow: 0 6px 16px #00000040;
  transition: transform 160ms ease;
}

.home-page .learning-benefit--green .learning-benefit-more {
  background: #faf5e8;
  color: #073f35;
}

.home-page .learning-benefit-more:hover,
.home-page .learning-benefit-more:focus-visible { transform: scale(1.06); }

.home-page .learning-benefits-steps {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.home-page .learning-benefits-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #073f3514;
  color: #073f35;
  cursor: pointer;
}

.home-page .learning-benefits-step:hover,
.home-page .learning-benefits-step:focus-visible { background: #073f3526; }

.home-page .learning-benefits-step .is-flipped { transform: scaleX(-1); }

@media (max-width: 959px) {
  .home-page .hero--illustrated .hero-shell {
    width: min(720px, calc(100% - 48px));
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "visual";
    gap: 28px;
    padding: 120px 0 48px;
  }

  .home-page .hero--illustrated .hero-intro { margin: 0; }
  .home-page .hero-learning-path { height: 320px; }
  .home-page .hero-goal-example { width: min(92%, 440px); }
}

@media (max-width: 560px) {
  .home-page .hero--illustrated .hero-shell {
    width: calc(100% - 40px);
    padding: 112px 0 38px;
  }

  .home-page .hero--illustrated h1 {
    font-size: clamp(2.4rem, 10.8vw, 3.1rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
  }

  .home-page .hero--illustrated .eyebrow {
    letter-spacing: 0;
    margin-bottom: 20px;
  }

  .home-page .hero--illustrated .hero-body { margin-top: 22px; }
  .home-page .hero--illustrated .hero-text { font-size: 1rem; }
  .home-page .hero--illustrated .hero-actions { margin-top: 24px; }
  /* On a phone the goal card comes first so the promise peeks above the fold;
     the path artwork follows it. */
  .home-page .hero--illustrated .hero-visual { flex-direction: column-reverse; gap: 22px; }
  .home-page .hero-learning-path { height: 220px; }
  .home-page .hero-goal-example { margin: 0; padding: 15px 18px; }
  .home-page .learning-benefits { padding: 48px 0 40px; }
  .home-page .learning-benefits-heading { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 22px; }
  .home-page .learning-benefits-heading h2 { font-size: 2rem; }
  .home-page .learning-benefits-grid { margin: 0 -20px; padding: 4px 20px 8px; scroll-padding-inline: 20px; }
  .home-page .learning-benefit { flex-basis: min(320px, 82vw); height: 540px; padding: 24px 24px 0; }
  .home-page .learning-benefit h3 { font-size: 1.45rem; }
  .home-page .learning-benefit-screen { margin-top: 20px; }
}

/* Keep purchase conditions as readable as the surrounding plan details. */
.home-page .plus-tier-note {
  font-size: 0.875rem;
}

/* Store choices are the primary conversion action, with artwork kept in proportion. */
.site-shell.home-page { --primary-store-badge-height: 80px; }
.site-shell.home-page :is(.hero-actions, .download-action-final) .store-buttons { gap: 16px; align-items: center; flex-wrap: nowrap; }
.site-shell.home-page :is(.hero-actions, .download-action-final) .store-badge-link { width: auto; min-width: 0; flex: 0 0 auto; }
.site-shell.home-page :is(.hero-actions, .download-action-final) .app-store-badge { height: var(--primary-store-badge-height); width: auto; max-width: none; }
.site-shell.home-page .hero-actions { margin-top: 28px; gap: 16px; }
.site-shell.home-page .final-cta { padding: 80px 0; }
.site-shell.home-page .final-cta-shell { grid-template-areas: "heading actions"; column-gap: 64px; }
@media (min-width: 960px) and (max-width: 1199px) {
  .site-shell.home-page { --primary-store-badge-height: 64px; }
}
@media (max-width: 959px) {
  .site-shell.home-page .final-cta-shell { grid-template-columns: 1fr; grid-template-areas: "heading" "actions"; gap: 28px; }
}
@media (max-width: 600px) {
  .site-shell.home-page :is(.hero-actions, .download-action-final) .store-buttons { gap: 8px; }
  .site-shell.home-page { --primary-store-badge-height: clamp(42px, 13vw, 56px); }
  .site-shell.home-page .final-cta { padding: 52px 0; }
}

/* A tutor that knows when to step in: Tutobi's three moments, drawn in the
   app's own words. Authored examples; the composer and actions are pictures
   of the app, so they are not focusable controls here. */

.home-page .tutor-section {
  padding: var(--home-space) 0;
}

.home-page .tutor-intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  margin-bottom: clamp(36px, 4vw, 56px);
}

.home-page .tutor-intro-spark {
  width: clamp(96px, 11vw, 148px);
  height: auto;
}

.home-page .tutor-intro h2 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 4.6vw, 4.4rem);
}

.home-page .tutor-intro .section-text {
  margin-top: 18px;
}

.home-page .tutor-moments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-page .tutor-moment {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.home-page .tutor-moment h3 {
  margin: 0;
  color: var(--home-ink);
  font: 650 clamp(1.3rem, 1.8vw, 1.6rem)/1.2 "Manrope", sans-serif;
}

.home-page .tutor-example {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 22px;
  color: #183d32;
  background: var(--home-paper);
  border: 1px solid rgba(23, 61, 50, 0.12);
  border-radius: 20px;
  box-shadow: 0 14px 32px rgba(15, 41, 32, 0.06);
}

.home-page .tutor-moment--next .tutor-example {
  background: linear-gradient(160deg, #0b4a3e, #073f35 70%);
  border-color: transparent;
}

.home-page .tutor-example figcaption {
  color: #53655b;
  font-size: 0.875rem;
  font-weight: 650;
}

.home-page .tutor-moment--next figcaption {
  color: #c9dccd;
}

.home-page .tutor-example p {
  margin: 0;
}

.home-page .tutor-question {
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.45;
}

.home-page .tutor-review-label {
  color: #7a5420;
  font-size: 0.875rem;
  font-weight: 750;
}

.home-page .tutor-from {
  margin-top: -10px !important;
  color: #53655b;
  font-size: 0.875rem;
}

.home-page .tutor-options {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-page .tutor-options li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #dfe3d6;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.home-page .tutor-options svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.home-page .tutor-options .is-missed {
  color: #6d5a4a;
  background: #f6efe6;
  border-color: #e3cdb7;
}

.home-page .tutor-options .is-missed s {
  text-decoration-thickness: 1.5px;
}

.home-page .tutor-options .is-correct {
  color: #1f5a40;
  background: #e6efdf;
  border-color: #9fbf9f;
  font-weight: 650;
}

.home-page .tutor-bubble {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.home-page .tutor-spark {
  width: 40px;
  height: 40px;
}

.home-page .tutor-bubble p {
  padding: 12px 14px;
  border-radius: 4px 16px 16px 16px;
  background: #f4edce;
  font-size: 0.95rem;
  line-height: 1.5;
}

.home-page .tutor-speaker {
  display: block;
  margin-bottom: 2px;
  color: #7a5420;
  font-size: 0.875rem;
  font-weight: 750;
}

.home-page .tutor-corner {
  display: flex;
  justify-content: flex-end;
  margin: -46px -6px -6px 0;
}

.home-page .tutor-corner-spark {
  width: 72px;
  height: 72px;
}

.home-page .tutor-corner-bubble {
  position: relative;
  padding: 16px 18px;
  border-radius: 18px 4px 18px 18px;
  color: #f4f7ee;
  background: rgba(255, 255, 255, 0.11);
  font-size: 1.1rem;
  line-height: 1.5;
}

.home-page .tutor-corner-bubble .tutor-speaker {
  color: #f5d982;
}

.home-page .tutor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.home-page .tutor-chip,
.home-page .tutor-composer {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
}

.home-page .tutor-chip {
  color: #fffdf7;
  background: #1f5a40;
}

.home-page .tutor-composer {
  flex: 1;
  color: #6b7a70;
  border: 1px solid #cfd6c8;
  font-weight: 500;
}

.home-page .tutor-next {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.home-page .tutor-next-action {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  color: #073f35;
  background: #f5d982;
  font-size: 0.95rem;
  font-weight: 750;
}

.home-page .tutor-request {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  color: rgba(244, 247, 238, 0.66);
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .home-page .tutor-moments {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
    max-width: 560px;
  }
}

@media (max-width: 560px) {
  .home-page .tutor-intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page .tutor-intro-spark {
    width: 88px;
  }

  .home-page .tutor-example {
    padding: 18px;
  }

}

/* The comparison's longer heading, and the stop Tutobi added to the course. */
.home-page .compare-intro h2 {
  max-width: 13ch;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.02;
}

/* The tutor section now sits above the journey on the same cream. */
.home-page .tutor-section + .journey-section {
  border-top: 1px solid var(--home-line);
}

.home-page .compare-panel-cadence .arc-stop-added {
  border-style: dashed;
  border-color: rgba(245, 217, 130, 0.55);
  background: rgba(245, 217, 130, 0.08);
}

.home-page .compare-panel-cadence .arc-stop-added::before {
  background: #f5d982;
  border-color: #f5d982;
}

.home-page .compare-panel-cadence .arc-stop-added .arc-day {
  color: #f5d982;
}

/* "Learn ___" in the hero card. The phrase and the example course under it
   turn over together; the card keeps its size so nothing on the page moves.
   The phrase stays inline so its highlight follows every wrapped line, so it
   fades rather than slides; the course rows slide. */
.home-page .hero-learn-line {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0 0 4px;
  min-height: 2.5em;
  color: #073f35;
  font-size: clamp(1.35rem, 2.1vw, 1.7rem);
  font-weight: 750;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.home-page .hero-learn-verb {
  color: #2f7a5c;
}

.home-page .hero-learn-x {
  background: linear-gradient(transparent 62%, #f5d98299 62%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: opacity 240ms var(--home-ease-out);
}

.home-page [data-learn-rotator] .hero-goal-plan-list {
  min-height: 6.4em;
  align-content: start;
  transition: opacity 240ms var(--home-ease-out), transform 240ms var(--home-ease-out);
}

.home-page [data-learn-rotator].is-turning .hero-learn-x,
.home-page [data-learn-rotator].is-arriving .hero-learn-x {
  opacity: 0;
}

.home-page [data-learn-rotator].is-turning .hero-goal-plan-list {
  opacity: 0;
  transform: translateY(-8px);
}

.home-page [data-learn-rotator].is-arriving .hero-goal-plan-list {
  opacity: 0;
  transform: translateY(8px);
}

.home-page [data-learn-rotator].is-arriving :is(.hero-learn-x, .hero-goal-plan-list) {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .home-page [data-learn-rotator] :is(.hero-learn-x, .hero-goal-plan-list) {
    transition: none;
  }
}

/* Centered hero (November 1, 2026), after the strongest app sites: one idea,
   generous space, the rotating word inside the headline, one wide product card
   straddling the dark hero and the cream page, breadth along the bottom. */

.home-page .hero--center {
  min-height: 0;
  display: block;
  padding: 0;
  background:
    radial-gradient(ellipse 55% 60% at 50% 22%, rgba(36, 128, 102, 0.55) 0%, rgba(36, 128, 102, 0) 100%),
    linear-gradient(180deg, #073a31 0%, #052a23 100%);
  overflow: hidden;
}

.home-page .hero--center::before,
.home-page .hero--center::after {
  content: none;
}

.home-page .center-shell {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 138px 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-page .hero--center .eyebrow {
  margin: 0 0 30px;
  color: #bcd6c6;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-transform: none;
}

.home-page .hero--center h1 {
  max-width: none;
  margin: 0;
  color: #fffdf6;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3.3rem, 7.6vw, 6.9rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.home-page .center-line {
  display: block;
  white-space: nowrap;
}

/* The typed word: one restrained highlight, the only gold in the headline. */
/* An inline-block sized to its own line, so the highlight never reaches into
   the lines above or below it. */
.home-page .center-pill {
  display: inline-block;
  padding: 0.03em 0.14em 0.07em;
  line-height: 0.96;
  border-radius: 0.16em;
  color: #f5d982;
  background: rgba(245, 217, 130, 0.14);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.home-page .center-pill.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.06em;
  height: 0.8em;
  margin-left: 0.04em;
  vertical-align: -0.04em;
  background: #f5d982;
}

.home-page .center-pill-wrap {
  white-space: nowrap;
}

.home-page .center-accent {
  color: rgba(255, 253, 246, 0.94);
}

.home-page .hero--center .hero-body {
  max-width: none;
  margin-top: 50px;
}

.home-page .hero--center .hero-actions {
  margin-top: 0;
  justify-items: center;
}

.home-page .hero--center .store-buttons {
  justify-content: center;
}

/* The card straddles the hero's dark ground and the cream page below. */
.home-page .center-stage {
  padding: 0 32px 34px;
  background: linear-gradient(180deg, rgba(246, 241, 232, 0) 0%, rgba(246, 241, 232, 0) 44%, #f6f1e8 44%, #f6f1e8 100%);
}

.home-page .center-card {
  position: relative;
  width: min(1040px, 100%);
  margin: 0 auto;
  box-sizing: border-box;
  padding: 34px 44px 38px;
  border-radius: 28px;
  color: #073f35;
  text-align: left;
  background: #fffdf7;
  border: 1px solid rgba(16, 39, 31, 0.06);
  box-shadow:
    0 50px 100px rgba(4, 30, 24, 0.28),
    0 12px 28px rgba(4, 30, 24, 0.12);
}

.home-page .center-spark {
  position: absolute;
  right: 44px;
  top: -52px;
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 8px 10px rgba(4, 30, 24, 0.2));
  transform: rotate(10deg);
  transform-origin: 50% 90%;
}

.home-page .center-card-title {
  margin: 0 0 28px;
  padding-right: 120px;
  color: #073f35;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-page .center-path {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr);
  column-gap: 24px;
}

/* One dotted trail across the stops, ending at the flag. */
.home-page .center-path::before {
  content: "";
  position: absolute;
  left: 7px;
  /* End at the flag pole: the goal column is 1.15 of 4.15 shares after gaps. */
  right: calc((100% - 72px) * 1.15 / 4.15 - 6px);
  top: 6px;
  height: 2px;
  background: radial-gradient(circle, #9dbfa6 1.2px, transparent 1.6px) left center / 8px 2px repeat-x;
}

.home-page .center-stop {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-page .center-dot {
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  border: 2.5px solid #2f7a5c;
  border-radius: 50%;
  background: #fffdf7;
}

.home-page .center-stop.is-start .center-dot {
  background: #2f7a5c;
  box-shadow: 0 0 0 5px rgba(47, 122, 92, 0.16);
}

.home-page .center-stop-title {
  padding-right: 8px;
  color: #2c4a3d;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.38;
}

.home-page .center-stop.is-start .center-stop-title {
  color: #073f35;
  font-weight: 700;
}

.home-page .center-goal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.home-page .center-flag {
  width: 24px;
  height: 24px;
  margin-top: -6px;
  background: #fffdf7;
}

.home-page .center-flag-pole {
  fill: none;
  stroke: #073f35;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.home-page .center-flag-cloth {
  fill: #f5d982;
  stroke: #b08a2c;
  stroke-width: 1.1;
  stroke-linejoin: round;
}

.home-page .center-goal-text {
  padding: 9px 14px;
  border-radius: 12px;
  color: #fffdf6;
  background: #073f35;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.home-page .center-turn :is(.center-card-title, .center-path) {
  transition: opacity 220ms ease, transform 220ms ease;
}

.home-page .center-turn.is-leaving :is(.center-card-title, .center-path) {
  opacity: 0;
  transform: translateY(-6px);
}

.home-page .center-topics {
  width: min(1120px, 100%);
  margin: 30px auto 0;
}

.home-page .center-topics-shell {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  padding-block: 4px;
}

.home-page .center-topics a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 9px;
  border: 1px solid #c6d4c8;
  border-radius: 999px;
  color: #234437;
  background: linear-gradient(180deg, #fffdf7, #f4f5eb);
  box-shadow: 0 2px 3px rgba(20, 52, 40, 0.09);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 160ms var(--site-ease-out), box-shadow 160ms var(--site-ease-out),
    transform 160ms var(--site-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .home-page .center-topics a:hover {
    border-color: #78a38a;
    box-shadow: 0 4px 9px rgba(20, 52, 40, 0.13);
    transform: translateY(-1px);
  }
}

.home-page .center-topics a:active {
  border-color: #78a38a;
  box-shadow: inset 0 1px 2px rgba(20, 52, 40, 0.12);
  transform: translateY(0);
}

.home-page .center-topics a:focus-visible {
  outline: 2px solid #2f7a5c;
  outline-offset: 2px;
}

.home-page .center-topics a:has(.center-topic-badge) {
  gap: 5px;
  padding-inline: 5px 7px;
}

.home-page .center-topic-badge {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 8px;
  background: #e6f0e5;
}

.home-page .center-topics svg {
  flex: none;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #2f7a5c;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .center-topic-badge svg {
  stroke: #296148;
  stroke-width: 1.7;
}

.home-page .center-topics .center-topics-all {
  border-color: #aac6b0;
  color: #1d593d;
  background: #e5f0e1;
}

.home-page .center-topics .center-topics-all svg {
  width: 15px;
  height: 15px;
  stroke: #0d7044;
  stroke-width: 2.2;
}

@media (forced-colors: active) {
  .home-page .center-topics a,
  .home-page .center-topics .center-topics-all { border-color: ButtonText; }
  .home-page .center-topic-badge svg { stroke: LinkText; }
  .home-page .center-topics a:focus-visible { outline-color: Highlight; }
}

@keyframes center-arrive {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes center-perch {
  0%, 100% { transform: rotate(10deg) translateY(0); }
  50% { transform: rotate(13deg) translateY(-3px); }
}

@keyframes center-caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .home-page .center-turn.is-arriving .center-card-title {
    animation: center-arrive 420ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .home-page .center-turn.is-arriving :is(.center-stop, .center-goal) {
    animation: center-arrive 460ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .home-page .center-spark {
    animation: center-perch 6s ease-in-out infinite;
  }

  .home-page .center-pill.is-typing::after {
    animation: center-caret 0.8s steps(1) infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .center-turn :is(.center-card-title, .center-path) {
    transition: none;
  }
  .home-page .center-topics a {
    transition: none;
    transform: none;
  }
}

/* Narrower screens: the path runs down the card instead of across it. */
@media (max-width: 900px) {
  .home-page .center-shell {
    padding: 120px 0 72px;
  }

  .home-page .center-stage {
    background: linear-gradient(180deg, rgba(246, 241, 232, 0) 0%, rgba(246, 241, 232, 0) 30%, #f6f1e8 30%, #f6f1e8 100%);
  }

  .home-page .center-card {
    width: min(620px, 100%);
    padding: 28px 28px 26px;
  }

  .home-page .center-path {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page .center-path::before {
    content: none;
  }

  .home-page .center-stop {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 14px;
    padding-bottom: 14px;
  }

  .home-page .center-stop::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 22px;
    bottom: 2px;
    width: 2px;
    background: radial-gradient(circle, #9dbfa6 1.2px, transparent 1.6px) center top / 2px 7px repeat-y;
  }

  .home-page .center-dot {
    margin: 4px auto 0;
  }

  .home-page .center-goal {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
  }

  .home-page .center-goal-text {
    justify-self: start;
  }

  .home-page .center-flag {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .home-page .center-shell {
    width: calc(100% - 40px);
    padding: 104px 0 72px;
  }

  .home-page .hero--center .eyebrow {
    margin-bottom: 24px;
    font-size: 0.875rem;
    line-height: 1.4;
  }

  /* Sized so the longest typed word (about 16 characters) fits one line at 320px. */
  .home-page .hero--center h1 {
    font-size: clamp(2rem, 10vw, 2.9rem);
    line-height: 1.18;
  }

  .home-page .hero--center .hero-copy {
    width: 100%;
    min-width: 0;
  }

  /* The typed word always gets its own line on phones, so the headline keeps
     three lines whatever the word and nothing below it moves. */
  .home-page .center-pill-wrap {
    display: block;
  }

  .home-page .hero--center .hero-body {
    margin-top: 38px;
  }

  .home-page .center-stage {
    padding: 0 20px 26px;
  }

  .home-page .center-card {
    padding: 24px 20px 20px;
    border-radius: 22px;
  }

  .home-page .center-spark {
    right: 18px;
    top: -36px;
    width: 58px;
    height: 58px;
  }

  .home-page .center-card-title {
    margin-bottom: 20px;
    padding-right: 64px;
    font-size: 1.125rem;
  }

  .home-page .center-stop-title {
    font-size: 1rem;
  }

  .home-page .center-goal-text {
    font-size: 0.9375rem;
  }

  .home-page .center-topics {
    margin-top: 22px;
  }

  .home-page .center-topics-shell {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin: 0 -20px;
    padding-inline: 20px;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
  }
}
