/* Home page only (index.html), loaded after site.css. games/index.html shares site.css but not
   this file, so every rule here can restyle shared classes without touching the games page.
   New elements are prefixed hm-. Motion follows site.css: hidden start states sit behind html.js,
   they are released by the .in class site.js adds to .reveal / .ladder / .how-steps / .ui, and the
   reduced-motion block at the bottom turns all of it off. */

:root {
  --hm-mint: #7fd1ad;
  --hm-glow: rgba(14, 143, 98, .18);
  --hm-grad: linear-gradient(120deg, #0a6b4a 0%, #0e8f62 45%, #1fb57f 100%);
}

/* ---------- Shared bits ---------- */
.hm-grad-text, .hero h1 b, .closing h2 b, .proof-item b, .hm-wall figcaption b, .hm-free, .fp-card.get .fp-lead {
  background: var(--hm-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sw { position: relative; flex: none; width: 34px; height: 20px; border-radius: 999px; background: var(--line-strong); transition: background-color .35s ease; }
.sw i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .35s cubic-bezier(.3, .7, .2, 1.2); }
.sw.on { background: var(--accent); }
.sw.on i { transform: translateX(14px); }

/* ---------- Hero: a soft emerald glow, a dot grid, and channel bubbles drifting round the card ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38% 55% at 76% 42%, rgba(14, 143, 98, .2), transparent 70%),
    radial-gradient(30% 45% at 8% 6%, rgba(127, 209, 173, .28), transparent 70%),
    radial-gradient(28% 40% at 45% 100%, rgba(127, 209, 173, .16), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(10, 107, 74, .16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(48% 62% at 74% 46%, #000 20%, transparent 75%);
  mask-image: radial-gradient(48% 62% at 74% 46%, #000 20%, transparent 75%);
}
.hero h1 b, .closing h2 b { padding-bottom: .12em; margin-bottom: -.12em; }
.hero h1 b { background-size: 200% 100%; animation: hm-sheen 8s ease-in-out infinite; }
@keyframes hm-sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.demo { isolation: isolate; }
.demo::before {
  content: ""; position: absolute; inset: 14% -4% -8% -4%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(14, 143, 98, .32), rgba(127, 209, 173, .14) 60%, transparent);
  filter: blur(28px);
}
.hm-orbit { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hm-bub {
  position: absolute; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); border: 1px solid #e3ece7;
  box-shadow: 0 16px 32px -14px rgba(10, 107, 74, .45);
  animation: hm-float 6s ease-in-out infinite;
}
.hm-bub img { width: 24px; height: 24px; }
.hm-bub.b2 { top: 30%; left: -34px; animation-delay: -2.5s; }
.hm-bub.b3 { bottom: 26%; right: -30px; width: 44px; height: 44px; border-radius: 14px; animation-delay: -4s; }
.hm-bub.b3 img { width: 20px; height: 20px; }

/* ---------- Hero: the approve stack (assets/home.js) ----------
   Five cards; data-d is each card's depth (0 = top). The two below the top peek out as plain shells;
   deeper ones wait out of sight. home.js moves the top card off (.out), then to the back (.reset turns
   transitions off for that jump). Without JS the markup's data-d values make a still stack. */
.hm-deck-demo { --ch: 254px; }   /* fallbacks; home.js sets --ch to the tallest card */
.hm-deck-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.hm-deck-lbl { font-family: 'Fira Mono', monospace; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--body-subtle); }
.hm-rate {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 10px 24px -14px rgba(10, 107, 74, .5);
}
.hm-rate small { font-family: 'Fira Mono', monospace; font-size: 10.5px; letter-spacing: .8px; text-transform: uppercase; color: var(--body-subtle); }
.hm-rate-stars { position: relative; font-size: 15px; line-height: 1; letter-spacing: 1px; white-space: nowrap; color: var(--line-strong); }
.hm-rate-stars span { position: absolute; left: 0; top: 0; width: 74%; overflow: hidden; color: var(--accent); transition: width .8s cubic-bezier(.2, .7, .2, 1); }
.hm-rate b { font-size: 10px; color: var(--accent); animation: hm-bob 1.6s ease-in-out infinite; }
@keyframes hm-bob { 0%, 100% { transform: translateY(1px); } 50% { transform: translateY(-2px); } }

.hm-deck { position: relative; isolation: isolate; height: calc(var(--ch) + 34px); }
.hm-card {
  position: absolute; left: 0; right: 0; top: 0; height: var(--ch); overflow: hidden;
  display: flex; flex-direction: column; gap: 12px; padding: 20px 22px;
  border-radius: 20px; background: var(--paper); border: 1px solid #dfe9e3;
  box-shadow: 0 34px 70px -38px rgba(10, 107, 74, .55);
  transform-origin: 50% 100%;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), opacity .45s ease, box-shadow .4s ease, background-color .4s ease;
}
.hm-card > * { transition: opacity .35s ease; }
.hm-card[data-d="0"] { z-index: 5; }
.hm-card[data-d="1"] { z-index: 4; transform: translateY(17px) scale(.955); background: #f9fcfa; }
.hm-card[data-d="2"] { z-index: 3; transform: translateY(34px) scale(.91); background: #f2f8f4; }
.hm-card[data-d="3"], .hm-card[data-d="4"] { z-index: 1; transform: translateY(34px) scale(.91); opacity: 0; }
.hm-card:not([data-d="0"]) { pointer-events: none; box-shadow: 0 18px 40px -30px rgba(10, 107, 74, .45); }
.hm-card:not([data-d="0"]) > * { opacity: 0; }
.hm-card.out { z-index: 6; transform: translate(118%, -18px) rotate(9deg); opacity: 0; transition: transform .6s cubic-bezier(.55, 0, .7, .9), opacity .45s ease .12s; }
.hm-card.reset, .hm-card.reset > * { transition: none !important; }

.hm-card-hd { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hm-card-ch { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--ground); border: 1px solid var(--line); }
.hm-card-ch img { width: 17px; height: 17px; }
.hm-card-stars { font-size: 14px; letter-spacing: 1.5px; white-space: nowrap; }
.hm-card-stars s { text-decoration: none; opacity: .25; }
.hm-card-stars.s1, .hm-card-stars.s2 { color: var(--neg); }
.hm-card-stars.s5 { color: var(--accent); }
.hm-card-tag { font-family: 'Fira Mono', monospace; font-size: 11px; padding: 3px 8px; border-radius: 6px; background: var(--ground); border: 1px solid var(--line); color: var(--body-moderate); }
.hm-card-who { margin-left: auto; min-width: 0; font-size: 12.5px; color: var(--body-subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-card-q { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 20px; line-height: 27px; letter-spacing: -0.01em; color: var(--ink); }
.hm-card-dr { position: relative; padding: 11px 14px 12px; border-radius: 13px; background: #eef8f2; border: 1px solid #cfe9da; }
.hm-card-dr small { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-family: 'Fira Mono', monospace; font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent-deep); }
.hm-card-dr small .ic { width: 13px; height: 13px; }
.hm-card-dr span { display: block; font-size: 15px; line-height: 22px; color: #11392a; transition: opacity .3s ease; }
.hm-card-dr i {
  position: absolute; left: 14px; top: 37px; width: 72%; height: 10px; border-radius: 5px; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, #cfe9da 0%, #9fd3bb 50%, #cfe9da 100%) 0 0 / 200% 100%;
  box-shadow: 0 0 0 0 transparent; transition: opacity .25s ease; animation: hm-shim 1.1s linear infinite;
}
@keyframes hm-shim { to { background-position: -200% 0; } }
.hm-card.drafting .hm-card-dr span { opacity: 0; }
.hm-card.drafting .hm-card-dr i { opacity: 1; }
.hm-card-ft { margin-top: auto; display: flex; align-items: center; gap: 8px; min-width: 0; transition: opacity .3s ease; }
.hm-card.drafting .hm-card-ft { opacity: .4; }
.hm-card-ok {
  flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 10px; cursor: pointer;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 600;
  box-shadow: 0 10px 20px -10px rgba(14, 143, 98, .85); transition: transform .15s ease, background-color .2s ease;
}
.hm-card-ok .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.hm-card-ok:hover { background: var(--accent-deep); }
.hm-card.pressed .hm-card-ok { transform: scale(.93); background: var(--accent-deep); }
.hm-card-ed { flex: none; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--body-moderate); }
.hm-card-ft em { margin-left: auto; min-width: 0; padding: 4px 10px 4px 8px; border-radius: 999px; border: 1px solid var(--line); font-style: normal; font-size: 12px; color: var(--body-moderate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-card-ft em::before { content: "\2315  "; color: var(--body-subtle); }
.hm-card-rule { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 10px; background: var(--accent-wash); border: 1px solid var(--accent-line); color: var(--accent-deep); font-size: 13.5px; font-weight: 600; }
.hm-card-rule .ic { width: 15px; height: 15px; }
.hm-stamp {
  position: absolute; right: 22px; top: 20px; padding: 5px 14px; border: 2.5px solid var(--accent); border-radius: 10px; pointer-events: none;
  background: rgba(255, 255, 255, .92); color: var(--accent); font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: .02em;
  opacity: 0; transform: rotate(-9deg) scale(1.8);
  transition: transform .35s cubic-bezier(.3, .7, .2, 1.35), opacity .2s ease;
}
.hm-card.posted .hm-stamp { opacity: 1; transform: rotate(-9deg) scale(1); }
.hm-card.posted { box-shadow: 0 0 0 3px rgba(14, 143, 98, .18), 0 34px 70px -38px rgba(10, 107, 74, .65); }

.hm-deck-foot { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.hm-deck-count { flex: none; min-width: 128px; font-size: 13.5px; }
.hm-deck-count b { font-weight: 600; color: var(--body-moderate); }
.hm-deck-count b span { color: var(--ink); font-variant-numeric: tabular-nums; }
.hm-deck-count em { display: none; align-items: center; gap: 6px; font-style: normal; font-weight: 700; color: var(--accent-deep); }
.hm-deck-count em .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.hm-deck-foot.all .hm-deck-count b { display: none; }
.hm-deck-foot.all .hm-deck-count em { display: inline-flex; }
.hm-deck-bar { flex: 1; height: 8px; border-radius: 999px; background: #e3ece7; overflow: hidden; }
.hm-deck-bar i { display: block; width: 78.3%; height: 100%; border-radius: inherit; background: var(--hm-grad); transition: width .6s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease; }
.hm-deck-foot.all .hm-deck-bar i { box-shadow: 0 0 14px rgba(14, 143, 98, .7); }
@keyframes hm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Proof band: gradient numerals on a faint wash ---------- */
.proof { background: linear-gradient(180deg, #ffffff, #f9fcfa); }
.proof-item .ico { box-shadow: 0 8px 18px -10px rgba(10, 107, 74, .5); }
.proof-item .ico.neg { box-shadow: 0 8px 18px -10px rgba(196, 86, 74, .5); }

/* ---------- Why it matters: the review wall, the chart, three one-line facts ---------- */
.problem { position: relative; overflow: hidden; isolation: isolate; }
.problem::before {
  content: ""; position: absolute; left: 50%; top: 40%; width: 1100px; height: 700px; transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(127, 209, 173, .22), transparent);
}
.problem .wrap { display: block; }
.problem .sec-head { position: static; }
.hm-proof { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; margin-top: 52px; align-items: stretch; }

.hm-wall {
  display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 28px; align-items: center;
  padding: 28px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -44px rgba(28, 28, 26, .45);
}
.hm-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
.hm-t {
  position: relative; display: flex; flex-direction: column; gap: 6px; aspect-ratio: 1 / .74; padding: 9px 7px;
  border-radius: 11px; background: var(--ground); border: 1px solid var(--line);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1), background-color .5s ease, border-color .5s ease, box-shadow .5s ease;
}
.hm-t .st { font-size: 8.5px; line-height: 1; letter-spacing: 0; white-space: nowrap; overflow: hidden; }
.hm-t .st s { text-decoration: none; opacity: .28; }
.hm-t.s1 .st, .hm-t.s2 .st { color: var(--neg); }
.hm-t.s3 .st { color: var(--amber); }
.hm-t.s4 .st, .hm-t.s5 .st { color: var(--accent-deep); }
.hm-t u { display: block; height: 5px; border-radius: 3px; background: var(--line-strong); opacity: .7; }
.hm-t u + u { width: 62%; }
.hm-t:not(.on) { opacity: .62; }
.hm-t.on { background: #eaf6ef; border-color: #93cfb3; box-shadow: 0 0 0 3px rgba(14, 143, 98, .12), 0 12px 24px -12px rgba(14, 143, 98, .6); }
.hm-t.on u { background: #9fd3bb; }
.hm-t em {
  position: absolute; right: -7px; bottom: -7px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.3 8.3l2.4 2.4 5-5.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
  box-shadow: 0 0 0 3px var(--paper);
  transition: transform .45s cubic-bezier(.3, .7, .2, 1.4);
}
.hm-wall figcaption { display: flex; flex-direction: column; gap: 6px; }
.hm-wall figcaption b { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 60px; line-height: 1; letter-spacing: -0.04em; }
.hm-wall figcaption > span:not(.cite):not(.hm-legend) { font-size: 16px; line-height: 23px; color: var(--body-moderate); }
.hm-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 8px; font-family: 'Fira Mono', monospace; font-size: 10.5px; letter-spacing: .6px; text-transform: uppercase; color: var(--body-subtle); }
.hm-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--ground); border: 1px solid var(--line-strong); }
.hm-legend i.on { background: var(--accent); border-color: var(--accent); }
.hm-legend > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

/* wall motion: every tile lands row by row, then the five answered ones light up */
html.js .hm-wall:not(.in) .hm-t { opacity: 0; transform: translateY(8px) scale(.94); }
html.js .hm-wall .hm-t:nth-child(n+6) { transition-delay: .08s; }
html.js .hm-wall .hm-t:nth-child(n+11) { transition-delay: .16s; }
html.js .hm-wall .hm-t:nth-child(n+16) { transition-delay: .24s; }
html.js .hm-wall:not(.in) .hm-t.on { background: var(--ground); border-color: var(--line); box-shadow: none; }
html.js .hm-wall.in .hm-t.on { transition-delay: .2s, .2s, .9s, .9s, .9s; }
html.js .hm-wall:not(.in) .hm-t em { transform: scale(0); }
html.js .hm-wall.in .hm-t em { transition-delay: 1.15s; }

.problem .chart {
  display: flex; flex-direction: column; justify-content: center;
  padding: 28px 30px 24px; border-radius: 22px; box-shadow: 0 30px 60px -44px rgba(28, 28, 26, .45);
}
.problem .chart h3 { font-size: 18px; line-height: 24px; }
.problem .bars { gap: 18px; margin-top: 26px; }
.problem .bar { grid-template-columns: 96px 1fr 64px; }
.problem .bar i { height: 40px; border-radius: 10px; }
.problem .bar.hi i { background: var(--hm-grad); box-shadow: 0 10px 22px -10px rgba(14, 143, 98, .7); }
.problem .bar b { font-size: 22px; }

.hm-facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.hm-facts li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 20px 22px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.hm-facts .ico { width: 44px; height: 44px; border-radius: 13px; }
.hm-facts b { display: block; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 17px; line-height: 23px; color: var(--ink); }
.hm-facts div > span:not(.cite) { display: block; font-size: 14.5px; line-height: 21px; color: var(--body-moderate); }
.hm-facts .cite { display: block; margin-top: 6px; font-size: 11.5px; line-height: 16px; }

/* ---------- Feature rows: a glow and dot grid behind each mockup, chips instead of paragraphs ---------- */
.rows .row-media { position: relative; isolation: isolate; }
.rows .row-media::before {
  content: ""; position: absolute; inset: -56px -24px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(14, 143, 98, .2), rgba(127, 209, 173, .1) 55%, transparent),
    radial-gradient(rgba(10, 107, 74, .2) 1px, transparent 1.4px) 0 0 / 18px 18px;
  -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent);
  mask-image: radial-gradient(closest-side, #000 45%, transparent);
}
.rows .row.flip .row-media::before { background: radial-gradient(closest-side, rgba(127, 209, 173, .3), rgba(14, 143, 98, .08) 60%, transparent), radial-gradient(rgba(10, 107, 74, .2) 1px, transparent 1.4px) 0 0 / 18px 18px; }
.rows .ui { box-shadow: 0 40px 80px -46px rgba(10, 107, 74, .55), 0 0 0 1px rgba(255, 255, 255, .6) inset; transition: transform .35s ease, box-shadow .35s ease; }
.rows .ui:hover, html.js .rows .ui.reveal.in:hover { transform: translateY(-4px); box-shadow: 0 50px 90px -46px rgba(10, 107, 74, .65); }
.row-copy p { font-size: 18px; line-height: 28px; }
.row-copy .lbl { font-size: 12px; line-height: 16px; }
.row-copy .lbl { align-self: flex-start; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--accent-wash); border: 1px solid var(--accent-line); }

.hm-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.hm-chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink);
  box-shadow: 0 6px 14px -10px rgba(28, 28, 26, .35);
}
.hm-chips .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--accent-wash); color: var(--accent-deep); stroke-width: 2; }
html.js .row-copy.reveal:not(.in) .hm-chips li { opacity: 0; transform: translateY(8px); }
.row-copy .hm-chips li { transition: opacity .45s ease, transform .45s cubic-bezier(.2, .7, .2, 1); }
.row-copy .hm-chips li:nth-child(1) { transition-delay: .25s; }
.row-copy .hm-chips li:nth-child(2) { transition-delay: .35s; }
.row-copy .hm-chips li:nth-child(3) { transition-delay: .45s; }
.row-copy .hm-chips li:nth-child(4) { transition-delay: .55s; }

.hm-chans { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-ch { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 8px 16px -12px rgba(28, 28, 26, .4); }
.hm-ch img { width: 22px; height: 22px; }
.hm-ch.rd { background: transparent; border-style: dashed; border-color: var(--line-strong); box-shadow: none; }
.hm-ch:nth-child(6) { margin-left: 12px; }
html.js .row-copy.reveal:not(.in) .hm-ch { opacity: 0; transform: scale(.7); }
.row-copy .hm-ch { transition: opacity .4s ease, transform .4s cubic-bezier(.3, .7, .2, 1.4); }
.row-copy .hm-ch:nth-child(2) { transition-delay: .06s; } .row-copy .hm-ch:nth-child(3) { transition-delay: .12s; } .row-copy .hm-ch:nth-child(4) { transition-delay: .18s; }
.row-copy .hm-ch:nth-child(5) { transition-delay: .24s; } .row-copy .hm-ch:nth-child(6) { transition-delay: .3s; } .row-copy .hm-ch:nth-child(7) { transition-delay: .36s; } .row-copy .hm-ch:nth-child(8) { transition-delay: .42s; }
.row-copy .hm-ask {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px 16px 16px 4px;
  background: var(--ink); color: rgba(255, 255, 255, .72); font-size: 15px; line-height: 22px;
  box-shadow: 0 16px 30px -18px rgba(28, 28, 26, .7);
}
.hm-ask b { color: #fff; font-weight: 600; }
.hm-ask .ic { color: var(--hm-mint); }

/* ---------- Control: a glow over the dark band, a tiny product scene in each level ---------- */
.control { position: relative; overflow: hidden; isolation: isolate; }
.control::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 1200px; height: 620px; transform: translate(-50%, -45%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(14, 143, 98, .4), transparent);
}
.ladder li { display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)); }
.ladder li.start { box-shadow: 0 0 0 1px rgba(127, 209, 173, .3), 0 24px 60px -30px rgba(127, 209, 173, .55); }
.ladder p { font-size: 16px; }
.ladder li.start::after { order: 10; }
.hm-mini { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 20px; }
.hm-mrow { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 10px; border-radius: 11px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; }
.hm-mrow > i { font-style: normal; font-size: 10.5px; letter-spacing: 1px; color: var(--hm-mint); }
.hm-mrow > i.s1 { color: #ff8f80; }
.hm-mrow u { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.hm-mrow b.go { padding: 5px 11px; border-radius: 7px; background: var(--accent); color: #fff; font-weight: 600; font-size: 12px; }
.hm-mrow b.ok { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(127, 209, 173, .18); color: var(--hm-mint); font-size: 12px; }
.hm-toggle > span { flex: 1; color: rgba(255, 255, 255, .82); font-size: 13px; }
.hm-toggle .sw { background: var(--accent); }
.hm-toggle .sw i { transform: translateX(14px); }
html.js .ladder:not(.in) .hm-toggle .sw { background: rgba(255, 255, 255, .2); }
html.js .ladder:not(.in) .hm-toggle .sw i { transform: none; }
html.js .ladder.in .hm-toggle .sw, html.js .ladder.in .hm-toggle .sw i { transition-delay: 1.5s; }
html.js .ladder:not(.in) .hm-mrow b.ok { transform: scale(0); }
.hm-mrow b.ok { transition: transform .35s cubic-bezier(.3, .7, .2, 1.5); }
html.js .ladder.in li:nth-child(2) .hm-mrow:nth-child(1) b.ok { transition-delay: 1s; }
html.js .ladder.in li:nth-child(2) .hm-mrow:nth-child(2) b.ok { transition-delay: 1.12s; }
html.js .ladder.in li:nth-child(2) .hm-mrow:nth-child(3) b.ok { transition-delay: 1.24s; }
.control .note { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .78); }
.control .note .ic { color: var(--hm-mint); }

/* ---------- Audience: an illustrated header on each card ---------- */
.aud-card { overflow: hidden; }
.aud-card h3 { margin-top: 6px; }
.aud-card p { font-size: 16.5px; line-height: 25px; }
.hm-art {
  position: relative; height: 176px; margin: -12px -12px 4px; border-radius: 14px; overflow: hidden;
  background: radial-gradient(60% 80% at 50% 50%, rgba(14, 143, 98, .2), transparent 70%), linear-gradient(140deg, #eef8f2, #f8fbf9);
  border: 1px solid #e1ece6;
}
.hm-art.games { background: radial-gradient(60% 80% at 50% 50%, rgba(31, 181, 127, .35), transparent 70%), linear-gradient(140deg, #16241e, #1c1c1a); border-color: #233b31; }
.hm-art::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(10, 107, 74, .22) 1px, transparent 1.4px); background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent);
}
.hm-art.games::before { background-image: radial-gradient(rgba(127, 209, 173, .25) 1px, transparent 1.4px); }
.hm-art-ico {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 22px; display: grid; place-items: center;
  background: var(--hm-grad); color: #fff; box-shadow: 0 18px 36px -14px rgba(14, 143, 98, .8), 0 0 0 8px rgba(255, 255, 255, .5);
}
.hm-art.games .hm-art-ico { box-shadow: 0 18px 36px -14px rgba(31, 181, 127, .9), 0 0 0 8px rgba(255, 255, 255, .08); }
.hm-art-ico .ic { width: 34px; height: 34px; stroke-width: 1.6; }
.hm-art-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; white-space: nowrap;
  background: var(--paper); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink);
  box-shadow: 0 10px 22px -12px rgba(28, 28, 26, .45); animation: hm-float 6s ease-in-out infinite;
}
.hm-art-chip b { font-size: 11px; letter-spacing: 1px; }
.hm-art-chip b.neg { color: var(--neg); }
.hm-art-chip img { width: 14px; height: 14px; }
.hm-art-chip .ic { width: 15px; height: 15px; }
.hm-art-chip.ok { background: var(--accent); border-color: var(--accent); color: #fff; }
.hm-art-chip.c1 { left: 6%; top: 16%; animation-delay: -1s; }
.hm-art-chip.c2 { right: 6%; top: 30%; animation-delay: -3s; }
.hm-art-chip.c3 { left: 14%; bottom: 14%; animation-delay: -4.5s; }

/* ---------- How it works: a small scene at the foot of each step ---------- */
.how-step { overflow: hidden; }
.how-step .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--hm-grad); border: 0; color: #fff; box-shadow: 0 12px 24px -12px rgba(14, 143, 98, .8); }
.how-step .ico .ic { width: 22px; height: 22px; }
.how-steps::before, .how-steps::after { top: 54px; }
.how-step p { font-size: 15.5px; }
.how-step .hm-step-art { margin-top: auto; padding-top: 18px; display: flex; align-items: center; min-height: 74px; }
.how-step .time { margin-top: 0; }
.hm-free { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.04em; }
.hm-free-sub { margin-left: 12px; font-family: 'Fira Mono', monospace; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--body-subtle); }
.hm-plug { display: flex; align-items: center; gap: 0; }
.hm-plug img { box-sizing: content-box; width: 22px; height: 22px; padding: 10px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 8px 16px -12px rgba(28, 28, 26, .5); }
.hm-plug img + img { margin-left: 22px; position: relative; }
.hm-plug { background: linear-gradient(var(--accent-line), var(--accent-line)) 20px 50% / calc(100% - 40px) 2px no-repeat; }
html.js .how-step.reveal:not(.in) .hm-plug img { opacity: 0; transform: translateY(6px); }
.hm-plug img { transition: opacity .4s ease, transform .4s cubic-bezier(.3, .7, .2, 1.4); }
.hm-plug img:nth-child(2) { transition-delay: .5s; } .hm-plug img:nth-child(3) { transition-delay: .62s; } .hm-plug img:nth-child(4) { transition-delay: .74s; }
.hm-plug img:nth-child(1) { transition-delay: .38s; }
.hm-approve {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 600; font-size: 15px;
  box-shadow: 0 14px 28px -14px rgba(14, 143, 98, .9); animation: hm-ring 2.6s ease-out infinite;
}
.hm-approve .ic { width: 18px; height: 18px; stroke-width: 2.2; }
@keyframes hm-ring { 0% { box-shadow: 0 14px 28px -14px rgba(14, 143, 98, .9), 0 0 0 0 rgba(14, 143, 98, .35); } 70%, 100% { box-shadow: 0 14px 28px -14px rgba(14, 143, 98, .9), 0 0 0 14px rgba(14, 143, 98, 0); } }

