:root {
  --blue-950: #071c40;
  --blue-900: #0c2859;
  --blue-800: #123574;
  --blue-700: #1d4b95;
  --orange: #eb5a0a;
  --yellow: #ffdb00;
  --ink: #101a32;
  --muted: #5f6c83;
  --line: #dfe5ef;
  --page: #f5f7fb;
  --surface: #fff;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(22, 42, 81, .11);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 6%, rgba(242,139,18,.12), transparent 24rem),
    radial-gradient(circle at 94% 11%, rgba(255,219,0,.13), transparent 25rem),
    var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

img { max-width: 100%; }
a { color: var(--blue-700); }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue-950);
  border-radius: 10px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

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

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(18,53,116,.09);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--blue-900);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.035em;
  text-decoration: none;
}

.brand img {
  width: 43px;
  height: 43px;
  border-radius: 12px;
}

.brand span span { color: #f28b12; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-nav a {
  padding: 9px 13px;
  color: var(--blue-900);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.header-nav a:hover,
.header-nav a[aria-current="page"] {
  color: white;
  background: var(--blue-800);
}

.hero { padding: clamp(54px, 8vw, 96px) 0 clamp(48px, 7vw, 82px); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.breadcrumb a { color: var(--blue-700); text-decoration: none; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3 {
  color: var(--blue-950);
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(39px, 6vw, 67px);
  letter-spacing: -.055em;
}

.hero-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: #53617b;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.7;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 29px;
  color: white;
  background: linear-gradient(140deg, var(--blue-950), var(--blue-700));
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 27px;
  box-shadow: var(--shadow);
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -76px;
  width: 190px;
  height: 190px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: .12;
}

.hero-card-icon {
  display: grid;
  width: 49px;
  height: 49px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--blue-950);
  background: var(--yellow);
  border-radius: 15px;
  font-size: 23px;
  font-weight: 950;
}

.hero-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.25;
}

.hero-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}

.article-wrap {
  padding: 0 0 clamp(70px, 9vw, 118px);
}

.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(30px, 6vw, 68px);
  align-items: start;
}

.toc {
  position: sticky;
  top: 24px;
  padding: 21px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(18,53,116,.1);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(22,42,81,.06);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-950);
  font-size: 13px;
}

.toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.toc a:hover { color: var(--orange); }

.article-body {
  min-width: 0;
  padding: clamp(26px, 5vw, 54px);
  background: var(--surface);
  border: 1px solid rgba(18,53,116,.1);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.article-body section { scroll-margin-top: 24px; }
.article-body section + section { margin-top: 48px; }

.article-body h2 {
  margin: 0 0 15px;
  font-size: clamp(26px, 3.3vw, 38px);
  letter-spacing: -.035em;
}

.article-body h3 {
  margin: 26px 0 8px;
  font-size: 20px;
  letter-spacing: -.02em;
}

.article-body p,
.article-body li { color: #53617a; }

.article-body p { margin: 0 0 16px; }
.article-body ul { margin: 0; padding-left: 22px; }
.article-body li + li { margin-top: 8px; }

.steps {
  display: grid;
  gap: 13px;
  margin-top: 22px;
  counter-reset: guide-step;
}

.step {
  position: relative;
  padding: 21px 21px 21px 70px;
  background: #f8faff;
  border: 1px solid #e5eaf3;
  border-radius: 17px;
  counter-increment: guide-step;
}

.step::before {
  content: counter(guide-step);
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--blue-950);
  background: var(--yellow);
  border-radius: 11px;
  font-weight: 950;
}

.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; font-size: 14px; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 20px;
}

.info-card {
  padding: 21px;
  background: #fffaf0;
  border: 1px solid rgba(242,139,18,.22);
  border-radius: 17px;
}

.info-card h3 { margin: 0 0 7px; font-size: 17px; }
.info-card p { margin: 0; font-size: 14px; }

.callout {
  margin: 24px 0;
  padding: 21px 23px;
  color: white;
  background: linear-gradient(135deg, var(--blue-950), var(--blue-700));
  border-left: 6px solid var(--yellow);
  border-radius: 16px;
}

.callout strong { display: block; margin-bottom: 5px; }
.callout p { margin: 0; color: rgba(255,255,255,.81); }

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
  padding: 24px;
  background: linear-gradient(135deg, #fff6d0, #fffdf4);
  border: 1px solid rgba(215,172,0,.28);
  border-radius: 20px;
}

.cta-box strong {
  display: block;
  color: var(--blue-950);
  font-size: 18px;
}

.cta-box span { color: var(--muted); font-size: 14px; }

.button {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  color: white;
  background: var(--orange);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.site-footer {
  padding: 31px 0;
  background: white;
  border-top: 1px solid rgba(18,53,116,.1);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

@media (max-width: 800px) {
  .header-nav a:not(.nav-primary) { display: none; }
  .hero-grid,
  .article-layout { grid-template-columns: 1fr; }
  .hero-card { max-width: 520px; }
  .toc { position: static; }
  .toc a { display: inline-block; margin-right: 13px; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 68px; }
  .brand { font-size: 16px; }
  .brand img { width: 39px; height: 39px; }
  .header-nav .nav-primary { padding: 8px 11px; font-size: 12px; }
  .hero { padding-top: 42px; }
  h1 { font-size: clamp(36px, 12vw, 51px); }
  .article-body { padding: 24px 19px; border-radius: 22px; }
  .info-grid { grid-template-columns: 1fr; }
  .step { padding: 65px 18px 19px; }
  .cta-box,
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .button { width: 100%; }
  .footer-inner p { text-align: left; }
}
