/* =====================================================================
   ScholarHat home hero (Views/Home/_Hero.cshtml)
   Split hero: short headline + proof on the left, a glass "learning app" stage on the right that cycles through
   product scenes (projects, live class, lab, skill test, Q&A). Each scene shows one real item; the rest is skeleton.
   Sits on the page's own background (no fill of its own).
   Accent = the ScholarHat logo's cyan to blue, set deeper in dark mode. One radius scale (10 / 14 / 20 / pill).
   ===================================================================== */
.hh {
    --hh-ink: #0f1b2d;
    --hh-body: #46566b;
    --hh-muted: #6b7c91;
    --hh-line: rgba(20, 90, 140, .16);
    --hh-glass: rgba(255, 255, 255, .80);
    --hh-glass-2: rgba(241, 248, 253, .92);
    --hh-a: #0891b2;
    --hh-b: #2563eb;
    --hh-a-ink: #0b6f8c;
    --hh-soft: rgba(8, 145, 178, .10);
    --hh-on-a: #ffffff;
    --hh-hi: rgba(255, 255, 255, .95);
    --hh-glow: 8, 145, 178;
    --hh-shadow: 0 1px 0 var(--hh-hi) inset, 0 2px 4px rgba(15, 60, 100, .08), 0 40px 70px -34px rgba(15, 80, 130, .45);
    --hh-ok: #1f9d6e;
    --hh-sk: rgba(20, 90, 140, .10);
    --hh-sk-hi: rgba(20, 90, 140, .20);
    --hh-cta-bg: #0f1b2d; --hh-cta-fg: #ffffff;
    position: relative;
    overflow: hidden;
    color: var(--hh-body);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    padding: clamp(36px, 5vw, 64px) 0 clamp(24px, 3vw, 36px);
}
[data-bs-theme="dark"] .hh {
    --hh-ink: #eef7ff;
    --hh-body: #b4c6d9;
    --hh-muted: #7f95ab;
    --hh-line: rgba(110, 190, 230, .16);
    --hh-glass: rgba(7, 24, 44, .72);
    --hh-glass-2: rgba(13, 36, 62, .86);
    --hh-a: #2fb8d6;
    --hh-b: #3b82f6;
    --hh-a-ink: #7fd6ec;
    --hh-soft: rgba(47, 184, 214, .12);
    --hh-on-a: #04233a;
    --hh-hi: rgba(255, 255, 255, .07);
    --hh-glow: 47, 184, 214;
    --hh-shadow: 0 1px 0 var(--hh-hi) inset, 0 2px 4px rgba(0, 0, 0, .4), 0 44px 80px -36px rgba(0, 0, 0, .85);
    --hh-ok: #5cd1a3;
    --hh-sk: rgba(130, 190, 235, .10);
    --hh-sk-hi: rgba(130, 190, 235, .22);
    --hh-cta-bg: #eef7ff; --hh-cta-fg: #06223a;
}
.hh *, .hh *::before, .hh *::after { box-sizing: border-box; }
.hh-shell { width: min(1240px, 100% - 32px); margin-inline: auto; position: relative; }
.hh i.bi { line-height: 1; }

/* ---------- layout ---------- */
.hh > .hh-shell:first-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}
@media (min-width: 992px) {
    .hh > .hh-shell:first-child { grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr); gap: 56px; }
}