/* ---------- Why Eirin: bento ---------- */
.why { position: relative; overflow: hidden; isolation: isolate; }
.why::before {
  content: ""; position: absolute; left: 50%; bottom: -200px; width: 1200px; height: 600px; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(127, 209, 173, .25), transparent);
}
.hm-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.hm-b {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 22px; border-radius: 22px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 24px 50px -40px rgba(28, 28, 26, .5);
}
.hm-b.wide { grid-column: span 2; }
.hm-b > b { margin-top: 14px; padding: 0 4px; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 19px; line-height: 25px; letter-spacing: -0.01em; color: var(--ink); }
.hm-b > p { padding: 0 4px; font-size: 14.5px; line-height: 21px; color: var(--body-moderate); }
html.js .hm-b.reveal.in:hover, .hm-b:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: 0 30px 60px -36px rgba(10, 107, 74, .5); }
.hm-b { transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.hm-bv {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 128px; padding: 16px; border-radius: 15px; overflow: hidden;
  background: radial-gradient(80% 90% at 50% 0%, rgba(127, 209, 173, .28), transparent 70%), linear-gradient(170deg, #f2f9f5, #f7f7f5);
  border: 1px solid #e4eee8;
}
.hm-bv-chans { flex-direction: row; justify-content: flex-start; align-items: center; gap: 22px; flex-wrap: wrap; }
.hm-bv-chans > div { display: flex; flex-direction: column; gap: 8px; }
.hm-bv-chans small { font-family: 'Fira Mono', monospace; font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--body-subtle); }
.hm-bv-chans span { display: flex; gap: 8px; flex-wrap: wrap; }
.hm-bv-chans img { box-sizing: content-box; width: 22px; height: 22px; padding: 10px; border-radius: 13px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 8px 16px -12px rgba(28, 28, 26, .5); }
.hm-bv-chans > div + div img { background: transparent; border-style: dashed; border-color: var(--line-strong); box-shadow: none; }
.hm-bv-sw span { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 11px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink); }
.hm-bv-sw .sw.late { background: var(--accent); }
.hm-bv-sw .sw.late i { transform: translateX(14px); }
html.js .hm-b:not(.in) .hm-bv-sw .sw.late { background: var(--line-strong); }
html.js .hm-b:not(.in) .hm-bv-sw .sw.late i { transform: none; }
html.js .hm-b.in .hm-bv-sw .sw.late, html.js .hm-b.in .hm-bv-sw .sw.late i { transition-delay: 1s; }
.hm-bv-mate { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; }
.hm-bv-mate .av {
  position: relative; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none;
  background: var(--hm-grad); color: #fff; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 22px; box-shadow: 0 12px 24px -12px rgba(14, 143, 98, .8);
}
.hm-bv-mate .av::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; border-radius: 50%; background: #2fd18f; border: 3px solid #f2f9f5; animation: hm-pulse 2.4s ease-in-out infinite; }
@keyframes hm-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 209, 143, .5); } 50% { box-shadow: 0 0 0 6px rgba(47, 209, 143, 0); } }
.hm-bv-mate .nm { display: flex; flex-direction: column; min-width: 0; }
.hm-bv-mate .nm b { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 17px; color: var(--ink); }
.hm-bv-mate .nm small { font-size: 12.5px; color: var(--accent-deep); }
.hm-bv-notes { gap: 10px; }
.hm-bv-notes .nt {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 13px; background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 12px 24px -16px rgba(28, 28, 26, .45); font-size: 13.5px; color: var(--ink);
}
.hm-bv-notes .nt:nth-child(2) { margin-left: 28px; }
.hm-bv-notes .nt > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-bv-notes .nt b { font-weight: 700; margin-right: 4px; }
.hm-bv-notes .nt small { display: block; font-size: 11.5px; color: var(--body-subtle); }
.hm-bv-notes .nt > i { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--ground); border: 1px solid var(--line); font-style: normal; }
.hm-bv-notes .nt > i.hash { background: var(--ink); border-color: var(--ink); color: #fff; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 16px; }
.hm-bv-notes .nt > i img { width: 16px; height: 16px; }
html.js .hm-b:not(.in) .hm-bv-notes .nt { opacity: 0; transform: translateY(10px); }
.hm-bv-notes .nt { transition: opacity .45s ease .3s, transform .45s cubic-bezier(.2, .7, .2, 1) .3s; }
.hm-bv-notes .nt:nth-child(2) { transition-delay: .55s; }
.hm-bv-docs span { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink); }
.hm-bv-docs .ic { width: 16px; height: 16px; color: var(--accent); }
html.js .hm-b:not(.in) .hm-bv-docs span { opacity: 0; transform: translateX(-8px); }
.hm-bv-docs span { transition: opacity .4s ease .3s, transform .4s ease .3s; }
.hm-bv-docs span:nth-child(2) { transition-delay: .45s; }
.hm-bv-docs span:nth-child(3) { transition-delay: .6s; }
.hm-bv-seg { flex-direction: row; align-items: center; justify-content: center; }
.hm-bv-seg span { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 8px; font-size: 13px; font-weight: 600; color: var(--body-moderate); background: var(--paper); border: 1px solid var(--line); }
.hm-bv-seg span:first-child { border-radius: 11px 0 0 11px; border-right: 0; }
.hm-bv-seg span:last-child { border-radius: 0 11px 11px 0; }
.hm-bv-seg span.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.hm-bv-seg .ic { width: 15px; height: 15px; }

