/* The app's look: night sky, Geist headings, Hanken Grotesk body. Fonts are served from
   here, so the pages make no requests anywhere else. */
@font-face { font-family: Geist; src: url(fonts/Geist_700Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(fonts/HankenGrotesk_400Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(fonts/HankenGrotesk_500Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(fonts/HankenGrotesk_700Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #10121D;
  --card: #191C2B;
  --line: rgba(236, 234, 244, 0.08);
  --text: #ECEAF4;
  --text-2: #A2A6BF;
  --muted: #8387A6;
  --accent: #FABC4D;
  --on-accent: #2B1D00;
  --arc: #82DBFF;
  --void: #D59DFF;
  --bond: #FF8FB1;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(70% 420px at 50% 0%, rgba(213, 157, 255, 0.13), transparent 100%),
    var(--bg);
  color: var(--text);
  font: 500 17px/1.6 "Hanken Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--arc); text-underline-offset: 3px; }
a:hover { color: #B5EAFF; }

.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px; }

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font: 700 19px/1 Geist, system-ui, sans-serif;
  letter-spacing: -0.02em;
}
.brand img { width: 32px; height: 32px; }
nav { display: flex; gap: 18px; font-size: 15px; }
nav a { color: var(--text-2); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }

.pixel { image-rendering: pixelated; }

h1, h2, h3 { font-family: Geist, system-ui, sans-serif; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: 40px; line-height: 1.1; margin: 24px 0 8px; }
h2 { font-size: 22px; line-height: 1.25; margin: 40px 0 8px; }
h3 { font-size: 17px; line-height: 1.35; margin: 24px 0 4px; letter-spacing: -0.01em; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
li::marker { color: var(--muted); }
strong { font-weight: 700; color: var(--text); }
.lede { color: var(--text-2); font-size: 18px; }
.meta { color: var(--muted); font-size: 15px; }
.secondary { color: var(--text-2); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 20px 0;
}
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card h2:first-child { margin-top: 0; }

/* Home */
.hero { text-align: center; padding: 48px 0 16px; }
.hero .chicken { width: 192px; height: 192px; display: block; margin: 0 auto -8px; }
.bubble {
  display: inline-block;
  position: relative;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 14px;
}
.bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  margin-left: -7px;
  border: 7px solid transparent;
  border-top: 8px solid var(--text);
  border-bottom: 0;
}
.hero h1 { font-size: 48px; margin-top: 8px; }
.features { list-style: none; padding: 0; margin: 32px auto; max-width: 480px; text-align: left; }
.features li { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.features .dot {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.dot svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dot.gold { background: rgba(250, 188, 77, 0.12); color: var(--accent); }
.dot.pink { background: rgba(255, 143, 177, 0.12); color: var(--bond); }
.dot.violet { background: rgba(213, 157, 255, 0.12); color: var(--void); }
.status {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(250, 188, 77, 0.12);
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
}

footer {
  margin-top: 56px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
footer p { margin-bottom: 6px; }
footer a { color: var(--text-2); }

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 32px; }
  .hero h1 { font-size: 40px; }
  nav { gap: 14px; }
}
