/*
 * Self-hosted fonts.
 *
 * These were previously loaded from fonts.googleapis.com, which cost a
 * render-blocking stylesheet plus DNS and TLS to two third-party origins on
 * every page. Both families are SIL Open Font License, so serving them from
 * our own origin is permitted; the licences sit next to the files in
 * /assets/fonts/.
 *
 * Both files are the variable versions, which is why one file covers every
 * weight we use. The latin subset matches what Google served for this site.
 */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #f6f8f3;
  --bg-deep: #e5ece4;
  --surface: rgba(255, 255, 250, 0.88);
  --surface-strong: rgba(255, 255, 252, 0.96);
  --surface-tint: rgba(244, 249, 241, 0.84);
  --text: #152118;
  --muted: #46544b;
  --line: rgba(21, 33, 24, 0.12);
  --line-strong: rgba(21, 33, 24, 0.2);
  --accent: #2fcb7a;
  --accent-strong: #16995d;
  --accent-soft: rgba(47, 203, 122, 0.16);
  --accent-glow: rgba(47, 203, 122, 0.26);
  --indigo: #556af0;
  --indigo-soft: rgba(85, 106, 240, 0.16);
  --shadow: 0 26px 70px rgba(16, 28, 20, 0.12);
  --shadow-strong: 0 34px 90px rgba(16, 28, 20, 0.18);
  /* One ring for every surface. A translucent ring mixes with whatever is
     behind it and lands near the page colour, which is how the earlier rings
     measured about 1.4:1 against their own backdrop. Picking a ring per surface
     was the other option and it kept missing bands: the site has at least five
     header and hero tones, and /skills/ was drawing a cream ring on cream.
     This mid green clears 3:1 on both extremes it has to live on, roughly
     3.8:1 against the cream page and 3.9:1 against the darkest band, so it
     cannot silently disappear when a new dark section appears. */
  --focus-ring: #2f8f5c;
  /* A disabled action keeps its label readable. Dimming the whole control with
     opacity fades the label with the fill, so the flat pair is stated here. */
  --action-disabled-fill: #9ed9bb;
  --action-disabled-edge: rgba(21, 33, 24, 0.45);
  --action-quiet-fill: rgba(255, 255, 255, 0.86);
  --header-height: 60px;
  --section-gap: clamp(58px, 7vw, 98px);
  --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset, var(--header-height)) + 6px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(47, 203, 122, 0.1), transparent 22%),
    radial-gradient(circle at 92% 14%, rgba(85, 106, 240, 0.1), transparent 18%),
    linear-gradient(180deg, #fcfdf8 0%, #f4f7ef 56%, #e7eee6 100%);
}

body::before {
  content: none;
}

a {
  color: inherit;
  -webkit-tap-highlight-color: rgba(22, 153, 93, 0.18);
  touch-action: manipulation;
}

.skip-link {
  position: absolute;
  top: 14px;
  left: 20px;
  z-index: 50;
  padding: 12px 16px;
  border-radius: 999px;
  background: #152118;
  color: #f6fff9;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

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

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  text-wrap: balance;
}

h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 0.94;
}

h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  max-width: 8.5ch;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  max-width: 11ch;
}

h3 {
  font-size: 1.24rem;
  line-height: 1.18;
}

.site-shell {
  position: relative;
}

.section-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100vw - 40px));
  margin: 0 auto;
}

.section-anchor {
  scroll-margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  background:
    radial-gradient(circle at top left, rgba(47, 203, 122, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(248, 251, 244, 0.94), rgba(239, 246, 237, 0.78));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(21, 33, 24, 0.08);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

/* One thin bar for every header family (measured against apple.com on
   October 10, 2026): a 60px shell, the links centred between the brand and
   the action at regular weight with no pill behind them, a small mark without
   a glow, a 34px action pill, and a hairline instead of a scrolled shadow.
   Each family keeps its own surface colour and ink. */
.site-header.is-scrolled {
  background:
    radial-gradient(circle at top left, rgba(47, 203, 122, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(252, 253, 248, 0.98), rgba(242, 248, 239, 0.88));
  border-bottom-color: rgba(21, 33, 24, 0.12);
  box-shadow: none;
}

.site-header-shell {
  position: relative;
  width: min(1240px, calc(100vw - 40px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand img {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 9px;
  box-shadow: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transform: translate(-50%, -50%);
}

/* Wrap between links, never inside one. Without this the row squeezes and
   breaks multi-word labels like `App Store` across two lines. The right lane
   keeps the last link out from under the fixed back-to-top control. */
/* Labelled columns rather than one long row, so a footer with 19 blog posts
   behind it stays browsable. The right padding is the floating-action-button
   clearance lane and has to stay on this element. */
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  align-items: start;
  gap: 26px 30px;
  padding-right: 68px;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}

/* On a touch screen these twenty links were 22px tall with 9px between them, so
   the thumb had a 31px pitch to aim at across the whole footer. Give each one a
   44px row and close the gap, which keeps the same visual rhythm while the
   target matches the platform guidance. Scoped to coarse pointers so the
   pointer layout is untouched. */
@media (pointer: coarse) {
  .footer-link-group {
    gap: 0;
  }

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

.footer-link-heading {
  margin: 0 0 2px;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #4f5c54;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 160ms ease;
}

.site-nav a[aria-current="location"] {
  color: var(--accent-strong);
}

.site-nav a[aria-current="location"]::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-strong);
}

.mobile-nav-link {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 33, 24, 0.08);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow:
    0 10px 20px rgba(16, 28, 20, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

/* Phone-width disclosure for the primary destinations. Desktop keeps the
   inline .site-nav pill, so the toggle and panel only display inside the
   720px header breakpoint below. */
.site-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(21, 33, 24, 0.2);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
}

.site-menu-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.94);
}

.site-menu {
  display: none;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  white-space: normal;
  transition: color 180ms ease;
}

/* The rest of the standalone links a thumb has to hit. Each of these sits on
   its own in a container rather than inside a sentence, so a touch height
   changes nothing about how prose wraps. Pointer layouts keep their own
   compact sizing. */
@media (pointer: coarse) {
  .footer-links a,
  .text-link,
  .practice-detail-link,
  .course-breadcrumb,
  .course-hero-link,
  .account-checkout-exit {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

.site-nav a:hover {
  color: var(--text);
  background: transparent;
  box-shadow: none;
  transform: none;
}

.site-nav a:focus-visible {
  background: transparent;
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  background: transparent;
  box-shadow: none;
}

.footer-links a:hover {
  color: var(--text);
}

.header-actions .button {
  min-height: 34px;
  padding: 0 15px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  /* A <button class="button"> otherwise falls back to the UA button font, so
     the same pill rendered in Arial next to one rendered in Manrope. */
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
  -webkit-tap-highlight-color: rgba(22, 153, 93, 0.18);
  touch-action: manipulation;
  cursor: pointer;
}

/* Lift on hover, settle on press. `:not(:active)` lets the pressed state win on
   a pointer device, and `:not(:disabled)` keeps a working button still. */
.button:hover:not(:active):not(:disabled) {
  transform: translateY(-1px);
}

.button:active:not(:disabled) {
  transform: scale(0.97);
}

/* Baseline focus ring, on the element rather than a class, so nothing can fall
   through. The class list below it was written for the homepage, and the
   generated public pages carry prose links, breadcrumbs, FAQ summaries, article
   cards and search fields that none of those names reach: they were landing on
   the browser default, and the catalog and blog search fields showed no focus
   change at all, which is a Focus Visible failure rather than a weak ring.
   Element selectors keep this at the lowest specificity, so every rule after it
   still sets its own offset. `tabindex="-1"` is excluded because those are
   scroll destinations for fragment links, not controls. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.button:focus-visible,
.brand:focus-visible,
.text-link:focus-visible,
.site-nav a:focus-visible,
.site-menu-toggle:focus-visible,
.site-menu a:focus-visible,
.footer-links a:focus-visible,
.mobile-nav-link:focus-visible,
.course-link-card:focus-visible,
.course-mini-link:focus-visible,
.faq-list summary:focus-visible,
.back-to-top:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.button-primary {
  color: var(--text);
  /* Keep the fill paired with dark ink, including on pages with darker accents. */
  background: linear-gradient(135deg, #16995d, #2fcb7a);
  box-shadow:
    0 14px 28px rgba(22, 153, 93, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.button-primary:hover {
  box-shadow:
    0 16px 34px rgba(22, 153, 93, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset;
}

/* A working button still has to say what it says. Opacity used to fade the
   label along with the fill, which took the primary action to about 2.6:1 at
   the exact moment someone had committed to it. Flatten the control instead:
   no lift, no glow, a quieter fill, and the same dark label. */
.button:disabled {
  cursor: progress;
  transform: none;
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(21, 33, 24, 0.12);
  box-shadow: 0 10px 24px rgba(16, 28, 20, 0.08);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(16, 28, 20, 0.1);
}

.button-primary:disabled,
.button-primary:disabled:hover {
  color: var(--text);
  background: var(--action-disabled-fill);
  box-shadow: inset 0 0 0 1px var(--action-disabled-edge);
}

.button-secondary:disabled,
.button-secondary:disabled:hover {
  color: var(--muted);
  background: var(--action-quiet-fill);
  border-color: var(--action-disabled-edge);
  box-shadow: none;
}

.header-actions .header-course-link {
  gap: 9px;
  min-height: 48px;
  padding: 0 13px 0 18px;
  color: #11613e;
  background:
    radial-gradient(circle at top right, rgba(47, 203, 122, 0.18), transparent 44%),
    linear-gradient(180deg, rgba(238, 250, 243, 0.98), rgba(218, 243, 228, 0.9));
  border: 1px solid rgba(22, 153, 93, 0.24);
  white-space: nowrap;
  box-shadow:
    0 14px 28px rgba(22, 153, 93, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.header-actions .header-course-link::after {
  content: "->";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #f5fff8;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  font-size: 0.875rem;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 180ms ease;
}

.header-actions .header-course-link:hover {
  background:
    radial-gradient(circle at top right, rgba(47, 203, 122, 0.24), transparent 44%),
    linear-gradient(180deg, rgba(244, 253, 247, 0.98), rgba(226, 247, 235, 0.94));
  border-color: rgba(22, 153, 93, 0.34);
  box-shadow:
    0 16px 34px rgba(22, 153, 93, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.header-actions .header-course-link:hover::after {
  transform: translateX(2px);
}

.course-site-header .course-route-nav {
  min-width: 350px;
  justify-content: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.text-link::after {
  content: "->";
  color: var(--accent-strong);
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(2px);
}

.eyebrow,
.process-index,
.compare-label {
  color: var(--accent-strong);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 16px;
}

.section-heading {
  max-width: 760px;
}

.section-text,
.hero-text,
.hero-detail,
.hero-examples,
.process-copy p,
.inside-card p,
.momentum-points p,
.compare-value,
.faq-list p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.section-text,
.hero-text {
  margin-top: 18px;
}

.home-main {
  overflow: hidden;
}

.hero {
  position: relative;
  padding: 18px 0 56px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 26%, rgba(47, 203, 122, 0.12), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(85, 106, 240, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(237, 247, 241, 0.76), rgba(245, 239, 230, 0));
  pointer-events: none;
  z-index: 1;
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(340px, 430px);
  grid-template-areas: "intro visual";
  justify-content: space-between;
  gap: 22px clamp(40px, 5vw, 96px);
  align-items: start;
}

.hero-secondary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 4px;
}

.hero-secondary-links .text-link {
  min-height: 38px;
}

.hero-intro {
  grid-area: intro;
  display: grid;
  gap: 20px;
  max-width: 680px;
  padding-top: clamp(18px, 4vh, 58px);
}

.hero-copy {
  max-width: none;
}

.hero-body {
  display: grid;
  gap: 20px;
  max-width: 510px;
  align-content: start;
}

.hero h1 {
  font-size: clamp(2.4rem, 3.6vw, 3.4rem);
  max-width: none;
}

/* The rotating first line must never wrap, or the whole headline reflows
   as words change length. The column above is sized to fit it. */
.hero-h1-line {
  white-space: nowrap;
}

.hero-learn {
  display: grid;
  gap: 12px;
}

.rotating-topic {
  display: inline-block;
  color: var(--accent-strong);
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

.rotating-topic.is-swapping {
  opacity: 0;
  transform: translateY(-0.14em);
}

.hero-chips {
  display: grid;
  gap: 10px;
}

.hero-chip-set {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-chip-set[hidden] {
  display: none;
}

.hero-chip-set.is-active {
  animation: hero-chip-fade 280ms ease;
}

.hero-chips-eyebrow {
  color: var(--accent-strong);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-chip {
  appearance: none;
  font-family: inherit;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 252, 0.96),
    rgba(244, 249, 241, 0.9)
  );
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.hero-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(22, 153, 93, 0.45);
  background: var(--accent-soft);
  box-shadow: 0 10px 22px rgba(16, 28, 20, 0.08);
}

.hero-chip:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.hero-chips-flip {
  justify-self: start;
  align-self: start;
  margin-top: 2px;
  min-height: 38px;
  padding: 0 2px;
  border: 0;
  background: none;
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 800;
  cursor: pointer;
}

.hero-chips-flip::after {
  content: " \2192";
}

.hero-chips-flip.is-back::after {
  content: "";
}

.hero-chips-flip.is-back::before {
  content: "\2190 ";
}

.hero-chips-flip:hover {
  text-decoration: underline;
}

@keyframes hero-chip-fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero .hero-actions {
  display: grid;
  gap: 16px;
}
.cta-helper,
.hero-note {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.cta-helper {
  font-weight: 700;
}

.platform-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.55;
}

/* A button centres its own label by default, so a wrapped link inside a
   left-aligned note would centre its second line against the sentence above
   it. Follow the surrounding text instead. */
.platform-note-action {
  appearance: none;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  text-align: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.platform-note-action:hover {
  text-decoration-thickness: 2px;
}

.platform-note-action:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.download-action {
  display: grid;
  justify-items: start;
  gap: 10px;
  width: min(100%, 540px);
}

.course-store-badge-link {
  display: block;
  width: 196px;
  max-width: 100%;
  border-radius: 10px;
  transition: transform 180ms ease;
}

.course-store-badge-link:hover {
  transform: translateY(-2px);
}

.course-store-badge-link:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

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

/* Google Play badge, beside every App Store badge since 7 October 2026. Each
   Play link carries the same layout classes as the App Store link next to it,
   so it takes the same box at every breakpoint and in every page family. The
   zoom then scales that box by the ratio of the two artworks' aspect ratios
   (Google's 564x168 against Apple's 120x40), so both badges stand at the same
   height: Google's badge guidelines ask for the Play badge to be the same size
   as or larger than other store badges. Percentage widths are not multiplied,
   so a full-width stacked badge stays full width. */
.store-badge-play {
  zoom: 1.1225;
}

/* These rows size the App Store badge by height, not width. The Play badge
   shares that height rule through its image class, so it already matches and
   must not be scaled again. */
.store-badge-play.course-ios-store-button,
.store-badge-play.store-badge-link-paired {
  zoom: 1;
}

.store-badge-play .google-play-badge {
  display: block;
  width: 100%;
  height: auto;
}

/* The public hero and the closing call to action are the dark green bands on
   every public page, so their early testing note takes light ink; the shared
   muted grey measures under 2:1 there. */
.public-hero .early-testing-note,
.public-final-cta .early-testing-note {
  color: rgba(248, 244, 234, 0.78);
}

.course-hero-download {
  margin-top: 26px;
}

.download-action-final {
  justify-items: center;
  margin: 24px auto 0;
  text-align: center;
}
.hero-rhythm-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-rhythm-line span {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.hero-rhythm-line span + span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 0 0 5px rgba(47, 203, 122, 0.12);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.beta-signup-form {
  display: grid;
  gap: 10px;
  width: min(100%, 540px);
}

.beta-signup-form-hero {
  width: min(100%, 500px);
}

.beta-signup-form-final {
  margin: 24px auto 0;
}

.beta-signup-topic {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 9px 10px 9px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}

.beta-signup-topic[hidden] {
  display: none;
}

.beta-signup-topic-label {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  flex: 0 0 auto;
}

.beta-signup-topic-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: rgba(22, 153, 93, 0.16);
  color: var(--accent-strong);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.beta-signup-topic-clear:hover {
  background: rgba(22, 153, 93, 0.3);
}

.beta-signup-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(21, 33, 24, 0.1);
  box-shadow: 0 16px 36px rgba(16, 28, 20, 0.08);
}

.beta-signup-controls:focus-within {
  border-color: rgba(42, 95, 66, 0.42);
  box-shadow:
    0 0 0 4px rgba(98, 147, 119, 0.12),
    0 16px 36px rgba(16, 28, 20, 0.1);
}

.beta-signup-field {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 50px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 600 0.98rem/1.4 "Manrope", "Helvetica Neue", Arial, sans-serif;
}

.beta-signup-field::placeholder {
  color: #66756c;
}

.beta-signup-field:focus {
  outline: none;
}

.beta-signup-submit {
  white-space: nowrap;
}
.beta-signup-note,
.beta-signup-status {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}
.beta-signup-status {
  min-height: 1.5em;
  font-weight: 700;
}

.beta-signup-status[data-state="pending"] {
  color: #4d5b53;
}

.beta-signup-status[data-state="success"] {
  color: #1d6b45;
}

.beta-signup-status[data-state="error"] {
  color: #9a3a24;
}

.hero-text {
  max-width: 33ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-visual {
  grid-area: visual;
  width: min(100%, 430px);
  justify-self: end;
  margin-left: 0;
}
.hero-proof {
  position: relative;
  min-height: 0;
  padding: 12px 0 18px;
}

.hero-proof-video {
  padding: 0;
}

.hero-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 1280;
  border-radius: 28px;
  background: #f4f7ef;
  box-shadow: 0 24px 60px rgba(16, 28, 20, 0.14);
}

.hero-rhythm-arc {
  position: absolute;
  inset: 38px 20px 92px 20px;
  border-radius: 40px;
  border: 1px solid rgba(21, 33, 24, 0.08);
  background:
    radial-gradient(circle at top right, rgba(47, 203, 122, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
}

.hero-rhythm-arc::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 26px;
  bottom: 26px;
  border-radius: 28px;
  border: 1px dashed rgba(22, 153, 93, 0.2);
  opacity: 0.8;
}

.hero-shot {
  margin: 0;
  padding: 8px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(21, 33, 24, 0.08);
  box-shadow: 0 18px 42px rgba(16, 28, 20, 0.1);
}

.hero-shot img {
  width: 100%;
  border-radius: 20px;
}

.hero-shot-primary {
  position: relative;
  z-index: 2;
  width: min(100%, 362px);
  margin-left: auto;
}

.hero-reminder,
.hero-course-count {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 20px;
  border: 1px solid rgba(21, 33, 24, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 32px rgba(16, 28, 20, 0.1);
}

.hero-reminder-time {
  color: var(--accent-strong);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-reminder-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 800;
}

.hero-reminder-title::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 0 0 5px rgba(47, 203, 122, 0.12);
}

.hero-reminder-note,
.hero-course-count-note {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}

.hero-reminder-morning {
  top: 48px;
  left: -8px;
  min-width: 168px;
  animation: float-a 6.2s ease-in-out infinite;
}

.hero-reminder-lunch {
  top: 260px;
  right: -6px;
  min-width: 156px;
  animation: float-b 6.8s ease-in-out infinite;
}

.hero-reminder-night {
  left: 12px;
  bottom: 144px;
  min-width: 182px;
  animation: float-a 7.1s ease-in-out infinite;
}
.hero-shot-inset {
  position: absolute;
  left: 0;
  bottom: 44px;
  width: 170px;
  box-shadow: 0 18px 42px rgba(16, 28, 20, 0.12);
}
.breadth-strip,
.inside-section,
.momentum-section,
.credibility-section,
.faq-section,
.support-section,
.final-cta {
  padding-top: var(--section-gap);
}

.example-marquee {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}
.example-row {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 4px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.example-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: example-scroll-left var(--example-duration, 60s) linear infinite;
  will-change: transform;
}

.example-row-reverse .example-track {
  animation-name: example-scroll-right;
}

.example-set {
  display: flex;
  gap: 18px;
  flex: 0 0 auto;
}

.example-card {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 120px;
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid rgba(21, 33, 24, 0.08);
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: 0;
  box-shadow: 0 16px 34px rgba(16, 28, 20, 0.08);
}

button.example-card {
  appearance: none;
  font-family: inherit;
  text-align: left;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 252, 0.94),
    rgba(244, 249, 241, 0.85)
  );
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

button.example-card:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 153, 93, 0.4);
  box-shadow: 0 20px 42px rgba(16, 28, 20, 0.12);
}

button.example-card:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

@media (hover: hover) {
  .example-row:hover .example-track {
    animation-play-state: paused;
  }
}

.course-doorway {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(260px, 0.42fr);
  gap: 24px clamp(24px, 4vw, 48px);
  align-items: center;
  margin-top: 34px;
  padding: 28px clamp(20px, 4vw, 38px);
  border-radius: 36px;
  border: 1px solid rgba(21, 33, 24, 0.08);
  background:
    radial-gradient(circle at top right, rgba(47, 203, 122, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(242, 248, 244, 0.86));
  box-shadow: 0 18px 44px rgba(16, 28, 20, 0.07);
}

.course-doorway h3 {
  margin-top: 8px;
  max-width: 16ch;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 650;
  line-height: 0.96;
  letter-spacing: 0;
}

.course-doorway .section-text {
  margin-top: 14px;
  max-width: 46ch;
}

.course-doorway-actions {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.example-grid .example-card:nth-child(3n + 1) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 237, 0.82));
}

.example-grid .example-card:nth-child(3n + 2) {
  background: linear-gradient(180deg, rgba(251, 255, 252, 0.94), rgba(237, 247, 241, 0.84));
}

.example-grid .example-card:nth-child(3n + 3) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 244, 252, 0.84));
}

.example-group:nth-child(1) .example-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 237, 0.82));
}

.example-group:nth-child(2) .example-card {
  background: linear-gradient(180deg, rgba(251, 255, 252, 0.94), rgba(237, 247, 241, 0.84));
}

.example-group:nth-child(3) .example-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 244, 252, 0.84));
}
.example-explorer-header .section-text {
  margin-top: 14px;
}

.starter-catalog {
  margin-top: 24px;
}

.starter-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.starter-catalog-group {
  padding: 24px 22px;
  border-radius: 30px;
  border: 1px solid rgba(21, 33, 24, 0.08);
  background:
    radial-gradient(circle at top right, rgba(47, 203, 122, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 242, 233, 0.82));
  box-shadow: 0 18px 44px rgba(16, 28, 20, 0.06);
}

.starter-catalog-heading {
  color: var(--accent-strong);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.starter-catalog-list {
  display: grid;
  gap: 18px;
  margin-top: 16px;
}

.starter-catalog-item {
  padding-top: 18px;
  border-top: 1px solid rgba(21, 33, 24, 0.1);
}

.starter-catalog-item:first-child {
  padding-top: 0;
  border-top: none;
}

.starter-catalog-item h3 {
  font-size: 1.08rem;
  line-height: 1.24;
}

.starter-catalog-item p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.64;
}

.starter-catalog-prompt {
  color: var(--text) !important;
  font-size: 0.9rem !important;
  font-weight: 600;
  line-height: 1.56;
}

.starter-catalog-beyond {
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: 30px;
  border: 1px solid rgba(21, 33, 24, 0.08);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 30px rgba(16, 28, 20, 0.05);
}

.starter-catalog-beyond-label {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0;
}

.starter-catalog-beyond .section-text {
  max-width: 46ch;
  margin-top: 12px;
}

.starter-catalog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.starter-catalog-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 244, 236, 0.78));
  border: 1px solid rgba(21, 33, 24, 0.08);
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.2;
  box-shadow: 0 8px 18px rgba(16, 28, 20, 0.04);
}

