:root {
  --night: #0e1116;
  --night-2: #1a2030;
  --moon: #ece6d8;
  --moon-dim: #a9a597;
  --paper: #f7f5f0;
  --paper-2: #efebe2;
  --card: #ffffff;
  --ink: #16181d;
  --muted: #5c6270;
  --line: #e2ddd2;
  --accent: #8a6d2f;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
a:hover { text-decoration: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
/* Reading width for text, keeping the left edge in line with everything else. */
.narrow p, .narrow ul { max-width: 680px; }

/* Hero: a night sky with a low moon behind the mark. */
.hero {
  color: var(--moon);
  background:
    radial-gradient(circle at 78% 30%, rgba(236, 230, 216, 0.16) 0, rgba(236, 230, 216, 0.05) 120px, transparent 260px),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  padding-bottom: 88px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.nav ul, .footer ul, .links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.nav a {
  color: var(--moon);
  text-decoration: none;
  font-weight: 500;
}
.nav ul a { color: var(--moon-dim); }
.nav ul a:hover { color: var(--moon); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-body {
  padding-top: 64px;
  text-align: center;
}

.hero-mark { display: block; margin: 0 auto 18px; }

h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.lede {
  max-width: 600px;
  margin: 20px auto 0;
  font-size: 20px;
  color: var(--moon-dim);
}

.actions {
  margin: 34px 0 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--moon);
  color: var(--night);
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: #fff; }

.button-quiet {
  background: transparent;
  color: var(--moon);
  box-shadow: inset 0 0 0 1.5px rgba(236, 230, 216, 0.4);
}
.button-quiet:hover { background: rgba(236, 230, 216, 0.08); }

.section { padding-top: 72px; padding-bottom: 72px; }
.section-alt { background: var(--paper-2); }

h2 {
  margin: 0 0 24px;
  font-size: 30px;
  letter-spacing: -0.01em;
}

.apps + h2 { margin-top: 56px; }

.apps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

.app {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.app > div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.app-icon {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 22.5%;
  box-shadow: 0 1px 3px rgba(22, 24, 29, 0.12), 0 0 0 1px rgba(22, 24, 29, 0.06);
}

.app h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
}

.app p { margin: 10px 0 0; }

.app .platforms {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.soon {
  display: inline-block;
  margin-left: 4px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 12px;
  line-height: 20px;
}

/* Pinned to the bottom of the card, so links line up across a row. */
.links { margin-top: auto; padding-top: 16px; gap: 8px; }

.links a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.links a:hover { background: var(--paper); border-color: #cfc8b9; }

.footer {
  padding: 28px 0;
  background: var(--night);
  color: var(--moon-dim);
  font-size: 15px;
}
.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.footer p { margin: 0; }
.footer a { color: var(--moon-dim); }
.footer a:hover { color: var(--moon); }

/* Plain pages: privacy, 404. */
.page-head { padding-bottom: 8px; }
.page h1 { font-size: clamp(36px, 5vw, 48px); }
.page h2 { font-size: 22px; margin: 36px 0 8px; }
.page ul { padding-left: 22px; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav ul { gap: 8px 16px; }
  .hero-body { padding-top: 32px; }
  .hero { padding-bottom: 64px; }
  .lede { font-size: 18px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .app { gap: 14px; padding: 20px; }
  .app-icon { width: 64px; height: 64px; }
}
