.m-home,
.m-sticky-cta {
  display: none;
}

@media (max-width: 800px) {
  .home-page {
    padding-bottom: 78px;
    background: #f8f3e7;
  }

  .home-page .home-hero,
  .home-page .home-topics,
  .home-page > .mobile-booking {
    display: none;
  }

  .m-home {
    --m-forest: #103f35;
    --m-deep: #082f28;
    --m-lime: #dce88a;
    --m-paper: #fbf7ec;
    --m-cream: #f3ecdc;
    --m-ink: #123a32;
    --m-muted: #617a72;
    display: block;
    color: var(--m-ink);
    background: var(--m-paper);
  }

  .m-home *,
  .m-home *::before,
  .m-home *::after {
    box-sizing: border-box;
  }

  .m-home button,
  .m-home a {
    font: inherit;
  }

  .m-home [hidden] {
    display: none !important;
  }

  .m-kicker {
    margin: 0 0 17px;
    color: #6f8d83;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
  }

  .m-hero {
    min-height: calc(100svh - 68px);
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    padding: 116px 20px 38px;
    color: white;
    background:
      linear-gradient(180deg, rgba(8,47,40,.24) 0%, rgba(8,47,40,.34) 42%, rgba(8,47,40,.94) 86%, #082f28 100%),
      url("assets/sunshine-reading-bar-560.jpg") center 41% / cover no-repeat;
  }

  .m-hero::after {
    content: "";
    position: absolute;
    inset: auto -42px -76px auto;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(220,232,138,.28);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(220,232,138,.05), 0 0 0 56px rgba(220,232,138,.035);
  }

  .m-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
  }

  .m-hero .m-kicker {
    color: var(--m-lime);
    text-shadow: 0 2px 18px rgba(0,0,0,.28);
  }

  .m-hero h1 {
    max-width: 370px;
    margin: 0;
    color: white;
    font: 700 clamp(42px, 11.3vw, 57px)/1.08 "Songti SC", "STSong", serif;
    letter-spacing: -.055em;
    text-shadow: 0 4px 26px rgba(0,0,0,.3);
  }

  .m-hero-lead {
    max-width: 365px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    line-height: 1.75;
  }

  .m-primary,
  .m-result-cta,
  .m-contact > a {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 27px;
    padding: 0 18px;
    color: var(--m-deep);
    border: 1px solid rgba(8,47,40,.18);
    border-radius: 7px;
    background: var(--m-lime);
    box-shadow: 0 13px 30px rgba(0,0,0,.18);
    text-decoration: none;
    font-size: 15px;
    font-weight: 900;
  }

  .m-primary span {
    margin-left: 12px;
  }

  .m-secondary {
    width: max-content;
    display: block;
    margin: 18px auto 0;
    padding-bottom: 4px;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,.54);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
  }

  .m-share-entry {
    width: max-content;
    display: block;
    margin: 14px auto 0;
    color: var(--m-lime);
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
  }

  .m-share-entry span {
    margin-left: 5px;
  }

  .m-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 25px;
  }

  .m-trust span {
    padding: 6px 9px;
    color: rgba(255,255,255,.78);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(8,47,40,.28);
    backdrop-filter: blur(8px);
    font-size: 9px;
    font-weight: 700;
  }

  .m-trust b {
    color: var(--m-lime);
  }

  .m-guide,
  .m-route,
  .m-system,
  .m-contact {
    padding: 78px 20px;
  }

  .m-guide {
    color: white;
    background:
      radial-gradient(circle at 100% 0, rgba(220,232,138,.12), transparent 30%),
      var(--m-forest);
  }

  .m-section-heading h2,
  .m-system h2,
  .m-contact h2 {
    margin: 0;
    font: 700 clamp(34px, 9vw, 45px)/1.2 "Songti SC", "STSong", serif;
    letter-spacing: -.04em;
  }

  .m-guide .m-section-heading > p:last-child,
  .m-route .m-section-heading > p:last-child {
    margin: 19px 0 0;
    color: #b8cbc4;
    font-size: 13px;
    line-height: 1.75;
  }

  .m-guide .m-kicker,
  .m-contact .m-kicker {
    color: var(--m-lime);
  }

  .m-finder {
    position: relative;
    min-height: 420px;
    margin-top: 35px;
    padding: 25px 17px 28px;
    color: var(--m-ink);
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 8px;
    background: var(--m-paper);
    box-shadow: 8px 8px 0 var(--m-lime);
  }

  .m-progress {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto;
    align-items: center;
    gap: 11px;
    margin-bottom: 31px;
  }

  .m-progress span {
    color: #aebbb7;
    font-size: 10px;
    font-weight: 900;
  }

  .m-progress span.active {
    color: var(--m-forest);
  }

  .m-progress i {
    height: 1px;
    background: #cfd7d3;
  }

  .m-question-label {
    margin: 0 0 22px;
    color: var(--m-ink);
    font: 700 27px/1.25 "Songti SC", "STSong", serif;
    letter-spacing: -.035em;
  }

  .m-age-options,
  .m-text-options,
  .m-goal-options {
    display: grid;
    gap: 9px;
  }

  .m-age-options button,
  .m-text-options button,
  .m-goal-options button {
    width: 100%;
    min-height: 62px;
    display: grid;
    align-items: center;
    color: var(--m-ink);
    border: 1px solid #d3dcd7;
    border-radius: 6px;
    background: rgba(255,255,255,.58);
    text-align: left;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
  }

  .m-age-options button {
    grid-template-columns: auto 24px 1fr auto;
    padding: 0 15px;
  }

  .m-age-options button b {
    min-width: 54px;
    font-size: 21px;
  }

  .m-age-options button > span {
    color: #789087;
    font-size: 10px;
  }

  .m-age-options button small {
    color: #5f786f;
    font-size: 12px;
  }

  .m-age-options button i,
  .m-text-options button i {
    color: #789087;
    font-style: normal;
  }

  .m-text-options button {
    grid-template-columns: 35px 1fr auto;
    gap: 8px;
    padding: 0 15px;
  }

  .m-text-options button span {
    color: #8ca098;
    font-size: 10px;
    font-weight: 900;
  }

  .m-text-options button b {
    font-size: 13px;
    line-height: 1.45;
  }

  .m-goal-options {
    grid-template-columns: 1fr 1fr;
  }

  .m-goal-options button {
    min-height: 92px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 14px;
  }

  .m-goal-options button:last-child {
    grid-column: 1 / -1;
  }

  .m-goal-options button b {
    font-size: 14px;
  }

  .m-goal-options button span {
    margin-top: 5px;
    color: #728a82;
    font-size: 10px;
  }

  .m-age-options button.selected,
  .m-text-options button.selected,
  .m-goal-options button.selected {
    border-color: var(--m-forest);
    background: #edf1d7;
    transform: translateY(-2px);
  }

  .m-result > p {
    margin: 0;
    color: #789087;
    font-size: 11px;
  }

  .m-result {
    scroll-margin-top: 84px;
  }

  .m-result h3 {
    margin: 8px 0 8px;
    color: var(--m-ink);
    font: 700 34px/1.2 "Songti SC", "STSong", serif;
  }

  .m-result > strong {
    display: block;
    margin-bottom: 24px;
    color: #526f65;
    font-size: 13px;
    line-height: 1.65;
  }

  .m-result > div {
    margin-top: 12px;
    padding: 16px;
    border-left: 3px solid var(--result-accent, var(--m-lime));
    background: #f3eee1;
  }

  .m-result > div span {
    color: #668078;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
  }

  .m-result > div p {
    margin: 7px 0 0;
    color: #3f5d54;
    font-size: 12px;
    line-height: 1.7;
  }

  .m-restart {
    margin: 0 0 20px;
    padding: 0;
    color: #718981;
    border: 0;
    background: transparent;
    font-size: 11px;
    font-weight: 800;
  }

  .m-result-cta {
    margin-top: 18px;
    box-shadow: none;
    font-size: 13px;
  }

  .m-route {
    background:
      linear-gradient(rgba(16,63,53,.045) 1px, transparent 1px) 0 0 / 100% 38px,
      var(--m-paper);
  }

  .m-route .m-section-heading > p:last-child {
    color: var(--m-muted);
  }

  .m-route-list {
    margin-top: 34px;
    border-top: 1px solid rgba(16,63,53,.24);
  }

  .m-route-row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    padding: 23px 0;
    border-bottom: 1px solid rgba(16,63,53,.18);
  }

  .m-route-row > span {
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--m-forest);
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
  }

  .m-route-row h3 {
    margin: 1px 0 8px;
    color: var(--m-ink);
    font: 700 18px/1.35 "Songti SC", "STSong", serif;
  }

  .m-route-row p {
    margin: 0;
    color: var(--m-muted);
    font-size: 12px;
    line-height: 1.7;
  }

  .m-route-row small {
    display: block;
    margin-top: 10px;
    color: #8ca098;
    font-size: 9px;
    font-weight: 800;
  }

  .m-system {
    color: white;
    background:
      radial-gradient(circle at 85% 20%, rgba(220,232,138,.15), transparent 28%),
      var(--m-deep);
  }

  .m-system .m-kicker {
    color: var(--m-lime);
  }

  .m-system > p:not(.m-kicker) {
    margin: 21px 0 0;
    color: #b8cbc4;
    font-size: 13px;
    line-height: 1.8;
  }

  .m-system-links {
    margin-top: 31px;
    border-top: 1px solid rgba(255,255,255,.2);
  }

  .m-system-links a {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,.2);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
  }

  .m-system-links span {
    color: var(--m-lime);
  }

  .m-contact {
    color: white;
    text-align: center;
    background: radial-gradient(circle at 50% 0, #2a6453, transparent 48%), var(--m-deep);
  }

  .m-contact > p:not(.m-kicker) {
    margin: 20px auto 0;
    color: #b8cbc4;
    font-size: 13px;
    line-height: 1.75;
  }

  .m-contact > a {
    margin-top: 27px;
  }

  .m-sticky-cta {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 70;
    left: 12px;
    right: 12px;
    bottom: max(11px, env(safe-area-inset-bottom));
    padding: 0 18px;
    color: #082f28;
    border: 1px solid rgba(8,47,40,.18);
    border-radius: 8px;
    background: #dce88a;
    box-shadow: 0 12px 34px rgba(8,47,40,.28);
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    transition: opacity .22s ease, transform .22s ease;
  }

  .home-page.m-contact-visible .m-sticky-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
  }

  .m-reveal {
    opacity: 1;
    transform: none;
    transition: opacity .55s ease, transform .55s ease;
  }

  .m-reveal.m-visible {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 360px) {
  .m-hero h1 {
    font-size: 39px;
  }

  .m-goal-options {
    grid-template-columns: 1fr;
  }

  .m-goal-options button:last-child {
    grid-column: auto;
  }

  .m-route-row {
    grid-template-columns: 58px 1fr;
    gap: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .m-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
