/*
 * rcrds.xyz — site styles.
 *
 * Design tokens live in :root; component styles below are grouped by
 * block (.wordmark, .tagline, .actions, .site-footer). New pages should
 * link fonts.css + site.css and reuse these blocks.
 */

:root {
  --bg: #fefefe;
  --fg: #0a0a0a;
  --fg-hover: #555;
  --muted: #666;

  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --space-stack: 36px;   /* vertical rhythm between hero blocks */
  --space-actions: clamp(28px, 9vw, 48px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-mono);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--fg);
}

a:hover {
  color: var(--fg-hover);
}

:focus-visible {
  outline: 3px solid var(--fg);
  outline-offset: 4px;
}

/* ── Hero ────────────────────────────────────────────────────────── */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-stack);
  padding: 40px;
  text-align: center;
}

.wordmark {
  margin: 0;
  border: 7px solid var(--fg);
  padding: 18px;
  font-family: var(--font-display);
  font-size: clamp(26px, 8vw, 44px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.tagline {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 4.5vw, 19px);
  letter-spacing: 0.02em;
}

/* ── Action links ────────────────────────────────────────────────── */

.actions {
  display: flex;
  gap: var(--space-actions);
  font-size: 15px;
}

.action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.action .fi {
  font-size: 28px;
  transition: color 120ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .action .fi {
    transition: none;
  }
}

/* ── Footer ──────────────────────────────────────────────────────── */

.site-footer {
  padding: 0 40px 32px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
