:root {
  --bg: #faf7f0;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e6e0d4;
  --accent: #c8102e;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14140f;
    --surface: #1e1e18;
    --ink: #f2efe6;
    --muted: #a19b8c;
    --line: #2e2e26;
    --accent: #ff5a6e;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.4);
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(24px, 6vw, 72px) 20px 48px;
}

.masthead { text-align: center; margin-bottom: clamp(28px, 6vw, 48px); }
.logo {
  font-size: clamp(40px, 10vw, 68px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1;
}
.tagline { color: var(--muted); font-size: 1.05rem; margin: 12px 0 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
a.tile:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 14px 32px rgba(0,0,0,.12);
}
.tile__emoji { font-size: 2rem; }
.tile__name { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
.tile__blurb { color: var(--muted); font-size: .95rem; flex: 1; }
.tile__cta { color: var(--accent); font-weight: 600; margin-top: 8px; }
.tile--soon { opacity: .7; }
.tile--soon .tile__cta { color: var(--muted); }

.footer {
  text-align: center;
  margin-top: clamp(32px, 8vw, 56px);
  color: var(--muted);
  font-size: .9rem;
}
.footer__fine { margin-top: 6px; opacity: .8; }
