/* Shared styles for public-site/'s static pages. Plain CSS, no build step -- see README.md. */

:root {
  color-scheme: dark;
  --bg: #000000; /* matches logo.png's background exactly, so the header logo doesn't show a box */
  --bg-raised: #151517;
  --border: #2a2a2e;
  --text: #f2f2f2;
  --text-muted: #a3a3a8;
  --red: #e0263f;
  --red-dim: #7a1622;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header.site {
  border-bottom: 1px solid var(--border);
  padding-block: 1.25rem;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 60rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  border-radius: 0.3rem;
}

nav.site a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-left: 1.25rem;
}

nav.site a:hover {
  color: var(--text);
}

/* nav.site a's color rule above (0,1,2) otherwise beats .button's (0,1,0) and leaves the pill's
   text grey instead of white -- override back explicitly for any button living inside nav. */
nav.site a.button,
nav.site a.button:hover {
  color: #fff;
}

main {
  padding-block: 3rem 5rem;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: #c31f34;
}

.button.secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.button.secondary:hover {
  border-color: var(--text-muted);
}

.button.small {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

.step {
  border: 1px solid var(--border);
  background: var(--bg-raised);
  border-radius: 0.6rem;
  padding: 1.5rem 1.5rem 1.25rem;
  margin-bottom: 1.25rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  margin-right: 0.6rem;
}

.step h2 {
  display: flex;
  align-items: center;
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.step h3 {
  font-size: 1rem;
  margin: 1.1rem 0 0.35rem;
}

.screenshot {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  margin: 0.85rem 0;
}

.callout {
  border-left: 3px solid var(--red);
  background: var(--bg-raised);
  padding: 0.75rem 1rem;
  border-radius: 0 0.4rem 0.4rem 0;
  margin: 1rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

footer.site {
  border-top: 1px solid var(--border);
  padding-block: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
