:root {
    color-scheme: dark;
    font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    background: #101216;
    color: #eff4f8;
    --quiet: #bbc4cf;
    --edge: #343b45;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, label:has(input:focus-visible) span { outline: 2px solid #ffc783; outline-offset: 4px; }
.shell { width: min(1320px, calc(100% - 3rem)); margin: 0 auto; }
header { padding: clamp(.55rem, 3svh, 1.65rem) 0; }
.brand { display: inline-flex; gap: .45rem; align-items: center; text-decoration: none; font-weight: 650; }
.brand img { display: block; }
h1, h2, p { margin: 0; }
h1, h2 { line-height: 1.04; letter-spacing: -.047em; }
h1 { font-size: clamp(2.6rem, 5.2vw, 5.55rem); font-weight: 650; }
h2 { font-size: 1.45rem; }
p { color: var(--quiet); margin: 1rem 0; }
.intro > p:first-of-type { max-width: 24rem; font-size: 1.125rem; }
.button, .unavailable { display: inline-flex; flex-wrap: wrap; gap: .55rem; margin: .45rem 0 0; padding: .7rem 1rem; border-radius: .55rem; }
.button { background: #ffc783; color: #25190e; font-weight: 680; text-decoration: none; }
.button:hover { background: #ffd5a5; }
.button span { opacity: .8; }
.button.secondary, .unavailable { background: #202630; color: #eff4f8; border: 1px solid var(--edge); }
.button.secondary:hover { background: #303844; }
.requirements { font-size: .9rem; margin-bottom: 0; }
.maps img, .maps canvas { width: 100%; height: 100%; object-fit: cover; }
.maps img { display: none; }
:where(.preview:not(:has(input:checked))) .graphite,
:where(.preview:has(input[value="graphite"]:checked)) .graphite,
:where(.preview:has(input[value="amber"]:checked)) .amber { display: block; }
.preview .maps[data-animated] img { display: none; }
.preview fieldset { display: flex; justify-content: center; gap: .55rem; padding: 0; margin: 1rem 0 0; border: 0; }
.preview input, .preview legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.preview label span { font-family: inherit; line-height: inherit; background: transparent; display: inline-block; cursor: pointer; border: 1px solid var(--edge); border-radius: 2rem; padding: .25rem .75rem; font-size: .875rem; color: var(--quiet); }
.preview label:hover span, .preview input:checked + span { background: #262d37; border-color: #586370; color: #fff; }
.maps canvas[hidden] { display: none; }
.receipt { max-width: 42rem; padding: 3rem 0; }
.receipt h2 { margin-top: 2rem; }

.landing {
    position: relative;
    isolation: isolate;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: #101216;
}

.landing:has(input[value="amber"]:checked) {
    background: #18120f;
    color: #fff3e7;
    --quiet: #dbc3ae;
    --edge: #654b3a;
}

.landing header { position: relative; z-index: 3; width: min(1540px, calc(100% - 4.5rem)); }
.landing main { flex: 1; display: flex; align-items: flex-end; width: min(1540px, calc(100% - 4.5rem)); padding: 2rem 0 clamp(2rem, 6svh, 4.4rem); }
.landing .intro { position: relative; z-index: 2; }
.landing .intro h1 { font-size: clamp(2.6rem, 5vw, 5.25rem); }
.landing .preview { position: absolute; inset: 0; }
.landing .maps { position: absolute; inset: 0; }
.landing .preview fieldset { position: absolute; right: 2.25rem; top: clamp(.85rem, 4svh, 2rem); margin: 0; z-index: 3; }
.landing:has(input[value="amber"]:checked) .unavailable { background: #30211a; color: #fff3e7; }
.landing:has(input[value="amber"]:checked) .preview label:hover span,
.landing:has(input[value="amber"]:checked) .preview input:checked + span { background: #452c20; border-color: #936345; color: #fff3e7; }

@media (max-width: 740px) {
    .shell { width: min(540px, calc(100% - 2rem)); }
    .landing header, .landing main { width: calc(100% - 2rem); }
    .landing main { padding: .8rem 0 clamp(1.25rem, 5svh, 2.5rem); }
    .landing .intro h1 { font-size: clamp(2.3rem, 9.5vw, 4rem); }
    .intro > p:first-of-type { margin: .65rem 0; font-size: 1rem; }
    .landing .preview fieldset { right: 1rem; top: clamp(.85rem, 4svh, 2rem); gap: .3rem; }
    .landing .preview label span { padding-inline: .5rem; }
    .landing .maps img, .landing .maps canvas { object-fit: contain; object-position: center 36%; }
}

