:root {
    --paper: #f8f9fa;
    --pure: #ffffff;
    --surface: #f1f3f5;
    --dark: #0a0a0a;
    --muted: #52525b;
    --border: #e4e4e7;
    --blue: #0052ff;
    --blue-hover: #0040cc;
    --shadow: 0 1px 2px rgba(10, 10, 10, 0.04);
    --header: 5rem;
    --wrap: 80rem;
    --font: "Mozilla Headline", sans-serif;
    --display: "Mozilla Headline", sans-serif;
    --mono: "Mozilla Headline", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--dark);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

::selection {
    background: var(--blue);
    color: var(--pure);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--paper);
}

::-webkit-scrollbar-thumb {
    background: #d4d4d8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1aa;
}

.wrap {
    width: min(var(--wrap), calc(100% - 2.5rem));
    margin-inline: auto;
}

.eyebrow {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--blue);
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

h1,
h2,
h3,
.logo-name,
.metric-value {
    font-family: var(--display);
    letter-spacing: -0.03em;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 40;
    height: var(--header);
    background: rgba(248, 249, 250, 0.88);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
}

.header-bar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.brand img {
    height: 3.25rem;
    width: auto;
}

.brand img.is-missing {
    display: none;
}

.logo-mark {
    width: 2.25rem;
    height: 2.25rem;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: var(--dark);
    color: var(--pure);
    font-family: var(--display);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

.brand img.is-missing + .logo-mark {
    display: flex;
}

.logo-name {
    display: block;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.1;
}

.logo-tag {
    display: block;
    margin-top: 0.1rem;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.56rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2.5rem;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible {
    color: var(--dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 1px solid transparent;
    border-radius: 0.85rem;
    padding: 0.7rem 1.15rem;
    background: var(--blue);
    color: var(--pure);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
    background: var(--blue-hover);
}

.btn-ghost {
    background: var(--pure);
    color: var(--dark);
    border-color: var(--border);
    box-shadow: none;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    background: var(--surface);
}

.btn-header {
    display: none;
    padding: 0.6rem 1rem;
}

.menu-toggle {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 0.85rem;
    background: var(--pure);
    color: var(--dark);
    cursor: pointer;
}

.menu-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
}

.menu-toggle .icon-close {
    display: none;
}

.menu-toggle[aria-expanded="true"] .icon-open {
    display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
    display: block;
}

.nav-mobile {
    display: none;
    padding: 0.5rem 1.25rem 1.75rem;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
}

.nav-mobile.is-open {
    display: block;
}

.nav-mobile a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 700;
}

.nav-mobile .btn {
    width: 100%;
    margin-top: 1rem;
}

.hero {
    padding: 8.5rem 0 5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--pure);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 500;
}

.pulse {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 0 rgba(0, 82, 255, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    70% {
        box-shadow: 0 0 0 8px rgba(0, 82, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 82, 255, 0);
    }
}

.hero h1 {
    max-width: 58rem;
    margin: 0 0 1.5rem;
    font-size: clamp(1.9rem, 4.6vw, 3.6rem);
    font-weight: 700;
    line-height: 1.06;
}

.hero h1 em {
    color: var(--blue);
    font-style: normal;
    text-decoration: underline;
    text-decoration-color: rgba(0, 82, 255, 0.3);
    text-underline-offset: 0.28em;
}

.lede {
    max-width: 40rem;
    margin: 0 0 2.25rem;
    color: var(--muted);
    font-size: 1.15rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-actions .btn {
    padding: 0.95rem 1.5rem;
    font-size: 1rem;
}

.metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.metric-value {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 700;
    line-height: 1.1;
}

.metric-label {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.band {
    padding: 5.5rem 0;
    background: var(--pure);
    border-block: 1px solid var(--border);
}

.section-intro {
    max-width: 44rem;
    margin-bottom: 3rem;
}

.section-intro h2,
.section-head h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
}

.section-intro p,
.section-copy {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.cards {
    display: grid;
    gap: 1.25rem;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    background: var(--paper);
    transition: border-color 0.25s ease;
}

.card:hover {
    border-color: rgba(0, 82, 255, 0.45);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--pure);
    color: var(--blue);
}

.card:hover .card-icon {
    background: var(--blue);
    color: var(--pure);
    border-color: var(--blue);
}

.card-icon svg {
    width: 1.4rem;
    height: 1.4rem;
}

.card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(228, 228, 231, 0.8);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.72rem;
}

.card-meta span:last-child {
    color: var(--blue);
    font-weight: 600;
}

.media {
    padding: 5.5rem 0;
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.video-grid {
    display: grid;
    gap: 1.25rem;
}

.video-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    background: var(--dark);
}

.video-card video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    object-fit: contain;
}

.video-caption {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    background: var(--pure);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact {
    padding: 5.5rem 0;
    background: var(--pure);
    border-top: 1px solid var(--border);
}

.contact-panel {
    display: grid;
    gap: 2.5rem;
    padding: clamp(1.75rem, 4vw, 4rem);
    border: 1px solid var(--border);
    border-radius: 2rem;
    background: var(--paper);
}

.contact-panel h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
}

.contact-panel p {
    margin: 0;
    color: var(--muted);
}

.email-box {
    margin-top: 1.75rem;
}

.email-button {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem;
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    background: var(--pure);
    cursor: pointer;
}

.email-button canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

.copy-note {
    min-height: 1.25rem;
    margin: 0.6rem 0 0;
    color: #047857;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-note.is-visible {
    opacity: 1;
}

.site-footer {
    padding: 4rem 0 2.5rem;
    background: var(--dark);
    color: #fff;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-mark {
    background: var(--blue);
}

.footer-brand .logo-tag {
    color: rgba(255, 255, 255, 0.5);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-top: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--mono);
    font-size: 0.75rem;
}

.footer-bottom p {
    margin: 0;
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

@media (min-width: 640px) {
    .wrap {
        width: min(var(--wrap), calc(100% - 4rem));
    }

    .btn-header {
        display: inline-flex;
    }

    .brand img {
        height: 4rem;
    }
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }

    .menu-toggle,
    .nav-mobile {
        display: none;
    }

    .metrics {
        grid-template-columns: repeat(4, 1fr);
    }

    .cards,
    .video-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-head,
    .footer-top,
    .footer-bottom {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }

    .section-copy {
        max-width: 22rem;
    }
}

@media (min-width: 1024px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .pulse,
    .card,
    .btn,
    .copy-note {
        animation: none;
        transition: none;
    }
}