/* ---------- copy ---------- */
.hh-title {
    margin: 0 0 18px;
    font-size: clamp(2.1rem, 3.55vw, 3.15rem);
    line-height: 1.05;
    letter-spacing: -.035em;
    font-weight: 800;
    color: var(--hh-ink);
    text-wrap: balance;
}
.hh-title em {
    font-style: normal;
    background: linear-gradient(100deg, var(--hh-a), var(--hh-b) 80%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    padding-bottom: .06em;
}
.hh-lead { margin: 0 0 28px; max-width: 30em; font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.6; color: var(--hh-body); }
.hh-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-bottom: 36px; }
.hh-btn {
    display: inline-flex; align-items: center; gap: 12px; height: 54px; border: 0; border-radius: 999px;
    font: inherit; font-size: 1rem; font-weight: 700; white-space: nowrap; text-decoration: none; cursor: pointer;
    transition: transform .2s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, background .2s, color .2s;
}
.hh-btn--main { padding: 0 24px 0 7px; background: var(--hh-cta-bg); color: var(--hh-cta-fg); box-shadow: 0 1px 0 var(--hh-hi) inset, 0 12px 26px -14px rgba(15, 27, 45, .6); }
.hh-btn--main:hover { transform: translateY(-2px); color: var(--hh-cta-fg); box-shadow: 0 1px 0 var(--hh-hi) inset, 0 18px 32px -14px rgba(var(--hh-glow), .65); }
.hh-btn--main:active, .hh-btn--ghost:active { transform: translateY(0) scale(.985); }
.hh-btn__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--hh-a), var(--hh-b)); color: var(--hh-on-a); font-size: 1.05rem; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.hh-btn--main:hover .hh-btn__ic { transform: rotate(45deg); }
.hh-btn--ghost { padding: 0 6px; background: transparent; color: var(--hh-ink); }
.hh-btn--ghost i { transition: transform .25s; }
.hh-btn--ghost:hover i { transform: translateX(4px); }
.hh-btn--ghost:hover { color: var(--hh-a-ink); }
.hh-btn:focus-visible, .hh-tab:focus-visible, .hh-ace__row button:focus-visible { outline: 2px solid var(--hh-a); outline-offset: 3px; }

/* proof */
.hh-proof { list-style: none; margin: 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border-top: 1px solid var(--hh-line); }
.hh-proof li { position: relative; display: grid; align-content: start; gap: 2px; padding: 6px 10px 6px 0; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.hh-proof li:hover { transform: translateY(-3px); }
.hh-proof li > i { color: var(--hh-a); font-size: 1.05rem; margin-bottom: 6px; }
.hh-proof b { font-size: clamp(1.45rem, 2.3vw, 1.9rem); line-height: 1.1; letter-spacing: -.02em; color: var(--hh-ink); font-variant-numeric: tabular-nums; }
.hh-proof small { font-size: .8125rem; line-height: 1.35; color: var(--hh-muted); }

/* ---------- stage ---------- */
.hh-stage { --rx: 0deg; --ry: 0deg; --tx: 0px; --ty: 0px; position: relative; perspective: 1400px; padding: 18px 10px 34px; }
.hh-orb { position: absolute; inset: -6% -4% -2%; z-index: 0; pointer-events: none; }
.hh-orb::before {
    content: ""; position: absolute; inset: 6% 8%; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(var(--hh-glow), .26), rgba(59, 130, 246, .12) 55%, transparent 75%);
    filter: blur(14px);
}
[data-bs-theme="dark"] .hh-orb::before { background: radial-gradient(closest-side, rgba(var(--hh-glow), .30), rgba(59, 130, 246, .16) 55%, transparent 75%); }
.hh-orb i { position: absolute; inset: 8% 10%; border-radius: 50%; border: 1px solid var(--hh-line); }
.hh-orb i:nth-child(2) { inset: 0 2%; border-style: dashed; opacity: .6; }
.hh-orb i:nth-child(1) { border-color: transparent; border-top-color: var(--hh-a); border-right-color: color-mix(in srgb, var(--hh-b) 50%, transparent); animation: hh-spin 26s linear infinite; }
@keyframes hh-spin { to { transform: rotate(360deg); } }

