:root {
    --bg: #f7f8fe;
    --bg-soft: #f1f3ff;
    --bg-tint: #f5f6ff;
    --surface: #ffffff;
    --surface-muted: #fbfbff;
    --surface-accent: #f1f3ff;
    --text: #1a224d;
    --text-strong: #131a41;
    --text-muted: #69738f;
    --text-soft: #8c96b2;
    --line: #e7eaf7;
    --line-strong: #dde2f4;
    --accent: #615dff;
    --accent-strong: #4f49f6;
    --accent-soft: #eceeff;
    --green: #2fa56b;
    --green-soft: #ebf8f1;
    --orange: #f59a3b;
    --orange-soft: #fff3e7;
    --red: #ef646b;
    --red-soft: #fff0f1;
    --footer: #14193d;
    --footer-line: rgba(255, 255, 255, 0.12);
    --shadow-soft: 0 18px 44px rgba(73, 88, 173, 0.08);
    --shadow-card: 0 16px 34px rgba(78, 95, 182, 0.08);
    --shadow-hero: 0 28px 68px rgba(69, 85, 164, 0.12);
    --radius-sm: 18px;
    --radius: 24px;
    --radius-lg: 30px;
    --radius-xl: 38px;
    --container: 1220px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --dur-fast: 220ms;
    --dur-mid: 560ms;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 18% 15%, rgba(93, 111, 255, 0.06), transparent 22%),
        radial-gradient(circle at 82% 22%, rgba(124, 139, 255, 0.05), transparent 20%),
        linear-gradient(180deg, #fbfbff 0%, #f7f8fe 100%);
    color: var(--text);
    font-family: "Golos Text", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
    max-width: 100%;
}

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

button,
input {
    font: inherit;
}

button {
    border: none;
    background: none;
    color: inherit;
    cursor: pointer;
}

h1,
h2,
h3,
h4,
strong {
    margin: 0;
    font-family: "Golos Display", sans-serif;
    letter-spacing: 0;
}

p,
ul,
ol {
    margin: 0;
}

ul,
ol {
    padding: 0;
}

:focus-visible {
    outline: 3px solid rgba(97, 93, 255, 0.45);
    outline-offset: 4px;
    border-radius: 12px;
}

.container {
    width: min(calc(100% - 72px), var(--container));
    margin: 0 auto;
    max-width: var(--container);
    padding: 0;
}

.shell {
    position: relative;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 251, 255, 0.92);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(8px);
    transition:
        background var(--dur-fast) var(--ease),
        border-color var(--dur-fast) var(--ease),
        box-shadow var(--dur-fast) var(--ease);
}

.site-header.scrolled {
    border-color: rgba(221, 226, 245, 0.95);
    box-shadow: 0 8px 18px rgba(74, 88, 154, 0.05);
}

.header-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(97, 93, 255, 0.12);
}

.brand-name {
    font-family: "Golos Display", sans-serif;
    font-size: 1.62rem;
    font-weight: 700;
    color: var(--text-strong);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--text);
    font-size: 0.94rem;
    font-weight: 500;
}

