/* Support pages (warranty / shipping / technical-docs).
   Same KAMIK-OG datasheet chrome as contact-sales / catalog, scoped to
   .support-page. Loaded after styles.css + nav.css.
   ponytail: this is the project's 4th copy of the page-chrome block
   (contact-sales.css, product.css, content-page.css being the others).
   If these ever get unified, fold .support-page into the shared selector. */

html.support-page {
    color-scheme: dark;
    background: var(--home-void, #000);
}

.support-page body {
    min-height: 100vh;
    position: relative;
    isolation: isolate;
    overflow-x: clip;
    background: var(--home-void, #000);
    color: var(--steel);
    font-family: var(--font-body);
}

/* Ambient grid + light sweep, identical to contact-sales. */
.support-page body::before,
.support-page body::after {
    content: "";
    position: fixed;
    inset: 0;
    display: block;
    pointer-events: none;
}

.support-page body::before {
    z-index: 0;
    background-image:
        linear-gradient(90deg, var(--home-grid-major) 1px, transparent 1px),
        linear-gradient(var(--home-grid-major) 1px, transparent 1px),
        linear-gradient(90deg, var(--home-grid-fine) 1px, transparent 1px),
        linear-gradient(var(--home-grid-fine) 1px, transparent 1px);
    background-position: center;
    background-size: 384px 384px, 384px 384px, 96px 96px, 96px 96px;
    -webkit-mask-image:
        linear-gradient(to bottom, transparent 0, #000 10%, #000 88%, transparent 100%),
        radial-gradient(ellipse 88% 68% at 50% 48%, #000 30%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to bottom, transparent 0, #000 10%, #000 88%, transparent 100%),
        radial-gradient(ellipse 88% 68% at 50% 48%, #000 30%, transparent 100%);
    mask-composite: intersect;
    opacity: 0.54;
}

.support-page body::after {
    z-index: 0;
    background:
        linear-gradient(112deg, transparent 8%, var(--home-light-cold) 36%, transparent 58%),
        linear-gradient(248deg, transparent 22%, var(--home-light-red) 52%, transparent 72%),
        repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.009) 0 1px, transparent 1px 7px);
    opacity: 0.58;
}

.support-page > body > header,
.support-page > body > main,
.support-page > body > footer {
    position: relative;
    z-index: 1;
}

.support-page .container,
.support-page main.container {
    max-width: min(1500px, 94vw);
}

/* Header / nav: use the shared site header from nav.css. No per-page override,
   so warranty / shipping / technical-docs match every other page.
   ponytail: removed this page's duplicate datasheet header; nav.css is the
   single source. The bare .support-page header overrides made these pages 72px
   tall (padding 14) instead of the site's 43px (padding 8). */

/* Hero + sections: Impact display, amber mono kicker, hairline rules. */
.support-page .page-main {
    padding-top: 24px;
}

.support-page .page-hero {
    min-height: 30vh;
    gap: 16px;
    padding: 54px 0 42px;
    border-bottom: 1px solid var(--hud-line);
}

.support-page .page-kicker {
    color: var(--signal-amber);
    font-family: Consolas, "Courier New", monospace;
    font-weight: 800;
}

.support-page .page-hero h2,
.support-page .page-section h3 {
    color: #f5f7f8;
    font-family: Impact, "Arial Black", Arial, Helvetica, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
}

.support-page .page-hero h2 {
    font-size: clamp(48px, 8vw, 104px);
    line-height: 0.92;
}

.support-page .page-hero p {
    color: #c7cdd2;
}

.support-page .page-section {
    gap: clamp(28px, 6vw, 100px);
    border-bottom: 1px solid var(--hud-line);
}

.support-page .page-section h3 {
    font-size: clamp(30px, 4vw, 54px);
}

.support-page .page-section p,
.support-page .page-section li {
    color: var(--steel);
}

.support-page .page-section ul {
    display: grid;
    gap: 10px;
    padding-left: 20px;
}

.support-page .page-section li::marker {
    color: var(--signal-red);
}

.support-page .page-section a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--hud-strong);
}

.support-page .page-section a:hover,
.support-page .page-section a:focus-visible {
    color: var(--signal-red);
    text-decoration-color: var(--signal-red);
    outline: none;
}

/* Technical-docs download cards. */
.support-page .page-link-card {
    border-color: var(--hud-line);
    background: rgba(7, 9, 11, 0.6);
    color: var(--steel);
    backdrop-filter: blur(12px);
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.support-page .page-link-card:hover,
.support-page .page-link-card:focus-visible {
    border-color: var(--signal-red);
    background: var(--signal-red);
    color: #fff;
}

.support-page .page-link-card span {
    color: var(--signal-amber);
    font-family: Consolas, "Courier New", monospace;
    font-weight: 800;
}

.support-page .page-link-card strong {
    font-family: Impact, "Arial Black", var(--font-body);
    font-weight: 900;
    text-transform: uppercase;
}

.support-page .page-link-card:hover span,
.support-page .page-link-card:hover strong,
.support-page .page-link-card:focus-visible span,
.support-page .page-link-card:focus-visible strong {
    color: #fff;
}

/* Footer: identical to the home page footer. */
.support-page .site-footer {
    border: 0;
    background: rgba(5, 6, 7, 0.96);
    color: var(--white);
}

.support-page .footer-brand,
.support-page .footer-bottom,
.support-page .footer-column {
    border-color: var(--line);
}

.support-page .footer-brand h2 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: clamp(36px, 3.2vw, 56px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 0.95;
    text-transform: uppercase;
}

.support-page .footer-column h3 {
    color: var(--red);
}

.support-page .footer-column a,
.support-page .footer-column address {
    color: var(--white);
}

.support-page .footer-brand p,
.support-page .footer-bottom {
    color: var(--muted);
}

.support-page .footer-kicker {
    color: var(--red) !important;
}

.support-page .footer-column a:hover,
.support-page .footer-column a:focus-visible {
    border-bottom-color: var(--red);
}

@media (max-width: 768px) {
    .support-page .container,
    .support-page main.container {
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .support-page .page-hero {
        min-height: 0;
        padding: 40px 0 30px;
    }

    .support-page .page-section {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .support-page .page-link-grid {
        grid-template-columns: 1fr;
    }

    .support-page body::before {
        background-size: 288px 288px, 288px 288px, 72px 72px, 72px 72px;
        opacity: 0.44;
    }

    .support-page body::after {
        opacity: 0.42;
    }
}

@media (prefers-reduced-motion: reduce) {
    .support-page body::after {
        background:
            linear-gradient(112deg, transparent 8%, var(--home-light-cold) 36%, transparent 58%),
            linear-gradient(248deg, transparent 22%, var(--home-light-red) 52%, transparent 72%);
    }
}
