:root {
  /* Брендовые цвета Rebirth — как в rebirth-vpn-web и iOS-приложении */
  --bg: #06090e;
  --bg-2: #0a0e15;
  --surface: #0e131c;
  --raised: #151c2a;
  --navy: #0b1424;
  --navy-raised: #0e182a;
  --accent: #3ecfd3;
  --accent-hover: #62dadd;
  --accent-2: #a9c4da;
  --accent-soft: rgba(62, 207, 211, 0.12);
  --accent-border: rgba(62, 207, 211, 0.45);
  --accent-deep: #2aa6aa;
  --accent-glow: rgba(62, 207, 211, 0.18);
  --green: #3ecfd3;
  --text: #eef3fa;
  --muted: #8a9bb5;
  --label: #6f819c;
  --card: rgba(255, 255, 255, 0.035);
  --card-border: rgba(255, 255, 255, 0.08);
  --hairline: rgba(255, 255, 255, 0.07);
  --max: 1180px;
  --display: "Manrope", system-ui, sans-serif;
  --ui: "Golos Text", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { overflow-x: clip; }

/* Плёночное зерно поверх всего — убирает «пластиковость» градиентов */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Общая 3D-сцена: закреплена позади всего контента */
#scene {
  position: fixed; top: 0; left: 0; z-index: 0; display: block; pointer-events: none;
  width: 100%; height: 100vh; height: 100lvh;
}
main, .site-footer { position: relative; z-index: 1; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: rgba(62, 207, 211, 0.35); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; margin: 0; }

.grad {
  background: linear-gradient(100deg, #ffffff 0%, var(--text) 25%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Header */
.site-header {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 50;
  transition: transform 0.4s var(--ease);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 60px; padding: 0 10px 0 18px; border-radius: 999px;
  background: rgba(6, 9, 14, 0.72);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 800 17px/1 var(--display); letter-spacing: -0.3px; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand span { color: var(--text); }
.nav { display: flex; gap: 4px; font-size: 14px; }
.nav a { color: var(--muted); padding: 8px 14px; border-radius: 999px; transition: color 0.2s, background 0.2s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); text-decoration: none; }
.nav a.cta { color: var(--bg); background: var(--accent); font-weight: 600; }
.nav a.cta:hover { background: var(--accent-hover); }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px;
  border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-deep)); color: var(--navy);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 8px 30px var(--accent-glow);
}
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset, 0 12px 44px rgba(62, 207, 211, 0.4); }
.btn-secondary { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--card-border); color: var(--text); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.09); }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 600px at 72% 45%, rgba(62, 207, 211, 0.06), transparent 60%),
    radial-gradient(700px 500px at 15% 10%, rgba(17, 28, 48, 0.6), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 24px; width: 100%; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  color: var(--text); font-size: 13px; font-weight: 500; margin-bottom: 28px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; font-weight: 800; }
.hero p.lead { max-width: 520px; margin: 26px 0 0; color: var(--muted); font-size: 19px; line-height: 1.55; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 38px; }
.hero-meta { display: flex; gap: 28px; margin-top: 52px; color: var(--label); font-size: 13px; flex-wrap: wrap; }
.hero-meta b { display: block; color: var(--text); font: 800 22px/1.2 var(--display); letter-spacing: -0.02em; }

