:root {
  color-scheme: light;
  --blue: #316df4;
  --blue-deep: #1f4ec4;
  --blue-soft: #eaf0ff;
  --ink: #17213a;
  --muted: #657089;
  --line: #dfe5f0;
  --paper: #ffffff;
  --canvas: #f5f7fb;
  --success: #16755b;
  --warning-bg: #fff7e8;
  --warning-line: #f0b454;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 7%, rgba(122, 159, 255, .34) 0 8rem, transparent 8.1rem),
    linear-gradient(180deg, #eaf0ff 0, var(--canvas) 30rem);
  font: 16px/1.67 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}

a { color: var(--blue-deep); }

a:focus-visible {
  outline: 3px solid rgba(49, 109, 244, .35);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: min(100% - 40px, 920px); margin-inline: auto; }

header {
  min-height: 20rem;
  padding: 24px 0 92px;
  background: linear-gradient(145deg, #17213a 0%, #263c78 58%, #316df4 100%);
  color: #fff;
  overflow: hidden;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 760;
  text-decoration: none;
}

.mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 12px;
  background: rgba(255, 255, 255, .13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
  font-size: 23px;
  line-height: 1;
}

nav { display: flex; gap: 22px; }

nav a {
  color: #e9efff;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }

.hero { max-width: 720px; padding-top: 64px; }

.eyebrow {
  color: #bed0ff;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.22; }

h1 {
  max-width: 780px;
  margin: 12px 0 14px;
  color: #fff;
  font-size: clamp(36px, 7vw, 62px);
  letter-spacing: -.035em;
}

.hero p { max-width: 680px; margin: 0; color: #e3eaff; font-size: 18px; }

main { margin-top: -54px; padding-bottom: 62px; }

.card {
  padding: clamp(25px, 5vw, 52px);
  border: 1px solid rgba(41, 59, 102, .1);
  border-radius: 25px;
  background: var(--paper);
  box-shadow: 0 22px 70px rgba(28, 46, 90, .12);
}

.updated { margin-bottom: 28px; color: var(--muted); font-size: 14px; }

.summary {
  margin: 22px 0 30px;
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
  background: var(--blue-soft);
}

.warning {
  margin: 24px 0;
  padding: 17px 19px;
  border-left: 4px solid var(--warning-line);
  border-radius: 0 14px 14px 0;
  background: var(--warning-bg);
}

h2 { margin: 34px 0 10px; color: var(--ink); font-size: 25px; letter-spacing: -.015em; }

h2:first-of-type { margin-top: 0; }

h3 { margin: 25px 0 7px; color: var(--ink); font-size: 19px; }

p { margin: 9px 0 16px; }

ul { margin: 9px 0 18px; padding-left: 23px; }

li + li { margin-top: 7px; }

.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 25px 0;
}

.detail {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcff;
}

.detail strong { display: block; margin-bottom: 3px; color: var(--ink); }

.detail a { overflow-wrap: anywhere; font-weight: 700; }

.steps { padding: 0; list-style: none; counter-reset: steps; }

.steps li {
  position: relative;
  min-height: 38px;
  padding: 4px 0 4px 48px;
  counter-increment: steps;
}

.steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  content: counter(steps);
  font-weight: 800;
}

.contact {
  margin-top: 34px;
  padding: 23px;
  border-radius: 18px;
  background: var(--ink);
  color: #eaf0ff;
}

.contact h2 { margin: 0 0 8px; color: #fff; }

.contact a { color: #bcd0ff; font-weight: 750; overflow-wrap: anywhere; }

footer { padding: 0 20px 36px; color: var(--muted); font-size: 14px; text-align: center; }

footer a { font-weight: 650; }

@media (max-width: 680px) {
  .wrap { width: min(100% - 28px, 920px); }
  .nav { align-items: flex-start; }
  nav { flex-direction: column; gap: 7px; align-items: flex-end; }
  .hero { padding-top: 52px; }
  header { padding-bottom: 84px; }
  .details { grid-template-columns: 1fr; }
  .card { border-radius: 21px; }
}

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