/*
 * Homepage v2 "ON AIR". Brand language taken from the channel banner:
 * black base, oversized outlined CHZZK.ME wall, one green accent, the mascot.
 * One dark theme for the page; the green band is the single deliberate color block.
 * Radius rule: containers 24px, interactive elements pill.
 */
.hv2 {
    --hv-bg: #0a0b0d;
    --hv-surface: #121417;
    --hv-surface-2: #1a1d21;
    --hv-line: rgba(255, 255, 255, 0.1);
    --hv-text: #f1f3f0;
    --hv-muted: #9aa49f;
    --hv-accent: var(--bs-primary, #469346);
    --hv-ink: #06100a;
    --hv-radius: 24px;
    background: var(--hv-bg);
    color: var(--hv-text);
    overflow-x: clip;
}

html[data-theme=dark] body:has(.hv2) { background: #0a0b0d; }

:where(.hv2) :is(h1, h2, h3, p, ol, ul) { margin: 0; }
.hv2 section { position: relative; }
.hv2 .hv2-h1, .hv2 .hv2-h2, .hv2 h3, .hv2 .hv2-final-h { color: var(--hv-text); letter-spacing: -0.03em; word-break: keep-all; }
.hv2-h1 { font-size: clamp(2.3rem, 4.3vw, 4rem); font-weight: 900; line-height: 1.15; }
.hv2-h1 em { font-style: normal; color: var(--hv-accent); }
.hv2-h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 900; line-height: 1.22; max-width: 22ch; }
.hv2 h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.4; letter-spacing: -0.02em; }
.hv2-lead { margin-top: 1.5rem; font-size: 1.2rem; line-height: 1.65; color: var(--hv-muted); max-width: 31rem; word-break: keep-all; }
.hv2-body { margin-top: 1rem; line-height: 1.75; color: var(--hv-muted); max-width: 38rem; word-break: keep-all; }

/* Buttons and inputs */
.hv2-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .9rem 1.7rem; border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer;
    transition: transform .25s cubic-bezier(.16, 1, .3, 1), background-color .2s, border-color .2s, color .2s;
}
.hv2-btn:active { transform: scale(.97); }
.hv2-btn-primary { background: var(--hv-accent); color: var(--hv-ink); }
.hv2-btn-primary:hover { background: color-mix(in srgb, var(--hv-accent) 78%, #fff); color: var(--hv-ink); transform: translateY(-2px); }
.hv2-btn-line { border-color: rgba(255, 255, 255, .28); color: var(--hv-text); background: transparent; }
.hv2-btn-line:hover { border-color: var(--hv-accent); color: var(--hv-accent); transform: translateY(-2px); }
.hv2-btn-ghost { background: transparent; color: var(--hv-muted); padding: .9rem 1rem; }
.hv2-btn-sm { padding: .6rem 1.1rem; font-size: .9rem; }
.hv2-btn-lg { padding: 1.15rem 2.2rem; font-size: 1.15rem; }
.hv2 a:focus-visible, .hv2 button:focus-visible, .hv2 summary:focus-visible, .hv2 .hv2-bigrow:focus-visible {
    outline: 2px solid var(--hv-accent); outline-offset: 3px;
}

.hv2-shorten {
    margin-top: 2.5rem; max-width: 34rem;
    background: var(--hv-surface); border: 1.5px solid var(--hv-line); border-radius: 999px;
    padding: .4rem .4rem .4rem 1.5rem;
    transition: border-color .2s;
}
.hv2-shorten:focus-within { border-color: var(--hv-accent); }
.hv2-shorten-row { display: flex; align-items: center; gap: .25rem; }
.hv2-input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--hv-text); font-size: 1rem; padding: .75rem 0; }
.hv2-input::placeholder { color: #8d9792; }
.hv2-input:focus, .hv2-input:focus-visible { outline: none; box-shadow: none; }
.hv2-input-box { width: 100%; background: var(--hv-surface-2); border: 1px solid var(--hv-line); border-radius: 12px; padding: .7rem 1rem; }
.hv2-adv { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.25rem .5rem .75rem 0; }
.hv2-label { display: block; margin-bottom: .5rem; font-size: .9rem; color: var(--hv-muted); }
.hv2-adv-toggle { display: inline-block; margin-top: .9rem; font-size: .9rem; color: var(--hv-muted); text-decoration: underline; text-underline-offset: 3px; }
.hv2-adv-toggle:hover { color: var(--hv-text); }
.hv2-cta-row { margin-top: 1.5rem; }
.hv2-result { margin-top: 1.25rem; max-width: 34rem; padding: 1rem 1.25rem; border: 1.5px solid var(--hv-accent); border-radius: var(--hv-radius); gap: 1rem; align-items: center; background: var(--hv-surface); }
.hv2-result:not(.d-none) { display: flex; }
.hv2-result p { color: var(--hv-text); margin-bottom: .75rem; }

/* Typographic wall (shared) */
.hv2-wall { position: absolute; inset: 0; overflow: hidden; pointer-events: none; display: flex; flex-direction: column; justify-content: space-around; }
.hv2-wall-row { white-space: nowrap; font-weight: 900; font-size: clamp(5rem, 11vw, 11rem); line-height: .92; letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .07); }
.hv2-wall-row span { display: inline-block; animation: hv2-drift 90s linear infinite; }
.hv2-wall-row.rev span { animation-direction: reverse; }
.hv2-wall-lit .hv2-wall-row { -webkit-text-stroke-color: color-mix(in srgb, var(--hv-accent) 85%, transparent); }
.hv2-wall-lit { --mx: 70%; --my: 40%; opacity: 0; transition: opacity .4s; -webkit-mask-image: radial-gradient(260px circle at var(--mx) var(--my), #000 0%, transparent 100%); mask-image: radial-gradient(260px circle at var(--mx) var(--my), #000 0%, transparent 100%); }
.hv2-hero:hover .hv2-wall-lit { opacity: 1; }
@keyframes hv2-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hv2-wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, var(--hv-bg) 100%); }

/* Hero */
/* svh, not dvh: dvh follows the mobile address bar as it hides/shows on scroll, so these sections kept resizing while scrolling */
.hv2-hero { min-height: 100svh; display: flex; align-items: center; padding: 3.5rem 0 5rem; overflow: hidden; }
.hv2-hero-inner { position: relative; z-index: 1; }
.hv2-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: center; }