.header-nav a {
    opacity: 0.9;
    transition: color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

.header-nav a:hover {
    opacity: 1;
    color: var(--text-strong);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 16px;
    font-family: "Golos Display", sans-serif;
    font-weight: 600;
    transition:
        transform var(--dur-fast) var(--ease),
        box-shadow var(--dur-fast) var(--ease),
        border-color var(--dur-fast) var(--ease),
        background var(--dur-fast) var(--ease),
        color var(--dur-fast) var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    padding: 14px 24px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 14px 26px rgba(97, 93, 255, 0.16);
}

.btn-secondary {
    padding: 14px 24px;
    border: 1px solid rgba(97, 93, 255, 0.24);
    background: var(--surface);
    color: var(--accent-strong);
}

.btn-large {
    min-height: 56px;
    padding: 15px 20px;
    font-size: 0.94rem;
}

.label-short {
    display: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(97, 93, 255, 0.08);
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #8a88ff);
}

.hero {
    position: relative;
    overflow: clip;
    padding: 26px 0 14px;
}

.hero-city {
    position: absolute;
    inset: 84px 0 auto;
    height: 320px;
    background:
        radial-gradient(circle at 60% 40%, rgba(105, 100, 255, 0.06), transparent 24%),
        linear-gradient(180deg, transparent, rgba(232, 236, 255, 0.42));
    pointer-events: none;
}

.hero-city::before {
    content: "";
    position: absolute;
    left: 30%;
    right: 18%;
    bottom: 48px;
    height: 160px;
    opacity: 0.15;
    background:
        linear-gradient(180deg, transparent 0 58%, rgba(115, 125, 182, 0.16) 58% 100%),
        linear-gradient(90deg,
            transparent 0 6%,
            rgba(115, 125, 182, 0.2) 6% 9%,
            transparent 9% 16%,
            rgba(115, 125, 182, 0.16) 16% 23%,
            transparent 23% 31%,
            rgba(115, 125, 182, 0.18) 31% 36%,
            transparent 36% 48%,
            rgba(115, 125, 182, 0.16) 48% 54%,
            transparent 54% 66%,
            rgba(115, 125, 182, 0.16) 66% 72%,
            transparent 72% 84%,
            rgba(115, 125, 182, 0.18) 84% 90%,
            transparent 90% 100%);
    mask-image: linear-gradient(180deg, transparent, black 22%, black 80%, transparent);
}

.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
    gap: 16px 34px;
    align-items: start;
}

.hero-copy {
    padding-top: 16px;
    position: relative;
    z-index: 2;
}

.hero-copy h1 {
    margin-top: 12px;
    font-size: 4.25rem;
    line-height: 0.95;
    color: var(--text-strong);
}

.hero-copy h1 span {
    display: block;
}

.accent-word {
    color: var(--accent);
}

.hero-kicker {
    margin-top: 14px;
    font-size: 1.22rem;
    font-weight: 600;
    color: var(--text-strong);
    max-width: 28rem;
}

.hero-description {
    max-width: 30rem;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.56;
}

.hero-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 20px;
}

.hero-actions .btn {
    white-space: nowrap;
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.benefit-pill {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.44;
}

.benefit-pill > span:last-child,
.rail-node > div,
.step-card,
.role-card,
.case-panel,
.metric-card,
.pilot-item {
    min-width: 0;
}

.benefit-pill > span:last-child,
.rail-node strong,
.rail-node p,
.rail-kicker,
.step-card,
.role-card,
.case-panel,
.metric-card,
.pilot-item {
    overflow-wrap: anywhere;
}

.benefit-icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--surface);
    color: var(--accent);
    box-shadow: 0 8px 18px rgba(87, 102, 190, 0.05);
}

.hero-visual {
    position: relative;
    min-height: 438px;
}

.hero-phone-wrap {
    position: absolute;
    left: 27%;
    top: 0;
    z-index: 3;
    width: min(28vw, 260px);
    height: 528px;
    overflow: hidden;
    border-radius: 34px;
    filter: drop-shadow(0 28px 56px rgba(59, 71, 138, 0.18));
}

.hero-phone {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    mask-image: linear-gradient(180deg, black 0%, black 82%, transparent 98%);
}

.hero-building-wrap {
    position: absolute;
    right: 0;
    top: 18px;
    z-index: 1;
    width: min(22vw, 204px);
    height: 356px;
    border-radius: 26px;
    overflow: hidden;
}

.hero-building {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 100% 0;
}

.floating-card {
    position: absolute;
    right: 58px;
    bottom: 40px;
    z-index: 4;
    width: min(100%, 276px);
    padding: 14px 14px 13px;
    border-radius: 22px;
    border: 1px solid rgba(222, 227, 247, 0.9);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 38px rgba(73, 88, 173, 0.08);
    backdrop-filter: blur(10px);
}

.floating-kicker {
    display: block;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.floating-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
}