.process-section {
  padding-top: calc(var(--section-gap) * 0.82);
}

.process-grid {
  --process-gap: clamp(22px, 3vw, 34px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--process-gap);
  margin-top: 34px;
  align-items: start;
}

.process-grid::before {
  content: none;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  padding: 0;
  border-top: 0;
}

.process-step::before {
  content: none;
}

.process-step::after {
  content: "";
  position: absolute;
  top: clamp(220px, 23vw, 330px);
  right: calc(var(--process-gap) * -0.76);
  width: calc(var(--process-gap) * 0.58);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47, 203, 122, 0.62), rgba(21, 33, 24, 0.12));
  z-index: 1;
}

.process-step:nth-child(3)::after {
  content: none;
}

.process-step:nth-child(1)::before,
.process-step:nth-child(2)::before {
  content: "";
  position: absolute;
  top: calc(clamp(220px, 23vw, 330px) - 4px);
  right: calc(var(--process-gap) * -0.78);
  width: 10px;
  height: 10px;
  border-top: 2px solid rgba(47, 203, 122, 0.62);
  border-right: 2px solid rgba(47, 203, 122, 0.62);
  transform: rotate(45deg);
  z-index: 2;
}

.process-step:hover .media-frame {
  transform: translateY(-4px);
}

.process-copy {
  max-width: 30ch;
  padding: 0 4px;
}

.process-index {
  display: inline-grid;
  min-width: 56px;
  min-height: 32px;
  place-items: center;
  padding: 0 14px;
  border: 1px solid rgba(47, 203, 122, 0.18);
  border-radius: 999px;
  background: rgba(47, 203, 122, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.process-copy h3 {
  margin-top: 10px;
  max-width: 16ch;
}

.process-copy p {
  margin-top: 10px;
}

.media-frame {
  margin: 0;
  padding: 12px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 244, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px;
}

.process-step .media-frame {
  width: min(100%, 300px);
  max-width: 300px;
  height: clamp(300px, 34vw, 410px);
  justify-self: start;
}

.process-step:nth-child(even) .media-frame {
  order: initial;
  justify-self: start;
}

.process-step:nth-child(even) .process-copy {
  order: initial;
}

.compare-section {
  margin-top: calc(var(--section-gap) * 0.9);
  background:
    radial-gradient(circle at 14% 18%, rgba(47, 203, 122, 0.18), transparent 28%),
    linear-gradient(180deg, #142018, #101611);
  color: #eff8f1;
}

.compare-shell {
  padding-top: 84px;
  padding-bottom: 88px;
}

.compare-band {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 28px 40px;
  align-items: start;
}

.compare-intro {
  max-width: 420px;
}

.compare-section .section-text {
  max-width: 35ch;
  margin-top: 18px;
  color: rgba(239, 248, 241, 0.82);
}

.compare-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.compare-panel {
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 26px 24px 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 56px rgba(5, 10, 7, 0.22);
  min-height: 360px;
}

.compare-panel-cadence {
  background:
    radial-gradient(circle at top right, rgba(47, 203, 122, 0.22), transparent 46%),
    rgba(255, 255, 255, 0.06);
  border-color: rgba(47, 203, 122, 0.32);
}

.compare-panel-head {
  display: grid;
  gap: 4px;
}

.compare-panel-tag {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(239, 248, 241, 0.86);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.compare-panel-tag-accent {
  background: rgba(47, 203, 122, 0.22);
  color: #d4fbe2;
}

.compare-panel-sub {
  color: rgba(239, 248, 241, 0.72);
  font-size: 0.94rem;
  font-weight: 600;
}

.compare-thread {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.chat-row {
  display: flex;
}

.chat-row-you {
  justify-content: flex-end;
}

.chat-row-ai {
  justify-content: flex-start;
}

.chat-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.38;
  font-weight: 500;
}

.chat-row-you .chat-bubble {
  background: rgba(85, 106, 240, 0.34);
  color: #eef0ff;
  border-bottom-right-radius: 6px;
}

.chat-row-ai .chat-bubble {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(239, 248, 241, 0.92);
  border-bottom-left-radius: 6px;
}

.chat-bubble-fade {
  position: relative;
  overflow: hidden;
  color: rgba(239, 248, 241, 0.58);
}

.chat-bubble-fade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 30%, rgba(20, 32, 24, 0.85));
  pointer-events: none;
}

.chat-end {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: rgba(239, 248, 241, 0.5);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-end-line {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(239, 248, 241, 0.3) 0 6px,
    transparent 6px 12px
  );
}

.compare-arc {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 4px 0 0;
  padding: 0 0 0 22px;
  list-style: none;
}

.compare-arc::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(47, 203, 122, 0.6),
    rgba(47, 203, 122, 0.18)
  );
}

.arc-stop {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 8px 12px 8px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.arc-stop::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 14px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(20, 32, 24, 1);
  border: 2px solid rgba(47, 203, 122, 0.5);
}

.arc-stop-done::before {
  background: rgba(47, 203, 122, 0.7);
  border-color: rgba(47, 203, 122, 0.9);
}

.arc-stop-live::before {
  background: var(--accent);
  border-color: #fff;
  box-shadow: 0 0 0 5px rgba(47, 203, 122, 0.25);
  animation: rhythm-pulse 2.6s ease-in-out infinite;
}

.arc-stop-live {
  background: rgba(47, 203, 122, 0.16);
  border-color: rgba(47, 203, 122, 0.4);
}

.arc-day {
  color: rgba(239, 248, 241, 0.7);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.arc-stop-live .arc-day {
  color: #d4fbe2;
}

.arc-title {
  color: #f4fbf6;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.28;
}

.compare-arc-foot {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(212, 251, 226, 0.86);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ============================================================
   Engine section: the best of every lab, orchestrated
   ============================================================ */
.engine-section {
  margin-top: var(--section-gap);
}

.engine-band {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  gap: 32px 56px;
  align-items: center;
}

.engine-intro {
  max-width: 440px;
}

/* Dark "engine room" panel holding the constellation */
.engine-stage {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px) clamp(18px, 3vw, 32px) clamp(18px, 2.4vw, 26px);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 28% 4%, rgba(85, 106, 240, 0.26), transparent 52%),
    radial-gradient(circle at 78% 96%, rgba(47, 203, 122, 0.22), transparent 50%),
    linear-gradient(165deg, #182519, #0e1410);
  box-shadow:
    var(--shadow-strong),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 150px rgba(4, 10, 7, 0.5);
  color: #eff8f1;
}

.engine-stage-label {
  margin: 0 0 6px;
  text-align: center;
  color: rgba(239, 248, 241, 0.6);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.engine-orbit {
  position: relative;
  height: clamp(370px, 34vw, 450px);
  max-width: 560px;
  margin: 0 auto;
}

.engine-threads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.engine-threads line {
  stroke: url(#engineThread);
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
}

/* Light streaking from each lab into the Cadence core */
.engine-spark {
  opacity: 0;
  fill: #eafff3;
  filter: drop-shadow(0 0 3px rgba(150, 255, 200, 0.95))
    drop-shadow(0 0 8px rgba(126, 240, 176, 0.5));
}

.engine-spark-tail {
  fill: #7ef0b0;
  filter: drop-shadow(0 0 3px rgba(126, 240, 176, 0.5));
}

.engine-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 2px;
  text-align: center;
}

.engine-core::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 26px;
  z-index: -1;
  width: 188px;
  height: 188px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(150, 255, 200, 0.55),
    rgba(85, 106, 240, 0.3) 42%,
    transparent 70%
  );
  animation: engine-core-pulse 4.6s ease-in-out infinite;
}

.engine-core::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 26px;
  z-index: -1;
  width: 92px;
  height: 92px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 1.5px solid rgba(150, 255, 200, 0.5);
  animation: engine-absorb 3.2s ease-in-out infinite;
}

@keyframes engine-absorb {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.75);
  }
  55% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.55);
  }
}

@keyframes engine-core-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(1.12);
  }
}

.engine-core img {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  box-shadow:
    0 12px 30px rgba(22, 153, 93, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.engine-core-name {
  margin-top: 9px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: #f4fbf6;
}

.engine-core-sub {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(135, 232, 178, 0.92);
}

.engine-nodes {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.engine-node {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  z-index: 2;
  transform: translate(-50%, -50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: max-content;
}

.engine-node-mark {
  display: grid;
  place-items: center;
  width: clamp(48px, 5.4vw, 58px);
  height: clamp(48px, 5.4vw, 58px);
  border-radius: 17px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 24px rgba(5, 10, 7, 0.34);
  color: rgba(239, 248, 241, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    box-shadow 200ms ease;
}

.engine-node-mark svg {
  width: 54%;
  height: 54%;
  fill: currentColor;
}

.engine-node-mark-brand {
  overflow: hidden;
}

.engine-node-mark-brand img {
  display: block;
  width: 76%;
  height: 76%;
  border-radius: 12px;
  object-fit: cover;
}

.engine-node-name {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(239, 248, 241, 0.74);
  white-space: nowrap;
}

.engine-node:hover .engine-node-mark {
  transform: translateY(-3px);
  border-color: rgba(47, 203, 122, 0.55);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 16px 32px rgba(5, 10, 7, 0.4),
    0 0 0 1px rgba(47, 203, 122, 0.28);
}

.engine-node:hover .engine-node-name {
  color: #f4fbf6;
}

/* Per-job routing strip */
.engine-jobs {
  margin-top: clamp(34px, 4vw, 52px);
}

.engine-jobs-head {
  max-width: 640px;
  margin-bottom: 26px;
}

.engine-jobs-head h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1;
}

.engine-jobs-head .section-text {
  margin-top: 14px;
}

.engine-job-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.engine-job {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 20px 18px 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(16, 28, 20, 0.06);
}

.engine-job-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-tint);
}

.engine-job-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.engine-job-copy h4 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
}

.engine-job-copy p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .engine-band {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .engine-intro {
    max-width: 560px;
  }

  .engine-job-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  /* Collapse the absolute ellipse into a centered, wrapped constellation */
  .engine-orbit {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }

  .engine-threads {
    display: none;
  }

  .engine-core,
  .engine-nodes,
  .engine-node {
    position: static;
    transform: none;
    inset: auto;
  }

  .engine-nodes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 18px 10px;
  }

  .engine-node {
    justify-self: center;
  }

}

@media (max-width: 560px) {
  .engine-job-list {
    grid-template-columns: 1fr;
  }

  .engine-job {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 16px 16px;
  }

  .engine-job-icon {
    flex: 0 0 auto;
  }
}

/* Keep both navigation actions on one row on the narrowest phones. The
   wordmark remains in the brand link's accessible name beside its mark. */
@media (max-width: 356px) {
  .course-page .site-header .brand span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .course-page .site-header .header-actions {
    flex-wrap: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .engine-core::before,
  .engine-core::after {
    animation: none;
  }

  .engine-spark {
    display: none;
  }
}

/* Public course facts, syllabus, and discovery links */

.course-facts-section {
  color: #fffdf6;
  background: var(--detail-ink-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.course-facts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0 auto;
}

.course-fact {
  min-width: 0;
  padding: 26px 20px 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.course-fact:first-child {
  border-left: 0;
}

.course-fact dt {
  color: #80e4aa;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.course-fact dd {
  margin: 10px 0 0;
  color: rgba(255, 253, 246, 0.88);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
}

.course-try-section {
  padding: clamp(104px, 10vw, 152px) 0;
  color: var(--detail-ink);
  background: var(--detail-paper);
  border-bottom: 1px solid var(--detail-line);
}

.course-try-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(64px, 9vw, 132px);
  align-items: start;
}

.course-try-intro {
  position: sticky;
  top: calc(var(--header-offset, var(--header-height)) + 48px);
}

.course-try-intro h2 {
  max-width: 10ch;
  margin-top: 12px;
  font-size: clamp(3.15rem, 5vw, 5rem);
}

.course-try-intro .section-text {
  max-width: 36ch;
  margin-top: 24px;
}

.course-try-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--detail-line);
}

.course-try-steps li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  padding: 25px 0 29px;
  border-bottom: 1px solid var(--detail-line);
}

.course-try-steps li > span {
  padding-top: 4px;
  color: var(--detail-green-deep);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.course-try-steps h3 {
  font-size: clamp(1.18rem, 1.6vw, 1.45rem);
  line-height: 1.22;
}

.course-try-steps p {
  max-width: 48ch;
  margin-top: 8px;
  color: #59675f;
  font-size: 0.98rem;
  line-height: 1.65;
}

.course-try-example {
  margin-top: 52px;
  padding: 34px 0 36px;
  border-top: 2px solid var(--detail-ink);
  border-bottom: 1px solid var(--detail-line);
}

.course-try-example blockquote {
  max-width: 29ch;
  margin: 20px 0 0;
  color: var(--detail-ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  font-weight: 600;
  line-height: 1.14;
}

.course-try-example > p:last-child {
  max-width: 48ch;
  margin-top: 22px;
  color: #59675f;
  line-height: 1.65;
}

.course-try-action {
  margin-top: 40px;
}

.course-try-action > p {
  max-width: 44ch;
  color: var(--detail-ink);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.5;
}

.course-detail-page .course-try-action .course-hero-download {
  justify-items: start;
  width: auto;
  margin-top: 18px;
  text-align: left;
}

.course-detail-page .course-try-section .course-store-buttons-primary .course-ios-store-button {
  color: #fffdf6;
  background: var(--detail-ink);
  border-color: var(--detail-ink);
}

.course-detail-page .course-try-section .course-store-buttons-primary .course-android-store-button {
  color: var(--detail-ink);
  background: transparent;
  border-color: rgba(16, 39, 31, 0.3);
}

@media (hover: hover) and (pointer: fine) {
  .course-detail-page .course-try-section .course-store-buttons-primary .course-ios-store-button:hover {
    color: #fffdf6;
    background: var(--detail-ink-deep);
    border-color: var(--detail-ink-deep);
  }

  .course-detail-page .course-try-section .course-store-buttons-primary .course-android-store-button:hover {
    color: var(--detail-ink);
    background: rgba(16, 39, 31, 0.06);
    border-color: rgba(16, 39, 31, 0.46);
  }
}

.course-syllabus-section,
.course-faq-section {
  padding-top: clamp(104px, 10vw, 152px);
  padding-bottom: clamp(108px, 10vw, 156px);
}

.course-syllabus-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(42px, 7vw, 94px);
  margin-top: clamp(64px, 7vw, 92px);
  border-top: 1px solid var(--detail-line);
}

.course-syllabus-module {
  padding: 38px 0 42px;
  border-bottom: 1px solid var(--detail-line);
}

.course-syllabus-module-heading > span,
.course-syllabus-module li > span,
.course-format-list article > span {
  color: var(--detail-green-deep);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.course-syllabus-module-heading h3 {
  margin-top: 11px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.75rem, 2.7vw, 2.45rem);
  font-weight: 600;
  line-height: 1.05;
}

.course-syllabus-module-heading p {
  max-width: 48ch;
  margin-top: 12px;
  color: #59675f;
  font-size: 0.92rem;
  line-height: 1.65;
}

.course-syllabus-module ol {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.course-syllabus-module li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(16, 39, 31, 0.1);
}

.course-syllabus-module li strong {
  font-size: 0.9rem;
  line-height: 1.45;
}

.course-format-section {
  padding: clamp(100px, 10vw, 146px) 0;
  color: #fffdf6;
  background: var(--detail-ink);
}

.course-format-shell > div:first-child {
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
  gap: 40px;
  align-items: end;
}

/* `.course-detail-page .eyebrow` below sets the deep green tuned for paper and
   carries the same specificity, so it won on source order and put a 2.57:1
   green on this dark section. The page scope here restores the light green,
   which measures 10.21:1 on the same ink. A colour tuned to be seen as a shape
   on paper is not ink on dark; the native apps have a guard for exactly this
   and the website does not. */
.course-detail-page .course-format-shell .eyebrow,
.course-format-shell .eyebrow,
.course-format-list article > span {
  color: #80e4aa;
}

.course-format-shell h2 {
  max-width: 12ch;
  font-size: clamp(3.1rem, 5.4vw, 5.2rem);
}

.course-format-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(64px, 8vw, 98px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.course-format-list article {
  padding: 32px 24px 38px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.course-format-list article:first-child {
  border-left: 0;
}

.course-format-list h3 {
  margin-top: 40px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
}

.course-format-list p {
  margin-top: 13px;
  color: rgba(255, 253, 246, 0.66);
  font-size: 0.9rem;
  line-height: 1.65;
}

.course-limit-note {
  max-width: 76ch;
  margin-top: 32px;
  color: rgba(255, 253, 246, 0.7);
  font-size: 0.875rem;
  line-height: 1.65;
}

.course-limit-note strong {
  color: #fffdf6;
}

/* The section is a section-shell (content width), so the paper band is
   extended to the viewport edges; otherwise it read as a box with the text
   touching its left edge. */
.course-faq-section {
  background: var(--detail-paper);
  box-shadow: 0 0 0 100vmax var(--detail-paper);
  clip-path: inset(0 -100vmax);
}

.course-faq-list {
  margin-top: clamp(56px, 7vw, 82px);
  border-top: 1px solid var(--detail-line);
}

.course-faq-item {
  border-bottom: 1px solid var(--detail-line);
}

.course-faq-item summary {
  position: relative;
  padding: 25px 48px 25px 0;
  cursor: pointer;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 600;
  list-style: none;
}

.course-faq-item summary::-webkit-details-marker {
  display: none;
}

.course-faq-item summary::after {
  content: "+";
  position: absolute;
  top: 25px;
  right: 6px;
  color: var(--detail-green-deep);
}

.course-faq-item[open] summary::after {
  content: "−";
}

.course-faq-item p {
  max-width: 72ch;
  padding: 0 48px 28px 0;
  color: #53625a;
  line-height: 1.72;
}

.course-catalog-page .course-approach-section {
  padding: clamp(84px, 9vw, 128px) 0 clamp(76px, 7vw, 108px);
}

.course-catalog-page .course-approach-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 52px;
  border-top: 1px solid var(--catalog-line);
  border-bottom: 1px solid var(--catalog-line);
}

.course-catalog-page .course-approach-links a {
  display: grid;
  gap: 28px;
  min-height: 180px;
  padding: 28px;
  border-left: 1px solid var(--catalog-line);
  text-decoration: none;
}

.course-catalog-page .course-approach-links a:first-child {
  border-left: 0;
}

.course-catalog-page .course-approach-links span {
  color: var(--catalog-green-deep);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-catalog-page .course-approach-links strong {
  align-self: end;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.05;
}

@media (max-width: 980px) {
  .course-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .course-fact:nth-child(4) {
    border-left: 0;
  }

  .course-format-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-format-list article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .course-format-list article:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
}

@media (max-width: 720px) {
  .course-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-fact:nth-child(odd) {
    border-left: 0;
  }

  .course-syllabus-list,
  .course-format-shell > div:first-child,
  .course-catalog-page .course-approach-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .course-format-shell h2 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10vw, 3.1rem);
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .course-format-list {
    grid-template-columns: 1fr;
  }

  .course-format-list article,
  .course-format-list article:nth-child(4),
  .course-catalog-page .course-approach-links a {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .course-format-list article:first-child,
  .course-catalog-page .course-approach-links a:first-child {
    border-top: 0;
  }

  .course-catalog-page .course-approach-links a {
    min-height: 140px;
    border-top-color: var(--catalog-line);
  }
}

/* Shared iPhone and Android download actions */

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

.course-store-badge-link {
  display: flex;
  width: 210px;
  max-width: 100%;
  flex: 0 0 210px;
  align-items: center;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 180ms ease;
}

.course-android-store-button,
.course-ios-store-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  width: 230px;
  min-width: 230px;
  min-height: 58px;
  flex: 0 0 230px;
  padding: 8px 12px;
  overflow: hidden;
  color: #fffdf6;
  background: #000;
  border: 1px solid #a6a6a6;
  border-radius: 13px;
  box-shadow:
    0 12px 28px rgba(1, 10, 7, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.course-android-store-icon {
  width: 31px;
  height: 18px;
  flex: 0 0 auto;
  object-fit: contain;
}

.course-ios-store-icon {
  width: 22px;
  height: 24px;
  flex: 0 0 auto;
}

.course-android-store-copy,
.course-ios-store-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
  line-height: 1;
}

.course-android-store-copy small,
.course-ios-store-copy small {
  color: inherit;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.76;
}

.course-android-store-copy strong,
.course-ios-store-copy strong {
  color: inherit;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

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

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

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

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

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

@media (hover: hover) and (pointer: fine) {
  .course-android-store-button:hover,
  .course-ios-store-button:hover {
    background: #111;
    border-color: #d0d0d0;
    transform: translateY(-2px);
  }
}

/* Course pages lead with the released iPhone app. Android access remains
   available as a quieter secondary action so the two paths do not compete. */
.course-page .course-store-buttons-primary .course-ios-store-button {
  width: 280px;
  min-width: 280px;
  min-height: 64px;
  flex-basis: 280px;
  color: #10271f;
  background: #fffdf6;
  border-color: #fffdf6;
  box-shadow:
    0 16px 34px rgba(1, 10, 7, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.course-page .course-store-buttons-primary .course-android-store-button {
  width: 210px;
  min-width: 210px;
  flex-basis: 210px;
  color: rgba(255, 253, 246, 0.78);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .course-page .course-store-buttons-primary .course-ios-store-button:hover {
    color: #10271f;
    background: #f0f8ec;
    border-color: #f0f8ec;
  }

  .course-page .course-store-buttons-primary .course-android-store-button:hover {
    color: #fffdf6;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
  }
}

@media (min-width: 901px) {
  .course-catalog-page .catalog-final-cta-shell {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.66fr);
  }
}

/* Android tester waitlist on course and download pages */

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

.course-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(--text);
  background: transparent;
  border: 0;
}

.course-page .android-waitlist-dialog[open] {
  animation: course-android-waitlist-in 240ms var(--ease-out-strong) both;
}

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

.course-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%),
    #f6f8f3;
  box-shadow: 0 38px 110px rgba(1, 12, 8, 0.44);
}

.course-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 160ms var(--ease-out-strong);
}

.course-page .android-waitlist-close:active {
  transform: scale(0.95);
}

@media (hover: hover) and (pointer: fine) {
  .course-page .android-waitlist-close:hover:not(:active) {
    color: var(--text);
    background: rgba(16, 39, 31, 0.1);
    transform: rotate(4deg);
  }
}

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

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

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

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

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

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

.course-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;
}

.course-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);
}

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

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

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

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

.course-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. */
.course-page .android-waitlist-form > [data-waitlist-email-label] {
  margin-top: 8px;
}

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

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

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

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

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

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

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

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

.course-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);
}

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

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

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

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

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

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

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

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

.waitlist-platform-picker:not([hidden]) {
  display: grid;
}

