/* Один тёмно-синий фон на весь сайт. Лаймовый отмечает главное, синий даёт свечение. */
:root {
  color-scheme: dark;
  --bg: #0a1020;
  --card: #0f1a2f;
  --card-2: #13203a;
  --blue: #245cff;
  --blue-soft: #6f97ff;
  --lime: #dfff51;
  --ink: #0a1020;
  --white: #f9fbf6;
  --muted: #b3becc;
  --line: rgba(111, 151, 255, .26);
  --radius: 22px;
  --font: "Onest", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 11 11 3M4.5 3H11v6.5' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
main { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--white); font-family: var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.wrap { width: min(1600px, calc(100% - 64px)); margin-inline: auto; }

h1, h2 { font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
h2 { max-width: 1320px; font-size: clamp(34px, 4.5vw, 62px); line-height: 1.06; }
h3 { font-weight: 700; letter-spacing: -.025em; }

/* Шапка */
.progress { position: fixed; inset: 0 0 auto 0; z-index: 30; height: 3px; background: var(--lime); transform: scaleX(0); transform-origin: left; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(111, 151, 255, .14); background: var(--bg); }
.nav { display: flex; align-items: center; gap: 12px 40px; min-height: 84px; }
.brand { font-size: 28px; font-weight: 800; letter-spacing: -.045em; white-space: nowrap; }
.brand span { display: inline-block; width: 11px; height: 11px; margin-left: 6px; background: var(--lime); transform: rotate(45deg); vertical-align: middle; }
.links { display: flex; align-items: center; gap: 34px; margin-left: auto; color: #d3dae4; font-size: 15px; font-weight: 500; }
.links a:hover, .links a[aria-current="page"] { color: var(--lime); }

/* Кнопка */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 19px 28px;
  border: 0;
  border-radius: 14px;
  background: var(--lime);
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
    transition: background-color .2s;
}
.btn:hover { background: #d0ef45; }
.btn::after { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .2s; }
.btn:hover::after { transform: translate(3px, -3px); }
.btn-plain::after { display: none; }
.nav > .btn { padding: 15px 20px; font-size: 15px; }

/* Стекло и выделения */
.glass { padding: 26px 28px; border: 1px solid var(--line); border-radius: 18px; background: rgba(19, 32, 58, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.glass-panel { max-width: 640px; padding: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 48px); border: 1px solid rgba(36, 92, 255, .7); border-radius: 34px; background: rgba(13, 24, 46, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.glass-panel h2 { font-size: clamp(32px, 3.4vw, 48px); }
.glass-panel p { margin-top: 20px; color: var(--muted); font-size: 18px; line-height: 1.5; }
.glass-panel .btn { margin-top: 28px; }
.pill { display: inline-block; padding: .04em .36em .1em; border-radius: 16px; background: var(--lime); color: var(--ink); transform: rotate(-1deg); }
.slant { display: inline-block; margin-top: .08em; padding: .08em .4em .14em; background: var(--lime); color: var(--ink); clip-path: polygon(2.5% 0, 100% 0, 97.5% 100%, 0 100%); }
.swoosh { padding-bottom: .1em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 14' preserveAspectRatio='none'%3E%3Cpath d='M2 11C120 3 280 2 398 6 280 6 130 8 8 13Z' fill='%23dfff51'/%3E%3C/svg%3E") left bottom / 100% .24em no-repeat; }

/* Секции */
.section { padding-block: clamp(64px, 7vw, 104px); }

/* Первый экран */
.hero { padding-block: clamp(40px, 5vw, 72px) clamp(48px, 5vw, 72px); }
.hero h1 { font-size: clamp(44px, 7.4vw, 118px); line-height: 1.02; letter-spacing: -.045em; text-wrap: wrap; }
.hero h1 span { display: block; color: var(--muted); }
.hero-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: 56px; margin-top: 28px; }
.lead { margin-bottom: 30px; font-size: 22px; line-height: 1.45; color: #dbe1ea; }
.hero-pic img { width: 100%; }
.js .hero h1, .js .hero-row { animation: rise .7s ease-out both; }
.js .hero-row { animation-delay: .12s; }

/* Кто приходит */
.story-title { margin-bottom: 44px; }
.bento { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.08fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color .25s, transform .25s; }
.tile > * { position: relative; z-index: 1; }
.tile:hover { border-color: var(--lime); }
.tile img { object-fit: contain; transition: transform .35s; }
.tile:hover img { transform: scale(1.05) rotate(-1.5deg); }
.tile h3 { font-size: 26px; line-height: 1.2; }
.tile p { margin-top: 12px; color: var(--muted); font-size: 18px; line-height: 1.45; }
.tile-tall { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; padding: 30px; }
.tile-tall img { width: 100%; max-height: 400px; }
.tile-wide { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 28px; padding: 26px 30px; }
.tile-wide img { width: 100%; max-height: 270px; }

/* Кто мы */
.who-head p { max-width: 680px; margin-top: 18px; color: var(--muted); font-size: 18px; line-height: 1.5; }
.who { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 20px; margin-top: 34px; align-items: start; }
.who-line { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.who-line path { fill: none; stroke: var(--blue-soft); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 12 10; animation: flow 1.2s linear infinite; }
.who-card { position: relative; padding: 42px 36px 36px; }
.who-card::before { content: ""; position: absolute; inset: 0; z-index: 0; border: 1px solid var(--line); border-radius: 30px; background: rgba(15, 26, 47, .72); }
.who-left::before { transform: skewY(2.5deg); }
.who-right::before { transform: skewY(-2.5deg); }
.who-card > * { position: relative; z-index: 1; }
.who-left { margin-top: 118px; }
.who-card h3 { font-size: clamp(26px, 2.7vw, 36px); line-height: 1.12; }
.who-card > p { margin-top: 12px; color: var(--muted); font-size: 17px; line-height: 1.45; }
.who-left img { width: 100%; margin-top: 26px; }
.gpu-stage { position: relative; display: grid; place-items: center; margin-top: 20px; }
.gpu-stage img { position: relative; width: min(100%, 420px); transition: filter .5s; }
.switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 22px; padding: 5px; border-radius: 14px; background: rgba(111, 151, 255, .12); }
.switch button { padding: 13px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 15px; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s; }
.switch button[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.gpu-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; margin-top: 16px; }
.gpu-grid i { aspect-ratio: 1; border-radius: 4px; background: rgba(111, 151, 255, .16); transition: background-color .3s; transition-delay: calc(var(--i) * 18ms); }
.demo[data-state="before"] .gpu-grid i:nth-child(-n+22), .demo[data-state="after"] .gpu-grid i:nth-child(-n+8) { background: var(--lime); }
.who-card > .gpu-caption { min-height: 2.9em; margin-top: 14px; font-size: 15px; }

/* Шаги */
.how-title { margin-bottom: 48px; }
.snake { position: relative; margin-top: 44px; }
.snake-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.snake-lines path { fill: none; stroke: var(--line); stroke-width: 2; stroke-linecap: round; }
.snake-lines circle { fill: var(--blue-soft); }
.steps { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 66px 44px; padding-inline: 44px; }
.step { position: relative; grid-column: span 3; padding: 20px 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); transition: border-color .3s, box-shadow .3s, background-color .3s; }
.step:nth-child(n+5) { grid-column: span 4; }
.step.active { border-color: var(--lime); background: var(--card-2); }
.step-no { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: var(--white); font-size: 16px; font-weight: 800; transition: background-color .3s, color .3s; }
.step.active .step-no { background: var(--lime); color: var(--ink); }
.step h3 { margin: 14px 0 8px; font-size: 20px; line-height: 1.2; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.42; }

.paths-title { margin: 72px auto 0; max-width: 900px; font-size: clamp(24px, 2.6vw, 36px); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; text-align: center; text-wrap: balance; }
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 54px; }
.path { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 210px; align-items: center; gap: 24px; padding: 32px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--card); transition: transform .25s; }
.path:hover { transform: translateY(-5px); }
.path::before { content: ""; position: absolute; top: -56px; left: 50%; width: 2px; height: 54px; background: var(--line); }
.path::after { content: ""; position: absolute; top: -62px; left: calc(50% - 4px); width: 10px; height: 10px; border-radius: 50%; background: var(--blue-soft); }
.path-main { border-color: var(--lime); }
.path h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; }
.path p { margin-top: 12px; color: var(--muted); font-size: 17px; line-height: 1.45; }
.path img { transition: transform .35s; }
.path:hover img { transform: scale(1.06); }

/* Самопроверка */
.check { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 40px; }
.leaks { margin: 0; padding: 0; border: 0; min-width: 0; }
.leaks legend { margin-bottom: 18px; padding: 0; color: var(--muted); font-size: 18px; }
.leak { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); font-size: 19px; font-weight: 600; line-height: 1.3; cursor: pointer; transition: border-color .2s, background-color .2s; }
.leak + .leak { margin-top: 10px; }
.leak:hover { border-color: var(--blue-soft); }
.leak input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--lime); cursor: pointer; }
.leak:has(input:checked) { border-color: var(--lime); background: var(--card-2); }
.verdict { position: sticky; top: 112px; min-height: 280px; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.verdict-total { color: var(--lime); font-size: clamp(36px, 3.8vw, 54px); font-weight: 800; line-height: 1.06; letter-spacing: -.035em; }
.verdict-lead { font-size: 20px; font-weight: 600; line-height: 1.35; }
.verdict-total + .verdict-lead { margin-top: 14px; }
#verdict-empty .verdict-lead { color: var(--muted); }
.fixes { margin-top: 22px; border-top: 1px solid var(--line); }
.fixes li { padding-block: 13px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 16px; line-height: 1.4; }
.verdict .btn { margin-top: 26px; }

/* Почему не страшно */
.safe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.safe-card { display: flex; flex-direction: column; padding: 38px 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.safe-card h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.safe-card p { margin-top: 14px; color: var(--muted); font-size: 18px; line-height: 1.45; }
.safe-card > div { display: grid; place-items: center; margin-top: auto; padding-top: 28px; }
.safe-card img { width: 100%; max-width: 440px; max-height: 340px; object-fit: contain; }
.float img { animation: float 5s ease-in-out infinite alternate; }
.sway img { transform-origin: 50% 90%; animation: sway 4s ease-in-out infinite alternate; }

/* Последний блок: всё в долях ширины, поэтому композиция одинакова на любом экране */
.final { overflow: hidden; padding-top: clamp(24px, 3.4vw, 64px); }
.final-stage { position: relative; container-type: inline-size; width: 100%; max-width: 1800px; margin-inline: auto; aspect-ratio: 1487 / 940; }
.final-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.js .final-stage.in .draw { stroke-dasharray: var(--len); animation: draw 1.4s ease-out both; }
.js .final-stage.in .draw-late { animation-delay: .35s; }
.final-title { position: absolute; inset: 0; max-width: none; margin: 0; font-size: 7.3cqw; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.fl { position: absolute; display: block; white-space: nowrap; transform-origin: 0 100%; }
.fl-1 { left: 6.3%; top: calc(35.6% - 1em); font-size: 7.6cqw; transform: rotate(-9.6deg) skewX(-9deg); }
.fl-2 { left: 7.8%; top: calc(48.6% - 1em); font-size: 7.5cqw; transform: rotate(-7deg) skewX(-5deg); }
.fl-3 { left: 4.5%; top: calc(64% - 1em); font-size: 7.5cqw; transform: rotate(-5.4deg) skewX(-2deg); }
.final-text { position: absolute; left: 5.2%; top: 73.6%; width: 46%; color: #e4e9f0; font-size: 1.68cqw; line-height: 1.42; }
.final-btn { position: absolute; left: 53.6%; top: 69.4%; display: grid; place-items: center; width: 42.2%; height: 19.4%; border-radius: 2.2cqw; background: var(--lime); color: var(--ink); box-shadow: 0 0 2.4cqw rgba(223, 255, 81, .5); transform: rotate(-6.6deg) skewX(-24deg); transition: background-color .2s, transform .2s; }
.final-btn span { font-size: 4.5cqw; font-weight: 800; letter-spacing: -.02em; transform: skewX(18deg); }
.final-btn:hover { background: #eaff74; transform: rotate(-6.6deg) skewX(-24deg) translateY(-.4cqw); }
@keyframes draw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }

/* Внутренние страницы */
.plate-hero { position: relative; overflow: hidden; }
.plate-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 48px; padding-block: clamp(48px, 7vw, 96px) 24px; }
.plate-head h1 { font-size: clamp(44px, 6vw, 86px); line-height: 1.02; }
.plate-head .glass { font-size: 19px; line-height: 1.45; color: #dbe1ea; }
.plates { width: 100%; max-width: none; margin-top: -30px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%); mask-image: linear-gradient(180deg, transparent, #000 22%); animation: drift 18s ease-in-out infinite alternate; }


.data { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.data-copy > p { margin-top: 22px; max-width: 640px; color: var(--muted); font-size: 18px; line-height: 1.5; }
.data-tiles { display: flex; align-items: center; margin-top: 36px; }
.data-tiles img { width: 30%; min-width: 0; }
.data-tiles i { position: relative; flex: 1; height: 2px; background: var(--line); }
.data-tiles i::after { content: ""; position: absolute; top: -4px; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--blue-soft); }
.data-art { position: relative; display: grid; place-items: center; }
.data-shield { position: absolute; inset: 50% auto auto 50%; width: 100%; height: 108%; transform: translate(-50%, -50%); }
.data-art .float { position: relative; width: 66%; }
.data-art img { width: 100%; }

.shield-hero { position: relative; isolation: isolate; overflow: hidden; }
.shield-art { position: absolute; top: 0; right: 0; z-index: -1; width: min(52%, 740px); max-width: none; height: 100%; object-fit: cover; object-position: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 26%), linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 26%), linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent); -webkit-mask-composite: source-in; mask-composite: intersect; }
.shield-copy { max-width: 620px; padding-block: clamp(72px, 10vw, 150px); }
.shield-copy h1 { font-size: clamp(42px, 5.6vw, 80px); line-height: 1.04; }
.dash { display: block; width: 200px; height: 14px; margin-block: 32px; border-radius: 7px; background: var(--lime); }
.shield-copy p { color: var(--muted); font-size: 19px; line-height: 1.5; }

.order { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.order-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color .25s; }
.order-card:hover { border-color: var(--lime); }
.order-card img { width: min(76%, 280px); margin: 0 auto 26px; -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent); mask-image: radial-gradient(closest-side, #000 82%, transparent); }
.order-card h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; }
.order-card p { margin-top: 12px; color: var(--muted); font-size: 17px; line-height: 1.45; }

.env { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 680px; }
.env-art { position: absolute; top: 0; right: 0; z-index: -1; width: min(58%, 820px); max-width: none; height: 100%; object-fit: cover; object-position: left center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%), linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 20%), linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent); -webkit-mask-composite: source-in; mask-composite: intersect; }
.env .glass-panel { max-width: 560px; }