/* Green band: the one deliberate color block */
.hv2-band { background: var(--hv-accent); color: var(--hv-ink); padding: 5rem 0; }
.hv2-band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; }
.hv2-band-num { font-size: clamp(4rem, 11vw, 9rem); font-weight: 900; line-height: 1.02; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; color: #fff; padding-bottom: .12em; }
.hv2-band-num small { font-size: .32em; margin-left: .15em; letter-spacing: -0.02em; font-weight: 900; }
.hv2-band-text { margin-top: 1.1rem; font-weight: 600; font-size: 1.15rem; color: #fff; }

/* Story: sticky stage, steps follow the scroll */
.hv2-story { padding: 0; }
.hv2-story-sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; z-index: 1; }
.hv2-triggers { position: relative; margin-top: -100svh; }
.hv2-triggers > div { height: 160svh; }
.hv2-triggers > div:last-child { height: 55svh; }
.hv2-story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: center; }
.hv2-steps { list-style: none; padding: 0; margin-top: 2.5rem; }
.hv2-steps li { padding: 1.25rem 0 1.25rem 1.5rem; border-left: 3px solid var(--hv-line); opacity: .38; transition: opacity .4s, border-color .4s; }
.hv2-steps li.is-on { opacity: 1; border-left-color: var(--hv-accent); }
.hv2-steps p { margin-top: .5rem; color: var(--hv-muted); line-height: 1.7; word-break: keep-all; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s cubic-bezier(.16, 1, .3, 1), opacity .4s; }
.hv2-steps li.is-on p { max-height: 8rem; opacity: 1; }
.hv2-screen { position: relative; aspect-ratio: 16 / 10; -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.hv2-layer { --a: 1; --y: 0; position: absolute; inset: 0; transform: translateY(var(--y)); pointer-events: none; padding: 1.6rem 1.8rem; will-change: transform; }
.hv2-layer *, .hv2-layer *::after { animation-play-state: paused !important; animation-fill-mode: both !important; animation-duration: 1s !important; animation-timing-function: linear !important; }

/* Streamers: avatar marquee */
.hv2-profiles { padding: 7rem 0; background: var(--hv-surface); border-block: 1px solid var(--hv-line); text-align: center; overflow: hidden; }
.hv2-profiles .hv2-h2, .hv2-profiles .hv2-body { margin-inline: auto; }
.hv2-profiles .hv2-h2 { max-width: none; }
.hv2-marquee { margin-top: 2.5rem; padding-block: 1.5rem; display: grid; gap: 1.2rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.hv2-mq-track { --g: 2rem; display: flex; gap: var(--g); width: max-content; animation: hv2-mq 60s linear infinite; }  /* duration is set inline: 2s per avatar keeps the speed constant */
.hv2-mq-item { position: relative; flex: none; width: 14rem; height: 14rem; border-radius: 50%; overflow: hidden; border: 2px solid var(--hv-line); background: #fff; color: #fff; text-decoration: none; transition: border-color .3s, transform .4s cubic-bezier(.16, 1, .3, 1); }
.hv2-mq-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.hv2-mq-info { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; padding: 1.5rem; text-align: center; background: rgba(8, 10, 9, .8); color: #fff; opacity: 0; transition: opacity .3s; }
.hv2-mq-info b { color: #fff !important; font-size: 1.15rem; line-height: 1.3; word-break: keep-all; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hv2-mq-info small { font-size: .85rem; color: var(--hv-accent) !important; font-weight: 600; }
.hv2-mq-item:hover, .hv2-mq-item:focus-visible { border-color: var(--hv-accent); transform: scale(1.04); }
.hv2-mq-item:hover img, .hv2-mq-item:focus-visible img { transform: scale(1.1); }
.hv2-mq-item:hover .hv2-mq-info, .hv2-mq-item:focus-visible .hv2-mq-info { opacity: 1; }
.hv2-marquee:hover .hv2-mq-track, .hv2-marquee:focus-within .hv2-mq-track { animation-play-state: paused; }
@keyframes hv2-mq { to { transform: translateX(calc(-50% - var(--g) / 2)); } }
@media (prefers-reduced-motion: reduce) { .hv2-mq-track { animation: none; } }

/* Bento: 4 cells, 5+7 over 5+4+3 */

/* Big type rows: the description slides in on hover or focus */
.hv2-big { padding: 2rem 0 7rem; }
.hv2-bigrow { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2rem; align-items: center; padding: 2rem 0; border-top: 1.5px solid var(--hv-line); cursor: default; transition: padding .4s cubic-bezier(.16, 1, .3, 1); }
.hv2-bigrow:last-child { border-bottom: 1.5px solid var(--hv-line); }
.hv2-bigrow h3 { font-size: clamp(2.6rem, 8vw, 6.5rem); font-weight: 900; letter-spacing: -0.045em; line-height: 1.05; color: rgba(255, 255, 255, .88); transition: color .3s, transform .4s cubic-bezier(.16, 1, .3, 1); }
.hv2-bigrow p { color: var(--hv-muted); line-height: 1.75; word-break: keep-all; opacity: .55; transition: opacity .3s; }
.hv2-bigrow:hover h3, .hv2-bigrow:focus-visible h3 { color: var(--hv-accent); transform: translateX(14px); }
.hv2-bigrow:hover p, .hv2-bigrow:focus-visible p { opacity: 1; }

/* FAQ */

/* Final */
.hv2-final { padding: 8rem 0 9rem; overflow: hidden; border-top: 1px solid var(--hv-line); }
.hv2-wall-final .hv2-wall-row { -webkit-text-stroke-color: rgba(255, 255, 255, .05); }
.hv2-wall-final::after { background: linear-gradient(180deg, var(--hv-bg) 0%, transparent 40%, transparent 70%, var(--hv-bg) 100%); }
.hv2-final-inner { position: relative; z-index: 1; }
.hv2-final-h { font-size: clamp(3rem, 9vw, 8rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.05em; }
.hv2-final-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.5rem; position: relative; z-index: 2; }
.hv2-final-mascot { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: min(30rem, 42vw); height: auto; z-index: 1; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .5)); }

/* Motion: only when JS confirmed and the visitor has not asked to reduce it */
.hv2-motion [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); }
.hv2-motion [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
    .hv2-hero-copy > * { animation: hv2-rise .8s cubic-bezier(.16, 1, .3, 1) both; }
    .hv2-hero-copy > :nth-child(2) { animation-delay: .07s; }
    .hv2-hero-copy > :nth-child(3) { animation-delay: .14s; }
    .hv2-hero-copy > :nth-child(4) { animation-delay: .2s; }
    }
@media (prefers-reduced-motion: reduce) {
    .hv2-steps p { max-height: none; opacity: 1; transition: none; }
}
@keyframes hv2-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hv2-pop { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }

/* Tablet and mobile */
@media (max-width: 991.98px) {
    .hv2-hero { padding: 2.5rem 0 3rem; min-height: 0; }
    .hv2-hero-grid, .hv2-story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hv2-stage-hero { max-width: 420px; }
        .hv2-band-grid { gap: 2rem; }
    .hv2-profiles, .hv2-bento-wrap { padding: 4.5rem 0; }
    .hv2-bento { grid-template-columns: 1fr; }
    .hv2-cell-qr, .hv2-cell-stats, .hv2-cell-deep, .hv2-cell-domain { grid-column: auto; grid-row: auto; }
    .hv2-cell-stats { flex-direction: column; align-items: stretch; }
    .hv2-cell-qr { min-height: 24rem; }
    .hv2-bigrow { grid-template-columns: 1fr; gap: .5rem; padding: 1.5rem 0; }
    .hv2-bigrow p { opacity: 1; }
    .hv2-final { padding: 5rem 0 0; }
    /* Phone: only the upper body shows, centered and big; the lower half is cut off by the section edge */
    .hv2-final-mascot { --mw: min(26rem, 96vw); position: relative; display: block; right: auto; top: auto; transform: none; width: var(--mw); margin: 2.5rem auto calc(var(--mw) * -.46); }
}
@media (max-width: 575.98px) {
    .hv2-band-grid { grid-template-columns: 1fr; }
    /* Phone: the address field is its own pill; the button sits below it, outside the field */
    .hv2-shorten, html[data-hv="light"] .hv2-shorten { background: none; border: 0; border-radius: 0; padding: 0; }
    .hv2-shorten-row { flex-direction: column; align-items: stretch; gap: .75rem; }
    .hv2-shorten-row .hv2-input { flex: none; width: 100%; padding: .95rem 1.4rem; background: var(--hv-surface); border: 1.5px solid var(--hv-line); border-radius: 999px; }
    .hv2-shorten-row .hv2-input:focus { border-color: var(--hv-accent); }
    .hv2-shorten-row .hv2-btn-primary { width: 100%; padding: 1rem; }
    .hv2-adv { grid-template-columns: 1fr; padding: 1rem .5rem; }
    .hv2-final-actions .hv2-btn { flex: 1; }
}

/* Story: lower third instead of a mascot */
.hv2-lower { position: absolute; left: 0; bottom: 1.5rem; padding: .65rem 1.4rem .65rem 1.5rem; background: var(--hv-accent); color: var(--hv-ink); font-weight: 600; border-radius: 0 999px 999px 0; }
.hv2-lower b { margin-right: .7rem; font-weight: 900; }

/* Hero reel: three monitors on a turntable. A scene change moves the player itself. */
.hv2-reel { position: relative; }
.hv2-reel-vids { position: relative; aspect-ratio: 16 / 9; }
/* A scene change pushes the old screen out to the left while the next one slides in from the right (only one is ever visible) */
.hv2-deck { position: absolute; inset: 0; }
.hv2-mon { position: absolute; inset: 0; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .22); background: #000; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85); will-change: transform, opacity; }
.hv2-mon video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv2-mon[data-pos="0"] { transform: none; opacity: 1; z-index: 2; transition: transform .8s cubic-bezier(.16, 1, .3, 1) .12s, opacity .5s ease-out .12s; }
.hv2-mon[data-pos="1"] { transform: translateX(14%) scale(.94); opacity: 0; z-index: 1; transition: none; }
.hv2-mon[data-pos="2"] { transform: translateX(-14%) scale(.94); opacity: 0; z-index: 1; transition: transform .55s cubic-bezier(.7, 0, .84, 0), opacity .45s ease-in; }
/* Hero choreography: words rise on load, the headline's last line rolls with each video */
.hv2-h1 .ln { display: block; clip-path: inset(0 -50vw 0 -50vw); padding-bottom: .12em; margin-bottom: -.12em; }
.hv2-h1 .w { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
    .hv2-h1 .w { animation: hv2-word .9s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i) * 90ms + 120ms); }
}
@keyframes hv2-word { from { transform: translateY(105%); } to { transform: none; } }