.hh-win {
    position: relative; z-index: 1;
    border: 1px solid var(--hh-line); border-radius: 20px;
    background: var(--hh-glass);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: var(--hh-shadow);
    transform: translate3d(0, 0, 0) rotateX(var(--rx)) rotateY(var(--ry));
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
    overflow: hidden;
}
.hh-bar { padding: 12px 12px 0; }
.hh-tabs { position: relative; display: flex; gap: 2px; padding: 4px; border: 1px solid var(--hh-line); border-radius: 14px; background: var(--hh-glass-2); overflow-x: auto; scrollbar-width: none; }
.hh-tabs::-webkit-scrollbar { display: none; }
.hh-glider { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: var(--w, 0); transform: translateX(var(--x, 0)); border-radius: 10px; background: var(--hh-soft); box-shadow: 0 0 0 1px color-mix(in srgb, var(--hh-a) 35%, transparent) inset; transition: transform .4s cubic-bezier(.3, .8, .3, 1), width .4s cubic-bezier(.3, .8, .3, 1); }
.hh-tab { position: relative; z-index: 1; flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; min-width: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--hh-muted); font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; transition: color .2s; overflow: hidden; }
.hh-tab.on, .hh-tab:hover { color: var(--hh-ink); }
.hh-tab::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--hh-a), var(--hh-b)); transform: scaleX(0); transform-origin: left; }
.hh-tab.run::after { animation: hh-fill 5.6s linear forwards; }
.hh-stage.hold .hh-tab.run::after { animation-play-state: paused; }
@keyframes hh-fill { to { transform: scaleX(1); } }

.hh-scenes { position: relative; display: grid; padding: 18px 18px 20px; min-height: 304px; }
.hh-scene { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .45s, transform .55s cubic-bezier(.2, .7, .2, 1), visibility 0s .45s; }
.hh-scene.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.hh-row--head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.hh-tile { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--hh-a), var(--hh-b)); color: var(--hh-on-a); font-size: 1.15rem; box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 10px 18px -10px rgba(var(--hh-glow), .8); }
.hh-row--head h3 { margin: 0 0 6px; font-size: 1.0625rem; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; color: var(--hh-ink); }
.hh-row--head p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hh-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--hh-line); background: var(--hh-soft); font-size: .75rem; font-weight: 600; color: var(--hh-a-ink); white-space: nowrap; }
.hh-chip--live i { width: 7px; height: 7px; border-radius: 50%; background: #ef5b6e; animation: hh-pulse 1.8s ease-out infinite; }
@keyframes hh-pulse { 0% { box-shadow: 0 0 0 0 rgba(239, 91, 110, .55); } 100% { box-shadow: 0 0 0 8px rgba(239, 91, 110, 0); } }

/* ---------- skeleton primitives ---------- */
.sk { display: block; border-radius: 8px; background: linear-gradient(100deg, var(--hh-sk) 30%, var(--hh-sk-hi) 50%, var(--hh-sk) 70%) 0 0 / 220% 100%; animation: hh-shimmer 1.8s ease-in-out infinite; }
@keyframes hh-shimmer { from { background-position: 110% 0; } to { background-position: -110% 0; } }
.sk--bar { height: 9px; border-radius: 9px; width: 86%; }
.sk--bar.m { width: 64%; } .sk--bar.s { width: 42%; }
.sk--dot { width: 24px; height: 24px; border-radius: 50%; flex: none; }
.sk--img { height: 64px; border-radius: 12px; }
.hh-skgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.hh-skgrid > div { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--hh-line); border-radius: 14px; background: var(--hh-glass-2); }
.hh-skgrid--rows { grid-template-columns: minmax(0, 1fr); }

/* scene 1: project */
.hh-proj { margin: 0; border: 1px solid var(--hh-line); border-radius: 14px; overflow: hidden; background: var(--hh-glass-2); box-shadow: 0 14px 24px -20px rgba(var(--hh-glow), .6); }
.hh-proj { width: min(100%, 466px); margin-inline: auto; }
.hh-proj img { display: block; width: 100%; height: auto; aspect-ratio: 1962 / 801; }
.hh-scene.on .hh-proj img { animation: hh-zoom 6s ease-out both; }
@keyframes hh-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }

/* scene: quick note */
.hh-note { position: relative; padding: 16px 16px 16px; border: 1px solid color-mix(in srgb, var(--hh-a) 40%, var(--hh-line)); border-radius: 14px; background: var(--hh-glass-2); box-shadow: 0 12px 22px -18px rgba(var(--hh-glow), .7); }
.hh-note > i { position: absolute; right: 14px; top: 12px; color: var(--hh-a); }
.hh-note .hh-lines { margin-top: 0; padding-right: 26px; }
.hh-note .hh-lines .sk:nth-child(4) { width: 38%; }

/* scene 2: zoom-style class */
.hh-zoom { display: grid; gap: 10px; }
.hh-zoom__stage { position: relative; height: 128px; border-radius: 14px; border: 1px solid var(--hh-line); background: linear-gradient(160deg, #0b1d33, #07131f); padding: 16px 18px; display: grid; align-content: center; gap: 9px; overflow: hidden; }
.hh-zoom__stage .sk { --hh-sk: rgba(130, 190, 235, .12); --hh-sk-hi: rgba(130, 190, 235, .26); }
.hh-rec { position: absolute; left: 12px; top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; color: #fff; }
.hh-rec i { width: 7px; height: 7px; border-radius: 50%; background: #ef5b6e; animation: hh-pulse 1.8s ease-out infinite; }
.hh-zoom__share { display: grid; gap: 9px; padding-top: 14px; }
.hh-zoom__name { position: absolute; left: 12px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 6px; background: rgba(0, 0, 0, .45); color: #e6f3ff; font-size: .6875rem; font-weight: 600; }
.hh-zoom__strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hh-zoom__strip > div { display: grid; justify-items: center; gap: 7px; padding: 12px 8px 10px; border: 1px solid var(--hh-line); border-radius: 12px; background: var(--hh-glass-2); }
.hh-zoom__strip .sk--dot { width: 28px; height: 28px; }
.hh-zoom__strip .sk--bar { width: 56%; }
.hh-zoom__strip .speak { border-color: color-mix(in srgb, var(--hh-a) 70%, transparent); box-shadow: 0 0 0 3px rgba(var(--hh-glow), .14); animation: hh-speak 2.4s ease-in-out infinite; }
@keyframes hh-speak { 50% { box-shadow: 0 0 0 5px rgba(var(--hh-glow), .08); } }
.hh-zoom__ctl { display: flex; justify-content: center; align-items: center; gap: 8px; }
.hh-zoom__ctl i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--hh-soft); color: var(--hh-a-ink); font-size: .9rem; border: 1px solid var(--hh-line); }
.hh-zoom__ctl b { margin-left: 6px; padding: 7px 16px; border-radius: 999px; background: #e24c63; color: #fff; font-size: .75rem; font-weight: 700; }

/* scene 3: lab */
.hh-meter { height: 6px; border-radius: 6px; background: var(--hh-soft); overflow: hidden; margin-bottom: 14px; }
.hh-meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--hh-a), var(--hh-b)); }
.hh-scene.on .hh-meter i { animation: hh-grow 1.2s .25s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes hh-grow { to { width: var(--w); } }
.hh-steps { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.hh-steps li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid transparent; border-radius: 12px; font-size: .875rem; color: var(--hh-body); }
.hh-steps li > b { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: .72rem; }
.hh-steps li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hh-steps li small { color: var(--hh-muted); font-size: .75rem; }
.hh-steps li.now { background: var(--hh-glass-2); border-color: color-mix(in srgb, var(--hh-a) 40%, var(--hh-line)); color: var(--hh-ink); font-weight: 600; box-shadow: 0 1px 0 var(--hh-hi) inset, 0 12px 20px -16px rgba(var(--hh-glow), .7); }
.hh-steps li.now > b { background: linear-gradient(135deg, var(--hh-a), var(--hh-b)); color: var(--hh-on-a); }
.hh-steps li.skl .sk--dot { width: 22px; height: 22px; }
.hh-scene.on .hh-steps li { animation: hh-in .5s both cubic-bezier(.2, .7, .2, 1); }
.hh-scene.on .hh-steps li:nth-child(2) { animation-delay: .08s; } .hh-scene.on .hh-steps li:nth-child(3) { animation-delay: .16s; } .hh-scene.on .hh-steps li:nth-child(4) { animation-delay: .24s; }
@keyframes hh-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hh-code { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 12px; background: #07131f; color: #cfe8ff; font: 500 .8125rem/1.2 'JetBrains Mono', ui-monospace, Consolas, monospace; border: 1px solid rgba(110, 190, 230, .2); }
.hh-code i { color: #5fd0ea; font-size: .7rem; }
.hh-cmd { display: inline-block; overflow: hidden; white-space: nowrap; border-right: 2px solid #5fd0ea; width: 0; }
.hh-scene.on .hh-cmd { animation: hh-type 1.8s .7s steps(22) forwards, hh-caret .8s step-end infinite; }
@keyframes hh-type { to { width: 22ch; } }
@keyframes hh-caret { 50% { border-right-color: transparent; } }

/* scene 4: skill test (MCQ) */
.hh-mcq { padding: 14px; border: 1px solid var(--hh-line); border-radius: 14px; background: var(--hh-glass-2); }
.hh-mcq h4 { margin: 0 0 12px; font-size: .9375rem; line-height: 1.4; font-weight: 700; color: var(--hh-ink); }
.hh-mcq ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hh-mcq li { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--hh-line); border-radius: 12px; font-size: .875rem; font-weight: 600; color: var(--hh-body); transition: background .3s, border-color .3s, color .3s; }
.hh-mcq li b { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--hh-soft); color: var(--hh-a-ink); font-size: .72rem; }
.hh-mcq li i { margin-left: auto; opacity: 0; transform: scale(.4); font-size: 1.05rem; color: var(--hh-ok); }
.hh-scene.on .hh-mcq li.ans { animation: hh-pick .6s 1.4s both; }
.hh-scene.on .hh-mcq li.ans i { animation: hh-tick .5s 1.7s both cubic-bezier(.3, 1.6, .5, 1); }
@keyframes hh-pick { to { background: color-mix(in srgb, var(--hh-ok) 14%, transparent); border-color: color-mix(in srgb, var(--hh-ok) 60%, transparent); color: var(--hh-ink); } }
@keyframes hh-tick { to { opacity: 1; transform: scale(1); } }

/* scene 5: Q&A */
.hh-qa { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hh-qa li { padding: 13px 14px; border: 1px solid var(--hh-line); border-radius: 14px; background: var(--hh-glass-2); font-size: .875rem; font-weight: 600; color: var(--hh-ink); }
.hh-qa li > div { display: flex; align-items: center; gap: 12px; }
.hh-qa li > div span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hh-qa li > div i { color: var(--hh-muted); transition: transform .3s; }
.hh-qa li.open { border-color: color-mix(in srgb, var(--hh-a) 40%, var(--hh-line)); box-shadow: 0 12px 22px -18px rgba(var(--hh-glow), .7); }
.hh-qa li.open > div i { transform: rotate(180deg); color: var(--hh-a); }
.hh-lines { display: grid; gap: 7px; margin-top: 12px; }
.hh-lines .sk { height: 7px; border-radius: 7px; }
.hh-lines .sk:nth-child(1) { width: 92%; } .hh-lines .sk:nth-child(2) { width: 74%; } .hh-lines .sk:nth-child(3) { width: 56%; }
.hh-qa li.skl { padding: 16px 14px; }
.hh-scene.on .hh-qa li { animation: hh-in .5s both cubic-bezier(.2, .7, .2, 1); }
.hh-scene.on .hh-qa li:nth-child(2) { animation-delay: .1s; } .hh-scene.on .hh-qa li:nth-child(3) { animation-delay: .2s; }

/* floating overlay chip: one per scene, drifts with the pointer */
.hh-float { position: absolute; z-index: 2; right: -2px; bottom: 6px; transform: translate3d(var(--tx), var(--ty), 0); transition: transform .6s cubic-bezier(.2, .7, .2, 1); pointer-events: none; display: grid; }
.hh-float .f { grid-area: 1 / 1; justify-self: end; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 12px 18px 12px 12px; border: 1px solid var(--hh-line); border-radius: 16px; background: var(--hh-glass-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--hh-shadow); opacity: 0; transform: translateY(12px) scale(.97); transition: opacity .4s, transform .5s cubic-bezier(.2, .7, .2, 1); }
.hh-float .f.on { opacity: 1; transform: none; }
.hh-float .f i { grid-row: 1 / 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--hh-soft); color: var(--hh-a); font-size: 1.05rem; }
.hh-float .f b { font-size: .9375rem; line-height: 1.2; color: var(--hh-ink); }
.hh-float .f small { font-size: .75rem; color: var(--hh-muted); }

/* ---------- LEAD-ACE, kept small ---------- */
.hh-ace { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: clamp(20px, 3vw, 36px); padding-top: 20px; border-top: 1px solid var(--hh-line); }
.hh-ace__label { font-size: .8125rem; font-weight: 700; letter-spacing: .02em; color: var(--hh-ink); }
.hh-ace__row { display: flex; align-items: center; gap: 6px; }
.hh-ace__row button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--hh-line); border-radius: 10px; background: var(--hh-glass-2); color: var(--hh-muted); font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 1px 0 var(--hh-hi) inset, 0 6px 12px -10px rgba(15, 60, 100, .5); transition: transform .2s cubic-bezier(.2, .7, .2, 1), color .2s, border-color .2s, background .2s; }
.hh-ace__row button b { font-size: .95rem; }
.hh-ace__row button:hover, .hh-ace__row button.on { transform: translateY(-3px); color: var(--hh-a-ink); border-color: color-mix(in srgb, var(--hh-a) 50%, var(--hh-line)); background: var(--hh-soft); }
.hh-ace__row button:active { transform: translateY(0) scale(.96); }
.hh-ace__dash { width: 12px; height: 2px; border-radius: 2px; background: var(--hh-line); margin: 0 2px; }
.hh-ace__cap { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .875rem; color: var(--hh-body); min-height: 1.4em; }
.hh-ace__cap b { color: var(--hh-ink); }

/* ---------- small screens ---------- */
@media (max-width: 991.98px) {
    .hh-lead { max-width: 36em; }
    .hh-stage { padding: 8px 0 30px; }
    .hh-orb { inset: 0; }
}
@media (max-width: 575.98px) {
    .hh-cta { margin-bottom: 28px; }
    .hh-btn--main { height: 52px; }
    .hh-proof { gap: 8px; }
    .hh-proof small { font-size: .75rem; }
    .hh-tab span { display: none; }
    .hh-tab { padding: 0 8px; }
    .hh-scenes { padding: 14px 14px 16px; min-height: 360px; }
    .hh-mcq ul { grid-template-columns: minmax(0, 1fr); }
    .hh-zoom__stage { height: 112px; }
    .hh-float { right: 6px; bottom: 0; }
    .hh-float .f { padding: 10px 14px 10px 10px; }
    .hh-ace { gap: 12px 14px; }
    .hh-ace__row button { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    .hh *, .hh *::before, .hh *::after { animation: none !important; transition: none !important; }
    .hh-cmd { width: 22ch; border-right-color: transparent; }
    .hh-meter i { width: var(--w); }
    .hh-tab.on::after { transform: scaleX(1); }
    .hh-mcq li.ans { background: color-mix(in srgb, var(--hh-ok) 14%, transparent); border-color: color-mix(in srgb, var(--hh-ok) 60%, transparent); }
    .hh-mcq li.ans i { opacity: 1; transform: none; }
}