.floating-head strong {
    font-size: 1.58rem;
    line-height: 1;
    color: var(--text-strong);
}

.floating-head img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.floating-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.floating-tags span {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(97, 93, 255, 0.08);
    color: var(--text);
    font-size: 0.82rem;
}

.floating-tags.muted span {
    background: rgba(97, 93, 255, 0.05);
}

.hero-rail {
    grid-column: 1 / -1;
    margin-top: 0;
    padding: 13px 16px 12px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 32px rgba(73, 88, 173, 0.06);
}

.hero-rail-track {
    display: grid;
    grid-template-columns: repeat(7, auto);
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.rail-node {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.rail-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(97, 93, 255, 0.08);
    color: var(--accent);
}

.rail-icon.is-orange {
    color: var(--orange);
    background: var(--orange-soft);
}

.rail-node strong {
    display: block;
    font-size: 0.98rem;
    color: var(--text-strong);
}

.rail-node p,
.rail-kicker {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.rail-kicker {
    display: block;
    margin-bottom: 2px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rail-arrow {
    color: var(--accent);
    font-size: 1.4rem;
    line-height: 1;
}

.hero-rail-summary {
    margin-top: 8px;
    text-align: center;
    color: var(--text);
    font-size: 0.98rem;
}

.section-card {
    padding: 10px 0 0;
}

.section-card > .container {
    padding-top: 24px;
}

.section-top {
    margin-bottom: 28px;
}

.split-head {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 24px 56px;
    align-items: start;
}

.split-head h2,
.roles-intro h2,
.case-intro h2,
.pilot-intro h2 {
    font-size: 2.45rem;
    line-height: 0.98;
    color: var(--text-strong);
}

.split-head p,
.roles-intro p,
.case-intro p,
.pilot-intro p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.68;
}

.section-steps .shell,
.section-roles .shell,
.section-case .shell,
.section-pilot .shell {
    padding: 24px 28px 24px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 24px rgba(73, 88, 173, 0.035);
}

.steps-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.steps-grid::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 38px;
    height: 1px;
    background: linear-gradient(90deg, rgba(97, 93, 255, 0.12), rgba(97, 93, 255, 0.32), rgba(97, 93, 255, 0.12));
}

.step-card {
    position: relative;
    padding: 0 8px;
}

.step-meta {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.step-number,
.step-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--surface-accent);
    color: var(--accent);
    box-shadow: 0 8px 20px rgba(88, 104, 192, 0.08);
    font-size: 0.84rem;
    font-weight: 700;
}

.step-card h3 {
    font-size: 1.22rem;
    line-height: 1.08;
    color: var(--text-strong);
    margin-bottom: 14px;
}

.step-card ul {
    list-style: none;
    display: grid;
    gap: 7px;
}

.step-card li {
    position: relative;
    padding-left: 18px;
    color: var(--text);
    font-size: 0.88rem;
    line-height: 1.48;
}

.step-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.roles-shell {
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--accent-strong);
    font-weight: 600;
}

.role-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.role-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 16px 16px 12px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 249, 255, 0.94));
    box-shadow: 0 8px 18px rgba(78, 95, 182, 0.035);
}

.role-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.role-card-icon,
.role-card-number {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.role-card-icon {
    color: var(--accent);
    background: var(--accent-soft);
}

.role-card-icon.is-orange,
.role-card-number.is-orange {
    color: var(--orange);
    background: var(--orange-soft);
}

.role-card-number {
    color: var(--accent);
    background: rgba(97, 93, 255, 0.08);
    font-size: 0.78rem;
    font-weight: 700;
}

.role-card-number.is-green {
    color: var(--green);
    background: var(--green-soft);
}

.role-card h3 {
    margin-top: 14px;
    font-size: 1.18rem;
    line-height: 1;
    color: var(--text-strong);
}

.role-card p {
    margin-top: 10px;
    color: var(--text);
    font-size: 0.88rem;
    line-height: 1.48;
}

.role-photo {
    width: 100%;
    height: 145px;
    margin-top: auto;
    padding-top: 14px;
    object-fit: cover;
    object-position: center top;
    border-radius: 18px;
}

.case-shell {
    display: grid;
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr) minmax(0, 220px);
    gap: 20px;
    align-items: start;
}

