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

.home-page {
  --home-ink: #10271f;
  --home-ink-soft: #17372b;
  --home-cream: #f6f1e8;
  --home-paper: #fffdf7;
  --home-mist: #e9f3eb;
  --home-green: #4be895;
  --home-green-deep: #0d7044;
  --accent-strong: var(--home-green-deep);
  --home-line: rgba(16, 39, 31, 0.16);
  --home-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --home-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --home-press-duration: 140ms;
  background: var(--home-cream);
  color: var(--home-ink);
}

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

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

.home-page h2 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 5.8vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

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

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

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

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

/* Header */

.home-page .site-header {
  position: fixed;
  color: #f8f4ea;
  background: rgba(16, 39, 31, 0.52);
  border-bottom-color: transparent;
  backdrop-filter: none;
}

.home-page .site-header.is-scrolled {
  color: #f8f4ea;
  background: rgba(16, 39, 31, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px);
  box-shadow: 0 16px 36px rgba(5, 18, 13, 0.22);
}

.home-page .site-header-shell {
  width: min(1240px, calc(100vw - 64px));
  min-height: 76px;
  gap: 28px;
}

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

.home-page .brand {
  color: #fffdf6;
  font-size: 1.4rem;
}

.home-page .brand img {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  box-shadow: 0 12px 28px rgba(47, 203, 122, 0.22);
}

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