/* Headline: a cube turning up. d = one line height, set from JS. */
.hv2-roll { display: inline-grid; vertical-align: bottom; perspective: 900px; padding-bottom: .12em; margin-bottom: -.12em; }
.hv2-roll .cube { display: inline-grid; transform-style: preserve-3d; transform: translateZ(calc(var(--d, 60px) / -2)); }
.hv2-roll .face { grid-area: 1 / 1; white-space: nowrap; backface-visibility: hidden; transform: translateZ(calc(var(--d, 60px) / 2)); }
.hv2-roll .face.next { transform: rotateX(-90deg) translateZ(calc(var(--d, 60px) / 2)); }
.hv2-roll .cube.turn { animation: hv2-cube .75s cubic-bezier(.76, 0, .24, 1) forwards; }
@keyframes hv2-cube { from { transform: translateZ(calc(var(--d, 60px) / -2)) rotateX(0deg); } to { transform: translateZ(calc(var(--d, 60px) / -2)) rotateX(90deg); } }
/* Supporting sentence is typed */
.hv2-lead .caret { display: none; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: text-bottom; background: var(--hv-accent); animation: hv2-blink 1s steps(1) infinite; }
.hv2-lead.typing .caret { display: inline-block; }
@keyframes hv2-blink { 50% { opacity: 0; } }
.hv2-lead .t.selected { background: color-mix(in srgb, var(--hv-accent) 34%, transparent); border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Header: one element, always fixed. Transparent at the top, glass after scrolling (only paint properties change, so nothing jumps) ---------- */
#main-header, #menu-top { position: fixed !important; left: 0; right: 0; top: 0; width: 100%; min-height: 0; z-index: 999; padding: 0 !important; margin: 0; background: transparent; border-bottom: 1px solid transparent; transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease, -webkit-backdrop-filter .35s ease; animation: none; }
#main-header .navbar.liquid-blur, #menu-top .navbar.liquid-blur, #main-header.affix .navbar.liquid-blur { background: transparent !important; backdrop-filter: none; box-shadow: none; border-radius: 0; margin: 0; padding: 1.25rem 0 !important; animation: none; }
/* Shrink: the bar is fixed, so changing its own height never moves the page */
#main-header .navbar.liquid-blur { transition: padding .35s cubic-bezier(.4, 0, .2, 1); }
#main-header.affix .navbar.liquid-blur, html.hdr-small #main-header .navbar.liquid-blur { padding: .55rem 0 !important; }
#main-header #navbar-logo { transition: width .35s cubic-bezier(.4, 0, .2, 1); }
#main-header.affix #navbar-logo, html.hdr-small #main-header #navbar-logo { width: 132px; }
#main-header .btn { transition: padding .35s cubic-bezier(.4, 0, .2, 1), background-color .2s, border-color .2s, color .2s; }
#main-header.affix, html.hdr-small #main-header { min-height: 0; background: rgba(10, 11, 13, .74); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(255, 255, 255, .09); }
body.fixed { padding-top: 0; }

/* ---------- Header menu + buttons ---------- */
#main-header .navbar-logo { flex: 0 0 auto; width: auto; max-width: none; }
/* The wordmark's lettering sits above the image's centre (the bolt hangs below); nudge it so the letters line up with the menu text */
#main-header .navbar-logo img { transform: translateY(6%); }
#main-header #main-menu { justify-content: flex-start !important; gap: .25rem; padding-left: 2.5rem; flex: 1 1 auto; }
#main-header #main-menu .nav-link { position: relative; padding: .55rem .9rem; font-size: .98rem; font-weight: 600; letter-spacing: -.01em; color: rgba(241, 243, 240, .72); }
#main-header #main-menu .nav-link::before { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .15rem; height: 2px; border-radius: 2px; background: var(--hv-accent, #469346); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
#main-header #main-menu .nav-link:hover, #main-header #main-menu .nav-link.show { color: #fff; }
#main-header #main-menu .nav-link:hover::before, #main-header #main-menu .nav-link.show::before { transform: scaleX(1); }
#main-header #main-menu .dropdown-toggle::after { position: static; display: inline-block; width: .42em; height: .42em; margin-left: .5em; vertical-align: .2em; border: 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; border-radius: 0; background: none; transform: rotate(45deg); transition: transform .25s; }
#main-header #main-menu .dropdown-toggle.show::after { transform: rotate(225deg); }
#main-header .dropdown-menu { margin-top: .9rem !important; padding: .6rem !important; background: rgba(16, 18, 21, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .1) !important; border-radius: 16px !important; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8) !important; }
#main-header .dropdown-item { color: #f1f3f0; border-radius: 12px !important; padding: .7rem .8rem !important; transition: background-color .2s; }
#main-header .dropdown-item:hover { background: rgba(255, 255, 255, .06); color: #fff; }
#main-header .dropdown-item small { color: #98a29d; opacity: 1 !important; }
#main-header #login-menu { display: flex; align-items: center; justify-content: flex-end; gap: .35rem; flex: 0 0 auto; }
#main-header #login-menu .btn { border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1; padding: .72rem 1.35rem; margin: 0 !important; border-width: 1.5px; }
#main-header #login-menu .btn-outline-primary { border-color: transparent; background: transparent; color: rgba(241, 243, 240, .85); padding-inline: 1rem; }
#main-header #login-menu .btn-outline-primary:hover { color: #fff; background: rgba(255, 255, 255, .07); border-color: transparent; }
#main-header #login-menu .btn-primary { position: relative; background: var(--hv-accent, #469346); border-color: var(--hv-accent, #469346); color: #fff; padding-right: 2.5rem; transition: padding .3s cubic-bezier(.16, 1, .3, 1), background-color .2s; }
#main-header #login-menu .btn-primary::after { content: "\2192"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); transition: right .3s cubic-bezier(.16, 1, .3, 1); }
#main-header #login-menu .btn-primary:hover { background: color-mix(in srgb, var(--hv-accent, #469346) 82%, #fff); border-color: transparent; color: #fff; }
#main-header #login-menu .btn-primary:hover::after { right: .85rem; }
#main-header.affix .btn, html.hdr-small #main-header .btn { padding-top: .55rem !important; padding-bottom: .55rem !important; }
@media (max-width: 991.98px) { #main-header #main-menu { padding-left: 0; } #main-header #login-menu { justify-content: flex-start; margin-top: .75rem; } }
#main-header .navbar .nav-link, #menu-top .navbar .nav-link { color: rgba(241, 243, 240, .88); font-weight: 600; transition: color .2s; }
#main-header .navbar .nav-link:hover, #menu-top .navbar .nav-link:hover { color: var(--hv-accent, #469346); }
.hv2-hero { padding-top: 8rem; }
@media (max-width: 991.98px) { .hv2-hero { padding-top: 6.5rem; } }

/* ---------- Footer ---------- */
.hv2-foot { --f-line: rgba(255, 255, 255, .1); --f-text: #f1f3f0; --f-muted: #98a29d; background: #0a0b0d; color: var(--f-text); border-top: 1px solid var(--f-line); padding: 5rem 0 0; position: relative; overflow: hidden; }
.hv2-foot a { color: inherit; text-decoration: none; transition: color .2s; }
.hv2-foot a:hover { color: var(--bs-primary, #469346); }
.hv2-foot-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; padding-bottom: 4rem; }
.hv2-foot-logo-fallback, .hv2-foot-name { font-size: 1.4rem; font-weight: 900; letter-spacing: -.04em; }
.hv2-foot .footer-logo img { width: 170px; height: auto; }
.hv2-foot-desc { margin: 1.5rem 0 0; max-width: 24rem; color: var(--f-muted); line-height: 1.75; word-break: keep-all; }
.hv2-foot-social { display: flex; gap: .5rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.hv2-foot-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--f-line); color: var(--f-muted); }
.hv2-foot-social a:hover { border-color: var(--bs-primary, #469346); }
.hv2-foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.hv2-foot-cols h6 { margin: 0 0 1.25rem; font-size: .95rem; font-weight: 700; color: var(--f-text); letter-spacing: -.01em; }
.hv2-foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.hv2-foot-cols a { color: var(--f-muted); }
.hv2-foot-cols a:hover { color: var(--f-text); }
.hv2-foot-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.5rem 0; border-top: 1px solid var(--f-line); font-size: .9rem; color: var(--f-muted); }
.hv2-foot-copy a { color: var(--f-text); font-weight: 600; }
.hv2-foot-policy { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; list-style: none; margin: 0; padding: 0; }
.hv2-foot-biz { margin: 0; padding: 1.5rem 0 0; font-style: normal; font-size: .78rem; line-height: 1.8; color: #6f7873; word-break: keep-all; }
.hv2-foot-biz p { margin: 0; }
.hv2-foot-biz b { font-weight: 400; white-space: nowrap; }
.hv2-foot-biz span { margin-right: .3rem; color: #8a948e; }
.hv2-foot-biz i { margin: 0 .5rem; font-style: normal; opacity: .5; }
.hv2-foot-biz a { color: inherit; text-decoration: none; }
.hv2-foot-biz a:hover { color: var(--hv-accent, #469346); }
.hv2-foot-legal { margin: 0; padding: 1rem 0 3rem; font-size: .78rem; line-height: 1.7; color: #6f7873; word-break: keep-all; }
.hv2-foot-legal span { opacity: .5; margin: 0 .5rem; }
@media (max-width: 991.98px) {
    .hv2-foot { padding-top: 3.5rem; }
    .hv2-foot-top { grid-template-columns: 1fr; gap: 3rem; padding-bottom: 3rem; }
    .hv2-foot-bar { flex-direction: column; align-items: flex-start; }
}

/* Dropdowns open on hover (desktop); the invisible bridge keeps the menu open while the pointer crosses the gap */
@media (hover: hover) and (min-width: 992px) {
    #main-header .nav-item.dropdown { position: relative; }
    #main-header .nav-item.dropdown > .dropdown-menu { position: absolute; left: -.9rem !important; right: auto !important; top: 100%; transform: none; min-width: 23rem; margin-top: .75rem !important; overflow: visible;
        display: block; visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(-8px) scale(.97); transform-origin: 2.4rem 0; clip-path: inset(0 0 100% 0 round 16px);
        transition: opacity .2s ease .06s, transform .3s cubic-bezier(.4, 0, 1, 1), clip-path .3s cubic-bezier(.4, 0, 1, 1), visibility 0s linear .3s; }
    #main-header .nav-item.dropdown:hover > .dropdown-menu, #main-header .nav-item.dropdown:focus-within > .dropdown-menu {
        visibility: visible; pointer-events: auto; opacity: 1; transform: none; clip-path: inset(-12px -12px -40px -12px round 16px);
        transition: opacity .25s ease, transform .42s cubic-bezier(.16, 1, .3, 1), clip-path .42s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
    #main-header .nav-item.dropdown > .dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -1rem; height: 1rem; }
    /* little notch pointing at the label */
    #main-header .nav-item.dropdown > .dropdown-menu::after { content: ""; position: absolute; left: 2.1rem; top: -6px; width: 11px; height: 11px; background: rgb(16, 18, 21); border-left: 1px solid rgba(255, 255, 255, .1); border-top: 1px solid rgba(255, 255, 255, .1); transform: rotate(45deg); }
    #main-header .nav-item.dropdown:hover > .nav-link { color: #fff; }
    #main-header .nav-item.dropdown:hover > .nav-link::before { transform: scaleX(1); }
    #main-header .nav-item.dropdown:hover > .dropdown-toggle::after { transform: rotate(225deg); }
    /* rows rise in one after another when opening, and drop out together when closing */
    #main-header .nav-item.dropdown > .dropdown-menu > li { opacity: 0; transform: translateY(10px); transition: opacity .18s ease, transform .2s ease; }
    #main-header .nav-item.dropdown:hover > .dropdown-menu > li, #main-header .nav-item.dropdown:focus-within > .dropdown-menu > li { opacity: 1; transform: none; transition: opacity .4s ease, transform .45s cubic-bezier(.16, 1, .3, 1); }
    #main-header .nav-item.dropdown:hover > .dropdown-menu > li:nth-child(1) { transition-delay: .06s; }
    #main-header .nav-item.dropdown:hover > .dropdown-menu > li:nth-child(2) { transition-delay: .11s; }
    #main-header .nav-item.dropdown:hover > .dropdown-menu > li:nth-child(3) { transition-delay: .16s; }
    #main-header .nav-item.dropdown:hover > .dropdown-menu > li:nth-child(4) { transition-delay: .21s; }
}

/* Dropdown rows */
#main-header .dropdown-menu .dropdown-item { position: relative; padding-right: 2.6rem !important; }
#main-header .dropdown-menu .dropdown-item::after { content: "\2192"; position: absolute; right: 1rem; top: 50%; color: var(--hv-accent, #469346); opacity: 0; transform: translate(-8px, -50%); transition: opacity .25s, transform .3s cubic-bezier(.16, 1, .3, 1); }
#main-header .dropdown-menu .dropdown-item:hover::after { opacity: 1; transform: translate(0, -50%); }
#main-header .dropdown-menu .dropdown-item:hover { background: color-mix(in srgb, var(--hv-accent, #469346) 13%, transparent); }
#main-header .dropdown-menu .icon-md { background: rgba(255, 255, 255, .06) !important; transition: background-color .25s, transform .3s cubic-bezier(.16, 1, .3, 1); }
#main-header .dropdown-menu .dropdown-item:hover .icon-md { background: var(--hv-accent, #469346) !important; transform: scale(1.06) rotate(-4deg); }
#main-header .dropdown-menu .icon-md i { background: none !important; -webkit-text-fill-color: var(--hv-accent, #469346); color: var(--hv-accent, #469346); transition: -webkit-text-fill-color .25s, color .25s; }
#main-header .dropdown-menu .dropdown-item:hover .icon-md i { -webkit-text-fill-color: #fff; color: #fff; }
#main-header .dropdown-menu .dropdown-item strong { transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
#main-header .dropdown-menu .dropdown-item:hover strong { transform: translateX(3px); }


/* Story scenes, scrubbed by scroll: --a (0..1) is each animation's current time, --o delays it */
.hv2-screen { aspect-ratio: auto; height: min(34rem, 72svh); }
.hv2-layer { display: flex; flex-direction: column; justify-content: center; }
.hv2-av { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: url("../images/home/avatar-juno.webp") center / cover, #14301c; }
.hv2-av-v { background: var(--c); }
/* 1 YouTube channel */
.hv2-yt-top { display: flex; align-items: center; gap: 1rem; }
.hv2-yt-top .hv2-av { width: 4.4rem; height: 4.4rem; }
.hv2-yt-top b { display: block; font-size: 1.5rem; letter-spacing: -.02em; }
.hv2-yt-top span { color: var(--hv-muted); font-size: .9rem; }
.hv2-yt-h { margin: 2rem 0 .4rem; font-weight: 700; }
.hv2-yt-links { list-style: none; margin: 0; padding: 0; }
.hv2-yt-links li { display: flex; align-items: center; gap: .9rem; padding: 1rem 0; border-top: 1px solid var(--hv-line); }
.hv2-yt-links img { width: 1.75rem; height: 1.75rem; flex: none; }
.hv2-yt-links .n { flex: 0 0 8rem; font-weight: 600; }
.hv2-yt-links .u { display: grid; flex: 1; min-width: 0; font: .9rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.hv2-yt-links .u > * { grid-area: 1 / 1; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: clip; font-style: normal; text-decoration: none; }
.hv2-yt-links s { color: #7fb0ff; background: linear-gradient(color-mix(in srgb, var(--hv-accent) 55%, transparent), color-mix(in srgb, var(--hv-accent) 55%, transparent)) no-repeat 0 0 / 0% 100%; animation: hv2-yt-long 1s calc(-1s * (var(--a) - var(--o))); }
.hv2-yt-links em { color: var(--hv-accent); font-weight: 700; clip-path: inset(0 100% 0 0); animation: hv2-yt-short 1s calc(-1s * (var(--a) - var(--o))); animation-timing-function: steps(16) !important; }
@keyframes hv2-yt-long { 0%, 8% { background-size: 0% 100%; opacity: 1; } 22%, 28% { background-size: 100% 100%; opacity: 1; } 31%, 100% { background-size: 100% 100%; opacity: 0; } }
@keyframes hv2-yt-short { 0%, 30% { clip-path: inset(0 100% 0 0); } 52%, 100% { clip-path: inset(0 0 0 0); } }
/* 2 QR designer */
.hv2-qrd { display: flex; align-items: center; justify-content: center; gap: 3rem; }
.hv2-qrd-card { position: relative; width: 14rem; padding: .8rem; background: #f4f6f5; border-radius: 4px; animation: hv2-qr-card 1s calc(-1s * var(--a)); }
.hv2-qrd-card img { display: block; width: 100%; height: auto; animation: hv2-qr-img 1s calc(-1s * var(--a)); }
.hv2-qrd-card .hv2-qrd-logo { position: absolute; inset: 50% auto auto 50%; width: 3.6rem !important; height: 3.6rem !important; margin: calc(-1.8rem - 4px) 0 0 calc(-1.8rem - 4px); padding: 4px; box-sizing: content-box; border-radius: 50%; object-fit: cover; background: #f4f6f5; opacity: 0; animation: hv2-qr-logo 1s calc(-1s * var(--a)); }
.hv2-qrd-ctl { margin: 0; display: grid; grid-template-columns: auto auto; gap: 1.2rem 1.2rem; align-items: center; }
.hv2-qrd-ctl dt { color: var(--hv-muted); font-size: .85rem; }
.hv2-qrd-ctl dd { margin: 0; display: flex; gap: .6rem; }
.sw i { width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 2px solid var(--hv-line); }
.sw i:nth-child(1) { background: #f4f6f5; animation: hv2-qr-p1 1s calc(-1s * var(--a)); } .sw i:nth-child(2) { background: var(--hv-accent); animation: hv2-qr-p2 1s calc(-1s * var(--a)); } .sw i:nth-child(3) { background: #15171b; animation: hv2-qr-p3 1s calc(-1s * var(--a)); }
.sh b { padding: .35rem .9rem; border-radius: 999px; border: 1.5px solid var(--hv-line); font-size: .85rem; font-weight: 600; }
.sh b:nth-child(1) { animation: hv2-qr-s1 1s calc(-1s * var(--a)); } .sh b:nth-child(2) { animation: hv2-qr-s2 1s calc(-1s * var(--a)); }
.hv2-qrd-sw { width: 2.8rem; height: 1.5rem; border-radius: 999px; background: #2a2d33; position: relative; animation: hv2-qr-tg 1s calc(-1s * var(--a)); }
.hv2-qrd-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: calc(1.5rem - 6px); height: calc(1.5rem - 6px); border-radius: 50%; background: #fff; animation: hv2-qr-tgk 1s calc(-1s * var(--a)); }
@keyframes hv2-qr-card { 0%, 10% { background: #f4f6f5; border-radius: 4px; padding: .8rem; } 22%, 40% { background: var(--hv-accent); border-radius: 4px; padding: .8rem; } 50%, 55% { background: #15171b; border-radius: 4px; padding: .8rem; } 66%, 100% { background: #15171b; border-radius: 28px; padding: 1.2rem; } }
@keyframes hv2-qr-img { 0%, 40% { filter: none; } 50%, 100% { filter: invert(1) hue-rotate(180deg); } 66%, 100% { filter: invert(1) hue-rotate(180deg); border-radius: 12px; } }
@keyframes hv2-qr-logo { 0%, 78% { opacity: 0; transform: scale(.3); } 90%, 100% { opacity: 1; transform: scale(1); } }
@keyframes hv2-qr-p1 { 0%, 8% { border-color: #fff; } 14%, 100% { border-color: var(--hv-line); } }
@keyframes hv2-qr-p2 { 0%, 12% { border-color: var(--hv-line); } 20%, 38% { border-color: #fff; } 44%, 100% { border-color: var(--hv-line); } }
@keyframes hv2-qr-p3 { 0%, 42% { border-color: var(--hv-line); } 50%, 100% { border-color: #fff; } }
@keyframes hv2-qr-s1 { 0%, 56% { border-color: #fff; } 64%, 100% { border-color: var(--hv-line); } }
@keyframes hv2-qr-s2 { 0%, 58% { border-color: var(--hv-line); } 66%, 100% { border-color: #fff; background: var(--hv-accent); color: var(--hv-ink); } }
@keyframes hv2-qr-tg { 0%, 74% { background: #2a2d33; } 82%, 100% { background: var(--hv-accent); } }
@keyframes hv2-qr-tgk { 0%, 74% { transform: none; } 82%, 100% { transform: translateX(1.3rem); } }
/* 3 Profile themes */
.hv2-l3 { flex-direction: row; align-items: center; justify-content: center; gap: 2.5rem; }
.hv2-ph { position: relative; height: 100%; max-height: 30rem; aspect-ratio: 1 / 2; border-radius: 26px; overflow: hidden; }
.hv2-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv2-ph .p1 { animation: hv2-ph1 1s calc(-1s * var(--a)); animation-timing-function: steps(6) !important; }
.hv2-ph .p2 { animation: hv2-ph2 1s calc(-1s * var(--a)); } .hv2-ph .p3 { animation: hv2-ph3 1s calc(-1s * var(--a)); }
.hv2-th { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; font-weight: 600; }
.hv2-th li { opacity: .35; padding-left: 1.4rem; position: relative; }
.hv2-th li::before { content: ""; position: absolute; left: 0; top: .3em; width: .8rem; height: .8rem; border-radius: 50%; background: currentColor; }
.hv2-th .t1 { animation: hv2-t1 1s calc(-1s * var(--a)); } .hv2-th .t2 { animation: hv2-t2 1s calc(-1s * var(--a)); } .hv2-th .t3 { animation: hv2-t3 1s calc(-1s * var(--a)); }
@keyframes hv2-ph1 { 0% { clip-path: inset(0 0 100% 0); } 40%, 100% { clip-path: inset(0); } }
@keyframes hv2-ph2 { 0%, 48% { clip-path: inset(0 100% 0 0); } 64%, 100% { clip-path: inset(0); } }
@keyframes hv2-ph3 { 0%, 74% { clip-path: inset(0 100% 0 0); } 90%, 100% { clip-path: inset(0); } }
@keyframes hv2-t1 { 0%, 46% { opacity: 1; } 54%, 100% { opacity: .35; } }
@keyframes hv2-t2 { 0%, 46% { opacity: .35; } 56%, 70% { opacity: 1; } 78%, 100% { opacity: .35; } }
@keyframes hv2-t3 { 0%, 72% { opacity: .35; } 82%, 100% { opacity: 1; } }
/* 4 Chat */
.hv2-l4 { gap: 1.1rem; }
.hv2-chat { display: grid; grid-template-columns: auto auto 1fr; align-items: center; column-gap: .7rem; margin: 0; font-size: 1.05rem; opacity: 0; animation: hv2-chat-in 1s calc(-1s * (var(--a) - var(--o))); }
.hv2-chat .hv2-av { width: 2.2rem; height: 2.2rem; }
.hv2-chat b { color: var(--c, #e8913a); font-size: .9rem; white-space: nowrap; }
.hv2-chat-bot b { color: var(--hv-accent); }
.hv2-chat-bot span { grid-column: 2 / 4; margin-top: .35rem; margin-left: 0; padding: .7rem 1rem; border-radius: 4px 16px 16px 16px; background: color-mix(in srgb, var(--hv-accent) 22%, #0a0b0d); border: 1px solid color-mix(in srgb, var(--hv-accent) 45%, transparent); font: 600 .95rem ui-monospace, SFMono-Regular, Menlo, monospace; justify-self: start; }
.hv2-chat:not(.hv2-chat-bot) .hv2-type { display: inline-block; justify-self: start; }
.hv2-chat:not(.hv2-chat-bot) b { margin: 0; }
.hv2-type { grid-column: 1 / 4; margin-left: 3.0rem; clip-path: inset(0 100% 0 0); animation: hv2-type 1s calc(-1s * (var(--a) - var(--o) - .03)); animation-timing-function: steps(5) !important; }
@keyframes hv2-chat-in { 0% { opacity: 0; transform: translateY(1rem); } 8%, 100% { opacity: 1; transform: none; } }
@keyframes hv2-type { 0% { clip-path: inset(0 100% 0 0); } 12%, 100% { clip-path: inset(0 0 0 0); } }

/* Tools: copy beside a live visual, no cards. The visual animates once the row scrolls in. */
.hv2-bento-wrap { padding: 7rem 0; }
.hv2-bento-head { margin-bottom: 3rem; }
.hv2-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.25rem; }
.hv2-cell { position: relative; overflow: hidden; border-radius: var(--hv-radius); padding: 2.25rem; background: var(--hv-surface); border: 1.5px solid var(--hv-line); transition: border-color .3s, transform .4s cubic-bezier(.16, 1, .3, 1); }
.hv2-cell:hover { border-color: color-mix(in srgb, var(--hv-accent) 55%, transparent); transform: translateY(-4px); }
.hv2-cell h3 { font-size: 1.25rem; letter-spacing: -.02em; word-break: keep-all; }
.hv2-cell p { margin-top: .6rem; color: var(--hv-muted); line-height: 1.7; word-break: keep-all; }
.hv2-cell-qr { grid-column: span 5; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; background: color-mix(in srgb, var(--hv-accent) 26%, #0a0b0d); border-color: color-mix(in srgb, var(--hv-accent) 30%, transparent); }
.hv2-cell-qr p { color: color-mix(in srgb, var(--hv-accent) 20%, #e8ece9); }
.hv2-cell-stats { grid-column: span 7; display: flex; align-items: center; gap: 2rem; }
.hv2-cell-stats > div:first-child { flex: 1 1 52%; }
.hv2-cell-deep { grid-column: span 4; }
.hv2-cell-domain { grid-column: span 3; display: flex; flex-direction: column; justify-content: flex-end; background: var(--hv-surface-2); gap: .2rem; }
.hv2-cell-qr .hv2-tq { width: 11rem; }
.hv2-cell-stats .hv2-ts { flex: 1 1 48%; }
.hv2-cell-deep .hv2-tl { justify-content: flex-start; flex-wrap: nowrap; gap: .75rem; margin-top: 1.4rem; max-width: none; }
.hv2-cell-deep .hv2-tl img { width: 2.5rem; height: 2.5rem; }
.hv2-cell-domain .hv2-td { margin: 0 0 1.5rem; font-size: 1.05rem; overflow: hidden; }
/* QR: recolors and rounds itself in a loop */
.hv2-tq { width: 13rem; padding: .8rem; background: #f4f6f5; border-radius: 4px; }
.hv2-tq img { display: block; width: 100%; height: auto; }
.is-in .hv2-tq { animation: hv2-tq 7s ease-in-out infinite; }
@keyframes hv2-tq { 0%, 18% { background: #f4f6f5; border-radius: 4px; padding: .8rem; } 28%, 46% { background: var(--hv-accent); border-radius: 4px; padding: .8rem; } 58%, 86% { background: #15171b; border-radius: 28px; padding: 1.2rem; } 100% { background: #f4f6f5; border-radius: 4px; padding: .8rem; } }
.is-in .hv2-tq img { animation: hv2-tq-img 7s ease-in-out infinite; }
@keyframes hv2-tq-img { 0%, 46% { filter: none; border-radius: 0; } 58%, 86% { filter: invert(1) hue-rotate(180deg); border-radius: 12px; } 100% { filter: none; border-radius: 0; } }
/* Stats: bars grow, numbers sit at the end */
.hv2-ts { list-style: none; margin: 0; padding: 0; width: min(28rem, 100%); display: grid; gap: 1.4rem; }
.hv2-ts li { display: grid; grid-template-columns: 4.5rem 1fr 3.5rem; align-items: center; gap: 1rem; }
.hv2-ts span { color: var(--hv-muted); }
.hv2-ts i { display: block; height: .9rem; border-radius: 999px; background: color-mix(in srgb, var(--hv-accent) 70%, #fff 0%); transform-origin: left; transform: scaleX(0); width: var(--w); transition: transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.hv2-ts li:nth-child(2) i { background: color-mix(in srgb, var(--hv-accent) 45%, #0a0b0d); transition-delay: .15s; } .hv2-ts li:nth-child(3) i { background: color-mix(in srgb, var(--hv-accent) 28%, #0a0b0d); transition-delay: .3s; }
.is-in .hv2-ts i { transform: none; }
.hv2-ts b { font-size: 1.5rem; font-weight: 900; letter-spacing: -.03em; text-align: right; font-variant-numeric: tabular-nums; }
/* App links: logos pop in one after another */
.hv2-tl { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; max-width: 24rem; }
.hv2-tl img { display: block; width: 4rem; height: 4rem; opacity: 0; transform: scale(.4) translateY(1rem); transition: opacity .5s, transform .6s cubic-bezier(.34, 1.56, .64, 1); }
.hv2-tl li:nth-child(2) img { transition-delay: .08s; } .hv2-tl li:nth-child(3) img { transition-delay: .16s; } .hv2-tl li:nth-child(4) img { transition-delay: .24s; } .hv2-tl li:nth-child(5) img { transition-delay: .32s; } .hv2-tl li:nth-child(6) img { transition-delay: .4s; }
.is-in .hv2-tl img { opacity: .95; transform: none; }
.hv2-tl img:hover { transform: scale(1.12) rotate(-4deg); }
/* Domain: address types itself */
.hv2-td { font: 600 clamp(1.1rem, 2.4vw, 1.6rem) ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.hv2-td strong { color: var(--hv-accent); font-weight: 600; }
.hv2-td span { display: inline-block; clip-path: inset(0 100% 0 0); border-right: 2px solid var(--hv-accent); padding-right: 2px; }
.is-in .hv2-td span { animation: hv2-td 6s infinite; }
@keyframes hv2-td { 0% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(17); } 40%, 75% { clip-path: inset(0 0 0 0); animation-timing-function: steps(17); } 100% { clip-path: inset(0 100% 0 0); } }
@media (prefers-reduced-motion: reduce) { .hv2-td span { clip-path: none; animation: none !important; } .hv2-tq { animation: none !important; } }

/* FAQ: heading on the side, numbered accordion */
.hv2-faq { padding: 5rem 0 8rem; }
.hv2-faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; align-items: start; }
.hv2-faq-side { position: sticky; top: 7rem; }
.hv2-faq-side .hv2-btn { margin-top: 1.5rem; }
.hv2-faq-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--hv-line); }
.hv2-qa { border-top: 1px solid var(--hv-line); }
.hv2-qa h3 { margin: 0; font-size: inherit; }
.hv2-qa button { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 3rem 1fr 1.5rem; align-items: center; width: 100%; padding: 1.5rem 0; cursor: pointer; }
.hv2-qa button:focus-visible { outline: 2px solid var(--hv-accent); outline-offset: 2px; border-radius: 6px; }
.hv2-qa .n { font: 600 .85rem ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--hv-muted); transition: color .3s; }
.hv2-qa .q { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; word-break: keep-all; transition: transform .35s cubic-bezier(.16, 1, .3, 1), color .3s; }
.hv2-qa .x { position: relative; width: 1rem; height: 1rem; justify-self: end; }
.hv2-qa .x::before, .hv2-qa .x::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 2px; margin-top: -1px; background: var(--hv-accent); transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.hv2-qa .x::after { transform: rotate(90deg); }
.hv2-qa button:hover .q { transform: translateX(6px); }
.hv2-qa.is-open .n, .hv2-qa button:hover .n { color: var(--hv-accent); }
.hv2-qa.is-open .x::after { transform: rotate(0); }
.hv2-qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.16, 1, .3, 1); }
.hv2-qa-a > div { overflow: hidden; }
.hv2-qa-a p { margin: 0; padding: 0 2.5rem 1.6rem 3rem; color: var(--hv-muted); line-height: 1.8; word-break: keep-all; opacity: 0; transform: translateY(-.5rem); transition: opacity .35s, transform .45s cubic-bezier(.16, 1, .3, 1); }
.hv2-qa.is-open .hv2-qa-a { grid-template-rows: 1fr; }
.hv2-qa.is-open .hv2-qa-a p { opacity: 1; transform: none; transition-delay: .08s; }
@media (prefers-reduced-motion: reduce) { .hv2-qa-a, .hv2-qa-a p, .hv2-qa .q, .hv2-qa .x::before, .hv2-qa .x::after { transition: none; } }
@media (max-width: 991.98px) { .hv2-faq-grid { grid-template-columns: 1fr; gap: 2rem; } .hv2-faq-side { position: static; } .hv2-qa-a p { padding-left: 0; } }

/* Mobile: single column everywhere, scaled-down scenes. Kept last so it wins over the desktop rules above. */
@media (max-width: 991.98px) {
    .hv2-story-grid { grid-template-columns: minmax(0, 1fr); }
    .hv2-bento { grid-template-columns: minmax(0, 1fr); }
    .hv2-cell-qr, .hv2-cell-stats, .hv2-cell-deep, .hv2-cell-domain { grid-column: auto; grid-row: auto; }
    .hv2-cell { padding: 1.75rem; }
    .hv2-cell-qr { min-height: 22rem; }
    .hv2-cell-stats { flex-direction: column; align-items: stretch; }
    .hv2-cell-stats .hv2-ts { flex: none; width: 100%; }
    .hv2-mq-track { --g: 1rem; }
    .hv2-mq-item { width: 8rem; height: 8rem; }
    .hv2-layer { padding: 1rem 0; }
    .hv2-qrd { flex-direction: column; gap: 1.1rem; }
    .hv2-qrd-card { width: 8.5rem; }
    .hv2-qrd-ctl { gap: .8rem 1rem; }
    .hv2-yt-links .n { flex-basis: 6rem; font-size: .85rem; }
    .hv2-yt-links .u { font-size: .75rem; }
    .hv2-yt-top b { font-size: 1.25rem; }
    .hv2-l3 { flex-direction: row; gap: 1.5rem; }
    .hv2-ph { height: 18.5rem; }
    .hv2-th { gap: .7rem; }
    /* The showcase scrubs on scroll here too: heading + the current step on top, the scene below, all pinned */
    .hv2-story-grid { gap: 1rem; }
    .hv2-story-copy .hv2-h2 { font-size: 1.7rem; }
    .hv2-steps { margin-top: .5rem; min-height: 8.5rem; }
    /* Steps share one cell: the old text slides up and fades while the new one rises in */
    .hv2-steps { display: grid; }
    .hv2-steps li { grid-area: 1 / 1; align-self: start; padding: .5rem 0 .5rem 1rem; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s ease, transform .45s cubic-bezier(.16, 1, .3, 1); }
    .hv2-steps li.is-on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .12s; }
    .hv2-steps li:not(.is-on) { transform: translateY(-10px); }
    .hv2-steps h3 { font-size: 1.15rem; }
    .hv2-steps p { font-size: .92rem; line-height: 1.6; }
    .hv2-screen { height: 22rem; }
    .hv2-l4 { gap: .55rem; }
    .hv2-chat { font-size: .95rem; }
    .hv2-chat .hv2-av { width: 1.9rem; height: 1.9rem; }
    .hv2-chat-bot span { margin-top: .15rem; padding: .5rem .8rem; font-size: .85rem; }
}
/* Mobile menu: full-screen sheet with big links, inline sub-lists and stacked actions at the bottom */
@media (max-width: 991.98px) {
    #main-header:has(.navbar-collapse.show), #main-header:has(.navbar-collapse.collapsing) { background: #0a0b0d; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
    #main-header .navbar-logo, #main-header .navbar-toggler { position: relative; z-index: 2; }
    #main-header:has(.navbar-collapse.show) #navbar-logo { width: 150px; }
    #main-header .navbar-collapse { position: fixed; inset: 0; z-index: 1; display: none; flex-direction: column; padding: 5.25rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); background: #0a0b0d; overflow-y: auto; overscroll-behavior: contain; transition: none; height: auto !important; }
    #main-header .navbar-collapse.show, #main-header .navbar-collapse.collapsing { display: flex; }
    #main-header #main-menu { flex: 0 0 auto; flex-direction: column; flex-wrap: nowrap; margin: 0 !important; }
    #main-header #main-menu .nav-item { border-bottom: 1px solid var(--hv-line); }
    #main-header #main-menu .nav-link { display: flex; align-items: center; justify-content: space-between; padding: 1.05rem 0; font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; color: #f1f3f0; }
    #main-header #main-menu .nav-link::before { display: none; }
    #main-header #main-menu .dropdown-toggle::after { width: .5em; height: .5em; margin-left: auto; vertical-align: 0; }
    /* Sub-lists open inline: plain rows, no card, no icon tiles */
    #main-header .navbar-collapse .dropdown-menu { position: static !important; inset: auto !important; transform: none !important; width: 100%; margin: 0 0 .75rem !important; padding: 0 !important; background: none; border: 0 !important; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
    #main-header .navbar-collapse .dropdown-menu::before, #main-header .navbar-collapse .dropdown-menu::after { display: none; }
    #main-header .navbar-collapse .dropdown-menu > li { margin: 0 !important; }
    #main-header .navbar-collapse .dropdown-item { padding: .7rem 0 !important; border-radius: 0 !important; }
    #main-header .navbar-collapse .dropdown-item::after { display: none; }
    #main-header .navbar-collapse .dropdown-item .icon-md { display: none !important; }
    #main-header .navbar-collapse .dropdown-item .ms-3 { margin-left: 0 !important; }
    #main-header .navbar-collapse .dropdown-item strong { font-size: 1.1rem; font-weight: 600; }
    #main-header .navbar-collapse .dropdown-item:hover { background: none; }
    #main-header .navbar-collapse .dropdown-item:hover strong { transform: none; color: var(--hv-accent); }
    #main-header #login-menu { flex: 0 0 auto !important; margin-top: auto; padding-top: 2rem; display: flex; flex-direction: column-reverse; align-items: stretch; gap: .75rem; text-align: center; }
    #main-header #login-menu .btn { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; min-height: 3.4rem; margin: 0 !important; padding: .75rem 1rem !important; font-size: 1.05rem; line-height: 1.2; }
    #main-header #login-menu .btn-outline-primary { color: #f1f3f0; border: 1.5px solid rgba(255, 255, 255, .22); background: transparent; }
    /* Items rise in one after another when the sheet opens */
    #main-header .navbar-collapse.show #main-menu .nav-item, #main-header .navbar-collapse.show #login-menu { animation: hv2-mnav .5s cubic-bezier(.16, 1, .3, 1) both; }
    #main-header .navbar-collapse.show #main-menu .nav-item:nth-child(2) { animation-delay: .04s; }
    #main-header .navbar-collapse.show #main-menu .nav-item:nth-child(3) { animation-delay: .08s; }
    #main-header .navbar-collapse.show #main-menu .nav-item:nth-child(4) { animation-delay: .12s; }
    #main-header .navbar-collapse.show #main-menu .nav-item:nth-child(5) { animation-delay: .16s; }
    #main-header .navbar-collapse.show #login-menu { animation-delay: .2s; }
}
@keyframes hv2-mnav { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #main-header .navbar-collapse.show #main-menu .nav-item, #main-header .navbar-collapse.show #login-menu { animation: none; } }

/* The bolt of the k hangs below the wordmark, so on the phone bar (aligned with the menu button) the text needs a bigger nudge */
@media (max-width: 991.98px) { #main-header .navbar-logo img { transform: translateY(11%); } }
/* Menu button: two thin lines (the second one shorter) that cross into an X when the sheet opens */
@media (max-width: 991.98px) {
    #main-header .navbar-toggler { padding: .5rem .25rem .5rem .75rem; }
    #main-header .navbar-toggler .navbar-toggle-icon { width: 26px; height: 14px; transition: none; }
    #main-header .navbar-toggler .navbar-toggle-icon span { height: 2px; background: #f1f3f0; opacity: 1; border-radius: 2px; transition: top .3s cubic-bezier(.16, 1, .3, 1), width .3s cubic-bezier(.16, 1, .3, 1), transform .3s cubic-bezier(.16, 1, .3, 1); }
    #main-header .navbar-toggler .navbar-toggle-icon span:nth-child(2), #main-header .navbar-toggler .navbar-toggle-icon span:nth-child(3) { display: none; }
    #main-header .navbar-toggler .navbar-toggle-icon span:nth-child(1) { top: 2px; left: 0; right: auto; width: 100%; }
    #main-header .navbar-toggler .navbar-toggle-icon span:nth-child(4) { top: 10px; left: auto; right: 0; width: 62%; }
    #main-header .navbar-toggler:not(.collapsed) .navbar-toggle-icon span:nth-child(1) { top: 6px; left: 0; width: 100%; transform: rotate(45deg); }
    #main-header .navbar-toggler:not(.collapsed) .navbar-toggle-icon span:nth-child(4) { top: 6px; left: 0; right: auto; width: 100%; transform: rotate(-45deg); }
}

/* ===== Light mode (cookie hv2theme=light sets html[data-hv=light]) ===== */
.hv2-theme { display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; margin-right: .6rem; border-radius: 50%; border: 1.5px solid rgba(127, 127, 127, .35); background: transparent; color: #f1f3f0; cursor: pointer; vertical-align: middle; transition: background-color .2s, border-color .2s; }
.hv2-theme:hover { background: rgba(127, 127, 127, .14); }
.hv2-theme .sun { display: none; }
html[data-hv="light"] .hv2-theme .sun { display: block; }
html[data-hv="light"] .hv2-theme .moon { display: none; }
@media (max-width: 991.98px) { #main-header #login-menu .hv2-theme { width: 100%; height: 3.4rem; border-radius: 999px; margin: 0; } }
html[data-hv="light"] .hv2 {
    --hv-bg: #f5f6f3;
    --hv-surface: #ffffff;
    --hv-surface-2: #eceee9;
    --hv-line: rgba(10, 11, 13, 0.12);
    --hv-text: #0c0f0d;
    --hv-muted: #56605b;
}
html[data-hv="light"] body:has(.hv2) { background: #f5f6f3; }

html[data-hv="light"] .hv2-theme { color: rgba(12, 15, 13, .8); }
html[data-hv="light"] .hv2-btn-line { border-color: rgba(10, 11, 13, .3); }
html[data-hv="light"] .hv2-shorten { background: #fff; }
html[data-hv="light"] .hv2-input::placeholder { color: #7b857f; }
html[data-hv="light"] .hv2-wall-row { -webkit-text-stroke-color: rgba(10, 11, 13, .09); }
html[data-hv="light"] .hv2-wall-final .hv2-wall-row { -webkit-text-stroke-color: rgba(10, 11, 13, .07); }
html[data-hv="light"] .hv2-bigrow h3 { color: rgba(12, 15, 13, .9); }
html[data-hv="light"] .hv2-bigrow:hover h3, html[data-hv="light"] .hv2-bigrow:focus-visible h3 { color: var(--hv-accent); }
html[data-hv="light"] .hv2-final-mascot { filter: drop-shadow(0 24px 30px rgba(10, 11, 13, .25)); }
html[data-hv="light"] .hv2-mon { border-color: rgba(10, 11, 13, .18); box-shadow: 0 30px 60px -30px rgba(10, 11, 13, .4); }
/* Header */
html[data-hv="light"] #main-header.affix, html[data-hv="light"].hdr-small #main-header { background: rgba(245, 246, 243, .82); border-bottom-color: rgba(10, 11, 13, .09); }
html[data-hv="light"] #main-header #main-menu .nav-link, html[data-hv="light"] #main-header .navbar .nav-link { color: rgba(12, 15, 13, .74); }
html[data-hv="light"] #main-header #main-menu .nav-link:hover, html[data-hv="light"] #main-header #main-menu .nav-link.show, html[data-hv="light"] #main-header .nav-item.dropdown:hover > .nav-link { color: #000; }
html[data-hv="light"] #main-header .dropdown-menu { background: rgba(255, 255, 255, .97); border-color: rgba(10, 11, 13, .1) !important; }
html[data-hv="light"] #main-header .nav-item.dropdown > .dropdown-menu::after { background: #fff; border-color: rgba(10, 11, 13, .1); }
html[data-hv="light"] #main-header .dropdown-item { color: #0c0f0d; }
html[data-hv="light"] #main-header .dropdown-item:hover { background: rgba(10, 11, 13, .05); color: #000; }
html[data-hv="light"] #main-header .dropdown-item small { color: #56605b; }
html[data-hv="light"] #main-header .dropdown-menu .icon-md { background: rgba(10, 11, 13, .06) !important; }
html[data-hv="light"] #main-header .dropdown-menu .dropdown-item:hover .icon-md i { -webkit-text-fill-color: #fff; color: #fff; }
html[data-hv="light"] #main-header #login-menu .btn-outline-primary { color: rgba(12, 15, 13, .85); }
html[data-hv="light"] #main-header #login-menu .btn-outline-primary:hover { color: #000; background: rgba(10, 11, 13, .06); }
/* Scenes */
html[data-hv="light"] .hv2-yt-links img, html[data-hv="light"] .hv2-tl img { filter: invert(1); }
html[data-hv="light"] .hv2-yt-links s { color: #1a5fd0; }
html[data-hv="light"] .hv2-chat-bot span { background: color-mix(in srgb, var(--hv-accent) 14%, #fff); color: var(--hv-text); }
html[data-hv="light"] .hv2-qrd-sw { background: #cdd2ce; }
html[data-hv="light"] .sw i:nth-child(1) { box-shadow: inset 0 0 0 1px rgba(10, 11, 13, .15); }
/* Tool cards */
html[data-hv="light"] .hv2-cell-qr { background: color-mix(in srgb, var(--hv-accent) 15%, #fff); border-color: color-mix(in srgb, var(--hv-accent) 35%, transparent); }
html[data-hv="light"] .hv2-cell-qr p { color: #3d4a41; }
html[data-hv="light"] .hv2-ts li:nth-child(2) i { background: color-mix(in srgb, var(--hv-accent) 55%, #fff); }
html[data-hv="light"] .hv2-ts li:nth-child(3) i { background: color-mix(in srgb, var(--hv-accent) 35%, #fff); }
/* Footer */
html[data-hv="light"] .hv2-foot { --f-line: rgba(10, 11, 13, .12); --f-text: #0c0f0d; --f-muted: #56605b; background: #eceee9; }
html[data-hv="light"] .hv2-foot-legal, html[data-hv="light"] .hv2-foot-biz { color: #7a847e; } html[data-hv="light"] .hv2-foot-biz span { color: #5f6963; }
/* Mobile sheet */
@media (max-width: 991.98px) {
    html[data-hv="light"] #main-header:has(.navbar-collapse.show), html[data-hv="light"] #main-header:has(.navbar-collapse.collapsing) { background: #f5f6f3; }
    html[data-hv="light"] #main-header .navbar-collapse { background: #f5f6f3; }
    html[data-hv="light"] #main-header #main-menu .nav-link { color: #0c0f0d; }
    html[data-hv="light"] #main-header #login-menu .btn-outline-primary { color: #0c0f0d; border-color: rgba(10, 11, 13, .25); }
    html[data-hv="light"] #main-header .navbar-toggler .navbar-toggle-icon span { background: #0c0f0d; }
}

/* Dropdown shadows: bootstrap's .shadow/.shadow-lg are !important and far too heavy for these menus */
#main-header .dropdown-menu { box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .55) !important; }
html[data-hv="light"] #main-header .dropdown-menu { box-shadow: 0 12px 30px -14px rgba(10, 11, 13, .22) !important; }
@media (max-width: 991.98px) { #main-header .navbar-collapse .dropdown-menu, html[data-hv="light"] #main-header .navbar-collapse .dropdown-menu { box-shadow: none !important; } }
@media (max-width: 991.98px) { html[data-hv="light"] .hv2-shorten { background: none; } }

/* Bootstrap's smooth scrolling animates the browser's own scroll restoration/anchoring after a reload, which reads as the page bouncing up and down while fonts and images settle. Jump instantly instead. */
html, :root { scroll-behavior: auto !important; }

/* First paint waits (max 600ms) for the fonts; the header's size transitions stay off until it has settled */
html.fonts-pending body { visibility: hidden; }
html:not(.hdr-ready) #main-header, html:not(.hdr-ready) #main-header * { transition: none !important; }

/* Pretendard (self-hosted variable font) for every page: Korean and Latin alike. Icon fonts keep their own family via their classes. */
:root { --bs-body-font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif; }
html body { font-family: var(--bs-body-font-family) !important; }

/* menu active state: current page link, and its parent dropdown */
#main-header #main-menu .nav-link.active, #main-header #main-menu .nav-item:has(.dropdown-item.active) > .nav-link { color: var(--hv-text, #fff); }
#main-header #main-menu .nav-link.active::before, #main-header #main-menu .nav-item:has(.dropdown-item.active) > .nav-link::before { transform: scaleX(1); }
html[data-hv="light"] #main-header #main-menu .nav-link.active, html[data-hv="light"] #main-header #main-menu .nav-item:has(.dropdown-item.active) > .nav-link { color: #000; }
#main-header .dropdown-menu .dropdown-item.active { background: color-mix(in srgb, var(--hv-accent, #469346) 13%, transparent); color: inherit; }
#main-header .dropdown-menu .dropdown-item.active::after { opacity: 1; transform: translate(0, -50%); }
#main-header .dropdown-menu .dropdown-item.active .icon-md { background: var(--hv-accent, #469346) !important; }
#main-header .dropdown-menu .dropdown-item.active .icon-md i { -webkit-text-fill-color: #fff; color: #fff; }
html[data-hv="light"] #main-header .dropdown-item.active { color: #0c0f0d; }
@media (max-width: 991.98px) {
    #main-header #main-menu .nav-link.active, #main-header #main-menu .nav-item:has(.dropdown-item.active) > .nav-link, #main-header .navbar-collapse .dropdown-item.active strong { color: var(--hv-accent); }
    #main-header .navbar-collapse .dropdown-item.active { background: none; }
}
#main-header .dropdown-menu .dropdown-item.active strong { color: #f1f3f0; }
html[data-hv="light"] #main-header .dropdown-menu .dropdown-item.active strong { color: #0c0f0d; }
@media (max-width: 991.98px) { #main-header .navbar-collapse .dropdown-item.active strong { color: var(--hv-accent); } }
#main-header #login-menu .avatar-sm { width: 40px; height: 40px; border-width: 1.5px !important; object-fit: cover; }

/* Hero text appears strictly top to bottom: headline words, then lead, form, CTA */
@media (prefers-reduced-motion: no-preference) {
    .hv2-hero-copy > .hv2-h1 { animation: none; }
    .hv2-h1 .w { animation-delay: calc(var(--i) * 110ms + 150ms); }
    .hv2-hero-copy > :nth-child(2) { animation-delay: .85s; }
    .hv2-hero-copy > :nth-child(3) { animation-delay: 1.05s; }
    .hv2-hero-copy > :nth-child(n+4) { animation-delay: 1.25s; }
}

/* User menu: same surface and open/close motion as the header dropdowns */
#main-header .hv2-user .dropdown-menu { min-width: 17rem; padding: .6rem !important; background: rgba(16, 18, 21, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .1) !important; border-radius: 16px !important; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8) !important; }
#main-header .hv2-user-head { display: grid; gap: .1rem; padding: .7rem .8rem .8rem; margin-bottom: .3rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
#main-header .hv2-user-head strong { font-size: 1rem; font-weight: 800; letter-spacing: -.02em; color: #f1f3f0; }
#main-header .hv2-user-head small { font-size: .82rem; color: #98a29d; overflow: hidden; text-overflow: ellipsis; }
#main-header .hv2-user .dropdown-item { position: relative; display: flex; align-items: center; padding: .65rem .8rem !important; border-radius: 12px !important; color: #f1f3f0; font-weight: 600; transition: background-color .2s, color .2s; }
#main-header .hv2-user .dropdown-item i { width: 1.4rem; margin-right: .7rem !important; text-align: center; font-size: .95rem; color: var(--hv-accent, #469346) !important; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
#main-header .hv2-user .dropdown-item::after { content: "\2192"; position: static; top: auto; right: auto; margin-left: auto; padding-left: 1rem; color: var(--hv-accent, #469346); opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .3s cubic-bezier(.16, 1, .3, 1); }
#main-header .hv2-user .dropdown-item:hover { background: color-mix(in srgb, var(--hv-accent, #469346) 13%, transparent); color: #fff; }
#main-header .hv2-user .dropdown-item:hover::after { opacity: 1; transform: none; }
#main-header .hv2-user .dropdown-item:hover i { transform: scale(1.12); }
#main-header .hv2-user .dropdown-item.d-flex::after { display: none; }
#main-header .hv2-user .dropdown-divider { margin: .4rem .5rem; border-color: rgba(255, 255, 255, .1); opacity: 1 !important; }
html[data-hv="light"] #main-header .hv2-user .dropdown-menu { background: rgba(255, 255, 255, .97); border-color: rgba(10, 11, 13, .1) !important; }
html[data-hv="light"] #main-header .hv2-user-head { border-color: rgba(10, 11, 13, .1); }
html[data-hv="light"] #main-header .hv2-user-head strong, html[data-hv="light"] #main-header .hv2-user .dropdown-item { color: #0c0f0d; }
html[data-hv="light"] #main-header .hv2-user-head small { color: #56605b; }
html[data-hv="light"] #main-header .hv2-user .dropdown-item:hover { color: #000; }
html[data-hv="light"] #main-header .hv2-user .dropdown-divider { border-color: rgba(10, 11, 13, .1); }
#main-header .hv2-user > a { display: inline-block; border-radius: 50%; transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .25s; }
#main-header .hv2-user > a img { width: 40px; height: 40px; }
@media (hover: hover) and (min-width: 992px) {
    #main-header .hv2-user { position: relative; display: inline-block; vertical-align: middle; }
    #main-header .hv2-user > .dropdown-menu { position: absolute; right: 0 !important; left: auto !important; top: 100%; margin-top: .75rem !important; display: block; visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(-8px) scale(.97); transform-origin: calc(100% - 1.4rem) 0; clip-path: inset(0 0 100% 0 round 16px);
        transition: opacity .2s ease .06s, transform .3s cubic-bezier(.4, 0, 1, 1), clip-path .3s cubic-bezier(.4, 0, 1, 1), visibility 0s linear .3s; }
    #main-header .hv2-user:hover > .dropdown-menu, #main-header .hv2-user:focus-within > .dropdown-menu { visibility: visible; pointer-events: auto; opacity: 1; transform: none; clip-path: inset(-12px -12px -40px -12px round 16px);
        transition: opacity .25s ease, transform .42s cubic-bezier(.16, 1, .3, 1), clip-path .42s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
    #main-header .hv2-user > .dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -1rem; height: 1rem; }
    #main-header .hv2-user > .dropdown-menu::after { content: ""; position: absolute; right: 1.2rem; top: -6px; width: 11px; height: 11px; background: rgb(16, 18, 21); border-left: 1px solid rgba(255, 255, 255, .1); border-top: 1px solid rgba(255, 255, 255, .1); transform: rotate(45deg); }
    html[data-hv="light"] #main-header .hv2-user > .dropdown-menu::after { background: #fff; border-color: rgba(10, 11, 13, .1); }
    #main-header .hv2-user:hover > a { transform: scale(1.06); }
    /* rows rise in one after another when opening, and drop out together when closing */
    #main-header .hv2-user > .dropdown-menu > * { opacity: 0; transform: translateY(10px); transition: opacity .18s ease, transform .2s ease; }
    #main-header .hv2-user:hover > .dropdown-menu > *, #main-header .hv2-user:focus-within > .dropdown-menu > * { opacity: 1; transform: none; transition: opacity .4s ease, transform .45s cubic-bezier(.16, 1, .3, 1), background-color .2s, color .2s; }
    #main-header .hv2-user:hover > .dropdown-menu > :nth-child(1) { transition-delay: .05s; } #main-header .hv2-user:hover > .dropdown-menu > :nth-child(2) { transition-delay: .09s; }
    #main-header .hv2-user:hover > .dropdown-menu > :nth-child(3) { transition-delay: .13s; } #main-header .hv2-user:hover > .dropdown-menu > :nth-child(4) { transition-delay: .17s; }
    #main-header .hv2-user:hover > .dropdown-menu > :nth-child(5) { transition-delay: .21s; } #main-header .hv2-user:hover > .dropdown-menu > :nth-child(6) { transition-delay: .25s; }
    #main-header .hv2-user:hover > .dropdown-menu > :nth-child(n+7) { transition-delay: .29s; }
}

/* Mobile sheet: the user menu is a profile row that opens its links inline, like the other sections */
#main-header .hv2-user-name { display: none; }
@media (max-width: 991.98px) {
    #main-header #login-menu .hv2-dash { display: none; }
    #main-header #login-menu .hv2-user { display: block; text-align: left; border-top: 1px solid var(--hv-line); }
    #main-header #login-menu .hv2-user > a { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-radius: 0; transform: none !important; }
    #main-header #login-menu .hv2-user > a img { flex: none; width: 48px; height: 48px; }
    #main-header #login-menu .hv2-user > a::after { content: ""; flex: none; width: .5em; height: .5em; margin-left: auto; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); color: #f1f3f0; transition: transform .25s; }
    #main-header #login-menu .hv2-user > a[aria-expanded="true"]::after { transform: rotate(225deg); }
    #main-header .hv2-user-name { display: grid; gap: .1rem; min-width: 0; }
    #main-header .hv2-user-name strong { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; color: #f1f3f0; }
    #main-header .hv2-user-name small { font-size: .85rem; color: #98a29d; overflow: hidden; text-overflow: ellipsis; }
    #main-header .hv2-user .dropdown-menu { min-width: 0; margin: 0 0 .5rem !important; padding: 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
    #main-header .hv2-user .hv2-user-head { display: none; }
    #main-header .hv2-user .dropdown-item { padding: .8rem 0 !important; border-radius: 0 !important; font-size: 1.1rem; }
    #main-header .hv2-user .dropdown-item::after { display: none; }
    #main-header .hv2-user .dropdown-item:hover { background: none; color: var(--hv-accent); }
    #main-header .hv2-user .dropdown-divider { margin: .3rem 0; }
}
html[data-hv="light"] #main-header .hv2-user-name strong { color: #0c0f0d; }
html[data-hv="light"] #main-header .hv2-user-name small { color: #56605b; }
@media (max-width: 991.98px) { html[data-hv="light"] #main-header #login-menu .hv2-user > a::after { color: #0c0f0d; } }

/* Mobile sheet: each section opens as its own screen, sliding in from the right */
.m-sub { display: none; }
@media (max-width: 991.98px) {
    #main-header .navbar-collapse { overflow-x: hidden; }
    #main-header .navbar-collapse > #main-menu, #main-header .navbar-collapse > #login-menu { transition: transform .5s cubic-bezier(.16, 1, .3, 1), opacity .35s ease; }
    #main-header .navbar-collapse.m-sub-open > #main-menu, #main-header .navbar-collapse.m-sub-open > #login-menu { transform: translateX(-100%); opacity: 0; pointer-events: none; }
    #main-header .m-sub { display: block; position: fixed; inset: 0; z-index: 3; padding: 5.25rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); background: #0a0b0d; overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); visibility: hidden; transition: transform .5s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .5s; }
    #main-header .navbar-collapse.m-sub-open .m-sub { transform: none; visibility: visible; transition-delay: 0s; }
    #main-header .navbar-collapse.m-noanim, #main-header .navbar-collapse.m-noanim > *, #main-header .navbar-collapse.m-noanim .m-sub { transition: none !important; }
    #main-header .m-back { display: flex; align-items: center; gap: .8rem; width: 100%; padding: 0 0 1.1rem; border: 0; border-bottom: 1px solid var(--hv-line); background: none; color: #f1f3f0; font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; text-align: left; }
    #main-header .m-back svg { flex: none; color: var(--hv-accent); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
    #main-header .m-back:active svg { transform: translateX(-4px); }
    #main-header .m-list { display: block !important; position: static; margin: 0; padding: 0; list-style: none; background: none; border: 0; box-shadow: none; transform: none; opacity: 1; visibility: visible; clip-path: none; }
    #main-header .m-list > li { margin: 0; }
    #main-header .m-list::before, #main-header .m-list::after { display: none; }
    #main-header .m-list .dropdown-item { display: flex; align-items: center; padding: 1.1rem 0 !important; border-bottom: 1px solid var(--hv-line) !important; border-radius: 0 !important; color: #f1f3f0; white-space: normal; }
    #main-header .m-list .dropdown-item::after { display: none; }
    #main-header .m-list .icon-md { display: none !important; }
    #main-header .m-list .ms-3 { margin-left: 0 !important; }
    #main-header .m-list .dropdown-item strong { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; }
    #main-header .m-list .dropdown-item small { display: block; margin-top: .25rem; font-size: .92rem; color: #98a29d; opacity: 1 !important; }
    #main-header .m-list.m-user .dropdown-item { font-size: 1.2rem; font-weight: 700; }
    #main-header .m-list.m-user .dropdown-item i { width: 1.6rem; margin-right: .9rem !important; text-align: center; color: var(--hv-accent) !important; }
    #main-header .m-list .dropdown-divider { display: none; }
    #main-header .m-list .hv2-user-head { display: none; }
    #main-header .m-who { display: flex; align-items: center; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--hv-line); }
    #main-header .m-who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
    #main-header .m-who .hv2-user-name { display: grid; }
    #main-header .navbar-collapse.m-sub-open .m-list > * { animation: hv2-mnav .5s cubic-bezier(.16, 1, .3, 1) both; }
    #main-header .navbar-collapse.m-sub-open .m-list > :nth-child(2) { animation-delay: .04s; } #main-header .navbar-collapse.m-sub-open .m-list > :nth-child(3) { animation-delay: .08s; }
    #main-header .navbar-collapse.m-sub-open .m-list > :nth-child(4) { animation-delay: .12s; } #main-header .navbar-collapse.m-sub-open .m-list > :nth-child(n+5) { animation-delay: .16s; }
    /* section rows now lead to another screen: chevron points right */
    #main-header #main-menu .dropdown-toggle::after { transform: rotate(-45deg) !important; }
    #main-header #login-menu .hv2-user > a::after { transform: rotate(-45deg) !important; }
    #main-header .navbar-collapse .dropdown-menu { display: none !important; }
}
html[data-hv="light"] #main-header .m-back, html[data-hv="light"] #main-header .m-list .dropdown-item { color: #0c0f0d; }
html[data-hv="light"] #main-header .m-sub { background: var(--hv-bg); }
@media (max-width: 991.98px) { #main-header .navbar-collapse.m-sub-open > #login-menu { animation: none; } }
.hv2-chat-bot .hv2-av { background: url("../images/home/bot-avatar.webp") center / cover, #0a0b0d; }

/* tablet: the menu sheet spans the full width like on phones */
@media (max-width: 991.98px) {
    #main-header .navbar-collapse { align-items: stretch; }
    #main-header .navbar-collapse > #main-menu, #main-header .navbar-collapse > #login-menu { width: 100%; }
}

/* ================= Guest: link made on the homepage -> sign-up modal (partials/guest_modal.php) ================= */
.hv2 .gm .modal-dialog { max-width: 980px; }
.hv2 .gm .modal-content { position: relative; min-height: 560px; overflow: hidden; border: 0; border-radius: 28px; background: var(--hv-surface); color: var(--hv-text); }
.hv2 .gm-close { position: absolute; z-index: 3; top: 18px; right: 18px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(20, 22, 26, .72); color: #fff; font-size: 1.1rem; backdrop-filter: blur(6px); }
.hv2 .gm-body { position: relative; z-index: 2; display: flex; flex-direction: column; min-height: 560px; max-width: 58%; padding: 46px 0 40px 48px; }
.hv2 .gm-kicker { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .7rem; color: var(--hv-accent); font-size: .95rem; font-weight: 800; }
.hv2 .gm-link { display: flex; align-items: center; gap: .5rem; padding: .45rem .45rem .45rem 1.1rem; border-radius: 16px; background: var(--hv-surface-2); }
.hv2 .gm-link a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--hv-text); font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.hv2 .gm-copy { display: inline-flex; align-items: center; gap: .4rem; flex: none; height: 42px; padding: 0 1rem; border: 0; border-radius: 12px; background: var(--hv-accent); color: var(--hv-ink); font-weight: 800; }
.hv2 .gm-body h2 { margin: 2rem 0 .8rem; font-size: clamp(1.5rem, 2.4vw, 1.95rem); font-weight: 900; line-height: 1.32; letter-spacing: -.045em; }
.hv2 .gm-body h2 em { position: relative; font-style: normal; }
.hv2 .gm-body h2 em::after { content: ""; position: absolute; inset: -.28em -.4em -.22em; background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 50' preserveAspectRatio='none'%3E%3Cpath d='M70 6C38 2 6 10 4 26c-2 16 34 22 64 20 30-2 50-10 48-24C114 8 86 3 52 6' fill='none' stroke='%2346a349' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); pointer-events: none; }
/* the alias being retyped */
.hv2 .gm-demo { display: inline-flex; align-items: center; align-self: flex-start; margin: 0 0 1.4rem; padding: .55rem .9rem; border-radius: 12px; background: color-mix(in srgb, var(--hv-accent) 14%, transparent); color: var(--hv-muted); font-size: 1.05rem; font-weight: 700; }
.hv2 .gm-demo b { color: var(--hv-accent); }
.hv2 .gm-caret { width: 2px; height: 1.15em; margin-left: 2px; background: var(--hv-accent); animation: gmBlink 1s steps(1) infinite; }
@keyframes gmBlink { 50% { opacity: 0; } }
.hv2 .gm-feats { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.hv2 .gm-feats li { display: flex; align-items: center; gap: .75rem; font-size: 1rem; font-weight: 500; }
.hv2 .gm-feats i { width: 18px; color: var(--hv-muted); text-align: center; }
.hv2 .gm-foot { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.2rem; margin-top: auto; padding-top: 2rem; }
.hv2 .gm-cta { display: inline-flex; align-items: center; gap: .6rem; height: 56px; padding: 0 1.6rem; border-radius: 14px; background: var(--hv-accent); color: var(--hv-ink); font-size: 1.05rem; font-weight: 800; text-decoration: none; transition: filter .2s, transform .2s; }
.hv2 .gm-cta:hover { color: var(--hv-ink); filter: brightness(1.08); transform: translateY(-1px); }
.hv2 .gm-later { border: 0; background: none; color: var(--hv-muted); font-size: .92rem; font-weight: 600; }
.hv2 .gm-later:hover { color: var(--hv-text); }
/* right: tilted columns of what members get, scrolling endlessly; cut off by the modal edge */
.hv2 .gm-art { position: absolute; top: -60px; right: -40px; bottom: -60px; width: 40%; display: flex; gap: 16px; transform: rotate(-9deg); pointer-events: none; }
.hv2 .gm-col { width: 200px; flex: none; }
.hv2 .gm-track { animation: gmUp 48s linear infinite; }
.hv2 .gm-col + .gm-col .gm-track { animation-name: gmDown; }
.hv2 .gm-track > .gm-card { margin-bottom: 16px; }
@keyframes gmUp { from { translate: 0 0; } to { translate: 0 -50%; } }
@keyframes gmDown { from { translate: 0 -50%; } to { translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .hv2 .gm-track, .hv2 .gm-caret { animation: none; } }
.hv2 .gm-card { display: grid; gap: .5rem; padding: 16px; border-radius: 18px; background: var(--hv-surface-2); font-size: .82rem; }
.hv2 .gm-card > small { color: var(--hv-muted); font-size: .72rem; font-weight: 700; }
.hv2 .gm-shot { padding: 0; overflow: hidden; }
.hv2 .gm-shot img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.hv2 .gm-url { margin: 0; padding: .5rem .7rem; border-radius: 10px; background: var(--hv-surface); color: var(--hv-muted); font-weight: 600; }
.hv2 .gm-url b { color: var(--hv-text); }
.hv2 .gm-qr { padding: 14px; background: #fff; }
.hv2 .gm-qr img { display: block; width: 100%; }
.hv2 .gm-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.hv2 .gm-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: var(--hv-accent); }
.hv2 .gm-chat p { margin: 0; color: var(--hv-text); }
.hv2 .gm-chat p b { margin-right: .35rem; color: var(--hv-muted); }
.hv2 .gm-chat p.is-bot b { color: var(--hv-accent); }
@media (max-width: 767.98px) {
    .hv2 .gm .modal-content { min-height: 0; border-radius: 22px; }
    .hv2 .gm-art { display: none; }
    .hv2 .gm-body { min-height: 0; max-width: none; padding: 52px 22px 26px; }
    .hv2 .gm-close { top: 12px; right: 12px; width: 38px; height: 38px; background: var(--hv-surface-2); color: var(--hv-text); }
    .hv2 .gm-cta { justify-content: center; width: 100%; }
    .hv2 .gm-later { width: 100%; }
}
.hv2 .gm [hidden] { display: none !important; }
.hv2 .gm-kicker.is-muted { color: var(--hv-muted); }
.hv2 .gm-link a.is-muted { color: var(--hv-muted); font-size: 1rem; font-weight: 600; }