.waitlist-platform-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.waitlist-platform-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 112px;
  padding: 18px;
  color: #10271f;
  text-align: left;
  text-decoration: none;
  background:
    radial-gradient(circle at top right, rgba(75, 232, 149, 0.12), transparent 45%),
    rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 39, 31, 0.13);
  border-radius: 22px;
  box-shadow:
    0 14px 30px rgba(16, 39, 31, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  font: inherit;
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 160ms var(--ease-out-strong);
}

.waitlist-platform-option:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.waitlist-platform-option:active {
  transform: scale(0.98);
}

.waitlist-platform-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #10271f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.waitlist-platform-icon-ios {
  color: #f8f4ea;
}

.waitlist-platform-icon-ios svg {
  width: 25px;
  height: 29px;
}

.waitlist-platform-icon-android {
  background: rgba(75, 232, 149, 0.18);
  box-shadow: inset 0 0 0 1px rgba(13, 112, 68, 0.13);
}

.waitlist-platform-icon-android img {
  width: 38px;
  height: 23px;
}

.waitlist-platform-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.waitlist-platform-copy strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.42rem;
  line-height: 1;
}

.waitlist-platform-copy small {
  color: #66736b;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
}

.waitlist-platform-arrow {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #f8f4ea;
  background: #0d7044;
  font-size: 0.9rem;
  transition: transform 160ms var(--ease-out-strong);
}

@media (hover: hover) and (pointer: fine) {
  .waitlist-platform-option:hover:not(:active) {
    border-color: rgba(13, 112, 68, 0.42);
    box-shadow:
      0 18px 38px rgba(16, 39, 31, 0.11),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transform: translateY(-2px);
  }

  .waitlist-platform-option:hover:not(:active) .waitlist-platform-arrow {
    transform: translateX(2px);
  }
}

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

@media (max-width: 720px) {
  .course-store-buttons {
    width: 100%;
    gap: 7px;
  }

  .course-store-badge-link {
    width: auto;
    min-width: 0;
    flex: 1.08 1 0;
  }

  /* The Play badge is wider for its height than Apple's, so when the two share
     a row it takes a proportionally larger share (1.08 x 1.1225) to stand at
     the same height. */
  .course-store-badge-link.store-badge-play {
    flex-grow: 1.2123;
  }

  .course-detail-page .course-hero-download .course-app-store-badge,
  .course-app-store-badge {
    width: 100%;
  }

  .course-android-store-button,
  .course-ios-store-button {
    width: auto;
    min-width: 0;
    min-height: 52px;
    flex: 1 1 0;
    gap: 7px;
    padding: 7px 9px;
  }

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

  .course-ios-store-icon {
    width: 18px;
    height: 20px;
  }

  .course-android-store-copy small,
  .course-ios-store-copy small {
    font-size: 0.875rem;
    letter-spacing: 0.035em;
  }

  .course-android-store-copy strong,
  .course-ios-store-copy strong {
    font-size: 0.875rem;
  }

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

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

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

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

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

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

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

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

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

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

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

  .waitlist-platform-options {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .waitlist-platform-option {
    min-height: 90px;
    padding: 14px;
  }
}

@media (max-width: 360px) {
  .course-store-buttons {
    flex-wrap: wrap;
  }

  .course-store-badge-link,
  .course-android-store-button,
  .course-ios-store-button {
    width: 230px;
    flex: 0 0 230px;
  }

  /* Stacked again here, so the Play badge stops growing into the line and
     takes its fixed width (zoomed to match Apple's height) instead. */
  .course-store-badge-link.store-badge-play {
    flex-grow: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .course-page .android-waitlist-dialog[open] {
    animation: none;
  }

  .course-android-store-button,
  .course-ios-store-button,
  .course-page .android-waitlist-close {
    transition: none;
  }

  .waitlist-platform-option,
  .waitlist-platform-arrow {
    transition: none;
  }
}

/* Individual course campaign pages */

.course-detail-page {
  --detail-ink: #10271f;
  --detail-ink-deep: #091b14;
  --detail-cream: #f6f1e8;
  --detail-paper: #fffdf7;
  --detail-wash: #e7f1e9;
  --detail-green: #4be895;
  --detail-green-deep: #0d7044;
  --detail-line: rgba(16, 39, 31, 0.17);
  color: var(--detail-ink);
  background: var(--detail-cream);
}

.course-detail-page[data-course-category="management"] {
  --detail-wash: #e8eef0;
}

.course-detail-page[data-course-category="strategy-decisions"] {
  --detail-wash: #e9e9f0;
}

.course-detail-page[data-course-category="career-moves"] {
  --detail-wash: #efeadd;
}

.course-detail-page[data-course-category="focus-habits"] {
  --detail-wash: #e8efe4;
}

.course-detail-page[data-course-category="founder-business"] {
  --detail-wash: #ecebdd;
}

.course-detail-page .course-main {
  overflow: clip;
}

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

.course-detail-page h4 {
  margin: 0;
}

.course-detail-page .section-text {
  max-width: 48ch;
  color: #53625a;
  font-size: 1.04rem;
  line-height: 1.72;
}

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

.course-detail-page .course-site-header {
  color: #fffdf6;
  background: rgba(16, 39, 31, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px);
}

.course-detail-page .course-site-header.is-scrolled {
  color: #fffdf6;
  background: rgba(16, 39, 31, 0.91);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.course-detail-page .course-site-header .brand {
  color: #fffdf6;
}

.course-detail-page .course-route-nav {
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.course-detail-page .course-route-nav a,
.course-detail-page .course-route-nav a:hover,
.course-detail-page .course-route-nav a:focus-visible,
.course-detail-page .course-route-nav a[aria-current="page"] {
  min-height: 36px;
  padding: 0 14px;
  color: rgba(248, 244, 234, 0.78);
  background: transparent;
  box-shadow: none;
}

.course-detail-page .course-route-nav a:hover,
.course-detail-page .course-route-nav a:focus-visible,
.course-detail-page .course-route-nav a[aria-current="page"] {
  color: #fffdf6;
}

.course-detail-page .course-route-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 4px;
  left: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--detail-green);
}

.course-detail-page .course-site-header .button-primary {
  color: var(--detail-ink);
  background: var(--detail-green);
  box-shadow: none;
}

.course-campaign-hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  color: #fffdf6;
  background:
    radial-gradient(circle at 84% 14%, rgba(75, 232, 149, 0.17), transparent 27%),
    radial-gradient(circle at 22% 92%, rgba(85, 106, 240, 0.1), transparent 25%),
    var(--detail-ink);
  overflow: hidden;
}

.course-campaign-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 39, 31, 0.98) 0%, rgba(16, 39, 31, 0.88) 52%, rgba(16, 39, 31, 0.56) 100%),
    url("/assets/marketing/hero-backdrop.webp") center / cover;
  opacity: 0.42;
  pointer-events: none;
}

.course-campaign-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(54px, 7vw, 104px);
  align-items: center;
  min-height: calc(100svh - var(--header-height));
  padding: 54px 0 64px;
}

.course-campaign-copy {
  max-width: 720px;
  animation: course-campaign-copy-enter 760ms cubic-bezier(0.2, 0.76, 0.2, 1) both;
}

.course-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 253, 246, 0.64);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.course-breadcrumb::before {
  content: "←";
  color: var(--detail-green);
  font-size: 1rem;
  transition: transform 180ms ease;
}

.course-breadcrumb:hover::before,
.course-breadcrumb:focus-visible::before {
  transform: translateX(-4px);
}

.course-campaign-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 38px;
  color: #80e4aa;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.course-campaign-meta span:last-child {
  color: rgba(255, 253, 246, 0.66);
}

.course-campaign-hero h1 {
  max-width: 10.5ch;
  margin-top: 22px;
  color: #fffdf6;
  font-size: clamp(4.65rem, 6.8vw, 6.8rem);
  line-height: 0.91;
}

.course-campaign-hero .section-text {
  max-width: 43ch;
  margin-top: 26px;
  color: rgba(255, 253, 246, 0.7);
  font-size: 1.1rem;
  line-height: 1.72;
}

.course-detail-page .course-hero-download {
  justify-items: start;
  width: auto;
  margin-top: 30px;
  text-align: left;
}

.course-detail-page .course-hero-download .platform-note {
  max-width: 34ch;
  color: rgba(255, 253, 246, 0.54);
}

.course-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: #fffdf6;
  font-weight: 800;
  text-decoration: none;
}

.course-hero-link::after {
  content: "↓";
  color: var(--detail-green);
  transition: transform 180ms ease;
}

.course-hero-link:hover::after,
.course-hero-link:focus-visible::after {
  transform: translateY(4px);
}

.course-campaign-figure {
  width: min(100%, 560px);
  margin: 0;
  justify-self: end;
  animation: course-campaign-figure-enter 820ms 100ms cubic-bezier(0.2, 0.76, 0.2, 1) both;
}

.course-campaign-art {
  position: relative;
  aspect-ratio: 880 / 590;
  overflow: hidden;
  background: #f2f2e8;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 34px 90px rgba(4, 14, 10, 0.34);
}

.course-campaign-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(16, 39, 31, 0.08);
  pointer-events: none;
}

.course-campaign-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 700ms cubic-bezier(0.2, 0.76, 0.2, 1);
}

.course-campaign-art.is-cover img {
  object-fit: cover;
}

.course-campaign-figure:hover .course-campaign-art img {
  transform: scale(1.025);
}

.course-campaign-number {
  position: absolute;
  right: 24px;
  bottom: -22px;
  color: rgba(16, 39, 31, 0.12);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(7rem, 11vw, 10rem);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.course-campaign-figure figcaption {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 8px 24px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.course-campaign-figure figcaption > span {
  grid-row: 1 / span 2;
  color: #80e4aa;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.course-campaign-figure figcaption strong {
  color: #fffdf6;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.05;
}

.course-campaign-figure figcaption p {
  color: rgba(255, 253, 246, 0.55);
  font-size: 0.88rem;
  line-height: 1.5;
}

.course-detail-page .course-fit-section {
  padding-top: clamp(104px, 10vw, 152px);
  padding-bottom: clamp(108px, 10vw, 156px);
}

.course-detail-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(300px, 0.42fr);
  gap: 40px clamp(52px, 8vw, 112px);
  align-items: end;
}

.course-detail-heading h2 {
  max-width: 11ch;
  font-size: clamp(3.35rem, 5.4vw, 5.3rem);
}

.course-detail-heading .section-text {
  margin-bottom: 8px;
}

.course-detail-page .course-fit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 54px;
  margin-top: clamp(64px, 7vw, 96px);
}

.course-detail-page .course-editorial-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  padding: 25px 0 30px;
  border-top: 1px solid var(--detail-line);
}

.course-item-index {
  padding-top: 3px;
  color: var(--detail-green-deep);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.course-detail-page .course-editorial-item h3 {
  max-width: 22ch;
  font-size: clamp(1.14rem, 1.6vw, 1.4rem);
  line-height: 1.22;
}

.course-detail-page .course-editorial-item p {
  max-width: 42ch;
  margin-top: 9px;
  color: #59675f;
  font-size: 0.96rem;
  line-height: 1.65;
}

.course-inside-section {
  padding: clamp(108px, 10vw, 154px) 0;
  background: var(--detail-wash);
}

.course-inside-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  gap: clamp(58px, 8vw, 116px);
  align-items: center;
}

.course-inside-copy h2 {
  max-width: 10.5ch;
  font-size: clamp(3.25rem, 5.4vw, 5.15rem);
}

.course-inside-copy > .section-text {
  margin-top: 26px;
}

.course-value-list {
  margin-top: 56px;
}

.course-detail-page .course-value-list .course-editorial-item {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  padding: 19px 0 22px;
}

.course-detail-page .course-value-list .course-editorial-item h3 {
  font-size: 1.04rem;
}

.course-detail-page .course-value-list .course-editorial-item p {
  margin-top: 5px;
  font-size: 0.9rem;
}

.course-preview-shell {
  width: 100%;
  max-width: 560px;
  justify-self: end;
}

.course-detail-page .course-preview {
  width: 100%;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(16, 39, 31, 0.12);
  border-radius: 10px;
  background: var(--detail-paper);
  box-shadow: 0 32px 80px rgba(16, 39, 31, 0.14);
}

.course-detail-page .course-preview-top {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--detail-line);
  color: #657169;
}

.course-detail-page .course-preview h3 {
  max-width: 11ch;
  margin-top: 28px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.6rem, 4.8vw, 4.2rem);
  font-weight: 600;
  line-height: 0.94;
}

.course-detail-page .course-preview-next {
  margin-top: 28px;
  padding: 24px;
  border: 0;
  border-radius: 6px;
  color: #fffdf6;
  background: var(--detail-ink);
}

.course-detail-page .course-preview-next span {
  color: #80e4aa;
}

/* Small green labels on the paper card use the deep green. The shared
   accent green measured 3.59:1 here, under the 4.5:1 small text needs. */
.course-detail-page .course-preview-label,
.course-detail-page .course-preview-day span {
  color: var(--detail-green-deep);
}

.course-detail-page .course-preview-next strong {
  color: #fffdf6;
  font-size: 1.08rem;
}

.course-detail-page .course-preview-next p {
  color: rgba(255, 253, 246, 0.64);
}

.course-detail-page .course-preview-days {
  gap: 0;
  margin-top: 12px;
}

.course-detail-page .course-preview-day {
  padding: 19px 2px 20px;
  border: 0;
  border-top: 1px solid var(--detail-line);
  border-radius: 0;
  background: transparent;
}

.course-detail-page .course-preview-day:first-child {
  border-top: 0;
}

.course-detail-page .course-preview-day h4 {
  margin-top: 7px;
  font-size: 1rem;
  line-height: 1.28;
}

.course-arc-section {
  padding: clamp(112px, 11vw, 168px) 0;
  background: var(--detail-paper);
}

.course-arc-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(64px, 10vw, 152px);
  align-items: start;
}

.course-arc-intro {
  position: sticky;
  top: calc(var(--header-offset, var(--header-height)) + 48px);
}

.course-arc-intro h2 {
  max-width: 10ch;
  font-size: clamp(3.25rem, 5vw, 5rem);
}

.course-arc-intro .section-text {
  max-width: 37ch;
  margin-top: 26px;
}

.course-progress-label {
  display: inline-block;
  min-width: 96px;
  margin-top: 44px;
  padding-top: 14px;
  border-top: 1px solid var(--detail-line);
  color: var(--detail-green-deep);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.course-detail-page .course-path-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.course-detail-page .course-path-list article {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  min-height: 230px;
  padding: 42px 0;
  border-top: 1px solid var(--detail-line);
  /* This dims the whole step, text included. At 0.58 the step description
     measured 2.42:1 and the numeral 2.00:1 against the paper, both under AA.
     0.9 is the strongest dim that keeps the description at 4.59:1 and the
     numeral at 3.20:1. The current step is still marked by its green numeral
     and the horizontal shift below, so the hierarchy does not depend on this. */
  opacity: 0.9;
  transition:
    opacity 260ms ease,
    transform 320ms cubic-bezier(0.2, 0.76, 0.2, 1);
}

.course-detail-page .course-path-list article:last-child {
  border-bottom: 1px solid var(--detail-line);
}

.course-detail-page .course-path-list article::before {
  content: none;
}

.course-detail-page .course-path-list article.is-course-step-current {
  opacity: 1;
  transform: translateX(-10px);
}

.course-path-index {
  color: #7a857e;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.2rem;
  line-height: 1;
  transition: color 220ms ease;
}

.course-path-list article.is-course-step-current .course-path-index {
  color: var(--detail-green-deep);
}

.course-detail-page .course-path-list h3 {
  max-width: 15ch;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  font-weight: 600;
  line-height: 0.96;
}

.course-detail-page .course-path-list p {
  max-width: 42ch;
  margin-top: 14px;
  color: #5b6861;
  font-size: 1rem;
  line-height: 1.65;
}

.course-conversion-section {
  position: relative;
  padding: clamp(112px, 11vw, 172px) 0;
  color: #fffdf6;
  background: var(--detail-ink-deep);
  overflow: hidden;
}

.course-conversion-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(75, 232, 149, 0.16), transparent 26%),
    linear-gradient(115deg, rgba(9, 27, 20, 0.98) 0%, rgba(9, 27, 20, 0.93) 54%, rgba(9, 27, 20, 0.68) 100%);
  pointer-events: none;
}

.course-conversion-art {
  position: absolute;
  top: 0;
  right: -7%;
  width: min(58vw, 880px);
  height: 100%;
  object-fit: cover;
  opacity: 0.075;
  filter: grayscale(0.3) contrast(1.15);
}

.course-conversion-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(360px, 0.42fr);
  gap: clamp(72px, 10vw, 148px);
  align-items: end;
}

.course-conversion-copy .eyebrow,
.course-related .eyebrow {
  color: #80e4aa;
}

.course-conversion-copy h2 {
  max-width: 11ch;
  color: #fffdf6;
  font-size: clamp(3.6rem, 6vw, 5.9rem);
}

.course-conversion-copy .section-text {
  max-width: 43ch;
  margin-top: 26px;
  color: rgba(255, 253, 246, 0.68);
}

.course-detail-page .course-conversion-copy .download-action-final {
  justify-items: start;
  width: auto;
  margin-top: 32px;
  text-align: left;
}

.course-detail-page .course-conversion-copy .platform-note {
  color: rgba(255, 253, 246, 0.52);
}

.course-related {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.course-related h3 {
  max-width: 15ch;
  color: #fffdf6;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1;
}

.course-related-links {
  margin-top: 34px;
}

.course-related-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #fffdf6;
  text-decoration: none;
}

.course-related-link > span:first-child {
  grid-column: 1;
  color: #80e4aa;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.course-related-link strong {
  grid-column: 1;
  font-size: 1rem;
  line-height: 1.35;
}

.course-related-action {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: rgba(255, 253, 246, 0.5);
  font-size: 0.875rem;
  font-weight: 700;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.course-related-link:hover .course-related-action,
.course-related-link:focus-visible .course-related-action {
  color: var(--detail-green);
  transform: translateX(4px);
}

.course-detail-page .is-course-reveal-pending {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 620ms ease,
    transform 680ms cubic-bezier(0.2, 0.76, 0.2, 1);
}

.course-detail-page .is-course-reveal-pending.is-course-reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes course-campaign-copy-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes course-campaign-figure-enter {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.975);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1080px) {
  .course-campaign-shell {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    gap: 52px;
  }

  .course-campaign-hero h1 {
    font-size: clamp(4.2rem, 7vw, 5.7rem);
  }

  .course-inside-shell,
  .course-arc-shell,
  .course-conversion-shell {
    gap: 68px;
  }
}

@media (max-width: 900px) {
  .course-detail-page .course-site-header .site-header-shell {
    align-items: center;
    flex-direction: row;
    padding: 10px 0;
  }

  .course-detail-page .course-site-header .header-actions {
    width: auto;
    justify-content: flex-end;
  }

  .course-campaign-shell,
  .course-detail-heading,
  .course-try-shell,
  .course-inside-shell,
  .course-arc-shell,
  .course-conversion-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .course-campaign-shell {
    min-height: auto;
    padding: 72px 0 84px;
  }

  .course-campaign-copy {
    max-width: 760px;
  }

  .course-campaign-figure,
  .course-preview-shell {
    width: min(100%, 650px);
    max-width: 650px;
    justify-self: center;
  }

  .course-detail-heading {
    align-items: start;
  }

  .course-try-intro {
    position: static;
  }

  .course-inside-copy {
    max-width: 720px;
  }

  .course-arc-intro {
    position: static;
  }

  .course-progress-label {
    margin-top: 30px;
  }

  .course-conversion-shell {
    align-items: start;
  }

  .course-related {
    max-width: 650px;
  }
}

@media (max-width: 720px) {
  .course-detail-page .section-shell,
  .course-detail-page .site-header-shell {
    width: min(1240px, calc(100vw - 40px));
  }

  .course-detail-page .course-site-header .site-header-shell {
    flex-wrap: nowrap;
  }

  .course-detail-page .course-site-header .header-actions {
    width: auto;
  }

  .course-detail-page .course-site-header .course-route-nav {
    display: none;
  }

  .course-campaign-hero {
    min-height: 0;
  }

  .course-campaign-shell {
    gap: 24px;
    padding: 30px 0;
  }

  .course-campaign-meta {
    margin-top: 20px;
  }

  .course-campaign-hero h1 {
    margin-top: 17px;
    font-size: clamp(3.15rem, 14vw, 4rem);
  }

  .course-campaign-hero .section-text {
    margin-top: 18px;
    font-size: 0.99rem;
    line-height: 1.62;
  }

  .course-detail-page .course-hero-download {
    margin-top: 22px;
  }

  .course-page .course-store-buttons-primary {
    display: flex;
    flex-wrap: wrap;
    width: min(100%, 360px);
    gap: 8px;
  }

  .course-page .course-store-buttons-primary .course-ios-store-button {
    width: 100%;
    min-width: 0;
    min-height: 60px;
    flex: none;
  }

  .course-page .course-store-buttons-primary .course-android-store-button {
    width: max-content;
    min-width: 0;
    min-height: 46px;
    flex: none;
    padding-right: 14px;
  }

  .course-detail-page .course-hero-download .course-app-store-badge {
    width: 174px;
  }

  .course-detail-page .course-hero-download .platform-note {
    display: none;
  }

  .course-hero-link {
    margin-top: 17px;
    font-size: 0.9rem;
  }

  .course-campaign-art {
    height: 140px;
    aspect-ratio: auto;
  }

  .course-campaign-figure figcaption {
    display: none;
  }

  .course-campaign-number {
    right: 14px;
    bottom: -14px;
    font-size: 6.5rem;
  }

  .course-detail-page .course-fit-section {
    padding-top: 84px;
    padding-bottom: 88px;
  }

  .course-try-section {
    padding: 84px 0 88px;
  }

  .course-try-shell {
    gap: 48px;
  }

  .course-try-intro h2 {
    font-size: clamp(2.85rem, 12.8vw, 3.8rem);
  }

  .course-try-steps li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .course-try-example {
    margin-top: 42px;
  }

  .course-try-example blockquote {
    font-size: clamp(1.55rem, 7.5vw, 2.15rem);
  }

  .course-detail-heading,
  .course-inside-shell,
  .course-arc-shell,
  .course-conversion-shell {
    gap: 38px;
  }

  .course-detail-heading h2,
  .course-inside-copy h2,
  .course-arc-intro h2 {
    font-size: clamp(2.85rem, 12.8vw, 3.8rem);
  }

  .course-detail-page .course-fit-list {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .course-detail-page .course-editorial-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
  }

  .course-inside-section,
  .course-arc-section,
  .course-conversion-section {
    padding: 88px 0;
  }

  .course-value-list {
    margin-top: 42px;
  }

  .course-detail-page .course-preview {
    padding: 24px;
  }

  .course-detail-page .course-preview h3 {
    font-size: clamp(2.5rem, 11.8vw, 3.4rem);
  }

  .course-detail-page .course-preview-next {
    padding: 20px;
  }

  .course-detail-page .course-path-list article {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    min-height: 190px;
    padding: 34px 0;
    opacity: 1;
  }

  .course-detail-page .course-path-list article.is-course-step-current {
    transform: none;
  }

  .course-path-index {
    font-size: 1.6rem;
  }

  .course-detail-page .course-path-list h3 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .course-conversion-copy h2 {
    font-size: clamp(3rem, 13.6vw, 4.2rem);
  }

  .course-conversion-art {
    right: -42%;
    width: 120vw;
    opacity: 0.055;
  }
}

