/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/manrope-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/manrope-400-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;
}

/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/manrope-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/manrope-500-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;
}

/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/manrope-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/manrope-700-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;
}

/* cyrillic */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/unbounded-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/unbounded-400-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;
}

/* cyrillic */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/unbounded-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/unbounded-600-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;
}

/* cyrillic */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/unbounded-800-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/unbounded-800-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;
}/* ============================================================
   ПравдаЛёт — muchstudio.ru
   Концепт: «Табло вылетов» / split-flap. Полночь + янтарь.
   ============================================================ */

:root {
    --ink: #070a14;
    --ink-2: #0d1322;
    --ink-3: #131b2e;
    --panel: #0a1020;
    --amber: #ffb627;
    --amber-dim: #c98a1a;
    --sky: #5ed3f3;
    --paper: #f4f1e8;
    --steel: #8794ad;
    --steel-dim: #4a566e;
    --line: rgba(135, 148, 173, 0.16);
    --glow: rgba(255, 182, 39, 0.35);

    --font-display: 'Unbounded', system-ui, sans-serif;
    --font-body: 'Manrope', system-ui, sans-serif;

    --maxw: 1240px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

body {
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* grain overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
    background: var(--amber);
    color: var(--ink);
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---- layout ---- */
.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 28px;
}

section {
    position: relative;
    overflow-x: clip;
}

/* ============ NAV ============ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(7, 10, 20, 0.78);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.01em;
}
.brand .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 14px var(--glow);
    animation: blink 2.4s infinite;
}
@keyframes blink {
    0%, 92%, 100% { opacity: 1; }
    95% { opacity: 0.25; }
}
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--steel);
}
.nav-links a {
    transition: color 0.25s;
    position: relative;
}
.nav-links a:hover { color: var(--paper); }
.nav-cta {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--ink) !important;
    background: var(--amber);
    padding: 11px 22px;
    border-radius: 100px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -8px var(--glow);
}
.nav-burger { display: none; }

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 130px 0 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
    opacity: 0.5;
}
.hero-glow {
    position: absolute;
    width: min(900px, 120vw);
    height: min(900px, 120vw);
    top: -300px;
    right: -10vw;
    background: radial-gradient(circle, rgba(255, 182, 39, 0.14), transparent 60%);
    filter: blur(20px);
}
.hero-glow.two {
    top: auto;
    bottom: -400px;
    right: auto;
    left: -300px;
    background: radial-gradient(circle, rgba(94, 211, 243, 0.1), transparent 60%);
}
/* parallax plane silhouette */
.plane {
    position: absolute;
    top: 22%;
    right: 6%;
    width: 340px;
    opacity: 0.9;
    will-change: transform;
}
.plane svg { width: 100%; height: auto; }

.hero-inner {
    position: relative;
    z-index: 2;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber);
    border: 1px solid var(--line);
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(255, 182, 39, 0.05);
    margin-bottom: 32px;
}
.eyebrow .pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 0 0 var(--glow);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 182, 39, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(255, 182, 39, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 182, 39, 0); }
}

h1.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(48px, 8.5vw, 122px);
    line-height: 0.95;
    letter-spacing: -0.035em;
    margin-bottom: 30px;
}
h1.hero-title .row {
    display: block;
    overflow: hidden;
}
h1.hero-title .row span {
    display: inline-block;
    transform: translateY(110%);
    animation: rise 0.9s var(--ease) forwards;
}
h1.hero-title .row:nth-child(2) span { animation-delay: 0.1s; }
h1.hero-title .row:nth-child(3) span { animation-delay: 0.2s; }
.amber { color: var(--amber); }
.outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--steel);
}
@keyframes rise {
    to { transform: translateY(0); }
}

.hero-sub {
    max-width: 560px;
    font-size: 19px;
    color: var(--steel);
    margin-bottom: 42px;
    opacity: 0;
    animation: fade 0.9s var(--ease) 0.5s forwards;
}
.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fade 0.9s var(--ease) 0.65s forwards;
}
@keyframes fade {
    to { opacity: 1; }
}

