/* Readable, slide-paced homepage. The original home.css keeps the shared visual skin. */
body.home-page {
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.005em;
  font-optical-sizing: auto;
  font-kerning: normal;
}

html:has(body.home-page) {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}

.home-page button,
.home-page a,
.home-page [role="radio"] {
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.home-page h1,
.home-page h2,
.home-page h3 {
  text-wrap: balance;
}

.home-page .hero {
  min-height: calc(100svh - 76px);
  padding-top: 58px;
  padding-bottom: 72px;
}

.home-page .hero h1 {
  font-size: clamp(43px, 4.3vw, 63px);
  font-weight: 600;
  letter-spacing: 0.012em;
  line-height: 1.33;
  margin: 22px 0 29px;
}

.home-page .hero-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 475px);
  margin: 0 0 29px;
  padding: 0;
  list-style: none;
}

.home-page .hero-tags li {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid #d7deea;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.015em;
}

.home-page .hero-tags li::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.home-page .hero-tags li:nth-child(2)::before {
  background: var(--gold);
}

.home-page .hero-tags li:nth-child(4)::before {
  background: var(--cyan);
}

.home-page .hero-microduck,
.home-page .hero-spark {
  animation: none;
}

.home-page .button:active,
.home-page .pricing-purchase:active {
  transform: scale(0.97);
  transition: transform 100ms ease-out;
}

.home-page main > .section {
  min-height: calc(100svh - 76px);
  padding-top: 54px;
  padding-bottom: 54px;
}

.home-page main > .section:not(.benefit-section):not(.coach-section):not(.vision-section):not(.faq-section) {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-page .section h2,
.home-page .social-section h2 {
  font-size: clamp(35px, 3.5vw, 48px);
  font-weight: 600;
  letter-spacing: 0.012em;
  line-height: 1.34;
}

.home-page .section-heading,
.home-page .section-heading.center {
  margin-bottom: 28px;
}

.home-page .section-heading h2 {
  margin: 0;
}

.home-page .section-heading > p,
.home-page .benefit-list p,
.home-page .vision-copy > p:not(.section-kicker),
.home-page .concept-copy p,
.home-page .audience-copy p {
  line-height: 1.74;
  letter-spacing: 0.005em;
  color: #40506a;
}

.home-page .benefit-copy h2,
.home-page .coach-copy h2,
.home-page .vision-copy h2 {
  margin: 0 0 23px;
}

.home-page .benefit-list {
  margin: 22px 0;
}

.home-page .benefit-list li {
  padding: 12px 0;
}

.home-page .benefit-list p {
  font-size: 18px;
  font-weight: 550;
}

.home-page .benefit-callout {
  font-size: 15px;
  line-height: 1.7;
}

.home-page .concept-art {
  height: 260px;
}

.home-page main > .concept-section {
  padding-top: 32px;
  padding-bottom: 32px;
}

.home-page .concept-code {
  min-height: 62px;
  padding: 12px 22px;
}

.home-page .concept-copy h3,
.home-page .audience-copy h3 {
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.35;
}

.home-page .text-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  padding: 7px 0;
  border-bottom: 2px solid var(--gold);
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
}

.home-page .coach-lead {
  font-size: 20px;
  line-height: 1.7;
  font-weight: 500;
  color: #40506a;
  max-width: 26em;
}

.home-page .coach-copy li,
.home-page .language-card p,
.home-page .membership-grid p,
.home-page .faq-list details p {
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.005em;
  color: #40506a;
}

.home-page .language-roadmap {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: 56px;
  max-width: 1050px;
  margin: 0 auto;
  align-items: stretch;
}

.home-page main > .language-section {
  padding-top: 34px;
  padding-bottom: 34px;
}

.home-page .language-section .section-heading.center {
  margin-bottom: 18px;
}

.home-page .language-section .section-heading h2 {
  font-size: clamp(35px, 3.1vw, 42px);
}

.home-page .language-section .section-heading > p {
  margin: 7px auto 0;
}

.home-page .language-card {
  min-height: 0;
  border: 1px solid #d7deea;
  border-radius: 20px;
  box-shadow: none;
}

.home-page .language-primary {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 21px 26px;
  border: 2px solid var(--blue);
  background: #f8faff;
}

