/*
 * 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, #b59753);
    --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, #b59753); 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, #b59753); border-color: var(--hv-accent, #b59753); 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, #b59753) 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, #b59753); }
.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, #b59753); }
.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, #b59753); }
.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, #b59753); }
.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, #b59753); 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, #b59753) 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, #b59753) !important; transform: scale(1.06) rotate(-4deg); }
#main-header .dropdown-menu .icon-md i { background: none !important; -webkit-text-fill-color: var(--hv-accent, #b59753); color: var(--hv-accent, #b59753); 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: min(15rem, 100%); }
.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); }
/* Pinned header (developer docs): always the compact, filled bar; no grow/shrink on scroll */
body.hdr-fixed #main-header { background: rgba(10, 11, 13, .74); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(255, 255, 255, .09); transition: none; }
html[data-hv="light"] body.hdr-fixed #main-header { background: rgba(245, 246, 243, .82); border-bottom-color: rgba(10, 11, 13, .09); }
body.hdr-fixed #main-header .navbar.liquid-blur { padding: .55rem 0 !important; transition: none; }
body.hdr-fixed #main-header #navbar-logo { width: 132px; transition: none; }
body.hdr-fixed #main-header .btn { padding-top: .55rem !important; padding-bottom: .55rem !important; transition: background-color .2s, border-color .2s, color .2s; }
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, #b59753) 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, #b59753) !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, #b59753) !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, #b59753); 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, #b59753) 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; }

/* Homepage ad slot: top right of the page, scrolls with it; under the header unless it fits beside the header items */
.hv2 { position: relative; }
.hv2-ad-wrap { position: absolute; top: 5.75rem; right: 1.5rem; z-index: 2; }
.hv2-ad { position: relative; width: 20rem; max-width: 100%; }
/* Wide screens: the space right of the header items (header content is 1296px wide) fits the ad, so it moves up into it (above the fixed header, z-index 999) */
@media (min-width: 1900px) {
    .hv2-ad-wrap { top: 1rem; z-index: 1000; }
    .hv2-ad { width: min(20rem, calc((100vw - 1296px) / 2 - 3.5rem)); }
}
.hv2-ad-tag { position: absolute; top: .35rem; right: .45rem; z-index: 1; padding: .1rem .4rem; border-radius: 4px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .65rem; line-height: 1.4; pointer-events: none; }
.hv2-ad img, .hv2-ad iframe, .hv2-ad ins { display: block; max-width: 100%; height: auto; border-radius: 14px; }
.hv2-ad .a-block { margin: 0 !important; }
@media (max-width: 991.98px) {
    .hv2-ad-wrap { position: static; padding: 5.5rem 12px 0; }
    .hv2-ad { width: 100%; }
    .hv2-ad-wrap + .hv2-hero { padding-top: 1.5rem; }
}

/* ---- zed.kr homepage ------------------------------------------------------
 * One idea carried through: a long address goes in, a short one comes out,
 * and that one short link fans out to many places.
 * Motion: floating stickers, pinned scroll scenes (--p progress, data-step),
 * marquees, flowing dots. All of it stops under prefers-reduced-motion.
 */
