@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --bg: #16171d;
  --card: #1c1d24;
  --border: #2e303a;
  --text: #f3f4f6;
  --text-muted: #9ca3af;
  --tint: #c084fc;
  --tint-bg: rgba(192, 132, 252, 0.15);
  --gold: #d4a34f;
  --gold-bg: rgba(212, 163, 79, 0.1);
  --max-width: 760px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--tint);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  padding: 28px 0 0;
  border-bottom: 1px solid var(--border);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
}

.wordmark {
  font-family: 'DM Mono', monospace;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
}

.wordmark:hover {
  text-decoration: none;
  color: var(--tint);
}

nav.site a {
  color: var(--text-muted);
  font-size: 13px;
  margin-left: 20px;
}

nav.site a:hover {
  color: var(--tint);
}

main {
  padding-bottom: 80px;
}

h1 {
  font-family: 'DM Mono', monospace;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.3;
  margin: 36px 0 10px;
}

h2 {
  font-family: 'DM Mono', monospace;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.3px;
  margin: 48px 0 4px;
  color: var(--text);
}

h3 {
  font-family: 'DM Mono', monospace;
  font-weight: 500;
  font-size: 15px;
  margin: 0 0 6px;
}

.subhead {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 46ch;
  margin: 0 0 28px;
}

.hero-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 8px;
}

@media (max-width: 560px) {
  .hero-row {
    flex-direction: column-reverse;
  }
}

.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.badge {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.divider {
  border: none;
  border-top: 1px solid var(--gold);
  opacity: 0.35;
  margin: 40px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  background: var(--card);
  padding: 16px 18px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: 6px 0 0;
}

.moon {
  width: 64px;
  height: 64px;
  display: block;
  margin: 8px 0 20px;
  opacity: 0.9;
}

.fig {
  width: 180px;
  height: calc(180px * 805 / 1495);
  flex-shrink: 0;
}

p {
  color: var(--text);
  font-size: 15px;
}

.muted {
  color: var(--text-muted);
}

.small {
  font-size: 13px;
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 24px 0 40px;
}

footer.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

footer.site a {
  color: var(--text-muted);
  font-size: 13px;
  margin-right: 18px;
}

footer.site a:hover {
  color: var(--tint);
}

footer.site .copyright {
  color: var(--text-muted);
  font-size: 12px;
}

.legal main {
  padding-top: 8px;
}

.legal h1 {
  margin-top: 40px;
}

.legal p, .legal li {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
}

.legal strong {
  color: var(--text);
  font-weight: 500;
}

.legal ul {
  padding-left: 20px;
}

.updated {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: -4px;
  margin-bottom: 32px;
}

.contact-box {
  border: 1px solid var(--border);
  border-top: 3px solid var(--tint);
  border-radius: 10px;
  background: var(--card);
  padding: 22px 22px;
  margin: 28px 0;
}

.contact-box a {
  font-size: 16px;
}