@media (max-width: 480px) {
  .course-detail-page .section-shell,
  .course-detail-page .site-header-shell {
    width: calc(100vw - 32px);
  }

  .course-detail-page .course-site-header .brand {
    font-size: 1.05rem;
  }

  .course-detail-page .course-site-header .brand img {
    width: 28px;
    height: 28px;
  }

  .course-detail-page .course-site-header .button {
    min-height: 34px;
    padding: 0 13px;
    font-size: 0.875rem;
  }

  .course-campaign-meta {
    gap: 7px 16px;
    font-size: 0.875rem;
  }

  .course-campaign-hero h1 {
    font-size: clamp(3rem, 13.7vw, 3.55rem);
  }

  .course-campaign-art {
    height: 140px;
  }

  .course-detail-page .course-preview {
    padding: 20px;
  }

  .course-detail-page .course-preview-next {
    padding: 18px;
  }

  .course-related-link {
    grid-template-columns: minmax(0, 1fr);
  }

  .course-related-action {
    grid-column: 1;
    grid-row: auto;
    margin-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .course-detail-page .course-campaign-copy,
  .course-detail-page .course-campaign-figure {
    animation: none;
  }

  .course-detail-page .course-campaign-art img,
  .course-detail-page .course-breadcrumb::before,
  .course-detail-page .course-hero-link::after,
  .course-detail-page .course-related-action,
  .course-detail-page .course-path-list article,
  .course-detail-page .is-course-reveal-pending,
  .course-detail-page .is-course-reveal-pending.is-course-reveal-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.inline-cta {
  padding-top: clamp(56px, 7vw, 84px);
}

.inline-cta-shell {
  padding: 30px clamp(20px, 4vw, 38px);
  border-radius: 36px;
  border: 1px solid rgba(21, 33, 24, 0.08);
  background:
    radial-gradient(circle at top left, rgba(47, 203, 122, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(252, 249, 244, 0.94), rgba(241, 247, 243, 0.9));
  box-shadow: 0 18px 46px rgba(16, 28, 20, 0.08);
}

.inline-cta-shell .section-text {
  max-width: 40ch;
}

.inside-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 26px;
  margin-top: 34px;
}

.inside-card {
  padding: 22px;
  border-radius: 30px;
  border: 1px solid rgba(21, 33, 24, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 249, 242, 0.7));
  box-shadow: 0 18px 40px rgba(16, 28, 20, 0.08);
}

.inside-card-featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 292px minmax(0, 420px);
  gap: 20px 28px;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-top: none;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(47, 203, 122, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 241, 0.78));
  border: 1px solid rgba(21, 33, 24, 0.08);
  box-shadow: 0 20px 48px rgba(16, 28, 20, 0.08);
}

.inside-card-featured .media-frame {
  aspect-ratio: 1206 / 2622;
  max-width: 280px;
  justify-self: start;
}

.inside-copy {
  max-width: 38ch;
}

.inside-kicker {
  color: var(--accent-strong);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.inside-kicker + h3 {
  margin-top: 10px;
  max-width: 11ch;
}

.inside-card .media-frame {
  aspect-ratio: 1206 / 2622;
  max-width: 240px;
  box-shadow: 0 16px 34px rgba(16, 28, 20, 0.08);
}

.inside-card h3 {
  margin-top: 18px;
}

.inside-card p {
  margin-top: 12px;
  max-width: 40ch;
}

.inside-card:nth-child(2) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(239, 247, 242, 0.72));
}

.inside-card:nth-child(3) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 243, 235, 0.78));
}

.inside-card:nth-child(4) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(241, 246, 252, 0.74));
}

.momentum-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: start;
  margin-top: 30px;
  justify-items: center;
}

.momentum-panel {
  padding: 34px clamp(20px, 4vw, 38px);
  border-radius: 38px;
  border: 1px solid rgba(21, 33, 24, 0.08);
  background:
    radial-gradient(circle at top left, rgba(47, 203, 122, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(229, 241, 233, 0.82), rgba(255, 250, 244, 0.88));
  box-shadow: 0 22px 58px rgba(16, 28, 20, 0.08);
}

.momentum-visual {
  display: grid;
  gap: 14px;
  max-width: 340px;
  background: transparent;
}

.momentum-visual img {
  width: 100%;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(248, 252, 250, 0.92), rgba(231, 240, 236, 0.9));
}

.momentum-visual-caption {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  max-width: 32ch;
  margin: 0 auto;
}

.credibility-note {
  max-width: 760px;
}

.credibility-note h2 {
  max-width: 16ch;
}

.founder-section {
  overflow: hidden;
}

.founder-manifesto {
  position: relative;
  display: grid;
  justify-items: center;
  padding: clamp(12px, 2vw, 26px) 0 clamp(24px, 4vw, 52px);
  border-top: 1px solid rgba(21, 33, 24, 0.08);
  isolation: isolate;
  perspective: 1400px;
}

.founder-manifesto::before {
  content: "";
  position: absolute;
  top: clamp(26px, 4vw, 46px);
  left: 50%;
  z-index: -2;
  width: min(980px, 92vw);
  height: min(430px, 76%);
  border: 1px solid rgba(21, 33, 24, 0.07);
  border-radius: 44px;
  background:
    linear-gradient(135deg, rgba(255, 255, 252, 0.46), rgba(232, 242, 234, 0.58)),
    repeating-linear-gradient(
      90deg,
      rgba(21, 33, 24, 0.032) 0 1px,
      transparent 1px 72px
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 34px 74px rgba(16, 28, 20, 0.07);
  transform: translateX(-50%) rotate(0.5deg);
}

.founder-letter {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 930px);
  min-height: clamp(570px, 54vw, 660px);
  perspective: 1400px;
  transform-style: preserve-3d;
}

.founder-envelope {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 4.5vw, 46px);
  z-index: 0;
  width: min(880px, calc(100% - 18px));
  height: clamp(250px, 28vw, 330px);
  pointer-events: none;
  transform: translateX(-50%) rotate(0.4deg);
  transform-style: preserve-3d;
}

.founder-envelope-back,
.founder-envelope-flap,
.founder-envelope-front {
  position: absolute;
  left: 0;
  right: 0;
  display: block;
}

.founder-envelope-back {
  bottom: 0;
  height: 82%;
  border: 1px solid rgba(21, 33, 24, 0.08);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 252, 0.82), rgba(236, 246, 238, 0.74)),
    repeating-linear-gradient(
      90deg,
      rgba(21, 33, 24, 0.03) 0 1px,
      transparent 1px 64px
    );
  box-shadow:
    0 28px 64px rgba(16, 28, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.founder-envelope-front {
  bottom: 0;
  z-index: 1;
  height: 74%;
  border-radius: 0 0 34px 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 252, 0.88), rgba(222, 238, 224, 0.76)),
    linear-gradient(35deg, rgba(47, 203, 122, 0.1), transparent 48%);
  clip-path: polygon(0 18%, 50% 62%, 100% 18%, 100% 100%, 0 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 -1px 0 rgba(21, 33, 24, 0.05);
  transition:
    opacity 620ms ease 220ms,
    transform 760ms cubic-bezier(0.18, 0.84, 0.2, 1) 220ms;
}

.founder-envelope-flap {
  top: 2px;
  z-index: 2;
  height: 58%;
  border-radius: 32px 32px 6px 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 252, 0.94), rgba(229, 242, 232, 0.86)),
    linear-gradient(140deg, rgba(47, 203, 122, 0.08), transparent 52%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 14px 28px rgba(16, 28, 20, 0.06);
  transform-origin: 50% 0;
  transition:
    opacity 540ms ease 280ms,
    transform 920ms cubic-bezier(0.18, 0.84, 0.2, 1);
  backface-visibility: hidden;
}

.founder-letter.is-waiting .founder-envelope-flap {
  transform: rotateX(0deg);
}

.founder-letter.is-visible .founder-envelope-flap {
  opacity: 0.18;
  transform: translate3d(0, -340px, -180px) rotateX(18deg) scaleY(0.72);
}

.founder-letter.is-visible .founder-envelope-front {
  opacity: 0.18;
  transform: translate3d(0, 72px, -180px) scaleY(0.76);
}

.founder-copy {
  position: relative;
  isolation: isolate;
  z-index: 5;
  width: min(100%, 760px);
  max-width: 760px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 24px;
  border: 1px solid rgba(21, 33, 24, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 252, 0.99), rgba(252, 247, 239, 0.97)),
    repeating-linear-gradient(
      180deg,
      transparent 0 42px,
      rgba(21, 33, 24, 0.055) 42px 43px
    );
  box-shadow:
    0 26px 68px rgba(16, 28, 20, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transform: rotate(-0.7deg);
  transition:
    opacity 680ms ease,
    transform 820ms cubic-bezier(0.18, 0.84, 0.2, 1),
    box-shadow 220ms ease;
  will-change: transform, opacity;
}

.founder-copy.is-waiting {
  opacity: 0;
  transform: translate3d(0, 108px, -80px) rotate(-1.4deg) scale(0.92);
}

.founder-copy.is-visible {
  opacity: 1;
  transform: translate3d(0, -18px, 0) rotate(-0.7deg) scale(1);
}

.founder-copy::before {
  content: "";
  position: absolute;
  top: -15px;
  left: clamp(28px, 4vw, 48px);
  width: 128px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(21, 33, 24, 0.06);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 22px rgba(16, 28, 20, 0.06);
  transform: rotate(1.8deg);
  transition:
    opacity 520ms ease 180ms,
    transform 640ms cubic-bezier(0.18, 0.84, 0.2, 1) 180ms;
  z-index: 4;
}

.founder-copy::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border-radius: 26px;
  border: 1px solid rgba(21, 33, 24, 0.045);
  background: rgba(255, 252, 244, 0.58);
  box-shadow: 0 18px 38px rgba(16, 28, 20, 0.06);
  transform: rotate(1.2deg);
}

.founder-copy.is-waiting::before {
  opacity: 0;
  transform: translate3d(0, -12px, 0) rotate(-1.4deg);
}

.founder-copy > * {
  position: relative;
  z-index: 1;
}

.founder-emphasis {
  position: relative;
  padding: 0 0.03em 0.03em;
  background-image: linear-gradient(
    90deg,
    rgba(22, 153, 93, 0.64),
    rgba(47, 203, 122, 0.46)
  );
  background-position: 0 92%;
  background-repeat: no-repeat;
  background-size: 100% 0.11em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.founder-copy.is-waiting .founder-emphasis {
  background-size: 0 0.11em;
}

.founder-copy.is-visible .founder-emphasis {
  animation: founder-underline-draw 840ms ease 480ms both;
}

@media (hover: hover) and (pointer: fine) {
  .founder-copy.is-visible:hover {
    box-shadow:
      0 32px 78px rgba(16, 28, 20, 0.13),
      inset 0 1px 0 rgba(255, 255, 255, 0.78);
    transform: translate3d(0, -24px, 0) rotate(-0.45deg) scale(1.003);
  }
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.faq-list details {
  padding: 0 22px;
  border-radius: 24px;
  border: 1px solid rgba(21, 33, 24, 0.08);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 28px rgba(16, 28, 20, 0.05);
}

.faq-list summary {
  position: relative;
  padding: 22px 34px 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.02rem;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 19px;
  color: var(--accent-strong);
  font-size: 1.3rem;
  font-weight: 700;
  transition: transform 200ms var(--ease-out-strong);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

/* Answers unfold and settle instead of snapping; height interpolation is a
   progressive layer — browsers without it still get the opacity fade. */
@supports (interpolate-size: allow-keywords) {
  .faq-list details {
    interpolate-size: allow-keywords;
  }
}

.faq-list details::details-content {
  opacity: 0;
  block-size: 0;
  overflow-y: clip;
  transition:
    content-visibility 260ms allow-discrete,
    opacity 180ms var(--ease-out-strong),
    block-size 260ms var(--ease-out-strong);
}

.faq-list details[open]::details-content {
  opacity: 1;
  block-size: auto;
  transition:
    content-visibility 260ms allow-discrete,
    opacity 240ms var(--ease-out-strong) 50ms,
    block-size 260ms var(--ease-out-strong);
}

@supports not selector(::details-content) {
  .faq-list details[open] > p {
    animation: faq-answer-in 220ms var(--ease-out-strong) both;
  }
}

@keyframes faq-answer-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.faq-list p {
  padding-bottom: 22px;
  max-width: 62ch;
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 34px clamp(20px, 4vw, 38px);
  border-radius: 38px;
  border: 1px solid rgba(21, 33, 24, 0.08);
  background:
    radial-gradient(circle at top right, rgba(47, 203, 122, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(249, 244, 236, 0.86));
  box-shadow: 0 22px 58px rgba(16, 28, 20, 0.08);
}

.support-copy {
  max-width: 640px;
}

.support-card {
  margin-top: 26px;
  padding: 22px 24px;
  border-radius: 28px;
  border: 1px solid rgba(21, 33, 24, 0.08);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 28px rgba(16, 28, 20, 0.05);
}

.support-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.support-card-meta {
  min-width: 0;
}

.support-icon {
  position: relative;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 249, 244, 0.88));
  border: 1px solid rgba(47, 203, 122, 0.18);
  box-shadow:
    0 12px 28px rgba(16, 28, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  overflow: hidden;
  animation:
    support-icon-float 4.8s ease-in-out infinite,
    support-icon-glow 4.8s ease-in-out infinite;
}

.support-icon-paper {
  position: absolute;
  left: 13px;
  top: 10px;
  width: 28px;
  height: 34px;
  border-radius: 10px 10px 12px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(246, 251, 248, 0.96));
  box-shadow:
    0 8px 18px rgba(21, 33, 24, 0.1),
    inset 0 -1px 0 rgba(47, 203, 122, 0.12);
}

.support-icon-paper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, rgba(47, 203, 122, 0.22), rgba(255, 255, 255, 0) 72%);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.support-icon-line,
.support-icon-check {
  position: absolute;
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.support-icon-line {
  left: 19px;
  height: 3px;
  border-radius: 999px;
  background: rgba(22, 153, 93, 0.34);
  transform-origin: left center;
}

.support-icon-line-one {
  top: 22px;
  width: 17px;
}

.support-icon-line-two {
  top: 28px;
  width: 13px;
}

.support-icon-check {
  left: 20px;
  top: 23px;
  width: 16px;
  height: 9px;
  border-left: 3px solid #16995d;
  border-bottom: 3px solid #16995d;
  opacity: 0;
  transform: rotate(-45deg) scale(0.72);
  transform-origin: center;
}

.support-panel[data-copy-state="success"] .support-icon {
  background: linear-gradient(180deg, rgba(242, 255, 248, 0.98), rgba(223, 246, 233, 0.94));
  box-shadow:
    0 14px 32px rgba(22, 153, 93, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.support-panel[data-copy-state="success"] .support-icon-line {
  opacity: 0;
  transform: scaleX(0.45);
}

.support-panel[data-copy-state="success"] .support-icon-check {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
}

.support-label {
  color: var(--accent-strong);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.support-mail-link {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0;
  word-break: break-word;
}

.support-note,
.support-status {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.support-kindness {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(47, 203, 122, 0.12), transparent 40%),
    rgba(244, 250, 246, 0.92);
  border: 1px solid rgba(47, 203, 122, 0.16);
}

.support-kindness-label {
  color: var(--accent-strong);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.support-kindness p + p {
  margin-top: 8px;
  color: #435247;
  font-size: 0.96rem;
  line-height: 1.6;
}

.support-mail-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 12px;
  margin-top: 10px;
}

.support-copy-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(21, 33, 24, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  color: #2a3f31;
  box-shadow:
    0 10px 24px rgba(16, 28, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  cursor: pointer;
  align-self: start;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    background 160ms ease;
}

.support-copy-button:hover {
  transform: translateY(-1px);
  border-color: rgba(22, 153, 93, 0.22);
  color: var(--accent-strong);
}

.support-copy-button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.support-copy-glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition:
    opacity 160ms ease,
    transform 180ms ease;
}

.support-copy-glyph svg {
  width: 18px;
  height: 18px;
}

.support-copy-glyph-duplicate svg {
  fill: currentColor;
}

.support-copy-glyph-check {
  opacity: 0;
  transform: scale(0.7);
}

.support-copy-glyph-check svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.support-panel[data-copy-state="success"] .support-copy-button {
  border-color: rgba(22, 153, 93, 0.24);
  background: rgba(235, 251, 241, 0.98);
  color: #1d6b45;
  box-shadow:
    0 12px 24px rgba(22, 153, 93, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.support-panel[data-copy-state="success"] .support-copy-glyph-duplicate {
  opacity: 0;
  transform: scale(0.78);
}

.support-panel[data-copy-state="success"] .support-copy-glyph-check {
  opacity: 1;
  transform: scale(1);
}

.support-status {
  min-height: 1.6em;
  margin-top: 2px;
  font-weight: 700;
}

.support-status[data-state="success"] {
  color: #1d6b45;
}

.support-status[data-state="error"] {
  color: #9a3a24;
}

.final-cta {
  padding-bottom: 120px;
  text-align: center;
}

.final-cta-shell {
  max-width: 760px;
  margin: 0 auto;
}

.final-cta .section-text,
.final-cta h2 {
  margin-left: auto;
  margin-right: auto;
}

.final-cta .section-text {
  max-width: 34ch;
}

.final-cta .hero-actions {
  justify-content: center;
}

.course-main {
  overflow: hidden;
}

.course-hero {
  position: relative;
  padding: 44px 0 72px;
  overflow: hidden;
}

.course-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(47, 203, 122, 0.13), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(85, 106, 240, 0.1), transparent 19%),
    linear-gradient(180deg, rgba(237, 247, 241, 0.78), rgba(245, 239, 230, 0));
  pointer-events: none;
}

.course-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(300px, 0.42fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  min-height: min(720px, calc(100svh - var(--header-height) - 22px));
}

.course-hero-copy {
  max-width: 680px;
}

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

.course-hero .section-text {
  max-width: 42ch;
}

.course-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.course-hero-signup {
  margin-top: 26px;
}

.course-hero-signup .beta-signup-controls {
  max-width: 520px;
}

.course-hero-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
}

.course-hero-proof {
  display: grid;
  gap: 16px;
}

.course-visual {
  width: min(100%, 390px);
  aspect-ratio: 0.76;
  justify-self: end;
}

.course-proof-note {
  justify-self: end;
  width: min(100%, 390px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.58;
}

.course-preview {
  position: relative;
  width: min(100%, 430px);
  justify-self: end;
  padding: 22px;
  border-radius: 34px;
  border: 1px solid rgba(21, 33, 24, 0.08);
  background:
    radial-gradient(circle at top right, rgba(47, 203, 122, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 244, 236, 0.84));
  box-shadow: var(--shadow);
}

.course-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-preview-label {
  color: var(--accent-strong);
}

.course-preview h2,
.course-preview h3 {
  margin-top: 14px;
  max-width: 12ch;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 0.98;
}

.course-preview-next {
  margin-top: 20px;
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(47, 203, 122, 0.12), transparent 44%),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 33, 24, 0.08);
}

.course-preview-next span,
.course-preview-day span {
  color: var(--accent-strong);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-preview-next strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.26;
}

.course-preview-next p,
.course-preview-day p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.5;
}

.course-preview-days {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.course-preview-day {
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(21, 33, 24, 0.08);
  background: rgba(255, 255, 255, 0.58);
}

.course-preview-day h3 {
  margin-top: 6px;
  max-width: none;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.24;
  letter-spacing: 0;
}

.course-catalog-section,
.course-fit-section,
.course-outcomes-section,
.course-path-section,
.course-proof-section {
  padding-top: var(--section-gap);
}

.course-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.course-category-group {
  margin-top: 42px;
}

.course-category-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.course-category-heading h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
}

.course-category-group .course-link-grid {
  margin-top: 18px;
}

.course-link-card {
  display: grid;
  align-content: space-between;
  min-height: 258px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(21, 33, 24, 0.08);
  background:
    radial-gradient(circle at top right, rgba(47, 203, 122, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 242, 233, 0.78));
  box-shadow: 0 18px 44px rgba(16, 28, 20, 0.06);
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.course-link-card:nth-child(3n + 2) {
  background:
    radial-gradient(circle at top right, rgba(85, 106, 240, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 244, 252, 0.8));
}

.course-link-card:nth-child(3n + 3) {
  background:
    radial-gradient(circle at top right, rgba(47, 203, 122, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(251, 255, 252, 0.94), rgba(237, 247, 241, 0.82));
}

.course-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 153, 93, 0.18);
  box-shadow: 0 22px 52px rgba(16, 28, 20, 0.1);
}

.course-link-eyebrow,
.course-stat-label {
  color: var(--accent-strong);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-link-card h2,
.course-link-card h3 {
  margin-top: 12px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1;
  max-width: 10ch;
}

.course-link-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.course-link-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--text);
  font-weight: 800;
}

.course-link-action::after {
  content: "->";
  color: var(--accent-strong);
  transition: transform 180ms ease;
}

.course-link-card:hover .course-link-action::after {
  transform: translateX(3px);
}

.course-routing-band {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  gap: 28px 46px;
  align-items: start;
  margin-top: var(--section-gap);
  padding: 34px clamp(20px, 4vw, 38px);
  border-radius: 38px;
  border: 1px solid rgba(21, 33, 24, 0.08);
  background:
    radial-gradient(circle at top left, rgba(47, 203, 122, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(252, 249, 244, 0.94), rgba(241, 247, 243, 0.9));
  box-shadow: 0 20px 50px rgba(16, 28, 20, 0.08);
}

.course-routing-list,
.course-fit-list,
.course-outcome-grid,
.course-path-list,
.course-stat-row {
  display: grid;
  gap: 14px;
}

.course-routing-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-routing-list article,
.course-fit-list article,
.course-outcome-grid article,
.course-path-list article,
.course-stat-row article {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.course-routing-list h3,
.course-fit-list h3,
.course-outcome-grid h3,
.course-path-list h3 {
  font-size: 1.1rem;
  line-height: 1.24;
}

.course-routing-list p,
.course-fit-list p,
.course-outcome-grid p,
.course-path-list p,
.course-stat-row p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.course-detail-hero h1 {
  max-width: 13ch;
}

.course-detail-hero .course-hero-copy {
  max-width: 720px;
}

.course-fit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  gap: 30px 58px;
  align-items: start;
}

.course-fit-list,
.course-outcome-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-outcome-grid {
  margin-top: 32px;
}

.course-path-list {
  margin-top: 32px;
  counter-reset: course-step;
}

.course-path-list article {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px 0 0;
}

.course-path-list article::before {
  counter-increment: course-step;
  content: counter(course-step, decimal-leading-zero);
  color: var(--accent-strong);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.course-proof-band {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr);
  gap: 28px 42px;
  align-items: start;
  padding: 34px clamp(20px, 4vw, 38px);
  border-radius: 38px;
  background:
    radial-gradient(circle at 12% 18%, rgba(47, 203, 122, 0.18), transparent 28%),
    linear-gradient(180deg, #142018, #101611);
  color: #eff8f1;
  box-shadow: 0 24px 64px rgba(16, 28, 20, 0.14);
}

.course-proof-band .section-text,
.course-proof-band .course-stat-row p {
  color: rgba(239, 248, 241, 0.8);
}

.course-proof-band .course-stat-row article {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.course-stat-value {
  display: block;
  margin-top: 8px;
  color: #eff8f1;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 0.98;
}

.course-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.course-mini-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 33, 24, 0.08);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.course-mini-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.92);
}

/* One footer on every page. Three tiers: brand and social on the first line,
   the full link set on its own line, then the legal text. `.footer-meta` is
   only a grouping wrapper, so it hands its children straight to this grid.
   Rows are assigned explicitly because auto-placement would drop the social
   row below the links instead of beside the brand. */
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  max-width: none;
  padding: 40px max(32px, calc((100vw - 1240px) / 2)) 46px;
  column-gap: 24px;
  row-gap: 26px;
  color: rgba(248, 244, 234, 0.7);
  background: #0a1b15;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .brand {
  color: #fffdf6;
}

