:root {
  --brand: #007de5;
  --brand-deep: #003172;
  --brand-ink: #0f2440;
  --brand-soft: #dfeeff;
  --ink: #10263f;
  --muted: #385067;
  --line: rgba(0, 49, 114, 0.12);
  --surface: rgba(255, 255, 255, 0.9);
  --shadow: 0 18px 48px rgba(0, 49, 114, 0.1);
  --shadow-soft: 0 16px 44px rgba(0, 49, 114, 0.08);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --content-width: min(1240px, calc(100vw - 40px));
  --article-width: var(--content-width);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), transparent 20%),
    radial-gradient(circle at 82% 8%, rgba(0, 125, 229, 0.2), transparent 20%),
    radial-gradient(circle at 20% 78%, rgba(0, 49, 114, 0.06), transparent 18%),
    linear-gradient(180deg, #f7fbff 0%, #e8f3ff 46%, #dbeafc 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.26) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08));
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: var(--content-width);
  margin: 0 auto;
  padding: 24px 0 72px;
  position: relative;
  z-index: 1;
}

.site-header,
.site-footer {
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 182px;
  height: auto;
}

.site-nav,
.hero-actions,
.eyebrow-row,
.footer-links,
.article-meta,
.cta-actions,
.inline-links,
.pill-row {
  display: flex;
  align-items: center;
}

.site-nav {
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav a {
  font-size: 0.97rem;
  font-weight: 700;
  color: rgba(17, 38, 61, 0.74);
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-deep);
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand-deep) 0%, #0b4f95 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(0, 49, 114, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.74);
  color: var(--brand-deep);
  border-color: rgba(0, 49, 114, 0.14);
  box-shadow: var(--shadow-soft);
}

.button-tertiary {
  background: rgba(0, 125, 229, 0.1);
  color: var(--brand-deep);
  border-color: rgba(0, 125, 229, 0.16);
}

.page-main {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  width: 100%;
  max-width: var(--article-width);
  margin: 22px auto 0;
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.78), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: min(38vw, 360px);
  height: min(38vw, 360px);
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(0, 125, 229, 0.12) 0%, rgba(0, 125, 229, 0.02) 48%, rgba(0, 125, 229, 0) 70%);
  pointer-events: none;
}

.hero::after {
  display: none;
}

.hero-copy,
.section-heading,
.article-prose,
.article-section,
.related-card,
.compare-card {
  display: grid;
  gap: 14px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-content: start;
}

.hero-copy p,
.section-heading p,
.card p,
.card li,
.page-note,
.page-meta {
  margin: 0;
}

.hero-copy p {
  max-width: 760px;
}

.hero-copy > p:last-of-type {
  max-width: 700px;
  font-size: clamp(1.08rem, 1.35vw, 1.2rem);
  color: #2f475f;
}

.hero-actions,
.cta-actions,
.article-meta,
.inline-links,
.pill-row {
  gap: 12px;
  flex-wrap: wrap;
}

.hero-side,
.aside-stack {
  display: none;
}

.eyebrow,
.section-tag {
  margin: 0;
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  line-height: 0.96;
  max-width: 15ch;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.96;
  max-width: none;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.24rem, 2vw, 1.62rem);
  line-height: 1.04;
}

p,
li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.78;
}

ul,
ol {
  margin: 0;
  padding-left: 20px;
}

.side-card,
.card,
.site-footer {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: var(--surface);
  box-shadow: 0 20px 48px rgba(0, 49, 114, 0.08);
}

.side-card,
.card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.card {
  overflow: hidden;
  isolation: isolate;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.7), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 42%);
  pointer-events: none;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card-soft {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.86), transparent 28%),
    linear-gradient(160deg, #f8fbff 0%, #e7f2ff 100%);
}

.card-deep {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 26%),
    linear-gradient(160deg, var(--brand-deep) 0%, #0b4f95 100%);
  color: #fff;
}

