:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #6b6b6b;
  --border: #e5e5e5;
  --accent: #111111;
  --accent-hover: #000000;
  --radius: 4px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  padding: 32px 24px;
  border-bottom: 1px solid var(--border);
}

.wordmark {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-decoration: none;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.container {
  max-width: 640px;
  width: 100%;
  text-align: center;
}

h1 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.lede {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  transition: background 0.15s, color 0.15s;
  min-width: 200px;
}

.cta-primary {
  background: var(--accent);
  color: var(--bg);
}

.cta-primary:hover {
  background: var(--accent-hover);
}

.cta-secondary {
  background: transparent;
  color: var(--fg);
}

.cta-secondary:hover {
  background: var(--fg);
  color: var(--bg);
}

.cta-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.cta-card {
  display: block;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--fg);
  transition: border-color 0.15s, transform 0.15s;
  min-width: 240px;
  flex: 1 1 240px;
  max-width: 280px;
}

.cta-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.cta-card-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.cta-card-meta {
  font-size: 14px;
  color: var(--muted);
}

footer {
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 10px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
  h1 { font-size: 32px; }
  .lede { font-size: 16px; }
  .cta-card { max-width: 100%; }
}
