:root {
  color-scheme: light;
  --ink: #1d2a31;
  --muted: #5f6b6d;
  --line: #dfe3e8;
  --petrol: #000091;
  --petrol-dark: #00006d;
  --paper: #ffffff;
  --soft: #f6f7f9;
  --gold: #c9a24a;
  font-family: Arial, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.68;
}

a {
  color: var(--petrol-dark);
  font-weight: 800;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.site-footer {
  border-block: 1px solid var(--line);
  background: var(--soft);
}

.wrap {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--petrol-dark);
  font-size: 1.28rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 24px;
  color: #354248;
  font-size: 0.95rem;
}

.nav-links a {
  color: #354248;
  font-weight: 400;
  padding: 8px 0;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 24px;
  border: 2px solid var(--petrol);
  border-radius: 0;
  background: var(--petrol);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.nav > .button {
  flex: 0 0 186px;
  width: 186px;
  min-height: 46px;
  height: 46px;
  padding: 0 18px;
  font-size: 0.94rem;
}

.button:hover,
.button:focus-visible {
  background: var(--petrol-dark);
  border-color: var(--petrol-dark);
}

.button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

main {
  padding: 64px 0;
}

.eyebrow {
  color: var(--petrol-dark);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin: 14px 0 20px;
  font-size: clamp(2.45rem, 6vw, 4.4rem);
}

h2 {
  margin: 42px 0 14px;
  font-size: clamp(1.75rem, 4vw, 2.65rem);
}

h3 {
  margin: 28px 0 10px;
  font-size: 1.35rem;
}

p,
li {
  color: #405057;
}

.lead {
  max-width: 780px;
  color: #455154;
  font-size: clamp(1.1rem, 2vw, 1.28rem);
}

.answer,
.note,
.toc,
.faq,
.cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 24px;
}

.answer {
  margin-top: 34px;
  background: #f2f6ff;
  border-color: rgba(0, 0, 145, 0.22);
}

.toc {
  margin: 28px 0;
}

.toc ul,
.checklist {
  margin: 12px 0 0;
  padding-left: 22px;
}

.wrap a {
  overflow-wrap: anywhere;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.note {
  border-left: 4px solid var(--gold);
}

.faq {
  margin-top: 16px;
}

.cta {
  margin-top: 42px;
  background: var(--petrol-dark);
}

.cta h2,
.cta p,
.cta a {
  color: #ffffff;
}

.article-meta {
  margin: 12px 0 28px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.article-hero {
  margin: 30px 0 34px;
}

.article-hero img,
.article-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
}

.article-table-wrap {
  margin: 34px 0;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 0.98rem;
}

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

.data-table th {
  background: #eef3ff;
  color: var(--petrol-dark);
  font-weight: 900;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.related-grid,
.article-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.related-link,
.article-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}

.article-card {
  padding: 0;
  overflow: hidden;
}

.article-card strong,
.article-card span {
  display: block;
  padding: 0 18px;
}

.article-card-category {
  margin-top: 16px;
  color: var(--petrol-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-card strong {
  margin: 8px 0;
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1.25;
}

.article-card span:last-child {
  padding-bottom: 18px;
  color: #405057;
  font-size: 0.96rem;
  line-height: 1.45;
}

.site-footer {
  padding: 28px 0;
  color: var(--muted);
}

@media (max-width: 720px) {
  body {
    font-size: 17px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    overflow-x: visible;
    row-gap: 8px;
    padding-bottom: 4px;
  }

  .nav .button {
    display: none;
  }

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

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

  main {
    padding: 42px 0;
  }
}