.footer-meta {
  display: contents;
}

.site-footer .brand-footer {
  grid-row: 1;
  grid-column: 1;
  justify-self: start;
}

.site-footer .footer-links {
  grid-row: 2;
  grid-column: 1 / -1;
  padding-top: 24px;
  gap: 12px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .footer-links a {
  color: rgba(248, 244, 234, 0.58);
}

/* The footer is dark, so the column headings need the light ink rather than
   the page's default near-black text colour. */
.site-footer .footer-link-heading {
  color: rgba(248, 244, 234, 0.92);
  font-size: 0.875rem;
}

.site-footer .footer-links a:hover {
  color: #fffdf6;
}

.footer-social {
  display: flex;
  align-items: center;
  grid-row: 1;
  grid-column: 2;
  justify-self: end;
  gap: 8px;
}

.footer-social-label {
  margin-right: 3px;
  color: rgba(248, 244, 234, 0.56);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  padding: 0 12px;
  color: rgba(248, 244, 234, 0.64);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms var(--ease-out-strong);
}

.footer-social a:hover {
  color: #fffdf6;
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(75, 232, 149, 0.34);
  transform: translateY(-1px);
}

.footer-social a:focus-visible {
  color: #fffdf6;
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.footer-social svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: currentColor;
}

.footer-social rect,
.footer-social circle:not(.footer-social-dot) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-social-dot {
  fill: currentColor;
}

/* The back-to-top control is fixed over the bottom-right corner, so the legal
   text keeps a lane clear of it rather than running underneath. */
.platform-attribution {
  display: grid;
  grid-row: 3;
  grid-column: 1 / -1;
  padding-right: 72px;
  gap: 5px;
  color: rgba(248, 244, 234, 0.56);
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: left;
}

.platform-attribution p {
  margin: 0;
}

@media (max-width: 1040px) {
  .site-footer {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    row-gap: 22px;
  }

  .site-footer .footer-links {
    grid-row: 2;
    grid-column: 1;
  }

  .footer-social {
    grid-row: 3;
    grid-column: 1;
    justify-self: start;
    flex-wrap: wrap;
  }

  .platform-attribution {
    grid-row: 4;
    grid-column: 1;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding: 34px 20px 92px;
  }

  .footer-social {
    width: 100%;
  }

  .footer-social-label {
    width: 100%;
    margin: 0 0 2px;
  }

  /* The tall bottom padding here already clears the back-to-top control, so the
     legal text can use the full width. */
  .platform-attribution {
    padding-right: 0;
  }
}

.brand-footer {
  font-size: 1.18rem;
}

.brand-footer img {
  width: 34px;
  height: 34px;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid rgba(21, 33, 24, 0.12);
  border-radius: 999px;
  background: rgba(21, 33, 24, 0.92);
  color: #f6fff9;
  font: 800 1.3rem/1 "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  box-shadow: 0 14px 30px rgba(16, 28, 20, 0.22);
  transition:
    transform 200ms var(--ease-out-strong),
    background-color 180ms ease,
    box-shadow 180ms ease,
    opacity 200ms var(--ease-out-strong),
    display 200ms allow-discrete;
}

.back-to-top:hover {
  transform: translateY(-1px);
  background: rgba(16, 24, 19, 0.96);
  box-shadow: 0 18px 34px rgba(16, 28, 20, 0.26);
}

.back-to-top:active {
  transform: scale(0.94);
}

/* Fade + rise in when the scroll threshold flips `hidden`; exit the same way. */
.back-to-top[hidden] {
  display: none;
  opacity: 0;
  transform: translateY(14px) scale(0.9);
}

/* Sticky waitlist action. Phones only: on a pointer device the header CTA stays
   in reach, so a fixed bar would only cover content. */
.sticky-cta {
  display: none;
}

@media (max-width: 820px) {
  .sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    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);
  }

  .sticky-cta[hidden] {
    display: none;
  }

  .sticky-cta-copy {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: #16301f;
    font-size: 0.875rem;
    font-weight: 750;
    line-height: 1.25;
  }

  .sticky-cta-button {
    flex: none;
    min-height: 48px;
    padding: 0 20px;
    font-size: 0.95rem;
  }

  /* Keep the scroll-to-top control clear of the bar. It precedes the bar in the
     DOM, so lift it from a common ancestor rather than a sibling selector. */
  body:has(.sticky-cta:not([hidden])) .back-to-top {
    bottom: calc(88px + env(safe-area-inset-bottom));
  }
}

@starting-style {
  .back-to-top {
    opacity: 0;
    transform: translateY(14px) scale(0.9);
  }
}

.reveal,
.reveal-delay {
  opacity: 1;
  transform: none;
  animation: none;
}

@keyframes float-a {
  0%,
  100% {
    transform: rotate(-7deg) translate3d(0, 0, 0);
  }
  50% {
    transform: rotate(-6deg) translate3d(0, -14px, 0);
  }
}

@keyframes float-b {
  0%,
  100% {
    transform: rotate(6deg) translate3d(0, 0, 0);
  }
  50% {
    transform: rotate(7deg) translate3d(0, 14px, 0);
  }
}

@keyframes example-scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@keyframes example-scroll-right {
  from {
    transform: translateX(calc(-50% - 9px));
  }

  to {
    transform: translateX(0);
  }
}

@keyframes rhythm-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 6px rgba(47, 203, 122, 0.1);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(47, 203, 122, 0.16);
    transform: scale(1.06);
  }
}

@keyframes support-icon-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@keyframes support-icon-glow {
  0%,
  100% {
    box-shadow:
      0 12px 28px rgba(16, 28, 20, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.72);
  }

  50% {
    box-shadow:
      0 16px 34px rgba(16, 28, 20, 0.1),
      0 0 0 6px rgba(47, 203, 122, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.78);
  }
}

@keyframes founder-underline-draw {
  from {
    background-size: 0 0.11em;
  }

  to {
    background-size: 100% 0.11em;
  }
}

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

  .example-row {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .example-track {
    animation: none;
  }

  .hero-reminder,
  .hero-course-count {
    animation: none;
  }

  .hero-chip-set.is-active {
    animation: none;
  }

  .arc-stop-live::before {
    animation: none;
  }

  .support-icon {
    animation: none;
  }

  .founder-copy,
  .founder-copy.is-waiting,
  .founder-copy.is-visible {
    opacity: 1;
    transform: translate3d(0, -18px, 0) rotate(-0.7deg);
    transition: none;
  }

  .founder-envelope-front,
  .founder-envelope-flap {
    transition: none;
  }

  .founder-letter.is-visible .founder-envelope-flap {
    opacity: 0.18;
    transform: translate3d(0, -340px, -180px) rotateX(18deg) scaleY(0.72);
  }

  .founder-letter.is-visible .founder-envelope-front {
    opacity: 0.18;
    transform: translate3d(0, 72px, -180px) scaleY(0.76);
  }

  .founder-copy.is-visible .founder-emphasis {
    animation: none;
  }

  .back-to-top {
    transition: none;
  }

  .process-step::before,
  .process-step .media-frame {
    transition: none;
  }
}

@media (max-width: 1120px) {
  .momentum-layout,
  .compare-band,
  .support-panel,
  .course-doorway,
  .course-hero-shell,
  .course-routing-band,
  .course-fit-layout,
  .course-proof-band {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
    grid-template-areas: "intro visual";
    min-height: auto;
    gap: 22px 28px;
  }

  .hero-intro {
    max-width: none;
    padding-top: 0;
  }

  .hero-reminder-morning {
    left: -8px;
  }

  .hero-reminder-lunch {
    right: -12px;
  }

  .hero-reminder-night {
    left: 2px;
  }

  .inside-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inside-card-featured {
    grid-template-columns: 260px minmax(0, 1fr);
  }

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

  .course-hero-shell {
    min-height: auto;
  }

  .course-visual,
  .course-proof-note,
  .course-preview {
    justify-self: start;
  }

  .course-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .section-shell {
    width: min(1240px, calc(100vw - 40px));
  }

  .site-header-shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
  }

  .site-nav,
  .footer-links {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .site-nav {
    padding: 8px;
  }

  .example-grid,
  .course-routing-list,
  .course-fit-list,
  .course-outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step .media-frame,
  .momentum-visual {
    max-width: 360px;
  }

  .inline-cta-shell .hero-actions {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: clamp(1.95rem, 9.6vw, 2.55rem);
  }

  .hero h1 {
    font-size: clamp(1.5rem, 7.4vw, 2.2rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3.25rem);
  }

  .site-header-shell {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .header-actions {
    width: auto;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .site-nav {
    display: none;
  }

  .site-menu-toggle {
    display: inline-flex;
  }

  /* The panel is fully opaque: page copy showing through the sheet reads as
     ghosted text over the menu rows. */
  .site-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    padding: 6px 20px 14px;
    background: rgb(242, 248, 239);
    border-bottom: 1px solid rgba(21, 33, 24, 0.12);
    box-shadow: 0 22px 34px rgba(16, 28, 20, 0.12);
  }

  .site-menu[hidden] {
    display: none;
  }

  .site-menu a {
    display: flex;
    align-items: center;
    min-height: 48px;
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
  }

  .site-menu a + a {
    border-top: 1px solid rgba(21, 33, 24, 0.08);
  }

  .site-menu a[aria-current="page"] {
    color: var(--accent-strong);
  }

  /* The homepage and course headers are dark green, so their menu keeps the
     header's own surface and ink instead of the paper panel. */
  .home-page .site-menu-toggle,
  .course-detail-page .site-menu-toggle,
  .course-catalog-page .site-menu-toggle {
    border-color: rgba(255, 255, 255, 0.24);
    background: transparent;
    color: #fffdf6;
    box-shadow: none;
  }

  .home-page .site-menu-toggle[aria-expanded="true"],
  .course-detail-page .site-menu-toggle[aria-expanded="true"],
  .course-catalog-page .site-menu-toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.22);
  }

  .home-page .site-menu,
  .course-detail-page .site-menu,
  .course-catalog-page .site-menu {
    background: rgb(16, 39, 31);
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 34px rgba(5, 18, 13, 0.3);
  }

  /* Row inset follows each family's own phone header-shell margin. */
  .home-page .site-menu {
    padding-inline: 14px;
  }

  .course-detail-page .site-menu {
    padding-inline: 16px;
  }

  .home-page .site-menu a,
  .course-detail-page .site-menu a,
  .course-catalog-page .site-menu a {
    color: #fffdf6;
  }

  .home-page .site-menu a + a,
  .course-detail-page .site-menu a + a,
  .course-catalog-page .site-menu a + a {
    border-top-color: rgba(255, 255, 255, 0.12);
  }

  .home-page .site-menu a[aria-current="page"],
  .course-detail-page .site-menu a[aria-current="page"],
  .course-catalog-page .site-menu a[aria-current="page"] {
    color: var(--accent);
  }

  .course-site-header .site-header-shell {
    flex-wrap: wrap;
  }

  .course-site-header .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .course-site-header .course-route-nav {
    display: flex;
    min-width: 0;
  }

  .header-course-link {
    display: none;
  }

  .header-actions .header-course-link::after {
    content: none;
  }

  .mobile-nav-link {
    display: inline-flex;
  }

  .course-hero {
    padding-top: 28px;
    padding-bottom: 44px;
  }

  .course-hero-shell {
    gap: 24px;
  }

  .course-hero-actions {
    align-items: stretch;
    margin-top: 22px;
  }

  .course-hero-signup {
    margin-top: 22px;
  }

  .course-hero-download {
    margin-top: 22px;
  }

  .course-link-grid,
  .course-routing-list,
  .course-fit-list,
  .course-outcome-grid,
  .course-proof-band {
    grid-template-columns: 1fr;
  }

  .course-link-card {
    min-height: 220px;
  }

  .course-preview {
    padding: 18px;
    border-radius: 28px;
  }

  .course-preview h2,
  .course-preview h3 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
  }

  .course-path-list article {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
  }

  .hero {
    padding-top: 12px;
    padding-bottom: 32px;
  }

  .hero-shell {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "visual"
      "prompts";
    gap: 18px;
  }

  .hero .eyebrow {
    margin-bottom: 10px;
    font-size: 0.875rem;
  }

  .hero-visual {
    width: min(100%, 300px);
    justify-self: start;
    margin-left: 0;
  }

  .hero-body {
    max-width: 30ch;
    gap: 16px;
  }

  .hero-rhythm-line {
    gap: 8px 14px;
    font-size: 0.875rem;
  }
  .hero-proof {
    min-height: auto;
    padding: 0 0 28px;
  }

  .hero-rhythm-arc {
    inset: 24px 8px 72px 8px;
    border-radius: 28px;
  }

  .hero-shot {
    padding: 8px;
    border-radius: 26px;
  }

  .hero-shot img {
    border-radius: 20px;
  }

  .hero-shot-primary {
    width: min(100%, 278px);
    margin: 0;
  }

  .hero-reminder,
  .hero-course-count {
    padding: 10px 11px;
    border-radius: 18px;
  }

  .hero-reminder-time {
    font-size: 0.875rem;
  }

  .hero-reminder-title,
  .hero-course-count-number {
    font-size: 0.875rem;
  }

  .hero-reminder-note,
  .hero-course-count-note {
    font-size: 0.875rem;
  }

  .hero-reminder-morning {
    top: 24px;
    left: -10px;
    min-width: 132px;
  }

  .hero-reminder-lunch {
    top: 182px;
    right: -18px;
    min-width: 122px;
  }

  .hero-reminder-night {
    left: -2px;
    bottom: 98px;
    min-width: 148px;
  }
  .hero-shot-inset,
  .hero-notes {
    display: none;
  }

  .hero-text {
    max-width: 27ch;
    font-size: 1rem;
    line-height: 1.6;
  }

  .example-marquee {
    gap: 14px;
  }

  .example-card {
    min-width: min(82vw, 320px);
    min-height: 104px;
    padding: 20px 20px 22px;
    font-size: 1rem;
  }

  .example-grid,
  .inside-grid {
    grid-template-columns: 1fr;
  }

  .founder-manifesto::before {
    top: 18px;
    width: calc(100vw - 28px);
    height: 82%;
    border-radius: 30px;
  }

  .founder-letter {
    min-height: 620px;
  }

  .founder-envelope {
    bottom: 24px;
    width: calc(100% - 6px);
    height: 260px;
  }

  .founder-envelope-back {
    border-radius: 26px;
  }

  .founder-envelope-front {
    border-radius: 0 0 26px 26px;
  }

  .founder-envelope-flap {
    border-radius: 26px 26px 6px 6px;
  }

  .founder-copy {
    transform: none;
  }

  .founder-copy.is-waiting {
    transform: translate3d(0, 84px, -60px) scale(0.92);
  }

  .founder-copy.is-visible {
    transform: translate3d(0, -12px, 0);
  }

  .founder-copy::after {
    inset: 14px -10px -12px 10px;
    border-radius: 22px;
  }

  .inside-card-featured {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .compare-shell {
    padding-top: 64px;
    padding-bottom: 68px;
  }

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

  .compare-panel {
    min-height: 0;
  }

  .momentum-panel {
    padding: 28px 18px;
  }

  .process-grid {
    --process-rail-gutter: 38px;
    --process-rail-offset: 15px;
    --process-gap: 30px;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
    padding-left: var(--process-rail-gutter);
  }

  .process-grid::before {
    content: "";
    position: absolute;
    top: 26px;
    bottom: 30px;
    left: var(--process-rail-offset);
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(
      180deg,
      rgba(47, 203, 122, 0.86),
      rgba(47, 203, 122, 0.42) 58%,
      rgba(85, 106, 240, 0.3)
    );
    box-shadow: 0 0 0 7px rgba(47, 203, 122, 0.06);
  }

  .process-step .media-frame {
    justify-self: start;
    width: min(100%, 304px);
  }

  .process-step,
  .process-step:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 8px 0 24px;
  }

  .process-step::before,
  .process-step:nth-child(1)::before,
  .process-step:nth-child(2)::before {
    content: "";
    position: absolute;
    top: 28px;
    right: auto;
    left: calc(var(--process-rail-offset) - var(--process-rail-gutter) - 11px);
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 999px;
    background:
      radial-gradient(circle at 38% 34%, rgba(255, 255, 255, 0.96) 0 18%, transparent 19%),
      linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow:
      0 0 0 8px rgba(47, 203, 122, 0.12),
      0 18px 32px rgba(16, 28, 20, 0.14);
    transform: none;
  }

  .process-step::after {
    content: "";
    position: absolute;
    top: 40px;
    right: auto;
    left: calc(var(--process-rail-offset) - var(--process-rail-gutter) + 15px);
    width: calc(var(--process-rail-gutter) - var(--process-rail-offset) - 3px);
    height: 1px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(47, 203, 122, 0.56), rgba(21, 33, 24, 0.08));
    transform: none;
  }

  .process-step:nth-child(3)::after {
    content: "";
  }

  .process-step:hover::before {
    transform: scale(1.06);
  }

  .process-step:nth-child(even) .media-frame,
  .process-step:nth-child(even) .process-copy {
    order: initial;
    justify-self: start;
  }

  .support-card-header {
    gap: 14px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 56px;
  }

  .site-header-shell {
    width: min(1240px, calc(100vw - 20px));
    min-height: 56px;
    padding: 0;
  }

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

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

  .button {
    min-height: 46px;
    padding: 0 18px;
  }

  .mobile-nav-link {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .header-actions .button {
    width: auto;
  }

  .header-actions {
    margin-left: auto;
  }

  .text-link {
    width: auto;
  }

  .hero .hero-actions {
    align-items: stretch;
    gap: 10px;
    margin-top: 12px;
  }

  .hero .hero-shell {
    gap: 8px;
  }
  .beta-signup-controls {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }

  .beta-signup-field {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0 4px;
  }

  .beta-signup-submit {
    width: 100%;
  }

  .hero-actions .button,
  .final-cta .button,
  .download-action .button,
  .course-doorway-actions .button,
  .course-hero-actions .button {
    width: 100%;
  }

  .support-copy-button {
    width: 38px;
    height: 38px;
  }

  .support-mail-link {
    font-size: 1.05rem;
  }

  .support-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    font-size: clamp(1.82rem, 9.6vw, 2.3rem);
  }

  .hero-rhythm-line {
    font-size: 0.875rem;
    gap: 8px 12px;
  }

  .hero-shot-primary {
    width: min(100%, 244px);
  }

  .hero-rhythm-arc {
    inset: 20px 0 62px 0;
  }

  .hero-reminder-morning {
    top: 18px;
    left: -12px;
    min-width: 124px;
  }

  .hero-reminder-lunch {
    top: 152px;
    right: -22px;
    min-width: 118px;
  }

  .hero-reminder-night {
    left: -10px;
    bottom: 82px;
    min-width: 138px;
  }
  .back-to-top {
    right: 12px;
    bottom: 12px;
    min-height: 42px;
    padding: 0 16px;
  }

  .media-frame,
  .faq-list details,
  .example-card {
    border-radius: 26px;
  }

  .course-link-card,
  .course-routing-band,
  .course-proof-band {
    border-radius: 26px;
  }

  .course-path-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ============================================================
   Generated marketing imagery (covers, device shots, backdrop)
   ============================================================ */

/* Hero ambient backdrop */
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("/assets/marketing/hero-backdrop.webp");
  background-size: cover;
  background-position: center top;
  opacity: 0.4;
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    rgba(0, 0, 0, 0.45) 58%,
    transparent 92%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    rgba(0, 0, 0, 0.45) 58%,
    transparent 92%
  );
  pointer-events: none;
}

/* Popular courses section */
.courses-feature {
  margin-top: var(--section-gap);
}

/* No display override here: .text-link is inline-flex so its gap spaces the arrow. */
.courses-feature-link {
  margin-top: 18px;
}

.course-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(30px, 4vw, 46px);
}

.course-card {
  appearance: none;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-align: left;
  font-family: inherit;
  color: var(--text);
  border-radius: 22px;
  border: 1px solid rgba(21, 33, 24, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 252, 0.96),
    rgba(244, 249, 241, 0.86)
  );
  box-shadow: 0 16px 34px rgba(16, 28, 20, 0.08);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.course-card:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 153, 93, 0.4);
  box-shadow: 0 24px 48px rgba(16, 28, 20, 0.14);
}

.course-card:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.course-card-art {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-bottom: 1px solid rgba(21, 33, 24, 0.06);
}

.course-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.course-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 15px 16px 19px;
}

.course-card-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.12;
}

.course-card-desc {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.48;
}

@media (max-width: 920px) {
  .course-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .course-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Plus pricing ---------- */
.plus-section {
  padding-top: clamp(72px, 8vw, 112px);
}

.plus-intro {
  max-width: 720px;
}

.plus-tier-grid {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.4vw, 26px);
  align-items: stretch;
}

.plus-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 28px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.plus-tier-paid {
  background:
    radial-gradient(circle at 88% 0%, rgba(47, 203, 122, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 252, 0.97), rgba(238, 250, 243, 0.94));
  border: 1px solid rgba(22, 153, 93, 0.26);
  box-shadow: 0 30px 80px rgba(22, 153, 93, 0.16);
}

.plus-badge {
  position: absolute;
  top: -18px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(22, 153, 93, 0.32);
}

