/* DreamFlyLab — один стиль для всех страниц сайта. */
@font-face { font-family: "Golos"; font-weight: 400; font-display: swap; src: url("../fonts/golos-text-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos"; font-weight: 400; font-display: swap; src: url("../fonts/golos-text-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Golos"; font-weight: 500; font-display: swap; src: url("../fonts/golos-text-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos"; font-weight: 500; font-display: swap; src: url("../fonts/golos-text-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Golos"; font-weight: 600; font-display: swap; src: url("../fonts/golos-text-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos"; font-weight: 600; font-display: swap; src: url("../fonts/golos-text-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --paper: #f3f6f8; --surface: #ffffff; --ink: #0b1f2e; --ink-2: #4a6072; --line: #dbe3ea;
  --teal: #0d9488; --teal-d: #0f766e; --sky: #0284c7; --warm: #f97316;
  --night: #0b1f2e; --night-2: #12344a;
  --wrap: 1120px; --r: 20px;
}
:root { --chip: #ccfbf1; --chip-ink: #0f766e; color-scheme: light; }
:root[data-theme="dark"] { --paper: #0a1722; --surface: #102332; --ink: #e6eef4; --ink-2: #9cb0c0; --line: #1f3a4d; --sky: #38bdf8; --chip: #0f3b3a; --chip-ink: #5eead4; color-scheme: dark; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #0a1722; --surface: #102332; --ink: #e6eef4; --ink-2: #9cb0c0; --line: #1f3a4d; --sky: #38bdf8; --chip: #0f3b3a; --chip-ink: #5eead4; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 Golos, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--sky); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 8px; }

/* Шапка — одинаковая на всех страницах */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; margin-right: auto; }
.logo svg { width: 32px; height: 32px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; }
.nav a:hover, .nav a[aria-current] { color: var(--teal); }
.langs { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.langs a, .langs span { padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.langs [aria-current] { background: var(--ink); color: var(--paper); }
@media (max-width: 860px) { .nav { display: none; } }
.theme { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
.theme:hover { border-color: var(--teal); }
.theme svg { width: 18px; height: 18px; }
.theme .sun { display: none; }
:root[data-theme="dark"] .theme .sun { display: block; } :root[data-theme="dark"] .theme .moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme .sun { display: block; } :root:not([data-theme="light"]) .theme .moon { display: none; } }

/* Кнопки */
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 22px; border-radius: 14px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; transition: background-color .15s, border-color .15s; }
.btn-main { background: var(--teal); color: #fff; }
.btn-main:hover { background: var(--teal-d); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--surface); }
.dark { box-shadow: 0 30px 80px rgba(11, 31, 46, .18); }
.btn-line:hover { border-color: var(--teal); }
.btn-light { background: #fff; color: var(--night); }

/* Первый экран */
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 72px 0 64px; }
.eyebrow { color: var(--teal); font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.05; margin-bottom: 20px; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 31em; margin-bottom: 30px; }
.note-sm { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }

/* Скриншоты */
.shot { border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 24px 56px rgba(11, 31, 46, .16); }
.fan { position: relative; height: 560px; }
.fan::before { content: ""; position: absolute; inset: 8% -6% 0; background: radial-gradient(closest-side, color-mix(in srgb, var(--teal) 22%, transparent), transparent); z-index: -1; }
.fan .shot { position: absolute; width: 42%; top: 40px; }
.fan .shot:nth-child(1) { left: 2%; transform: rotate(-4deg); }
.fan .shot:nth-child(2) { left: 29%; top: 0; z-index: 2; }
.fan .shot:nth-child(3) { right: 2%; transform: rotate(4deg); }

/* Устройство: настоящий снимок экрана в рамке телефона */
.visual { position: relative; display: grid; place-items: center; }
.visual::before { content: ""; position: absolute; inset: -10% -8%; background: radial-gradient(closest-side, color-mix(in srgb, var(--teal) 24%, transparent), transparent 70%); z-index: -1; }
.device { background: #fff; border: 10px solid #0b1f2e; box-shadow: 0 30px 70px rgba(11, 31, 46, .22), inset 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; }
.device img { width: 100%; }
.device.port { width: min(300px, 80vw); border-radius: 40px; }
.device.land { width: 100%; max-width: 640px; border-radius: 30px; }
.screen { width: 100%; max-width: 680px; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 56px rgba(11, 31, 46, .16); }
.screen img { width: 100%; }
:root[data-theme="dark"] .device { border-color: #1b3a50; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .device { border-color: #1b3a50; } }

/* Секции */
.sec { padding: 80px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { max-width: 46rem; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; margin-bottom: 14px; }
.sec-head p { color: var(--ink-2); font-size: 18px; }

/* История: почему телефон */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: r; }
.reasons li { list-style: none; border-top: 2px solid var(--ink); padding-top: 18px; }
.reasons h3 { font-size: 20px; margin-bottom: 8px; }
.reasons p { color: var(--ink-2); }
.reasons { padding: 0; }

/* Возможности: строки текст + скриншот */
.feature { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: center; padding: 36px 0; }
.feature + .feature { border-top: 1px dashed var(--line); }
.feature:nth-of-type(even) { grid-template-columns: 300px 1fr; }
.feature:nth-of-type(even) .feature-text { order: 2; }
.wide { margin-top: 36px; padding-top: 44px; border-top: 1px dashed var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: center; }
.wide h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; margin-bottom: 12px; }
.wide p { color: var(--ink-2); font-size: 18px; }
.wide ul { margin-top: 16px; padding-left: 20px; color: var(--ink-2); }
.shot-wide { border-radius: 18px; overflow: hidden; border: 8px solid var(--night); box-shadow: 0 24px 60px rgba(11, 31, 46, .18); }
.feature h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; margin-bottom: 12px; }
.feature p { color: var(--ink-2); font-size: 18px; max-width: 30em; }
.feature ul { margin-top: 16px; padding-left: 20px; color: var(--ink-2); }
.feature li + li { margin-top: 4px; }

/* Продукт на главной */
.product { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 40px; }
.product-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.product-head img { width: 56px; height: 56px; border-radius: 14px; }
.product-head h3 { font-size: 28px; }
.product-head span { display: block; color: var(--ink-2); font-size: 15px; font-weight: 400; letter-spacing: 0; }
.product p { color: var(--ink-2); font-size: 18px; max-width: 32em; margin-bottom: 24px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--chip-ink); background: var(--chip); padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* Этапы */
.road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0; position: relative; }
.road li { list-style: none; padding: 28px 28px 0 0; border-top: 3px solid var(--line); position: relative; }
.road li::before { content: ""; position: absolute; top: -10px; left: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--paper); border: 3px solid var(--line); }
.road .done { border-top-color: var(--teal); }
.road .done::before { background: var(--teal); border-color: var(--teal); }
.road .now::before { border-color: var(--warm); background: var(--warm); box-shadow: 0 0 0 6px color-mix(in srgb, var(--warm) 25%, transparent); }
.road .when { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.road h3 { font-size: 21px; margin: 4px 0 10px; }
.road ul { padding-left: 18px; color: var(--ink-2); font-size: 16px; }
.road li li { padding: 0; border: 0; list-style: disc; }
.road li li::before { display: none; }

/* Тёмная полоса: партнёрам / стать тестером */
.dark { background: linear-gradient(140deg, var(--night), var(--night-2) 60%, #0f4c4a); color: #dce7ee; border-radius: 32px; padding: 56px; }
.dark h2 { color: #fff; }
.dark .sec-head p { color: #b9cad6; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; }
.facts strong { display: block; font-size: 44px; line-height: 1; color: #fff; font-weight: 600; margin-bottom: 6px; }
.facts span { color: #b9cad6; font-size: 15.5px; }
.offers { padding: 0; display: grid; gap: 12px; margin-bottom: 26px; }
.offers li { list-style: none; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.offers b { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }

/* Шаги установки */
.steps { padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { list-style: none; counter-increment: s; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.steps li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--night); font-weight: 600; }
.steps h3 { color: #fff; font-size: 19px; }
.steps p { color: #b9cad6; font-size: 15.5px; }
.steps .btn { margin-top: auto; }
.hint { margin-top: 22px; color: #b9cad6; font-size: 15.5px; max-width: 52rem; }
.hint a { color: #7dd3fc; }

/* Контакты */
.links { padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.links li { list-style: none; }
.links a { display: flex; align-items: center; gap: 14px; height: 100%; padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.links a:hover { border-color: var(--c, var(--teal)); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(11, 31, 46, .10); }
.links .ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.links .ic svg { width: 24px; height: 24px; }
.links .tx { min-width: 0; }
.c-tg { --c: #229ed9; } .c-mail { --c: #0d9488; } .c-yt { --c: #e5484d; } .c-gh { --c: #8b5cf6; }
@media (prefers-reduced-motion: reduce) { .links a:hover { transform: none; } }
.links b { display: block; font-weight: 600; }
.links span { color: var(--ink-2); font-size: 15px; overflow-wrap: anywhere; }

footer { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--ink-2); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer ul { display: flex; flex-wrap: wrap; gap: 18px; padding: 0; }
footer li { list-style: none; }
footer a { color: var(--ink-2); }

.lost { min-height: 60vh; display: grid; align-content: center; gap: 18px; }

@media (max-width: 920px) {
  .hero, .split, .product { grid-template-columns: 1fr; }
  .hero { padding: 40px 0; }
  .fan { height: 440px; max-width: 520px; width: 100%; margin: 0 auto; }
  .feature, .feature:nth-of-type(even), .wide { grid-template-columns: 1fr; gap: 28px; }
  .feature:nth-of-type(even) .feature-text { order: 0; }
  .feature .shot, .product .shot { max-width: 320px; }
  .reasons, .road, .steps { grid-template-columns: 1fr; gap: 28px; }
  .links { grid-template-columns: 1fr 1fr; }
  .dark { padding: 32px 22px; border-radius: 24px; }
  .product { padding: 28px; }
  .sec { padding: 56px 0; }
}
@media (max-width: 480px) { .fan { height: 340px; } .links, .facts { grid-template-columns: 1fr; } }

:root[data-theme="dark"] .shot, :root[data-theme="dark"] .screen { border-color: #24465c; box-shadow: 0 24px 56px rgba(0,0,0,.45); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .shot, :root:not([data-theme="light"]) .screen { border-color: #24465c; box-shadow: 0 24px 56px rgba(0,0,0,.45); } }

/* Главная: экран в альбомном режиме + два телефона спереди */
.combo { display: block; padding: 40px 0 70px; }
.combo .screen { max-width: none; transform: translateX(6%); }
.combo-phone, .combo-phone2 { position: absolute; width: 27%; bottom: 0; }
.combo-phone { left: -2%; transform: rotate(-3deg); z-index: 2; }
.combo-phone2 { left: 24%; bottom: -24px; z-index: 3; width: 25%; }
@media (max-width: 920px) { .combo { padding: 20px 0 60px; max-width: 560px; margin: 0 auto; } }