.globe-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 680px; justify-self: end; }
/* Без WebGL — статичное свечение на месте глобуса */
.no-webgl .globe-wrap::before {
  content: ""; position: absolute; inset: 9%; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(62, 207, 211, 0.18), rgba(62, 207, 211, 0.03) 60%, transparent 70%);
  box-shadow: 0 0 120px var(--accent-glow);
}
.globe-tag {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 16px; font-size: 13px; white-space: nowrap;
  background: rgba(10, 19, 35, 0.7); border: 1px solid var(--card-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  animation: float 6s ease-in-out infinite;
}
.globe-tag small { display: block; color: var(--label); font-size: 11px; }
.globe-tag .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.globe-tag .ic svg { width: 16px; height: 16px; }
.tag-1 { top: 14%; left: -2%; }
.tag-2 { bottom: 16%; right: 0; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 38px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.scroll-hint::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 2px; background: var(--accent); animation: wheel 1.8s infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Marquee */
.marquee { position: relative; border-block: 1px solid var(--hairline); padding: 22px 0; overflow: hidden; background: rgba(10, 19, 35, 0.35);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font: 700 18px/1 var(--display); color: rgba(238, 243, 250, 0.38); letter-spacing: -0.01em; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: "✦"; color: var(--accent); opacity: 0.5; font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
section { position: relative; padding: 120px 0; }
.kicker { display: inline-block; color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.05; font-weight: 800; }
.section-head p { color: var(--muted); margin: 18px 0 0; font-size: 18px; }

/* Bento */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr); }
.card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(12, 18, 29, 0.96), rgba(8, 12, 19, 0.96));
  border: 1px solid var(--card-border); border-radius: 26px; padding: 32px;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(62, 207, 211, 0.14), transparent 60%);
}
.card:hover { border-color: var(--accent-border); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.b-wide { grid-column: span 4; }
.b-narrow { grid-column: span 2; }
.b-third { grid-column: span 2; }
.icon {
  width: 46px; height: 46px; border-radius: 14px; margin-bottom: 26px;
  display: grid; place-items: center; color: var(--accent);
  background: linear-gradient(180deg, rgba(62, 207, 211, 0.2), rgba(62, 207, 211, 0.05));
  border: 1px solid var(--accent-border);
  box-shadow: 0 0 30px var(--accent-glow);
}
.icon svg { width: 22px; height: 22px; }

.big-num { font: 800 clamp(64px, 9vw, 112px)/0.9 var(--display); letter-spacing: -0.05em; margin-bottom: 18px; }

/* Протоколы — сетка «таблеток» в широкой карточке */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pill { padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text); background: rgba(169, 196, 218, 0.08); border: 1px solid rgba(169, 196, 218, 0.2); }

/* Мини-визуал туннеля */
.tunnel { position: relative; height: 120px; margin-top: 30px; }
.tunnel svg { width: 100%; height: 100%; overflow: visible; }