.plus-plan-ribbon {
  position: absolute;
  top: 24px;
  right: 84px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(22, 153, 93, 0.12);
  color: var(--accent-strong);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plus-tier-label {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7c8880;
}

.plus-tier-paid .plus-tier-label {
  color: var(--accent-strong);
}

.plus-tier-name {
  margin-top: 10px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1;
}

.plus-tier-fit {
  margin-top: 10px;
  max-width: 32ch;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.48;
}

.plus-tier-price {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.plus-price-amount {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.plus-price-unit {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.plus-price-original {
  align-self: baseline;
  color: var(--muted);
  font-size: 1.15rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.plus-price-save {
  align-self: center;
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(22, 153, 93, 0.12);
  color: var(--accent-strong);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plus-price-subline {
  margin-top: 8px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
}

.plus-billing-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.plus-billing-choice {
  display: grid;
  gap: 3px;
  min-height: 94px;
  padding: 12px 13px;
  border-radius: 18px;
  border: 1px solid rgba(21, 33, 24, 0.08);
  background: rgba(255, 255, 255, 0.58);
}

.plus-billing-choice-featured {
  border-color: rgba(47, 203, 122, 0.24);
  background: rgba(47, 203, 122, 0.1);
}

.plus-billing-choice span {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plus-billing-choice strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.25;
}

.plus-choice-was {
  margin-right: 4px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: line-through;
}

.plus-billing-choice em {
  color: var(--accent-strong);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 800;
}

.plus-tier-kicker {
  margin-top: 22px;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--muted);
}

.plus-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.plus-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--text);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.5;
}

.plus-list li .plus-mark {
  flex: 0 0 auto;
  margin-top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 33, 24, 0.06);
  color: var(--muted);
}

.plus-tier-paid .plus-list li .plus-mark {
  background: var(--accent-soft);
  color: #11613e;
}

.plus-mark svg {
  width: 11px;
  height: 11px;
}

.plus-tier .button {
  width: 100%;
}

.plus-tier-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
}

/* dark numbers band */
.plus-numbers {
  position: relative;
  margin-top: clamp(20px, 3vw, 32px);
  padding: clamp(40px, 5vw, 60px) clamp(26px, 4vw, 54px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 12% 0%, rgba(47, 203, 122, 0.18), transparent 36%),
    radial-gradient(circle at 90% 100%, rgba(12, 141, 136, 0.22), transparent 42%),
    #152118;
  color: #f6fff9;
  overflow: hidden;
}

.plus-numbers h2 {
  color: #f6fff9;
  max-width: 16ch;
}

.plus-numbers .eyebrow {
  color: #7fe0ac;
}

.plus-numbers-lead {
  margin-top: 16px;
  max-width: 52ch;
  color: rgba(246, 255, 249, 0.72);
  font-size: 1.02rem;
  line-height: 1.66;
}

.plus-numbers-row {
  margin-top: clamp(30px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 30px);
}

.plus-number {
  padding-top: 18px;
  border-top: 1px solid rgba(246, 255, 249, 0.16);
}

.plus-number-value {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(3.2rem, 6vw, 4.8rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.plus-number-zero .plus-number-value {
  color: var(--accent);
}

.plus-number-caption {
  margin-top: 12px;
  color: rgba(246, 255, 249, 0.72);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.5;
  max-width: 24ch;
}

.plus-numbers-promise {
  margin-top: clamp(28px, 4vw, 42px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(246, 255, 249, 0.82);
  font-size: 0.95rem;
  font-weight: 700;
}

.plus-numbers-promise img {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 9px;
}

@media (max-width: 720px) {
  .plus-tier-grid {
    grid-template-columns: 1fr;
  }
  .plus-numbers-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .plus-number {
    margin-top: 22px;
  }
}

/* Course catalog editorial refresh */

.course-catalog-page {
  --catalog-ink: #10271f;
  --catalog-ink-soft: #17372b;
  --catalog-cream: #f6f1e8;
  --catalog-paper: #fffdf7;
  --catalog-mist: #e9f3eb;
  --catalog-band: #e9e2d6;
  --catalog-green: #4be895;
  --catalog-green-deep: #0d7044;
  --catalog-line: rgba(16, 39, 31, 0.16);
  color: var(--catalog-ink);
  background: var(--catalog-cream);
}

.course-catalog-page .course-main {
  overflow: clip;
}

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

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

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

.course-catalog-page .course-site-header {
  color: #fffdf6;
  background: rgba(16, 39, 31, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px);
}

.course-catalog-page .course-site-header.is-scrolled {
  color: #fffdf6;
  background: rgba(16, 39, 31, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.course-catalog-page .course-site-header .brand {
  color: #fffdf6;
}

.course-catalog-page .course-route-nav {
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.course-catalog-page .course-route-nav a,
.course-catalog-page .course-route-nav a:hover,
.course-catalog-page .course-route-nav a:focus-visible,
.course-catalog-page .course-route-nav a[aria-current="page"] {
  min-height: 36px;
  padding: 0 14px;
  color: rgba(248, 244, 234, 0.78);
  background: transparent;
  box-shadow: none;
}

.course-catalog-page .course-route-nav a:hover,
.course-catalog-page .course-route-nav a:focus-visible,
.course-catalog-page .course-route-nav a[aria-current="page"] {
  color: #fffdf6;
}

.course-catalog-page .course-route-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 4px;
  left: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--catalog-green);
}

.course-catalog-page .course-site-header .button-primary {
  color: var(--catalog-ink);
  background: var(--catalog-green);
  box-shadow: none;
}

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

.course-catalog-page .catalog-hero::before {
  background:
    radial-gradient(circle at 76% 16%, rgba(75, 232, 149, 0.2), transparent 28%),
    linear-gradient(90deg, rgba(16, 39, 31, 0.98) 0%, rgba(16, 39, 31, 0.9) 48%, rgba(16, 39, 31, 0.72) 100%),
    url("/assets/marketing/hero-backdrop.webp") center / cover;
}

.course-catalog-page .catalog-hero .course-hero-shell {
  grid-template-columns: minmax(0, 0.53fr) minmax(440px, 0.47fr);
  min-height: calc(100svh - var(--header-height));
  gap: clamp(36px, 4.5vw, 68px);
  padding: 48px 0 clamp(40px, 5vw, 64px);
}

.course-catalog-page .catalog-hero .course-hero-copy {
  max-width: 760px;
  animation: catalog-hero-enter 720ms cubic-bezier(0.2, 0.76, 0.2, 1) both;
}

.course-catalog-page .catalog-hero .eyebrow {
  color: #7ce2a8;
}

.course-catalog-page .catalog-hero h1 {
  max-width: 9ch;
  color: #fffdf6;
  font-size: clamp(4.1rem, 7.4vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.025em;
}

.course-catalog-page .catalog-hero .section-text {
  max-width: 42ch;
  margin-top: 28px;
  color: rgba(248, 244, 234, 0.72);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

.course-catalog-page .catalog-hero .course-hero-actions {
  margin-top: 32px;
}

.course-catalog-page .catalog-hero .button-primary {
  min-height: 52px;
  padding: 0 24px;
  color: var(--catalog-ink);
  background: var(--catalog-green);
  box-shadow: none;
}

.course-catalog-page .catalog-hero-proof {
  display: block;
  align-self: end;
  animation: catalog-proof-enter 860ms 120ms cubic-bezier(0.2, 0.76, 0.2, 1) both;
}

/*
 * The library, drifting in the first screen.
 *
 * Two columns move in opposite directions at a deliberately slow pace: this is
 * a backdrop that shows breadth, not a carousel a visitor is meant to track.
 * Each course name exists once. The tracks pan between their two ends and then
 * reverse, which keeps the movement continuous without duplicating crawlable
 * course titles.
 */
.course-catalog-page .catalog-hero-shelf {
  --catalog-shelf-height: min(660px, calc(100svh - var(--header-height) - 216px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  height: var(--catalog-shelf-height);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 17%,
    #000 79%,
    transparent
  );
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 17%,
    #000 79%,
    transparent
  );
}

.course-catalog-page .catalog-hero-shelf-column {
  overflow: hidden;
}

.course-catalog-page .catalog-hero-shelf-track {
  display: grid;
  gap: 0;
  align-content: start;
  will-change: transform;
  animation: catalog-shelf-drift 64s ease-in-out infinite alternate;
}

.course-catalog-page
  .catalog-hero-shelf-column[data-shelf-direction="down"]
  .catalog-hero-shelf-track {
  animation-direction: alternate-reverse;
}

.course-catalog-page .catalog-hero-shelf-run {
  display: grid;
  gap: 0;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-catalog-page .catalog-hero-shelf-run li {
  padding-bottom: 12px;
}

.course-catalog-page .catalog-hero-chip {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 15px 16px;
  color: #fffdf6;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition:
    border-color 200ms ease,
    background 200ms ease,
    transform 200ms cubic-bezier(0.2, 0.76, 0.2, 1);
}

.course-catalog-page .catalog-hero-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--course-tint);
}

.course-catalog-page .catalog-hero-chip-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.course-catalog-page a.catalog-hero-chip:hover {
  border-color: var(--course-tint);
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-2px);
}

.course-catalog-page a.catalog-hero-chip:focus-visible {
  outline: 3px solid var(--catalog-green);
  outline-offset: 2px;
}

@keyframes catalog-shelf-drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(calc(-100% + var(--catalog-shelf-height)));
  }
}

/* How a course runs */

.course-catalog-page .catalog-how {
  padding: clamp(92px, 10vw, 140px) 0 0;
}

.course-catalog-page .catalog-how-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: start;
}

.course-catalog-page .catalog-how-copy h2 {
  max-width: 15ch;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.course-catalog-page .catalog-how-copy .section-text {
  margin-top: 22px;
}

.course-catalog-page .catalog-steps {
  display: grid;
  gap: 14px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.course-catalog-page .catalog-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 6px 20px;
  align-items: start;
  padding: clamp(20px, 2.4vw, 28px) clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--catalog-line);
  border-radius: 22px;
  background: var(--catalog-paper);
}

.course-catalog-page .catalog-step-index {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--catalog-green-deep);
  border: 1px solid rgba(13, 112, 68, 0.28);
  border-radius: 50%;
  background: var(--catalog-mist);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.course-catalog-page .catalog-step strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  font-weight: 600;
  line-height: 1.1;
}

.course-catalog-page .catalog-step p {
  max-width: 44ch;
  color: #526159;
  font-size: 0.95rem;
  line-height: 1.62;
}

.course-catalog-page .catalog-featured {
  padding: clamp(84px, 9vw, 132px) 0 clamp(96px, 10vw, 148px);
}

.course-catalog-page .catalog-section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 32px clamp(56px, 8vw, 112px);
  align-items: end;
}

.course-catalog-page .catalog-section-intro h2 {
  max-width: 12ch;
  font-size: clamp(3rem, 5.8vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.022em;
}

.course-catalog-page .catalog-section-intro .section-text {
  margin: 0 0 8px;
}

.course-catalog-page .catalog-feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 38px);
  margin-top: clamp(52px, 7vw, 78px);
}

.course-catalog-page .catalog-feature-card {
  grid-column: span 6;
  display: grid;
  grid-template-rows: auto 1fr;
  color: var(--catalog-ink);
  border-bottom: 1px solid var(--catalog-line);
  text-decoration: none;
  transition: border-color 220ms ease;
}

.course-catalog-page .catalog-feature-card:hover {
  border-color: var(--course-tint, var(--catalog-green-deep));
}

.course-catalog-page .catalog-feature-card:focus-visible,
.course-catalog-page .course-filter button:focus-visible,
.course-catalog-page .course-link-card:focus-visible {
  outline: 3px solid var(--catalog-green-deep);
  outline-offset: -3px;
}

.course-catalog-page .catalog-feature-art {
  display: block;
  aspect-ratio: 3 / 1.68;
  overflow: hidden;
  border-radius: 26px;
  background: var(--catalog-mist);
}

.course-catalog-page .catalog-feature-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 540ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.course-catalog-page .catalog-feature-body {
  display: grid;
  align-content: start;
  grid-template-rows: auto auto 1fr auto;
  gap: 9px;
  padding: 22px 0 24px;
}

.course-catalog-page .catalog-feature-body strong {
  max-width: 14ch;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.7rem, 2.8vw, 2.55rem);
  font-weight: 600;
  line-height: 1;
}

.course-catalog-page .catalog-feature-text {
  max-width: 46ch;
  color: #526159;
  font-size: 0.96rem;
  line-height: 1.6;
}

.course-catalog-page .course-catalog-section {
  padding: clamp(84px, 9vw, 128px) 0 clamp(56px, 6vw, 86px);
}

.course-catalog-page .course-catalog-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--catalog-band);
}

.course-catalog-page .course-filter-shell {
  display: grid;
  gap: 18px;
  margin-top: clamp(40px, 5vw, 60px);
  padding: clamp(22px, 2.6vw, 30px) clamp(22px, 2.8vw, 34px) clamp(18px, 2.2vw, 24px);
  border: 1px solid var(--catalog-line);
  border-radius: 28px;
  background: var(--catalog-paper);
}

/* "Browse courses" should land on the section intro, just under the header */
.course-catalog-page .course-catalog-section {
  scroll-margin-top: var(--header-offset, var(--header-height));
}

.course-catalog-page .course-category-group {
  scroll-margin-top: calc(var(--header-offset, var(--header-height)) + 16px);
}

/* The interest index: All, then each group's interests on its own labelled row */
.course-catalog-page .course-filter-index {
  display: grid;
  gap: 14px;
}

.course-catalog-page .course-filter-group {
  display: grid;
  grid-template-columns: minmax(132px, 0.14fr) minmax(0, 1fr);
  gap: 8px 20px;
  align-items: start;
  padding-top: 14px;
  border-top: 1px solid var(--catalog-line);
}

.course-catalog-page .course-filter-group-all {
  grid-template-columns: minmax(0, 1fr);
  padding-top: 0;
  border-top: 0;
}

.course-catalog-page .course-filter-group-label {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  margin: 0;
  color: var(--course-tint-text, var(--catalog-green-deep));
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.course-catalog-page .course-filter-group-label::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--course-tint);
}

.course-catalog-page .course-search {
  position: relative;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  max-width: 460px;
  padding: 0 16px;
  border: 1px solid var(--catalog-line);
  border-radius: 999px;
  background: var(--catalog-cream);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.course-catalog-page .course-search:focus-within {
  border-color: var(--catalog-green-deep);
  box-shadow: 0 0 0 3px rgba(13, 112, 68, 0.16);
}

.course-catalog-page .course-search-icon {
  width: 20px;
  height: 20px;
  color: #5c6a61;
}

.course-catalog-page .course-search input {
  min-height: 48px;
  padding: 0;
  color: var(--catalog-ink);
  border: 0;
  background: transparent;
  font: 600 0.95rem/1.2 "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

/* The visible field is the pill, not the borderless input inside it, so the
   ring goes on the wrapper. Before this the field showed no focus change at
   all: the input's outline was removed and nothing replaced it. */
.course-catalog-page .course-search:focus-within {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.course-catalog-page .course-search input:focus {
  outline: none;
}

.course-catalog-page .course-search input::placeholder {
  color: #5c6a61;
  font-weight: 500;
}

.course-catalog-page .course-search input::-webkit-search-cancel-button {
  appearance: none;
}

.course-catalog-page .course-search-clear {
  appearance: none;
  min-height: 32px;
  padding: 0 10px;
  color: var(--catalog-green-deep);
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: 800 0.76rem/1 "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  cursor: pointer;
}

.course-catalog-page .course-search-clear:hover {
  background: rgba(13, 112, 68, 0.1);
}

.course-catalog-page .course-filter {
  --course-tint: var(--catalog-green-deep);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-catalog-page .course-filter button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  color: #3d4a42;
  border: 1px solid var(--catalog-line);
  border-radius: 999px;
  background: var(--catalog-cream);
  font: 750 0.86rem/1.2 "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.course-catalog-page .course-filter button:hover {
  color: var(--catalog-ink);
  border-color: var(--course-tint);
}

.course-catalog-page .course-filter button[aria-pressed="true"] {
  color: #fffdf6;
  border-color: var(--catalog-ink);
  background: var(--catalog-ink);
  box-shadow: none;
}

.course-catalog-page .course-filter-count {
  color: var(--catalog-green-deep);
  font-size: 0.875rem;
}

.course-catalog-page .course-filter button[aria-pressed="true"] .course-filter-count {
  color: rgba(255, 253, 246, 0.62);
}

.course-catalog-page .course-filter-status {
  margin: 0;
  color: #4f5d54;
  font-size: 0.875rem;
  font-weight: 700;
}

/* Each interest is its own bordered block on the sand band, so a scan down the
   page reads as twenty labelled shelves rather than one unbroken grid. */
.course-catalog-page .course-category-group {
  margin: clamp(22px, 2.6vw, 30px) 0 0;
  padding: clamp(24px, 2.8vw, 36px) clamp(22px, 2.8vw, 36px) clamp(24px, 2.8vw, 34px);
  border: 1px solid var(--catalog-line);
  border-radius: 28px;
  background: var(--catalog-paper);
  transition:
    opacity 180ms ease,
    transform 240ms cubic-bezier(0.2, 0.76, 0.2, 1);
}

.course-catalog-page .course-category-group[hidden] {
  display: none;
}

.course-catalog-page .course-category-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(20px, 3vw, 40px);
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(20px, 2.6vw, 28px);
  padding: 0 0 clamp(16px, 2vw, 22px);
  border: 0;
  border-bottom: 1px solid var(--catalog-line);
}

.course-catalog-page .course-category-heading h3 {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.course-catalog-page .course-interest-group-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--course-tint);
  vertical-align: 1px;
}

.course-catalog-page .course-category-count {
  margin: 0 0 6px;
  color: #59665e;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.course-catalog-page .course-category-description {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 46ch;
  color: #5a675f;
  font-size: 0.98rem;
  line-height: 1.62;
}

/* A ledger, not a deck of cards: cells divided by hairlines, with the
   interest block's border as the outer frame. Nothing per cell carries the
   colour; the block heading already says where you are. */
.course-catalog-page .course-link-grid,
.course-catalog-page .course-category-group .course-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--catalog-line);
  border-radius: 18px;
  background: var(--catalog-line);
}

.course-catalog-page .course-link-card,
.course-catalog-page .course-link-card:nth-child(3n + 2),
.course-catalog-page .course-link-card:nth-child(3n + 3) {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 0;
  align-items: start;
  min-height: 0;
  padding: 24px 24px 22px;
  overflow: hidden;
  color: var(--catalog-ink);
  border: 0;
  border-radius: 0;
  background: var(--catalog-paper);
  box-shadow: none;
  transition: background 180ms ease;
}

.course-catalog-page .course-link-card:hover {
  background: var(--catalog-cream);
  box-shadow: none;
  transform: none;
}

/* The cell's only chrome: a small index in the corner, like a line in a ledger */
.course-catalog-page .course-link-index {
  position: absolute;
  top: 22px;
  right: 22px;
  color: #6f7c75;
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 180ms ease;
}

.course-catalog-page .course-link-card:hover .course-link-index {
  color: var(--catalog-green-deep);
}

/* The pointer spotlight: a soft pool of the block's colour that follows the
   cursor across the ledger. Painted above the cells, never intercepting them,
   and only where there is a pointer to follow. */
@media (hover: hover) and (min-width: 721px) {
  .course-catalog-page .course-link-grid {
    position: relative;
  }

  .course-catalog-page .course-link-grid::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    background: radial-gradient(
      520px circle at var(--spot-x, 50%) var(--spot-y, 50%),
      var(--course-tint-glow) 0%,
      var(--course-tint-soft) 34%,
      rgba(255, 255, 255, 0) 66%
    );
    mix-blend-mode: multiply;
    pointer-events: none;
    transition: opacity 360ms ease;
  }

  .course-catalog-page .course-link-grid.is-lit::after {
    opacity: 1;
  }
}

/* Each cell draws its own right and bottom hairline into the 1px gap, over a
   paper-coloured grid. When the last row is short (five courses, an opened
   fold, a search), the empty cells read as paper instead of a solid block of
   the line colour. The phone shelf below keeps its own card treatment. */
@media (min-width: 721px) {
  .course-catalog-page .course-link-grid,
  .course-catalog-page .course-category-group .course-link-grid {
    background: var(--catalog-paper);
  }

  .course-catalog-page .course-link-card,
  .course-catalog-page .course-link-card:nth-child(3n + 2),
  .course-catalog-page .course-link-card:nth-child(3n + 3),
  .course-catalog-page .course-link-card:hover {
    box-shadow: 1px 1px 0 0 var(--catalog-line);
  }
}

/* The fold: on a wide screen a long block shows its first six cells until
   opened. Phones scroll every cell sideways, so the fold never applies there. */
@media (min-width: 721px) {
  .course-catalog-page .course-category-group.is-folded .course-link-card:nth-child(n + 7) {
    display: none;
  }
}

.course-catalog-page .course-group-more {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin-top: 16px;
  padding: 0 16px;
  color: var(--catalog-ink);
  border: 1px solid var(--catalog-line);
  border-radius: 999px;
  background: var(--catalog-paper);
  font: 750 0.86rem/1.2 "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.course-catalog-page .course-group-more::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.course-catalog-page .course-group-more:hover {
  border-color: var(--catalog-ink);
  background: var(--catalog-cream);
}

.course-catalog-page .course-group-more:focus-visible {
  outline: 3px solid var(--catalog-green-deep);
  outline-offset: 2px;
}

.course-catalog-page .course-group-more[hidden] {
  display: none;
}

/* Phones scroll every cell sideways, so there is nothing to unfold there. */
@media (max-width: 720px) {
  .course-catalog-page .course-group-more {
    display: none;
  }
}

.course-catalog-page .course-link-card h4 {
  margin: 0;
  padding-right: 40px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.32rem, 1.7vw, 1.58rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.012em;
}

.course-catalog-page .course-link-card p {
  margin-top: 10px;
  color: #59665e;
  font-size: 0.9rem;
  line-height: 1.58;
}

/* The lesson the course opens on, taken from its curated pack */
.course-catalog-page .course-card-day-one {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--catalog-line);
}

.course-catalog-page .course-card-day-one-label {
  color: #59665e;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.course-catalog-page .course-card-day-one-title {
  color: var(--catalog-ink);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.course-catalog-page .course-link-action {
  align-self: end;
  margin: 16px 0 0;
  color: var(--catalog-ink);
  font-size: 0.875rem;
  white-space: nowrap;
}

.course-catalog-page .course-link-action::after {
  content: none;
}

.course-catalog-page .course-link-action-icon {
  margin-left: 6px;
  color: var(--catalog-green-deep);
  transition: transform 180ms ease;
}

.course-catalog-page .course-link-card:hover .course-link-action-icon {
  transform: translateX(3px);
}

.course-catalog-page .course-link-card[hidden] {
  display: none;
}

.course-catalog-page .course-search-empty {
  max-width: 46ch;
  margin: clamp(48px, 6vw, 72px) auto;
  color: #4f5d54;
  font-size: 1rem;
  line-height: 1.65;
  text-align: center;
}

.course-catalog-page .course-catalog-section.is-filter-changing .course-category-group {
  opacity: 0.24;
  transform: translateY(7px);
}

.course-catalog-page .is-course-reveal-pending {
  opacity: 0;
  transform: translateY(28px);
}

.course-catalog-page .is-course-reveal-pending.is-course-reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.course-catalog-page .catalog-final-cta {
  padding: clamp(96px, 11vw, 150px) 0;
  color: #fffdf6;
  text-align: left;
}

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

.course-catalog-page .catalog-final-cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.56fr);
  gap: 42px clamp(64px, 10vw, 132px);
  align-items: end;
}

.course-catalog-page .catalog-final-copy .eyebrow {
  color: #7ce2a8;
}

/* The centred base CTA gives its heading and body auto side margins. This
   variant is left-aligned, so without this reset each block centres inside the
   column at its own max-width and the eyebrow, heading, and body all start at a
   different left edge. */
.course-catalog-page .catalog-final-copy h2,
.course-catalog-page .catalog-final-copy .section-text {
  margin-inline: 0;
}

.course-catalog-page .catalog-final-copy h2 {
  max-width: 11ch;
  color: #fffdf6;
  font-size: clamp(3rem, 5.8vw, 5.7rem);
  line-height: 0.94;
  letter-spacing: -0.022em;
}

.course-catalog-page .catalog-final-copy .section-text {
  max-width: 40ch;
  margin-top: 26px;
  color: rgba(248, 244, 234, 0.68);
}

.course-catalog-page .catalog-final-cta .download-action-final {
  justify-self: end;
  justify-items: start;
  width: auto;
  margin: 0;
  text-align: left;
}

.course-catalog-page .catalog-final-cta .platform-note {
  max-width: 29ch;
  color: rgba(248, 244, 234, 0.62);
}

