:root {
  color-scheme: dark;
  --bg: #08090b;
  --panel: #101318;
  --line: #2a3038;
  --text: #edf1f6;
  --muted: #a3adba;
  --accent: #c8f45a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
.wrap { width: min(100% - 2.5rem, 64rem); margin-inline: auto; }
.narrow { max-width: 40rem; }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p, ul { margin: 0; }
h1 { font-size: clamp(2.4rem, 7vw, 4.9rem); line-height: 1; letter-spacing: -.055em; }
h2 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -.02em; }
h3 { font-size: 1.02rem; }
header, footer { border-block-end: 1px solid var(--line); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; }
.bar a, .bar span { display: inline-flex; align-items: center; min-height: 44px; }
header .bar { min-height: 4rem; }
.brand { color: var(--text); font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand b { color: var(--accent); }
.tag { color: var(--muted); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }

.hero { padding-block: clamp(2.6rem, 8vw, 5.5rem) 2rem; }
.hero p { max-width: 46ch; margin-top: 1.1rem; color: var(--muted); font-size: clamp(1.02rem, 2.6vw, 1.2rem); }
.lede { border-block: 1px solid var(--line); padding-block: 1.2rem; margin-block: 2rem; }
.lede p { color: var(--muted); }
.lede strong { color: var(--text); }

.card { border: 1px solid var(--line); background: var(--panel); border-radius: .7rem; padding: 1.2rem 1.3rem; }
.panel { display: grid; gap: 1rem; margin-block: 2rem; }
.panel h2 { font-size: 1.1rem; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.facts { display: grid; gap: .55rem; list-style: none; padding: 0; margin: 0; }
.facts li { display: flex; justify-content: space-between; gap: 1rem; border-block-end: 1px dashed var(--line); padding-block-end: .55rem; font-variant-numeric: tabular-nums; }
.facts li:last-child { border: 0; }
.facts span { color: var(--muted); }

button { font: inherit; }
.mint {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  width: 100%; min-height: 56px; padding: .75rem 1.2rem;
  border: 0; border-radius: .5rem; background: var(--accent); color: #0a0c07;
  font-weight: 800; font-size: 1.06rem; letter-spacing: .01em; cursor: pointer;
}
.mint:hover:enabled { background: #fff; }
.mint:disabled { opacity: .55; cursor: not-allowed; }
button svg { width: 1.15rem; height: 1.15rem; }
.status { min-height: 1.6rem; margin-top: .7rem; color: var(--muted); font-size: .96rem; font-variant-numeric: tabular-nums; }
.status[data-kind="error"] { color: #ff9a8a; }

details { border: 1px solid var(--line); border-radius: .6rem; margin-block: 1.6rem 2.6rem; }
summary { cursor: pointer; padding: .85rem 1.1rem; font-weight: 650; }
details ul { padding: 0 1.1rem 1rem 1.9rem; color: var(--muted); display: grid; gap: .45rem; }

.ships { display: grid; gap: .7rem; padding: 0; margin-block: 1.2rem 2rem; list-style: none; }
.ships li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .7rem; align-items: start; }
.ships svg { width: 1.15rem; height: 1.15rem; margin-top: .28rem; color: var(--accent); }
.ships li.no svg { color: #6c7784; }
.ships small { display: block; color: var(--muted); }

.price { display: grid; gap: .35rem; }
.price b { font-size: clamp(1.8rem, 6vw, 2.5rem); letter-spacing: -.035em; }
.price em { font-style: normal; color: var(--muted); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .6rem 1.05rem; border: 1px solid var(--accent); border-radius: .45rem; background: var(--accent); color: #0a0c07; font-weight: 800; text-decoration: none; }
.button:hover { background: #fff; border-color: #fff; color: #0a0c07; }
.button.ghost { background: transparent; color: var(--accent); }
.button.ghost:hover { background: var(--accent); color: #0a0c07; }
.cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .94em; }
pre { overflow-x: auto; padding: 1rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--panel); }
footer { border-block: 1px solid var(--line) 0; padding-block: .4rem; color: var(--muted); font-size: .92rem; }
.inner { padding-block: 3rem; }
.inner h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); margin-bottom: 1.4rem; }
.inner p + p, .inner h2 { margin-top: 1.1rem; }
address { font-style: normal; }