.z { --z-ease: cubic-bezier(.16, 1, .3, 1); }
.z-h2 { margin: 0; font-size: clamp(2.3rem, 5vw, 4.4rem); font-weight: 900; line-height: 1.06; letter-spacing: -.055em; color: var(--hv-text); word-break: keep-all; }
.z-h2 em, .z-h1 em { font-style: normal; color: var(--hv-accent); }
.z-body { margin: 1.5rem 0 2rem; color: var(--hv-muted); font-size: 1.1rem; line-height: 1.8; max-width: 32rem; word-break: keep-all; }
.z-pill { display: inline-block; padding: 1rem 1.5rem; border-radius: 999px; background: var(--hv-accent); color: var(--hv-ink); font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.z-pill b { font-weight: 900; }

/* hero */
.z-hero { min-height: 100svh; display: flex; align-items: center; padding: 8rem 0 6rem; }
.z-hero .hv2-wall:not(.hv2-wall-lit) .hv2-wall-row { -webkit-text-stroke-color: color-mix(in srgb, var(--hv-text) 5%, transparent); }
.z-hero-inner { text-align: center; }
.z-h1 { margin: 0; font-size: clamp(3.6rem, 11vw, 10rem); font-weight: 900; line-height: .98; letter-spacing: -.065em; color: var(--hv-text); }
.z-h1 span, .z-h1 em { display: inline-block; }
.z-lead { margin: 2rem auto 0; color: var(--hv-muted); font-size: 1.15rem; line-height: 1.7; max-width: 30rem; word-break: keep-all; }
.z-hero-form { margin: 2.5rem auto 0; max-width: 44rem; text-align: left; }
.z-hero .hv2-shorten { margin: 0; max-width: none; padding: .55rem .55rem .55rem 1.6rem; border-width: 2px; box-shadow: 0 1.5rem 4rem -1.5rem color-mix(in srgb, var(--hv-accent) 35%, transparent); }
.z-hero .hv2-input { font-size: 1.15rem; padding-block: 1.05rem; }
.z-hero .hv2-shorten .hv2-btn-primary { padding: 1.1rem 2rem; font-size: 1.05rem; }
.z-hero .hv2-result { max-width: none; }
.z-hero .hv2-adv-toggle { display: inline-block; margin: 1rem 0 0 1.6rem; }

/* floating stickers: positioned by --x/--y, tilted by --r, parallax depth --z */
.z-stickers { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.z-st { position: absolute; left: var(--x); top: var(--y); display: inline-flex; align-items: center; gap: .4rem; padding: .7rem 1.1rem; border-radius: 16px; background: var(--hv-surface); border: 1px solid var(--hv-line); color: var(--hv-text); font-weight: 700; font-size: 1rem; white-space: nowrap; box-shadow: 0 1.25rem 2.5rem -1rem rgba(0, 0, 0, .45);
    translate: -50% -50%; rotate: var(--r);
    transform: translate(calc(var(--px, 0) * var(--z) * -42px), calc(var(--py, 0) * var(--z) * -42px)); transition: transform .6s var(--z-ease); }
.z-st-link { background: var(--hv-accent); border-color: transparent; color: var(--hv-ink); font-weight: 600; border-radius: 999px; }
.z-st-link b { font-weight: 900; }
.z-st-qr { padding: .6rem; background: #fff; }
.z-st-qr img { width: 5.5rem; height: 5.5rem; display: block; }
.z-st-click i, .z-st-click small { color: var(--hv-accent); }
.z-st-click small { font-weight: 600; }
.z-st-app { padding: .8rem; border-radius: 22px; }
.z-st-app img { width: 2.4rem; height: 2.4rem; display: block; }
.z-st-tag { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--hv-accent); }
.z-st-geo { font-size: .9rem; font-weight: 600; color: var(--hv-muted); }
.z-st-geo b { color: var(--hv-text); }
.z-motion .z-hero .z-st, .z-motion .z-final .z-st { animation: z-pop .8s calc(var(--d) + .3s) var(--z-ease) both, z-bob 6s calc(var(--d) + 1.1s) ease-in-out infinite; }
@keyframes z-pop { from { opacity: 0; scale: .4; } }
@keyframes z-bob { 50% { translate: -50% calc(-50% - 14px); } }
.z-motion .z-rise { animation: z-rise .9s calc(var(--i, 0) * .12s) var(--z-ease) both; }
@keyframes z-rise { from { opacity: 0; transform: translateY(40px); filter: blur(8px); } }

/* pinned scenes */
.z-scrub { position: relative; height: calc(var(--steps) * 85svh + 100svh); }
.z-sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding-top: 4rem; overflow: hidden; }
.z-sticky > .container { position: relative; z-index: 1; }
.z-progress { position: absolute; left: 50%; bottom: 2.25rem; width: 8rem; height: 3px; translate: -50% 0; border-radius: 3px; background: var(--hv-line); overflow: hidden; z-index: 1; }
.z-progress i { position: absolute; inset: 0; background: var(--hv-accent); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* scene 1: shrink */
.z-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: center; }
.z-caps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.25rem; }
.z-caps li { opacity: .22; transition: opacity .5s, transform .5s var(--z-ease); transform: translateX(-10px); }
.z-caps h2 { margin: 0; font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 900; letter-spacing: -.055em; line-height: 1.05; color: var(--hv-text); }
.z-caps p { margin-top: .6rem; color: var(--hv-muted); font-size: 1.05rem; line-height: 1.7; max-width: 24rem; max-height: 0; overflow: hidden; transition: max-height .5s; word-break: keep-all; }
.z-shrink:not([data-step]) .z-caps li:first-child, .z-shrink[data-step="0"] .z-caps li:nth-child(1), .z-shrink[data-step="1"] .z-caps li:nth-child(2), .z-shrink[data-step="2"] .z-caps li:nth-child(3) { opacity: 1; transform: none; }
.z-shrink:not([data-step]) .z-caps li:first-child p, .z-shrink[data-step="0"] .z-caps li:nth-child(1) p, .z-shrink[data-step="1"] .z-caps li:nth-child(2) p, .z-shrink[data-step="2"] .z-caps li:nth-child(3) p { max-height: 6rem; }
.z-morph-stage { position: relative; height: 28rem; display: grid; place-items: center; }
.z-morph { position: relative; display: grid; place-items: center; width: min(34rem, 100%); height: 13rem; padding: 2rem; border-radius: var(--hv-radius); background: var(--hv-surface); border: 1.5px solid var(--hv-line); overflow: hidden;
    transition: width .9s var(--z-ease), height .9s var(--z-ease), border-radius .9s var(--z-ease), background-color .5s, border-color .5s, transform .9s var(--z-ease); }
.z-morph-long { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.05rem; line-height: 1.7; color: var(--hv-muted); word-break: break-all; transition: opacity .4s, filter .5s, transform .6s var(--z-ease); }
.z-morph-short { position: absolute; font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -.03em; color: var(--hv-ink); white-space: nowrap; opacity: 0; transform: scale(.6); transition: opacity .4s .25s, transform .7s .2s var(--z-ease); }
.z-morph-short b { font-weight: 900; }
.z-morph-count { position: absolute; top: calc(50% - 10rem); left: 50%; translate: -50% 0; display: grid; font-size: .95rem; font-weight: 800; color: var(--hv-muted); }
.z-morph-count b { grid-area: 1 / 1; transition: opacity .4s, transform .5s var(--z-ease); text-align: center; }
.z-morph-count .b { opacity: 0; transform: translateY(12px); color: var(--hv-accent); }
.z-morph-qr { position: absolute; left: 50%; top: 50%; display: grid; justify-items: center; gap: .5rem; padding: 1rem 1rem .8rem; border-radius: 20px; background: #fff; color: #0c0f0d; font-size: .8rem; font-weight: 700; box-shadow: 0 2rem 4rem -1.5rem rgba(0, 0, 0, .5);
    opacity: 0; transform: translate(-50%, -50%) scale(.3) rotate(-20deg); transition: opacity .4s, transform .9s var(--z-ease); }
