@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
:root {
  --canvas: #F6F7FB;
  --surface: #FFFFFF;
  --ink: #231F20;
  --ink-soft: #4F4A4C;
  --accent: #2B3A8C;
  --accent-ink: #22306F;
  --line: #DFE2EE;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--canvas); color: var(--ink-soft);
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  border-top: 6px solid var(--accent);
}
.page {
  flex: 1; width: 100%; max-width: 640px; margin: 0 auto;
  padding: clamp(48px, 12vh, 120px) 16px 48px;
  display: grid; align-content: center; gap: clamp(28px, 5vh, 44px);
}
.logo { width: min(100%, 420px); height: auto; }
.copy { display: grid; gap: 12px; }
h1 { margin: 0 0 4px; color: var(--ink); font-size: clamp(2rem, 6vw, 2.75rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; max-width: 54ch; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
  color: var(--accent-ink); font-weight: 650; text-decoration: none;
  transition: transform 140ms ease-out, background-color 160ms ease-out;
}
.btn-main { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: #EEF0F8; } .btn-main:hover { background: #24317A; } }
.btn:active { transform: scale(0.97); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.foot { width: 100%; max-width: 640px; margin: 0 auto; padding: 20px 16px 32px; display: flex; gap: 20px; flex-wrap: wrap; font-size: 15px; border-top: 1px solid var(--line); }
.foot a { color: var(--ink-soft); }
@media (max-width: 480px) { .btn { width: 100%; } }
