:root {
  color-scheme: light;
  --sky: #2f93da;
  --sky-dark: #236fae;
  --slate: #173654;
  --slate-soft: #3f6288;
  --gold: #ffc42f;
  --gold-dark: #a66c00;
  --paper: #ffffff;
  --surface: #f3f7fb;
  --line: #d9e4ee;
  --muted: #5c6e80;
  --shadow: 0 14px 34px rgba(18, 54, 84, 0.14);
  font-family: Inter, ui-rounded, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--slate);
  font-size: 16px;
  line-height: 1.65;
}

a { color: #176eb0; text-underline-offset: 0.18em; }
a:hover { color: #0e4f82; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

.shell {
  width: min(880px, calc(100% - 36px));
  margin-inline: auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: grid;
  align-items: center;
  color: white;
  background:
    radial-gradient(circle at 82% 30%, rgba(255,255,255,.24) 0 5%, transparent 5.5%),
    radial-gradient(circle at 90% 30%, rgba(255,255,255,.18) 0 8%, transparent 8.5%),
    linear-gradient(150deg, var(--sky) 0%, var(--sky-dark) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  bottom: -190px;
  border: 35px solid rgba(255, 196, 47, .8);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.hero__content { position: relative; z-index: 1; padding-block: 64px; }
.eyebrow { margin: 0 0 10px; color: var(--gold); font-weight: 900; letter-spacing: .16em; }
h1 { margin: 0; font-size: clamp(2.4rem, 8vw, 4.7rem); line-height: 1; letter-spacing: -.04em; }
.hero__copy { max-width: 580px; margin: 24px 0 0; font-size: clamp(1.05rem, 3vw, 1.3rem); }

.cards { display: grid; gap: 18px; padding-block: 48px; }
.card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 24px;
  color: var(--slate);
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { color: var(--slate); transform: translateY(-3px); box-shadow: 0 20px 38px rgba(18, 54, 84, .18); }
.card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gold);
  color: var(--slate);
  font-size: 2rem;
  font-weight: 900;
  box-shadow: inset 0 -5px 0 rgba(166,108,0,.2);
}
.card strong { display: block; font-size: 1.25rem; }
.card small { display: block; color: var(--muted); font-size: .98rem; }
.card__arrow { font-size: 1.8rem; font-weight: 800; }

.page-header {
  color: white;
  background: linear-gradient(145deg, var(--sky), var(--sky-dark));
  border-bottom: 7px solid var(--gold);
}
.page-header__inner { padding-block: 34px 38px; }
.back-link { display: inline-block; margin-bottom: 24px; color: white; font-weight: 750; text-decoration: none; }
.back-link:hover { color: #fff7d3; }
.page-header h1 { font-size: clamp(2.1rem, 7vw, 3.7rem); }
.page-header p { margin: 12px 0 0; color: #eaf6ff; }

.document {
  margin-block: 34px 48px;
  padding: clamp(24px, 6vw, 54px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.document h2 { margin: 2.2em 0 .5em; font-size: 1.5rem; line-height: 1.25; }
.document h2:first-of-type { margin-top: 1.4em; }
.document h3 { margin: 1.5em 0 .4em; font-size: 1.1rem; }
.document p, .document li { color: #334d66; }
.document li + li { margin-top: .45em; }
.document ul, .document ol { padding-left: 1.35em; }
.document strong { color: var(--slate); }
.updated { margin: 0; color: var(--muted); font-size: .94rem; }
.notice {
  margin: 24px 0;
  padding: 18px 20px;
  background: #fff7d7;
  border-left: 5px solid var(--gold);
  border-radius: 8px 16px 16px 8px;
}
.notice p { margin: 0; color: #604c10; }
.button {
  display: inline-block;
  margin: 12px 0;
  padding: 14px 20px;
  border-radius: 14px;
  color: var(--slate);
  background: var(--gold);
  box-shadow: inset 0 -4px 0 rgba(166,108,0,.22);
  font-weight: 850;
  text-decoration: none;
}
.button:hover { color: var(--slate); background: #ffd258; }

.footer { padding-block: 12px 42px; color: var(--muted); text-align: center; font-size: .92rem; }
.footer p { margin: 4px; }

@media (max-width: 560px) {
  .hero { min-height: 260px; }
  .hero__content { padding-block: 48px; }
  .card { grid-template-columns: auto 1fr; padding: 20px; gap: 16px; }
  .card__arrow { display: none; }
  .document { border-radius: 18px; }
}

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