:root {
  color-scheme: light;
  --ink: #282334;
  --soft-ink: #645d72;
  --paper: #fbf9ff;
  --card: #ffffff;
  --line: #e5dff0;
  --purple: #6744b2;
  --purple-dark: #4b2e8a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: var(--purple-dark); }
a:hover { color: var(--purple); }

.site-header, main, .site-footer {
  width: min(100% - 40px, 820px);
  margin: 0 auto;
}

.site-header {
  padding: 28px 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.brand {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .94rem;
}

nav a { text-decoration: none; }

main { padding: 28px 0 56px; }

.hero, article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(28px, 6vw, 54px);
  box-shadow: 0 12px 35px rgba(73, 48, 123, .07);
}

.hero { text-align: center; }
h1, h2, h3 { line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2rem, 7vw, 3.8rem); letter-spacing: -0.05em; margin: 0 0 16px; }
h2 { font-size: 1.35rem; margin-top: 2.3rem; }
h3 { font-size: 1.05rem; margin-top: 1.4rem; }
p, li { max-width: 72ch; }
.lede { color: var(--soft-ink); font-size: 1.13rem; margin: 0 auto 28px; }
.eyebrow { color: var(--purple-dark); font-size: .84rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.button {
  display: inline-block;
  background: var(--purple);
  border-radius: 999px;
  color: white;
  font-weight: 700;
  padding: 11px 18px;
  text-decoration: none;
}
.button.secondary { background: #eee8fa; color: var(--purple-dark); }
.notice {
  background: #f3effc;
  border-left: 4px solid var(--purple);
  border-radius: 8px;
  margin: 22px 0;
  padding: 14px 16px;
}
.meta { color: var(--soft-ink); font-size: .93rem; }
.site-footer { border-top: 1px solid var(--line); color: var(--soft-ink); font-size: .9rem; padding: 24px 0 36px; }
.site-footer p { margin: 0; }

@media (max-width: 580px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .site-header, main, .site-footer { width: min(100% - 28px, 820px); }
}
