:root {
    --bg: #0b0b0d;
    --ink: #f2f2ef;
    --mute: #96968f;
    --line: #2a2a2a;
    --card: #141416;
    --fd: "Outfit", system-ui, sans-serif;
    --fm: "IBM Plex Mono", ui-monospace, monospace;
    --accent: #f2f2ef;
    --accent-hover: #c9c9c2;
    --bg-primary: #0b0b0d;
    --bg-secondary: #141416;
    --bg-card: #141416;
    --text-primary: #f2f2ef;
    --text-secondary: #96968f;
    --text-muted: #737369;
    --border: #2a2a2a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fd);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    font-size: 17px;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--ink);
}

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

:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.skip-link,
.skip {
    position: absolute;
    left: 1rem;
    top: -3.5rem;
    background: var(--ink);
    color: var(--bg);
    padding: 0.4rem 0.8rem;
    z-index: 2000;
    font-weight: 500;
    text-decoration: none;
}

.skip-link:focus,
.skip:focus {
    top: 1rem;
}

.chrome-nav,
.top {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 4vw;
    background: rgba(11, 11, 13, 0.86);
    backdrop-filter: blur(16px);
}

.chrome-nav a,
.top a {
    color: var(--mute);
    text-decoration: none;
    font-size: 0.85rem;
}

.chrome-nav .brand,
.top .brand {
    font-weight: 500;
    letter-spacing: 0.2em;
    font-size: 0.78rem;
    color: var(--ink);
    text-transform: uppercase;
}

.chrome-nav a:hover,
.top a:hover,
.chrome-nav .brand:hover {
    color: var(--ink);
}

.chrome-nav .links {
    display: flex;
    gap: 1.4rem;
    flex-wrap: wrap;
}

.chrome-main,
main {
    padding: 2vw 4vw 8vw;
}

.kicker {
    font-family: var(--fm);
    font-size: 0.72rem;
    color: var(--mute);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

h1 {
    font-weight: 300;
    font-size: clamp(2.4rem, 8vw, 5.6rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    max-width: 14ch;
    margin: 0.3rem 0 1.5rem;
    color: var(--ink);
}

.lede {
    font-weight: 400;
    font-size: 1.2rem;
    max-width: 32em;
    color: var(--ink);
    margin: 0 0 1rem;
}

.meta {
    font-family: var(--fm);
    font-size: 0.75rem;
    color: var(--mute);
    margin-bottom: 1.6rem;
    max-width: 46em;
    line-height: 1.55;
}

h2 {
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.04em;
    margin: 3rem 0 0.8rem;
    color: var(--ink);
    text-transform: none;
}

p,
li {
    color: var(--mute);
    font-size: 1rem;
}

p {
    max-width: 38em;
    margin: 0 0 1rem;
}

p + p {
    margin-top: 0;
}

ul {
    padding-left: 1.2rem;
    margin: 0.4rem 0 1.2rem;
    max-width: 38em;
}

li {
    margin: 0.3rem 0;
}

code,
.code {
    font-family: var(--fm);
    font-size: 0.86em;
}

.code {
    display: inline-block;
    padding: 0.15rem 0.4rem;
    border-bottom: 1px solid var(--line);
}

.metrics {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin: 2.2rem 0 2.6rem;
    padding: 0;
    max-width: none;
}

.metrics li {
    margin: 0;
    color: var(--ink);
}

.metrics b {
    display: block;
    font-weight: 500;
    font-size: 1.8rem;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.metrics span {
    font-family: var(--fm);
    font-size: 0.7rem;
    color: var(--mute);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.figure,
figure {
    margin: 2rem -4vw;
}

.figure img,
.figure video,
figure img,
figure video {
    width: 100%;
    height: auto;
    display: block;
    background: #1a1a1c;
    border: 0;
    border-radius: 0;
}

.figure.portrait video {
    width: auto;
    max-width: 100%;
    max-height: 72vh;
    margin-inline: auto;
}

.figure figcaption,
figcaption {
    padding: 0.6rem 4vw 0;
    font-family: var(--fm);
    font-size: 0.75rem;
    color: var(--mute);
    line-height: 1.5;
}

.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2px;
    margin: 2rem -4vw;
}

.gallery .figure,
.gallery figure {
    margin: 0;
}

.gallery figcaption {
    padding: 0.5rem 0.8rem 0.2rem;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin: 2rem -4vw;
}

.two-col .figure {
    margin: 0;
}

.spec-table,
table {
    width: 100%;
    max-width: 44em;
    border-collapse: collapse;
    font-family: var(--fm);
    font-size: 0.85rem;
    margin: 1rem 0 1.6rem;
}

.spec-table th,
.spec-table td,
th,
td {
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0.4rem 0.5rem 0;
    text-align: left;
    color: var(--mute);
    vertical-align: top;
    font-weight: 400;
}

.spec-table th,
th {
    color: var(--ink);
    font-weight: 500;
    width: auto;
}

.note {
    font-size: 0.95rem;
    color: var(--mute);
    max-width: 38em;
    margin: 1.4rem 0;
    padding: 0;
    border: 0;
    background: none;
}

.btn,
.back {
    display: inline-block;
    margin-top: 1.8rem;
    padding: 0;
    background: none;
    color: var(--ink);
    text-decoration: none;
    font-weight: 400;
    border-radius: 0;
    border-bottom: 1px solid var(--ink);
}

.btn:hover,
.back:hover {
    color: var(--mute);
    background: none;
    border-bottom-color: var(--mute);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    margin-top: 1.6rem;
}

.error-code {
    font-size: clamp(4rem, 16vw, 8rem);
    line-height: 0.9;
    color: var(--ink);
    font-weight: 300;
    letter-spacing: -0.06em;
    margin: 0.2rem 0 1rem;
}

.chrome-footer,
footer {
    padding: 3rem 4vw;
    font-family: var(--fm);
    font-size: 0.7rem;
    color: var(--mute);
    border: 0;
    text-align: left;
}

.chrome-footer a,
footer a {
    color: var(--ink);
}

@media (max-width: 700px) {
    .gallery,
    .two-col {
        grid-template-columns: 1fr;
    }

    .metrics {
        gap: 1.6rem 2rem;
    }

    h1 {
        font-size: 2.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

@media print {
    .chrome-nav,
    .skip-link,
    .btn {
        display: none;
    }

    body {
        background: #fff;
        color: #000;
    }
}
