/*
 * The pilot site's whole stylesheet.
 *
 * Colours are the dark theme from design/tokens.json, copied rather than
 * imported: this site is static HTML with no build step that could read the
 * tokens, and four values are cheaper than a pipeline. If the brand changes,
 * design/tokens.json is still the source and these follow it.
 *
 * System fonts on purpose. The app uses Inter and Space Grotesk, which here
 * would mean either a webfont request on a landing page whose job is to be
 * fast, or self-hosting two families for three pages.
 */
:root {
  --background: #15181c;
  --surface: #1f2328;
  --border: #33393f;
  --text-primary: #f4f5f4;
  --text-secondary: #a9b1ba;
  --accent: #2ec4b6;
  --on-accent: #06302c;
  --space: 1rem;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  background: var(--background);
  color: var(--text-secondary);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: calc(var(--space) * 2) var(--space) calc(var(--space) * 4);
}

main {
  margin: 0 auto;
  max-width: 34rem;
}

header img {
  display: block;
  height: 2.25rem;
  width: auto;
}

h1 {
  color: var(--text-primary);
  font-size: 1.75rem;
  line-height: 1.25;
  margin: calc(var(--space) * 2) 0 var(--space);
}

h2 {
  color: var(--text-primary);
  font-size: 1.125rem;
  margin: calc(var(--space) * 2) 0 calc(var(--space) * 0.5);
}

p {
  margin: 0 0 var(--space);
}

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

.actions {
  display: flex;
  flex-direction: column;
  gap: calc(var(--space) * 0.75);
  margin: calc(var(--space) * 1.5) 0;
}

.button {
  border: 1px solid var(--accent);
  border-radius: 0.75rem;
  display: block;
  font-weight: 600;
  min-height: 3rem;
  padding: 0.75rem var(--space);
  text-align: center;
  text-decoration: none;
}

.button--primary {
  background: var(--accent);
  color: var(--on-accent);
}

.button--secondary {
  color: var(--accent);
}

.note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: var(--space);
}

.muted {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

footer {
  border-top: 1px solid var(--border);
  margin-top: calc(var(--space) * 3);
  padding-top: var(--space);
}

footer a {
  display: inline-block;
  margin-right: var(--space);
}

@media (min-width: 40rem) {
  .actions {
    flex-direction: row;
  }

  .button {
    flex: 1;
  }
}