.home-page .site-nav {
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.home-page .site-nav a {
  min-height: 44px;
  padding: 0 15px;
  color: rgba(248, 244, 234, 0.66);
  font-size: 0.87rem;
}

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

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

.home-page .header-actions > .button-primary {
  min-height: 44px;
  padding: 0 19px;
  color: var(--home-ink);
  background: var(--home-green);
  box-shadow: none;
}

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

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

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

/* Hero */

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

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

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

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

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

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

.home-page .hero-copy h1 {
  display: grid;
  max-width: none;
  gap: 28px;
  color: #fffdf6;
  line-height: 1;
}

.home-page .hero-brand-display {
  display: block;
  font-size: clamp(6rem, 10.8vw, 10.5rem);
  line-height: 0.76;
  letter-spacing: -0.015em;
}

.home-page .hero-promise {
  display: block;
  max-width: 13ch;
  color: #fffdf6;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

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

.home-page .hero-learning-promise {
  max-width: none;
  white-space: nowrap;
}

.home-page .hero-learning-promise .rotating-topic {
  color: var(--home-green);
  white-space: nowrap;
  will-change: transform, filter;
  transition:
    opacity 240ms var(--home-ease-out),
    transform 240ms var(--home-ease-out),
    filter 240ms var(--home-ease-out);
}

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

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

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

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

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

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

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

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

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

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

.home-page .store-badge-link {
  display: flex;
  width: 210px;
  flex: 0 0 210px;
  align-items: center;
  border-radius: 10px;
  text-decoration: none;
}

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

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

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

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

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

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

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

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

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

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

/* A fast, factual bridge from the promise to the first course choice. */

.home-page .proof-rail-section {
  color: var(--home-ink);
  background: #e9e2d6;
  border-bottom: 1px solid rgba(16, 39, 31, 0.12);
}

.home-page .proof-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.home-page .proof-rail li {
  display: grid;
  align-content: center;
  min-height: 112px;
  gap: 7px;
  padding: 24px clamp(20px, 2.5vw, 34px);
  border-left: 1px solid rgba(16, 39, 31, 0.14);
}

.home-page .proof-rail li:first-child {
  border-left: 0;
}

.home-page .proof-rail strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.home-page .proof-rail span {
  color: #59675f;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
}

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

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

.home-page .hero-proof {
  z-index: 1;
  position: relative;
  width: min(100%, 590px);
  height: auto;
  aspect-ratio: 27 / 32;
  overflow: hidden;
  border: 0;
  border-radius: 52px;
  background: #eff6ef;
  box-shadow: 0 32px 86px rgba(4, 20, 14, 0.38);
  transform: none;
  transition:
    transform 260ms var(--home-ease-out),
    box-shadow 260ms ease;
}

.home-page .hero-video {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center top;
}

/* Custom topic prompt */

.home-page .typebox-section {
  padding: clamp(76px, 9vw, 128px) 0;
  background: var(--home-cream);
}

.home-page .typebox-band {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: end;
  gap: clamp(48px, 8vw, 120px);
}

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

.home-page .typebox {
  width: 100%;
  margin: 0;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 2px solid var(--home-ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .typebox-value {
  display: block;
  height: 2.36em;
  color: var(--home-ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.25rem, 2.1vw, 1.85rem);
  font-weight: 600;
  line-height: 1.18;
  white-space: normal;
  overflow: visible;
}

.home-page .typebox-cta {
  min-height: 50px;
  padding: 0 21px;
  border-radius: 999px;
  color: var(--home-ink);
  background: var(--home-green);
  box-shadow: none;
}

/* Why Cadence */

.home-page .compare-section {
  padding: clamp(76px, 8vw, 112px) 0;
  color: var(--home-ink);
  background: #e9e2d6;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Course shelf */

.home-page .courses-feature {
  margin-top: 0;
  padding: clamp(76px, 8vw, 112px) 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Three step product story */

.home-page .process-section {
  position: relative;
  padding: clamp(92px, 11vw, 156px) 0;
  border-top: 1px solid var(--home-line);
}

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

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

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

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

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

.home-page .process-story.is-motion-ready {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
}

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

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

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

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

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

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

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

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

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

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

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

.home-page .process-step:hover,
.home-page .process-step.is-active {
  color: #fffdf6;
}

.home-page .process-step.is-active::before {
  transform: scaleY(1);
}

.home-page .process-step:focus-visible {
  border-radius: 10px;
  outline: 3px solid rgba(75, 232, 149, 0.36);
  outline-offset: 5px;
}

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

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

.home-page .process-step.is-active .process-index {
  color: var(--home-ink);
  border-color: var(--home-green);
  background: var(--home-green);
}

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

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

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

.home-page .process-step.is-active .process-step-detail {
  max-height: 6em;
  opacity: 1;
  transform: translateY(0);
}

.home-page .process-stage {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 74% 20%, rgba(255, 255, 255, 0.92), transparent 31%),
    radial-gradient(circle at 18% 86%, rgba(75, 232, 149, 0.17), transparent 30%),
    #dfe9de;
}

.home-page .process-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(16, 39, 31, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 39, 31, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle at 70% 48%, #000, transparent 76%);
  mask-image: radial-gradient(circle at 70% 48%, #000, transparent 76%);
}

.home-page .process-stage-header {
  position: absolute;
  z-index: 5;
  top: 30px;
  right: 34px;
  left: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(16, 39, 31, 0.55);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-page .process-panel {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(150px, 0.64fr) minmax(250px, 1fr);
  align-items: center;
  gap: clamp(22px, 4vw, 46px);
  margin: 0;
  padding: 76px clamp(34px, 5vw, 62px) 42px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(22px) scale(0.985);
  transition:
    opacity 180ms ease,
    transform 240ms var(--home-ease-out);
}

.home-page .process-panel.is-active {
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.home-page .process-panel img {
  grid-column: 2;
  grid-row: 1;
  display: block;
  width: min(100%, 278px);
  height: auto;
  justify-self: center;
  border: 7px solid rgba(255, 255, 255, 0.78);
  border-radius: 38px;
  box-shadow:
    0 42px 80px rgba(16, 39, 31, 0.22),
    0 6px 20px rgba(16, 39, 31, 0.12);
  transition: transform 240ms var(--home-ease-out);
}

.home-page .process-panel figcaption {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  align-self: end;
  gap: 9px;
  padding-bottom: 38px;
  color: var(--home-ink);
}

.home-page .process-panel figcaption span {
  color: var(--home-green-deep);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-page .process-panel figcaption strong {
  max-width: 9ch;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.75rem, 2.7vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.home-page .process-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(13, 112, 68, 0.17);
  border-radius: 50%;
  pointer-events: none;
}

.home-page .process-orbit-one {
  right: -170px;
  bottom: -245px;
  width: 560px;
  height: 560px;
}

.home-page .process-orbit-two {
  right: -72px;
  bottom: -144px;
  width: 360px;
  height: 360px;
}

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

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

  .home-page .hero-visual:hover .hero-proof {
    transform: none;
    box-shadow: 0 38px 100px rgba(4, 20, 14, 0.44);
  }

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

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

  .home-page .process-stage:hover .process-panel.is-active img {
    transform: translateY(-7px) rotate(0.4deg);
  }
}

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

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

/* Pricing */

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

.home-page .plus-section {
  padding: clamp(52px, 6vw, 84px) 0 clamp(96px, 11vw, 156px);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.home-page .plus-access-note {
  margin-top: 5px;
  max-width: 62ch;
  color: #59675f;
  font-size: 0.88rem;
  line-height: 1.55;
}

/* FAQ and support */

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

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

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

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

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

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

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

.home-page .support-section {
  padding: 0 0 clamp(92px, 10vw, 140px);
}

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

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

.home-page .support-copy > .eyebrow {
  position: absolute;
  top: 0;
  left: 0;
}

.home-page .support-copy h2 {
  max-width: 8ch;
}

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

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

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

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

.home-page .founder-section {
  padding: clamp(88px, 10vw, 144px) 0;
  border-top: 1px solid var(--home-line);
}

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

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

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

.home-page .founder-copy {
  position: relative;
  width: min(100%, 780px);
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(30px, 4.4vw, 54px) clamp(24px, 4.4vw, 58px)
    clamp(28px, 4vw, 46px);
  opacity: 1;
  border: 1px solid rgba(16, 39, 31, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, #fffefb 0%, #fdfaf2 100%);
  box-shadow:
    0 32px 68px rgba(16, 28, 20, 0.11),
    0 4px 14px rgba(16, 28, 20, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: rotate(-0.4deg);
  transition:
    opacity 640ms ease,
    transform 780ms cubic-bezier(0.2, 0.82, 0.22, 1),
    box-shadow 240ms ease;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.home-page .final-cta {
  padding: clamp(88px, 10vw, 142px) 0;
  color: #fffdf6;
  text-align: left;
}

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

.home-page .final-cta-shell {
  display: grid;
  grid-template-columns: minmax(430px, 1fr) minmax(414px, auto);
  grid-template-areas:
    "eyebrow actions"
    "heading actions"
    "body actions";
  align-items: center;
  column-gap: clamp(54px, 8vw, 112px);
  row-gap: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

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

.home-page .final-cta-shell h2 {
  grid-area: heading;
  max-width: 12ch;
  color: #fffdf6;
}

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

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

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

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

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

/* Android tester waitlist */

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.home-page .android-waitlist-email:focus {
  outline: none;
}

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

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

.home-page .android-waitlist-topic:focus {
  outline: none;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.home-page .site-footer {
  width: 100%;
  max-width: none;
  padding: 34px max(32px, calc((100vw - 1240px) / 2));
  color: rgba(248, 244, 234, 0.7);
  background: #0a1b15;
  border-top-color: rgba(255, 255, 255, 0.1);
}

.home-page .site-footer .brand {
  color: #fffdf6;
}

.home-page .site-footer .footer-links a {
  color: rgba(248, 244, 234, 0.58);
}

.home-page .site-footer .footer-links a:hover {
  color: #fffdf6;
}

.home-page .footer-meta {
  display: grid;
  max-width: 760px;
  justify-items: end;
  gap: 12px;
}

.home-page .footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-page .footer-social-label {
  margin-right: 3px;
  color: rgba(248, 244, 234, 0.42);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-page .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.76rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms var(--home-ease-out);
}

.home-page .footer-social a:hover {
  color: #fffdf6;
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(75, 232, 149, 0.34);
  transform: translateY(-1px);
}

.home-page .footer-social a:focus-visible {
  color: #fffdf6;
  outline: 3px solid rgba(75, 232, 149, 0.42);
  outline-offset: 3px;
}

.home-page .footer-social svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: currentColor;
}

.home-page .footer-social rect,
.home-page .footer-social circle:not(.footer-social-dot) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.home-page .footer-social-dot {
  fill: currentColor;
}

.home-page .platform-attribution {
  display: grid;
  max-width: 740px;
  gap: 4px;
  color: rgba(248, 244, 234, 0.38);
  font-size: 0.62rem;
  line-height: 1.45;
  text-align: right;
}

.home-page .platform-attribution p {
  margin: 0;
}

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

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

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

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

  .home-page .site-nav {
    display: none;
  }

  .home-page .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-page .footer-meta {
    justify-items: start;
  }

  .home-page .footer-social {
    flex-wrap: wrap;
  }

  .home-page .platform-attribution {
    text-align: left;
  }

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

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

  .home-page .hero-brand-display {
    font-size: clamp(5.2rem, 10vw, 7.1rem);
  }

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

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

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

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

  .home-page .support-copy > .eyebrow {
    position: static;
  }

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

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

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

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

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

  .home-page .hero-proof {
    width: min(100%, 420px);
    border-radius: 42px;
    box-shadow: 0 24px 68px rgba(4, 20, 14, 0.34);
    transform: none;
  }
}

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

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

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

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

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

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

  .home-page .proof-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .proof-rail li:nth-child(3) {
    border-left: 0;
  }

  .home-page .proof-rail li:nth-child(n + 3) {
    border-top: 1px solid rgba(16, 39, 31, 0.14);
  }

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

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

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

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

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

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

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

  .home-page .process-stage {
    grid-area: stage;
    min-height: 600px;
  }

  .home-page .process-panel {
    grid-template-columns: minmax(160px, 0.7fr) minmax(230px, 1fr);
    padding-right: clamp(34px, 8vw, 64px);
    padding-left: clamp(34px, 8vw, 64px);
  }

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

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

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

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

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

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

  .home-page .support-copy > .eyebrow {
    position: static;
  }

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

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

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

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

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

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

  .home-page .brand img {
    width: 36px;
    height: 36px;
  }

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

  .home-page .header-actions > .button-primary {
    min-height: 42px;
    padding: 0 15px;
    font-size: 0.84rem;
  }

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

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

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

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

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

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

  .home-page .hero-copy h1 {
    gap: 16px;
  }

  .home-page .hero-brand-display {
    font-size: clamp(4.25rem, 21vw, 5.1rem);
  }

  .home-page .hero-promise {
    max-width: none;
    font-size: clamp(2rem, 9vw, 2.2rem);
  }

  .home-page .hero-learning-promise .rotating-topic {
    display: block;
  }

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

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

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

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

  .home-page .hero-actions .store-buttons {
    gap: 5px;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .home-page .hero-proof {
    width: min(100%, 342px);
    border-radius: 34px;
    box-shadow: 0 22px 56px rgba(4, 20, 14, 0.3);
    transform: none;
  }

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

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

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

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

  .home-page .typebox {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 0 0 18px;
  }

  .home-page .typebox-value {
    flex: 0 0 3.54em;
    height: 3.54em;
    font-size: 1.28rem;
  }

  .home-page .typebox-cta {
    align-self: flex-start;
    min-height: 48px;
  }

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

  .home-page .proof-rail li {
    min-height: 96px;
    padding: 18px 14px;
  }

  .home-page .proof-rail strong {
    font-size: 1.08rem;
  }

  .home-page .proof-rail span {
    font-size: 0.7rem;
  }

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

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

  .home-page .course-card-grid {
    width: calc(100vw - 14px);
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(88vw, 350px);
    gap: 18px;
    margin-top: 42px;
    padding-right: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

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

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

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

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

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

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

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

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

  .home-page .process-stage {
    min-height: 500px;
  }

  .home-page .process-stage-header {
    top: 22px;
    right: 20px;
    left: 20px;
    gap: 12px;
    font-size: 0.57rem;
    letter-spacing: 0.1em;
  }

  .home-page .process-panel {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 60px 18px 20px;
  }

  .home-page .process-panel img {
    grid-column: 1;
    width: min(100%, 194px);
    border-width: 5px;
    border-radius: 29px;
    box-shadow:
      0 30px 58px rgba(16, 39, 31, 0.2),
      0 5px 16px rgba(16, 39, 31, 0.1);
  }

  .home-page .process-panel figcaption {
    display: none;
  }

  .home-page .process-orbit-one {
    right: -260px;
    bottom: -250px;
  }

  .home-page .process-orbit-two {
    right: -132px;
    bottom: -158px;
  }

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

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

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

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

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

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

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

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

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

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

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

  .home-page .plus-proof-row span {
    min-height: 0;
  }

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

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

  .home-page .plus-access .store-button {
    flex: 1 1 100%;
  }

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

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

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

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

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

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

  .home-page .site-footer {
    padding: 34px 20px 92px;
  }

  .home-page .footer-social {
    width: 100%;
  }

  .home-page .footer-social-label {
    width: 100%;
    margin: 0 0 2px;
  }
}

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

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

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

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

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

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

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

  .home-page .process-panel {
    transform: none;
    transition: opacity 160ms ease;
  }

  .home-page .process-panel.is-active {
    transform: none;
  }

  .home-page .process-stage:hover .process-panel.is-active img {
    transform: none;
  }

  .home-page .hero-visual:hover .hero-proof {
    transform: none;
  }

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