/* Заявка */
.form-page { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(48px, 7vw, 96px); }
.form-shell { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: center; }
.form-intro h1 { font-size: clamp(40px, 4.8vw, 66px); line-height: 1.04; }
.form-intro p { margin-top: 22px; color: var(--muted); font-size: 19px; line-height: 1.5; }
.form-card { padding: 38px; border: 1px solid var(--blue); border-radius: var(--radius); background: var(--card); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; line-height: 1.2; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--white); }
.field textarea { height: 104px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; color: var(--muted); font-size: 14px; line-height: 1.45; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--lime); }
.form-error { margin-bottom: 16px; color: #ff9c8a; font-size: 15px; line-height: 1.4; }
.form-error:empty { display: none; }
.form-card form > .btn { justify-content: space-between; width: 100%; }
.form-card .btn:disabled { opacity: .6; cursor: default; }
.result { display: grid; gap: 14px; margin-top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.result[hidden] { display: none; }
.result p { font-size: 15px; line-height: 1.45; }
.result pre { margin: 0; color: var(--muted); font: inherit; font-size: 13px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.result pre[hidden], .result .btn[hidden] { display: none; }
.result .btn { justify-self: start; padding: 12px 18px; font-size: 15px; }

/* Подвал */
.footer { padding-block: 44px; border-top: 1px solid rgba(111, 151, 255, .14); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 30px; color: #d3dae4; font-size: 15px; font-weight: 500; }
.footer-links a:hover { color: var(--lime); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(111, 151, 255, .14); color: var(--muted); font-size: 14px; line-height: 1.45; }
.footer-legal a:hover { color: var(--lime); }

/* Появление: без скриптов всё видно сразу */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease-out, transform .6s ease-out; transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .fade { opacity: 0; transition: opacity .7s ease-out; }
.js .fade.in { opacity: 1; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes float { from { transform: translateY(-8px); } to { transform: translateY(8px); } }
@keyframes sway { from { transform: rotate(-1.4deg); } to { transform: rotate(1.4deg); } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes flow { to { stroke-dashoffset: -22; } }

@media (max-width: 1100px) {
  .tile-wide { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); padding: 22px; }
  .tile h3 { font-size: 22px; }
  .tile p { font-size: 16px; }
  .form-shell { gap: 40px; }
}

@media (max-width: 1000px) {
  .who-line, .snake-lines { display: none; }
  .who, .bento, .check, .data, .safe, .paths, .order, .form-shell, .plate-head { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-rows: none; }
  .tile-tall { grid-row: auto; }
  .tile-tall img { max-height: 280px; }
  .who-left { margin-top: 0; }
  .who-left::before, .who-right::before { transform: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-inline: 0; }
  .step, .step:nth-child(n+5) { grid-column: auto; }
  .step:last-child { grid-column: 1 / -1; }
  .hero-art { position: relative; width: 100%; height: 340px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%); mask-image: linear-gradient(180deg, transparent, #000 18%); object-position: 74% center; }
  .hero { display: flex; flex-direction: column-reverse; }
  .hero-flow { display: none; }
  .hero-copy { padding-bottom: 12px; }
  .data-art { order: -1; width: min(100%, 420px); margin-inline: auto; }
  .shield-art { position: relative; width: 100%; height: 360px; object-fit: contain; object-position: center; -webkit-mask-image: none; mask-image: none; }
  .shield-hero { display: flex; flex-direction: column-reverse; }
  .shield-copy { padding-block: 44px 8px; }
  .env { min-height: 0; }
  .env { padding-block: 40px; }
  .env-art { width: 100%; opacity: .5; -webkit-mask-image: none; mask-image: none; object-position: center; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .nav { flex-wrap: wrap; justify-content: space-between; min-height: 0; padding-block: 14px; }
  .brand { font-size: 24px; }
  .nav > .btn { order: 2; padding: 12px 14px; font-size: 14px; }
  .nav > .btn::after { display: none; }
  .links { order: 3; width: 100%; margin-left: 0; gap: 24px; }
  .hero h1 { font-size: clamp(54px, 17vw, 72px); }
  .lead { padding: 20px; font-size: 17px; }
  .hero-copy > .btn { width: 100%; }
  .tile-wide { grid-template-columns: minmax(0, 1fr); }
  .tile-tall, .tile-wide { padding: 22px; }
  .tile-wide img { max-height: 200px; }
  .who-card { padding: 28px 20px 24px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step:last-child { grid-column: auto; }
  .paths-title { margin-top: 48px; }
  .paths { margin-top: 28px; }
  .path { grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; padding: 22px; }
  .path::before, .path::after { display: none; }
  .path p { font-size: 16px; }
  .safe-card { padding: 26px 22px; }
  .safe-card img { max-height: 240px; }
  .pill { border-radius: 12px; }
  .form-card { padding: 22px 18px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .data-tiles img { width: 28%; }
  .footer-inner { display: block; }
  .footer-links { margin-top: 20px; }
}

/* На телефоне текст не влезает в наклонную композицию, поэтому блок идёт сверху вниз */
@media (max-width: 760px) {
  .final-stage { aspect-ratio: auto; padding: 56px 16px 48px; }
  .final-art { height: 100%; opacity: .6; }
  .final-art .draw { display: none; }
  .final-title { position: relative; font-size: clamp(34px, 11cqw, 52px); line-height: 1.1; transform: rotate(-4deg); }
  .fl { position: static; display: inline; white-space: normal; font-size: inherit; transform: none; }
  .final-text { position: relative; left: auto; top: auto; width: auto; margin-top: 36px; font-size: 17px; }
  .final-btn { position: relative; left: auto; top: auto; width: 100%; height: 84px; margin-top: 28px; border-radius: 16px; transform: rotate(-2deg) skewX(-8deg); }
  .final-btn:hover { transform: rotate(-2deg) skewX(-8deg); }
  .final-btn span { font-size: 24px; transform: skewX(8deg); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .fade, .js .hero-copy > * { opacity: 1; transform: none; }
}

/* Картинки со сценами делаем спокойнее */
.env-art, .shield-art, .plates { filter: brightness(.72) saturate(.72); }

@media (max-width: 1000px) {
  .hero-row { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 28px; }
}
@media (max-width: 600px) {
  .lead { font-size: 18px; }
}

@media (max-width: 1000px) {
  .verdict { position: static; min-height: 0; }
}
@media (max-width: 600px) {
  .leak { padding: 16px; font-size: 17px; }
  .verdict { padding: 24px 20px; }
  .verdict .btn { width: 100%; }
}