.card-deep h2,
.card-deep h3,
.card-deep p,
.card-deep li,
.card-deep .section-tag {
  color: #f4f8fc;
}

.card-deep .section-tag {
  opacity: 0.74;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(0, 125, 229, 0.08);
  border: 1px solid rgba(0, 125, 229, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
  color: var(--brand-deep);
  font-size: 0.94rem;
  font-weight: 700;
}

.section-heading {
  gap: 10px;
  margin-bottom: 10px;
}

.section-heading p {
  max-width: 56ch;
}

.section-heading::after {
  content: "";
  width: 86px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand) 0%, rgba(0, 125, 229, 0.14) 100%);
}

.grid-two,
.grid-three,
.fact-grid,
.related-grid {
  display: grid;
  gap: 18px;
}

.grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fact-grid,
.related-grid {
  grid-template-columns: 1fr;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 18px 18px 16px;
  border-radius: 24px;
  border: 1px solid rgba(0, 49, 114, 0.08);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #d7ebff 100%);
  border: 1px solid rgba(0, 49, 114, 0.12);
  color: var(--brand-deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li,
.fact-item {
  position: relative;
  padding: 15px 18px 15px 48px;
  border-radius: 22px;
  border: 1px solid rgba(0, 49, 114, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.fact-item {
  display: grid;
  gap: 6px;
  padding-left: 18px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 0 0 5px rgba(0, 125, 229, 0.1);
}

.fact-item strong,
.checklist li strong,
.compare-card strong,
.text-link,
.jump-list a {
  color: var(--brand-deep);
}

.compare-card p {
  margin: 0;
}

.page-note {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(0, 125, 229, 0.14);
  background: linear-gradient(180deg, rgba(0, 125, 229, 0.08) 0%, rgba(0, 125, 229, 0.04) 100%);
}

.cta-card {
  display: grid;
  gap: 16px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.86), transparent 26%),
    linear-gradient(155deg, #f4faff 0%, #d9ebff 100%);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.article-card {
  width: 100%;
  max-width: var(--article-width);
  margin: 0 auto;
  padding: 34px;
}

.article-prose {
  gap: 24px;
}

.article-section {
  gap: 12px;
}

.article-section h2,
.article-section h3,
.article-section p,
.article-section ul,
.article-section ol {
  margin: 0;
}

.article-section ul,
.article-section ol {
  display: grid;
  gap: 12px;
  padding-left: 22px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 49, 114, 0.12);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
  color: var(--brand-deep);
  font-size: 0.88rem;
  font-weight: 700;
}

.summary-list,
.jump-list,
.link-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-list li,
.jump-list li,
.link-list li {
  margin: 0;
}

.summary-list li {
  position: relative;
  padding-left: 20px;
}

.summary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%);
}

.jump-list a,
.link-list a,
.text-link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.jump-list a:hover,
.jump-list a:focus-visible,
.link-list a:hover,
.link-list a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--brand);
}

.article-callout {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(0, 125, 229, 0.14);
  background: linear-gradient(180deg, rgba(0, 125, 229, 0.08) 0%, rgba(0, 125, 229, 0.04) 100%);
}

.article-callout p,
.article-callout h3,
.related-card p {
  margin: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  margin-top: 30px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(160deg, rgba(0, 49, 114, 0.95) 0%, rgba(11, 79, 149, 0.95) 100%);
  color: rgba(255, 255, 255, 0.94);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.footer-links {
  justify-content: space-between;
  align-items: start;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links > div {
  display: grid;
  gap: 10px;
  min-width: 180px;
}

.footer-links h3 {
  color: #fff;
  font-size: 1.05rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

@media (max-width: 960px) {
  .hero,
  .grid-two,
  .grid-three,
  .article-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100vw - 24px, 100%);
    padding-top: 12px;
  }

  .site-header,
  .site-footer,
  .hero,
  .side-card,
  .card {
    border-radius: 24px;
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: start;
  }

  .article-card {
    padding: 24px 20px;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
