/* ==========================================================================
   Polar 22 Technologies
   Deep-space navy, electric blue and brushed silver, taken from the logo.
   ========================================================================== */

:root {
    --navy-950: #010b22;
    --navy-900: #04122f;
    --navy-850: #071a3d;
    --navy-800: #0b2350;
    --line: rgba(130, 175, 255, 0.14);
    --line-strong: rgba(130, 175, 255, 0.28);

    --blue: #1e7bff;
    --blue-deep: #1267ff;
    --cyan: #2ec5ff;
    --ice: #6de7ff;
    --grad-blue: linear-gradient(135deg, var(--ice) 0%, #00bfff 45%, var(--blue-deep) 100%);

    --silver: #e9eef4;
    --text: #dfe7f3;
    --muted: #8fa1bf;
    --white: #ffffff;

    --success: #3fd69c;
    --warning: #f2b33a;
    --danger: #ff6b7a;

    --accent: var(--cyan);

    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Sora", "Inter", system-ui, sans-serif;
    --font-tech: "Michroma", "Sora", system-ui, sans-serif;

    --radius: 14px;
    --radius-lg: 22px;
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 72px;
    --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--navy-950);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--cyan);
    text-decoration: none;
}

a:hover {
    color: var(--ice);
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.5em;
    text-wrap: balance;
}

h1 {
    /* Largest heading size on the site; nothing else should exceed it. */
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    font-weight: 600;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin: 0 0 1em;
}

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 100;
    padding: 8px 14px;
    background: var(--white);
    color: var(--navy-950);
    border-radius: 8px;
}

.skip-link:focus {
    top: 12px;
}

.eyebrow {
    font-family: var(--font-tech);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 1rem;
}

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

.lead {
    font-size: clamp(1.05rem, 1.6vw, 1.22rem);
    color: var(--text);
    max-width: 62ch;
}

.muted {
    color: var(--muted);
}

.note {
    display: inline-block;
    padding: 4px 12px;
    border: 1px dashed var(--warning);
    border-radius: 999px;
    color: var(--warning);
    font-size: 0.85rem;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-height: 48px;
    padding: 0 1.5rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font: 600 0.95rem/1 var(--font-body);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

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

.btn-sm {
    min-height: 38px;
    padding: 0 1.1rem;
    font-size: 0.875rem;
}

.btn-primary {
    /* No border: a transparent border lets the gradient tile underneath and leaves light slivers at the edges. */
    border: 0;
    background: linear-gradient(180deg, #1f8bff 0%, #0b5bd8 100%);
    background-origin: border-box;
    color: #ffffff;
    text-shadow: 0 1px 1px rgba(0, 30, 90, 0.35);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(0, 40, 120, 0.25),
        0 1px 2px rgba(0, 0, 0, 0.4),
        0 6px 18px -6px rgba(22, 119, 255, 0.55);
}

.btn-primary:hover {
    color: #ffffff;
    background: linear-gradient(180deg, #3197ff 0%, #1266e6 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        inset 0 -1px 0 rgba(0, 40, 120, 0.25),
        0 1px 2px rgba(0, 0, 0, 0.4),
        0 10px 24px -8px rgba(22, 119, 255, 0.7);
}

.btn-primary:active {
    transform: translateY(0);
    background: linear-gradient(180deg, #0b5bd8 0%, #0a4fbd 100%);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--line-strong);
    color: var(--white);
}

.btn-ghost:hover {
    color: var(--white);
    border-color: var(--cyan);
    background: rgba(46, 197, 255, 0.08);
}

.link-out {
    font-weight: 600;
    color: var(--accent);
}

.link-out:hover {
    color: var(--white);
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-h);
    background: rgba(1, 11, 34, 0.72);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    background: rgba(1, 11, 34, 0.9);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
}

.brand img {
    height: 34px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a:not(.btn) {
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
}

.site-nav a:not(.btn):hover,
.site-nav a.is-active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
    margin-left: 10px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    place-content: center;
    gap: 6px;
}

.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-of-type {
    transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-of-type {
    transform: translateY(-4px) rotate(-45deg);
}

@media (max-width: 820px) {
    .nav-toggle {
        display: grid;
    }

    .brand img {
        height: 28px;
    }

    .site-nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px var(--gutter) 24px;
        background: var(--navy-900);
        border-bottom: 1px solid var(--line);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }

    .site-nav.is-open {
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .site-nav a:not(.btn) {
        padding: 12px 14px;
        font-size: 1.05rem;
    }

    .nav-cta {
        margin: 8px 0 0;
    }
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 8vw, 110px) 0 clamp(56px, 8vw, 120px);
}

.hero-glow {
    position: absolute;
    inset: -20% -10% auto;
    height: 120%;
    background:
        radial-gradient(40% 50% at 72% 45%, rgba(18, 103, 255, 0.28), transparent 70%),
        radial-gradient(30% 40% at 20% 20%, rgba(46, 197, 255, 0.10), transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: clamp(24px, 5vw, 64px);
}

.hero-copy h1 {
    background: linear-gradient(180deg, #ffffff 30%, #b8c6da 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.hero-mark {
    position: relative;
    aspect-ratio: 1220 / 780;
}

.hero-mark img {
    position: relative;
    width: 100%;
    height: auto;
    /* Transparent artwork, so it sits on the hero glow with no visible box. */
    filter: drop-shadow(0 20px 50px rgba(18, 103, 255, 0.25));
    animation: float 9s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-mark {
        order: -1;
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
    position: relative;
    padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 4vw, 48px);
    background: radial-gradient(60% 120% at 85% 0%, rgba(18, 103, 255, 0.18), transparent 60%);
}

.page-hero-center {
    text-align: center;
    padding-bottom: clamp(64px, 10vw, 140px);
}

.page-hero-center .lead {
    margin-inline: auto;
}

.page-hero-center .hero-actions {
    justify-content: center;
}

/* ---------- Sections ---------- */

.section {
    padding: clamp(56px, 8vw, 112px) 0;
}

.section-tight {
    padding-top: clamp(16px, 3vw, 32px);
}

.section-alt {
    background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
    border-block: 1px solid var(--line);
}

.section-head {
    max-width: 720px;
    margin-bottom: clamp(32px, 5vw, 56px);
}

/* ---------- Spotlight (featured product) ----------
   Products are shown in the site's own palette; their brand colors live on their own sites. */

.spotlight {
    position: relative;
    padding: clamp(56px, 8vw, 112px) 0;
    background:
        radial-gradient(50% 60% at 50% 55%, rgba(18, 103, 255, 0.16), transparent 70%),
        linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-950) 100%);
    border-block: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
    overflow: hidden;
}

.spotlight-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.spotlight-title {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: clamp(2rem, 4vw, 3.1rem);
    margin-bottom: 0.2em;
}

.spotlight-title img {
    width: clamp(44px, 5vw, 56px);
    height: auto;
    border-radius: 12px;
}

.spotlight-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--silver);
    margin: 0;
}

.spotlight-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.spotlight-shot {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow), 0 0 120px -40px var(--accent);
}

