/* ============ TOKENS ============ */
:root {
  --violet: #4F3BF0;
  --violet-600: #3F2BDB;
  --violet-soft: #EEEBFF;
  --violet-glow: rgba(79, 59, 240, .35);
  --ink: #0D0E1C;
  --text: #5D6275;
  --line: #E4E4EE;
  --bg: #FFFFFF;
  --bg-soft: #F6F6FB;
  --dark: #0A0A18;
  --dark-text: rgba(255, 255, 255, .82);
  --gold: #F4C542;

  --radius-sm: 10px;
  --radius: 16px;
  --container: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .9, .3, 1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ============ BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.section { padding: 112px 0; }
.section--sm { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--flush { padding: 0; }
.section--cta { padding: 24px 0 96px; }

/* ============ TYPE ============ */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--text); margin-bottom: 22px;
}
.display {
  font-size: clamp(40px, 4.8vw, 68px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em;
  color: var(--ink); margin-bottom: 28px;
}
.h2 {
  font-size: clamp(34px, 4vw, 54px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em;
  color: var(--ink); margin-bottom: 28px;
}
.accent { color: var(--violet); }
.text { margin-bottom: 18px; }
.text:last-child { margin-bottom: 0; }
.text--strong { color: var(--ink); font-weight: 700; }

/* ============ LOGO ============ */
.logo { font-size: 30px; line-height: 1; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.logo span { color: var(--violet); }
.logo--light { color: #fff; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 0 32px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font: 600 17px/1 var(--font); white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary { background: var(--violet); color: #fff; }
.btn--primary:hover { background: var(--violet-600); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 20px; }

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(13, 14, 28, .25); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav { display: flex; gap: 44px; }
.nav__link { position: relative; padding: 8px 0; font-size: 16px; font-weight: 500; color: var(--ink); opacity: .8; transition: opacity .2s; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px;
  background: var(--violet); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link.is-active { opacity: 1; font-weight: 700; }
.nav__link.is-active::after { transform: scaleX(1); }

.burger { display: none; width: 44px; height: 44px; padding: 11px; border: 0; background: none; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 640px; padding: 96px 0; }
.hero--light { background: var(--bg-soft); margin-top: var(--header-h); min-height: calc(92vh - var(--header-h)); max-height: 820px; }
.hero--dark { background: var(--dark); color: var(--dark-text); }
.hero--dark .eyebrow { color: rgba(255, 255, 255, .8); }
.hero--dark .display { color: #fff; }
.hero--dark .accent { color: #6E5BFF; }

.hero__inner { position: relative; }
.hero__content { max-width: 540px; }
.hero__text { font-size: 20px; line-height: 1.6; max-width: 560px; margin-bottom: 40px; }
.hero__text--sm { font-size: 17px; margin-bottom: 0; }
.hero--dark .hero__text + .hero__text--sm { margin-top: -20px; }
.hero--dark .display .wordmark { display: block; }

.wordmark { font-style: italic; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.wordmark i { color: var(--gold); }

/* ============ FEATURES ============ */
.cols { display: grid; }
.cols--3 { grid-template-columns: repeat(3, 1fr); }
.cols > * { padding: 0 44px; border-left: 1px solid var(--line); }
.cols > *:first-child { padding-left: 0; border-left: 0; }
.cols > *:last-child { padding-right: 0; }

.tile {
  width: 72px; height: 72px; border-radius: 14px; background: var(--violet-soft);
  display: grid; place-items: center; flex-shrink: 0; margin-bottom: 24px;
  transition: background .3s var(--ease);
}
.tile svg { width: 34px; height: 34px; fill: var(--violet); transition: fill .3s var(--ease); }
.feature:hover .tile { background: var(--violet); }
.feature:hover .tile svg { fill: #fff; }

.feature__title { font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; color: var(--ink); margin-bottom: 8px; }
.feature__lead { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.feature__text { font-size: 17px; line-height: 1.55; }
.feature--row { display: flex; gap: 28px; align-items: flex-start; }
.feature--row .tile { margin: 0; }

/* ============ SPLIT ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.split--center { align-items: center; }
.split--divided { gap: 0; }
.split--divided > :first-child { padding-right: 80px; border-right: 1px solid var(--line); }
.split--divided > :last-child { padding-left: 64px; }
.split--ops { grid-template-columns: .85fr 1.5fr; gap: 48px; align-items: start; }

.list { display: grid; gap: 40px; }
.list .tile { width: 64px; height: 64px; }
.list .tile svg { width: 30px; height: 30px; }
.list .feature__title { font-size: 21px; }

.cols--compact > * { padding: 0 22px; }
.cols--compact > *:first-child { padding-left: 22px; border-left: 1px solid var(--line); }
.cols--compact .tile { width: 60px; height: 60px; margin-bottom: 28px; }
.cols--compact .tile svg { width: 28px; height: 28px; }
.cols--compact .feature__title { font-size: 19px; }
.cols--compact .feature__text { font-size: 16px; }


/* ============ HERO BACKGROUNDS (photo slots with gradient fallback) ============ */
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center right; background-repeat: no-repeat; }
.hero__bg--stadium {
  background-image: url("assets/bg-stadium.jpg"),
    radial-gradient(ellipse at 78% 35%, rgba(79, 59, 240, .16) 0%, transparent 55%),
    linear-gradient(115deg, var(--bg-soft) 35%, #E6E2FF 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 28%, #000 62%);
  mask-image: linear-gradient(to right, transparent 28%, #000 62%);
}
.hero__bg--chips {
  background-image: url("assets/bg-chips.jpg"),
    radial-gradient(circle at 68% 45%, rgba(79, 59, 240, .5) 0%, transparent 50%),
    radial-gradient(circle at 96% 92%, rgba(110, 91, 255, .35) 0%, transparent 38%);
  -webkit-mask-image: linear-gradient(to right, transparent 25%, #000 60%);
  mask-image: linear-gradient(to right, transparent 25%, #000 60%);
}

/* ============ DEVICES (laptop + phone) ============ */
.hero--devices { min-height: 720px; }
.hero--light.hero--devices { max-height: none; }
.devices {
  position: absolute; top: 50%; transform: translateY(-50%);
  left: calc(max(0px, (100vw - var(--container)) / 2) + 640px);
  right: max(12px, calc((100vw - var(--container)) / 2 - 60px));
  max-width: 780px; margin-left: auto; aspect-ratio: 780 / 500; perspective: 2400px;
}
.devices__laptop { position: absolute; left: 0; top: 6%; width: 86%; transform: rotateY(-13deg) rotateX(3deg); transform-origin: 75% 50%; }
.devices .devices__phone { width: 24%; right: 0; bottom: -4%; z-index: 2; padding: 5px; border-radius: 26px; }
.devices .devices__phone img { border-radius: 21px; }

.laptop { filter: drop-shadow(0 50px 50px rgba(8, 8, 20, .45)); }
.laptop__lid { padding: 1.6% 1.6% 2.2%; border-radius: 18px 18px 6px 6px; background: #0B0B11; box-shadow: inset 0 0 0 1px #2A2A35; }
.laptop__screen { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: #030B0B; container-type: inline-size; }
.laptop__base {
  position: relative; height: 14px; margin: 0 -7%;
  background: linear-gradient(#D9DAE0, #9A9CA6 60%, #6E707A); border-radius: 2px 2px 16px 16px;
}
.laptop__base::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 16%; height: 5px; background: #A9ABB4; border-radius: 0 0 8px 8px; }

/* BetRivals desktop UI (1em ≈ 12px at 1100px wide) */
.bru {
  height: 100%; display: flex; flex-direction: column; font-size: 1.09cqw; line-height: 1.25;
  font-family: "Inter", system-ui, sans-serif; color: #fff; background: #030B0B; font-variant-numeric: tabular-nums;
}
.bru label, .bru small { display: block; font-weight: 500; text-transform: uppercase; }
.bru__top { display: flex; align-items: center; justify-content: space-between; padding: 1.3em 2em; }
.bru__logo { font-size: 1.9em; font-weight: 900; font-style: italic; letter-spacing: -.02em; }
.bru__logo i { color: #ECA100; }
.bru__actions { display: flex; align-items: center; gap: 1.4em; }
.bru__logout { width: 1.5em; height: 1.5em; fill: none; stroke: #707DB2; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bru__balance { background: #ECA100; color: #00151B; font-weight: 700; font-size: 1.1em; padding: .6em 1.3em; border-radius: 3em; }
.bru__body { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.55fr 1fr; gap: 1.6em; padding: 0 2em 2em; }

.bru__sports { display: flex; gap: .6em; }
.bru__sports span { display: flex; flex-direction: column; align-items: center; gap: .3em; padding: .6em 1.1em; font-size: 1.05em; color: #6D768A; }
.bru__sports em { font-style: normal; font-size: 1.3em; }
.bru__sports .is-on { background: #505878; color: #fff; font-weight: 600; }
.bru__chips { display: flex; align-items: center; gap: 1.8em; margin: 1.1em 0; font-size: 1.05em; color: #707DB2; }
.bru__chips b { color: #ECA100; font-weight: 500; }
.bru__chips i { width: 1px; height: 1.3em; background: #2A2F43; margin: 0 -.8em; }
.bru__filters { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35em; }
.bru__filters span {
  display: flex; align-items: center; justify-content: center; gap: .4em; height: 2.7em;
  background: #151721; border: .5px solid #1E2534; color: #707DB2;
}
.bru__chev { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.5; }
.bru__thead { display: grid; grid-template-columns: 1.6fr .8fr 1fr; margin: 1.1em 0 .2em; font-size: .78em; color: #6C748C; text-transform: uppercase; }
.bru__day { font-size: .75em; text-transform: uppercase; color: #4D566A; margin: .8em 0 .5em; }
.bru__card { display: flex; align-items: stretch; background: #12141C; }
.bru__ball { display: grid; place-items: center; width: 3.4em; font-size: 1.5em; }
.bru__info { position: relative; flex: 1; padding: .9em .6em; min-width: 0; }
.bru__bar { position: absolute; top: 1.3em; right: 1.2em; width: 22%; height: .35em; background: #000; }
.bru__bar i { display: block; height: 100%; background: #ECA100; }
.bru__info strong { display: block; font-size: 1.15em; font-weight: 700; }
.bru__info small { font-size: .78em; color: #C8CFDD; margin-top: .15em; }
.bru__meta { display: grid; grid-template-columns: 1fr 1fr 1.1fr; margin-top: .6em; font-size: .95em; }
.bru__meta label { font-size: .75em; color: #6C748C; margin-bottom: .25em; }
.bru__meta em { font-style: normal; color: #505878; }
.bru__meta b { color: #ECA100; font-weight: 600; }
.bru__cta { width: 6.6em; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2em; background: #505878; font-weight: 700; }
.bru__cta small { font-size: .95em; font-weight: 600; text-transform: none; }
.bru__cta--muted { background: #151721; color: #505878; }

.bru__room { display: flex; flex-direction: column; background: #0F111B; }
.bru__banner { display: grid; grid-template-columns: 1fr auto; background: #505878; }
.bru__banner > span:first-child { padding: 1em 1.2em; font-weight: 700; font-size: 1.05em; text-transform: uppercase; letter-spacing: .02em; }
.bru__fin { display: flex; align-items: center; padding: 0 1.2em; background: #1F5130; color: #29C577; font-size: .8em; font-weight: 600; text-transform: uppercase; }
.bru__prize { text-align: center; padding: 1.1em; }
.bru__top1 { display: inline-flex; align-items: center; gap: .3em; color: #ECA100; font-weight: 700; text-transform: uppercase; }
.bru__crown { width: 1em; height: 1em; fill: #ECA100; }
.bru__prize label { font-size: .72em; color: #6C748C; margin: .3em 0 .1em; }
.bru__prize strong { display: block; color: #ECA100; font-size: 2.1em; font-weight: 700; }
.bru__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #1E2534; border-block: 1px solid #1E2534; }
.bru__stats div { background: #12141C; padding: .8em; text-align: center; }
.bru__stats label { font-size: .75em; color: #505878; margin-bottom: .2em; }
.bru__stats b { font-size: 1.25em; }
.bru__tabs { display: grid; grid-template-columns: 1fr 1fr; margin: .9em .9em .6em; text-align: center; color: #7D8897; }
.bru__tabs span { padding-bottom: .45em; border-bottom: 1px solid transparent; }
.bru__tabs .is-on { color: #ECA100; border-bottom-color: #ECA100; }
.bru__rows { display: grid; gap: .35em; padding: 0 .9em; }
.bru__row { display: grid; grid-template-columns: 2.6em 1fr 1fr 1.2fr; align-items: center; padding: .65em .7em; background: #10121C; }
.bru__pos { display: inline-flex; align-items: center; gap: .2em; color: #8F9BCB; }
.bru__pos.is-paid { color: #ECA100; }
.bru__row b { color: #ECA100; font-weight: 500; }
.bru__row em { color: #29C577; font-style: normal; text-align: right; }

/* ============ GLASS TILES (CSS, no photos) ============ */
.tiles__grid {
  position: relative; display: grid; grid-template-columns: repeat(3, 116px); gap: 22px;
  transform: rotateX(56deg) rotateZ(-42deg); transform-style: preserve-3d;
}
.t {
  position: relative; height: 116px; border-radius: 26px; display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 10px 14px 0 -4px rgba(26, 20, 70, .9), 0 30px 50px -20px rgba(0, 0, 0, .8);
}
.t svg { width: 44%; height: 44%; fill: rgba(255, 255, 255, .28); }
.t.is-lit {
  background: linear-gradient(145deg, #8B7CFF, #4F3BF0);
  border-color: rgba(255, 255, 255, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 10px 14px 0 -4px #2A1C9E, 0 0 80px rgba(110, 91, 255, .9);
  animation: lift 5s ease-in-out infinite;
}
.t.is-lit svg { fill: #fff; }
@keyframes lift { 50% { transform: translateZ(18px) translate(-6px, -6px); } }

.scene {
  position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1.08 / 1;
  background: radial-gradient(ellipse at 55% 50%, #221A5E 0%, var(--dark) 70%);
  display: grid; place-items: center;
}
.scene::before {
  content: ""; position: absolute; width: 50%; height: 50%; border-radius: 50%;
  background: rgba(110, 91, 255, .45); filter: blur(80px);
}
.tiles__grid--story { grid-template-columns: repeat(3, 96px); gap: 18px; }
.tiles__grid--story .t { height: 96px; border-radius: 22px; }

/* ============ APPROACH UI STACK (real app UI) ============ */
.ui-stack {
  position: relative; border-radius: var(--radius); padding: 48px 40px 64px;
  background: radial-gradient(ellipse at 70% 30%, #221A5E 0%, var(--dark) 65%);
  display: grid; gap: 16px; overflow: hidden;
}
.ui-stack img { position: relative; width: 100%; border-radius: 10px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8); }
.ui-stack__card { width: 88% !important; }
.ui-stack__card--a { justify-self: end; }
.ui-stack__card--b { justify-self: start; margin-top: -4px; }

/* ============ CTA ============ */
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 44px 56px; border-radius: var(--radius); background: var(--violet-soft);
}
.cta .eyebrow { margin-bottom: 14px; }
.cta__title { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; color: var(--ink); margin-bottom: 10px; }
.cta__text { font-size: 17px; }
.cta .btn { min-width: 200px; }

/* ============ BANNER ============ */
.banner {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--dark);
  min-height: 340px; display: flex; align-items: center; padding: 48px 56px;
}
.banner::before {
  content: ""; position: absolute; width: 480px; height: 480px; right: 10%; top: -40%;
  border-radius: 50%; background: var(--violet-glow); filter: blur(110px);
}

/* ============ PHONES (real app screens) ============ */
.phone {
  margin: 0; position: absolute; width: 240px; aspect-ratio: 870 / 1668;
  padding: 7px; border-radius: 36px; background: #15151F;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 29px; }

.phones { position: absolute; top: 50%; right: max(40px, calc((100vw - var(--container)) / 2 + 40px)); transform: translateY(-50%); width: 560px; height: 540px; }
.phones::before {
  content: ""; position: absolute; inset: 15% 10%; border-radius: 50%;
  background: var(--violet-glow); filter: blur(100px);
}
.phone--center { width: 270px; left: 50%; top: 0; transform: translateX(-50%); z-index: 2; }
.phone--left { left: 0; top: 64px; transform: rotate(-7deg); }
.phone--right { right: 0; top: 64px; transform: rotate(7deg); }
.phone--left, .phone--right { opacity: .9; }
.hero--phones { min-height: 700px; }

.banner__phones { position: absolute; top: 40px; bottom: 0; right: 56px; display: flex; gap: 24px; }
.banner__phones .phone { position: relative; width: 220px; flex-shrink: 0; }
.banner__phones .phone + .phone { margin-top: 56px; }
.banner__text {
  position: relative; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.25; font-weight: 800; letter-spacing: -.02em; color: #fff;
}
.banner__text::after { content: ""; display: block; width: 48px; height: 3px; border-radius: 3px; background: var(--gold); margin-top: 28px; }

/* ============ FOOTER ============ */
.footer { background: var(--dark); color: rgba(255, 255, 255, .6); padding: 40px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer .logo { font-size: 24px; }
.footer__email { color: #fff; font-weight: 600; transition: color .2s; }
.footer__email:hover { color: #8F80FF; }

/* ============ BACK TO TOP ============ */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; background: var(--violet); color: #fff; font-weight: 700; font-size: 18px;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, visibility .3s, transform .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .cols > * { padding: 0 28px; }
  .split--ops { grid-template-columns: 1fr; }
  .cols--compact > *:first-child { padding-left: 0; border-left: 0; }
  .feature--row { flex-direction: column; gap: 20px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }
  .section--sm { padding: 56px 0; }
  .section--cta { padding: 16px 0 72px; }

  .burger { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h));
    flex-direction: column; gap: 0; padding: 16px 24px; background: #fff;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__link { padding: 18px 0; font-size: 22px; font-weight: 700; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--violet); }
  .header.menu-open { backdrop-filter: none; background: #fff; }

  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding: 56px 0 0; }
  .hero--light { min-height: 0; max-height: none; }
  .hero__content { max-width: none; }
  .devices { position: relative; top: auto; right: auto; transform: none; order: 2; width: 100%; max-width: 640px; margin: 48px auto 0; }
  .hero--devices { min-height: 0; padding-bottom: 56px; }
  .hero__bg { -webkit-mask-image: linear-gradient(to bottom, transparent 35%, #000 75%); mask-image: linear-gradient(to bottom, transparent 35%, #000 75%); }
  .tiles__grid, .tiles__grid--story { grid-template-columns: repeat(3, 96px); gap: 18px; }
  .t, .tiles__grid--story .t { height: 96px; border-radius: 22px; }

  .cols--3 { grid-template-columns: 1fr; gap: 40px; }
  .cols > *, .cols--compact > *, .cols--compact > *:first-child { padding: 0; border-left: 0; }
  .feature--row { flex-direction: row; }

  .split, .split--ops { grid-template-columns: 1fr; gap: 48px; }
  .split--divided { gap: 0; }
  .split--divided > :first-child { padding-right: 0; border-right: 0; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
  .split--divided > :last-child { padding-left: 0; padding-top: 48px; }


  .cta { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .banner { flex-direction: column; align-items: flex-start; padding: 40px 28px 0; min-height: 0; }
  .banner__phones { position: relative; top: auto; right: auto; order: 2; justify-content: center; align-self: stretch; height: 300px; overflow: hidden; margin-top: 36px; }
  .banner__phones .phone { width: 180px; }
  .banner__phones .phone + .phone { margin-top: 40px; }

  .phones { position: relative; top: auto; right: auto; transform: none; width: 100%; max-width: 480px; height: 460px; margin: 48px auto 0; order: 2; }
  .phone--center { width: 220px; }
  .phone--left, .phone--right { width: 190px; top: 56px; }
  .hero--phones { min-height: 0; padding-bottom: 0; overflow: hidden; }
  .hero--phones .phones { height: 400px; overflow: visible; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hero__text { font-size: 18px; }
  .tiles__grid, .tiles__grid--story { grid-template-columns: repeat(3, 66px); gap: 12px; }
  .t, .tiles__grid--story .t { height: 66px; border-radius: 16px; }
  .ui-stack { padding: 28px 20px 40px; }
  .actions { gap: 12px; }
  .actions .btn { flex: 1 1 100%; }
  .feature--row { gap: 18px; }
  .tile { width: 60px; height: 60px; }
  .tile svg { width: 28px; height: 28px; }
  .feature__title { font-size: 21px; }
  .cta { padding: 28px 20px; }
  .cta .btn { width: 100%; }
  .banner { padding: 32px 20px 0; }
  .banner__phones { height: 240px; }
  .banner__phones .phone { width: 150px; }
  .phones { max-width: 340px; }
  .hero--phones .phones { height: 330px; }
  .phone--center { width: 170px; }
  .phone--left, .phone--right { width: 140px; top: 44px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .to-top { right: 16px; bottom: 16px; }
}
