/* HoloNotes launch tile: the first section of the landing page (#holonotes).
   Everything here is scoped to .hl. Motion is driven by /sample3/holo-launch.js.
   The screen in the middle is a small replica of the shared screen at /holonotes/,
   playing a fictional visit. Sizes inside it are in em, so it scales as one piece. */

@property --hl-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.hl {
    --hl-bg: #02050d;
    --hl-ink: #eef4ff;
    --hl-sub: rgba(208, 223, 255, .74);
    --hl-dim: rgba(208, 223, 255, .46);
    --hl-line: rgba(130, 180, 255, .2);
    --hl-glass: rgba(120, 165, 255, .08);
    --hl-cyan: #62d6ff;
    --hl-teal: #37e8c2;
    --hl-violet: #a98bff;
    --hl-pink: #ff7ad9;
    --hl-alert: #ff5d52;
    --hl-warm: #ffb24a;
    --hl-ease: cubic-bezier(.2, .7, .2, 1);
    --hl-w: min(1120px, calc(100vw - 44px));
    position: relative;
    isolation: isolate;
    overflow: hidden;
    /* First on the page: pulled up under the sticky pill nav (64px pill + 12px header padding). */
    margin-top: -76px;
    padding: 132px 0 96px;
    background: var(--hl-bg);
    color: var(--hl-ink);
    font-family: 'Geist', var(--font, system-ui, sans-serif);
    scroll-margin-top: 0;
}
.hl img { user-select: none; -webkit-user-drag: none; }

/* ── Sky: aurora, stars ───────────────────────────────────────────────── */
.hl-sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hl-aurora { position: absolute; border-radius: 50%; will-change: transform; }
.hl-aurora--a {
    width: 980px; height: 980px; left: calc(50% - 980px); top: -420px;
    background: radial-gradient(closest-side, rgba(78, 96, 255, .42), rgba(78, 96, 255, .12) 55%, transparent);
    animation: hlDriftA 24s ease-in-out infinite alternate;
}
.hl-aurora--b {
    width: 900px; height: 900px; left: calc(50% + 40px); top: -300px;
    background: radial-gradient(closest-side, rgba(40, 214, 190, .3), rgba(40, 214, 190, .08) 55%, transparent);
    animation: hlDriftB 28s ease-in-out infinite alternate;
}
.hl-aurora--c {
    width: 1100px; height: 760px; left: calc(50% - 550px); top: 560px;
    background: radial-gradient(closest-side, rgba(169, 139, 255, .26), rgba(255, 122, 217, .07) 60%, transparent);
    animation: hlDriftC 20s ease-in-out infinite alternate;
}
@keyframes hlDriftA { to { transform: translate3d(140px, 90px, 0) scale(1.12); } }
@keyframes hlDriftB { to { transform: translate3d(-160px, 120px, 0) scale(.9); } }
@keyframes hlDriftC { to { transform: translate3d(90px, -70px, 0) scale(1.15); } }

.hl-stars {
    position: absolute; inset: -40px 0;
    background-image:
        radial-gradient(1.3px 1.3px at 24px 36px, rgba(255, 255, 255, .9), transparent 100%),
        radial-gradient(1px 1px at 142px 88px, rgba(170, 215, 255, .8), transparent 100%),
        radial-gradient(1.6px 1.6px at 268px 22px, rgba(255, 255, 255, .7), transparent 100%),
        radial-gradient(1px 1px at 96px 214px, rgba(150, 255, 230, .7), transparent 100%),
        radial-gradient(1.2px 1.2px at 330px 178px, rgba(255, 255, 255, .8), transparent 100%),
        radial-gradient(1px 1px at 204px 300px, rgba(200, 190, 255, .8), transparent 100%);
    background-size: 380px 340px;
    opacity: .55;
    animation: hlTwinkle 5s ease-in-out infinite alternate;
}
.hl-stars--far {
    background-size: 230px 260px;
    background-position: 70px 40px;
    opacity: .28;
    animation: hlTwinkle 7s ease-in-out -3s infinite alternate, hlStarDrift 80s linear infinite;
}
@keyframes hlTwinkle { from { opacity: .22; } to { opacity: .62; } }
@keyframes hlStarDrift { to { transform: translate3d(0, -260px, 0); } }

/* ── Copy ─────────────────────────────────────────────────────────────── */
.hl-copy { position: relative; max-width: 940px; margin: 0 auto; padding: 0 22px; text-align: center; }
.hl-copy > * { animation: hlRise 1s var(--hl-ease) both; animation-delay: var(--d, 0s); }
@keyframes hlRise { from { opacity: 0; transform: translate3d(0, 28px, 0); } }

.hl-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 5px 16px 5px 5px; border-radius: 980px;
    font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: var(--hl-ink);
    background: rgba(120, 165, 255, .1);
    box-shadow: inset 0 0 0 1px rgba(130, 180, 255, .3), 0 0 30px -6px rgba(98, 214, 255, .45);
}
.hl-badge b {
    padding: 5px 11px; border-radius: 980px;
    font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #03131c;
    background: linear-gradient(90deg, var(--hl-cyan), var(--hl-teal));
}

.hl-logo { position: relative; width: min(580px, 80vw); margin: 24px auto 0; }
.hl-logo img { width: 100%; height: auto; filter: drop-shadow(0 0 34px rgba(98, 214, 255, .34)); }
/* A band of light crossing the letters, cut to the logo's own shape. */
.hl-logo-shine {
    position: absolute; inset: 0;
    -webkit-mask: url("/holonotes/holonotes-logo.webp?v=3") center / 100% 100% no-repeat;
    mask: url("/holonotes/holonotes-logo.webp?v=3") center / 100% 100% no-repeat;
    background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .95) 50%, transparent 58%) 130% 0 / 260% 100% no-repeat;
    animation: hlShine 5.5s cubic-bezier(.5, 0, .2, 1) 1.2s infinite;
}
@keyframes hlShine { 0% { background-position: 130% 0; } 38%, 100% { background-position: -40% 0; } }
/* Scan lines drifting over the letters. */
.hl-logo-scan {
    position: absolute; inset: 0; opacity: .34;
    -webkit-mask: url("/holonotes/holonotes-logo.webp?v=3") center / 100% 100% no-repeat;
    mask: url("/holonotes/holonotes-logo.webp?v=3") center / 100% 100% no-repeat;
    background: repeating-linear-gradient(180deg, rgba(2, 5, 13, .55) 0 1px, transparent 1px 4px);
    animation: hlScanDrift 1.6s linear infinite;
}
@keyframes hlScanDrift { to { background-position: 0 8px; } }

