:root {
  color-scheme: light;
  --ink: #1c1b1f;
  --accent: #4a3aff;
  --accent-ink: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a:not(.cta) {
  color: var(--ink);
  text-decoration: none;
  text-underline-offset: 0.25rem;
}

.nav-links a:not(.cta):hover,
.nav-links a:not(.cta):focus-visible {
  text-decoration: underline;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero {
  max-width: 40rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.625rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
}

.cta:hover {
  filter: brightness(1.1);
}

.cta:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.875rem;
}
