/* ==========================================================================
   Conn Web Works — the light look (loads last). Apple-style: a soft grey page, white panels, near-black type,
   one blue, generous space, calm motion. The older stylesheets now take their colours from a few shared settings
   (--fg-rgb for type and lines, --glass-rgb for panels), set here for the light pages. A few parts stay dark on
   purpose and switch those settings back locally (.is-dark below): the night demo, the film player, the device
   mock-ups, and the stage Nova reveals behind the curtain.
   ========================================================================== */
:root {
  --fg-rgb: 29 29 31;                         /* type, hairlines, faint fills */
  --glass-rgb: 255 255 255;                   /* panels */
  --ink: #1d1d1f;
  --ink-2: rgba(29, 29, 31, .72);
  --ink-3: rgba(29, 29, 31, .5);
  --hair: rgba(29, 29, 31, .1);
  --hair-2: rgba(29, 29, 31, .16);
  --glass: rgba(255, 255, 255, .72);
  --glass-2: rgba(255, 255, 255, .88);
  --night: #f5f5f7;
  --text: var(--ink); --muted: var(--ink-2); --dim: var(--ink-3); --line-soft: var(--hair);
  --blue: #0071e3; --blue-rgb: 0 113 227;
  --accent-ink: #0066cc;
  --warm: #0066cc;
  --tile: rgba(255, 255, 255, .78);           /* the white tiles the sections sit on */
  --tile-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 18px 50px -24px rgba(0, 0, 0, .18);
  --r-tile: 28px;
  --mat: blur(20px) saturate(170%);
  color-scheme: light;
}
/* the parts that stay dark */
.is-dark, #behind, .cinema, .nt-card, .film-poster, .sc-win, .pv .pv-site, .lab2-pane .dev, .ba-old, .ba-new {
  --fg-rgb: 255 255 255; --glass-rgb: 12 14 20;
  --ink: #f5f5f7; --ink-2: rgba(245, 245, 247, .76); --ink-3: rgba(245, 245, 247, .52);
  --hair: rgba(255, 255, 255, .12); --hair-2: rgba(255, 255, 255, .2);
  --glass: rgba(8, 10, 15, .5); --glass-2: rgba(10, 13, 19, .74);
  --text: var(--ink); --muted: var(--ink-2); --dim: var(--ink-3); --line-soft: var(--hair);
  --accent-ink: #8ab6ff;
  color-scheme: dark;
}
.nt-card { color: var(--ink); background: #0b0d12; border-radius: var(--r-tile); }

/* ---------- the page ---------- */
html, html.no-world body, html.no-footage, html.no-footage body { background: #f5f5f7; }
body { color: var(--ink); }
html.no-footage body::before { background: radial-gradient(closest-side, rgba(0, 113, 227, .08), transparent); }
html.no-footage body::after { background: radial-gradient(closest-side, rgba(99, 102, 241, .06), transparent); }
.x-shade { display: none; }
::selection { background: rgba(0, 113, 227, .22); color: inherit; }
a:hover { color: var(--accent-ink); }
.site-footer { background: rgba(245, 245, 247, .92); border-top: 1px solid var(--hair); }

/* ---------- type: one family, set like a product page ---------- */
body { font: 400 1.0625rem/1.55 var(--font-body); letter-spacing: -0.012em; }
.x-display { font-weight: 600; letter-spacing: -0.045em; color: var(--ink); }
.x-h2 { font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.04; letter-spacing: -0.04em; color: var(--ink); margin-bottom: .4em; }
.x-sub, .x-lead { color: #6e6e73; font-size: clamp(1.06rem, 1.25vw, 1.3rem); line-height: 1.5; letter-spacing: -0.016em; }
.x-kick { color: #6e6e73; font-weight: 600; font-size: 1rem; }
.x-sec { padding: clamp(88px, 11vw, 150px) 0; }
h3 { letter-spacing: -0.025em; }

/* ---------- header: frosted white bar ---------- */
.site-header { background: rgba(245, 245, 247, .78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(245, 245, 247, .9); border-bottom-color: var(--hair); }
.site-header .brand, .site-header .brand-name { color: var(--ink); }
.brand-mark { filter: none; }
.nav li a { color: var(--ink); }
.nav li a:hover { color: var(--accent-ink); }
.menu-icon i { background: var(--ink); }
@media (min-width: 1037px) { .nav li a { font-size: .9rem; color: rgba(29, 29, 31, .8); } }

/* ---------- buttons: pills ---------- */
.btn { border-radius: 980px; font-weight: 500; letter-spacing: -0.01em; }
.btn-primary, .btn-primary:hover { background: var(--blue); color: #fff; box-shadow: none; }
.btn-primary:hover { background: #0077ed; }
.btn-ghost { background: transparent; color: var(--accent-ink); border: 1px solid rgba(0, 113, 227, .55); }
.btn-ghost:hover { background: rgba(0, 113, 227, .06); color: var(--accent-ink); border-color: var(--blue); }
.btn-primary.btn-lg::after, .nav-cta::after { display: none; }       /* no light sweep across the buttons */
.beam, .beam-glow { display: none !important; }                     /* no beams running round panels */

/* ---------- the top screen ---------- */
.x-hero { min-height: min(100svh, 980px); padding: calc(var(--header-h) + clamp(40px, 9vh, 110px)) 0 clamp(40px, 7vh, 80px); }
.x-hero::before { display: none; }
.x-hero .x-eyebrow { color: var(--accent-ink); background: none; -webkit-background-clip: border-box; background-clip: border-box; animation: none; font-weight: 600; font-size: 1.05rem; margin-bottom: 14px; }
.x-hero .x-eyebrow .live-dot { background: #34c759; box-shadow: 0 0 0 4px rgba(52, 199, 89, .18); }
.x-hero .hero-h { color: var(--ink); font-size: clamp(2.8rem, min(7vw, 10vh), 6.6rem); line-height: 1.02; letter-spacing: -0.05em; max-width: 15ch; }
@media (min-width: 900px) {   /* wide screens: every rotating ending fits on one line, so no empty gap under the headline */
  .x-hero .hero-h { max-width: none; font-size: clamp(3rem, min(5.4vw, 9.5vh), 5.6rem); }
  .hh-rot > span { white-space: nowrap; }
}
.hh-rot { perspective: none; }
.hh-rot > span { transform: translateY(18%); filter: none; transition: opacity .5s ease, transform .6s cubic-bezier(.16, 1, .3, 1); }
.hh-rot > span.on { transform: none; }
.hh-rot > span.out { opacity: 0; transform: translateY(-18%); }
.hh-rot > span { background: linear-gradient(90deg, #0071e3, #6e5ef5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-hero .x-lead { color: #6e6e73; max-width: 31em; margin: 24px auto 30px; font-size: clamp(1.1rem, 1.5vw, 1.4rem); }
.hero-ask { background: #fff; border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 22px 50px -28px rgba(0, 0, 0, .3); border-radius: 980px; }
.hero-ask input { color: var(--ink); }
.hero-ask input::placeholder { color: #86868b; }
.hero-ask .ha-go { border-radius: 50%; }
.ha-hint { color: #86868b; }
.hero-ctas { gap: 14px; margin-top: 28px; }
.hero-stats { margin-top: clamp(36px, 6vh, 64px); gap: 0; }
.hero-stats > div { padding: 0 clamp(18px, 3vw, 44px); border-left: 1px solid var(--hair); }
.hero-stats > div:first-child { border-left: 0; }
.hero-stats dd { color: var(--ink); font-weight: 600; letter-spacing: -0.04em; }
.hero-stats dt { color: #6e6e73; }

/* ---------- sections sit on calm white tiles ---------- */
.stop-card, .lab2, .pkg, .vs, .vs-year, .card.form, .faq details, .proc li, .x-transcript { background: var(--tile); border: 1px solid rgba(0, 0, 0, .04); box-shadow: var(--tile-shadow); }
@media (hover: hover) and (pointer: fine) {
  .stop-card, .lab2, .pkg, .vs-year, .card.form { -webkit-backdrop-filter: var(--mat); backdrop-filter: var(--mat); }
}
@media (hover: none) and (pointer: coarse) {                             /* phones: solid tiles and header, no blur (smoother scrolling) */
  :root { --tile: rgba(255, 255, 255, .94); }
  .site-header, .site-header.scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(245, 245, 247, .97); }
}

/* ---------- the services: ordinary sections in normal page order ---------- */
.tour-intro { min-height: 0; padding: clamp(88px, 11vw, 150px) 0 clamp(32px, 5vw, 56px); }
.stop { min-height: 0; height: auto; padding: 0 var(--gutter) clamp(22px, 3vw, 36px); pointer-events: auto; }
.stop + .stop { margin-top: 0; }
.stop-card { position: relative; top: auto; height: auto; min-height: 0; max-width: 1180px; margin: 0 auto; overflow: visible; visibility: visible;
  border-radius: var(--r-tile); padding: clamp(40px, 6vw, 84px) clamp(22px, 5vw, 72px); text-shadow: none; }
.stop-card > * { will-change: auto; }
.stop-t { color: var(--ink); font-size: clamp(2.3rem, 5vw, 4.6rem); }
.stop-lead { color: #6e6e73; }
.stop-diff { margin: clamp(28px, 4vw, 44px) 0 clamp(24px, 3.4vw, 36px); }
.stop-diff li { border-top-color: var(--hair); color: var(--ink); }
.stop-prices dd { color: var(--ink); }
.stop-prices dt { color: #6e6e73; }
.stop-cmp { background: #f5f5f7; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.cmp-bar { background: rgba(0, 0, 0, .07); }
.cmp-bar i { background: rgba(0, 0, 0, .28); }
.cmp-bar .cmp-more { background: linear-gradient(90deg, rgba(0, 0, 0, .28) 60%, rgba(0, 0, 0, .06)); }
.cmp-bar .cmp-dash { background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .28) 0 6px, transparent 6px 11px); }
.stop .cmp-us .cmp-bar i { background: var(--blue); box-shadow: none; transform: none; }
.cmp-us .cmp-l, .cmp-us .cmp-v { color: var(--ink); }
/* a soft rise the first time each service scrolls into view (spin.js adds .in); bars grow once */
html.stops-fade .stop .stop-card { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1); }
html.stops-fade .stop.in .stop-card { opacity: 1; transform: none; }
html.stops-fade .stop .cmp-bar i { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.16, 1, .3, 1) .45s; }
html.stops-fade .stop .cmp-us .cmp-bar i { transition-delay: .85s; }
html.stops-fade .stop.in .cmp-bar i { transform: scaleX(1); }

/* ---------- small things ---------- */
.tour-index a { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); -webkit-backdrop-filter: none; backdrop-filter: none; }
.tour-index a::before { color: #fff; background: var(--blue); }
.tour-index a:hover { background: #fff; color: var(--accent-ink); }
.cursor b { border-color: rgba(0, 0, 0, .35); }
.cursor.label b { background: var(--ink); border-color: var(--ink); }
.cursor em { color: #fff; }
.film-poster { border-color: rgba(0, 0, 0, .06); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .35); }
.film-poster .fp-meta b, .film-poster .fp-meta span { color: #fff; }
.theme-picker { opacity: .8; }

/* ---------- Nova on a light page: a soft shadow under her so she stands out; her highlight is a light blue outline ---------- */
.nv-hl { background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border: 2px solid rgba(0, 113, 227, .55) !important;
  box-shadow: 0 0 0 6px rgba(0, 113, 227, .08), 0 12px 40px -18px rgba(0, 113, 227, .45) !important; border-radius: 18px; }
.nv-hl.on { animation: none; }
.nova canvas, .nova .nv-3d { filter: drop-shadow(0 14px 18px rgba(20, 30, 60, .2)); }

/* ---------- the intro on a light page ---------- */
.loader { background: #f5f5f7; }
.ld-name { color: var(--ink); }
.ld-motto, .ld-motto span { color: var(--ink); -webkit-text-fill-color: currentColor; background: none; text-shadow: none; }
.ld-glow { opacity: .35; }

/* ---------- the stage behind the curtain (backdrop.js; Nova lifts the satin to show it) ----------
   A dark stage under a spotlight: the line, the site on a laptop and a phone, and tonight's bookings popping in. */
/* while the curtain is up the page steps aside, so the stage is the whole show; it comes back as the curtain falls */
main, .site-footer, .sticky-cta { transition: opacity .55s ease; }
html.curtain-up main, html.curtain-up .site-footer, html.curtain-up .sticky-cta { opacity: 0; pointer-events: none; }
#behind .stage { position: absolute; inset: 0; display: none; text-align: center; color: #f5f5f7;
  background: radial-gradient(70% 60% at 50% 34%, #1b2a4d 0%, #0b1020 55%, #05070d 100%); }
#behind.stage-on .stage { display: block; }
#behind.stage-on .bp, #behind.stage-on .bp-world { display: none; }
.st-spot { position: absolute; left: 50%; top: -20%; width: 70vmax; height: 120vh; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(150, 190, 255, .22), transparent 70%); }
.st-kick { position: relative; margin: 0; padding-top: max(21vh, 150px); font: 600 clamp(.95rem, 1.4vw, 1.2rem)/1.2 var(--font-body); color: #8ab6ff; letter-spacing: -0.01em; }
.st-h { position: relative; margin: .3em auto 0; max-width: 17ch; font: 600 clamp(1.8rem, min(4vw, 6vh), 3.6rem)/1.04 var(--font-head); letter-spacing: -0.045em; color: #fff; }
.st-devices { position: absolute; left: 50%; bottom: 4vh; width: min(70vw, 50vh * 1.6, 820px); aspect-ratio: 16 / 10; transform: translateX(-50%); }
.st-laptop { position: absolute; left: 0; right: 12%; bottom: 0; aspect-ratio: 800 / 520; border-radius: 14px; overflow: hidden; background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 60px -10px rgba(80, 140, 255, .35); }
.st-phone { position: absolute; right: 0; bottom: -2%; width: 22%; aspect-ratio: 375 / 760; border-radius: 22px; overflow: hidden; background: #0b0f19;
  border: 3px solid #1d2230; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9); }
.st-laptop img, .st-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.st-notes { position: absolute; left: 50%; bottom: 8vh; width: min(92vw, 1100px); height: 0; transform: translateX(-50%); margin: 0; padding: 0; list-style: none; }
.st-notes li { position: absolute; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; width: 260px; padding: 12px 16px;
  text-align: left; border-radius: 16px; background: rgba(255, 255, 255, .96); color: #1d1d1f; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .7); opacity: 0; }
.st-notes li:nth-child(1) { left: 0; bottom: 40vh; } .st-notes li:nth-child(2) { right: 0; bottom: 34vh; }
.st-notes li:nth-child(3) { left: 2%; bottom: 20vh; } .st-notes li:nth-child(4) { right: 3%; bottom: 14vh; }
.st-notes i { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-style: normal; font-weight: 700; color: #fff; }
.st-ok { background: #0071e3; } .st-q { background: #22a35a; } .st-st { background: #f5b301; } .st-fu { background: #8b5cf6; }
.st-notes b { font-size: .98rem; letter-spacing: -0.015em; } .st-notes span { font-size: .84rem; color: #6e6e73; }
#behind.stage-on .st-notes li { animation: st-pop .7s cubic-bezier(.16, 1.3, .3, 1) both; animation-delay: calc(1.1s + var(--i) * .55s); }
#behind.stage-on .st-devices { animation: st-rise 1.2s cubic-bezier(.16, 1, .3, 1) both .3s; }
@keyframes st-pop { from { opacity: 0; transform: translateY(18px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes st-rise { from { opacity: 0; transform: translate(-50%, 40px); } to { opacity: 1; transform: translateX(-50%); } }
@media (max-width: 760px) {
  .st-kick { padding-top: max(19vh, 120px); }
  .st-devices { width: 90vw; aspect-ratio: 800 / 520; bottom: 5vh; }
  .st-laptop { right: 0; }
  .st-phone { display: none; }
  .st-notes { top: calc(max(19vh, 120px) + 9.5rem); bottom: auto; width: 84vw; height: auto; display: grid; gap: 9px; }
  .st-notes li, .st-notes li:nth-child(n) { position: relative; left: auto; right: auto; bottom: auto; width: auto; padding: 9px 12px; }
  .st-notes li:nth-child(4) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html.stops-fade .stop .stop-card { opacity: 1; transform: none; transition: none; }
  html.stops-fade .stop .cmp-bar i { transform: none; transition: none; }
}

/* ---------- the "AI front desk, live" demo: a real chat (ailab.js) ---------- */
.ask-log { display: grid; gap: 10px; max-height: min(52vh, 420px); overflow-y: auto; margin: 4px 0 18px; padding: 4px 2px; overscroll-behavior: contain; }
.ask-msg { max-width: 86%; padding: 11px 15px; border-radius: 20px; font-size: .98rem; line-height: 1.45; letter-spacing: -0.01em; }
.ask-msg p { margin: 0 0 .45em; } .ask-msg p:last-child { margin: 0; }
.ask-msg ul { margin: .2em 0 .45em; padding-left: 1.15em; list-style: disc; } .ask-msg li { margin: .15em 0; }
.ask-msg.me { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.ask-msg.ai { justify-self: start; background: #f0f0f3; color: var(--ink); border-bottom-left-radius: 6px; }
.ask-msg.err { background: #fff1f0; color: #b42318; }
.ask-dots { display: inline-flex; gap: 4px; padding: 4px 2px; }
.ask-dots i { width: 7px; height: 7px; border-radius: 50%; background: #8e8e93; animation: ask-dot 1s ease-in-out infinite; }
.ask-dots i:nth-child(2) { animation-delay: .15s; } .ask-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ask-dot { 0%, 80%, 100% { opacity: .35; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .ask-dots i { animation: none; } }

/* ---------- the holographic chat (holo.js): a see-through glass phone, like the clear phones in 2000s sci-fi ----------
   Smoky blue glass you can see the page through, glowing cyan edges, faint scan lines, a light sweep and a soft sheen.
   It flickers into view as if projected, and floats gently while it's open. */
.holo { position: fixed; z-index: 120; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); width: 370px; height: min(640px, calc(100svh - 120px));
  color: #eaf6ff; font-family: var(--font-body); }
.holo[hidden] { display: none; }
.holo-glass { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 38px; padding: 10px 14px 14px;
  background: linear-gradient(160deg, rgba(110, 185, 255, .30) 0%, rgba(14, 34, 70, .62) 38%, rgba(6, 16, 38, .72) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border: 1.5px solid rgba(150, 215, 255, .8);
  box-shadow: inset 0 0 0 1px rgba(170, 225, 255, .14), inset 0 0 42px rgba(110, 195, 255, .22), 0 0 34px rgba(70, 165, 255, .42), 0 40px 90px -28px rgba(0, 30, 80, .55);
  transform-origin: 50% 100%; animation: holo-float 6s ease-in-out infinite; }
.holo.in .holo-glass { animation: holo-in .62s cubic-bezier(.2, .9, .3, 1) both, holo-float 6s ease-in-out .62s infinite; }
.holo.out .holo-glass { animation: holo-outk .3s ease-in both; }
@keyframes holo-in {
  0% { opacity: 0; transform: scale(.72, .02); filter: brightness(2.4); }
  35% { opacity: 1; transform: scale(1.02, 1.03); filter: brightness(1.7); }
  48% { opacity: .45; } 58% { opacity: 1; } 68% { opacity: .75; }
  100% { opacity: 1; transform: none; filter: none; } }
@keyframes holo-outk { to { opacity: 0; transform: scale(.85, .04); filter: brightness(2); } }
@keyframes holo-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }   /* 2D only: a 3D tilt switches the glass blur off */
/* the projection effects on top of the glass */
.holo-scan, .holo-sweep, .holo-sheen { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }
.holo-scan { background: repeating-linear-gradient(0deg, rgba(160, 220, 255, .07) 0 1px, transparent 1px 3px); mix-blend-mode: screen; }
.holo-sweep { background: linear-gradient(180deg, transparent 0%, rgba(160, 225, 255, .16) 48%, rgba(200, 240, 255, .32) 50%, rgba(160, 225, 255, .16) 52%, transparent 100%);
  background-size: 100% 220%; animation: holo-sweep 4.5s linear infinite; mix-blend-mode: screen; }
@keyframes holo-sweep { from { background-position: 0 120%; } to { background-position: 0 -120%; } }
.holo-sheen { background: linear-gradient(115deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0) 70%, rgba(150, 220, 255, .12) 100%); }
/* the phone's insides */
.holo-status { display: flex; justify-content: space-between; align-items: center; padding: 4px 14px 6px; font: 600 .78rem/1 var(--font-body); color: rgba(220, 240, 255, .85); letter-spacing: .01em; }
.holo-icons { display: inline-flex; gap: 7px; align-items: center; }
.holo-sig { display: inline-flex; gap: 2px; align-items: flex-end; height: 10px; } .holo-sig i { width: 3px; background: currentColor; border-radius: 1px; }
.holo-sig i:nth-child(1) { height: 3px; } .holo-sig i:nth-child(2) { height: 5px; } .holo-sig i:nth-child(3) { height: 7px; } .holo-sig i:nth-child(4) { height: 10px; }
.holo-bat { position: relative; width: 20px; height: 10px; border: 1.5px solid currentColor; border-radius: 3px; }
.holo-bat i { position: absolute; inset: 1px 30% 1px 1px; background: currentColor; border-radius: 1px; }
.holo-head { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 8px 6px 12px; border-bottom: 1px solid rgba(150, 215, 255, .25); }
.holo-orb { width: 34px; height: 34px; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d9f3ff, #4fb4ff 45%, #1959c9 80%); box-shadow: 0 0 18px rgba(90, 180, 255, .9); animation: holo-pulse 2.4s ease-in-out infinite; }
@keyframes holo-pulse { 50% { box-shadow: 0 0 28px rgba(120, 200, 255, 1); } }
.holo-who { display: grid; line-height: 1.15; flex: 1; } .holo-who b { font-size: 1.05rem; color: #fff; letter-spacing: -0.01em; }
.holo-who small { font-size: .78rem; color: rgba(205, 232, 255, .78); }
.holo-x { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(150, 215, 255, .4); background: rgba(150, 215, 255, .1); color: #dff2ff; cursor: pointer; }
.holo-x:hover { background: rgba(150, 215, 255, .22); }
.holo-log { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; gap: 9px; overflow-y: auto; padding: 14px 4px 10px; overscroll-behavior: contain; scrollbar-width: thin; }
.holo-msg { max-width: 88%; padding: 10px 14px; border-radius: 18px; font-size: .95rem; line-height: 1.45; letter-spacing: -0.005em; animation: holo-msg .35s ease-out both; }
@keyframes holo-msg { from { opacity: 0; transform: translateY(8px); filter: blur(3px); } }
.holo-msg p { margin: 0 0 .45em; } .holo-msg p:last-child { margin: 0; }
.holo-msg ul { margin: .2em 0 .45em; padding-left: 1.15em; list-style: disc; } .holo-msg li { margin: .15em 0; }
.holo-msg strong { color: #fff; }
.holo-msg.ai { align-self: flex-start; background: rgba(160, 215, 255, .12); border: 1px solid rgba(160, 215, 255, .32); border-bottom-left-radius: 6px; color: #eaf6ff; }
.holo-msg.me { align-self: flex-end; background: linear-gradient(135deg, rgba(64, 160, 255, .85), rgba(40, 110, 240, .85)); border: 1px solid rgba(190, 230, 255, .6); border-bottom-right-radius: 6px; color: #fff;
  box-shadow: 0 0 16px rgba(60, 150, 255, .45); }
.holo-msg.err { background: rgba(255, 110, 110, .16); border-color: rgba(255, 150, 150, .45); }
.holo-dots { display: inline-flex; gap: 4px; padding: 3px 1px; }
.holo-dots i { width: 7px; height: 7px; border-radius: 50%; background: #8fd0ff; box-shadow: 0 0 8px #8fd0ff; animation: ask-dot 1s ease-in-out infinite; }
.holo-dots i:nth-child(2) { animation-delay: .15s; } .holo-dots i:nth-child(3) { animation-delay: .3s; }
.holo-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.holo-acts button, .holo-chips button { padding: 7px 12px; border-radius: 999px; font: 500 .84rem/1.2 var(--font-body); cursor: pointer; color: #e6f5ff;
  background: rgba(150, 215, 255, .1); border: 1px solid rgba(150, 215, 255, .45); text-align: left; }
.holo-acts button:hover, .holo-chips button:hover { background: rgba(150, 215, 255, .22); }
.holo-acts button.primary { background: #3aa0ff; border-color: #a9dcff; color: #fff; font-weight: 600; box-shadow: 0 0 16px rgba(60, 160, 255, .6); }
.holo-chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 2px 10px; }
.holo-chips[hidden] { display: none; }
.holo-form { position: relative; z-index: 1; display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 999px; background: rgba(150, 215, 255, .1); border: 1px solid rgba(150, 215, 255, .4); }
.holo-form input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 0; background: transparent; color: #fff; font: 400 1rem var(--font-body); outline: none; }
.holo-form input::placeholder { color: rgba(205, 232, 255, .62); }
.holo-form button { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer; color: #fff; background: #3aa0ff; box-shadow: 0 0 16px rgba(60, 160, 255, .7); }
.holo-form:focus-within { border-color: rgba(180, 230, 255, .85); box-shadow: 0 0 18px rgba(80, 170, 255, .35); }
.holo.busy .holo-form button { opacity: .55; }
.holo :focus-visible { outline: 2px solid #bfe6ff; outline-offset: 2px; }
@media (max-width: 640px) {
  .holo { left: 50%; right: auto; bottom: max(12px, env(safe-area-inset-bottom)); width: min(94vw, 400px); height: min(78svh, 640px); transform: translateX(-50%); }
  .holo-glass { border-radius: 32px; background: linear-gradient(160deg, rgba(110, 185, 255, .34) 0%, rgba(12, 30, 64, .8) 34%, rgba(6, 15, 36, .86) 100%);
    -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }   /* a little more frost: small screens put text right over the page */
}
@media (prefers-reduced-motion: reduce) {
  .holo-glass, .holo.in .holo-glass, .holo.out .holo-glass, .holo-sweep, .holo-orb, .holo-msg { animation: none !important; }
}
html.holo-open .sticky-cta { opacity: 0; pointer-events: none; }
/* phones switch glass blur off everywhere (reel.css, for smooth scrolling); the hologram is the one exception, so the page
   behind it softens instead of showing through sharp */
@media (hover: none) and (pointer: coarse) {
  .holo .holo-glass { -webkit-backdrop-filter: blur(16px) saturate(160%) !important; backdrop-filter: blur(16px) saturate(160%) !important; }
}