.z-morph-qr img { width: 9rem; height: 9rem; }
.z-morph-chip { position: absolute; padding: .55rem 1rem; border-radius: 999px; background: var(--hv-surface); border: 1px solid var(--hv-line); color: var(--hv-text); font-weight: 700; font-size: .9rem; opacity: 0; transform: scale(.6); transition: opacity .4s .35s, transform .7s .35s var(--z-ease); }
.z-morph-chip-1 { right: 4%; top: 18%; }
.z-morph-chip-2 { right: 10%; bottom: 14%; }
.z-shrink[data-step="1"] .z-morph, .z-shrink[data-step="2"] .z-morph { width: 19rem; height: 5.5rem; border-radius: 999px; background: var(--hv-accent); border-color: var(--hv-accent); }
.z-shrink[data-step="1"] .z-morph-long, .z-shrink[data-step="2"] .z-morph-long { opacity: 0; filter: blur(10px); transform: scaleX(.4); }
.z-shrink[data-step="1"] .z-morph-short, .z-shrink[data-step="2"] .z-morph-short { opacity: 1; transform: none; }
.z-shrink[data-step="1"] .z-morph-count .a, .z-shrink[data-step="2"] .z-morph-count .a { opacity: 0; transform: translateY(-12px); }
.z-shrink[data-step="1"] .z-morph-count .b, .z-shrink[data-step="2"] .z-morph-count .b { opacity: 1; transform: none; }
.z-shrink[data-step="2"] .z-morph { transform: translateX(-28%) translateY(-5.5rem); }
.z-shrink[data-step="2"] .z-morph-count { opacity: 0; }
.z-shrink[data-step="2"] .z-morph-qr { opacity: 1; transform: translate(-10%, -30%) scale(1) rotate(5deg); }
.z-shrink[data-step="2"] .z-morph-chip { opacity: 1; transform: none; }

/* scene 2: same link, different screens */
.z-route-in { display: grid; justify-items: center; text-align: center; }
.z-route-h { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.z-rot { display: inline-block; height: 1.06em; overflow: hidden; vertical-align: bottom; }
.z-rot-in { display: grid; transition: transform .8s var(--z-ease), filter .4s; }
.z-rot-in.is-rolling { filter: blur(3px); }
.z-rot em { display: block; font-style: normal; color: var(--hv-accent); line-height: 1.06; }
.z-tree { position: relative; display: grid; justify-items: center; width: 100%; max-width: 62rem; margin-top: 2rem; }
.z-src-pill { position: relative; z-index: 1; }
.z-src-pill::before, .z-src-pill::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--hv-accent); opacity: 0; pointer-events: none; }
.z-motion .z-tree.is-on .z-src-pill { animation: z-press 2.8s .5s ease-in-out infinite; }
.z-motion .z-tree.is-on .z-src-pill::before { animation: z-ripple 2.8s .5s var(--z-ease) infinite; }
.z-motion .z-tree.is-on .z-src-pill::after { animation: z-ripple 2.8s .7s var(--z-ease) infinite; }
.z-tap { position: absolute; right: -.5rem; bottom: -1.3rem; font-size: 1.6rem; color: var(--hv-text); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .4)); }
.z-motion .z-tree.is-on .z-tap { animation: z-tap 2.8s .5s ease-in-out infinite; }
@keyframes z-ripple { 0% { opacity: .8; transform: scale(1); } 50%, 100% { opacity: 0; transform: scale(1.3, 1.8); } }
@keyframes z-press { 0%, 8%, 100% { transform: scale(1); } 4% { transform: scale(.94); } }
@keyframes z-tap { 0%, 10%, 100% { transform: translate(0, 0); } 4% { transform: translate(-3px, -3px) scale(.88); } }
.z-lines { position: relative; z-index: 0; width: 100%; height: 4.5rem; overflow: visible; }
.z-line { fill: none; stroke: color-mix(in srgb, var(--hv-accent) 60%, transparent); stroke-width: 2; stroke-linecap: round; }
.z-tree.is-on .z-line { animation: z-stroke .7s .1s var(--z-ease) forwards; }
.z-dot { fill: var(--hv-accent); filter: drop-shadow(0 0 8px var(--hv-accent)); }
@keyframes z-stroke { to { stroke-dashoffset: 0; } }
@keyframes z-dash { to { stroke-dashoffset: -14; } }