@keyframes catalog-hero-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes catalog-proof-enter {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1120px) {
  .course-catalog-page .catalog-hero .course-hero-shell {
    grid-template-columns: minmax(0, 0.54fr) minmax(370px, 0.46fr);
    gap: 38px;
  }

  .course-catalog-page .course-category-group .course-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .course-catalog-page .course-site-header .site-header-shell {
    align-items: center;
    flex-direction: row;
    padding: 10px 0;
  }

  .course-catalog-page .course-site-header .header-actions {
    width: auto;
    justify-content: flex-end;
  }

  .course-catalog-page .catalog-hero .course-hero-shell,
  .course-catalog-page .catalog-section-intro,
  .course-catalog-page .course-category-group,
  .course-catalog-page .catalog-final-cta-shell {
    grid-template-columns: 1fr;
  }

  .course-catalog-page .catalog-hero .course-hero-shell {
    min-height: auto;
    padding-top: 72px;
  }

  .course-catalog-page .catalog-hero-proof {
    justify-self: stretch;
  }

  .course-catalog-page .catalog-hero-shelf {
    height: 340px;
  }

  .course-catalog-page .catalog-section-intro {
    gap: 24px;
  }

  .course-catalog-page .course-category-heading {
    position: static;
  }

  .course-catalog-page .course-category-description {
    max-width: 48ch;
  }

  .course-catalog-page .catalog-final-cta .download-action-final {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .course-catalog-page .section-shell,
  .course-catalog-page .site-header-shell {
    width: min(1240px, calc(100vw - 40px));
  }

  .course-catalog-page .course-site-header .site-header-shell {
    flex-wrap: nowrap;
  }

  .course-catalog-page .course-site-header .header-actions {
    width: auto;
  }

  .course-catalog-page .course-site-header .course-route-nav {
    display: none;
  }

  .course-catalog-page .catalog-hero {
    min-height: 0;
  }

  .course-catalog-page .catalog-hero .course-hero-shell {
    gap: 44px;
    padding-top: 58px;
  }

  .course-catalog-page .catalog-hero h1 {
    max-width: 8.4ch;
    font-size: clamp(3.35rem, 15.8vw, 4.45rem);
  }

  .course-catalog-page .catalog-hero .section-text {
    margin-top: 22px;
    font-size: 1rem;
  }

  .course-catalog-page .catalog-hero-shelf {
    height: 300px;
    gap: 10px;
  }

  .course-catalog-page .catalog-hero-shelf-run li {
    padding-bottom: 10px;
  }

  .course-catalog-page .catalog-hero-chip {
    padding: 12px 13px;
    border-radius: 13px;
  }

  .course-catalog-page .catalog-hero-chip-title {
    font-size: 0.875rem;
  }

  .course-catalog-page .catalog-featured,
  .course-catalog-page .course-catalog-section,
  .course-catalog-page .catalog-final-cta {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .course-catalog-page .catalog-section-intro h2,
  .course-catalog-page .catalog-final-copy h2 {
    font-size: clamp(2.8rem, 13.6vw, 4rem);
  }

  .course-catalog-page .catalog-feature-grid {
    display: flex;
    gap: 18px;
    margin-top: 42px;
    margin-right: calc(50% - 50vw);
    padding: 0 20px 14px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .course-catalog-page .catalog-feature-grid::-webkit-scrollbar {
    display: none;
  }

  .course-catalog-page .catalog-feature-card:nth-child(n) {
    flex: 0 0 min(82vw, 340px);
    scroll-snap-align: start;
  }

  .course-catalog-page .catalog-feature-body strong {
    font-size: 1.75rem;
  }

  .course-catalog-page .catalog-how {
    padding-top: 84px;
  }

  .course-catalog-page .catalog-how-shell {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .course-catalog-page .catalog-how-copy h2 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .course-catalog-page .course-filter-shell {
    margin-top: 36px;
    padding: 20px 18px 18px;
    border-radius: 22px;
  }

  .course-catalog-page .course-filter-group {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .course-catalog-page .course-filter-group-label {
    min-height: 0;
  }

  .course-catalog-page .course-filter button {
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.875rem;
  }

  .course-catalog-page .course-search {
    max-width: none;
  }

  .course-catalog-page .course-category-group {
    margin-top: 18px;
    padding: 22px 18px 6px;
    border-radius: 22px;
  }

  .course-catalog-page .course-category-heading {
    gap: 10px;
    padding-bottom: 14px;
  }

  .course-catalog-page .course-category-heading h3 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .course-catalog-page .course-category-description {
    grid-column: 1;
    grid-row: auto;
  }

  .course-catalog-page .course-link-card,
  .course-catalog-page .course-link-card:nth-child(3n + 2),
  .course-catalog-page .course-link-card:nth-child(3n + 3) {
    padding: 20px 18px 18px;
    border: 1px solid var(--catalog-line);
    border-radius: 16px;
  }

  .course-catalog-page .course-link-action {
    justify-self: start;
  }

  .course-catalog-page .course-link-card h4 {
    font-size: clamp(1.3rem, 5.6vw, 1.55rem);
  }
}

@media (max-width: 480px) {
  .course-catalog-page .section-shell,
  .course-catalog-page .site-header-shell {
    width: calc(100vw - 32px);
  }

  .course-catalog-page .course-site-header .brand {
    font-size: 1.14rem;
  }

  .course-catalog-page .course-site-header .brand img {
    width: 38px;
    height: 38px;
  }

  .course-catalog-page .course-site-header .button {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.88rem;
  }

  .course-catalog-page .catalog-hero .course-hero-shell {
    padding-top: 52px;
  }

  .course-catalog-page .catalog-hero h1 {
    font-size: clamp(3.2rem, 16vw, 4rem);
  }

  .course-catalog-page .catalog-hero-shelf {
    --catalog-shelf-height: 268px;
  }

  .course-catalog-page .catalog-feature-card:nth-child(n) {
    flex-basis: min(86vw, 326px);
  }

  .course-catalog-page .course-link-card p {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .course-catalog-page .catalog-hero .course-hero-copy,
  .course-catalog-page .catalog-hero-proof,
  .course-catalog-page .catalog-hero-shelf-track {
    animation: none;
  }

  .course-catalog-page .catalog-feature-art img,
  .course-catalog-page .course-link-card,
  .course-catalog-page .course-link-card:hover,
  .course-catalog-page .course-category-group,
  .course-catalog-page .is-course-reveal-pending,
  .course-catalog-page .is-course-reveal-pending.is-course-reveal-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* Keep the fades that aid comprehension; drop movement. */
  .faq-list summary::after {
    transition: none;
  }

  .faq-list details::details-content,
  .faq-list details[open]::details-content {
    block-size: auto;
    transition: opacity 120ms ease;
  }

  .faq-list details[open] > p {
    animation: none;
  }

  .back-to-top,
  .back-to-top[hidden] {
    transform: none;
    transition:
      opacity 150ms ease,
      display 150ms allow-discrete;
  }
}

/* Shared course preview
   The backend owns the escaped, course-specific HTML. These styles are kept
   with the public site so the runtime page uses the same Cadence visual system. */
.shared-course-page {
  --share-ink: #10271f;
  --share-ink-deep: #091b15;
  --share-paper: #fffaf0;
  --share-paper-deep: #f0eadc;
  --share-mist: #e6eee7;
  --share-green: #4be895;
  --share-green-deep: #0d7044;
  --share-line: rgba(16, 39, 31, 0.16);
  color: var(--share-ink);
  background: var(--share-paper);
}

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

.shared-course-page .course-site-header {
  color: #fffdf6;
  background: rgba(9, 27, 21, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px);
}

.shared-course-page .course-site-header.is-scrolled {
  background: rgba(9, 27, 21, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.shared-course-page .course-site-header .brand {
  color: #fffdf6;
}

.shared-course-page .course-route-nav {
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.shared-course-page .course-route-nav a,
.shared-course-page .course-route-nav a:hover,
.shared-course-page .course-route-nav a:focus-visible {
  min-height: 36px;
  padding: 0 14px;
  color: rgba(255, 253, 246, 0.78);
  background: transparent;
  box-shadow: none;
}

.shared-course-page .course-route-nav a:hover,
.shared-course-page .course-route-nav a:focus-visible {
  color: #fffdf6;
}

.shared-course-page .course-site-header .button-primary,
.shared-course-page .shared-course-start {
  color: var(--share-ink);
  background: var(--share-green);
  box-shadow: none;
}

.shared-course-main {
  overflow: clip;
}

.shared-course-hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  color: #fffdf6;
  background: var(--share-ink-deep);
  overflow: hidden;
}

.shared-course-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 12%, rgba(75, 232, 149, 0.17), transparent 29%),
    radial-gradient(circle at 82% 82%, rgba(85, 106, 240, 0.09), transparent 28%),
    linear-gradient(98deg, rgba(9, 27, 21, 0.97), rgba(16, 48, 37, 0.82)),
    url("/assets/marketing/hero-backdrop.webp") center / cover;
  opacity: 0.92;
  pointer-events: none;
}

.shared-course-hero::after {
  content: "";
  position: absolute;
  inset: auto -10vw -32vw auto;
  width: min(66vw, 920px);
  aspect-ratio: 1;
  border: 1px solid rgba(75, 232, 149, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 7vw rgba(75, 232, 149, 0.025),
    0 0 0 15vw rgba(75, 232, 149, 0.018);
  pointer-events: none;
}

.shared-course-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: clamp(58px, 8vw, 118px);
  align-items: center;
  min-height: calc(100svh - var(--header-height));
  padding: clamp(64px, 8vw, 112px) 0;
}

.shared-course-intro {
  max-width: 720px;
}

.shared-course-kicker,
.shared-course-section-kicker,
.shared-course-day,
.shared-course-syllabus-day,
.shared-course-block-label {
  color: var(--share-green);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-transform: uppercase;
}

.shared-course-kind {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: rgba(255, 253, 246, 0.58);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shared-course-kind::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--share-green);
}

.shared-course-hero h1 {
  max-width: 11ch;
  margin-top: 20px;
  color: #fffdf6;
  font-size: clamp(4rem, 6vw, 6.2rem);
  line-height: 0.94;
  text-wrap: wrap;
}

.shared-course-title-token {
  white-space: nowrap;
}

.shared-course-title-token.is-share-overlong-token {
  white-space: normal;
  overflow-wrap: anywhere;
}

.shared-course-summary {
  max-width: 46ch;
  margin-top: 28px;
  color: rgba(255, 253, 246, 0.72);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.72;
}

.shared-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin: 30px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
}

.shared-course-meta > * {
  color: rgba(255, 253, 246, 0.62);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}

.shared-course-meta > *:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 14px;
  margin: 0 18px -2px;
  background: rgba(255, 255, 255, 0.2);
}

.shared-course-actions {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin-top: 34px;
}

.shared-course-start {
  min-height: 54px;
  padding: 0 24px;
}

.shared-course-start::after {
  content: "↗";
  margin-left: 11px;
  font-size: 0.95rem;
  transition: transform 180ms ease;
}

.shared-course-start:hover::after,
.shared-course-start:focus-visible::after {
  transform: translate(3px, -3px);
}

.shared-course-quota {
  max-width: 48ch;
  color: rgba(255, 253, 246, 0.72);
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.55;
}

/* The friend invite page docks a second action under the primary one. `.button`
   on its own carries no fill and no border, so on this dark hero the store link
   rendered as bare bold text with no affordance at all. Only these hero actions
   use an unmodified `.button`, so the rule stays scoped to them. */
.shared-course-actions .button:not(.button-primary) {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid rgba(255, 253, 246, 0.34);
  background: rgba(255, 253, 246, 0.08);
  color: #fffdf6;
}

.shared-course-actions .button:not(.button-primary):hover,
.shared-course-actions .button:not(.button-primary):focus-visible {
  border-color: rgba(255, 253, 246, 0.6);
  background: rgba(255, 253, 246, 0.16);
}

.shared-course-install-return {
  display: none;
  max-width: 48ch;
  color: rgba(255, 253, 246, 0.66);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.55;
}

.shared-course-page.is-apple-mobile .shared-course-install-return {
  display: block;
}

.shared-course-path-preview {
  position: relative;
  width: min(100%, 520px);
  justify-self: end;
  padding: clamp(30px, 4vw, 48px);
  color: var(--share-ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), transparent 52%),
    var(--share-paper);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 38px 100px rgba(0, 11, 8, 0.38);
  transform: rotate(1.1deg);
}

.shared-course-path-preview::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(16, 39, 31, 0.08);
  pointer-events: none;
}

.shared-course-path-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--share-line);
}

.shared-course-path-head > span {
  color: var(--share-green-deep);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shared-course-path-head > strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.22rem;
  font-weight: 600;
}

.shared-course-path-list {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 18px 0 0;
  list-style: none;
}

.shared-course-path-list::before {
  content: "";
  position: absolute;
  top: 38px;
  bottom: 35px;
  left: 8px;
  width: 1px;
  background: linear-gradient(var(--share-green-deep), rgba(16, 39, 31, 0.12));
}

.shared-course-path-list > li {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 18px;
  padding: 15px 0;
}

.shared-course-path-list > li::before {
  content: "";
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  margin: 5px 0 0 4px;
  border: 2px solid var(--share-paper);
  border-radius: 50%;
  background: #9aa69e;
  box-shadow: 0 0 0 1px rgba(16, 39, 31, 0.18);
}

.shared-course-path-list > li:first-child::before {
  background: var(--share-green-deep);
  box-shadow:
    0 0 0 1px var(--share-green-deep),
    0 0 0 6px rgba(22, 153, 93, 0.12);
  animation: shared-course-path-pulse 2.8s ease-in-out infinite;
}

.shared-course-path-list > li > * {
  grid-column: 2;
}

.shared-course-path-list .shared-course-day {
  color: var(--share-green-deep);
}

.shared-course-path-list h2,
.shared-course-path-list h3 {
  margin-top: 5px;
  color: var(--share-ink);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.shared-course-path-list p {
  margin-top: 5px;
  color: #68736c;
  font-size: 0.875rem;
  line-height: 1.5;
}

.shared-course-syllabus {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(62px, 9vw, 138px);
  align-items: start;
  padding-top: clamp(104px, 11vw, 168px);
  padding-bottom: clamp(108px, 11vw, 172px);
}

.shared-course-section-heading {
  max-width: 520px;
}

.shared-course-syllabus > .shared-course-section-heading {
  position: sticky;
  top: calc(var(--header-offset, var(--header-height)) + 42px);
}

.shared-course-section-kicker {
  color: var(--share-green-deep);
}

.shared-course-section-heading h2 {
  max-width: 10ch;
  margin-top: 18px;
  color: var(--share-ink);
  font-size: clamp(3.2rem, 5.5vw, 5.25rem);
}

.shared-course-section-heading > p:not(.shared-course-section-kicker) {
  max-width: 43ch;
  margin-top: 24px;
  color: #5b6861;
  font-size: 1rem;
  line-height: 1.7;
}

.shared-course-syllabus-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--share-line);
  list-style: none;
  counter-reset: shared-syllabus;
}

.shared-course-syllabus-list > li {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  column-gap: 22px;
  row-gap: 0;
  padding: 24px 0 25px;
  border-bottom: 1px solid var(--share-line);
  counter-increment: shared-syllabus;
  transition:
    color 180ms ease,
    padding-left 240ms var(--ease-out-strong);
}

.shared-course-syllabus-list > li::before {
  content: counter(shared-syllabus, decimal-leading-zero);
  color: rgba(16, 39, 31, 0.34);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
  grid-column: 1;
  grid-row: 1 / span 2;
}

.shared-course-syllabus-list > li:hover {
  padding-left: 10px;
}

.shared-course-syllabus-list > li:first-child::after {
  content: "Ready";
  position: absolute;
  top: 28px;
  right: 0;
  color: var(--share-green-deep);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shared-course-syllabus-day {
  color: var(--share-green-deep);
  grid-column: 2;
  grid-row: 1;
}

.shared-course-syllabus-copy {
  min-width: 0;
  grid-column: 2;
  grid-row: 2;
}

.shared-course-syllabus-copy h3 {
  max-width: calc(100% - 70px);
  margin-top: 5px;
  color: var(--share-ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  font-weight: 600;
  line-height: 1.12;
}

.shared-course-syllabus-copy p {
  max-width: 58ch;
  margin-top: 9px;
  color: #637068;
  font-size: 0.94rem;
  line-height: 1.6;
}

/* Nested module sections: each module lists its own days, mirroring the
   marketing course pages. The "Ready" tag marks Day 1, not a module, so the
   module variant suppresses it. */
.shared-course-syllabus-module:first-child::after {
  content: none;
}

.shared-course-module-days {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.shared-course-module-days > li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 7px 0;
  border-top: 1px dashed rgba(16, 39, 31, 0.14);
}

.shared-course-module-days > li:first-child {
  border-top: 0;
  padding-top: 0;
}

.shared-course-module-day {
  flex: 0 0 auto;
  min-width: 52px;
  color: var(--share-green-deep);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.shared-course-module-lesson {
  color: var(--share-ink);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.4;
}

.shared-course-lesson {
  position: relative;
  background:
    radial-gradient(circle at 8% 12%, rgba(75, 232, 149, 0.1), transparent 23%),
    linear-gradient(180deg, var(--share-mist), #f2f5ee);
  border-top: 1px solid rgba(16, 39, 31, 0.08);
}

.shared-course-lesson-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(62px, 9vw, 138px);
  align-items: start;
  padding-top: clamp(104px, 11vw, 168px);
  padding-bottom: clamp(112px, 12vw, 180px);
}

.shared-course-lesson-shell > .shared-course-section-heading {
  position: sticky;
  top: calc(var(--header-offset, var(--header-height)) + 42px);
}

.shared-course-lesson-title {
  margin-top: 16px;
  color: var(--share-ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  font-weight: 600;
  line-height: 1.18;
}

.shared-course-blocks {
  min-width: 0;
  border-top: 1px solid var(--share-line);
}

.shared-course-block {
  min-width: 0;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--share-line);
}

.shared-course-block > :first-child {
  margin-top: 0;
}

.shared-course-block > :last-child {
  margin-bottom: 0;
}

.shared-course-block-label {
  display: block;
  margin-bottom: 13px;
  color: var(--share-green-deep);
}

.shared-course-block h3,
.shared-course-block h4 {
  max-width: 24ch;
  margin: 0;
  color: var(--share-ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 600;
  line-height: 1.08;
}

.shared-course-block h4 {
  font-size: clamp(1.15rem, 1.8vw, 1.42rem);
  line-height: 1.2;
}

.shared-course-block p,
.shared-course-block li,
.shared-course-block dd,
.shared-course-block td,
.shared-course-block th {
  color: #425149;
  font-size: 1rem;
  line-height: 1.72;
}

.shared-course-block p {
  max-width: 66ch;
  margin-top: 16px;
}

.shared-course-block ul,
.shared-course-block ol {
  display: grid;
  gap: 11px;
  max-width: 66ch;
  margin: 20px 0 0;
  padding-left: 1.35rem;
}

.shared-course-block li::marker {
  color: var(--share-green-deep);
  font-weight: 800;
}

.shared-course-block a {
  color: var(--share-green-deep);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.shared-course-block--concept_intro > p:first-of-type,
.shared-course-block--explanation > p:first-of-type {
  color: var(--share-ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.3rem, 2.2vw, 1.72rem);
  line-height: 1.45;
}

.shared-course-block--worked_example,
.shared-course-block--callout,
.shared-course-block--micro_exercise {
  margin: 32px 0;
  padding: clamp(28px, 4vw, 42px);
  border: 0;
  background: rgba(255, 250, 240, 0.78);
  box-shadow: inset 4px 0 0 var(--share-green-deep);
}

.shared-course-block--callout[data-callout-kind="warning"] {
  background: rgba(255, 244, 224, 0.86);
  box-shadow: inset 4px 0 0 #c67c2d;
}

.shared-course-block--callout[data-callout-kind="myth_bust"] {
  background: rgba(234, 235, 252, 0.78);
  box-shadow: inset 4px 0 0 #556af0;
}

.shared-course-artifact-label {
  color: var(--share-green-deep) !important;
  font-size: 0.875rem !important;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shared-course-artifact {
  max-width: 72ch;
  margin: 16px 0 0;
  padding: clamp(20px, 3vw, 30px);
  overflow-x: auto;
  border: 1px solid rgba(16, 39, 31, 0.14);
  border-radius: 18px;
  background: #10271f;
  color: #f7f3e8;
  font: 500 0.93rem/1.7 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre-wrap;
}

.shared-course-annotations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px !important;
  max-width: 72ch !important;
  padding: 0 !important;
  list-style: none;
}

.shared-course-annotations > li {
  padding: 18px;
  border: 1px solid var(--share-line);
  border-radius: 14px;
  background: rgba(255, 250, 240, 0.72);
}

.shared-course-annotations > li p {
  margin-top: 8px;
}

.shared-course-annotations > li .shared-course-annotation-anchor {
  margin-top: 0;
  color: var(--share-ink);
  font-weight: 800;
}

.shared-course-block--reflection_prompt,
.shared-course-block--quote {
  padding-left: clamp(24px, 4vw, 54px);
  border-left: 1px solid var(--share-green-deep);
}

.shared-course-block--reflection_prompt p,
.shared-course-block--quote blockquote,
.shared-course-block--quote blockquote p {
  max-width: 30ch;
  color: var(--share-ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.45rem, 2.8vw, 2.3rem);
  font-style: italic;
  line-height: 1.35;
}

.shared-course-block blockquote {
  margin: 0;
}

.shared-course-block blockquote footer,
.shared-course-block cite {
  display: block;
  margin-top: 16px;
  color: #68746c;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 750;
}

.shared-course-dialogue,
.shared-course-steps,
.shared-course-chain,
.shared-course-timeline,
.shared-course-checklist,
.shared-course-faq {
  display: grid;
  gap: 0;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.shared-course-dialogue > *,
.shared-course-steps > *,
.shared-course-chain > *,
.shared-course-timeline > * {
  position: relative;
  padding: 18px 0 18px 34px;
  border-top: 1px solid rgba(16, 39, 31, 0.12);
}

.shared-course-dialogue > *::before,
.shared-course-steps > *::before,
.shared-course-chain > *::before,
.shared-course-timeline > *::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--share-green-deep);
  box-shadow: 0 0 0 5px rgba(22, 153, 93, 0.1);
}

.shared-course-dialogue strong,
.shared-course-steps strong,
.shared-course-chain strong,
.shared-course-timeline strong {
  color: var(--share-ink);
}

.shared-course-dialogue-speaker {
  color: var(--share-ink) !important;
  font-size: 0.875rem !important;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shared-course-dialogue-note {
  color: #748078 !important;
  font-size: 0.875rem !important;
  font-style: italic;
}

.shared-course-term-list,
.shared-course-pair,
.shared-course-branches,
.shared-course-analogy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  padding: 1px;
  background: var(--share-line);
  list-style: none;
}

.shared-course-term-list > *,
.shared-course-pair > *,
.shared-course-branches > *,
.shared-course-analogy > * {
  min-width: 0;
  margin: 0;
  padding: 24px;
  background: rgba(255, 250, 240, 0.82);
}

.shared-course-term-list dt,
.shared-course-pair strong,
.shared-course-branches strong,
.shared-course-analogy strong {
  color: var(--share-ink);
  font-weight: 800;
}

.shared-course-term-list dd {
  margin: 9px 0 0;
}

.shared-course-table-wrap {
  max-width: 100%;
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid var(--share-line);
  background: rgba(255, 250, 240, 0.66);
  -webkit-overflow-scrolling: touch;
}

.shared-course-block table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.shared-course-block th,
.shared-course-block td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--share-line);
  text-align: left;
  vertical-align: top;
}

.shared-course-block th {
  color: var(--share-ink);
  background: rgba(16, 39, 31, 0.05);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shared-course-block tr:last-child td {
  border-bottom: 0;
}

.shared-course-checklist > * {
  position: relative;
  padding: 15px 0 15px 34px;
  border-bottom: 1px solid rgba(16, 39, 31, 0.12);
}

.shared-course-checklist > *::before {
  content: "✓";
  position: absolute;
  top: 15px;
  left: 2px;
  color: var(--share-green-deep);
  font-weight: 900;
}

.shared-course-faq details,
.shared-course-faq > div {
  padding: 18px 0;
  border-bottom: 1px solid rgba(16, 39, 31, 0.12);
}

.shared-course-faq summary {
  color: var(--share-ink);
  font-weight: 800;
  cursor: pointer;
}

.shared-course-faq details p,
.shared-course-faq > div p {
  margin-top: 12px;
}

.shared-course-faq > div h3 {
  max-width: 52ch;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
}

.shared-course-block--visual_card > img {
  width: 100%;
  max-height: 620px;
  margin-top: 24px;
  object-fit: contain;
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid var(--share-line);
}

.shared-course-block figure {
  margin: 24px 0 0;
}

.shared-course-block figure img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid var(--share-line);
}

.shared-course-block figcaption {
  max-width: 60ch;
  margin-top: 12px;
  color: #69756e;
  font-size: 0.875rem;
  line-height: 1.55;
}

.shared-course-animation-stage {
  margin-top: 24px;
  padding: clamp(24px, 4vw, 38px);
  color: #fffdf6;
  background:
    radial-gradient(circle at 78% 14%, rgba(75, 232, 149, 0.15), transparent 30%),
    var(--share-ink);
}

.shared-course-animation-stage h4,
.shared-course-animation-stage p,
.shared-course-animation-stage li {
  color: #fffdf6;
}

.shared-course-final-cta {
  position: relative;
  color: #fffdf6;
  background: var(--share-ink-deep);
  overflow: hidden;
}

.shared-course-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 35%, rgba(75, 232, 149, 0.14), transparent 28%),
    linear-gradient(105deg, rgba(9, 27, 21, 0.98), rgba(16, 48, 37, 0.86)),
    url("/assets/marketing/hero-backdrop.webp") center / cover;
  opacity: 0.85;
}

