:root {
  color-scheme: light;
  --ink: #10202b;
  --muted: #526572;
  --line: #d9e5ea;
  --paper: #f7fbfc;
  --surface: #ffffff;
  --brand: #075985;
  --brand-deep: #0c3c59;
  --accent: #dff4fb;
  --warning: #fff8e7;
  --warning-line: #e6b952;
  --radius: 22px;
  --shadow: 0 18px 55px rgb(15 45 60 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 90% 0%, rgb(171 225 242 / 38%), transparent 34rem),
    var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
summary:focus-visible {
  border-radius: 4px;
  outline: 3px solid #f7bf45;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 10;
  padding: 0.65rem 1rem;
  border-radius: 0 0 8px 8px;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  border-bottom: 1px solid rgb(217 229 234 / 75%);
  background: rgb(247 251 252 / 88%);
}

.header-inner,
.page-shell,
.footer-inner {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  color: var(--brand-deep);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
}

.page-shell {
  padding-block: clamp(3rem, 7vw, 7rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  min-height: 540px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.35;
  text-wrap: balance;
}

.nowrap {
  white-space: nowrap;
}

h1 {
  max-width: 12em;
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5rem);
  letter-spacing: -0.04em;
}

h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.7rem, 4vw, 2.65rem);
  letter-spacing: -0.025em;
}

h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}

.lead {
  max-width: 45rem;
  margin: 1.5rem 0 0;
  color: #314b5a;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgb(255 255 255 / 82%);
  border-radius: 34px;
  background: linear-gradient(155deg, #0c4a6e 0%, #0e7490 55%, #22a3b8 100%);
  box-shadow: var(--shadow);
  color: white;
}

.hero-card::after {
  position: absolute;
  inset: auto -20% -38% 30%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgb(255 255 255 / 14%);
  content: "";
}

.sequence {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.sequence span {
  display: grid;
  min-height: 72px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 18px;
  background: rgb(255 255 255 / 13%);
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.sequence span:last-child {
  grid-column: 2;
}

.hero-card p {
  position: relative;
  z-index: 1;
  margin: 1.4rem 0 0;
  color: rgb(255 255 255 / 86%);
  font-size: 0.9rem;
}

.section {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-intro {
  max-width: 47rem;
  margin: -0.55rem 0 2rem;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 28px rgb(15 45 60 / 5%);
}

.card p,
.card ul {
  margin-bottom: 0;
  color: var(--muted);
}

.step-number {
  display: inline-grid;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--brand-deep);
  font-weight: 800;
}

.notice {
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--warning-line);
  border-left-width: 5px;
  border-radius: 14px;
  background: var(--warning);
}

.notice h2,
.notice h3 {
  margin-top: 0;
}

.notice p:last-child {
  margin-bottom: 0;
}

.link-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.link-list li {
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.prose {
  max-width: 780px;
}

.prose h1 {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.prose h2 {
  margin-top: 3.5rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.prose h3 {
  margin-top: 2rem;
}

.prose li + li {
  margin-top: 0.45rem;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

details {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

details + details {
  margin-top: 0.8rem;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p:last-child,
details ul:last-child {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #eef6f8;
}

.footer-inner {
  display: flex;
  padding-block: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav,
  .footer-links {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-card {
    max-width: 440px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

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