/* Rocket Reverie — shared sheet. Dark only. No external resources. */
:root {
  --bg: #0F1420;
  --bg-deep: #0A0E18;
  --surface: #171D2C;
  --surface-raised: #1F2638;
  --text: #ECE8F6;
  --text-dim: #A9A7C2;
  --accent: #F7E08A;
  --accent-mid: #F3B9A0;
  --accent-muted: #A88BEB;
  --frost: #BFD9D6;
  --line: #2C3550;
  --danger: #F3A0A0;
  --grad: linear-gradient(100deg, #F7E08A 0%, #F3B9A0 48%, #A88BEB 100%);
  --round: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --page: 1080px;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  /* faint drafting grid */
  background-image:
    linear-gradient(rgba(44, 53, 80, .28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 53, 80, .28) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--text);
  font-family: var(--round);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-mid); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: 16px; top: -60px;
  background: var(--surface-raised); color: var(--text);
  padding: 10px 14px; border-radius: var(--r-s); z-index: 10;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 5;
  background: rgba(10, 14, 24, .92);
  border-bottom: 1px dashed var(--line);
}
.top .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding-top: 10px; padding-bottom: 10px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .01em;
}
.brand svg { width: 34px; height: 34px; flex: none; }
.top nav ul { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; }
.top nav a {
  font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none; padding: 6px 2px; display: inline-block;
}
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--accent); }

/* ---------- type ---------- */
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 7vw, 3.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 3.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: var(--accent); -webkit-text-fill-color: transparent;
}
.label {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--frost); margin: 0 0 14px; display: block;
}
.dim { color: var(--text-dim); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

section { padding: 56px 0; }
section + section { border-top: 1px dashed var(--line); }

/* ---------- hero ---------- */
.hero { padding: 48px 0 40px; }
.hero .wrap { display: grid; gap: 36px; align-items: center; }
.tagline { font-size: clamp(1.15rem, 2.6vw, 1.45rem); color: var(--frost); margin-bottom: .8em; }
.lede { color: var(--text-dim); max-width: 56ch; }
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  background: var(--grad); color: #141021; font-weight: 700; text-decoration: none;
}
.cta.soon {
  background: transparent; color: var(--accent);
  border: 1.5px dashed var(--accent);
}
.cta-note { font-family: var(--mono); font-size: 12.5px; color: var(--text-dim); margin: 12px 0 0; }
.hero-art { width: 100%; max-width: 440px; height: auto; justify-self: center; display: block; }

/* ---------- cards ---------- */
.tiles { display: grid; gap: 16px; grid-template-columns: 1fr; list-style: none; margin: 28px 0 0; padding: 0; }
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(236, 232, 246, .05);
}
.tile svg { width: 44px; height: 44px; display: block; margin-bottom: 14px; }
.tile p { color: var(--text-dim); margin: 0; }
.tile.key { border-style: dashed; border-color: var(--accent-muted); background: var(--surface-raised); }

.band {
  background: var(--bg-deep);
  border: 1px dashed var(--line);
  border-radius: var(--r-l);
  padding: 22px;
  display: grid; gap: 22px;
}
.band figure { margin: 0; }
.band svg { width: 100%; height: auto; display: block; }
.band figcaption { font-family: var(--mono); font-size: 12.5px; color: var(--text-dim); margin-top: 10px; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { padding-left: 26px; position: relative; margin-bottom: .6em; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 12px; height: 0; border-top: 2px dashed var(--accent);
}

/* ---------- documents ---------- */
.doc { padding: 44px 0 64px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(1.9rem, 6vw, 2.9rem); }
.doc h2 { font-size: 1.35rem; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px dashed var(--line); }
.doc h3 { margin-top: 1.6em; }
.doc ul, .doc ol { padding-left: 1.25em; margin: 0 0 1em; }
.doc li { margin-bottom: .45em; }
.stamp {
  display: inline-block; font-family: var(--mono); font-size: 13px;
  color: var(--frost); border: 1px dashed var(--line); border-radius: var(--r-s);
  padding: 6px 12px; margin-bottom: 22px;
}
.note {
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent-muted);
  border-radius: var(--r-s); padding: 16px 18px; margin: 0 0 1.2em;
}
.note p:last-child { margin-bottom: 0; }

.table-scroll { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: var(--r-s); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
thead th { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--frost); background: var(--surface); }
tbody th { font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m);
  margin-bottom: 10px;
}
summary {
  cursor: pointer; padding: 16px 18px; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--accent); flex: none; }
details[open] summary::after { content: "–"; }
details[open] { border-style: dashed; border-color: var(--accent-muted); }
details > div { padding: 0 18px 16px; color: var(--text-dim); }
details > div p:last-child { margin-bottom: 0; }

.contact {
  background: var(--surface-raised); border: 1px dashed var(--accent-muted);
  border-radius: var(--r-l); padding: 24px; margin: 0 0 1.5em;
}
.contact a { font-family: var(--mono); font-size: 1.05rem; word-break: break-all; }

/* ---------- footer ---------- */
footer { background: var(--bg-deep); border-top: 1px dashed var(--line); padding: 34px 0 44px; font-size: 15px; color: var(--text-dim); }
footer ul { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer p { margin: 0 0 .4em; }

/* ---------- wider screens ---------- */
@media (min-width: 720px) {
  body { font-size: 18px; }
  .wrap { padding: 0 32px; }
  section { padding: 80px 0; }
  .hero { padding: 76px 0 64px; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: 1fr 1fr; padding: 34px; }
}
@media (min-width: 1040px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tiles.two { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  body { background: #fff; color: #000; }
  .top, footer { position: static; background: none; }
}

[id] { scroll-margin-top: 96px; }
