:root {
    color-scheme: dark;
    --background: #0e1013;
    --panel: #15191e;
    --text: #f3f5f4;
    --muted: #a7b0b8;
    --green: #b6efc4;
    --border: #30373e;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-size: 16px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

a { color: var(--green); text-underline-offset: 4px; }
a:hover { color: #fff; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -0.035em; }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; }

.page-shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }

.skip-link {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 16px;
    padding: 10px 18px;
    background: var(--text);
    color: var(--background);
    transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }
.skip-link:hover { color: var(--background); }

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 28px;
    border-bottom: 1px solid var(--border);
}

.wordmark {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 0.19em;
    text-decoration: none;
    text-shadow: 0 0 22px #ffffff25;
}

.site-nav, .footer-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-nav a, .footer-nav a { color: var(--muted); font-size: 0.875rem; text-decoration: none; }
.site-nav a:hover, .footer-nav a:hover, .site-nav [aria-current="page"] { color: var(--text); }

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    padding-block: 80px 64px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.status-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--green); }
.hero h1 { margin-top: 24px; font-size: clamp(3.2rem, 6.4vw, 5.2rem); font-weight: 850; line-height: 1.04; letter-spacing: -0.065em; }
.hero h1 span { color: var(--green); }
.hero-description { max-width: 380px; margin-block: 28px; color: var(--muted); font-size: 1.1rem; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 50px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
}

