/* home.css — the front page (js/home.js). A clean white canvas, the product in motion, hairlines, big type.
   Everything is prefixed hm-. Everything that moves stops under prefers-reduced-motion. See DESIGN.md, "The front page". */

body.home { background-image: none; }
body.home::before { display: none; }

/* rise in as a section scrolls into view (js/home.js mountReveal); --i staggers siblings */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }
.rv.in { opacity: 1; transform: none; }

.hm section { margin-top: 120px; scroll-margin-top: 84px; }
.hm-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.hm-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin: 0 0 16px; }
.hm-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.hm-eyebrow.purple { color: var(--purple); } .hm-eyebrow.green { color: var(--green-ink); } .hm-eyebrow.red { color: var(--red); } .hm-eyebrow.orange { color: #c96a00; }
.hm h2 { font-size: 42px; font-weight: 700; letter-spacing: -.03em; line-height: 1.06; margin: 0 0 16px; }
.hm-sub { font-size: 18.5px; color: var(--ink-2); line-height: 1.55; margin: 0; }
@media (max-width: 720px) { .hm section { margin-top: 76px; } .hm-head { margin-bottom: 30px; } .hm h2 { font-size: 27px; } .hm-sub { font-size: 16.5px; } }
@media (max-width: 420px) { .hm h2 { font-size: 25px; } }

/* ───────── hero ───────── */
.hm .hm-hero { margin-top: 0; padding-top: 64px; text-align: center; }
.hm-kicker { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; align-items: center; padding: 7px 16px; border: 1px solid var(--hair-2); border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: #fff; margin: 0 0 28px; }
.hm-kicker i { width: 4px; height: 4px; border-radius: 50%; background: var(--hair-2); }
.hm-hero h1 { font-size: 66px; font-weight: 800; letter-spacing: -.035em; line-height: 1; margin: 0 auto 24px; max-width: 940px; }
.hm-hero .hm-lede { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 700px; margin: 0 auto 30px; }
.hm-hero .btn-row { justify-content: center; margin: 0 0 14px; }
.hm-fine { font-size: 14px; color: var(--ink-2); margin: 0; }
@media (max-width: 920px) { .hm-hero h1 { font-size: 48px; } }
@media (max-width: 560px) { .hm-hero { padding-top: 34px; } .hm-kicker { font-size: 12.5px; padding: 6px 12px; } .hm-hero h1 { font-size: 36px; letter-spacing: -.03em; } .hm-hero .hm-lede { font-size: 17px; } }

/* the app, playing a lesson */
.hm-stage { position: relative; max-width: 980px; margin: 60px auto 0; }
.hm-glow { position: absolute; inset: -6% 0 -14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(36,87,245,.13), rgba(36,87,245,0)); pointer-events: none; }
.hm-app { position: relative; background: #fff; border: 1px solid var(--hair-2); border-radius: 22px; box-shadow: 0 1px 2px rgba(18,24,38,.05), 0 32px 64px -32px rgba(18,24,38,.3); overflow: hidden; text-align: left; }
.hm-app-top { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--hair); }
.hm-app-x { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--hair-2); display: grid; place-items: center; font-size: 12px; color: var(--ink-3); }
.hm-app-bar { flex: 1; height: 10px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--hair-2); overflow: hidden; }
.hm-app-bar i { display: block; height: 100%; width: 18%; background: var(--green); transition: width .6s cubic-bezier(.2,.7,.2,1); }
.hm-app-where { font-size: 12.5px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.hm-app-body { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; padding: 24px 28px 26px; align-items: start; }
.hm-say { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; margin-bottom: 14px; }
.hm-say .jb { width: 64px; height: 64px; }
.hm-bubble { position: relative; background: var(--blue-soft); border-radius: 16px; padding: 12px 16px; font-size: 17px; font-weight: 600; color: var(--ink); min-height: 50px; display: flex; align-items: center; }
.hm-bubble::before { content: ''; position: absolute; left: -6px; top: 19px; width: 13px; height: 13px; background: var(--blue-soft); transform: rotate(45deg); border-radius: 2px; }
.hm-bubble span { animation: hmLine .35s ease-out; }
@keyframes hmLine { from { opacity: 0; transform: translateY(4px); } }
.hm-ab-wrap { position: relative; max-width: 440px; }
.hm-ab { position: relative; }
.hm-ab .abacus-wrap { margin: 0; gap: 0; }
.hm-ab .abacus { max-width: 100%; transition: opacity .5s, filter .5s; }
.hm-ab .abacus-caption { display: none; }
.hm-ab.mind .abacus { opacity: .14; filter: grayscale(1); }
.hm-ab-mind { position: absolute; inset: 0; display: grid; place-items: center; }
.hm-ab-mind[hidden] { display: none; }
.hm-ab-mind span { background: #fff; border: 1.5px solid var(--ink); border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 15px; box-shadow: var(--shadow-soft); animation: hmPop .4s cubic-bezier(.2,.9,.3,1.3); }
.hm-app-right { display: grid; gap: 12px; align-content: start; }
.hm-ans { border: 1.5px solid var(--hair-2); border-radius: 16px; padding: 14px 16px; }
.hm-lbl, .hm-ans span, .hm-scorecard span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.hm-ans b { display: block; font-family: var(--font-display); font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; min-height: 40px; color: var(--ink); }
.hm-ans b.pop { animation: hmPop .35s cubic-bezier(.2,.9,.3,1.3); }
@keyframes hmPop { from { transform: scale(.85); opacity: 0; } }
.hm-fb { min-height: 28px; font-family: var(--font-hand); font-weight: 700; font-size: 25px; color: var(--green-ink); line-height: 1; }
.hm-fb.show { animation: hmPop .3s ease-out; }
.hm-fb .st { color: var(--yellow); letter-spacing: .04em; -webkit-text-stroke: 1px var(--ink); font-family: var(--font-body); font-size: 24px; }
.hm-scorecard { position: relative; background: var(--ink); color: #fff; border-radius: 16px; padding: 14px 16px; }
.hm-scorecard span { color: rgba(255,255,255,.6); }
.hm-scorecard b { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.hm-scorecard em { position: absolute; right: 14px; top: 14px; font-style: normal; font-weight: 800; color: var(--yellow); opacity: 0; }
.hm-scorecard em.pop { animation: hmDelta 1.3s ease-out; }
@keyframes hmDelta { 0% { opacity: 0; transform: translateY(6px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-14px); } }
.hm-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--hair-2); border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow-soft); font-size: 13px; color: var(--ink-2); line-height: 1.25; }
.hm-chip b { display: block; color: var(--ink); font-size: 14px; }
.hm-chip svg { width: 36px; height: 36px; flex: none; }
.hm-chip-a { left: -26px; bottom: 40px; animation: hmFloat 5s ease-in-out infinite; }
.hm-chip-b { right: -22px; top: 58px; animation: hmFloat 6s ease-in-out 1s infinite; }
@keyframes hmFloat { 50% { transform: translateY(-6px); } }
@media (max-width: 1080px) { .hm-chip-a { left: 10px; } .hm-chip-b { right: 10px; } }
@media (max-width: 720px) {
  .hm-stage { margin-top: 36px; }
  .hm-app { border-radius: 18px; }
  .hm-app-body { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .hm-app-right { grid-template-columns: 1fr 1fr; }
  .hm-fb { grid-column: 1 / -1; order: 3; min-height: 24px; }
  .hm-ans b { font-size: 32px; min-height: 32px; }
  .hm-scorecard b { font-size: 24px; }
  .hm-say { grid-template-columns: 52px 1fr; gap: 10px; }
  .hm-say .jb { width: 52px; height: 52px; }
  .hm-bubble { font-size: 15.5px; padding: 10px 14px; }
  .hm-chip { display: none; }
}

.hm-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; margin: 48px auto 0; padding: 18px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.hm-strip b { color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-right: 7px; letter-spacing: -.01em; }
@media (max-width: 720px) { .hm-strip { gap: 8px 22px; font-size: 13.5px; } }

/* ───────── the problem ───────── */
.hm-problem { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.hm-stat { border-left: 3px solid var(--red); padding-left: 26px; }
.hm-stat b { display: block; font-family: var(--font-display); font-size: 116px; font-weight: 800; letter-spacing: -.05em; line-height: .95; color: var(--ink); font-variant-numeric: tabular-nums; }
.hm-stat p { margin: 12px 0 0; font-size: 18px; color: var(--ink-2); max-width: 34ch; line-height: 1.45; }
.hm-stat small { display: block; margin-top: 10px; font-size: 12.5px; color: var(--ink-3); }
.hm-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hm-vs > div { border: 1px solid var(--hair-2); border-radius: 20px; padding: 24px; background: #fff; }
.hm-vs > div.us { border-color: var(--blue); background: var(--blue-soft); }
.hm-vs h3 { font-family: var(--font-body); font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.hm-vs .us h3 { color: var(--blue); }
.hm-vs ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hm-vs li { font-size: 15.5px; line-height: 1.45; color: var(--ink-2); padding-left: 26px; position: relative; margin: 0; }
.hm-vs li::before { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--hair-2); box-sizing: border-box; }
.hm-vs .us li { color: var(--ink); }
.hm-vs .us li::before { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 3px var(--blue-soft); }
@media (max-width: 920px) { .hm-problem { grid-template-columns: 1fr; gap: 30px; } .hm-stat b { font-size: 84px; } }
@media (max-width: 560px) { .hm-vs { grid-template-columns: 1fr; } .hm-stat b { font-size: 72px; } }

/* ───────── the method, three steps ───────── */
.hm-steps { display: grid; gap: 18px; }
.hm-step { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; border: 1px solid var(--hair); border-radius: 26px; padding: 34px; background: #fff; }
.hm-step:nth-child(even) .hm-step-art { order: 2; }
.hm-step-n { font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: .1em; color: var(--blue); margin-bottom: 12px; }
.hm-step h3 { font-size: 27px; letter-spacing: -.02em; margin: 0 0 12px; line-height: 1.15; }
.hm-step p { color: var(--ink-2); margin: 0; font-size: 16.5px; }
.hm-step-art { background: var(--paper-2); border-radius: 20px; min-height: 280px; display: grid; place-items: center; padding: 22px; position: relative; overflow: hidden; }
.hm-art-cap { margin-top: 10px; font-family: var(--font-hand); font-weight: 600; font-size: 22px; color: var(--ink); text-align: center; min-height: 1.3em; }
.hm-beads { width: 100%; max-width: 300px; }
.hm-beads .abacus-wrap { margin: 0; gap: 0; } .hm-beads .abacus-caption { display: none; }
.hm-mind { width: 100%; max-width: 320px; text-align: center; }
.hm-cloud { position: relative; border: 2px dashed var(--hair-2); border-radius: 44px; padding: 18px 18px 12px; background: #fff; animation: hmBreathe 4.5s ease-in-out infinite; }
@keyframes hmBreathe { 50% { transform: scale(1.02); border-color: var(--blue); } }
.hm-cloud .abacus-wrap { margin: 0; gap: 0; } .hm-cloud .abacus-caption { display: none; }
.hm-cloud .abacus { opacity: .38; }
.hm-eyes { display: flex; justify-content: center; gap: 14px; margin-top: 6px; }
.hm-eyes i { display: block; width: 26px; height: 12px; border-bottom: 3px solid var(--ink); border-radius: 0 0 14px 14px; }
.hm-mind-q { margin-top: 14px; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.hm-mind-q b { color: var(--green-ink); font-weight: 800; display: inline-block; min-width: 2.2ch; text-align: left; }
.hm-mind-q b.pop { animation: hmPop .35s cubic-bezier(.2,.9,.3,1.3); }
.hm-race { width: 100%; }
.hm-race-q { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -.02em; text-align: center; margin-bottom: 14px; }
.hm-race-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hm-racer { background: #fff; border: 1px solid var(--hair-2); border-radius: 16px; padding: 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 164px; }
.hm-racer .who { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.hm-racer .ans { font-family: var(--font-display); font-size: 46px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--green-ink); opacity: 0; margin: 16px 0 4px; }
.hm-racer .ans.pop { opacity: 1; animation: hmPop .4s cubic-bezier(.2,.9,.3,1.3); }
.hm-racer small { font-size: 12.5px; color: var(--ink-3); margin-top: auto; }
.hm-calc { width: 100%; max-width: 124px; }
.hm-calc .scr { height: 30px; border-radius: 6px; background: var(--ink); color: #fff; font-family: var(--font-display); font-size: 13px; display: flex; align-items: center; justify-content: flex-end; padding: 0 8px; letter-spacing: .02em; margin-bottom: 6px; overflow: hidden; white-space: nowrap; }
.hm-calc .keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.hm-calc .keys span { height: 16px; border-radius: 3px; background: var(--paper-2); border: 1px solid var(--hair-2); font-size: 9px; display: grid; place-items: center; color: var(--ink-3); transition: background .12s, color .12s; }
.hm-calc .keys span.hit { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
@media (max-width: 820px) { .hm-step { grid-template-columns: 1fr; gap: 20px; padding: 20px; } .hm-step:nth-child(even) .hm-step-art { order: 0; } .hm-step-art { min-height: 220px; padding: 18px; } .hm-step h3 { font-size: 22px; } .hm-race-q { font-size: 22px; } .hm-racer .ans { font-size: 38px; } }

/* ───────── a day: the five-step loop, then the tiles ───────── */
.hm-loop { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 34px; }
.hm-loop > div { position: relative; padding: 4px 22px 4px 0; }
.hm-loop > div + div { padding-left: 22px; border-left: 1px solid var(--hair); }
.hm-loop .n { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.hm-loop h4 { font-family: var(--font-display); font-size: 17px; margin: 0 0 6px; letter-spacing: -.01em; }
.hm-loop p { font-size: 15px; color: var(--ink-2); margin: 0; }
@media (max-width: 820px) { .hm-loop { grid-template-columns: 1fr; gap: 14px; } .hm-loop > div { display: grid; grid-template-columns: 34px 1fr; gap: 4px 14px; padding: 0 !important; border: 0 !important; } .hm-loop .n { grid-row: 1 / span 2; margin: 0; } .hm-loop h4 { margin: 6px 0 2px; } }
.hm-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hm-tile { border: 1px solid var(--hair-2); border-radius: 22px; padding: 20px 22px 22px; background: #fff; display: flex; flex-direction: column; gap: 16px; transition: transform .25s, box-shadow .25s; }
.hm-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.hm-tile-art.tall { height: auto; min-height: 156px; }
.hm-tile-art { height: 156px; border-radius: 16px; background: var(--paper-2); display: grid; place-items: center; overflow: hidden; position: relative; padding: 14px; }
.hm-tile h3 { font-size: 19px; margin: 0 0 6px; letter-spacing: -.01em; }
.hm-tile p { margin: 0; font-size: 15px; color: var(--ink-2); }
.hm-tile .hm-say { margin: 0; width: 100%; max-width: 300px; }
.hm-tile .hm-bubble { font-size: 15px; padding: 10px 14px; min-height: 0; background: #fff; border: 1.5px solid var(--ink); }
.hm-tile .hm-bubble::before { background: #fff; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.hm-ring-wrap { display: flex; align-items: center; gap: 16px; }
.hm-ring { width: 104px; height: 104px; transform: rotate(-90deg); }
.hm-ring circle { fill: none; stroke-width: 10; }
.hm-ring .t { stroke: var(--hair-2); }
.hm-ring .v { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 283; stroke-dashoffset: 283; transition: stroke-dashoffset 1.3s cubic-bezier(.2,.7,.2,1) .25s; }
.in .hm-ring .v { stroke-dashoffset: 28; }
.hm-ring-txt b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.hm-ring-txt span { font-size: 13px; color: var(--ink-2); display: block; margin-top: 4px; }
.hm-ring-txt .ok { color: var(--green-ink); font-weight: 700; }
.hm-chart { width: 100%; height: 100%; overflow: visible; }
.hm-chart .l { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; }
.in .hm-chart .l { animation: hmDraw 1.7s cubic-bezier(.2,.7,.2,1) .2s forwards; }
@keyframes hmDraw { to { stroke-dashoffset: 0; } }
.hm-chart .a { fill: var(--blue-soft); opacity: 0; }
.in .hm-chart .a { animation: hmFade .8s 1.3s forwards; }
@keyframes hmFade { to { opacity: 1; } }
.hm-chart .dot { fill: var(--blue); stroke: #fff; stroke-width: 2; opacity: 0; }
.in .hm-chart .dot { animation: hmFade .3s 1.8s forwards; }
.hm-chart-num { position: absolute; left: 16px; top: 14px; }
.hm-chart-num b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.hm-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 2px; max-width: 250px; }
.hm-badges span { display: block; width: 44px; height: 44px; opacity: 0; transform: scale(.6); }
.in .hm-badges span { animation: hmBadge .5s cubic-bezier(.2,.9,.3,1.3) forwards; animation-delay: calc(var(--i) * 70ms); }
.hm-badges span svg { width: 100%; height: 100%; }
.hm-badges span.off svg { filter: grayscale(1); opacity: .32; }
@keyframes hmBadge { to { opacity: 1; transform: none; } }
.hm-dash { width: 100%; display: grid; gap: 8px; }
.hm-dash div { background: #fff; border: 1px solid var(--hair); border-radius: 12px; padding: 9px 12px; font-size: 13px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.hm-dash b { font-weight: 700; white-space: nowrap; } .hm-dash span { color: var(--ink-3); white-space: nowrap; }
.hm-dash .st { color: var(--yellow); -webkit-text-stroke: .6px var(--ink); letter-spacing: .05em; }
.hm-devices { display: flex; align-items: flex-end; gap: 14px; }
.hm-devices i { display: block; border: 2px solid var(--ink); border-radius: 10px; background: #fff; position: relative; }
.hm-devices .ph { width: 36px; height: 66px; } .hm-devices .tb { width: 68px; height: 86px; border-radius: 12px; } .hm-devices .lp { width: 116px; height: 72px; border-radius: 8px 8px 2px 2px; }
.hm-devices i::after { content: ''; position: absolute; inset: 8px 6px; border-radius: 4px; background: var(--blue-soft); }
.hm-devices .lp::before { content: ''; position: absolute; left: -10px; right: -10px; bottom: -8px; height: 6px; border-radius: 0 0 6px 6px; background: var(--ink); }
@media (max-width: 920px) { .hm-bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hm-bento { grid-template-columns: 1fr; } .hm-tile-art { height: 140px; } }

/* ───────── the map: ten stages ───────── */
.hm-map { border: 1px solid var(--hair-2); border-radius: 26px; padding: 28px 30px 26px; background: #fff; }
.hm-phases { display: grid; grid-template-columns: repeat(10, 1fr); gap: 0 10px; margin-bottom: 8px; }
.hm-phases span { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--hair-2); padding-bottom: 8px; white-space: nowrap; }
.hm-phases span:nth-child(1) { grid-column: span 4; } .hm-phases span:nth-child(2) { grid-column: span 3; } .hm-phases span:nth-child(3) { grid-column: span 3; }
.hm-road { position: relative; display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; padding: 16px 0 6px; }
.hm-road::before { content: ''; position: absolute; left: 5%; right: 5%; top: 45px; height: 2px; background: var(--hair-2); }
.hm-road .fill { position: absolute; left: 5%; top: 45px; height: 2px; background: var(--blue); width: 0; transition: width .5s cubic-bezier(.2,.7,.2,1); }
.hm-node { position: relative; z-index: 1; background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; font: inherit; color: var(--ink-2); -webkit-tap-highlight-color: transparent; }
.hm-node .b { width: 58px; height: 58px; border-radius: 50%; background: #fff; border: 2px solid var(--hair-2); display: grid; place-items: center; transition: transform .35s cubic-bezier(.2,.9,.3,1.3), border-color .3s, box-shadow .3s; }
.hm-node .b svg { width: 42px; height: 42px; }
.hm-node .k { font-size: 11px; font-weight: 700; color: var(--ink-3); letter-spacing: .06em; }
.hm-node .nm { font-family: var(--font-display); font-size: 12.5px; font-weight: 700; color: var(--ink-2); letter-spacing: -.01em; }
.hm-node:focus-visible .b { outline: 3px solid var(--blue); outline-offset: 2px; }
.hm-node.past .b { border-color: var(--blue); }
.hm-node.on .b { border-color: var(--blue); transform: scale(1.12); box-shadow: 0 0 0 6px var(--blue-soft); }
.hm-node.on .nm, .hm-node.on .k { color: var(--ink); }
.hm-panel { margin-top: 22px; display: grid; grid-template-columns: 112px 1.05fr .95fr; gap: 28px; align-items: start; padding-top: 22px; border-top: 1px solid var(--hair); }
.hm-panel .big svg { width: 104px; height: 104px; }
.hm-panel h3 { font-size: 26px; margin: 0 0 6px; letter-spacing: -.02em; }
.hm-panel .time { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--hair-2); border-radius: 999px; padding: 4px 11px; margin-bottom: 12px; }
.hm-panel p { margin: 0; color: var(--ink-2); font-size: 16px; }
.hm-panel-in { animation: hmLine .35s ease-out; }
.hm-map-note { margin: 14px 0 0; font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 920px) {
  .hm-map { padding: 18px 16px 20px; }
  .hm-phases { display: none; }
  .hm-road { display: flex; overflow-x: auto; gap: 18px; scroll-snap-type: x mandatory; padding: 6px 4px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hm-road::-webkit-scrollbar { display: none; }
  .hm-road::before, .hm-road .fill { display: none; }
  .hm-node { flex: 0 0 74px; scroll-snap-align: center; }
  .hm-panel { grid-template-columns: 1fr; gap: 14px; margin-top: 10px; }
  .hm-panel .big { display: none; }
  .hm-panel h3 { font-size: 22px; }
}

/* ───────── the science ───────── */
.hm-sci { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hm-sci > div { border: 1px solid var(--hair-2); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.hm-sci b { font-family: var(--font-display); font-size: 25px; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; color: var(--purple); }
.hm-sci p { margin: 0; font-size: 15px; color: var(--ink-2); flex: 1; }
.hm-sci small { font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }
.hm-sci-note { margin: 20px 0 0; font-size: 15.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: baseline; }
.hm-sci-note .link-arrow { white-space: nowrap; }
@media (max-width: 920px) { .hm-sci { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hm-sci { grid-template-columns: 1fr; } }

/* ───────── the parent's part ───────── */
.hm-parent { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hm-parent > div { border-radius: 22px; padding: 28px; }
.hm-parent .do { background: var(--yellow-soft); }
.hm-parent .gone { background: var(--paper-2); }
.hm-parent h3 { font-size: 18px; margin: 0 0 16px; }
.hm-parent ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hm-parent li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 16px; color: var(--ink); margin: 0; align-items: start; }
.hm-parent li svg { width: 22px; height: 22px; margin-top: 2px; }
.hm-parent .gone li { color: var(--ink-2); }
.hm-parent .gone li s { text-decoration-color: rgba(18,24,38,.4); text-decoration-thickness: 1.5px; }
.hm-parent .btn-row { margin: 18px 0 0; }
@media (max-width: 720px) { .hm-parent { grid-template-columns: 1fr; } .hm-parent > div { padding: 22px 20px; } }

/* ───────── the price ───────── */
.hm-price { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; align-items: stretch; max-width: 940px; margin: 0 auto; }
.hm-price.one { grid-template-columns: minmax(0, 620px); justify-content: center; }
.hm-plan { border: 1px solid var(--hair-2); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.hm-plan.paid { border: 2px solid var(--ink); box-shadow: var(--shadow-soft); }
.hm-plan .nm { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.hm-plan .amt { font-family: var(--font-display); font-size: 50px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.hm-plan .amt small { font-family: var(--font-body); font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); margin-left: 4px; }
.hm-plan p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.hm-plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 15px; flex: 1; align-content: start; }
.hm-plan li { padding-left: 24px; position: relative; margin: 0; }
.hm-plan li::before { content: ''; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.hm-plan .btn-row { margin: 6px 0 0; }
.hm-plan .hm-fine { margin-top: 2px; }
@media (max-width: 760px) { .hm-price { grid-template-columns: 1fr; } .hm-plan { padding: 24px 20px; } .hm-plan .amt { font-size: 42px; } }

/* ───────── questions ───────── */
.hm-faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--hair); }
.hm-faq details { border-bottom: 1px solid var(--hair); }
.hm-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: flex-start; align-items: center; gap: 14px; padding: 19px 0; font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -.01em; } /* the site's circled + marker (css/style.css summary::before) stays */
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq p { margin: -4px 0 20px 38px; color: var(--ink-2); font-size: 16px; max-width: 66ch; }
@media (max-width: 560px) { .hm-faq summary { font-size: 15.5px; padding: 16px 0; } }

/* ───────── one more button ───────── */
.hm-cta { background: var(--ink); color: #fff; border-radius: 28px; padding: 68px 32px; text-align: center; position: relative; overflow: hidden; }
.hm-cta::before { content: ''; position: absolute; left: 50%; top: -40%; width: 70%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(36,87,245,.5), rgba(36,87,245,0)); pointer-events: none; }
.hm-cta > * { position: relative; }
.hm-cta h2 { color: #fff; margin-bottom: 12px; }
.hm-cta p { color: rgba(255,255,255,.72); font-size: 18px; max-width: 580px; margin: 0 auto 28px; }
.hm-cta .btn-row { justify-content: center; margin: 0; }
.hm-cta .btn { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.hm-cta .btn.secondary { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.hm-cta .btn:hover { box-shadow: none; transform: translateY(-1px); }
@media (max-width: 720px) { .hm-cta { padding: 46px 20px; border-radius: 22px; } .hm-cta p { font-size: 16.5px; } }

/* no motion when the visitor asked for none */
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .hm *, .hm *::before, .hm *::after { animation: none !important; transition: none !important; }
  .in .hm-ring .v { stroke-dashoffset: 28; }
  .hm-chart .l { stroke-dashoffset: 0; } .hm-chart .a, .hm-chart .dot { opacity: 1; }
  .hm-badges span { opacity: 1; transform: none; }
  .hm-racer .ans { opacity: 1; }
}
