 :root {
  --brand: #123b85;
  --brand-dark: #0b244f;
  --accent: #c23343;
  --surface: #f5f7fb;
  --surface-strong: #ffffff;
  --ink: #1b2436;
  --muted: #5d6b84;
  --line: #d5ddea;
  --shadow: 0 20px 44px rgba(15, 35, 72, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.7;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 27, 52, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand span:first-child {
  color: #7eb8ff;
}

.brand span:last-child {
  color: #ff8c6b;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: #fff;
}

.hero {
  background: linear-gradient(135deg, #0b1f3e 0%, #163a74 100%);
  color: #fff;
  padding: 78px 0 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 12px;
  max-width: 780px;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.12;
}

.hero p {
  max-width: 760px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.hero-meta,
.breadcrumbs {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.breadcrumbs {
  margin-top: 12px;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.82);
}

.page-wrap {
  padding: 38px 0 72px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.article-card,
.side-card,
.info-card,
.faq-card,
.cta-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.article-card {
  padding: 34px;
}

.article-card h2,
.article-card h3,
.side-card h2,
.side-card h3,
.cta-card h2 {
  font-family: "Sora", sans-serif;
  color: var(--brand-dark);
}

.article-card h2 {
  margin: 34px 0 14px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.article-card h3 {
  margin: 22px 0 10px;
  font-size: 1.1rem;
}

.article-card p,
.article-card li {
  color: var(--muted);
  font-size: 1rem;
}

.article-card ul,
.article-card ol {
  padding-left: 20px;
}

.article-card li + li {
  margin-top: 8px;
}

.lead-note,
.warning-note {
  margin: 24px 0;
  padding: 18px 20px;
  border-radius: 18px;
}

.lead-note {
  background: #f0f5ff;
  border: 1px solid #dbe5f7;
}

.warning-note {
  background: #fff5f2;
  border: 1px solid #f2d1c7;
}

.stats,
.card-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.info-card,
.related-card {
  padding: 20px;
}

.info-card h3,
.related-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.info-card p,
.related-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 18px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.side-card {
  padding: 22px;
  position: sticky;
  top: 96px;
}

.side-card h2,
.side-card h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.side-card p,
.side-card li {
  color: var(--muted);
  font-size: 0.94rem;
}

.side-card ul {
  margin: 0;
  padding-left: 18px;
}

.side-card .stack + .stack {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.table-wrap {
  overflow-x: auto;
  margin: 22px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--brand-dark);
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
}

td {
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.faq-card {
  padding: 18px 20px;
}

.faq-card summary {
  cursor: pointer;
  list-style: none;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: var(--brand-dark);
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.cta-card {
  margin-top: 34px;
  padding: 28px;
  background: linear-gradient(135deg, #0d2345 0%, #163a74 100%);
  color: #fff;
}

.cta-card h2 {
  color: #fff;
  margin: 0 0 10px;
}

.cta-card p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), #e05b66);
  color: #fff;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.related-section {
  margin-top: 36px;
}

.related-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.related-card a {
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  color: var(--brand-dark);
}

.site-footer {
  background: #0a1b34;
  color: #9aacc7;
  padding: 28px 0 42px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
  font-size: 0.88rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: #c7d4e7;
  font-size: 0.88rem;
}

@media (max-width: 960px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
  }

  .card-grid.three,
  .stats,
  .card-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 64px;
  }

  .site-header .container,
  .nav-links {
    justify-content: center;
  }

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