/* ---------- Pricing: the trade, drawn ---------- */
.fp-cards { position: relative; }
.fp-cards::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fd1ad' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h13l-3-3M19 16H6l3 3'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: 0 0 0 7px var(--ground), 0 14px 30px -12px rgba(28, 28, 26, .6);
}
.fp-card { position: relative; overflow: hidden; }
.fp-card.get { box-shadow: 0 34px 70px -40px rgba(14, 143, 98, .6); }
.fp-card.get::before { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(127, 209, 173, .45), transparent); pointer-events: none; }
.fp-lead { font-size: 34px; line-height: 40px; }
.fp-card.get .fp-lead small { -webkit-text-fill-color: var(--body-moderate); }

/* ---------- Closing: one big glow ---------- */
.closing { position: relative; overflow: hidden; isolation: isolate; }
.closing::before {
  content: ""; position: absolute; left: 50%; top: 55%; width: 1000px; height: 640px; transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(14, 143, 98, .22), rgba(127, 209, 173, .12) 55%, transparent);
}
.closing h2 { font-size: 56px; }
.closing-chans li { width: 58px; height: 58px; border-radius: 18px; box-shadow: 0 18px 32px -16px rgba(10, 107, 74, .55); }
.closing-chans img { width: 26px; height: 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hm-deck-demo { --ch: 274px; }
  .hm-wall { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 1000px) {
  .hm-deck-demo { --ch: 254px; }
  .hm-proof { grid-template-columns: minmax(0, 1fr); }
  .hm-wall { grid-template-columns: minmax(0, 1fr) 170px; }
  .hm-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hm-facts { grid-template-columns: minmax(0, 1fr); }
  .fp-cards::after { display: none; }
  .rows .row-media::before { inset: -36px -8px; }
  .how-step .hm-step-art { min-height: 0; }
  .closing h2 { font-size: 40px; }
}
@media (max-width: 600px) {
  .hm-deck-demo { --ch: 256px; }
  .hm-card { padding: 16px; gap: 10px; border-radius: 18px; }
  .hm-card-q { font-size: 17.5px; line-height: 24px; }
  .hm-card-dr span { font-size: 14px; line-height: 21px; }
  .hm-card-dr i { top: 35px; }
  .hm-stamp { right: 16px; top: 14px; font-size: 18px; }
  .hm-rate small { display: none; }
  .hm-orbit { display: none; }
  .demo::before { inset: 10% 0 -6% 0; }
  .hm-wall { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .hm-tiles { gap: 6px; }
  .hm-t { padding: 6px; gap: 4px; border-radius: 9px; }
  .hm-t .st { font-size: 7.5px; letter-spacing: 0; }
  .hm-t u { height: 4px; }
  .hm-t em { width: 18px; height: 18px; right: -5px; bottom: -5px; background-size: 11px; }
  .hm-wall figcaption b { font-size: 48px; }
  .problem .chart { padding: 20px; }
  .problem .bar { grid-template-columns: 84px 1fr 52px; gap: 10px; }
  .problem .bar i { height: 32px; }
  .hm-bento { grid-template-columns: minmax(0, 1fr); }
  .hm-b.wide { grid-column: auto; }
  .row-copy p { font-size: 16px; line-height: 25px; }
  .hm-chips li { font-size: 13.5px; }
  .hm-ch { width: 40px; height: 40px; }
  .hm-ch:nth-child(6) { margin-left: 0; }
  .hm-art { height: 156px; margin: -6px -6px 2px; }
  .hm-art-chip { font-size: 11.5px; padding: 6px 10px; }
  .hm-art-chip.c1 { left: 4%; top: 10%; }
  .hm-art-chip.c2 { right: 4%; top: auto; bottom: 34%; }
  .hm-art-chip.c3 { left: 6%; bottom: 8%; }
  .hm-art-ico { left: 76%; top: 26%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 18px; }
  .hm-art-ico .ic { width: 28px; height: 28px; }
  .control .note { border-radius: 16px; align-items: flex-start; }
  .control .note .ic { margin-top: 2px; }
  .closing h2 { font-size: 32px; }
  .closing-chans li { width: 48px; height: 48px; border-radius: 15px; }
  .closing-chans img { width: 22px; height: 22px; }
  .fp-lead { font-size: 28px; line-height: 34px; }
}
@media (max-width: 400px) {
  .hm-deck-demo { --ch: 256px; }
  .hm-card-ft em { display: none; }
  .hm-deck-lbl { font-size: 10px; letter-spacing: .6px; }
  .hm-plug img + img { margin-left: 14px; }
  .hm-bv-notes .nt:nth-child(2) { margin-left: 14px; }
  .hm-bv-chans { gap: 14px; }
}

/* ---------- Reduced motion: everything lands in its final state ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero h1 b, .hm-bub, .hm-rate b, .hm-card-dr i, .hm-art-chip, .hm-approve, .hm-bv-mate .av::after { animation: none; }
  .hm-card, .hm-card > *, .hm-stamp, .hm-rate-stars span, .hm-deck-bar i, .hm-t, .hm-t em, .hm-chips li, .hm-ch, .hm-plug img, .hm-bv-notes .nt, .hm-bv-docs span, .sw, .sw i, .hm-mrow b.ok, .rows .ui, .hm-b { transition: none !important; }
  html.js .hm-wall:not(.in) .hm-t, html.js .row-copy.reveal:not(.in) .hm-chips li, html.js .row-copy.reveal:not(.in) .hm-ch,
  html.js .how-step.reveal:not(.in) .hm-plug img, html.js .hm-b:not(.in) .hm-bv-notes .nt, html.js .hm-b:not(.in) .hm-bv-docs span { opacity: 1; transform: none; }
  html.js .hm-wall:not(.in) .hm-t:not(.on) { opacity: .62; }
  html.js .hm-wall:not(.in) .hm-t.on { background: #eaf6ef; border-color: #93cfb3; }
  html.js .hm-wall:not(.in) .hm-t em, html.js .ladder:not(.in) .hm-mrow b.ok { transform: none; }
  html.js .ladder:not(.in) .hm-toggle .sw, html.js .hm-b:not(.in) .hm-bv-sw .sw.late { background: var(--accent); }
  html.js .ladder:not(.in) .hm-toggle .sw i, html.js .hm-b:not(.in) .hm-bv-sw .sw.late i { transform: translateX(14px); }
}
