/* The dashboard's tokens (apps/dashboard/src/index.css), so the homepage reads as the same product. System fonts only. */
:root {
  color-scheme: light dark;
  --bg: #f7f8fa;
  --fg: #11161d;
  --card: #ffffff;
  --muted: #4a5565;
  --line: #d5dbe5;
  --primary: #1d4ed8;
  --on-primary: #ffffff;
  --accent: #e0e7f5;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --fg: #e8ebf1;
    --card: #151b24;
    --muted: #a6b0c0;
    --line: #2b3544;
    --primary: #7aa7ff;
    --on-primary: #0b1220;
    --accent: #263245;
  }
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font:
    16px / 1.6 system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}
h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 0.5rem;
}
h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  letter-spacing: -0.02em;
  max-width: 22ch;
}
h2 {
  font-size: 1.375rem;
  margin-top: 3rem;
}
h3 {
  font-size: 1.0625rem;
}
p {
  margin: 0;
  color: var(--muted);
}
a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wrap {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.bar {
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
}
.brand {
  font-weight: 650;
}

.hero {
  padding-top: 3.5rem;
}
.lede {
  font-size: 1.125rem;
  max-width: 60ch;
  margin-top: 1rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 0.625rem;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--primary);
}
.button.ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}
.button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 1rem;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  column-gap: 0.75rem;
}
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--accent);
  font-weight: 650;
}

.cards {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.625rem;
  padding: 1.25rem;
}

.cta {
  padding-bottom: 3.5rem;
}
.cta .button {
  margin-top: 0.5rem;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