.button-primary { background: #dce5df; color: #101713; }
.button-primary:hover { background: #fff; color: #101713; }
.button-secondary { border-color: #9daaa1; background: #ffffff06; color: var(--text); }
.button-secondary:hover { background: #ffffff12; }
.availability { margin-top: 22px; color: var(--muted); font-size: 0.8rem; }
.availability span { display: block; color: #b7c1bc; font-size: 0.75rem; }

.hero-art { min-width: 0; }

.barrel-frame {
    position: relative;
    isolation: isolate;
    padding: 18px;
    border: 1px solid #ffffff0d;
    border-radius: 50%;
}

.barrel-frame::before {
    position: absolute;
    z-index: -1;
    inset: -18px;
    background: radial-gradient(ellipse at 70% 22%, #6bb5e919, transparent 62%),
        radial-gradient(ellipse at 25% 80%, #b6efc416, transparent 65%);
    border-radius: 50%;
    content: "";
}

.barrel-frame img { width: 100%; filter: drop-shadow(0 20px 24px #0008); }
.hero-art figcaption { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; color: var(--muted); font-size: 0.75rem; }
.color-dots { display: inline-flex; gap: 5px; }
.color-dots i { width: 5px; height: 5px; border-radius: 50%; background: #ff5959; }
.color-dots i:nth-child(2) { background: #79da88; }
.color-dots i:nth-child(3) { background: #6b9fff; }
.color-dots i:nth-child(4) { background: #ff9a54; }
.color-dots i:nth-child(5) { background: #60d9e8; }
.color-dots i:nth-child(6) { background: #ed79cf; }

.highlights {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0;
    padding: 24px 0;
    border-block: 1px solid var(--border);
    list-style: none;
    color: #c8d0d5;
    font-size: 0.85rem;
}

.highlights li { display: flex; align-items: center; gap: 14px; }
.highlights span { color: #738079; font-size: 0.7rem; font-variant-numeric: tabular-nums; }
.section { padding-top: 96px; scroll-margin-top: 30px; }
.section-heading { max-width: 700px; margin-bottom: 32px; }
.section-heading h2 { margin-top: 14px; }
.section-heading > p:last-child { margin-top: 16px; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { padding: 30px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); }
.card p { margin-top: 16px; color: var(--muted); font-size: 0.9rem; }
.step-number { display: block; margin-bottom: 32px; color: var(--green); font-size: 0.7rem; font-weight: 650; letter-spacing: 0.12em; }
.section-note { margin-top: 22px; color: var(--muted); font-size: 0.8rem; }
.mode-card { display: flex; flex-direction: column; border-top: 2px solid var(--mode-color); }
.mode-normal { --mode-color: #b6efc4; }
.mode-hardcore { --mode-color: #85baff; }
.mode-frenzy { --mode-color: #e7a3d8; }
.mode-card .chamber-count { margin: 0 0 30px; color: var(--mode-color); font-size: 2.8rem; font-weight: 750; line-height: 1; letter-spacing: -0.05em; }
.chamber-count span { color: var(--muted); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.04em; }
.mode-detail { margin-top: auto; padding-top: 28px; color: var(--mode-color); font-size: 0.73rem; }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-bottom: 96px; }
.feature { display: flex; align-items: flex-start; gap: 20px; }
.feature h2 { margin-bottom: 16px; font-size: 1.3rem; letter-spacing: -0.025em; }
.feature p { color: var(--muted); font-size: 0.9rem; }
.feature-mark { display: grid; place-items: center; flex: 0 0 56px; height: 56px; border: 1px solid var(--border); border-radius: 50%; color: var(--green); font-size: 1.3rem; font-weight: 700; }
.feature-mark-quiet { font-size: 0.65rem; letter-spacing: 0.08em; }

.support-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 48px;
    align-items: center;
    padding: 42px;
    border: 1px solid #3b4a40;
    border-radius: 12px;
    background: linear-gradient(120deg, #1a251e, #151a1b);
    scroll-margin-top: 30px;
}

.support-panel > div { grid-row: span 2; }
.support-panel h2 { max-width: 540px; margin-block: 14px; font-size: 1.8rem; }
.support-panel p:not(.eyebrow) { max-width: 550px; color: var(--muted); font-size: 0.875rem; }
.support-address { margin-top: 10px; text-align: center; font-size: 0.8rem; }
.site-footer { display: flex; justify-content: space-between; gap: 32px; margin-top: 72px; padding-block: 36px; border-top: 1px solid var(--border); }
.site-footer .wordmark { font-size: 1.2rem; }
.site-footer p { margin-top: 8px; color: var(--muted); font-size: 0.8rem; }
.site-footer .copyright { color: #8e9a92; font-size: 0.75rem; }
.footer-nav { align-content: flex-start; padding-top: 6px; }

.legal-page main { width: min(800px, calc(100% - 64px)); margin: 64px auto; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.04em; }
.legal-page h2 { margin-block: 36px 16px; color: var(--green); font-size: 1.4rem; letter-spacing: -0.02em; }
.legal-page p, .legal-page li { color: #c5cdd3; }
.legal-page p { margin-block: 16px; }
.legal-page li { margin-bottom: 10px; }
.legal-page ul { padding-left: 24px; }
.legal-page strong { color: var(--text); }
.legal-page .date { margin-block: 16px 30px; color: var(--muted); font-size: 0.9rem; }
.legal-page .summary, .legal-page .warning { margin-block: 28px; padding: 22px; border: 1px solid #3b4a40; border-left: 3px solid var(--green); border-radius: 6px; background: #17211b; color: #d3ded7; }
.legal-page .warning { border-color: #61434a; border-left-color: #eda1ab; background: #261b20; }
.legal-page code { font-size: 0.9em; }
.legal-footer { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.875rem; }

@media (max-width: 900px) {
    .hero { gap: 24px; padding-top: 56px; }
    .card { padding: 24px; }
    .details-grid { gap: 32px; }
    .support-panel { column-gap: 28px; padding: 30px; }
}

@media (max-width: 700px) {
    .page-shell, .legal-page main { width: calc(100% - 40px); }
    .site-header { flex-wrap: wrap; gap: 14px; padding-block: 22px; }
    .site-nav { gap: 18px; }
    .site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.8rem; }
    .hero { grid-template-columns: 1fr; gap: 42px; padding-block: 48px 36px; }
    .hero h1 { font-size: clamp(3.4rem, 14vw, 5.2rem); }
    .hero-description { max-width: 460px; font-size: 1rem; }
    .hero-art { width: min(100%, 400px); margin-inline: auto; }
    .highlights { flex-direction: column; gap: 12px; }
    .section { padding-top: 64px; }
    .card-grid, .details-grid { grid-template-columns: 1fr; }
    .step-number { margin-bottom: 22px; }
    .mode-card .chamber-count { margin-bottom: 20px; }
    .mode-detail { padding-top: 22px; }
    .details-grid { gap: 36px; padding-bottom: 64px; }
    .support-panel { grid-template-columns: 1fr; padding: 26px; }
    .support-panel > div { grid-row: auto; }
    .support-panel h2 { font-size: 1.6rem; }
    .support-panel .button { margin-top: 24px; }
    .site-footer { flex-direction: column; margin-top: 48px; }
    .footer-nav { gap: 12px 24px; }
    .footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
    .legal-page main { margin-block: 40px; }
}

@media (forced-colors: active) {
    .card, .support-panel, .button, .feature-mark { border: 1px solid CanvasText; }
}
