:root {
  --bg: #f7f6f1;
  --surface: #fff;
  --text: #222;
  --muted: #555;
  --accent: #6b49b0;
  --accent-soft: #ece6f7;
  --accent-text: #fff;
  --line: #dcd9cf;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16151a;
    --surface: #1f1e25;
    --text: #ececf1;
    --muted: #b0aeb8;
    --accent: #a98cf0;
    --accent-soft: #2a2438;
    --accent-text: #16151a;
    --line: #34323c;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(60rem 24rem at 50% -8rem, var(--accent-soft), transparent);
  background-repeat: no-repeat;
  color: var(--text);
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.top, main, footer {
  max-width: 42rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand::before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--accent);
}

h1 {
  font-size: clamp(2.1rem, 7vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

h2 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.6rem;
}

p { margin: 0 0 1rem; }

section { margin: 0; padding: 2rem 0; border-top: 1px solid var(--line); }
.hero { border-top: 0; padding: 3.5rem 0 2.5rem; }
.lead { font-size: 1.25rem; line-height: 1.5; color: var(--muted); max-width: 32rem; margin-bottom: 1.75rem; }

a { color: var(--accent); text-underline-offset: 0.15em; }

.button {
  display: inline-block;
  padding: 0.75rem 1.3rem;
  border-radius: 0.6rem;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgb(107 73 176 / 0.3);
}

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

.questions { margin: 0 0 1rem; padding-left: 1.25rem; }
.questions li { margin-bottom: 0.45rem; }
.questions li::marker { color: var(--accent); }

.cards {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
}

.cards li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 0.75rem;
  padding: 1rem;
  font-size: 0.98rem;
  line-height: 1.5;
}

.cards strong { display: block; color: var(--accent); margin-bottom: 0.2rem; }

.access {
  background: var(--accent-soft);
  border: 0;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: 1rem;
}

.access p:last-child { margin-bottom: 0; }

footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
