:root {
    --night: #071321;
    --night-soft: #0c2035;
    --panel: #102a43;
    --cyan: #29c7e8;
    --cyan-soft: #a6ecf7;
    --amber: #ffae34;
    --paper: #f5f7fa;
    --white: #ffffff;
    --ink: #11253a;
    --muted: #617187;
    --line: #dce4ec;
    --radius: 1.4rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.75;
}

img { max-width: 100%; height: auto; display: block; }

a { color: #087897; text-underline-offset: .22em; }
a:hover { color: #04546c; }

.skip-link {
    position: fixed;
    z-index: 100;
    top: -5rem;
    left: 1rem;
    padding: .7rem 1rem;
    border-radius: .5rem;
    color: var(--night);
    background: var(--white);
}
.skip-link:focus { top: 1rem; }

.site-header {
    position: fixed;
    z-index: 40;
    top: 0;
    right: 0;
    left: 0;
    padding: 1.05rem 0;
    color: var(--white);
    background: transparent;
    transition: background .2s ease, box-shadow .2s ease, backdrop-filter .2s ease, padding .2s ease;
}

.site-header.is-scrolled {
    padding: .75rem 0;
    background: rgba(5, 14, 24, .88);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand-lockup {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .75rem;
    color: var(--white);
    text-decoration: none;
}
.brand-lockup:hover { color: var(--white); }
.brand-lockup img {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 28px rgba(0,0,0,.3);
}
.brand-lockup strong {
    display: block;
    font-size: .9rem;
    letter-spacing: .18em;
}
.brand-lockup span {
    display: block;
    color: #a9bdcf;
    font-size: .68rem;
    letter-spacing: .04em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: .25rem;
}
.site-nav a {
    padding: .55rem .85rem;
    border-radius: 999px;
    color: #b9cad8;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}
.site-nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.site-nav a.is-active { color: #06131f; background: var(--cyan); }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    color: var(--white);
    background: rgba(7,19,33,.55);
    font-size: 1.35rem;
}

.hero {
    position: relative;
    display: grid;
    min-height: 760px;
    align-items: end;
    overflow: hidden;
    color: var(--white);
    background: var(--night);
}

.hero-media,
.hero-media::after { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
    content: "";
    background:
        linear-gradient(90deg, rgba(5,15,28,.96) 0%, rgba(5,15,28,.82) 42%, rgba(5,15,28,.25) 78%),
        linear-gradient(0deg, rgba(5,15,28,.9), transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 690px;
    padding-top: 10rem;
    padding-bottom: 6rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.15rem;
    color: var(--cyan-soft);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.eyebrow::before {
    width: 2rem;
    height: 1px;
    content: "";
    background: var(--cyan);
}

h1, h2, h3 {
    margin-top: 0;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.035em;
}
h1 {
    max-width: 780px;
    margin-bottom: 1.25rem;
    font-size: clamp(2.55rem, 6.4vw, 5.2rem);
}
h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.9rem, 3.8vw, 3.1rem);
}
h3 {
    margin-bottom: .55rem;
    font-size: 1.2rem;
}

.hero-lead {
    max-width: 610px;
    margin-bottom: 1.8rem;
    color: #c8d5e2;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.btn-action {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    gap: .65rem;
    justify-content: center;
    padding: .8rem 1.35rem;
    border: 0;
    border-radius: 999px;
    color: #06131f;
    background: var(--cyan);
    box-shadow: 0 12px 32px rgba(41,199,232,.22);
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}
.btn-action:hover {
    color: #06131f;
    background: #72e2f5;
    transform: translateY(-2px);
}
.btn-action.alt {
    color: #201506;
    background: var(--amber);
    box-shadow: 0 12px 32px rgba(255,174,52,.2);
}
.btn-action.alt:hover {
    color: #201506;
    background: #ffc66e;
}
.btn-action.ghost {
    color: var(--white);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: none;
}
.btn-action.ghost:hover {
    color: var(--white);
    background: rgba(255,255,255,.14);
}

.section { padding: clamp(4.2rem, 7vw, 7rem) 0; }
.section-dark { color: var(--white); background: var(--night); }
.section-dark p { color: #b9c8d7; }
.section-kicker {
    margin-bottom: .7rem;
    color: #0785a5;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.section-dark .section-kicker { color: var(--cyan-soft); }
.copy-lg { color: var(--muted); font-size: 1.1rem; }

.feature-image {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    box-shadow: 0 24px 60px rgba(7,19,33,.14);
}

.fact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.25rem;
}
.fact-card {
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--white);
}
.fact-card i {
    display: block;
    margin-bottom: .9rem;
    color: #0785a5;
    font-size: 1.7rem;
}
.fact-card p {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.55;
}

.band {
    padding: 2.3rem;
    border-radius: var(--radius);
    color: var(--white);
    background: linear-gradient(135deg, #102f4e, #071728);
    box-shadow: 0 24px 55px rgba(7,19,33,.16);
}
.band p { margin-bottom: 0; color: #bfd0df; }

.steps {
    counter-reset: steps;
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.steps li {
    position: relative;
    padding: 1.3rem 1.3rem 1.3rem 4.3rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--white);
}
.steps li::before {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    color: #07394b;
    background: #c9f3fa;
    content: counter(steps, decimal-leading-zero);
    counter-increment: steps;
    font-size: .68rem;
    font-weight: 900;
}
.steps strong { display: block; margin-bottom: .25rem; }
.steps span { color: var(--muted); font-size: .94rem; }

.note {
    display: flex;
    gap: .55rem;
    align-items: flex-start;
    padding: 1.1rem 1.2rem;
    border-left: 3px solid var(--amber);
    border-radius: 0 .8rem .8rem 0;
    color: #66502f;
    background: #fff7e8;
}

.page-intro {
    padding: 10.5rem 0 5rem;
    color: var(--white);
    background:
        radial-gradient(circle at 82% 20%, rgba(41,199,232,.2), transparent 30%),
        linear-gradient(150deg, #0d2942, var(--night) 62%);
}
.page-intro h1 {
    max-width: 860px;
    font-size: clamp(2.5rem, 5.6vw, 4.6rem);
}
.page-intro p {
    max-width: 680px;
    margin-bottom: 0;
    color: #c4d2df;
    font-size: 1.12rem;
}

.link-next {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 800;
    text-decoration-thickness: 1px;
}

.download-panel {
    padding: clamp(1.5rem, 4vw, 2.6rem);
    border: 1px solid #25445f;
    border-radius: var(--radius);
    color: var(--white);
    background: linear-gradient(150deg, #102c47, #071321);
    box-shadow: 0 28px 70px rgba(7,19,33,.2);
}
.download-panel p { color: #bdcedd; }
.download-actions { margin-top: 1.5rem; }
.specs {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.2rem;
}
.specs span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .7rem;
    border: 1px solid #31516c;
    border-radius: 999px;
    color: #bfd0df;
    font-size: .8rem;
}

.site-footer {
    padding: 3rem 0;
    color: #9eb1c2;
    background: #050e18;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1.1fr;
    gap: 2rem;
    align-items: start;
}
.site-footer strong {
    color: var(--white);
    letter-spacing: .18em;
}
.site-footer p {
    max-width: 420px;
    margin: .45rem 0 0;
    font-size: .9rem;
}
.footer-label {
    margin: 0 0 .7rem;
    color: #8ee8f7;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.footer-links {
    display: grid;
    gap: .45rem;
}
.footer-links a {
    color: #d5e2ec;
    text-decoration: none;
    font-weight: 600;
}
.footer-links a:hover { color: var(--cyan-soft); }
.footer-note {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    margin: 0;
}
.footer-copy {
    display: inline-block;
    margin-top: 1rem;
    font-size: .84rem;
}

.error-panel {
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding: 9rem 0 5rem;
    color: var(--white);
    background: linear-gradient(160deg, #0d2942, var(--night));
    text-align: center;
}
.error-panel h1 { margin-bottom: .8rem; }
.error-panel p {
    max-width: 34rem;
    margin: 0 auto 1.6rem;
    color: #c4d2df;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease, transform .65s ease;
}
[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 991.98px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767.98px) {
    body { line-height: 1.67; }
    .site-header { padding: .85rem 0; }
    .brand-lockup img { width: 46px; height: 46px; }
    .brand-lockup span { display: none; }
    .nav-toggle { display: grid; margin-left: auto; }
    .site-nav {
        position: absolute;
        top: calc(100% + .35rem);
        right: .75rem;
        left: .75rem;
        display: grid;
        gap: .2rem;
        padding: .7rem;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 1rem;
        background: rgba(7,19,33,.97);
        box-shadow: 0 22px 45px rgba(0,0,0,.35);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity .2s ease, transform .2s ease;
    }
    .site-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }
    .site-nav a { padding: .75rem 1rem; border-radius: .7rem; }
    .hero { min-height: 680px; }
    .hero-media::after {
        background: linear-gradient(0deg, rgba(5,15,28,.98) 12%, rgba(5,15,28,.78) 62%, rgba(5,15,28,.35));
    }
    .hero-media img { object-position: 62% center; }
    .hero-content { padding-top: 8.5rem; padding-bottom: 4rem; }
    .fact-grid { grid-template-columns: 1fr; }
    .band { padding: 1.4rem; }
    .page-intro { padding: 8.8rem 0 4rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
