:root {
  color-scheme: light;
  --ink: #16201c;
  --muted: #5c6863;
  --line: #d9e0dc;
  --paper: #f8faf9;
  --surface: #ffffff;
  --forest: #173f35;
  --blue: #1657a6;
  --gold: #b8841f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(22, 87, 166, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(23, 63, 53, 0.08) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.shell {
  width: min(100%, 720px);
  padding: clamp(32px, 8vw, 72px);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(22, 32, 28, 0.08);
}

.mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 40px;
  border-radius: 50%;
  background: var(--forest);
  color: #ffffff;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 12vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.primary {
  background: var(--blue);
  color: #ffffff;
}

.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #ffffff;
}

a:focus-visible {
  outline: 3px solid rgba(22, 87, 166, 0.35);
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .page {
    padding: 16px;
  }

  .shell {
    padding: 28px;
  }

  .actions {
    flex-direction: column;
  }

  a {
    width: 100%;
  }
}
