/*
 * The public site's one stylesheet (build-plan Phase 51; spec §12.2). Named by
 * hand and served at the hour tier, so a deploy can pair it with a cached page
 * for up to an hour: keep every change to it one the previous page survives.
 *
 * The colours are the web client's tokens (web/src/styles/tokens.css), copied
 * rather than shared, because the site does not build with the client.
 */

:root {
  --surface: #ffffff;
  --text: #202124;
  --text-muted: #5f6368;
  --border: #dadce0;
  --accent: #1a73e8;
  --accent-text: #ffffff;
  --accent-strong: #185abc;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #1e1f20;
    --text: #e8eaed;
    --text-muted: #9aa0a6;
    --border: #5f6368;
    --accent: #8ab4f8;
    --accent-text: #202124;
    --accent-strong: #8ab4f8;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--surface);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  max-width: 38rem;
  margin: 0 auto;
  padding: 4rem 1.25rem 5rem;
}

header {
  margin-bottom: 2.5rem;
}

.mark {
  display: block;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.25rem;
}

h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.lede {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  font-size: 1.25rem;
}

h2 {
  margin: 2rem 0 0.25rem;
  font-size: 1.125rem;
  font-weight: 500;
}

p {
  margin: 0.75rem 0;
}

section p {
  margin-top: 0;
}

a {
  color: var(--accent-strong);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.actions {
  margin-top: 2.5rem;
}

.button {
  display: inline-block;
  padding: 0.625rem 1.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 500;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-strong);
}

.invite {
  color: var(--text-muted);
  font-size: 0.9375rem;
}