.spotlight-shot img {
    width: 100%;
    height: auto;
}

.spotlight-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(24px, 5vw, 64px);
    margin-top: clamp(32px, 5vw, 56px);
}

@media (max-width: 820px) {
    .spotlight-body {
        grid-template-columns: 1fr;
    }
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 28px;
}

.feature-list li {
    position: relative;
    padding-left: 22px;
    color: var(--text);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.feature-list-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .feature-list-wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {

    .feature-list,
    .feature-list-wide {
        grid-template-columns: 1fr;
    }
}

/* ---------- The name (Polar + 22) ---------- */

.name-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

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

.name-card {
    position: relative;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(160deg, rgba(109, 231, 255, 0.07), transparent 45%),
        linear-gradient(160deg, var(--navy-850), var(--navy-950));
    overflow: hidden;
}

.name-mark {
    display: block;
    margin-bottom: 20px;
    font-family: var(--font-tech);
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: 0.06em;
    line-height: 1;
    background: linear-gradient(180deg, #ffffff 0%, #9eaabb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.name-mark-num {
    background: var(--grad-blue);
    -webkit-background-clip: text;
    background-clip: text;
}

/* ---------- Product cards ---------- */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
    gap: 24px;
}

.product-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--navy-900);
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.product-card:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
    transform: translateY(-3px);
}

.product-card-media {
    display: block;
    aspect-ratio: 16 / 9;
    background: radial-gradient(70% 90% at 50% 100%, rgba(18, 103, 255, 0.22), var(--navy-950));
    overflow: hidden;
}

.product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.product-card:hover .product-card-media img {
    transform: scale(1.03);
}

.product-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.product-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.product-card-head .eyebrow {
    margin-bottom: 4px;
    font-size: 0.62rem;
}

.product-card-head h3 {
    margin: 0;
}

.product-card-head h3 a {
    color: var(--white);
}

.product-icon {
    border-radius: 11px;
}

.product-card-body > .status {
    align-self: flex-start;
    margin-bottom: 14px;
}

/* A lone product gets a wide, side-by-side card instead of one small tile in an empty grid. */
.product-grid-single {
    grid-template-columns: 1fr;
}