.btn {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    padding: 17px 34px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
    border: 1px solid transparent;
}
.btn-primary {
    background: var(--amber);
    color: var(--ink);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px -10px var(--glow);
}
.btn-primary svg { transition: transform 0.3s var(--ease); }
.btn-primary:hover svg { transform: translateX(5px); }
.btn-ghost {
    background: transparent;
    color: var(--paper);
    border-color: var(--steel-dim);
}
.btn-ghost:hover {
    border-color: var(--amber);
    color: var(--amber);
    transform: translateY(-3px);
}

/* split-flap board */
.board {
    margin-top: 70px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    opacity: 0;
    animation: fade 0.9s var(--ease) 0.85s forwards;
}
.board-word {
    display: flex;
    gap: 10px;
}
.flap {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(22px, 4vw, 40px);
    background: linear-gradient(180deg, #11192c, #0a1020);
    color: var(--paper);
    padding: 12px 4px;
    min-width: 46px;
    text-align: center;
    border-radius: 6px;
    border: 1px solid var(--line);
    position: relative;
    box-shadow: inset 0 -10px 20px -12px rgba(0, 0, 0, 0.8);
}
.flap::before {
    content: '';
    position: absolute;
    left: 4px;
    right: 4px;
    top: 50%;
    height: 1px;
    background: rgba(0, 0, 0, 0.55);
}
.flap.amber-flap { color: var(--amber); }

/* ============ section heading ============ */
.shead {
    margin-bottom: 56px;
}
.shead .tag {
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber-dim);
    display: block;
    margin-bottom: 18px;
}
.shead h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(32px, 5vw, 60px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    max-width: 760px;
}
.shead p {
    margin-top: 20px;
    max-width: 560px;
    color: var(--steel);
}

/* ============ STEPS ============ */
.steps {
    padding: 130px 0;
    border-top: 1px solid var(--line);
}
.step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: s;
}
.step {
    counter-increment: s;
    padding: 34px 26px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(160deg, var(--ink-2), var(--ink));
    position: relative;
    overflow: hidden;
    transition: transform 0.5s var(--ease), border-color 0.4s;
}
.step:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 182, 39, 0.4);
}
.step::before {
    content: '0' counter(s);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 78px;
    color: transparent;
    -webkit-text-stroke: 1px var(--steel-dim);
    position: absolute;
    top: -14px;
    right: 8px;
    opacity: 0.35;
    transition: -webkit-text-stroke-color 0.4s, opacity 0.4s;
}
.step:hover::before {
    -webkit-text-stroke-color: var(--amber-dim);
    opacity: 0.6;
}
.step .ic {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 182, 39, 0.1);
    margin-bottom: 22px;
    color: var(--amber);
}
.step h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 19px;
    margin-bottom: 10px;
}
.step p {
    font-size: 15px;
    color: var(--steel);
}

/* ============ RIGHTS / split board section ============ */
.rights {
    padding: 130px 0;
    border-top: 1px solid var(--line);
    background:
        radial-gradient(ellipse 60% 50% at 80% 0%, rgba(255, 182, 39, 0.06), transparent 60%);
}
.rights-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}
.rights-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: var(--panel);
}
.rrow {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 22px 26px;
    border-bottom: 1px solid var(--line);
    transition: background 0.3s, padding-left 0.3s var(--ease);
}
.rrow:last-child { border-bottom: none; }
.rrow:hover {
    background: rgba(255, 182, 39, 0.04);
    padding-left: 34px;
}
.rrow .label {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 16px;
}
.rrow .sub {
    font-size: 13.5px;
    color: var(--steel);
    margin-top: 3px;
}
.rrow .status {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--amber);
    border: 1px solid var(--amber-dim);
    border-radius: 6px;
    padding: 6px 12px;
    white-space: nowrap;
}

/* ============ STATS ============ */
.stats {
    padding: 110px 0;
    border-top: 1px solid var(--line);
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.stat {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, var(--ink-2), var(--ink));
}
.stat .num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1;
    color: var(--amber);
    letter-spacing: -0.03em;
}
.stat .cap {
    margin-top: 14px;
    color: var(--steel);
    font-size: 15px;
}