/* Product */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.product-copy ul { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 18px; }
.product-copy li { display: flex; gap: 14px; align-items: flex-start; color: var(--text); font-size: 16px; }
.product-copy li svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }
.platforms { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 34px; }
.chip { font-size: 13px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--card-border); color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.chip.live { border-color: var(--accent-border); color: var(--accent); background: var(--accent-soft); }
.chip.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.stage { position: relative; display: grid; place-items: center; perspective: 1400px; min-height: 680px; }
.stage::before {
  content: ""; position: absolute; width: min(520px, 100%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 207, 211, 0.09), transparent 65%); filter: blur(30px);
}
/* 3D-телефон: лицевая панель, стопка слоёв-рамки (толщина), задняя крышка, кнопки */
.phone {
  --r: 52px; --t: 20px;
  position: relative; z-index: 1; width: 300px; height: 620px;
  transform-style: preserve-3d; transform: rotateY(-16deg) rotateX(6deg); will-change: transform;
}
.phone-front, .phone-layer, .phone-back { position: absolute; inset: 0; border-radius: var(--r); }
.phone-front {
  background: linear-gradient(145deg, #2c3646, #0a0e15 40%, #1f2836);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}
/* Рамка: титановый торец с бликами по краям */
.phone-layer { background: linear-gradient(90deg, #4a5568, #161d29 12%, #0c1119 50%, #161d29 88%, #4a5568); }
.phone-back {
  transform: translateZ(calc(var(--t) * -1)) rotateY(180deg);
  background: linear-gradient(160deg, #1d2735, #0a0f17 60%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.phone-back::before {
  content: ""; position: absolute; top: 18px; left: 18px; width: 38%; aspect-ratio: 1; border-radius: 30%;
  background:
    radial-gradient(circle at 30% 30%, #05070b 18%, #2a3444 20%, transparent 23%),
    radial-gradient(circle at 30% 72%, #05070b 18%, #2a3444 20%, transparent 23%),
    radial-gradient(circle at 72% 50%, #05070b 14%, #2a3444 16%, transparent 19%),
    rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.phone-btn { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #5a6578, #1c2430); transform: translateZ(calc(var(--t) * -0.5)); }
.phone-btn.b1 { left: -3px; top: 21%; height: 5%; }
.phone-btn.b2 { left: -3px; top: 29%; height: 9%; }
.phone-btn.b3 { right: -3px; top: 27%; height: 13%; }
.phone-shadow {
  position: absolute; left: 50%; bottom: 3%; width: 260px; height: 46px; margin-left: -130px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.75), transparent);
  transform: scaleX(var(--sx, 1)); pointer-events: none;
}
.screen {
  position: absolute; inset: 11px; border-radius: 42px; overflow: hidden; transform: translateZ(1px);
  background: radial-gradient(120% 60% at 50% 30%, #16233a 0%, #0b1424 70%);
  display: flex; flex-direction: column; align-items: center; padding: 54px 18px 18px;
}
/* Блик на стекле смещается при повороте */
.screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.09) 47%, transparent 58%);
  background-size: 260% 100%; background-position: var(--glare, 60%) 0;
}
.island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 20px; background: #000; }
.app-top { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.app-top .brand { font-size: 15px; }
.app-top .brand img { width: 24px; height: 24px; }
.app-top .gear { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); display: grid; place-items: center; color: var(--muted); }
.app-top .gear svg { width: 15px; height: 15px; }
.app-status { margin-top: 36px; text-align: center; }
.app-status .st { font: 800 26px/1 var(--display); color: var(--green); letter-spacing: -0.02em; }
.app-status .tm { font: 600 14px/1 var(--display); color: var(--muted); margin-top: 10px; font-variant-numeric: tabular-nums; }
.power { position: relative; width: 150px; height: 150px; margin: 40px 0 0; display: grid; place-items: center; }
.power .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--accent-border); animation: ring 2.6s var(--ease) infinite; }
.power .ring:nth-child(2) { animation-delay: -1.3s; }
@keyframes ring { 0% { transform: scale(0.75); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.power .btn-core {
  width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center; color: var(--green);
  background: radial-gradient(circle at 35% 30%, rgba(62, 207, 211, 0.3), rgba(62, 207, 211, 0.05));
  border: 1px solid var(--accent-border);
  box-shadow: 0 0 50px rgba(62, 207, 211, 0.4), inset 0 0 30px rgba(62, 207, 211, 0.18);
}
.power svg { width: 40px; height: 40px; }
.app-stats { display: flex; gap: 10px; width: 100%; margin-top: auto; }
.app-stats div { flex: 1; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); font-size: 11px; color: var(--label); }
.app-stats b { display: block; color: var(--text); font: 700 15px/1.3 var(--display); margin-top: 2px; }
.server { width: 100%; margin-top: 10px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.07); }
.server img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.server div { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.25; }
.server small { display: block; color: var(--label); font-weight: 400; font-size: 11.5px; }
.server .ms { color: var(--green); font-size: 12px; font-weight: 600; }

.float-chip {
  position: absolute; z-index: 3; padding: 12px 16px; border-radius: 18px; font-size: 13px; font-weight: 600;
  background: rgba(10, 19, 35, 0.8); border: 1px solid var(--card-border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); animation: float 7s ease-in-out infinite;
  display: flex; align-items: center; gap: 10px;
}
.float-chip small { display: block; color: var(--label); font-weight: 400; font-size: 11px; }
.float-chip .ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.float-chip .ic svg { width: 15px; height: 15px; }
.fc-1 { top: 13%; left: 2%; }
.fc-2 { top: 46%; right: 0; animation-delay: -2.4s; }
.fc-3 { bottom: 12%; left: 6%; animation-delay: -4.6s; }

/* Company */
.company { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }

/* CTA */
.cta-box {
  position: relative; overflow: hidden; text-align: center; padding: 96px 28px; border-radius: 36px;
  background: radial-gradient(600px 300px at 50% 0%, rgba(62, 207, 211, 0.14), transparent 70%), linear-gradient(180deg, rgba(10, 19, 35, 0.96), rgba(6, 9, 14, 0.92));
  border: 1px solid var(--accent-border);
}
.cta-box::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(169, 196, 218, 0.25) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(32px, 5vw, 60px); font-weight: 800; line-height: 1.05; }
.cta-box p { max-width: 520px; margin: 18px auto 36px; color: var(--muted); font-size: 18px; }
.cta-box .actions { justify-content: center; margin-top: 0; }

/* Reveal — блоки «выезжают» из глубины */
.reveal {
  opacity: 0; transform: perspective(1200px) translateY(40px) rotateX(12deg) scale(0.97); transform-origin: 50% 100%;
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* Legal pages */
.legal { padding: 140px 0 100px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; }
.legal .updated { color: var(--label); font-size: 14px; margin: 12px 0 44px; }
.legal h2 { font-size: 22px; font-weight: 800; margin: 44px 0 12px; }
.legal p, .legal li { color: #b8c4d6; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal-bg { position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(900px 500px at 80% -10%, rgba(62, 207, 211, 0.06), transparent 60%), var(--bg); }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); background: linear-gradient(180deg, rgba(6, 9, 14, 0.4), rgba(6, 9, 14, 0.92) 55%); padding: 44px 0 52px; color: var(--label); font-size: 13px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer p { margin: 0 0 4px; }
.site-footer .brand { margin-bottom: 14px; }

@media (max-width: 980px) {
  .hero { padding-top: 110px; }
  .hero-grid { grid-template-columns: 1fr; }
  .globe-wrap { order: -1; max-width: 460px; justify-self: center; margin: -10px 0 -30px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-wide { grid-column: span 2; }
  .b-narrow, .b-third { grid-column: span 1; }
  .product-grid, .company { grid-template-columns: 1fr; gap: 40px; }
  .nav a:not(.cta) { display: none; }
  .scroll-hint { display: none; }
  /* Размытие поверх живого WebGL на телефонах дорогое — заменяем плотной подложкой */
  .globe-tag, .float-chip { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10, 19, 35, 0.94); }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .site-header { top: 10px; }
  section { padding: 80px 0; }
  .bento { grid-template-columns: 1fr; }
  .b-wide, .b-narrow, .b-third { grid-column: span 1; }
  .card { padding: 26px; }
  .hero p.lead { font-size: 17px; }
  .tag-1 { left: 0; top: 6%; }
  .tag-2 { right: 0; bottom: 8%; }
  .site-header .bar { height: 54px; padding: 0 6px 0 14px; }
  .brand { font-size: 16px; }
  .brand img { width: 26px; height: 26px; }
  .nav a.cta { padding: 8px 16px; }
  .hero { padding: 96px 0 56px; }
  .hero h1 { font-size: clamp(38px, 11vw, 46px); }
  .eyebrow { margin-bottom: 20px; }
  .actions { margin-top: 30px; }
  .actions .btn { flex: 1 1 auto; justify-content: center; height: 50px; padding: 0 20px; }
  .hero-meta { margin-top: 36px; gap: 0; justify-content: space-between; }
  .globe-tag { padding: 8px 12px; font-size: 12px; }
  .section-head { margin-bottom: 36px; }
  .section-head p { font-size: 16.5px; }
  .marquee { padding: 16px 0; }
  .marquee span { font-size: 15px; }
  .big-num { margin-bottom: 10px; }
  .product-copy li { font-size: 15.5px; }
  /* Телефон поменьше, чипы — по краям, не поверх экрана */
  .stage { min-height: 600px; }
  .phone { --r: 46px; --t: 16px; width: 270px; height: 560px; transform: rotateY(-8deg) rotateX(4deg); }
  .screen { inset: 10px; border-radius: 37px; padding: 50px 16px 16px; }
  .phone-shadow { width: 220px; margin-left: -110px; }
  .float-chip { padding: 8px 12px; font-size: 12px; border-radius: 14px; }
  .float-chip .ic { width: 24px; height: 24px; }
  .fc-1 { top: 1%; left: 0; }
  .fc-2 { top: 44%; right: 0; }
  .fc-3 { display: none; }
    .cta-box { padding: 64px 20px; border-radius: 28px; }
}

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