:root {
  color-scheme: light;
  --ink: #18202b;
  --muted: #596779;
  --line: #dce3ea;
  --accent: #6844c7;
  --accent-dark: #4c2fa3;
  --surface: #ffffff;
  --canvas: #f5f7fb;
}

* { box-sizing: border-box; }

html { background: var(--canvas); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--accent-dark); text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid #a996e6; outline-offset: 3px; }

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2.5rem, 70rem);
  margin-inline: auto;
}

.site-header {
  min-height: 5rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

nav a { font-weight: 600; text-decoration: none; }

.hero,
.policy {
  width: min(100% - 2.5rem, 70rem);
  margin: 0 auto;
  background: var(--surface);
}

.hero {
  margin-top: 2.5rem;
  padding: clamp(2rem, 7vw, 5.5rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: 0 1rem 3rem rgb(24 32 43 / 5%);
}

.policy {
  max-width: 52rem;
  margin-top: 2rem;
  padding: clamp(1.5rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2 { line-height: 1.2; }
h1 { max-width: 16ch; margin: 0; font-size: clamp(2.3rem, 7vw, 4.7rem); letter-spacing: -0.045em; }
h2 { margin: 2.5rem 0 0.75rem; font-size: 1.3rem; }

.lede {
  max-width: 58ch;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; margin-top: 2rem; }
.button { display: inline-block; padding: 0.8rem 1.1rem; border-radius: 0.7rem; background: var(--accent); color: white; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--accent-dark); color: white; }
.text-link { font-weight: 650; }
.details { max-width: 62ch; margin-top: 3.5rem; }
.details h2 { margin-top: 0; }
.details p, .policy p { color: #354253; }
.policy h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
.policy h2 { margin-top: 2rem; font-size: 1.2rem; }
.policy p { margin: 0.85rem 0; }
.policy .lede { margin-top: 0.75rem; font-size: 1rem; }
.back-link { margin-top: 2rem !important; }

.site-footer {
  justify-content: flex-start;
  flex-wrap: wrap;
  min-height: 5rem;
  margin-block: 1rem 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a { color: var(--muted); }

@media (max-width: 34rem) {
  .site-header, .site-footer, .hero, .policy { width: min(100% - 1.25rem, 70rem); }
  .site-header { min-height: 4rem; }
  .hero { margin-top: 0.75rem; }
  .policy { margin-top: 0.75rem; }
  .actions { align-items: flex-start; flex-direction: column; }
}
