/* CultureOS public website. One dark stage, the world of the sales
   presentation it comes from: black lit from below, Sora display, real phone
   screens, hairline glass, one accent. Dark is the design, not a mode. */

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('/assets/fonts/sora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #000;
  --bg-2: #0b0b0e;
  --bg-3: #111115;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --faint: #8a8a90;
  --accent: #ff2d55;
  --accent-2: #ff7a45;
  --data: #64d2ff;
  --ok: #30d158;
  --alert: #ff453a;
  --amber: #ffb340;
  --glass: rgba(255, 255, 255, .055);
  --line: rgba(255, 255, 255, .11);
  --line-2: rgba(255, 255, 255, .18);
  --phone: #0c0c0e;
  --phone-edge: #2c2c30;

  --display: 'Sora', -apple-system, 'SF Pro Display', 'Segoe UI Variable Display', 'Segoe UI', system-ui, sans-serif;
  --body: -apple-system, 'SF Pro Text', 'Segoe UI Variable Text', 'Segoe UI', 'Helvetica Neue', Roboto, system-ui, sans-serif;

  --gutter: clamp(16px, 5vw, 64px);
  --max: 1280px;
  --band: clamp(5.5rem, 11vw, 10rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
b, strong { font-weight: 600; }
::selection { background: var(--accent); color: #000; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: #3a3a40 var(--bg); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #3a3a40; border-radius: 99px; border: 3px solid var(--bg); }

[hidden] { display: none !important; }
.cta-short { display: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; padding: .75rem 1.1rem; border-radius: var(--r-sm); background: var(--text); color: #000; font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: var(--band) 0 0; }

/* ------------------------------------------------------------- type ---- */
.h2 {
  font: 700 clamp(2.25rem, 4.8vw, 4.5rem)/1.02 var(--display);
  letter-spacing: -.035em;
  text-wrap: balance;
  max-width: 18ch;
}
.h2--big { font-size: clamp(2.6rem, 6vw, 5.75rem); }
.h3 { font: 700 clamp(1.6rem, 2.8vw, 2.5rem)/1.08 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.lead { margin-top: 1.25rem; max-width: 46ch; color: var(--muted); font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.38; letter-spacing: -.01em; text-wrap: pretty; }

/* ---------------------------------------------------------- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: .85rem 1.5rem; border-radius: 99px;
  font: 600 1.0625rem/1 var(--body); letter-spacing: -.005em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease-out), background-color .2s, border-color .2s, box-shadow .25s var(--ease-out), opacity .2s;
}
.btn--primary { background: linear-gradient(92deg, var(--accent), var(--accent-2)); color: #000; box-shadow: 0 10px 30px -12px rgba(255, 45, 85, .55); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -14px rgba(255, 45, 85, .7); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--glass); border-color: rgba(255, 255, 255, .32); }
.btn--sm { min-height: 2.5rem; padding: .55rem 1.05rem; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn .ico { transition: transform .25s var(--ease-out); }
.btn:hover .ico { transform: translateX(3px); }

/* ----------------------------------------------------------- header ---- */
.top { position: sticky; top: 0; z-index: 40; transition: background-color .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.top.is-scrolled { background: rgba(0, 0, 0, .78); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 1.5rem; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: .85rem var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; flex: none; }
.brand__word { font: 700 1.375rem/1 var(--display); letter-spacing: -.04em; }
.brand__by { font-size: .8125rem; color: var(--muted); }
.brand__corner { height: 1.3rem; width: auto; }
.top__nav { display: flex; gap: 1.6rem; margin-left: auto; font-size: .9375rem; }
.top__nav a, .top__login { color: var(--muted); text-decoration: none; transition: color .2s; }
.top__nav a:hover, .top__login:hover { color: var(--text); }
.top__end { display: flex; align-items: center; gap: 1.1rem; }
.lang { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 99px; }
.lang a { display: block; padding: .3rem .6rem; border-radius: 99px; font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); text-decoration: none; }
.lang a[aria-current="page"] { background: var(--glass); color: var(--text); }
.top__login { font-size: .9375rem; }

/* ------------------------------------------------------------- hero ---- */
.hero {
  position: relative;
  padding-top: clamp(3rem, 8vh, 6rem);
  background:
    radial-gradient(70rem 42rem at 50% 118%, rgba(255, 45, 85, .22), transparent 70%),
    radial-gradient(40rem 26rem at 88% 100%, rgba(255, 122, 69, .12), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.hero__title { font: 700 clamp(2.75rem, 7vw, 6rem)/.98 var(--display); letter-spacing: -.04em; max-width: 19ch; text-wrap: balance; }
.hero__title span { display: block; }
.hero__lead { margin-top: 1.6rem; max-width: 44ch; color: var(--muted); font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.38; letter-spacing: -.01em; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }

/* The parade: eight real screens rising one after another. Visible by
   default; the entrance only runs when JS marks the page and motion is ok. */
.parade { margin-top: clamp(3rem, 7vh, 5rem); }
.parade__row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(.9rem, 1.6vw, 1.4rem);
  scroll-padding-inline: var(--gutter);
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 2.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.parade__row::-webkit-scrollbar { display: none; }
.parade__item { display: flex; flex-direction: column; align-items: center; gap: 1rem; scroll-snap-align: start; }
.parade__name { font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; text-align: center; line-height: 1.25; }
.parade__caption { padding-bottom: 1rem; color: var(--faint); font-size: .9375rem; }
.motion .parade__item { opacity: 0; transform: translateY(2.4rem) scale(.96); }
.motion .parade.is-on .parade__item { animation: rise .8s var(--ease-out) forwards; animation-delay: calc(.35s + var(--i) * .11s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ phones ---- */
.phone {
  position: relative; width: 100%; aspect-ratio: 390 / 844;
  border-radius: clamp(18px, 2vw, 28px); background: var(--phone);
  border: 5px solid var(--phone-edge); overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .65), inset 0 0 0 2px #000;
}
.phone img, .phone video { width: 100%; height: 100%; object-fit: cover; }
.phone--sm { border-width: 4px; }

/* ------------------------------------------------------------- desk ---- */
.desk__grid { display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.panel {
  position: relative; display: grid; grid-template-columns: 1.35fr 1.35fr 1fr 1fr; gap: .9rem;
  height: clamp(15rem, 22vw, 19rem); padding: 1.1rem; border-radius: var(--r-lg);
  background: var(--glass); border: 1px solid var(--line);
}
.panel__cell { display: flex; flex-direction: column; gap: .8rem; min-width: 0; padding: 1rem; border-radius: var(--r-md); background: rgba(0, 0, 0, .35); overflow: hidden; }
.panel__h { font: 600 .75rem/1.25 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 4px; }
.bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--data), rgba(100, 210, 255, .35)); transform-origin: bottom; }
.line { flex: 1; width: 100%; }
.line path { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 600; }
.sites { display: flex; flex-direction: column; gap: .55rem; font-size: .9375rem; }
.sites__row { display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; align-items: center; }
.sites__row i { width: .7rem; height: .7rem; border-radius: 50%; background: var(--c); box-shadow: 0 0 .7rem var(--c); }
.sites__row small { grid-column: 2; color: var(--muted); font-size: .8125rem; line-height: 1.2; }
.sites__row--ok { --c: var(--ok); } .sites__row--alert { --c: var(--alert); } .sites__row--warn { --c: var(--amber); }
.panel__num { font: 700 clamp(2.5rem, 4.4vw, 3.75rem)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; margin-top: auto; }
.panel__num small { display: block; margin-top: .5rem; font: 400 .875rem/1.3 var(--body); letter-spacing: 0; color: var(--muted); }
.tag { position: absolute; top: -.75rem; right: 1.25rem; z-index: 2; padding: .3rem .7rem; border-radius: 99px; background: var(--bg-3); border: 1px dashed rgba(255, 179, 64, .6); color: var(--amber); font-size: .75rem; font-weight: 600; letter-spacing: .04em; }
.motion .panel .bars i { transform: scaleY(0); }
.motion .panel .line path { stroke-dashoffset: 600; }
.motion .panel.is-in .bars i { animation: grow .9s var(--ease-out) forwards; animation-delay: calc(.15s + var(--i) * .05s); }
.motion .panel.is-in .line path { animation: draw 1.6s var(--ease) .3s forwards; }
@keyframes grow { to { transform: scaleY(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.screens { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.6rem clamp(1.2rem, 2.5vw, 2.5rem); }
.screens li, .games__phones li { display: flex; flex-direction: column; align-items: center; gap: .85rem; }
.screens span, .games__phones span { font-size: .9375rem; font-weight: 600; text-align: center; line-height: 1.25; }

/* ------------------------------------------------------------ games ---- */
.games__stage { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 2fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; margin-top: clamp(2.5rem, 5vw, 4rem); }
.games__desk figcaption { margin-top: 1rem; color: var(--muted); font-size: .9375rem; max-width: 46ch; }
.screen { border-radius: var(--r-md); border: 5px solid var(--phone-edge); background: var(--phone); overflow: hidden; box-shadow: 0 24px 70px rgba(0, 0, 0, .65); }
.games__phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.phone--video { background: #fff; }
.vbtn {
  position: absolute; right: .55rem; bottom: .55rem; display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0, 0, 0, .72); color: #fff; transition: background-color .2s, transform .2s var(--ease-out);
}
.vbtn:hover { background: rgba(0, 0, 0, .9); transform: scale(1.05); }
.vbtn .ico { width: 1.1rem; height: 1.1rem; fill: currentColor; }

/* ------------------------------------------------------------- data ---- */
/* Stage light behind the games and the figure: a glow that fades out before
   the section ends, so it never stops on a hard edge. */
.games, .data { position: relative; isolation: isolate; padding-bottom: clamp(3rem, 6vw, 5rem); }
.games::before, .data::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 60%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 60%, transparent);
}
.games::before { background: radial-gradient(70rem 36rem at 30% 70%, rgba(255, 122, 69, .12), transparent 70%); }
.data::before { background: radial-gradient(60rem 34rem at 80% 55%, rgba(255, 45, 85, .15), transparent 70%); }
.data__head { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: clamp(1rem, 2.5vw, 2.5rem); row-gap: .5rem; font-weight: 400; }
.data__figure { font: 700 clamp(5rem, 15vw, 12.5rem)/.9 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: var(--accent); }
.data__unit { max-width: 18ch; font: 600 clamp(1.4rem, 2.6vw, 2.25rem)/1.15 var(--display); letter-spacing: -.025em; color: var(--text); text-wrap: balance; }
.data__before { margin-top: 1.25rem; color: var(--faint); font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.data__ai { margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 48ch; font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.3; letter-spacing: -.01em; }
.recos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 1.75rem; }
.reco { padding: 1.4rem 1.5rem 1.6rem; border-radius: var(--r-md); background: #f5f5f7; color: #111; font-size: 1.0625rem; line-height: 1.38; box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .8); }
.data__close { margin-top: clamp(2.5rem, 6vw, 5rem); font: 700 clamp(2rem, 4.6vw, 4rem)/1.02 var(--display); letter-spacing: -.035em; }

/* --------------------------------------------------------- features ---- */
.features__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.fgroup { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.fgroup__name { margin-bottom: 1.1rem; font: 600 1.125rem/1.2 var(--display); letter-spacing: -.01em; color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: .55rem .5rem; }
.chips li { padding: .5rem .95rem; border-radius: 99px; border: 1px solid var(--line); background: var(--glass); font-size: .9375rem; line-height: 1.3; }

/* ------------------------------------------------------------ floor ---- */
.feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; margin-top: clamp(4rem, 8vw, 7rem); }
.feat__lead { margin-top: 1rem; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.45; max-width: 44ch; }
.status { display: inline-block; margin-left: .35em; padding: .2em .6em; border-radius: 99px; border: 1px solid currentColor; font: 600 .45em/1.2 var(--body); letter-spacing: .01em; vertical-align: .35em; white-space: nowrap; }
.status--pilot { color: var(--amber); }
.status--ok { color: var(--ok); }

.flow { counter-reset: step; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1.75rem; }
.flow li { counter-increment: step; display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--glass); }
.flow b { display: flex; gap: .5rem; align-items: baseline; font: 600 1.0625rem/1.2 var(--display); letter-spacing: -.01em; }
.flow b::before { content: counter(step); font: 600 .8125rem/1 var(--body); color: var(--accent); }
.flow span { color: var(--muted); font-size: .9375rem; line-height: 1.35; }

.ppe { position: relative; display: flex; justify-content: center; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); padding: 2rem 0; }
.ppe__tags { display: flex; flex-direction: column; gap: 1rem; }
.ppe__tag { display: grid; place-items: center; width: 4.25rem; height: 4.25rem; border-radius: 50%; background: #ececef; color: #111; box-shadow: 0 16px 40px rgba(0, 0, 0, .6); }
.ppe__tag .ico { width: 2rem; height: 2rem; stroke-width: 1.6; }
.phone--card { width: min(19rem, 70vw); aspect-ratio: 390 / 720; background: #fff; }
.sheet { position: absolute; inset: 0; display: flex; flex-direction: column; color: #111; font-size: .8125rem; line-height: 1.3; }
.sheet__head { display: flex; align-items: flex-end; justify-content: center; height: 4rem; padding-bottom: .7rem; background: #e5153e; color: #fff; font-weight: 600; font-size: .9375rem; }
.sheet__body { flex: 1; display: flex; flex-direction: column; gap: .55rem; padding: .9rem; }
.sheet__name { font: 700 1.125rem/1.15 var(--display); letter-spacing: -.02em; }
.sheet__row { display: flex; flex-direction: column; gap: .1rem; padding: .5rem .65rem; border: 1px solid #e5e5ea; border-radius: 10px; }
.sheet__row span { font-size: .6875rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #c8102e; }
.sheet__row--due { border-color: #ff8a80; background: #fff3f1; }
.sheet__video { display: flex; align-items: center; justify-content: center; gap: .5rem; height: 3.6rem; border-radius: 10px; background: #111; color: #fff; font-weight: 600; }
.sheet__video .ico { fill: currentColor; }
.sheet__btn { margin-top: auto; padding: .75rem; border-radius: 10px; background: #e5153e; color: #fff; font-weight: 600; text-align: center; }
.tag--float { top: 1rem; right: auto; left: 50%; transform: translateX(-50%); }

.signs { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1.2rem; }
.flip { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #0e0e12; border: 1px solid var(--line); }
.flip img { width: 100%; height: 100%; object-fit: cover; }
.flip--sign { aspect-ratio: 600 / 908; }
.flip--sign img { object-fit: contain; background: #0e0e12; }
.flip--photo { aspect-ratio: auto; }
.flip .flip__b { position: absolute; inset: 0; opacity: 0; }
.flip span.flip__b { inset: auto; }
.state { position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); padding: .5rem 1rem; border-radius: 99px; font-size: .875rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.state--ok { background: var(--ok); color: #000; }
.state--check { background: var(--alert); color: #fff; }
.signs.is-red .flip__b { opacity: 1; }
.signs .flip__b, .signs .state--ok { transition: opacity .9s var(--ease); }
.signs.is-red .state--ok { opacity: 0; }

.feat--signage { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.compare { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #0e0e12; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__before::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .6); }
.compare__label { position: absolute; bottom: 1rem; padding: .4rem .85rem; border-radius: 99px; font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; pointer-events: none; }
.compare__label--before { left: 1rem; background: rgba(0, 0, 0, .7); color: #fff; }
.compare__label--after { right: 1rem; background: var(--ok); color: #000; }
.compare__handle { position: absolute; top: 50%; left: var(--pos); display: grid; place-items: center; width: 3rem; height: 3rem; margin: -1.5rem 0 0 -1.5rem; border-radius: 50%; background: #fff; color: #000; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); pointer-events: none; transition: transform .2s var(--ease-out); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:has(.compare__range:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.compare:has(.compare__range:active) .compare__handle { transform: scale(1.1); }
.gallery { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.gallery li { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: #0e0e12; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.gallery li:hover img { transform: scale(1.04); }
.gallery span { position: absolute; left: .75rem; bottom: .75rem; padding: .3rem .7rem; border-radius: 99px; background: rgba(0, 0, 0, .7); font-size: .8125rem; font-weight: 600; }

/* ---------------------------------------------------------- clients ---- */
.refs { margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.ref { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); gap: 1rem 2.5rem; align-items: baseline; padding: clamp(1.5rem, 3vw, 2.4rem) 0; border-bottom: 1px solid var(--line); }
.ref__sector { font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ref__figure { font: 700 clamp(1.6rem, 3vw, 2.6rem)/1.05 var(--display); letter-spacing: -.035em; }
.ref__text { color: var(--muted); font-size: 1.0625rem; line-height: 1.5; max-width: 52ch; }

/* ------------------------------------------------------------ start ---- */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.ways li { padding-top: 1.4rem; border-top: 2px solid var(--accent); }
.ways h3 { font: 700 clamp(1.4rem, 2.2vw, 1.9rem)/1.1 var(--display); letter-spacing: -.025em; }
.ways p { margin-top: .9rem; color: var(--muted); line-height: 1.5; }
.start__close { margin-top: clamp(2.5rem, 5vw, 4rem); font: 700 clamp(1.5rem, 3vw, 2.4rem)/1.15 var(--display); letter-spacing: -.03em; max-width: 30ch; text-wrap: balance; }

/* ---------------------------------------------------------- contact ---- */
.contact { padding-bottom: var(--band); background: radial-gradient(60rem 36rem at 15% 100%, rgba(255, 45, 85, .14), transparent 70%); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact__intro { position: sticky; top: 7rem; }
.contact__direct { margin-top: 2rem; color: var(--muted); }
.contact__direct a { color: var(--text); }
.contact__box { padding: clamp(1.4rem, 3vw, 2.5rem); border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9); }
.form { display: flex; flex-direction: column; gap: 1.35rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem 1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.field__label { font-size: .9375rem; font-weight: 600; }
.field__opt { color: var(--faint); font-weight: 400; }
.input {
  width: 100%; min-height: 3.1rem; padding: .75rem .9rem; border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, .16); background: var(--bg-3); color: var(--text);
  font: inherit; font-size: 1rem; caret-color: var(--accent);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.input::placeholder { color: #7d7d84; }
.input:hover { border-color: rgba(255, 255, 255, .28); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 45, 85, .28); }
.input[aria-invalid="true"] { border-color: var(--alert); }
.input--area { min-height: 7.5rem; resize: vertical; line-height: 1.45; }
select.input { appearance: none; padding-right: 2.6rem; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 1.25rem) 52%, calc(100% - .9rem) 52%; background-size: .35rem .35rem; background-repeat: no-repeat; }
select.input option { background: var(--bg-3); color: var(--text); }
.field__err { min-height: 0; color: #ff6961; font-size: .875rem; line-height: 1.3; }
.field__err:empty { display: none; }

.seg legend { margin-bottom: .6rem; padding: 0; }
.seg__track { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; padding: .3rem; border-radius: 99px; border: 1px solid var(--line); background: var(--bg-3); }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__opt span { display: flex; align-items: center; justify-content: center; min-height: 2.75rem; border-radius: 99px; font-weight: 600; color: var(--muted); transition: background-color .25s, color .25s; }
.seg__opt input:checked + span { background: var(--text); color: #000; }
.seg__opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.checks { display: flex; flex-direction: column; gap: .6rem; }
.checks legend { margin-bottom: .6rem; }
.check { display: flex; align-items: flex-start; gap: .75rem; cursor: pointer; line-height: 1.4; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { display: grid; place-items: center; width: 1.4rem; height: 1.4rem; margin-top: .05rem; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, .35); background: var(--bg-3); color: #000; flex: none; transition: background-color .2s, border-color .2s; }
.check__box .ico { width: 1rem; height: 1rem; stroke-width: 3; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--ease-out); }
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .check__box .ico { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 3px solid var(--accent); outline-offset: 3px; }
.check input[aria-invalid="true"] + .check__box { border-color: var(--alert); }
.check--consent { font-size: .9375rem; }

.privacy { padding: 1rem 1.1rem; border-radius: var(--r-sm); background: rgba(255, 255, 255, .035); color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.privacy strong { color: var(--text); }
.privacy a { color: var(--text); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__alert { padding: .9rem 1rem; border-radius: var(--r-sm); border: 1px solid rgba(255, 69, 58, .5); background: rgba(255, 69, 58, .1); color: #ffb4ae; font-size: .9375rem; line-height: 1.4; }

.done { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1rem 0; }
.done:focus { outline: none; }
.done__mark { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--ok); color: #000; }
.done__mark .ico { width: 1.8rem; height: 1.8rem; stroke-width: 2.6; }
.done p { color: var(--muted); max-width: 46ch; }
.done .btn { margin-top: .5rem; }

/* ----------------------------------------------------------- footer ---- */
.foot { border-top: 1px solid var(--line); padding: 3rem 0 3.5rem; color: var(--muted); font-size: .875rem; }
.foot__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 3fr); gap: 2rem; align-items: start; }
.foot__brand img { height: 2rem; width: auto; }
.foot__brand p { margin-top: 1rem; max-width: 34ch; }
.foot__legal { display: flex; flex-direction: column; gap: .35rem; font-style: normal; }
.foot__links { display: flex; flex-direction: column; gap: .35rem; }
.foot a { color: var(--text); }

/* ------------------------------------------------------- responsive ---- */
@media (max-width: 1080px) {
  .top__nav { display: none; }
  .top__end { margin-left: auto; }
  .games__stage, .feat, .feat--signage, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .panel { grid-template-columns: 1fr 1fr; height: auto; max-width: 40rem; }
  .panel__cell { min-height: 11rem; }
  .screens { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact__intro { position: static; }
  .games__phones { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .top__in { gap: .75rem; padding-top: .7rem; padding-bottom: .7rem; }
  .brand__by, .top__login { display: none; }
  .brand__corner { height: 1.05rem; }
  .brand__word { font-size: 1.2rem; }
  .top__end { gap: .6rem; }
  .lang a { padding: .3rem .5rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .parade__row { grid-auto-columns: 42vw; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  /* Long rows of screens become a swipeable strip that bleeds to the edges. */
  .screens { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42vw; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) .5rem; scrollbar-width: none; }
  .screens li { scroll-snap-align: start; }
  .games__phones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recos, .ways { grid-template-columns: minmax(0, 1fr); }
  .features__groups { grid-template-columns: minmax(0, 1fr); }
  .signs { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: .75rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ref { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .ref__figure { order: -1; }
  .ref__sector { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .9375rem; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .foot__in { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .chips li { padding: .4rem .7rem; font-size: .8125rem; }
  .ppe__tag { width: 3.25rem; height: 3.25rem; }
  .ppe__tag .ico { width: 1.5rem; height: 1.5rem; }
}
@media (max-width: 400px) {
  .top .btn--sm { padding: .5rem .8rem; font-size: .875rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
}