.hl h2 {
    margin-top: 26px;
    font-size: clamp(34px, 5vw, 60px); font-weight: 600; line-height: 1.05; letter-spacing: -.022em;
    color: var(--hl-ink); text-wrap: balance;
}
.hl h2 span {
    background: linear-gradient(90deg, #9db8ff, var(--hl-cyan) 45%, var(--hl-teal) 90%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hl-sub {
    max-width: 660px; margin: 16px auto 0;
    font-size: clamp(17px, 1.7vw, 21px); line-height: 1.42; letter-spacing: -.012em; color: var(--hl-sub);
    text-wrap: balance;
}
.hl-ctas { margin-top: 26px; display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }
.hl-btn {
    position: relative; display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: 980px;
    font-size: 17px; line-height: 1.17; font-weight: 500; letter-spacing: -.015em;
    transition: transform .25s var(--hl-ease), box-shadow .25s var(--hl-ease), background .25s var(--hl-ease), color .25s var(--hl-ease);
}
.hl-btn:active { transform: scale(.98); }
.hl-btn--glow {
    color: #03131c;
    background: linear-gradient(90deg, #7fb2ff, var(--hl-cyan) 45%, var(--hl-teal));
    box-shadow: 0 10px 34px -10px rgba(98, 214, 255, .75), inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.hl-btn--glow:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -10px rgba(98, 214, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .5); }
.hl-btn--glow svg { transition: transform .25s var(--hl-ease); }
.hl-btn--glow:hover svg { transform: translateX(3px); }
.hl-btn--line { color: var(--hl-ink); box-shadow: inset 0 0 0 1px rgba(208, 223, 255, .5); }
.hl-btn--line:hover { background: var(--hl-ink); color: var(--hl-bg); }
.hl-fine { margin-top: 18px; font-size: 13.5px; letter-spacing: -.005em; color: var(--hl-dim); }

/* ── Theater: the tilting screen ──────────────────────────────────────── */
.hl-theater { position: relative; width: var(--hl-w); margin: 46px auto 0; perspective: 1700px; perspective-origin: 50% 30%; }
.hl-tilt {
    position: relative;
    transform: rotateX(var(--hl-rx, 0deg)) rotateY(var(--hl-ry, 0deg)) scale(var(--hl-s, 1));
    transform-origin: 50% 100%;
    transform-style: preserve-3d;
    transition: transform .3s ease-out;
    will-change: transform;
    animation: hlRise 1.2s var(--hl-ease) .5s both;
}
.hl-frame { position: relative; border-radius: 22px; font-size: calc(var(--hl-w) / 70); }
/* A rim of light that travels around the screen, and its glow behind. */
.hl-frame::before, .hl-frame::after {
    content: ""; position: absolute; inset: -1.5px; border-radius: inherit; pointer-events: none;
    background: conic-gradient(from var(--hl-ang), var(--hl-cyan), var(--hl-violet), var(--hl-pink), var(--hl-teal), rgba(98, 214, 255, .1), var(--hl-cyan));
    animation: hlAng 9s linear infinite;
}
.hl-frame::before {
    z-index: 2; padding: 1.5px;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.hl-frame::after { z-index: -1; inset: -6px; filter: blur(34px); opacity: .5; }
@keyframes hlAng { to { --hl-ang: 360deg; } }

.hl-screen {
    position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: inherit;
    display: grid; grid-template-columns: minmax(0, 1fr) 27.5%; grid-template-rows: auto minmax(0, 1fr) auto auto;
    color: var(--hl-ink);
    background:
        radial-gradient(60% 70% at 18% 0%, rgba(70, 110, 255, .2), transparent 70%),
        radial-gradient(50% 60% at 70% 100%, rgba(40, 214, 190, .12), transparent 70%),
        #04070f;
}
.hl-screen::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(130, 180, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(130, 180, 255, .05) 1px, transparent 1px);
    background-size: 3.4em 3.4em;
}
/* A sheen that crosses the glass now and then. */
.hl-screen::after {
    content: ""; position: absolute; inset: -20% -60%; pointer-events: none; z-index: 5;
    background: linear-gradient(105deg, transparent 46%, rgba(255, 255, 255, .07) 50%, transparent 54%);
    animation: hlSheen 9s ease-in-out 2s infinite;
}
@keyframes hlSheen { 0% { transform: translate3d(-45%, 0, 0); } 30%, 100% { transform: translate3d(45%, 0, 0); } }

.hl-top { grid-column: 1; position: relative; display: flex; align-items: center; gap: 1.1em; padding: 1.6em 2.2em 0; white-space: nowrap; }
.hl-brand { font-size: 1.12em; font-weight: 700; letter-spacing: -.02em; background: linear-gradient(90deg, #3b82f6, #10b981); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl-visit { font-size: 1.3em; font-weight: 600; letter-spacing: -.015em; }
.hl-kind { font-size: .84em; color: var(--hl-dim); }
.hl-exit { margin-left: auto; padding: .3em .95em; border-radius: 99em; font-size: .74em; color: var(--hl-sub); box-shadow: inset 0 0 0 1px var(--hl-line); background: var(--hl-glass); }

.hl-main { grid-column: 1; position: relative; display: grid; grid-template-columns: 45% minmax(0, 1fr); align-items: center; gap: 1.2em; padding: 0 2.2em; min-height: 0; transition: opacity .45s ease; }

/* Picture */
.hl-pic { position: relative; height: 100%; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9em; }
.hl-box { position: relative; width: min(100%, 21em); aspect-ratio: 1; }
.hl-corner { position: absolute; width: 1.5em; height: 1.5em; border: 0 solid rgba(98, 214, 255, .55); }
.hl-corner--tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.hl-corner--tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.hl-corner--bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.hl-corner--br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.hl-layers {
    position: absolute; inset: 0;
    -webkit-mask-image: radial-gradient(closest-side, #000 76%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 76%, transparent 100%);
    animation: hlFloat 7s ease-in-out infinite;
}
@keyframes hlFloat { 0%, 100% { transform: translate3d(0, .25em, 0); } 50% { transform: translate3d(0, -.35em, 0); } }
.hl-layers img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hl-layers img + img { clip-path: inset(0 100% 0 0); transition: clip-path 1.5s cubic-bezier(.6, 0, .2, 1); }
.hl-layers img.is-on { clip-path: inset(0 0 0 0); }
.hl-layers.is-snap img { transition: none; }
.hl-wipe {
    position: absolute; top: 8%; bottom: 8%; left: 0; width: 2px; margin-left: -1px; opacity: 0;
    background: linear-gradient(transparent, var(--hl-tone, var(--hl-cyan)) 20%, #fff 50%, var(--hl-tone, var(--hl-cyan)) 80%, transparent);
    box-shadow: 0 0 1.4em .35em color-mix(in srgb, var(--hl-tone, var(--hl-cyan)) 60%, transparent);
}
.hl-wipe.is-run { animation: hlWipe 1.5s cubic-bezier(.6, 0, .2, 1) both; }
@keyframes hlWipe { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
/* The spot the card is talking about. */
.hl-hot {
    position: absolute; left: var(--hx, 50%); top: var(--hy, 50%); width: 3.2em; height: 3.2em; margin: -1.6em 0 0 -1.6em;
    border-radius: 50%; opacity: 0; transition: opacity .5s ease;
    box-shadow: inset 0 0 0 1.5px var(--hl-tone, var(--hl-alert));
}
.hl-hot::before, .hl-hot::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    box-shadow: inset 0 0 0 1.5px var(--hl-tone, var(--hl-alert));
    animation: hlPing 2.2s ease-out infinite;
}
.hl-hot::after { animation-delay: 1.1s; }
.hl-hot.is-on { opacity: 1; }
@keyframes hlPing { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
.hl-illus { position: absolute; right: 1.6em; bottom: .5em; font-size: .52em; letter-spacing: .28em; text-transform: uppercase; color: var(--hl-dim); }
.hl-ped { position: absolute; left: 14%; right: 14%; bottom: -1%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(55, 232, 194, .28), transparent); box-shadow: inset 0 0 0 1px rgba(55, 232, 194, .22); }

.hl-toggle { position: relative; display: flex; padding: .25em; border-radius: 99em; background: var(--hl-glass); box-shadow: inset 0 0 0 1px var(--hl-line); font-size: .8em; }
.hl-toggle span { position: relative; z-index: 1; min-width: 4.6em; padding: .38em 1em; text-align: center; color: var(--hl-dim); transition: color .4s ease; }
.hl-toggle i { position: absolute; top: .25em; bottom: .25em; left: .25em; width: calc(50% - .25em); border-radius: 99em; background: rgba(130, 180, 255, .2); box-shadow: inset 0 0 0 1px rgba(130, 180, 255, .35); transition: transform .5s var(--hl-ease); }
.hl-toggle[data-on="0"] span:nth-of-type(1), .hl-toggle[data-on="1"] span:nth-of-type(2) { color: var(--hl-ink); }
.hl-toggle[data-on="1"] i { transform: translateX(100%); }

/* Cards: one per scene, stacked in the same place. */
.hl-cards { position: relative; height: 100%; min-height: 0; }
.hl-card { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; pointer-events: none; }
.hl-card > * { opacity: 0; transform: translate3d(0, 1em, 0); transition: opacity .35s ease, transform .35s ease; }
.hl-card.is-on > * { opacity: 1; transform: none; transition: opacity .7s var(--hl-ease) calc(var(--i, 0) * .09s + .25s), transform .7s var(--hl-ease) calc(var(--i, 0) * .09s + .25s); }
.hl-eyebrow { font-size: .72em; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--hl-cyan); }
.hl-title { margin-top: .32em; font-size: 2.55em; font-weight: 600; line-height: 1.04; letter-spacing: -.022em; color: var(--hl-ink); }
.hl-title span { display: block; background: linear-gradient(90deg, #b9cdff, #8fd0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl-tags { display: flex; flex-wrap: wrap; gap: .5em; margin-top: 1em; }
.hl-tag { display: inline-flex; align-items: center; gap: .45em; padding: .32em .85em; border-radius: 99em; font-size: .76em; white-space: nowrap; color: var(--t, var(--hl-sub)); background: color-mix(in srgb, var(--t, #8fb4ff) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--t, #8fb4ff) 45%, transparent); }
.hl-tag--dot::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: currentColor; box-shadow: 0 0 .6em currentColor; animation: hlBlink 1.6s ease-in-out infinite; }
@keyframes hlBlink { 50% { opacity: .35; } }
.hl-text { margin-top: 1em; max-width: 24em; font-size: 1.04em; line-height: 1.42; color: var(--hl-sub); }
.hl-note { margin-top: 1.1em; max-width: 26em; padding: .7em .95em; border-radius: .8em; background: rgba(120, 165, 255, .06); box-shadow: inset 0 0 0 1px var(--hl-line); }
.hl-note b { display: block; font-size: .62em; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--hl-dim); }
.hl-note span { display: block; margin-top: .35em; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .72em; line-height: 1.5; color: rgba(208, 223, 255, .8); }
.hl-list { margin-top: 1em; list-style: none; display: flex; flex-direction: column; gap: .62em; }
.hl-list li { display: flex; align-items: center; gap: .8em; font-size: .92em; color: var(--hl-sub); transition: color .4s ease; }
.hl-list li i { flex: none; display: grid; place-items: center; width: 1.75em; height: 1.75em; border-radius: 50%; font-style: normal; font-size: .82em; font-weight: 600; color: var(--hl-teal); box-shadow: inset 0 0 0 1.5px rgba(55, 232, 194, .5); transition: background .4s ease, color .4s ease, box-shadow .4s ease; }
.hl-list li.is-lit { color: var(--hl-ink); }
.hl-list li.is-lit i { background: var(--hl-teal); color: #03131c; box-shadow: 0 0 1em rgba(55, 232, 194, .6); }

/* Carey */
.hl-carey {
    grid-column: 2; grid-row: 1 / -1; position: relative; min-height: 0;
    display: flex; flex-direction: column; align-items: center;
    padding: 2em 1.3em 1.3em;
    background: linear-gradient(180deg, rgba(120, 165, 255, .09), rgba(120, 165, 255, .03));
    box-shadow: inset 1px 0 0 var(--hl-line);
}
.hl-orb { width: 7.6em; height: 7.6em; flex: none; display: grid; place-items: center; }
.hl-orb .carey-orb { --orb-size: 7.6em; }
.hl-orb:empty { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #dff, #3b82f6 45%, #10b981 80%); filter: blur(.2em); }
.hl-carey-name { margin-top: .5em; font-size: 1.15em; font-weight: 600; }
.hl-carey-hint { margin-top: .2em; font-size: .76em; color: var(--hl-dim); }
.hl-chat { flex: 1; min-height: 0; width: 100%; margin-top: 1em; display: flex; flex-direction: column; gap: .6em; }
.hl-q, .hl-a { max-width: 96%; padding: .6em .9em; border-radius: 1em; font-size: .8em; line-height: 1.42; opacity: 0; transform: translate3d(0, .8em, 0) scale(.96); transition: opacity .45s var(--hl-ease), transform .45s var(--hl-ease); }
.hl-q { align-self: flex-end; border-bottom-right-radius: .3em; background: linear-gradient(180deg, rgba(74, 126, 255, .5), rgba(54, 96, 220, .45)); box-shadow: inset 0 0 0 1px rgba(140, 180, 255, .45); }
.hl-a { align-self: flex-start; border-bottom-left-radius: .3em; min-height: 2.5em; background: rgba(120, 165, 255, .09); box-shadow: inset 0 0 0 1px var(--hl-line); color: rgba(232, 240, 255, .92); }
.hl-carey[data-chat="q"] .hl-q, .hl-carey[data-chat="a"] .hl-q, .hl-carey[data-chat="q"] .hl-a, .hl-carey[data-chat="a"] .hl-a { opacity: 1; transform: none; }
.hl-carey[data-chat="q"] .hl-a { transition-delay: .35s; }
.hl-dots { display: none; gap: .3em; padding: .25em 0; }
.hl-dots i { width: .45em; height: .45em; border-radius: 50%; background: var(--hl-cyan); animation: hlDot 1s ease-in-out infinite; }
.hl-dots i:nth-child(2) { animation-delay: .15s; }
.hl-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes hlDot { 0%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translate3d(0, -.2em, 0); } }
.hl-carey[data-chat="q"] .hl-dots { display: flex; }
.hl-carey[data-chat="q"] .hl-a-text { display: none; }
.hl-caret { display: inline-block; width: .12em; height: 1em; margin-left: .12em; vertical-align: -.15em; background: var(--hl-cyan); animation: hlBlink .8s steps(2) infinite; }
.hl-carey:not(.is-typing) .hl-caret { display: none; }
.hl-sugg { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: .45em; }
.hl-sugg span { padding: .38em .9em; border-radius: 99em; font-size: .74em; white-space: nowrap; color: var(--hl-sub); background: var(--hl-glass); box-shadow: inset 0 0 0 1px var(--hl-line); transition: opacity .4s ease, transform .4s var(--hl-ease), max-height .4s ease, margin .4s ease, padding .4s ease, background .25s ease, box-shadow .25s ease, color .25s ease; max-height: 2.6em; overflow: hidden; }
.hl-sugg span.is-press { color: #fff; background: rgba(74, 126, 255, .4); box-shadow: inset 0 0 0 1px rgba(140, 180, 255, .8), 0 0 1.4em rgba(98, 214, 255, .55); transform: scale(.96); }
.hl-sugg span.is-gone { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: -.45em; }
.hl-ask { width: 100%; margin-top: .8em; display: flex; align-items: center; gap: .6em; }
.hl-ask span { flex: 1; min-width: 0; padding: .7em 1em; border-radius: 99em; font-size: .76em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--hl-dim); background: rgba(2, 5, 13, .5); box-shadow: inset 0 0 0 1px var(--hl-line); }
.hl-ask b { flex: none; padding: .65em 1.15em; border-radius: 99em; font-size: .8em; font-weight: 600; color: #03131c; background: linear-gradient(90deg, #5aa8ff, var(--hl-teal)); }

/* Scene strip */
.hl-strip { grid-column: 1; position: relative; display: flex; align-items: center; gap: .65em; padding: .2em 2.2em .5em; }
.hl-arrow { flex: none; display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: 50%; color: var(--hl-sub); box-shadow: inset 0 0 0 1px var(--hl-line); background: var(--hl-glass); }
.hl-arrow svg { width: 1em; height: 1em; }
.hl-arrow.is-tap { animation: hlTap .5s var(--hl-ease); }
@keyframes hlTap { 40% { transform: scale(.86); background: rgba(98, 214, 255, .3); box-shadow: inset 0 0 0 1px var(--hl-cyan), 0 0 1.2em rgba(98, 214, 255, .6); } }
.hl-th { flex: none; display: flex; align-items: center; height: 2.6em; max-width: 2.6em; border-radius: 99em; overflow: hidden; opacity: .5; box-shadow: inset 0 0 0 1px transparent; transition: max-width .6s var(--hl-ease), opacity .4s ease, background .4s ease, box-shadow .4s ease; }
.hl-th img { flex: none; width: 2.6em; height: 2.6em; border-radius: 50%; object-fit: cover; }
.hl-th span { padding: 0 1.1em 0 .6em; font-size: .8em; white-space: nowrap; }
.hl-th.is-on { max-width: 15em; opacity: 1; background: rgba(55, 232, 194, .1); box-shadow: inset 0 0 0 1px rgba(55, 232, 194, .55), 0 0 1.4em -.3em rgba(55, 232, 194, .5); }
.hl-count { margin-left: auto; font-size: .78em; letter-spacing: .08em; color: var(--hl-dim); font-variant-numeric: tabular-nums; }
.hl-disc { grid-column: 1; position: relative; padding: 0 2.2em .85em; text-align: center; font-size: .6em; color: var(--hl-dim); }

/* Loop restart: the visit fades out and starts over. */
.hl-screen.is-reset .hl-main { opacity: 0; }

/* Stickers on the edge of the frame */
.hl-chip {
    position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 9px;
    padding: 9px 16px 9px 10px; border-radius: 980px;
    font-size: 14px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; color: var(--hl-ink);
    background: rgba(10, 18, 40, .78);
    -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
    box-shadow: inset 0 0 0 1px rgba(150, 195, 255, .32), 0 14px 34px -14px rgba(0, 0, 0, .8), 0 0 26px -8px var(--c, var(--hl-cyan));
    transform: translateZ(46px);
    /* The whole capsule drifts, so the words stay centred in it. */
    animation: hlBob 6s ease-in-out var(--bd, 0s) infinite;
}
.hl-chip > span { display: inline-flex; align-items: center; gap: 9px; }
.hl-chip svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #03131c; background: var(--c, var(--hl-cyan)); }
@keyframes hlBob { 0%, 100% { transform: translate3d(0, 4px, 46px); } 50% { transform: translate3d(0, -6px, 46px); } }
.hl-chip--a { left: 3%; top: -20px; --c: var(--hl-cyan); }
.hl-chip--b { right: 4%; top: -20px; --c: var(--hl-teal); --bd: -2s; }
.hl-chip--c { left: 7%; bottom: -22px; --c: var(--hl-violet); --bd: -3.2s; }
.hl-chip--d { right: 6%; bottom: -22px; --c: var(--hl-pink); --bd: -1.2s; }

/* Projector base under the screen */
.hl-base { position: relative; height: 150px; margin-top: 6px; pointer-events: none; }
.hl-base i { position: absolute; left: 50%; top: 34px; border-radius: 50%; transform: translateX(-50%); }
.hl-base i:nth-child(1) { width: 72%; height: 70px; top: 0; background: radial-gradient(closest-side, rgba(98, 214, 255, .3), rgba(98, 214, 255, .08) 60%, transparent); }
.hl-base i:nth-child(2), .hl-base i:nth-child(3), .hl-base i:nth-child(4) { width: 46%; height: 40px; top: 16px; box-shadow: inset 0 0 0 1px rgba(98, 214, 255, .5); animation: hlRing 4.2s ease-out infinite; }
.hl-base i:nth-child(3) { animation-delay: 1.4s; }
.hl-base i:nth-child(4) { animation-delay: 2.8s; }
@keyframes hlRing { from { transform: translateX(-50%) scale(.5); opacity: .9; } to { transform: translateX(-50%) scale(1.9); opacity: 0; } }
/* Floor grid running away under the screen */
.hl-floor {
    position: absolute; left: 50%; top: 20px; width: 190vw; height: 420px; margin-left: -95vw; overflow: hidden; z-index: -1;
    transform: perspective(520px) rotateX(64deg); transform-origin: 50% 0;
    -webkit-mask-image: radial-gradient(52% 78% at 50% 0%, #000 12%, transparent 100%);
    mask-image: radial-gradient(52% 78% at 50% 0%, #000 12%, transparent 100%);
}
.hl-floor::before {
    content: ""; position: absolute; inset: -64px 0 0;
    background-image: linear-gradient(rgba(98, 214, 255, .34) 1px, transparent 1px), linear-gradient(90deg, rgba(98, 214, 255, .26) 1px, transparent 1px);
    background-size: 64px 64px; background-position: 50% 0;
    animation: hlFloor 3.2s linear infinite;
}
@keyframes hlFloor { to { transform: translate3d(0, 64px, 0); } }

/* ── Blocks under the screen reveal as they scroll in (only once JS is running) ── */
.hl-js .hl-r { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .9s var(--hl-ease) var(--d, 0s), transform .9s var(--hl-ease) var(--d, 0s); }
.hl-js .is-in .hl-r, .hl-js .hl-r.is-in { opacity: 1; transform: none; }

/* ── How it works ─────────────────────────────────────────────────────── */
.hl-how { position: relative; width: var(--hl-w); margin: 10px auto 0; }
.hl-h3 { text-align: center; font-size: clamp(26px, 3.2vw, 40px); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; color: var(--hl-ink); text-wrap: balance; }
.hl-h3-sub { max-width: 620px; margin: 12px auto 0; text-align: center; font-size: 17px; line-height: 1.45; color: var(--hl-sub); text-wrap: balance; }
/* The photo between the heading and the steps: HoloNotes in a patient's hands.
   No frame, like the footage in the sections below: it runs the full width of
   the page and fades into the dark above and below. */
.hl-scene {
    --hl-fade-y: linear-gradient(180deg, transparent 0, #000 17%, #000 80%, transparent 100%);
    position: relative; overflow: hidden; width: min(100vw, 1440px); height: min(56.25vw, 700px); margin: 18px 0 0 calc(50% - min(50vw, 720px));
    -webkit-mask-image: var(--hl-fade-y);
    mask-image: var(--hl-fade-y);
}
/* Wider than the photo: its sides fade out too, so no edge shows. */
@media (min-width: 1441px) {
    .hl-scene {
        --hl-fade-x: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
        -webkit-mask-image: var(--hl-fade-y), var(--hl-fade-x);
        mask-image: var(--hl-fade-y), var(--hl-fade-x);
        -webkit-mask-composite: source-in;
        mask-composite: intersect;
    }
}
.hl-scene img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; will-change: transform; animation: hlDrift 22s ease-in-out infinite alternate; }
@keyframes hlDrift { from { transform: scale(1.02); } to { transform: scale(1.09); } }
.hl-scene + .hl-steps { margin-top: 4px; }
.hl-steps { margin-top: 38px; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hl-step {
    position: relative; overflow: hidden; border-radius: 26px; padding: 14px 14px 22px;
    background: linear-gradient(180deg, rgba(120, 165, 255, .1), rgba(120, 165, 255, .03));
    box-shadow: inset 0 0 0 1px var(--hl-line);
    transition: opacity .9s var(--hl-ease) var(--d, 0s), transform .5s var(--hl-ease), box-shadow .4s ease;
}
.hl-step::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s ease;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(98, 214, 255, .2), transparent 70%);
}
.hl-step:hover { box-shadow: inset 0 0 0 1px rgba(130, 200, 255, .45), 0 24px 50px -30px rgba(98, 214, 255, .7); }
.hl-step:hover::before { opacity: 1; }
.hl-vis { position: relative; height: 178px; overflow: hidden; border-radius: 16px; background: radial-gradient(120% 90% at 50% 0%, rgba(70, 110, 255, .22), rgba(2, 5, 13, .7) 70%); box-shadow: inset 0 0 0 1px rgba(130, 180, 255, .14); }
.hl-num { position: relative; display: inline-grid; place-items: center; width: 26px; height: 26px; margin: 18px 6px 0; border-radius: 50%; font-size: 13px; font-weight: 700; color: #03131c; background: linear-gradient(135deg, var(--hl-cyan), var(--hl-teal)); box-shadow: 0 0 18px -2px rgba(98, 214, 255, .7); }
.hl-step h4 { position: relative; margin: 10px 6px 0; font-size: 19px; font-weight: 600; line-height: 1.2; letter-spacing: -.015em; color: var(--hl-ink); }
.hl-step p { position: relative; margin: 8px 6px 0; font-size: 14.5px; line-height: 1.45; color: var(--hl-sub); }

/* 1. Export sheet */
.hl-sheet { position: absolute; left: 9px; right: 9px; bottom: -6px; padding: 10px 10px 16px; border-radius: 16px 16px 0 0; background: #f4f5f8; box-shadow: 0 -10px 30px -10px rgba(98, 214, 255, .45); animation: hlSheetUp 6s var(--hl-ease) infinite; }
@keyframes hlSheetUp { 0% { transform: translate3d(0, 105%, 0); } 12%, 90% { transform: none; } 100% { transform: translate3d(0, 105%, 0); } }
.hl-sheet-grab { display: block; width: 34px; height: 4px; margin: 0 auto 9px; border-radius: 4px; background: #cfd3dc; }
.hl-row { position: relative; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 9px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); }
.hl-row + .hl-row { margin-top: 6px; }
.hl-row u { flex: none; width: 20px; height: 20px; border-radius: 6px; background: #e3e6ee; }
.hl-row s { height: 8px; border-radius: 4px; background: #e3e6ee; }
.hl-row--holo { height: 46px; overflow: hidden; animation: hlRowPick 6s ease infinite; }
.hl-row--holo u { background: linear-gradient(135deg, #3f6bff, #a05cff 45%, #17c690); }
.hl-row--holo > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hl-row--holo > span > span { display: flex; align-items: center; gap: 6px; }
.hl-row--holo img { height: 13px; width: auto; }
.hl-row--holo small { font-size: 9px; line-height: 1; color: #7a8090; white-space: nowrap; }
.hl-row--holo em { padding: 2.5px 5px; border-radius: 5px; font-style: normal; font-size: 8.5px; font-weight: 700; letter-spacing: .06em; color: #fff; background: linear-gradient(90deg, #3f6bff, #17c690); }
@keyframes hlRowPick { 0%, 36% { box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); } 44%, 86% { box-shadow: 0 0 0 2px #3f8bff, 0 0 18px rgba(63, 139, 255, .55); } 100% { box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); } }
.hl-touch { position: absolute; right: 12%; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: rgba(40, 110, 255, .28); box-shadow: 0 0 0 2px rgba(40, 110, 255, .5); opacity: 0; animation: hlTouch 6s ease infinite; }
@keyframes hlTouch { 0%, 28% { opacity: 0; transform: scale(1.5); } 36% { opacity: 1; transform: scale(1); } 42% { opacity: 1; transform: scale(.7); } 52%, 100% { opacity: 0; transform: scale(1.9); } }

/* 2. Note line to plain line */
.hl-plain { position: absolute; inset: 14px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.hl-plain div { position: relative; padding: 9px 11px; border-radius: 11px; overflow: hidden; }
.hl-plain b { display: block; font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hl-plain span { display: block; margin-top: 4px; }
.hl-plain-from { background: rgba(120, 165, 255, .07); box-shadow: inset 0 0 0 1px rgba(130, 180, 255, .18); }
.hl-plain-from b { color: var(--hl-dim); }
.hl-plain-from span { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 10.5px; line-height: 1.45; color: rgba(208, 223, 255, .78); }
.hl-plain-from::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(98, 214, 255, .35), transparent); animation: hlRead 5.5s ease-in-out infinite; }
@keyframes hlRead { 0% { transform: translate3d(-110%, 0, 0); } 30%, 100% { transform: translate3d(260%, 0, 0); } }
.hl-plain-to { background: linear-gradient(135deg, rgba(74, 126, 255, .26), rgba(55, 232, 194, .18)); box-shadow: inset 0 0 0 1px rgba(98, 214, 255, .45), 0 0 22px -8px rgba(98, 214, 255, .7); }
.hl-plain-to b { color: var(--hl-teal); }
.hl-plain-to span { font-size: 13px; line-height: 1.36; font-weight: 500; color: #fff; animation: hlWrite 5.5s ease-in-out infinite; }
@keyframes hlWrite { 0%, 26% { clip-path: inset(0 100% 0 0); opacity: .4; } 58%, 94% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
.hl-spark { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; z-index: 2; display: grid; place-items: center; border-radius: 50%; color: #03131c; background: linear-gradient(135deg, var(--hl-cyan), var(--hl-teal)); box-shadow: 0 0 18px rgba(98, 214, 255, .8); animation: hlSpark 5.5s ease-in-out infinite; }
.hl-spark svg { width: 14px; height: 14px; }
@keyframes hlSpark { 0%, 20% { transform: scale(.8) rotate(0deg); } 34% { transform: scale(1.25) rotate(180deg); } 50%, 100% { transform: scale(1) rotate(360deg); } }

/* 3. Big screen */
.hl-tv { position: absolute; left: 50%; top: 18px; width: 86%; transform: translateX(-50%); }
.hl-tv-glass { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 9px; background: #04070f; box-shadow: 0 0 0 2px #1a2440, 0 0 0 3px rgba(130, 180, 255, .3), 0 14px 34px -10px rgba(98, 214, 255, .55); }
.hl-tv-glass img { width: 100%; height: 100%; object-fit: cover; animation: hlKen 12s ease-in-out infinite alternate; transform-origin: 30% 50%; }
@keyframes hlKen { from { transform: scale(1); } to { transform: scale(1.5); } }
.hl-tv-glass::after { content: ""; position: absolute; inset: -20% -60%; background: linear-gradient(105deg, transparent 45%, rgba(255, 255, 255, .16) 50%, transparent 55%); animation: hlSheen 6s ease-in-out infinite; }
.hl-tv-foot { display: block; width: 26%; height: 9px; margin: 0 auto; background: linear-gradient(180deg, #1a2440, #0c1326); clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%); }
.hl-url { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 980px; font-size: 11px; font-weight: 500; white-space: nowrap; color: var(--hl-ink); background: rgba(6, 12, 28, .9); box-shadow: inset 0 0 0 1px rgba(130, 180, 255, .35); }
.hl-url svg { width: 10px; height: 10px; color: var(--hl-teal); }

/* 4. Link and one-time code */
.hl-mail { position: absolute; inset: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.hl-env { position: relative; display: flex; align-items: center; gap: 9px; padding: 8px 13px 8px 9px; border-radius: 12px; font-size: 12px; font-weight: 500; white-space: nowrap; color: var(--hl-ink); background: rgba(120, 165, 255, .1); box-shadow: inset 0 0 0 1px rgba(130, 180, 255, .3); animation: hlEnv 6s var(--hl-ease) infinite; }
.hl-env svg { width: 24px; height: 24px; padding: 5px; border-radius: 8px; color: #03131c; background: linear-gradient(135deg, var(--hl-violet), var(--hl-pink)); }
@keyframes hlEnv { 0% { transform: translate3d(0, 14px, 0) scale(.9); opacity: 0; } 10%, 92% { transform: none; opacity: 1; } 100% { transform: translate3d(0, -10px, 0); opacity: 0; } }
.hl-code { display: flex; gap: 6px; }
.hl-code i { display: grid; place-items: center; width: 27px; height: 34px; border-radius: 8px; font-style: normal; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; color: transparent; background: rgba(2, 5, 13, .6); box-shadow: inset 0 0 0 1px rgba(130, 180, 255, .28); animation: hlDigit 6s ease infinite; animation-delay: calc(var(--n) * .22s); }
@keyframes hlDigit { 0%, 22% { color: transparent; box-shadow: inset 0 0 0 1px rgba(130, 180, 255, .28); transform: none; } 26% { color: #fff; box-shadow: inset 0 0 0 1.5px var(--hl-cyan), 0 0 14px rgba(98, 214, 255, .6); transform: translate3d(0, -2px, 0); } 32%, 80% { color: #fff; box-shadow: inset 0 0 0 1px rgba(55, 232, 194, .55); transform: none; } 90%, 100% { color: transparent; box-shadow: inset 0 0 0 1px rgba(130, 180, 255, .28); } }
.hl-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; color: var(--hl-teal); animation: hlOk 6s ease infinite; }
.hl-ok svg { width: 13px; height: 13px; }
@keyframes hlOk { 0%, 50% { opacity: 0; transform: translate3d(0, 6px, 0); } 58%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }

/* ── Example visits ───────────────────────────────────────────────────── */
.hl-cases { position: relative; width: var(--hl-w); margin: 84px auto 0; }
.hl-case-grid { margin: 36px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.hl-case-grid li { display: flex; min-width: 0; }
.hl-case {
    position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden;
    padding: 10px 10px 18px; border-radius: 24px; color: var(--hl-ink); text-decoration: none;
    background: linear-gradient(180deg, rgba(120, 165, 255, .1), rgba(120, 165, 255, .03));
    box-shadow: inset 0 0 0 1px var(--hl-line);
    transition: transform .45s var(--hl-ease), box-shadow .4s ease;
}
.hl-case::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s ease;
    background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(98, 214, 255, .22), transparent 70%);
}
.hl-case:hover, .hl-case:focus-visible { transform: translate3d(0, -6px, 0); box-shadow: inset 0 0 0 1px rgba(130, 200, 255, .5), 0 26px 50px -30px rgba(98, 214, 255, .8); }
.hl-case:hover::before, .hl-case:focus-visible::before { opacity: 1; }
.hl-case:focus-visible { outline: 2px solid var(--hl-cyan); outline-offset: 3px; }
.hl-case-art { position: relative; display: block; aspect-ratio: 1 / .86; overflow: hidden; border-radius: 16px; background: radial-gradient(120% 90% at 50% 0%, rgba(70, 110, 255, .24), #04070f 72%); box-shadow: inset 0 0 0 1px rgba(130, 180, 255, .14); }
.hl-case-art img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); transition: transform .6s var(--hl-ease); }
.hl-case:hover .hl-case-art img, .hl-case:focus-visible .hl-case-art img { transform: scale(1.1); }
.hl-case-play { position: absolute; right: 9px; bottom: 9px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: rgba(6, 12, 28, .74); box-shadow: inset 0 0 0 1px rgba(130, 180, 255, .4); transition: transform .35s var(--hl-ease), background .3s ease, color .3s ease, box-shadow .3s ease; }
.hl-case-play svg { width: 13px; height: 13px; margin-left: 2px; }
.hl-case:hover .hl-case-play, .hl-case:focus-visible .hl-case-play { transform: scale(1.12); color: #03131c; background: linear-gradient(135deg, var(--hl-cyan), var(--hl-teal)); box-shadow: 0 0 22px -2px rgba(98, 214, 255, .85); }
.hl-case-kind { position: relative; margin: 14px 6px 0; font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--hl-cyan); }
.hl-case strong { position: relative; display: block; margin: 4px 6px 0; font-size: 17px; font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
.hl-case-blurb { position: relative; margin: 6px 6px 0; font-size: 13.5px; line-height: 1.4; color: var(--hl-sub); }

/* ── Where the section ends ───────────────────────────────────────────── */
/* The next tile is dark too, so the two meet with no gap, and the picture under it
   rises out of this section's colour instead of starting at a hard edge. */
.hl ~ #ai-notes { margin-top: 0; }
.hl ~ #ai-notes .fb-stage::after {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 180px; pointer-events: none;
    background: linear-gradient(180deg, #02050d 0%, rgba(2, 5, 13, .7) 38%, rgba(2, 5, 13, 0) 100%);
}

/* Off screen: stop the clocks. */
.hl.is-off *, .hl.is-off *::before, .hl.is-off *::after { animation-play-state: paused !important; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1068px) {
    .hl-cases { width: auto; }
    .hl-cases-copy { padding: 0 22px; }
    .hl-case-grid {
        display: flex; gap: 12px; margin-top: 22px; overflow: auto hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
        padding: 10px calc((100vw - var(--hl-w)) / 2) 26px; scroll-padding-inline: calc((100vw - var(--hl-w)) / 2);
    }
    .hl-case-grid::-webkit-scrollbar { display: none; }
    .hl-case-grid li { flex: none; width: 204px; scroll-snap-align: start; }
    .hl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hl-chip { font-size: 13px; padding: 7px 13px 7px 8px; }
    .hl-chip--c, .hl-chip--d { display: none; }
}
@media (max-width: 734px) {
    .hl { --hl-w: calc(100vw - 28px); padding: 124px 0 72px; }
    .hl-badge { font-size: 13px; }
    .hl-logo { margin-top: 22px; }
    .hl h2 { margin-top: 24px; }
    .hl-btn { font-size: 15px; padding: 10px 19px; }
    .hl-theater { margin-top: 44px; perspective: 1100px; }
    .hl-chip { display: none; }
    .hl-frame { font-size: calc(var(--hl-w) / 27.5); border-radius: 20px; }
    /* Phone: the screen stands upright, picture over the card; Carey slides up to answer. */
    .hl-screen { aspect-ratio: auto; height: calc(var(--hl-w) * 1.62); grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto auto; }
    .hl-top { padding: 1.2em 1.3em 0; gap: .7em; }
    .hl-kind { display: none; }
    .hl-main { grid-template-columns: minmax(0, 1fr); grid-template-rows: 44% minmax(0, 1fr); gap: .4em; padding: .4em 1.3em 0; align-items: stretch; }
    .hl-box { width: auto; height: 82%; }
    .hl-pic { gap: .5em; }
    .hl-card { justify-content: flex-start; padding-top: .5em; }
    .hl-title { font-size: 2em; }
    .hl-title span { display: inline; }
    .hl-tags { margin-top: .7em; }
    .hl-text { margin-top: .7em; font-size: 1em; }
    .hl-note { margin-top: .9em; }
    .hl-list { margin-top: .8em; gap: .5em; }
    .hl-strip { padding: .2em 1.3em .5em; gap: .45em; }
    .hl-th:not(.is-on) { display: none; }
    .hl-disc { padding: 0 1.3em .9em; font-size: .62em; }
    .hl-carey {
        grid-column: 1; grid-row: auto; position: absolute; left: .7em; right: .7em; bottom: .7em; z-index: 4;
        display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .9em; align-items: center;
        padding: 1em 1.1em 1.1em; border-radius: 1.3em;
        background: rgba(9, 16, 36, .94);
        -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
        box-shadow: inset 0 0 0 1px rgba(130, 180, 255, .35), 0 -1em 3em rgba(0, 0, 0, .6), 0 0 2.4em -.6em rgba(98, 214, 255, .7);
        transform: translate3d(0, 112%, 0); transition: transform .7s var(--hl-ease);
    }
    .hl-screen[data-scene="2"] .hl-carey { transform: none; }
    .hl-orb { grid-row: 1 / span 2; width: 3.6em; height: 3.6em; }
    .hl-orb .carey-orb { --orb-size: 3.6em; }
    .hl-carey-name { margin-top: 0; font-size: 1.1em; }
    .hl-carey-hint { margin-top: 0; }
    .hl-chat { grid-column: 1 / -1; margin-top: .8em; }
    .hl-q, .hl-a { font-size: .9em; }
    .hl-sugg, .hl-ask { display: none; }
    .hl-base { height: 110px; }
    .hl-scene { height: 78vw; margin-top: 10px; }
    /* Taller on a phone, so the sides are cut: keep the tablet in the middle. */
    .hl-scene img { object-position: 64% 46%; }
    .hl-steps { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 30px; }
    .hl-scene + .hl-steps { margin-top: 6px; }
    .hl-vis { height: 190px; }
    .hl-tv { width: min(74%, 262px); top: 14px; }
    .hl-h3-sub { font-size: 16px; }
    .hl-cases { margin-top: 64px; }
    .hl-case-grid li { width: 168px; }
    .hl-case { border-radius: 22px; }
    .hl-case strong { font-size: 16px; }
    .hl-case-blurb { font-size: 13px; }
}

/* ── Reduced motion: everything in place, nothing moving ──────────────── */
@media (prefers-reduced-motion: reduce) {
    .hl *, .hl *::before, .hl *::after { animation: none !important; transition: none !important; }
    .hl-js .hl-r { opacity: 1; transform: none; }
    .hl-tilt { transform: none; }
    .hl-logo-shine, .hl-logo-scan, .hl-touch, .hl-wipe { display: none; }
    .hl-code i { color: #fff; }
}
