/* "Liquid glass" theme in the spirit of iOS 26 – layered on top of style.css (body.theme-glass), driven by glass.js. */
@property --mx { syntax: "<length-percentage>"; inherits: true; initial-value: 30%; }
@property --my { syntax: "<length-percentage>"; inherits: true; initial-value: 0%; }
@property --glare { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --rx { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --ry { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --lift { syntax: "<length>"; inherits: false; initial-value: 0px; }

/* Tilted cards and glow blobs poke a few px past the edge; clip so phones can't pan sideways */
html, body.theme-glass { overflow-x: clip; }

.theme-glass {
  --bg: #eef2f8;
  --ink: #0b1220;
  --muted: #4a5468;
  --line: rgba(255, 255, 255, .6);
  --blue: #007aff;
  --indigo: #5856d6;
  --cyan: #32ade6;
  --accent: var(--blue);
  --grad: linear-gradient(110deg, #32ade6, #007aff 30%, #5856d6 55%, #007aff 80%, #32ade6);
  --logo-1: #5ac8fa;
  --logo-2: #0a84ff;
  --logo-3: #5e5ce6;
  --glass: rgba(255, 255, 255, .42);
  --glass-strong: rgba(255, 255, 255, .66);
  --glass-edge: rgba(255, 255, 255, .9);
  --glass-shade: rgba(11, 18, 32, .08);
  --glass-tint: rgba(12, 18, 34, .76);
  --rim: rgba(255, 255, 255, .95);
  --rim-low: rgba(255, 255, 255, .22);
  --glow: rgba(255, 255, 255, .5);
  --blur: blur(26px) saturate(190%);
  --radius: 30px;
  --shadow: 0 1px 1px rgba(11, 18, 32, .04), 0 18px 40px -18px rgba(20, 40, 90, .28);
  --spring: linear(0, .006, .025 2.8%, .101 6.1%, .539 18.9%, .721 25.3%, .849 31.5%, .937 38.1%, .968 41.8%, .991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001 85.9%, 1);
  --bounce: linear(0, .013, .051 2.4%, .202 5%, .727 11.9%, .955 15.6%, 1.052 18.4%, 1.112 21.5%, 1.13 24.4%, 1.118 27.6%, 1.035 35.2%, .996 41%, .983 46.3%, .991 55.6%, 1.002 68.7%, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Manrope", "Segoe UI", Roboto, "Noto Sans", "Hiragino Sans", "PingFang SC", sans-serif;
  interpolate-size: allow-keywords;
  background: var(--bg);
}
@media (prefers-color-scheme: dark) {
  .theme-glass {
    --bg: #05070d;
    --ink: #f5f7fb;
    --muted: #aab3c5;
    --line: rgba(255, 255, 255, .13);
    --blue: #0a84ff;
    --indigo: #5e5ce6;
    --cyan: #64d2ff;
    --grad: linear-gradient(110deg, #64d2ff, #0a84ff 30%, #7d7aff 55%, #0a84ff 80%, #64d2ff);
    --glass: rgba(255, 255, 255, .07);
    --glass-strong: rgba(255, 255, 255, .13);
    --glass-edge: rgba(255, 255, 255, .26);
    --glass-shade: rgba(0, 0, 0, .3);
    --glass-tint: rgba(4, 7, 16, .58);
    --rim: rgba(255, 255, 255, .6);
    --rim-low: rgba(255, 255, 255, .08);
    --glow: rgba(255, 255, 255, .12);
    --shadow: 0 1px 1px rgba(0, 0, 0, .3), 0 24px 50px -20px rgba(0, 0, 0, .7);
  }
}

/* Wallpaper: drifting colour fields + parallax on scroll + a soft light that follows the pointer */
.theme-glass .mesh { display: block; position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.theme-glass .mesh i { position: absolute; width: min(48vw, 680px); aspect-ratio: 1; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.theme-glass .mesh i:nth-child(1) { background: #7cc4ff; left: -8vw; top: -14vh; animation: drift1 28s ease-in-out infinite alternate; translate: 0 calc(var(--sy, 0) * -.06px); }
.theme-glass .mesh i:nth-child(2) { background: #9d9bff; right: -10vw; top: 14vh; animation: drift2 34s ease-in-out infinite alternate; translate: 0 calc(var(--sy, 0) * -.12px); }
.theme-glass .mesh i:nth-child(3) { background: #8fe3f5; left: 16vw; bottom: -24vh; animation: drift3 31s ease-in-out infinite alternate; translate: 0 calc(var(--sy, 0) * -.03px); }
.theme-glass .mesh i:nth-child(4) { background: #f5b8e6; right: 14vw; bottom: -16vh; width: min(30vw, 420px); opacity: .35; animation: drift1 38s ease-in-out infinite alternate-reverse; translate: 0 calc(var(--sy, 0) * -.09px); }
.theme-glass .mesh .m-light { left: 0; top: 0; width: 560px; margin: -280px 0 0 -280px; opacity: 0; filter: none; animation: none; translate: none;
  background: radial-gradient(closest-side, rgba(150, 205, 255, .7), rgba(150, 205, 255, .25) 50%, transparent); transition: opacity 1s; }
.theme-glass .mesh .m-light.on { opacity: .8; }
@media (prefers-color-scheme: dark) {
  .theme-glass .mesh i { opacity: .45; }
  .theme-glass .mesh i:nth-child(1) { background: #0a5cd6; }
  .theme-glass .mesh i:nth-child(2) { background: #4b3fd1; }
  .theme-glass .mesh i:nth-child(3) { background: #0b7fa8; }
  .theme-glass .mesh i:nth-child(4) { background: #8a2f8f; opacity: .25; }
  .theme-glass .mesh .m-light { background: radial-gradient(closest-side, rgba(40, 130, 255, .45), rgba(40, 130, 255, .12) 50%, transparent); }
  .theme-glass .mesh .m-light.on { opacity: 1; }
}
@keyframes drift1 { to { transform: translate(12vw, 16vh) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-14vw, 18vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(12vw, -16vh) scale(1.08); } }

/* iOS scroll-edge effect: content softly blurs out under the floating bar */
.theme-glass::before { content: ""; position: fixed; inset: 0 0 auto; height: 100px; z-index: 40; pointer-events: none;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); }

/* ---------- The material ----------
   Translucent fill + blur, a glare that follows the light (--mx/--my), an inner glow for thickness,
   and (below) a rim that lights up on the side facing the light. glass.js adds edge refraction in Chromium. */
.theme-glass :is(.card, .ai-pt, .q-grid, .step, .f-part, .game, .faq-item, .pipeline, .stats, .team, .contact-card, .eyebrow, .langs-menu,
  .top-glass, .btn-ghost, .burger, .nav-lens, .pl-lens) {
  --mx: var(--gx, 30%); --my: var(--gy, 0%);
  background-color: var(--glass);
  background-image: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 255, 255, calc(var(--glare) * .32)), transparent 70%);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 0;
  box-shadow: inset 0 1px 1px var(--glass-edge), inset 0 0 18px -6px var(--glow), inset 0 -12px 24px -20px var(--glow), var(--shadow);
  transition: --mx .45s ease-out, --my .45s ease-out, --glare .4s ease, background-color .3s, box-shadow .3s;
}
.theme-glass :is(.card, .ai-pt, .q-grid, .step, .f-part, .game, .faq-item, .pipeline, .stats, .team, .contact-card, .eyebrow, .btn-ghost) { position: relative; }
.theme-glass :is(.card, .ai-pt, .q-grid, .step, .f-part, .game, .faq-item, .pipeline, .stats, .team, .contact-card, .eyebrow, .langs-menu,
  .top-glass, .btn, .btn-ghost, .burger, .nav-lens, .pl-lens)::after {
  content: ""; position: absolute; inset: 0; height: auto; transform: none; border-radius: inherit; padding: 1.4px; pointer-events: none; z-index: 2;
  background: radial-gradient(farthest-corner at var(--mx) var(--my), var(--rim), var(--rim-low) 38%, transparent 62%, var(--rim-low) 88%, var(--rim));
  -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);
  opacity: calc(.75 + var(--glare) * .25);
}
.theme-glass :is(.card, .ai-pt, .q-grid, .step, .f-part, .game, .faq-item, .pipeline, .stats, .team, .contact-card, .btn, .btn-ghost):hover { --glare: 1; }

/* Tilt toward the pointer (glass.js sets --rx/--ry) and lift on hover */
.theme-glass :is(.card, .game, .ai-pt, .step, .f-part) { --tilt: perspective(900px) translateY(var(--lift)) rotateX(var(--ry)) rotateY(var(--rx)); transform: var(--tilt);
  transition: --mx .45s ease-out, --my .45s ease-out, --glare .4s ease, --rx .6s var(--spring), --ry .6s var(--spring), --lift .6s var(--spring), background-color .3s, box-shadow .3s; }
.theme-glass :is(.card, .game, .ai-pt, .step, .f-part):hover { --lift: -4px; }

/* Entrance: content springs up out of a blur */
.js .theme-glass .reveal { opacity: 0; transform: var(--tilt, none); translate: 0 34px; scale: .94; filter: blur(12px);
  transition: opacity .8s ease, translate 1.1s var(--spring), scale 1.1s var(--spring), filter .8s ease,
    --mx .45s ease-out, --my .45s ease-out, --glare .4s ease, --rx .6s var(--spring), --ry .6s var(--spring), --lift .6s var(--spring), background-color .3s, box-shadow .3s; }
.js .theme-glass .reveal.in { opacity: 1; transform: var(--tilt, none); translate: 0 0; scale: 1; filter: none; }
.js .theme-glass .hero-copy > * { animation: lgIn 1.1s var(--spring) both; }
.js .theme-glass .hero-copy > :nth-child(2) { animation-delay: .08s; }
.js .theme-glass .hero-copy > :nth-child(3) { animation-delay: .16s; }
.js .theme-glass .hero-copy > :nth-child(4) { animation-delay: .24s; }
.js .theme-glass .pipeline { animation: lgIn 1.2s var(--spring) .2s both, float 7s ease-in-out 1.4s infinite; }
.js .theme-glass .stats { animation: lgIn 1.2s var(--spring) .35s both; }
@keyframes lgIn { from { opacity: 0; translate: 0 30px; scale: .95; filter: blur(12px); } }
@keyframes float { 50% { translate: 0 -8px; } }

/* Typography: SF on Apple devices, tighter iOS tracking, slowly flowing gradient */
.theme-glass h1, .theme-glass h2 { letter-spacing: -.03em; font-weight: 700; }
.theme-glass .hero h1 { letter-spacing: -.04em; }
.theme-glass .grad { background-size: 250% 100%; animation: flow 9s ease-in-out infinite alternate; }
@keyframes flow { to { background-position: 100% 0; } }

/* ---------- Header: floating capsule that morphs while scrolling ---------- */
.theme-glass .top { color: var(--ink); top: 14px; background: none !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.theme-glass .top-in { position: relative; z-index: 0; height: 62px; max-width: 1180px; width: calc(100% - 32px); padding: 0 10px 0 16px; border-radius: 999px;
  transition: max-width .8s var(--spring), height .8s var(--spring), padding .8s var(--spring); }
/* The glass lives on its own layer (not on .top-in), so menus inside the bar can blur the page themselves */
.theme-glass .top-glass { display: block; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; }
.theme-glass .top.scrolled .top-glass { background-color: var(--glass-strong); }
.theme-glass .top.compact .top-in { max-width: 1060px; height: 54px; padding-left: 12px; }
.theme-glass .brand > span { display: inline-block; max-width: 160px; overflow: hidden; white-space: nowrap; transition: max-width .7s var(--spring), opacity .4s; }
.theme-glass .top.compact .brand > span { max-width: 0; opacity: 0; }
.theme-glass .logo-mark { transition: scale .7s var(--bounce), rotate .9s var(--spring); }
.theme-glass .brand:hover .logo-mark { scale: 1.12; rotate: -12deg; }

/* Nav: a liquid lens slides between items (glass.js) */
.theme-glass .nav { position: relative; }
.theme-glass .nav a { position: relative; z-index: 1; color: var(--muted); border-radius: 999px; background: none !important; transition: color .3s, scale .5s var(--bounce); }
.theme-glass .nav a:active { scale: .92; transition-duration: .12s; }
.theme-glass .nav a:hover, .theme-glass .nav a.on { color: var(--ink); }
.theme-glass .nav-lens { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 999px; opacity: 0; pointer-events: none;
  background-color: var(--glass-strong); --glare: .6;
  transition: opacity .3s, background-color .25s, box-shadow .25s, --glare .25s; }
.theme-glass .nav-lens.show { opacity: 1; }
/* Lifted while travelling: clear, brighter glass with a deeper shadow, like the iOS tab bar selection */
.theme-glass .nav-lens.lift { background-color: rgba(255, 255, 255, .14); --glare: 1.4;
  -webkit-backdrop-filter: blur(2px) saturate(220%) brightness(1.12); backdrop-filter: blur(2px) saturate(220%) brightness(1.12);
  box-shadow: inset 0 1px 1px var(--glass-edge), inset 0 0 10px -2px var(--glow), 0 10px 24px -8px rgba(20, 40, 90, .45); }

/* Language picker: a real glass sheet that pops out of the button */
.theme-glass .langs summary { color: var(--muted); border-radius: 999px; transition: color .3s, background-color .3s, scale .5s var(--bounce); }
.theme-glass .langs summary:hover, .theme-glass .langs[open] summary { color: var(--ink); background: var(--glass-strong); }
.theme-glass .langs-menu { position: absolute; border-radius: 26px; top: calc(100% + 14px); padding: 10px; transform-origin: 92% 0;
  background-color: rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(30px) saturate(200%); backdrop-filter: blur(30px) saturate(200%);
  box-shadow: inset 0 1px 1px var(--glass-edge), inset 0 0 18px -6px var(--glow), 0 30px 70px -20px rgba(20, 40, 90, .45); }
@media (prefers-color-scheme: dark) { .theme-glass .langs-menu { background-color: rgba(28, 31, 44, .66); box-shadow: inset 0 1px 1px var(--glass-edge), 0 30px 70px -20px rgba(0, 0, 0, .8); } }
.theme-glass .langs[open] .langs-menu { animation: pop .6s var(--spring) both; }
.theme-glass .langs-menu a { position: relative; z-index: 3; color: var(--ink); border-radius: 12px; transition: background-color .2s, scale .4s var(--bounce); }
.theme-glass .langs-menu a:hover { background: var(--glass-strong); }
.theme-glass .langs-menu a:active { scale: .94; }
.theme-glass .langs-menu a[aria-current] { color: #fff; background: var(--blue); }
@keyframes pop { from { opacity: 0; scale: .55; translate: 0 -12px; filter: blur(10px); } 60% { opacity: 1; filter: none; } }

.theme-glass .burger { border-radius: 999px; background-color: var(--glass-strong); }
.theme-glass .burger span { background: var(--ink); }

/* ---------- Buttons: tinted glass that swells when pressed ---------- */
.theme-glass :is(.btn, .burger, .langs summary) { transition: scale .55s var(--bounce), --glare .4s, --mx .45s ease-out, --my .45s ease-out, background-color .3s, box-shadow .3s, color .3s; }
.theme-glass :is(.btn, .burger, .langs summary):active { scale: 1.07; transition-duration: .18s; transition-timing-function: ease-out; --glare: 1.6; }
.theme-glass .btn { position: relative; transform: none; font-weight: 600; color: #fff;
  background: rgba(0, 122, 255, .9) radial-gradient(160px circle at var(--mx, 30%) var(--my, 0%), rgba(255, 255, 255, calc(.12 + var(--glare) * .3)), transparent 70%);
  -webkit-backdrop-filter: blur(12px) saturate(180%); backdrop-filter: blur(12px) saturate(180%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .55), inset 0 -2px 6px rgba(0, 30, 110, .3), inset 0 0 14px -4px rgba(255, 255, 255, .45), 0 12px 28px -10px rgba(0, 122, 255, .75);
  --rim: rgba(255, 255, 255, .9); --rim-low: rgba(255, 255, 255, .15); }
.theme-glass .btn:hover { transform: none; scale: 1.03; box-shadow: inset 0 1px 1px rgba(255, 255, 255, .6), inset 0 -2px 6px rgba(0, 30, 110, .3), inset 0 0 14px -4px rgba(255, 255, 255, .5), 0 16px 34px -10px rgba(0, 122, 255, .85); }
.theme-glass .btn .ico { transition: translate .5s var(--bounce); }
.theme-glass .btn:hover .ico { translate: 4px 0; }
.theme-glass .btn-ghost, .theme-glass .hero .btn-ghost { color: var(--blue); background-color: var(--glass); --rim: rgba(255, 255, 255, .95); }
.theme-glass .btn-ghost:hover, .theme-glass .hero .btn-ghost:hover { background-color: var(--glass-strong); }
.theme-glass .btn-light, .theme-glass .btn-light:hover { background: #fff; color: var(--blue); }
@media (prefers-color-scheme: dark) { .theme-glass .btn-ghost, .theme-glass .hero .btn-ghost { color: var(--cyan); --rim: rgba(255, 255, 255, .6); } }

/* ---------- Hero ---------- */
.theme-glass .hero { background: none; color: var(--ink); padding-top: 150px; overflow: visible; }
.theme-glass .hero-bg { display: none; }
.theme-glass .eyebrow { color: var(--ink); border-radius: 999px; }
.theme-glass .lead { color: var(--muted); }
.theme-glass .pipeline { border-radius: 34px; padding: 10px; }
.theme-glass .pl-head { color: var(--muted); }
.theme-glass .dots i:first-child { background: #ff5f57; } .theme-glass .dots i:nth-child(2) { background: #febc2e; } .theme-glass .dots i:last-child { background: #28c840; }
.theme-glass .pipeline ol { position: relative; background: var(--glass); border-radius: 26px; box-shadow: inset 0 1px 0 var(--glass-edge); }
.theme-glass .pipeline li { z-index: 1; border-radius: 20px; transition: color .4s; }
.theme-glass .pipeline li small { color: var(--muted); }
.theme-glass .pl-dot { background: var(--glass-strong); color: var(--blue); border-radius: 50%; box-shadow: inset 0 1px 0 var(--glass-edge), 0 4px 10px -4px var(--glass-shade);
  transition: background-color .4s, color .4s, scale .6s var(--bounce); }
.theme-glass .pipeline li:not(:last-child)::after { background: linear-gradient(var(--muted), transparent); opacity: .35; }
.theme-glass .pipeline li:last-child { background: rgba(52, 199, 89, .16); }
.theme-glass .pipeline li:last-child .pl-dot { background: #34c759; color: #fff; }
/* Live pipeline (glass.js): a lens walks through the steps, then the human approval lights up */
.theme-glass .pl-live li:last-child { background: none; }
.theme-glass .pl-live li:last-child .pl-dot { background: var(--glass-strong); color: var(--blue); }
.theme-glass .pl-live li.on .pl-dot { background: var(--blue); color: #fff; scale: 1.08; }
.theme-glass .pl-live li.on:last-child .pl-dot { background: #34c759; }
.theme-glass .pl-lens { position: absolute; left: 6px; right: 6px; top: 0; z-index: 0; border-radius: 20px; pointer-events: none; opacity: 0;
  background-color: var(--glass-strong); --glare: .8;
  transition: transform .75s var(--bounce), height .6s var(--spring), background-color .5s, opacity .4s; }
.theme-glass .pl-lens.show { opacity: 1; }
.theme-glass .pl-lens.done { background-color: rgba(52, 199, 89, .2); }
.theme-glass .pl-foot { color: #248a3d; transition: opacity .4s, scale .6s var(--bounce); transform-origin: left center; }
.theme-glass .pl-live .pl-foot { opacity: .35; scale: .96; }
.theme-glass .pl-live.approved .pl-foot { opacity: 1; scale: 1; }
@media (prefers-color-scheme: dark) {
  .theme-glass .pl-foot { color: #30d158; } .theme-glass .pl-dot, .theme-glass .pl-live li:last-child .pl-dot { color: var(--cyan); }
  .theme-glass .pl-live li.on .pl-dot { color: #fff; }
}
.theme-glass .stats { gap: 0; border-radius: 30px; }
.theme-glass .stat { background: none; }
.theme-glass .stat + .stat { box-shadow: inset 1px 0 0 var(--line); }
.theme-glass .stat b { font-weight: 700; font-variant-numeric: tabular-nums; }
.theme-glass .stat span { color: var(--muted); }

/* ---------- Sections ---------- */
.theme-glass :is(.sec-tint, .sec-dark) { background: none; color: var(--ink); }
.theme-glass .sec-dark::before { display: none; }
.theme-glass .sec-dark .sub, .theme-glass .ai-pt p { color: var(--muted); }
.theme-glass .svc { overflow: visible; }
.theme-glass .svc > .ico { color: var(--blue); background: var(--glass-strong); box-shadow: inset 0 1px 0 var(--glass-edge), 0 6px 14px -6px rgba(0, 122, 255, .45);
  transition: scale .6s var(--bounce), rotate .8s var(--spring); }
.theme-glass .card:hover > .ico, .theme-glass .ai-pt:hover > .ico { scale: 1.1; rotate: -6deg; }
.theme-glass .ai-pt > .ico { background: linear-gradient(135deg, #32ade6, #007aff 50%, #5856d6); transition: scale .6s var(--bounce), rotate .8s var(--spring); }
.theme-glass .q-item > .ico { color: var(--indigo); }
.theme-glass .q-grid { gap: 0; }
.theme-glass .q-item { background: none; }
.theme-glass .q-item:nth-child(n+4) { box-shadow: inset 0 1px 0 var(--line); }
.theme-glass .q-item:not(:nth-child(3n+1)) { box-shadow: inset 1px 0 0 var(--line); }
.theme-glass .q-item:nth-child(n+5):not(:nth-child(3n+1)) { box-shadow: inset 1px 0 0 var(--line), inset 0 1px 0 var(--line); }
.theme-glass .who-both { background: rgba(0, 122, 255, .12); color: #0062cc; }
.theme-glass .who-ai { background: rgba(88, 86, 214, .13); color: #4b49c2; }
.theme-glass .who-human { background: rgba(52, 199, 89, .15); color: #248a3d; }
@media (prefers-color-scheme: dark) {
  .theme-glass .who-both { color: #64b5ff; } .theme-glass .who-ai { color: #a5a3ff; } .theme-glass .who-human { color: #30d158; }
  .theme-glass .svc > .ico { color: var(--cyan); } .theme-glass .q-item > .ico { color: #a5a3ff; }
}
.theme-glass .f-part .ico { color: var(--blue); }

/* Former dark panels become smoked glass */
.theme-glass :is(.team, .f-result, .contact-card) { background-color: var(--glass-tint); color: #f5f7fb; --rim: rgba(255, 255, 255, .6); --rim-low: rgba(255, 255, 255, .06); --glow: rgba(255, 255, 255, .1); }
.theme-glass .team::before { background: radial-gradient(closest-side, rgba(10, 132, 255, .35), transparent); }
.theme-glass .f-result::before { background: radial-gradient(400px 200px at 100% 0%, rgba(94, 92, 230, .45), transparent 70%), radial-gradient(300px 200px at 0% 100%, rgba(50, 173, 230, .35), transparent 70%); }
.theme-glass .f-result .ico { color: var(--cyan); }
.theme-glass .team p:not(.kicker), .theme-glass .f-result span, .theme-glass .contact-card .sub, .theme-glass .contact-dl dt { color: rgba(245, 247, 251, .75); }
.theme-glass .team-mark .ico:last-child { background: #34c759; color: #fff; }
.theme-glass .tags li { background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); transition: background-color .3s, scale .5s var(--bounce);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.theme-glass .tags li:hover { background: rgba(255, 255, 255, .2); scale: 1.06; }
.theme-glass .contact-glow { background: radial-gradient(500px 300px at 15% 0%, rgba(50, 173, 230, .4), transparent 70%), radial-gradient(500px 320px at 85% 100%, rgba(94, 92, 230, .45), transparent 70%), radial-gradient(400px 260px at 50% 50%, rgba(10, 132, 255, .2), transparent 70%);
  animation: breathe 10s ease-in-out infinite alternate; }
@keyframes breathe { to { opacity: .6; scale: 1.08; } }
.theme-glass .contact-card { border-radius: 40px; }

.theme-glass .game { border-radius: 24px; }
.theme-glass .game img { transition: scale .6s var(--bounce), rotate .8s var(--spring); }
.theme-glass .game:hover { background-color: var(--glass-strong); }
.theme-glass .game:hover img { scale: 1.08; rotate: -4deg; }
.theme-glass .game:hover .play { color: var(--blue); }

/* FAQ opens with a spring instead of a jump (Chromium 131+, elsewhere it just opens) */
.theme-glass .faq-item { border-radius: 24px; }
.theme-glass .faq-item summary, .theme-glass .faq-item p { position: relative; z-index: 1; }
.theme-glass .faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .6s var(--spring), content-visibility .6s allow-discrete; }
.theme-glass .faq-item[open]::details-content { block-size: auto; }
.theme-glass .plus { background: var(--glass-strong); box-shadow: inset 0 1px 0 var(--glass-edge); transition: rotate .6s var(--bounce); }
.theme-glass .faq-item[open] .plus { rotate: 180deg; }
.theme-glass .plus::before, .theme-glass .plus::after { background: var(--blue); }

/* Section labels as small glass chips */
.theme-glass .kicker { color: var(--ink); padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 1px var(--glass-edge), inset 0 0 0 .5px rgba(255, 255, 255, .4), inset 0 0 12px -4px var(--glow); }
.theme-glass :is(.team, .contact-card) .kicker { color: #f5f7fb; background: rgba(255, 255, 255, .1); }

.theme-glass .foot { border-top: 0; }
.theme-glass .copy { border-top-color: var(--line); }
.theme-glass .foot-links a:hover { color: var(--blue); }

@media (max-width: 1080px) {
  .theme-glass .nav-lens { display: none; }
  /* Dropdown under the capsule (.top-in is the positioned parent), scrollable on short screens */
  .theme-glass .nav.open { position: absolute; top: calc(100% + 10px); left: 0; right: 0; padding: 10px; gap: 2px; border-radius: 28px;
    max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(30px) saturate(200%); backdrop-filter: blur(30px) saturate(200%);
    box-shadow: inset 0 1px 1px var(--glass-edge), 0 30px 70px -20px rgba(20, 40, 90, .45); transform-origin: 90% 0; animation: pop .6s var(--spring) both; }
  .theme-glass .nav.open a { color: var(--ink); }
  .theme-glass .nav.open a:hover { background: var(--glass-strong) !important; }
  .theme-glass .top.menu-open { background: none; }
  .theme-glass .top.compact .top-in { max-width: none; }
}
@media (max-width: 1080px) and (prefers-color-scheme: dark) { .theme-glass .nav.open { background: rgba(28, 31, 44, .7); } }
@media (max-width: 720px) {
  .theme-glass .hero { padding-top: 112px; }
  .theme-glass .stat + .stat { box-shadow: none; }
  .theme-glass .q-item { box-shadow: inset 0 1px 0 var(--line) !important; }
  .theme-glass .q-item:first-child { box-shadow: none !important; }
  .theme-glass .langs-menu { position: fixed; top: 84px; left: 16px; right: 16px; width: auto; max-height: 70vh; overflow-y: auto; transform-origin: 80% 0; }
  .theme-glass .top.compact .brand > span { max-width: 160px; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-glass *, .theme-glass *::before, .theme-glass *::after { animation: none !important; transition-duration: .01s !important; }
  .js .theme-glass .reveal { filter: none; translate: none; scale: none; }
}