.case-intro .btn {
    margin-top: 24px;
}

.case-compare {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.case-versus {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--footer);
    color: #ffffff;
    font-family: "Golos Display", sans-serif;
    font-size: 1.1rem;
    box-shadow: 0 18px 32px rgba(20, 25, 61, 0.22);
}

.case-panel {
    padding: 20px 18px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(250, 251, 255, 0.9);
}

.case-label {
    display: inline-block;
    margin-bottom: 14px;
    font-family: "Golos Display", sans-serif;
    font-size: 1.28rem;
    line-height: 1;
}

.case-label.is-red {
    color: var(--red);
}

.case-label.is-green {
    color: var(--green);
}

.case-panel ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.case-panel li {
    position: relative;
    padding-left: 28px;
    color: var(--text);
    font-size: 0.88rem;
    line-height: 1.5;
}

.case-before li::before,
.case-after li::before {
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
}

.case-before li::before {
    content: "×";
    color: var(--red);
    background: var(--red-soft);
}

.case-after li::before {
    content: "✓";
    color: var(--green);
    background: var(--green-soft);
}

.case-metrics {
    display: grid;
    gap: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
}

.metric-card {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 2px 12px;
    align-items: start;
    padding: 0;
    border: 0;
    background: transparent;
}

.metric-card + .metric-card {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.metric-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    grid-row: 1 / span 2;
}

.metric-card strong {
    display: block;
    grid-column: 2;
    margin-top: 0;
    color: var(--green);
    font-size: 2.25rem;
    line-height: 1;
}

.metric-card p {
    grid-column: 2;
    margin-top: 0;
    color: var(--text);
    font-size: 0.82rem;
    line-height: 1.42;
}

.pilot-shell {
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.pilot-intro .btn {
    margin-top: 24px;
}

.pilot-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.pilot-item {
    position: relative;
    padding: 0 6px 0 24px;
}

.pilot-item::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(97, 93, 255, 0.14), rgba(97, 93, 255, 0.06));
}

.pilot-item-number {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-left: -18px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
}

.pilot-item h3 {
    margin-top: 10px;
    font-size: 0.98rem;
    line-height: 1.15;
    color: var(--text-strong);
}

.pilot-item p {
    margin-top: 8px;
    color: var(--text);
    font-size: 0.82rem;
    line-height: 1.45;
}

.site-footer {
    margin-top: 24px;
    padding: 30px 0 22px;
    background: linear-gradient(180deg, #151a40 0%, #11163a 100%);
    color: rgba(245, 247, 255, 0.88);
}

.footer-shell {
    display: grid;
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    gap: 28px 34px;
    align-items: start;
}

.brand-footer .brand-name {
    color: #ffffff;
    font-size: 1.6rem;
}

.footer-brand p {
    max-width: 18rem;
    margin-top: 18px;
    color: rgba(241, 244, 255, 0.72);
}

.footer-brand small {
    display: block;
    margin-top: 24px;
    color: rgba(241, 244, 255, 0.45);
    font-size: 0.84rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.footer-col h4 {
    font-size: 1rem;
    color: #ffffff;
}

.footer-col p {
    margin-top: 10px;
    color: rgba(241, 244, 255, 0.7);
    font-size: 0.92rem;
    line-height: 1.6;
}

.footer-col a,
.footer-col span {
    display: block;
    margin-top: 10px;
    color: rgba(241, 244, 255, 0.76);
    font-size: 0.92rem;
    line-height: 1.45;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-col-legal {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
}

.subscribe-form {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 16px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
}

.subscribe-form input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 13px 14px;
    border: none;
    background: transparent;
    color: #ffffff;
}

.subscribe-form input::placeholder {
    color: rgba(241, 244, 255, 0.52);
}

.subscribe-btn {
    width: 48px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), #7877ff);
    color: #ffffff;
}

.footer-legal-note {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--footer-line);
}

