:root {
  --bg: #0c0c0d;
  --panel: #151517;
  --line: #29292d;
  --text: #f3f0e7;
  --muted: #a7a295;
  --gold: #dcb94a;
  --gold-hi: #f7e57a;
  --gold-lo: #b88a2e;
  --green: #74d39b;
  --gutter: 20px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
dl,
dd,
ul {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- top bar ---------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
}

.top nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.top nav a:hover {
  color: var(--gold-hi);
}

/* ---------- hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 56px var(--gutter) 72px;
  text-align: center;
  background: radial-gradient(900px 480px at 50% 0%, rgba(220, 185, 74, 0.14), transparent 70%);
}

.coin {
  width: 136px;
  height: 136px;
  filter: drop-shadow(0 14px 40px rgba(220, 185, 74, 0.3));
}

.ticker {
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 15ch;
  font-size: clamp(38px, 9vw, 76px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.45;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
}

.dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- sections ---------- */

section:not(.hero) {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px var(--gutter);
  border-top: 1px solid var(--line);
}

.head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

h2 {
  font-size: clamp(28px, 5.4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.head p {
  max-width: 62ch;
  color: var(--muted);
}

#built .head {
  margin-bottom: 0;
}

/* Label and value rows, divided by hairlines */
.rows {
  border-top: 1px solid var(--line);
}

.row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
}

.row dt {
  color: var(--muted);
}

.row dd {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.row.ours dt,
.row.ours dd {
  color: var(--gold-hi);
  font-weight: 800;
}

.note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

.pair {
  display: grid;
  gap: 14px;
}

.pair article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.pair article.gold {
  border-color: rgba(220, 185, 74, 0.55);
  background: linear-gradient(160deg, rgba(220, 185, 74, 0.13), var(--panel) 60%);
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 750;
}

.pair p {
  color: var(--muted);
}

.pair ul {
  padding-left: 20px;
  color: var(--muted);
}

.pair li + li {
  margin-top: 6px;
}

.pair li::marker {
  color: var(--gold);
}

/* ---------- footer ---------- */

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 56px var(--gutter) 64px;
  border-top: 1px solid var(--line);
  text-align: center;
}

footer p {
  max-width: 52ch;
  font-weight: 600;
}

footer .fine {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }

  .hero {
    padding: 72px var(--gutter) 96px;
  }

  .coin {
    width: 168px;
    height: 168px;
  }

  section:not(.hero) {
    padding: 88px var(--gutter);
  }

  .pair {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 460px) {
  .top nav {
    gap: 14px;
    font-size: 14px;
  }

  .brand {
    font-size: 17px;
  }
}

.back {
  color: var(--gold);
  font-weight: 700;
}