.shared-course-final-cta-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
  gap: 48px;
  align-items: end;
  padding-top: clamp(96px, 10vw, 150px);
  padding-bottom: clamp(96px, 10vw, 150px);
}

.shared-course-final-cta h2 {
  max-width: 10ch;
  color: #fffdf6;
  font-size: clamp(3.4rem, 6vw, 6rem);
}

.shared-course-final-cta p {
  max-width: 44ch;
  margin-top: 24px;
  color: rgba(255, 253, 246, 0.66);
  line-height: 1.7;
}

.shared-course-final-cta .shared-course-actions {
  justify-self: end;
  margin: 0;
}

.shared-course-unavailable {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--header-height));
  padding: 72px 20px;
  color: #fffdf6;
  text-align: center;
  background:
    radial-gradient(circle at 50% 12%, rgba(75, 232, 149, 0.14), transparent 30%),
    var(--share-ink-deep);
}

.shared-course-unavailable::before {
  content: "";
  position: absolute;
  width: min(58vw, 700px);
  aspect-ratio: 1;
  border: 1px solid rgba(75, 232, 149, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 9vw rgba(75, 232, 149, 0.022),
    0 0 0 18vw rgba(75, 232, 149, 0.014);
}

.shared-course-unavailable-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
}

.shared-course-unavailable h1 {
  max-width: 10ch;
  margin: 18px auto 0;
  color: #fffdf6;
  font-size: clamp(3.8rem, 8vw, 7rem);
}

.shared-course-unavailable p:not(.shared-course-kicker) {
  max-width: 46ch;
  margin: 24px auto 0;
  color: rgba(255, 253, 246, 0.67);
  line-height: 1.7;
}

.shared-course-unavailable .button {
  margin-top: 30px;
}

.shared-course-page .is-share-reveal-pending {
  opacity: 1;
  transform: translateY(12px);
  transition:
    transform 520ms var(--ease-out-strong);
}

.shared-course-page .is-share-reveal-pending.is-share-reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.shared-course-page.is-share-ready .shared-course-intro {
  animation: shared-course-intro-enter 760ms var(--ease-out-strong) both;
}

.shared-course-page.is-share-ready .shared-course-path-preview {
  animation: shared-course-path-enter 860ms 80ms var(--ease-out-strong) both;
}

@keyframes shared-course-intro-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shared-course-path-enter {
  from {
    opacity: 0;
    transform: translate(24px, 16px) rotate(2.4deg);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) rotate(1.1deg);
  }
}

@keyframes shared-course-path-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px var(--share-green-deep),
      0 0 0 5px rgba(22, 153, 93, 0.1);
  }
  50% {
    box-shadow:
      0 0 0 1px var(--share-green-deep),
      0 0 0 9px rgba(22, 153, 93, 0.03);
  }
}

@media (max-width: 1080px) {
  .shared-course-hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.82fr);
    gap: 54px;
  }

  .shared-course-hero h1 {
    font-size: clamp(3.8rem, 7vw, 5.4rem);
  }

  .shared-course-syllabus,
  .shared-course-lesson-shell {
    gap: 64px;
  }
}

@media (max-width: 900px) {
  .shared-course-page .course-site-header .site-header-shell {
    align-items: center;
    flex-direction: row;
    padding: 10px 0;
  }

  .shared-course-page .course-site-header .header-actions {
    width: auto;
    justify-content: flex-end;
  }
}

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

  .shared-course-page .course-route-nav {
    display: none;
  }

  .shared-course-hero-shell,
  .shared-course-syllabus,
  .shared-course-lesson-shell,
  .shared-course-final-cta-shell {
    grid-template-columns: 1fr;
  }

  .shared-course-hero-shell {
    gap: 54px;
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .shared-course-intro {
    max-width: 640px;
  }

  .shared-course-hero h1 {
    max-width: 10.5ch;
    font-size: clamp(3.7rem, 11vw, 5.6rem);
  }

  .shared-course-path-preview {
    width: min(100%, 610px);
    justify-self: start;
    transform: none;
  }

  .shared-course-syllabus > .shared-course-section-heading,
  .shared-course-lesson-shell > .shared-course-section-heading {
    position: static;
  }

  .shared-course-section-heading h2 {
    max-width: 12ch;
  }

  .shared-course-final-cta .shared-course-actions {
    justify-self: start;
  }

  .shared-course-page.is-share-ready .shared-course-path-preview {
    animation-name: shared-course-path-enter-tablet;
  }

  @keyframes shared-course-path-enter-tablet {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 560px) {
  .shared-course-page .section-shell,
  .shared-course-page .site-header-shell {
    width: min(100% - 32px, 520px);
  }

  .shared-course-page .site-header-shell {
    min-height: 68px;
  }

  .shared-course-page .course-site-header .brand {
    font-size: 1.18rem;
  }

  .shared-course-page .course-site-header .brand img {
    width: 36px;
    height: 36px;
  }

  .shared-course-page .course-site-header .button-primary {
    display: none;
  }

  .shared-course-hero-shell {
    gap: 44px;
    padding-top: 46px;
    padding-bottom: 54px;
  }

  .shared-course-kind {
    margin-top: 20px;
  }

  .shared-course-hero h1 {
    margin-top: 16px;
    font-size: clamp(2.9rem, 13vw, 3.8rem);
  }

  .shared-course-title-token {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .shared-course-summary {
    margin-top: 22px;
    font-size: 0.98rem;
  }

  .shared-course-meta {
    margin-top: 24px;
  }

  .shared-course-meta > * {
    width: 50%;
    padding-right: 12px;
  }

  .shared-course-meta > *:not(:last-child)::after {
    content: none;
  }

  .shared-course-actions {
    width: 100%;
    margin-top: 28px;
  }

  .shared-course-quota {
    max-width: 38ch;
    color: rgba(255, 253, 246, 0.78);
  }

  .shared-course-install-return {
    display: block;
  }

  .shared-course-start {
    width: 100%;
  }

  .shared-course-path-preview {
    padding: 28px 26px;
  }

  .shared-course-path-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .shared-course-path-list > li {
    column-gap: 14px;
  }

  .shared-course-syllabus,
  .shared-course-lesson-shell {
    gap: 48px;
    padding-top: 84px;
    padding-bottom: 92px;
  }

  .shared-course-section-heading h2 {
    margin-top: 14px;
    font-size: clamp(2.9rem, 13vw, 4rem);
  }

  .shared-course-syllabus-list > li {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding: 21px 0 22px;
  }

  .shared-course-syllabus-list > li:hover {
    padding-left: 0;
  }

  .shared-course-syllabus-list > li:first-child::after {
    content: none;
  }

  .shared-course-syllabus-copy h3 {
    max-width: none;
    font-size: 1.38rem;
  }

  .shared-course-block {
    padding: 30px 0;
  }

  .shared-course-block--worked_example,
  .shared-course-block--callout,
  .shared-course-block--micro_exercise {
    margin: 24px 0;
    padding: 25px 22px;
  }

  .shared-course-block--reflection_prompt,
  .shared-course-block--quote {
    padding-left: 22px;
  }

  .shared-course-term-list,
  .shared-course-pair,
  .shared-course-branches,
  .shared-course-analogy,
  .shared-course-annotations {
    grid-template-columns: 1fr;
  }

  .shared-course-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .shared-course-block table,
  .shared-course-block table tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .shared-course-block table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .shared-course-block table tbody {
    display: grid;
    gap: 18px;
  }

  .shared-course-block table tbody tr {
    display: block;
  }

  .shared-course-block table tbody th {
    display: block;
    width: 100%;
    padding: 14px 16px;
    color: var(--share-ink);
    background: rgba(22, 153, 93, 0.12);
    border: 1px solid var(--share-line);
    font-size: 0.875rem;
  }

  .shared-course-block table tbody td {
    display: grid;
    grid-template-columns: minmax(92px, 0.38fr) minmax(0, 0.62fr);
    gap: 14px;
    width: 100%;
    padding: 15px 16px;
    background: rgba(255, 250, 240, 0.78);
    border-right: 1px solid var(--share-line);
    border-bottom: 1px solid var(--share-line);
    border-left: 1px solid var(--share-line);
  }

  .shared-course-block table tbody tr:last-child td {
    border-bottom: 1px solid var(--share-line);
  }

  .shared-course-block table tbody td::before {
    content: attr(data-label);
    color: var(--share-green-deep);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1.45;
    text-transform: uppercase;
  }

  .shared-course-final-cta-shell {
    gap: 36px;
    padding-top: 82px;
    padding-bottom: 88px;
  }

  .shared-course-final-cta h2 {
    font-size: clamp(3rem, 14vw, 4rem);
  }

  .shared-course-unavailable h1 {
    font-size: clamp(3.4rem, 17vw, 4.8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shared-course-page,
  .shared-course-page * {
    scroll-behavior: auto;
  }

  .shared-course-page.is-share-ready .shared-course-intro,
  .shared-course-page.is-share-ready .shared-course-path-preview,
  .shared-course-path-list > li:first-child::before {
    animation: none;
  }

  .shared-course-page .is-share-reveal-pending,
  .shared-course-page .is-share-reveal-pending.is-share-reveal-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 901px) {
  .course-catalog-page .catalog-final-cta-shell {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.66fr);
  }
}

@media (max-width: 720px) {
  .course-detail-page .course-hero-download .course-app-store-badge {
    width: 100%;
  }
}

/* Hand-off links at the end of a homepage section, so the landing page routes
   into the deeper pages instead of dead-ending at the footer. */
.section-followup {
  margin: 34px 0 0;
  font-size: 0.98rem;
  font-weight: 700;
}

.section-followup a {
  color: var(--accent-strong);
  text-decoration: none;
  text-underline-offset: 5px;
}

.section-followup a::after {
  content: " \2192";
}

.section-followup a:hover,
.section-followup a:focus-visible {
  text-decoration: underline;
}

/* Guides that cover the same skill as a course. Derived from the links the
   posts already declare, so the pair always points both ways. */
.course-guides-section {
  padding-top: var(--section-gap);
}

/* The guides blocks carry only top padding, so the last one ran straight into
   the full-width FAQ band. The margin keeps the gap in the cream above it. */
.course-guides-section + .course-faq-section {
  margin-top: clamp(64px, 7vw, 104px);
}

.course-guide-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 14px;
  margin-top: 28px;
}

.course-guide-links a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.course-guide-links a:hover,
.course-guide-links a:focus-visible {
  border-color: var(--accent-strong);
  transform: translateY(-2px);
}

.course-guide-links strong {
  font-size: 1.02rem;
  line-height: 1.35;
}

.course-guide-links span {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .course-guide-links a {
    transition: none;
  }
  .course-guide-links a:hover,
  .course-guide-links a:focus-visible {
    transform: none;
  }
}

.catalog-followup {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  padding-top: var(--section-gap);
}

.catalog-followup .section-followup {
  margin: 0;
}

/* These small links sit on paper, so use content ink rather than display green. */
.catalog-followup .section-followup a {
  color: #24613e;
}

/* While the phone menu is open, every header family goes fully opaque so the
   header bar and the menu panel form one sheet. Kept at the end of the file so
   these win the specificity ties with each family's scrolled-header rules. */
@media (max-width: 720px) {
  .site-header.site-menu-open,
  .site-header.is-scrolled.site-menu-open {
    background: linear-gradient(180deg, rgb(248, 251, 244), rgb(242, 248, 239));
    border-bottom-color: transparent;
  }

  .public-page .public-site-header.site-menu-open {
    background: rgb(247, 242, 232);
  }

  .home-page .site-header.site-menu-open,
  .home-page .site-header.is-scrolled.site-menu-open,
  .course-detail-page .course-site-header.site-menu-open,
  .course-detail-page .course-site-header.is-scrolled.site-menu-open,
  .course-catalog-page .course-site-header.site-menu-open,
  .course-catalog-page .course-site-header.is-scrolled.site-menu-open {
    background: rgb(16, 39, 31);
    border-bottom-color: transparent;
  }
}

/* ---------------------------------------------------------------------------
   Suggested courses: the sentence a learner types, on every course page and
   the catalog. `is-dark` sits in the detail hero; `is-light` on paper.
   --------------------------------------------------------------------------- */
.course-request {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  padding: 22px 24px;
  border-radius: 22px;
}

.course-request.is-dark {
  border: 1px solid rgba(255, 253, 246, 0.2);
  background: rgba(255, 253, 246, 0.08);
  color: #fffdf6;
}

.course-request.is-light {
  border: 1.5px solid var(--accent-soft);
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: 0 18px 44px rgba(16, 28, 20, 0.08);
}

.course-request.is-compact {
  margin-top: 18px;
  padding: 18px 20px;
}

.course-request-label {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-request.is-dark .course-request-label {
  color: var(--detail-green, #7fe0b1);
}

.course-request.is-light .course-request-label {
  /* The display accent measures 3.4:1 on paper at this size; the content
     green clears AA. */
  color: #0a6d43;
}

.course-request-text {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.38;
  quotes: "\201C" "\201D";
}

.course-request-text::before {
  content: open-quote;
}

.course-request-text::after {
  content: close-quote;
}

.course-request.is-compact .course-request-text {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
}

.course-request-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.course-request-copy {
  appearance: none;
  font: inherit;
  cursor: pointer;
  padding: 11px 18px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
}

.course-request.is-dark .course-request-copy {
  background: #fffdf6;
  color: #0a6d43;
}

.course-request.is-light .course-request-copy {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #fff;
}

.course-request-copy:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.course-request-status {
  font-size: 0.94rem;
  font-weight: 700;
}

.course-request.is-dark .course-request-status {
  color: rgba(255, 253, 246, 0.86);
}

.course-request.is-light .course-request-status {
  color: var(--muted);
}

.course-request-note {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
}

.course-request.is-dark .course-request-note {
  color: rgba(255, 253, 246, 0.8);
}

/* The suggested-course hero has no artwork; the sentence takes that column. */
.course-request-figure {
  align-self: center;
}

.course-request-figure .course-request {
  margin-top: 0;
  padding: 28px 30px;
}

.catalog-hero .course-hero-actions .button-secondary {
  background: transparent;
  color: #fffdf6;
  border: 1.5px solid rgba(255, 253, 246, 0.42);
  box-shadow: none;
}

.catalog-hero .course-hero-actions .button-secondary:hover,
.catalog-hero .course-hero-actions .button-secondary:focus-visible {
  background: rgba(255, 253, 246, 0.12);
  box-shadow: none;
}

/* Interest sections inside the catalog. */
.course-interest-group-label {
  margin-bottom: 6px;
  color: var(--course-tint-text, var(--accent-strong));
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-link-card-suggested h4 {
  max-width: 16ch;
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.08;
}

.course-link-request {
  color: var(--text);
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Optional art above the sentence block on a suggested page. */
.course-request-figure .course-art {
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.course-request-figure .course-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1400 / 788;
  object-fit: cover;
}

/* The promise sentence under a search-shaped H1 on a suggested page. */
.course-campaign-hero-suggested .course-promise {
  max-width: 30ch;
  margin: 18px 0 0;
  color: rgba(248, 244, 234, 0.92);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Start today: the first thing a searcher gets is something to use. */
.course-quick-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: quick;
}

.course-quick-list li {
  position: relative;
  padding: 22px 22px 22px 64px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  counter-increment: quick;
}

.course-quick-list li::before {
  content: counter(quick, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 24px;
  color: #0a6d43;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.course-quick-list strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.15;
}

.course-quick-list p {
  margin-top: 8px;
  color: var(--text-muted, #59665e);
  font-size: 0.97rem;
  line-height: 1.6;
}

/* Setup questions on a suggested-course page. */
.course-setup-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: setup;
}

.course-setup-list li {
  position: relative;
  padding: 18px 22px 18px 64px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  font-size: 1.04rem;
  line-height: 1.55;
  counter-increment: setup;
}

.course-setup-list li::before {
  content: counter(setup, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 18px;
  /* Content green, not the display accent: this is read as text. */
  color: #0a6d43;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.course-related-link-ready span:first-child {
  color: var(--accent-strong);
}

@media (max-width: 720px) {
  .course-request {
    padding: 18px;
  }

  .course-request-figure .course-request {
    padding: 20px;
  }
}

/* ---------------------------------------------------------------------------
   Course library review, September 20, 2026.
   --------------------------------------------------------------------------- */

/* Outcomes and corrected ideas share one band on a suggested-course page. */
.course-editorial-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 56px;
  margin-top: 32px;
}

.course-editorial-column-title {
  margin: 0 0 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a6d43;
}

.course-editorial-columns .course-editorial-list {
  margin-top: 0;
}

@media (max-width: 720px) {
  .course-editorial-columns {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Hero headlines with a word of 12 or more letters (tagged by the course
   generator) step down on phones so that word fits whole. At the standard
   size "micromanaging" measured 366px in a 328px column at 360 wide and was
   hyphenated mid-word. hyphens: auto below stays as the last resort. */
@media (max-width: 720px) {
  .course-campaign-hero h1.course-campaign-title-long-word {
    font-size: clamp(2.7rem, 12.2vw, 3.5rem);
  }
}

/* Suggested-course titles are whole questions ("How to delegate without
   micromanaging"). At the ready-made 10.5ch measure and 6.8vw they stacked
   into four or five display lines on a laptop and pushed the App Store action
   below a 1440 by 900 first screen on most of the 199 pages. */
@media (min-width: 901px) {
  .course-campaign-hero-suggested h1 {
    max-width: 16ch;
    font-size: clamp(3.4rem, 4.6vw, 5rem);
    line-height: 0.96;
  }
}

/* On a phone the suggested-course hero shows the sentence before the store
   buttons: the sentence is the page's one object, the buttons act on it. The
   copy column dissolves into the single-column shell so the figure can slot
   between the lead and the download action. */
@media (max-width: 900px) {
  .course-campaign-hero-suggested h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .course-campaign-hero-suggested .course-campaign-copy {
    display: contents;
  }

  .course-campaign-hero-suggested .course-campaign-shell {
    gap: 22px;
  }

  .course-campaign-hero-suggested .course-request-figure {
    order: 5;
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .course-campaign-hero-suggested .course-hero-download {
    order: 6;
    margin-top: 0;
  }

  .course-campaign-hero-suggested .course-hero-link {
    order: 7;
  }

  .course-campaign-hero-suggested .course-request-figure .course-request {
    padding: 22px;
  }
}

/* On a phone each interest is a horizontal shelf you swipe, not a column of
   187 cards. Three classes, because the catalog's own grid rule uses three. Every card stays in the DOM, so search and the group filters
   keep working; a hidden card simply leaves the shelf. */
@media (max-width: 720px) {
  .course-catalog-page .course-interest-group .course-link-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 18px;
    padding: 4px 18px 18px;
    margin: 0 -18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .course-catalog-page .course-interest-group .course-link-grid::-webkit-scrollbar {
    display: none;
  }

  .course-catalog-page .course-interest-group .course-link-card {
    flex: 0 0 84%;
    min-height: 0;
    scroll-snap-align: start;
  }

  .course-catalog-page .course-interest-group .course-link-card[hidden] {
    display: none;
  }

  .course-interest-group .course-category-heading {
    padding-bottom: 10px;
  }
}

/* Every course-page iPhone action is Apple's official badge, unmodified. The
   cream "iPhone App Store" pill dated from July, when the iPhone entry was a
   TestFlight waitlist and the badge could not be used; it drew the standalone
   Apple logo, which Apple's App Store marketing guidelines do not allow. The
   badge takes the Android button's height so the pair reads as one row. */
.course-page .course-ios-store-button,
.course-page .course-store-buttons-primary .course-ios-store-button,
.course-detail-page .course-try-section .course-store-buttons-primary .course-ios-store-button {
  width: auto;
  min-width: 0;
  min-height: 0;
  flex: 0 0 auto;
  align-self: center;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
}

.course-page .course-ios-store-button .course-app-store-badge,
.course-detail-page .course-hero-download .course-ios-store-button .course-app-store-badge {
  width: auto;
  height: 58px;
}

.course-page .course-store-buttons-primary .course-android-store-button {
  min-height: 58px;
}

@media (hover: hover) and (pointer: fine) {
  .course-page .course-ios-store-button:hover,
  .course-page .course-store-buttons-primary .course-ios-store-button:hover,
  .course-detail-page .course-try-section .course-store-buttons-primary .course-ios-store-button:hover {
    background: transparent;
    border: 0;
  }
}

@media (max-width: 720px) {
  .course-page .course-ios-store-button,
  .course-page .course-store-buttons-primary .course-ios-store-button,
  .course-detail-page .course-try-section .course-store-buttons-primary .course-ios-store-button {
    width: max-content;
    align-self: flex-start;
    justify-self: start;
  }

  .course-page .course-ios-store-button .course-app-store-badge,
  .course-detail-page .course-hero-download .course-ios-store-button .course-app-store-badge {
    height: 44px;
  }

  .course-page .course-store-buttons-primary .course-android-store-button {
    min-height: 44px;
  }
}