.home-page .language-primary::after {
  content: "→";
  position: absolute;
  top: calc(50% - 20px);
  right: -46px;
  color: var(--blue);
  font-size: 31px;
  font-weight: 400;
}

.home-page .language-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.home-page .language-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 100px;
  background: #eef1f5;
  color: #53617a;
  font-size: 12px;
  font-weight: 700;
}

.home-page .language-status.available {
  background: #2459c91c;
  color: var(--blue);
}

.home-page .language-glyph {
  display: grid;
  place-items: center;
  width: 55px;
  height: 52px;
  border-radius: 15px;
  background: var(--blue);
  color: #fff;
  font: 600 26px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.home-page .language-card h3 {
  margin: 0;
  font-size: 29px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
}

.home-page .language-primary h3 {
  margin-top: 9px;
  font-size: 33px;
}

.home-page .language-card p {
  margin: 7px 0 0;
  color: #40506a;
  font-size: 15.5px;
  line-height: 1.58;
}

.home-page .language-code {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 11px 15px;
  border-radius: 11px;
  background: var(--ink);
  color: #fff;
  font: 500 15px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.home-page .language-code span {
  color: var(--cyan);
  font-size: 12px;
}

.home-page .language-branches {
  display: grid;
  gap: 11px;
}

.home-page .language-branch {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
}

.home-page .language-branch-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-page .language-icon {
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 17px;
  background: #16a8b71a;
  color: var(--cyan);
}

.home-page .language-icon-robot {
  background: #2459c91a;
  color: var(--blue);
}

.home-page .language-icon svg {
  width: 37px;
  height: 37px;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .language-future {
  max-width: 1050px;
  margin: 12px auto 0;
  color: #53617a;
  font-size: 14px;
  line-height: 1.5;
}

.home-page .language-future span {
  color: var(--blue);
}

.home-page .vision-copy > p:not(.section-kicker) {
  max-width: 34em;
}

.home-page .audience-carousel {
  box-shadow: 0 12px 30px #17243d0b;
}

.home-page .audience-carousel {
  min-height: 355px;
}

.home-page .audience-portrait {
  height: 350px;
  width: 140px;
}

.home-page .audience-copy {
  padding: 38px 58px;
}

.home-page .audience-copy p {
  min-height: 76px;
}

.home-page .pricing-section h2 {
  font-size: clamp(35px, 3.2vw, 42px);
}

.home-page main > .pricing-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.home-page .pricing-section .section-heading.center {
  margin-bottom: 17px;
}

.home-page .pricing-section .section-heading > p {
  margin: 6px auto 0;
  max-width: 48em;
  font-size: 15px;
}

.home-page .plan-card {
  min-height: 0;
  padding: 38px 22px 20px;
  box-shadow: 0 6px 18px #17243d0a;
}

.home-page .plan-card.is-selected {
  box-shadow: 0 11px 25px #2459c91b;
}

.home-page .plan-head h3 {
  font-size: 22px;
  letter-spacing: -0.01em;
}

.home-page .plan-price {
  font-size: 44px;
}

.home-page .plan-promise {
  margin: 9px 0 13px;
  padding: 9px 8px;
}

.home-page .plan-card ul {
  gap: 9px;
}

.home-page .plan-card li {
  font-size: 15px;
  line-height: 1.55;
}

.home-page .pricing-purchase {
  margin-top: 12px;
}

.home-page .plan-note {
  margin-top: 10px;
  font-size: 13px;
  color: #59677d;
}

.home-page .membership-grid article {
  min-height: 205px;
  border-color: #d7deea;
}

.home-page .membership-grid article:nth-child(2) .member-icon {
  color: #647189;
  background: #eef1f5;
}

.home-page .membership-note {
  font-size: 14px;
  line-height: 1.6;
}

.home-page .faq-list summary {
  font-size: 18px;
  letter-spacing: 0.008em;
}

.home-page main > .faq-section {
  display: block;
  padding-top: 68px;
}

.home-page .faq-section .section-heading.center {
  margin-bottom: 20px;
}

.home-page .faq-list {
  width: min(100%, 880px);
  min-width: 0;
  margin: 0 auto;
}

.home-page .social-section {
  min-height: 320px;
  margin-bottom: 0;
}

@media (min-width: 851px) and (min-height: 650px) {
  html:has(body.home-page) {
    scroll-snap-type: y mandatory;
    scroll-padding-top: 76px;
  }

  .home-page main > section,
  .home-page .site-footer {
    scroll-snap-align: start;
    scroll-margin-top: 0;
  }
}

@media (max-width: 850px), (max-height: 649px) {
  .home-page .hero,
  .home-page main > .section {
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .home-page main > .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .home-page .hero h1 {
    font-size: clamp(35px, 8.8vw, 48px);
    line-height: 1.35;
  }

  .home-page .hero-support {
    font-size: 16px;
  }

  .home-page .section h2 {
    font-size: clamp(32px, 8vw, 43px);
  }

  .home-page .benefit-list p {
    font-size: 16px;
  }

  .home-page .concept-art {
    height: 280px;
  }

  .home-page .language-card {
    min-height: 0;
  }

  .home-page .language-roadmap {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .home-page .language-primary::after {
    content: "↓";
    top: auto;
    right: calc(50% - 12px);
    bottom: -25px;
    z-index: 2;
    font-size: 22px;
  }

  .home-page .language-branches {
    gap: 12px;
  }

  .home-page .audience-carousel {
    min-height: 0;
    width: 100%;
    min-width: 0;
  }

  .home-page .audience-portrait {
    height: 360px;
    width: 144px;
  }

  .home-page .audience-copy {
    min-width: 0;
    padding: 25px 22px 38px;
  }

  .home-page .social-section {
    min-height: 0;
    margin: 0 20px 70px;
  }
}

@media (max-width: 850px) {
  .home-page .site-header {
    padding-top: calc(9px + env(safe-area-inset-top, 0px));
    padding-bottom: 0;
    row-gap: 4px;
  }

  .home-page .main-nav {
    gap: 2px;
    width: calc(100% + 36px);
    margin: 0 -18px;
    padding: 0 12px;
    overscroll-behavior-x: contain;
  }

  .home-page .main-nav a {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 11px;
    font-size: 14px;
  }

  .home-page .header-actions [data-user] button {
    min-height: 44px;
  }
}

@media (max-width: 560px) {
  .home-page .hero {
    gap: 43px;
    padding-top: 43px;
    padding-bottom: 73px;
  }

  .home-page .hero h1 {
    margin: 18px 0 25px;
    font-size: clamp(34px, 8.6vw, 40px);
  }

  .home-page .hero-tags {
    gap: 8px;
    margin-bottom: 27px;
  }

  .home-page .hero-tags li {
    min-height: 46px;
    gap: 6px;
    padding: 8px 9px;
    font-size: 12px;
    letter-spacing: 0;
  }

  .home-page main > .section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .home-page .section h2 {
    font-size: clamp(30px, 7.8vw, 36px);
    line-height: 1.36;
  }

  .home-page .section-heading,
  .home-page .section-heading.center {
    margin-bottom: 25px;
  }

  .home-page .benefit-list li {
    padding: 10px 0;
  }

  .home-page .benefit-list p {
    font-size: 15px;
  }

  .home-page .concept-layout {
    gap: 25px;
  }

  .home-page .concept-copy h3,
  .home-page .audience-copy h3 {
    font-size: 27px;
  }

  .home-page .concept-copy p,
  .home-page .audience-copy p {
    font-size: 16px;
  }

  .home-page .language-primary,
  .home-page .language-branch {
    padding: 21px;
  }

  .home-page .language-branch-main {
    gap: 14px;
  }

  .home-page .language-icon {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }

  .home-page .language-card h3 {
    font-size: 25px;
  }

  .home-page .language-primary h3 {
    font-size: 32px;
  }

  .home-page .concept-controls > button,
  .home-page .audience-controls > button {
    flex: 0 0 44px;
  }

  .home-page .carousel-dots {
    gap: 0;
  }

  .home-page .carousel-dots button,
  .home-page .carousel-dots button[aria-current="true"] {
    display: grid;
    place-items: center;
    width: 28px;
    height: 44px;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .home-page .concept-controls,
  .home-page .audience-controls {
    gap: 9px;
  }

  .home-page .pricing-purchase {
    width: min(100%, 310px);
    min-width: 0;
  }

  .home-page .carousel-dots button::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #aeb7c6;
  }

  .home-page .carousel-dots button[aria-current="true"]::before {
    width: 20px;
    border-radius: 8px;
    background: var(--blue);
  }

  .home-page .social-actions a,
  .home-page .social-actions button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .home-page .site-footer {
    padding-bottom: 0;
  }
}

@media (max-width: 360px) {
  .home-page .audience-copy {
    padding-left: 15px;
    padding-right: 15px;
  }

  .home-page .carousel-dots button,
  .home-page .carousel-dots button[aria-current="true"] {
    width: 24px;
  }
}

@media (hover: none) {
  .home-page .button:hover,
  .home-page .plan-card:hover,
  .home-page .pricing-purchase:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.home-page) {
    scroll-snap-type: none;
  }
}

.home-page .wechat-social {
  position: relative;
}

.home-page .social-actions .wechat-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  background: var(--white);
  color: var(--ink);
  border-color: #17243d2b;
  white-space: nowrap;
}

.home-page .wechat-trigger img {
  display: block;
  flex: none;
}

.home-page .wechat-qr {
  position: absolute;
  z-index: 20;
  left: 0;
  bottom: calc(100% + 12px);
  width: 232px;
  padding: 12px;
  border: 1px solid #17243d20;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 16px 42px #17243d26;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.home-page .wechat-social.is-open .wechat-qr {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.home-page .wechat-qr img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.home-page .wechat-qr span {
  display: block;
  padding-top: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .home-page .wechat-qr {
    width: min(232px, calc(100vw - 80px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .wechat-qr {
    transition: none;
  }
}

/* Keep the legal details and compact sharing controls in one footer. */
.home-page .site-footer {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: visible;
  background: var(--ink);
}

.home-page .footer-legal {
  padding: 12px 24px 4px;
  background: var(--ink);
  color: #f3f7ff;
}

.home-page .footer-legal a,
.home-page .footer-legal p {
  color: #f3f7ff;
}

.home-page .footer-legal a:hover {
  color: var(--white);
}

.home-page .footer-separator {
  color: #ffffff91;
}

.home-page .footer-social {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 17px 24px calc(20px + env(safe-area-inset-bottom, 0px));
}

.home-page .footer-social .footer-icon {
  width: 38px;
  height: 38px;
  min-height: 38px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  border: 1px solid #ffffff66;
  border-radius: 10px;
  background: #ffffff12;
  color: var(--white);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.home-page .footer-social .footer-icon:hover,
.home-page .footer-social .footer-icon:focus-visible {
  background: #ffffff29;
  border-color: #ffffffc2;
  transform: translateY(-2px);
}

.home-page .footer-copy-glyph {
  position: relative;
  width: 19px;
  height: 19px;
}

.home-page .footer-copy-glyph::before,
.home-page .footer-copy-glyph::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border: 1.7px solid currentColor;
  border-radius: 2px;
}

.home-page .footer-copy-glyph::before {
  top: 2px;
  left: 2px;
}

.home-page .footer-copy-glyph::after {
  top: 6px;
  left: 6px;
  background: var(--ink);
}

.home-page .footer-share-glyph {
  font-size: 23px;
  font-weight: 650;
  line-height: 1;
}

.home-page .footer-social .wechat-trigger img {
  width: 21px;
  height: 21px;
}

.home-page .footer-social .wechat-social::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 13px;
}

.home-page .footer-social .wechat-qr {
  left: 50%;
  bottom: calc(100% + 10px);
  width: min(220px, calc(100vw - 32px));
  transform: translate(-50%, 6px);
}

.home-page .footer-social .wechat-social.is-open .wechat-qr {
  transform: translate(-50%, 0);
}

@media (max-width: 700px) {
  .home-page .site-footer {
    min-height: 0;
  }

  .home-page .footer-main {
    padding-bottom: 22px;
  }

  .home-page .footer-legal {
    padding: 8px 24px 4px;
  }

  .home-page .footer-social {
    padding-top: 22px;
  }
}