/* devices */
.z-devs { display: flex; justify-content: center; align-items: flex-end; gap: clamp(1rem, 4vw, 3.5rem); perspective: 1200px; }
.z-dev { display: grid; justify-items: center; gap: .7rem; }
.z-dev-cond { position: relative; z-index: 1; padding: .35rem .85rem; border-radius: 999px; background: var(--hv-surface-2); color: var(--hv-text); font-size: .85rem; font-weight: 700; }
.z-dev-frame { position: relative; width: 12.5rem; height: 19rem; border-radius: 1.9rem; border: 7px solid #1c1f24; background: #fff; color: #111; overflow: hidden; box-shadow: 0 2rem 4rem -1.5rem color-mix(in srgb, var(--tone) 55%, #000); text-align: left; }
.z-dev.is-web .z-dev-frame { width: 18rem; height: 13rem; border-radius: 14px; border-width: 6px; }
.z-dev-bar { position: relative; display: flex; align-items: center; gap: .35rem; margin: .55rem .55rem 0; padding: .4rem .6rem; border-radius: 999px; background: #f1f2f4; font-size: .62rem; color: #555; overflow: hidden; white-space: nowrap; }
.z-dev-bar .fa-lock { font-size: .55rem; color: #8a8f98; }
.z-dev-url { overflow: hidden; text-overflow: ellipsis; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.z-dev-load { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--tone); transform: scaleX(0); transform-origin: left; }
.z-tree.is-on .z-dev-load { animation: z-load 1s .5s ease-in forwards; }
.z-tree.is-loaded .z-dev-load { opacity: 0; transition: opacity .3s .1s; }
@keyframes z-load { to { transform: scaleX(1); } }
.z-dev-screen { display: grid; gap: .3rem; padding: .8rem .9rem; }
.z-dev-hero { display: grid; place-items: center; height: 5.5rem; margin-bottom: .45rem; border-radius: 14px; background: var(--tone); color: #fff; font-size: 2rem; }
.z-dev.is-web .z-dev-screen { grid-template-columns: 6rem 1fr; column-gap: .8rem; align-content: start; }
.z-dev.is-web .z-dev-hero { grid-row: span 4; height: 100%; margin: 0; }
.z-dev-screen strong { font-size: .95rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.z-dev-screen small { font-size: .72rem; color: #6b7280; }
.z-dev-sk { display: grid; gap: .3rem; margin: .4rem 0 .5rem; }
.z-dev-sk i { height: .4rem; border-radius: 4px; background: #eceef1; }
.z-dev-sk i:nth-child(2) { width: 80%; } .z-dev-sk i:nth-child(3) { width: 55%; }
.z-dev.is-web .z-dev-sk { display: none; }
.z-dev-btn { justify-self: start; padding: .45rem .9rem; border-radius: 999px; background: var(--tone); color: #fff; font-size: .72rem; font-weight: 700; }
/* enter: frames flip in one by one, then their screens build once the address resolves */
.z-tree.is-on .z-dev { animation: z-flip .8s calc(var(--k) * .09s) var(--z-ease) both; }
.z-dev-screen > * { opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .6s var(--z-ease); }
.z-tree.is-loaded .z-dev-screen > * { opacity: 1; transform: none; }
.z-tree.is-loaded .z-dev-screen > :nth-child(2) { transition-delay: .06s; } .z-tree.is-loaded .z-dev-screen > :nth-child(3) { transition-delay: .12s; }
.z-tree.is-loaded .z-dev-screen > :nth-child(4) { transition-delay: .18s; } .z-tree.is-loaded .z-dev-screen > :nth-child(5) { transition-delay: .24s; }
.z-tree.is-out .z-dev { opacity: 0; transform: translateY(40px) rotateX(-28deg) scale(.86); filter: blur(5px);
    transition: transform .26s cubic-bezier(.55, 0, .75, .2) calc(var(--k) * .03s), opacity .22s calc(var(--k) * .03s + .03s), filter .22s calc(var(--k) * .03s); }
.z-tree.is-out .z-dev-screen > * { opacity: 0; transform: translateY(-8px); transition: opacity .12s, transform .18s; }
.z-tree.is-out .z-dev-cond { opacity: 0; transform: translateY(-6px); transition: opacity .15s, transform .2s; }
.z-tree.is-out .z-dot { opacity: 0; transition: opacity .1s; }
.z-tree.is-out .z-src-pill { animation: z-press .3s ease-in-out; }
@keyframes z-flip { from { opacity: 0; transform: rotateY(-75deg) translateY(30px) scale(.9); } }
.z-motion .z-tree.is-on .z-dev-frame { animation: z-land 2.8s calc(1.65s + var(--k) * .22s) ease-out infinite; }
@keyframes z-land { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--hv-accent) 60%, transparent), 0 2rem 4rem -1.5rem color-mix(in srgb, var(--tone) 55%, #000); } 30%, 100% { box-shadow: 0 0 0 14px transparent, 0 2rem 4rem -1.5rem color-mix(in srgb, var(--tone) 55%, #000); } }

/* case picker under the stage */
.z-pick { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .25rem 1.5rem; margin-top: 2.25rem; }
.z-pick button { position: relative; padding: .35rem 0; border: 0; background: none; color: var(--hv-muted); font-weight: 700; font-size: 1rem; cursor: pointer; transition: color .3s; }
.z-pick button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--hv-accent); transform: scaleX(0); transition: transform .5s var(--z-ease); }
.z-pick button:hover, .z-pick button[aria-selected="true"] { color: var(--hv-text); }
.z-pick button[aria-selected="true"]::after { transform: scaleX(1); }
.z-pick p { flex-basis: 100%; margin-top: .5rem; color: var(--hv-muted); font-size: .95rem; }

/* tag wall */
.z-tagwall { position: relative; padding: 8rem 0; overflow: hidden; display: grid; gap: 3.5rem; }
.z-tagrow { overflow: hidden; white-space: nowrap; rotate: -3deg; margin-inline: -4vw; }
.z-tagrow.rev { rotate: 2deg; }
.z-tagtrack { display: inline-flex; align-items: center; gap: 1rem; padding: .5rem 0; }
.z-motion .z-tagtrack { animation: z-run 80s linear infinite reverse; }
@keyframes z-run { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.z-motion .z-tagrow.rev .z-tagtrack { animation-direction: normal; animation-duration: 92s; }
.z-tag { display: inline-flex; align-items: center; padding: 1rem 1.6rem; border-radius: 999px; border: 1.5px solid var(--hv-line); color: var(--hv-text); font-size: clamp(1.2rem, 2.2vw, 1.8rem); font-weight: 800; letter-spacing: -.03em; }
.z-tag.is-gold { background: var(--hv-accent); border-color: var(--hv-accent); color: var(--hv-ink); }
.z-tag.is-dark { background: var(--hv-surface-2); border-color: var(--hv-surface-2); }
.z-tag-i { padding: .85rem; background: var(--hv-surface); }
.z-tag-i img { width: 2.2rem; height: 2.2rem; }
.z-tagwall-h { position: absolute; left: 50%; top: 50%; z-index: 1; translate: -50% -50%; margin: 0; padding: 1.4rem 2.6rem; border-radius: 999px; background: var(--hv-bg); border: 1.5px solid var(--hv-line); box-shadow: 0 2rem 4rem -1rem rgba(0, 0, 0, .6); font-size: clamp(1.6rem, 3.6vw, 3rem); font-weight: 900; letter-spacing: -.05em; color: var(--hv-text); white-space: nowrap; }
.z-tagwall-h em { font-style: normal; color: var(--hv-accent); }
.z-motion .z-tagwall-h { opacity: 0; scale: .7; transition: opacity .6s, scale .9s var(--z-ease); }
.z-motion .z-tagwall.is-in .z-tagwall-h { opacity: 1; scale: 1; }

/* flow map */
.z-flow { padding: 6rem 0 8rem; }
.z-flow-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: center; }
.z-total { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .4rem; }
.z-total strong { font-size: clamp(3.4rem, 6vw, 5rem); font-weight: 900; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--hv-text); }
.z-total small { font-size: 1.5rem; font-weight: 800; color: var(--hv-accent); }
.z-total span { flex-basis: 100%; color: var(--hv-muted); font-size: .95rem; }
.z-flow-map { position: relative; aspect-ratio: 600 / 400; }
.z-flow-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.z-flow-map path { fill: none; stroke: color-mix(in srgb, var(--hv-accent) 45%, transparent); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.z-motion .z-flow-map path { animation: z-dash 1.2s linear infinite; }
.z-flow-map circle { fill: var(--hv-accent); }
.z-src { position: absolute; left: 11.6%; top: var(--y); translate: -100% -50%; display: flex; align-items: center; gap: .6rem; flex-direction: row-reverse; }
.z-src img, .z-src i { width: 3.2rem; height: 3.2rem; padding: .65rem; border-radius: 16px; background: var(--hv-surface); border: 1px solid var(--hv-line); display: grid; place-items: center; font-size: 1.5rem; color: var(--hv-text); }
.z-src small { color: var(--hv-muted); font-weight: 600; font-size: .85rem; }
.z-sink { position: absolute; left: 63.3%; top: 50%; translate: 0 -50%; display: grid; justify-items: start; gap: .3rem; }
.z-sink .z-pill { margin-bottom: .8rem; }
.z-sink strong { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 900; letter-spacing: -.05em; line-height: 1; color: var(--hv-text); font-variant-numeric: tabular-nums; }
.z-sink strong.bump { animation: z-bump .5s var(--z-ease); }
.z-sink small { color: var(--hv-muted); font-size: .85rem; }
@keyframes z-bump { 30% { color: var(--hv-accent); transform: translateY(-4px); } }
.z-motion .z-flow .z-src, .z-motion .z-flow .z-sink { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .8s var(--z-ease); }
.z-motion .z-flow.is-in .z-src, .z-motion .z-flow.is-in .z-sink { opacity: 1; transform: none; }
.z-motion .z-flow.is-in .z-src:nth-of-type(2) { transition-delay: .08s; } .z-motion .z-flow.is-in .z-src:nth-of-type(3) { transition-delay: .16s; }
.z-motion .z-flow.is-in .z-src:nth-of-type(4) { transition-delay: .24s; } .z-motion .z-flow.is-in .z-src:nth-of-type(5) { transition-delay: .32s; }
.z-motion .z-flow.is-in .z-sink { transition-delay: .45s; }

/* scene 3: profile builder. data-step N = blocks 1..N are in the phone; data-theme picks the palette */
.z-build { --tbg: #111; --tfg: #f4f1e8; --tbtn: #b59753; --tbtnfg: #111; --tcard: #1e1e1e; --tglow: #b59753; }
.z-build[data-theme="1"] { --tbg: #fbfaf6; --tfg: #111; --tbtn: #111; --tbtnfg: #fff; --tcard: #eeece5; --tglow: #ffffff; }
.z-build[data-theme="2"] { --tbg: #ffe6dc; --tfg: #3a1a12; --tbtn: #ff6b4a; --tbtnfg: #fff; --tcard: #ffd2c2; --tglow: #ff7a59; }
.z-build[data-theme="3"] { --tbg: #12172e; --tfg: #e8ecff; --tbtn: #8ea2ff; --tbtnfg: #0b0f22; --tcard: #1e2547; --tglow: #6f84ff; }
.z-build .z-sticky::before { content: ""; position: absolute; inset: 0; background: radial-gradient(34rem 30rem at 50% 62%, color-mix(in srgb, var(--tglow) 20%, transparent), transparent 70%); transition: background .8s; }
.z-build-in { display: grid; justify-items: center; text-align: center; }
.z-build-h { font-size: clamp(2rem, 4vw, 3.4rem); }
.z-build-cap { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; height: 1.6rem; overflow: hidden; }
.z-build-cap li { grid-area: 1 / 1; color: var(--hv-muted); font-size: 1.1rem; font-weight: 600; opacity: 0; transform: translateY(100%); transition: opacity .4s, transform .6s var(--z-ease); }
.z-build:not([data-step]) .z-build-cap li:first-child, .z-build[data-step="0"] .z-build-cap li:nth-child(1), .z-build[data-step="1"] .z-build-cap li:nth-child(2), .z-build[data-step="2"] .z-build-cap li:nth-child(3), .z-build[data-step="3"] .z-build-cap li:nth-child(4), .z-build[data-step="4"] .z-build-cap li:nth-child(5), .z-build[data-step="5"] .z-build-cap li:nth-child(6) { opacity: 1; transform: none; color: var(--hv-text); }
.z-build-stage { position: relative; width: 100%; max-width: 56rem; margin-top: 1.5rem; display: grid; justify-items: center; }

/* side tiles: bob in place, then fly into the phone when their block lands */
.z-tile { position: absolute; top: var(--y); display: inline-flex; align-items: center; gap: .7rem; padding: .7rem 1.2rem .7rem .8rem; border-radius: 18px; background: var(--hv-surface); border: 1px solid var(--hv-line); color: var(--hv-text); font-weight: 700; white-space: nowrap; box-shadow: 0 1.5rem 3rem -1rem rgba(0, 0, 0, .5); translate: 0 -50%;
    transition: transform .8s var(--z-ease), opacity .6s .15s; }
.z-tile-l { right: calc(50% + 11.5rem); rotate: -4deg; --tx: 13rem; }
.z-tile-r { left: calc(50% + 11.5rem); rotate: 4deg; --tx: -13rem; }
.z-grip { color: var(--hv-muted); font-size: .85rem; }
.z-tile-ic { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 12px; background: color-mix(in srgb, var(--hv-accent) 18%, transparent); color: var(--hv-accent); font-size: 1.05rem; }
.z-motion .z-tile { animation: z-bob2 5s var(--d) ease-in-out infinite; }
@keyframes z-bob2 { 50% { translate: 0 calc(-50% - 10px); } }
.z-build[data-step="1"] .z-tile[data-b="1"], .z-build[data-step="2"] .z-tile:is([data-b="1"], [data-b="2"]), .z-build[data-step="3"] .z-tile:is([data-b="1"], [data-b="2"], [data-b="3"]),
.z-build[data-step="4"] .z-tile:not(.z-tile-theme), .z-build[data-step="5"] .z-tile { transform: translateX(var(--tx)) scale(.4); opacity: 0; }

/* the phone: blocks open with a grid-rows transition so the page grows as they land */
.z-phone { position: relative; width: 17rem; height: 31rem; padding: 1.6rem 1.1rem; border-radius: 2.6rem; border: 8px solid #1c1f24; background: var(--tbg); color: var(--tfg); overflow: hidden; box-shadow: 0 3rem 6rem -2rem color-mix(in srgb, var(--tglow) 45%, #000); transition: background-color .7s, color .7s, box-shadow .7s; }
.z-phone-scroll { display: grid; justify-items: center; gap: .55rem; transition: transform .9s .2s var(--z-ease); }
/* the page scrolls inside the phone as it gets longer */
.z-build[data-step="3"] .z-phone-scroll { transform: translateY(-3.5rem); }
.z-build[data-step="4"] .z-phone-scroll, .z-build[data-step="5"] .z-phone-scroll { transform: translateY(-9rem); }
.z-phone-av { display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 50%; background: var(--tbtn); color: var(--tbtnfg); font-weight: 900; letter-spacing: -.04em; transition: background-color .7s, color .7s; }
.z-phone-name { font-size: 1.1rem; font-weight: 800; color: inherit; }
.z-phone-handle { opacity: .6; margin-top: -.35rem; margin-bottom: .2rem; }
.zb { display: grid; grid-template-rows: 0fr; width: 100%; opacity: 0; transform: scale(.85) translateY(-8px); transition: grid-template-rows .7s var(--z-ease), opacity .4s .25s, transform .7s .2s var(--z-ease); }
.zb > div { overflow: hidden; display: grid; gap: .45rem; }
.z-build[data-step="1"] .zb[data-b="1"], .z-build[data-step="2"] .zb:is([data-b="1"], [data-b="2"]), .z-build[data-step="3"] .zb:is([data-b="1"], [data-b="2"], [data-b="3"]),
.z-build[data-step="4"] .zb, .z-build[data-step="5"] .zb { grid-template-rows: 1fr; opacity: 1; transform: none; }
.z-phone-btn { display: block; padding: .75rem; border-radius: 14px; background: var(--tbtn); color: var(--tbtnfg); text-align: center; font-weight: 700; font-size: .85rem; transition: background-color .7s, color .7s, border-radius .7s; }
.z-build[data-theme="1"] .z-phone-btn { border-radius: 4px; }
.z-build[data-theme="2"] .z-phone-btn { border-radius: 999px; }
.zb small { font-size: .7rem; opacity: .7; text-align: left; }
.zb-video { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 12px; background: linear-gradient(135deg, #3a2a14, #0d0d0d); color: #fff; font-size: 1.1rem; overflow: hidden; }
.zb-video::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(255, 196, 120, .45), transparent 55%); }
.zb-video i { position: relative; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #ff0033; padding-left: 3px; font-size: .9rem; }
.zb-shop { display: flex; align-items: center; gap: .65rem; padding: .5rem; border-radius: 14px; background: var(--tcard); text-align: left; transition: background-color .7s; }
.zb-shop-img { display: grid; place-items: center; flex: none; width: 2.8rem; height: 2.8rem; border-radius: 10px; background: #ffd6de; color: #e0405e; }
.zb-shop > span:nth-child(2) { min-width: 0; }
.zb-shop b { display: block; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zb-shop small { opacity: .7; }
.zb-shop em { margin-left: auto; padding: .35rem .7rem; border-radius: 999px; background: var(--tbtn); color: var(--tbtnfg); font-style: normal; font-weight: 700; font-size: .7rem; white-space: nowrap; transition: background-color .7s, color .7s; }
.zb-map { position: relative; display: grid; place-items: center; height: 4.6rem; border-radius: 12px; color: #e03131; font-size: 1.4rem; background: linear-gradient(90deg, rgba(0, 0, 0, .06) 1px, transparent 1px) 0 0 / 18px 18px, linear-gradient(rgba(0, 0, 0, .06) 1px, transparent 1px) 0 0 / 18px 18px, #e9f1e4; }
.zb-map::before { content: ""; position: absolute; left: -10%; right: -10%; top: 55%; height: 6px; background: #fff; rotate: -12deg; }
.zb-map i { position: relative; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .3)); }
.z-motion .z-build[data-step] .zb-map i { animation: z-pin 1.6s ease-in-out infinite; }
@keyframes z-pin { 50% { transform: translateY(-5px); } }
.z-phone-sns { display: flex; gap: 1.1rem; margin-top: .3rem; opacity: .7; }

/* theme swatches */
.z-swatches { display: flex; align-items: center; gap: .6rem; margin-top: 1.5rem; }
.z-swatches button { width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 2px solid var(--hv-line); background: var(--c); cursor: pointer; transition: transform .3s var(--z-ease), box-shadow .3s; }
.z-build[data-theme="0"] [data-t="0"], .z-build[data-theme="1"] [data-t="1"], .z-build[data-theme="2"] [data-t="2"], .z-build[data-theme="3"] [data-t="3"] { transform: scale(1.15); box-shadow: 0 0 0 3px var(--hv-bg), 0 0 0 5px var(--hv-accent); }
.z-swatch-name { display: grid; height: 1.4rem; overflow: hidden; margin-left: .5rem; min-width: 5.5rem; text-align: left; }
.z-swatch-name b { grid-area: 1 / 1; color: var(--hv-text); transition: opacity .3s, transform .5s var(--z-ease); opacity: 0; transform: translateY(100%); }
.z-build[data-theme="0"] .z-swatch-name b:nth-child(1), .z-build[data-theme="1"] .z-swatch-name b:nth-child(2), .z-build[data-theme="2"] .z-swatch-name b:nth-child(3), .z-build[data-theme="3"] .z-swatch-name b:nth-child(4) { opacity: 1; transform: none; }
.z-build-cta { margin-top: 1.25rem; }
.z-build .z-progress { display: none; }

/* close */
.z-final { position: relative; overflow: hidden; background: var(--hv-accent); color: var(--hv-ink); padding: 10rem 0; text-align: center; }
.hv2 .z-final h2 { position: relative; z-index: 1; margin: 0; font-size: clamp(3.6rem, 11vw, 10rem); font-weight: 900; line-height: .95; letter-spacing: -.065em; color: var(--hv-ink); }
.z-final-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem; margin-top: 3.5rem; }
.z-final-btn { padding: 1.25rem 2.4rem; border-radius: 999px; background: var(--hv-ink); color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none; transition: transform .3s var(--z-ease); }
.z-final-btn:hover { color: #fff; transform: translateY(-3px) scale(1.03); }
.z-final-link { color: var(--hv-ink); font-weight: 700; font-size: 1.1rem; text-decoration: underline; text-underline-offset: .3em; }
.z-final-link:hover { color: var(--hv-ink); }
.z-final .z-st { background: var(--hv-ink); border-color: transparent; color: #fff; }
.z-final .z-st-link { background: #fff; color: var(--hv-ink); }
.z-final .z-st-qr { background: #fff; }

@media (prefers-reduced-motion: reduce) {
    .z-scrub { height: auto; }
    .z-sticky { position: relative; height: auto; padding: 6rem 0; }
    .z-progress { display: none; }
}
@media (max-width: 991.98px) {
    .z-hero { min-height: 0; padding: 7rem 0 4rem; }
    .z-st-geo, .z-st-tag, .z-st-click { display: none; }
    .z-st-qr img { width: 3.5rem; height: 3.5rem; }
    .z-split, .z-flow-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .z-caps { gap: 1rem; }
    .z-caps h2 { font-size: 2rem; }
    .z-morph-stage { height: 20rem; }
    .z-morph { height: 10rem; }
    .z-morph-long { font-size: .85rem; }
    .z-shrink[data-step="2"] .z-morph { transform: translateY(-4.5rem); width: 15rem; }
    .z-shrink[data-step="2"] .z-morph-qr { transform: translate(-50%, -20%) scale(.8) rotate(5deg); }
    .z-morph-chip { display: none; }
    .z-tile { display: none; }
    .z-phone { width: 14.5rem; height: 26rem; padding: 1.2rem .9rem; }
    .z-build[data-step="3"] .z-phone-scroll { transform: translateY(-5rem); }
    .z-build[data-step="4"] .z-phone-scroll, .z-build[data-step="5"] .z-phone-scroll { transform: translateY(-10.5rem); }
    .z-phone-av { width: 3.4rem; height: 3.4rem; }
    .z-phone-btn { padding: .6rem; }
    .z-build-cta { display: none; }
    .z-final { padding: 6rem 0; }
}
@media (max-width: 575.98px) {
    .z-hero .hv2-shorten { padding: 0; }
    .z-src small { display: none; }
    .z-src img, .z-src i { width: 2.4rem; height: 2.4rem; padding: .45rem; font-size: 1.1rem; border-radius: 12px; }
    .z-sink .z-pill { font-size: .9rem; padding: .6rem .9rem; }
    .z-tagwall { padding: 5rem 0; }
    /* three devices must fit 360px: size them off the viewport, not fixed rems */
    .z-devs { gap: 2.5vw; }
    .z-dev-frame { width: 25vw; height: 41vw; border-width: 4px; border-radius: 1.1rem; }
    .z-dev.is-web .z-dev-frame { width: 31vw; height: 25vw; border-width: 4px; }
    .z-dev-bar { margin: .3rem .3rem 0; padding: .25rem .4rem; font-size: .45rem; }
    .z-dev-screen { padding: .45rem .5rem; gap: .15rem; }
    .z-dev-hero { height: 3rem; font-size: 1.2rem; border-radius: 9px; }
    .z-dev.is-web .z-dev-screen { grid-template-columns: 3rem 1fr; column-gap: .4rem; }
    .z-dev-screen strong { font-size: .62rem; }
    .z-dev-screen small { font-size: .5rem; }
    .z-dev-sk { margin: .2rem 0 .25rem; gap: .2rem; } .z-dev-sk i { height: .25rem; }
    .z-dev-btn { font-size: .5rem; padding: .3rem .55rem; }
    .z-dev-cond { font-size: .7rem; padding: .25rem .6rem; }
    .z-lines { height: 3rem; }
    .z-pick { gap: .25rem 1rem; margin-top: 1.5rem; }
    .z-pick button { font-size: .9rem; }

    /* hero: two small icons sit low at the edges instead of over the headline */
    .z-hero .z-st-tag, .z-hero .z-st-geo, .z-hero .z-st-click { display: none; }
    .z-hero .z-st-app { padding: .55rem; border-radius: 16px; }
    .z-hero .z-st-app img { width: 1.6rem; height: 1.6rem; }
    .z-hero .z-st-app:nth-of-type(4) { --x: 10% !important; --y: 15% !important; }
    .z-hero .z-st-app:nth-of-type(5) { --x: 90% !important; --y: 15% !important; }
    .z-hero { padding-top: 8.5rem; }

    /* shrink scene: only the current step's caption, so the card sits mid-screen */
    .z-caps { display: grid; }
    .z-caps li { grid-area: 1 / 1; }
    .z-shrink .z-caps li { opacity: 0; }
    .z-shrink:not([data-step]) .z-caps li:first-child, .z-shrink[data-step="0"] .z-caps li:nth-child(1), .z-shrink[data-step="1"] .z-caps li:nth-child(2), .z-shrink[data-step="2"] .z-caps li:nth-child(3) { opacity: 1; }
    .z-morph-count { top: calc(50% - 7.5rem); }

    /* flow map: smaller live number so it stays on screen */
    .z-sink { left: 60%; }
    .z-sink strong { font-size: 1.7rem; }
    .z-sink small { font-size: .7rem; }

    /* close: keep stickers off the buttons */
    .z-final .z-st-app, .z-final .z-st-click { display: none; }
    .z-final .z-st-link { --y: 12% !important; --x: 22% !important; font-size: .85rem; }
    .z-final .z-st-qr { --y: 12% !important; --x: 82% !important; }
    .z-final .z-st-qr img { width: 3.6rem; height: 3.6rem; }
    .z-final { padding: 8rem 0 6rem; }
}
/* app icons are white glyphs: their tiles stay dark in both themes */
.z-st-app, .z-tag-i, .z-src img, .z-src i { background: #16191d; border-color: #16191d; color: #fff; }
@media (max-width: 991.98px) {
    .z-hero .z-st-qr { display: none; }
    .z-hero .z-st-link { display: none; }
}
.z-route .z-progress { display: none; }
@media (prefers-reduced-motion: reduce) { .zb { grid-template-rows: 1fr; opacity: 1; transform: none; } .z-tile { display: none; } }