.footer-legal-note a {
    margin-top: 0;
    color: rgba(241, 244, 255, 0.62);
    font-size: 0.84rem;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 420ms var(--ease),
        transform 420ms var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1220px) {
    .header-nav {
        gap: 22px;
        font-size: 0.9rem;
    }

    .hero-shell {
        grid-template-columns: minmax(0, 390px) minmax(0, 1fr);
    }

    .hero-phone-wrap {
        left: 18%;
        width: min(28vw, 244px);
        height: 496px;
    }

    .floating-card {
        right: 36px;
        bottom: 38px;
    }

    .role-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .case-shell {
        grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    }

    .case-metrics {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .case-metrics .metric-card + .metric-card {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

    .pilot-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .header-nav {
        display: none;
    }

    .hero {
        padding-top: 24px;
    }

    .hero-shell {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding-top: 10px;
        max-width: 620px;
    }

    .hero-visual {
        min-height: 450px;
        margin-top: 6px;
    }

    .hero-phone-wrap {
        left: 50%;
        width: 240px;
        transform: translateX(-48%);
    }

    .hero-building-wrap {
        right: 12px;
        width: 176px;
    }

    .floating-card {
        right: 28px;
        bottom: 52px;
    }

    .hero-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-rail-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rail-arrow {
        display: none;
    }

    .split-head,
    .roles-shell,
    .case-shell,
    .footer-shell {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steps-grid::before {
        display: none;
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .container {
        width: 100%;
        padding: 0 18px;
    }

    .header-shell {
        min-height: 78px;
        gap: 14px;
    }

    .brand-logo {
        width: 38px;
        height: 38px;
    }

    .brand-name {
        font-size: 1.45rem;
    }

    .label-full {
        display: none;
    }

    .label-short {
        display: inline;
    }

    .hero-copy h1 {
        font-size: 3.4rem;
    }

    .hero-kicker {
        font-size: 1.14rem;
    }

    .hero-description {
        font-size: 0.98rem;
        line-height: 1.58;
    }

    .hero-actions {
        display: grid;
        gap: 12px;
    }

    .btn-large {
        width: 100%;
    }

    .hero-benefits {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-visual {
        min-height: 474px;
    }

    .hero-phone-wrap {
        width: 240px;
        height: 498px;
    }

    .hero-building-wrap {
        top: 44px;
        width: 172px;
    }

    .floating-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 286px;
        margin-left: auto;
        width: min(100%, 310px);
    }

    .hero-rail {
        padding: 15px 16px;
    }

    .hero-rail-track {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .section-steps .shell,
    .section-roles .shell,
    .section-case .shell,
    .section-pilot .shell {
        padding: 26px 18px 22px;
        border-radius: 26px;
    }

    .split-head h2,
    .roles-intro h2,
    .case-intro h2,
    .pilot-intro h2 {
        font-size: 2.35rem;
    }

    .steps-grid,
    .role-cards,
    .case-compare,
    .case-metrics,
    .pilot-steps,
    .footer-columns {
        grid-template-columns: 1fr;
    }

    .case-versus {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 0 auto;
    }

    .case-compare {
        gap: 14px;
    }

    .role-photo {
        height: 200px;
    }

    .footer-col-subscribe {
        grid-column: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 560px) {
    .header-cta {
        padding: 12px 14px;
        font-size: 0.84rem;
    }

    .hero {
        padding-bottom: 8px;
    }

    .hero-copy h1 {
        font-size: 2.38rem;
        line-height: 0.98;
    }

    .hero-kicker {
        font-size: 1.04rem;
        line-height: 1.34;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.56;
    }

    .hero-visual {
        min-height: 374px;
    }

    .hero-phone-wrap {
        left: 50%;
        width: 196px;
        max-width: calc(100vw - 36px);
        height: 410px;
        transform: translateX(-50%);
    }

    .hero-building-wrap {
        display: none;
    }

    .floating-card {
        margin-top: 214px;
        width: 100%;
    }

    .hero-rail-summary {
        text-align: left;
        font-size: 0.94rem;
    }

    .role-card,
    .metric-card,
    .case-panel {
        border-radius: 20px;
    }

    .hero-actions .btn {
        width: 100%;
        min-width: 0;
        white-space: normal;
    }

    .case-metrics {
        grid-template-columns: 1fr;
    }

    .case-metrics .metric-card {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .case-metrics .metric-card + .metric-card {
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid var(--line);
    }

    .step-card h3 {
        font-size: 1.1rem;
        line-height: 1.14;
    }

    .step-card li,
    .role-card p,
    .case-panel li,
    .pilot-item p,
    .metric-card p {
        font-size: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --- Contact section + forms ----------------------------------------- */

.section-contact {
    padding: 96px 0 120px;
}

.contact-shell {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.4fr);
    gap: 64px;
    align-items: start;
}

.contact-intro h2 {
    font-family: "Golos Display", "Golos Text", system-ui, sans-serif;
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.1;
    margin: 0 0 16px;
}

.contact-intro p {
    color: rgba(20, 24, 50, 0.65);
    font-size: 1.05rem;
    margin: 0;
    max-width: 38ch;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #fff;
    border: 1px solid rgba(20, 24, 50, 0.08);
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 24px 60px -32px rgba(20, 24, 50, 0.18);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .section-contact {
        padding: 64px 0 80px;
    }
    .contact-shell {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .contact-form {
        padding: 22px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(20, 24, 50, 0.7);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(20, 24, 50, 0.14);
    background: #fafbff;
    font: inherit;
    color: rgba(20, 24, 50, 0.92);
    transition: border-color 120ms ease, background 120ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(82, 78, 222, 0.7);
    background: #fff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 96px;
}

.consent-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    font-size: 0.86rem;
    line-height: 1.45;
    color: rgba(20, 24, 50, 0.72);
    cursor: pointer;
}

.consent-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #524ede;
    cursor: pointer;
    flex-shrink: 0;
}

.consent-row a {
    color: #4540c8;
    text-decoration: underline;
}

.consent-row-compact {
    font-size: 0.78rem;
    line-height: 1.4;
    margin-top: 10px;
    color: rgba(241, 244, 255, 0.72);
}

.consent-row-compact a {
    color: rgba(241, 244, 255, 0.92);
}

.consent-row-compact input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #fff;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}

.form-status {
    margin: 0;
    font-size: 0.86rem;
    color: rgba(20, 24, 50, 0.6);
    min-height: 1.2em;
}

.form-status-ok {
    color: #198754;
}

.form-status-error {
    color: #c0392b;
}

.form-status-info {
    color: rgba(20, 24, 50, 0.6);
}

.footer-col-subscribe .form-status {
    color: rgba(241, 244, 255, 0.7);
    margin-top: 10px;
}

.footer-col-subscribe .form-status-ok {
    color: #8be0a4;
}

.footer-col-subscribe .form-status-error {
    color: #ffb4a3;
}

.hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* --- Cookie info banner ---------------------------------------------- */

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 220ms ease, transform 220ms ease;
    pointer-events: none;
}

.cookie-banner.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner-inner {
    max-width: 720px;
    margin: 0 auto;
    background: #14182f;
    color: #f1f4ff;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 18px 48px -16px rgba(20, 24, 50, 0.5);
}

.cookie-banner-inner p {
    margin: 0;
    flex: 1 1 auto;
    font-size: 0.86rem;
    line-height: 1.45;
    color: rgba(241, 244, 255, 0.85);
}

.cookie-banner-inner a {
    color: #fff;
    text-decoration: underline;
}

.cookie-banner-btn {
    flex: 0 0 auto;
    background: #fff;
    color: #14182f;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background 120ms ease;
}

.cookie-banner-btn:hover {
    background: rgba(255, 255, 255, 0.86);
}

@media (max-width: 540px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        gap: 12px;
    }
    .cookie-banner-btn {
        align-self: flex-end;
    }
}