/* ============ CTA ============ */
.cta {
    padding: 150px 0;
    border-top: 1px solid var(--line);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 182, 39, 0.12), transparent 60%);
    filter: blur(10px);
    pointer-events: none;
}
.cta h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(38px, 7vw, 92px);
    line-height: 0.98;
    letter-spacing: -0.035em;
    position: relative;
    z-index: 2;
}
.cta p {
    max-width: 480px;
    margin: 26px auto 40px;
    color: var(--steel);
    position: relative;
    z-index: 2;
}

/* ============ FOOTER ============ */
.footer {
    border-top: 1px solid var(--line);
    padding: 70px 0 40px;
    background: var(--ink-2);
}
.foot-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--line);
}
.foot-col h4 {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--steel-dim);
    margin-bottom: 18px;
}
.foot-col a {
    display: block;
    color: var(--steel);
    font-size: 15px;
    margin-bottom: 12px;
    transition: color 0.25s;
}
.foot-col a:hover { color: var(--amber); }
.foot-brand {
    max-width: 300px;
}
.foot-brand p {
    color: var(--steel);
    font-size: 14.5px;
    margin-top: 16px;
}
.foot-bottom {
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--steel-dim);
    font-size: 13.5px;
}

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

/* ============ LEGAL pages ============ */
.legal {
    max-width: 820px;
    margin: 0 auto;
    padding: 150px 28px 120px;
}
.legal .back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--steel);
    font-size: 14px;
    margin-bottom: 40px;
    transition: color 0.25s, gap 0.25s;
}
.legal .back:hover { color: var(--amber); gap: 14px; }
.legal h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(34px, 6vw, 60px);
    letter-spacing: -0.03em;
    line-height: 1.02;
    margin-bottom: 16px;
}
.legal .meta {
    color: var(--steel-dim);
    font-size: 14px;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
}
.legal h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 24px;
    margin: 48px 0 16px;
    color: var(--paper);
}
.legal h2 .n {
    color: var(--amber);
    margin-right: 12px;
}
.legal h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 18px;
    margin: 28px 0 10px;
}
.legal p, .legal li {
    color: #cfd6e4;
    margin-bottom: 14px;
    font-size: 16.5px;
}
.legal ul, .legal ol {
    padding-left: 24px;
    margin-bottom: 18px;
}
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--paper); }
.legal a.inline { color: var(--amber); border-bottom: 1px solid var(--amber-dim); }
.legal .callout {
    border: 1px solid var(--line);
    border-left: 3px solid var(--amber);
    background: var(--ink-2);
    border-radius: 12px;
    padding: 22px 26px;
    margin: 30px 0;
    color: var(--steel);
    font-size: 15px;
}

/* ============ responsive ============ */
@media (max-width: 980px) {
    .step-grid { grid-template-columns: repeat(2, 1fr); }
    .rights-grid { grid-template-columns: 1fr; gap: 40px; }
    .plane { display: none; }
}
@media (max-width: 680px) {
    body { font-size: 16px; }
    .nav-links { display: none; }
    .wrap { padding: 0 20px; }
    .step-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr; }
    .foot-top { flex-direction: column; gap: 30px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
    /* hero title не должен переполнять узкий экран */
    h1.hero-title { font-size: clamp(32px, 10vw, 50px); letter-spacing: -0.045em; }
    h1.hero-title .row { overflow: visible; }
    .hero-title .outline { -webkit-text-stroke-width: 1px; }
    /* split-flap табло — слова на отдельных строках, компактные плитки */
    .flap {
        font-size: clamp(15px, 6vw, 24px);
        min-width: 0;
        flex: 1;
        max-width: 40px;
        padding: 9px 2px;
    }
    .board { flex-direction: column; gap: 10px; }
    .board-word { gap: 6px; }
    .eyebrow { font-size: 11px; padding: 7px 13px; }
}