.product-grid-single .product-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
}

.product-grid-single .product-card-media {
    aspect-ratio: auto;
    min-height: 100%;
}

.product-grid-single .product-card-body {
    padding: clamp(24px, 3vw, 40px);
}

.product-grid-single .product-card-head h3 {
    font-size: 1.75rem;
}

@media (max-width: 860px) {
    .product-grid-single .product-card {
        display: flex;
    }

    .product-grid-single .product-card-media {
        aspect-ratio: 16 / 9;
    }
}

.product-card-tagline {
    font-family: var(--font-display);
    color: var(--white);
    margin-bottom: 0.5em;
}

.product-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    color: var(--text);
}

.status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status-released {
    color: var(--success);
}

.status-beta {
    color: var(--cyan);
}

.status-comingsoon {
    color: var(--warning);
}

/* ---------- Filter chips ---------- */

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.chip {
    padding: 8px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
}

.chip:hover {
    color: var(--white);
    border-color: var(--cyan);
}

.chip.is-active {
    background: var(--white);
    border-color: var(--white);
    color: var(--navy-950);
}

/* ---------- Product detail ---------- */

.product-hero {
    background:
        radial-gradient(60% 120% at 80% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%);
}

.breadcrumb {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 28px;
}

.breadcrumb a {
    color: var(--muted);
}

.breadcrumb a:hover {
    color: var(--white);
}

.product-hero-head {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 28px);
}

.product-hero-head h1 {
    margin: 10px 0 4px;
}

.product-hero-icon {
    width: clamp(72px, 10vw, 112px);
    height: auto;
    border-radius: 22px;
    box-shadow: 0 20px 50px -20px var(--accent);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: clamp(24px, 5vw, 64px);
    align-items: start;
}

@media (max-width: 820px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
}

.prose {
    max-width: 68ch;
}

.prose p {
    color: var(--text);
}

.prose h2 {
    font-size: 1.5rem;
    margin-top: 1.6em;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose-narrow {
    max-width: 72ch;
}

.spec-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--navy-900);
}

.spec-card + .spec-card {
    margin-top: 16px;
}

.spec-card dl,
.about-card dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 20px;
    margin: 0;
}

.spec-card dt,
.about-card dt {
    color: var(--muted);
    font-size: 0.9rem;
}

.spec-card dd,
.about-card dd {
    margin: 0;
    color: var(--white);
}

.cta-band {
    text-align: center;
    background: radial-gradient(50% 100% at 50% 100%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
}

.cta-band-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* ---------- About ---------- */

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: clamp(24px, 5vw, 64px);
    align-items: start;
}

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

.about-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--navy-850), var(--navy-950));
}

.about-card img {
    width: 70%;
    height: auto;
    margin: 0 auto;
}

/* ---------- Forms ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

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

.form-card {
    padding: clamp(20px, 4vw, 36px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--navy-900);
}

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

@media (max-width: 560px) {
    .field-row {
        grid-template-columns: 1fr;
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.field label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--navy-950);
    color: var(--white);
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(46, 197, 255, 0.18);
}

textarea {
    resize: vertical;
}

.input-validation-error {
    border-color: var(--danger);
}

.field-error,
.form-error {
    color: var(--danger);
    font-size: 0.85rem;
}

.form-error ul {
    margin: 0 0 16px;
    padding-left: 18px;
}

.turnstile {
    grid-column: 1 / -1;
    margin-bottom: 16px;
}

.newsletter-form .turnstile {
    margin-bottom: 0;
}

.form-note {
    grid-column: 1 / -1;
    margin: 4px 0 0;
    color: var(--success);
    font-size: 0.92rem;
}

.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- Newsletter ---------- */

.newsletter {
    border-top: 1px solid var(--line);
    background:
        radial-gradient(40% 80% at 100% 50%, rgba(18, 103, 255, 0.16), transparent 70%),
        var(--navy-950);
}

.newsletter-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
}

.newsletter h2 {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.newsletter-form input {
    border-radius: 999px;
    padding-inline: 20px;
}

@media (max-width: 860px) {
    .newsletter-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .newsletter-form {
        grid-template-columns: 1fr;
    }
}

/* ---------- Footer ---------- */

.site-footer {
    padding: clamp(48px, 7vw, 80px) 0 32px;
    background: #000817;
    border-top: 1px solid var(--line);
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 32px;
}

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

.footer-brand img {
    width: 160px;
    height: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--muted);
    max-width: 34ch;
}

.footer-heading {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.site-footer a {
    color: var(--text);
}

.site-footer a:hover {
    color: var(--white);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.85rem;
}

/* ---------- Motion ---------- */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

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