:root {
    color-scheme: dark;
    --bg: #00030d;
    --ink: #eef2f8;
    --muted: #9aa4b5;
    --faint: #6b7486;
    --line: rgba(213, 220, 233, 0.12);
    --panel: rgba(255, 255, 255, 0.035);
    --accent: #86efc4;
    --mono: 'Menlo', 'SFMono-Regular', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.7 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

#starCanvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

nav, main, footer {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 22px;
    padding-top: 28px;
    padding-bottom: 18px;
    font: 12px/1.5 var(--mono);
    letter-spacing: 0.04em;
}
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }
nav .home { margin-right: auto; }

a { color: var(--accent); text-underline-offset: 4px; }
a:focus-visible { outline: 1px solid #c8d3e5; outline-offset: 5px; border-radius: 4px; }

h1 {
    font-size: clamp(32px, 6vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.035em;
    font-weight: 600;
    margin: 18px 0 16px;
}
h2 {
    font-size: 21px;
    line-height: 1.35;
    letter-spacing: -0.02em;
    font-weight: 600;
    margin: 56px 0 12px;
}
h3 { font-size: 15px; font-weight: 600; margin: 0 0 4px; letter-spacing: -0.01em; }
p, li { color: var(--muted); }
strong { color: var(--ink); font-weight: 600; }
code { font: 0.85em var(--mono); color: var(--ink); background: var(--panel); padding: 1px 5px; border-radius: 4px; }

.eyebrow, .tag {
    font: 11px/1.5 var(--mono);
    letter-spacing: 0.12em;
    text-transform: lowercase;
    color: var(--faint);
}
.tag {
    display: inline-block;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 1px 6px;
    letter-spacing: 0.06em;
}

.hero { padding-top: 48px; }
.hero-head { display: flex; align-items: center; gap: 14px; }
.icon { width: 64px; height: 64px; border-radius: 15px; }
.lead { font-size: 18px; line-height: 1.65; color: #b9c1cf; max-width: 640px; margin: 0; }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 28px 0 0; }
.button {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--ink);
    color: var(--bg);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
.button:hover { background: #fff; }
.meta { font: 12px/1.5 var(--mono); color: var(--faint); }

.shot { margin: 48px 0 0; }
.shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #111;
}
.shot figcaption { font: 11px/1.5 var(--mono); color: var(--faint); margin-top: 10px; text-align: center; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 18px; }
.card { border: 1px solid var(--line); background: var(--panel); border-radius: 12px; padding: 16px 18px; }
.card p { margin: 0; font-size: 14px; line-height: 1.6; }

.finds { list-style: none; padding: 0; margin: 18px 0 0; columns: 2 240px; column-gap: 28px; }
.finds li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.finds li span { display: block; font: 11px/1.5 var(--mono); color: var(--faint); }

ol.steps { padding-left: 20px; }
ol.steps li { padding: 4px 0; }

.note { border-left: 2px solid var(--accent); padding: 4px 0 4px 18px; margin: 32px 0; }
.note p { margin: 6px 0; font-size: 14px; }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; color: var(--ink); font-weight: 600; font-size: 15px; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; float: right; color: var(--faint); font-family: var(--mono); }
details[open] summary::after { content: '–'; }
details p { margin: 10px 0 0; font-size: 15px; }

main > section { padding: 0; }

footer {
    margin-top: 72px;
    padding-top: 22px;
    padding-bottom: 48px;
    border-top: 1px solid var(--line);
    font: 12px/1.7 var(--mono);
    color: var(--faint);
}
footer a { color: var(--muted); }

@media (max-width: 640px) {
    body { font-size: 15px; }
    .hero { padding-top: 28px; }
    .icon { width: 52px; height: 52px; border-radius: 12px; }
    .lead { font-size: 16px; }
    h2 { margin-top: 44px; }
}
