:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #536981;
  --line: #d3e3ef;
  --soft: #eaf4fb;
  --paper: #ffffff;
  --brand: #063a75;
  --brand-2: #0b73b7;
  --brand-3: #05284f;
  --accent: #62d0ff;
  --accent-2: #f8c246;
  --ok: #1f7a54;
  --shadow: 0 24px 70px rgba(5, 40, 79, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f4f8fc;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  background: var(--accent);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 10;
}

.skip-link:focus {
  top: 16px;
}

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

.header-inner,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0;
}

.main-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 15px;
}

.main-nav a,
.site-footer a {
  text-decoration: none;
}

.main-nav a:hover,
.site-footer a:hover,
.card a:hover {
  color: var(--brand-2);
}

.hero {
  background: var(--brand-3);
  color: #ffffff;
}

.hero-photo {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  overflow: hidden;
}

.hero-photo > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 40, 79, 0.96) 0%, rgba(6, 58, 117, 0.88) 38%, rgba(6, 58, 117, 0.36) 68%, rgba(5, 40, 79, 0.08) 100%),
    linear-gradient(180deg, rgba(5, 40, 79, 0.18), rgba(5, 40, 79, 0.68));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.58fr);
  gap: 48px;
  align-items: center;
  min-height: 640px;
  padding-block: 88px 72px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow,
.hero .lead {
  color: #dff4ff;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.4rem, 5.5vw, 5.4rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

h3 {
  font-size: 1.15rem;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero h1 {
  max-width: 780px;
}

.search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 760px;
  margin-top: 30px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.search-box input,
.search-box button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  font: inherit;
}

.search-box input {
  width: 100%;
  padding: 0 14px;
  color: var(--ink);
  outline: 0;
}

.search-box button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #16212d;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.notice {
  display: inline-block;
  max-width: 800px;
  margin-top: 18px;
  padding: 10px 12px;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  font-size: 0.95rem;
}

.trust-panel,
.signup-panel {
  display: grid;
  gap: 10px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(6, 58, 117, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.trust-panel span,
.signup-panel > span {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.trust-panel strong,
.signup-panel > strong {
  font-size: 1.45rem;
  line-height: 1.18;
}

.trust-panel p,
.signup-panel p {
  margin: 0;
  color: #dff4ff;
}

.newsletter-form {
  display: grid;
  gap: 11px;
  margin-top: 10px;
}

.newsletter-form label {
  color: #eef9ff;
  font-size: 0.92rem;
  font-weight: 750;
}

.newsletter-form input[type="email"],
.newsletter-form select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
}

.newsletter-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #17324d 50%), linear-gradient(135deg, #17324d 50%, transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 12px) 19px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.consent-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin-top: 2px;
  font-size: 0.84rem;
  line-height: 1.35;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.consent-row a {
  color: #ffffff;
  font-weight: 800;
  text-underline-offset: 3px;
}

.newsletter-form .privacy-note,
.newsletter-form .form-status {
  color: #dff4ff;
  font-size: 0.82rem;
  line-height: 1.4;
}

.newsletter-form button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #16212d;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.newsletter-form button:hover {
  background: #7bd9ff;
}

.blue-strip {
  background: var(--brand);
  color: #ffffff;
  border-block: 1px solid rgba(255, 255, 255, 0.18);
}

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

.strip-grid div {
  display: grid;
  gap: 2px;
  padding: 22px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.strip-grid div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.strip-grid strong {
  font-size: 1.8rem;
  line-height: 1;
}

.strip-grid span {
  color: #c7ecff;
  font-size: 0.95rem;
}

.section,
.listing,
.article {
  padding-block: 72px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

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

.card {
  overflow: hidden;
  min-height: 250px;
  padding: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(5, 40, 79, 0.08);
}

.card > :not(.card-image) {
  margin-inline: 24px;
}

.card-image {
  display: block;
  aspect-ratio: 16 / 9;
  margin: 0 0 18px;
  overflow: hidden;
  background: var(--soft);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 180ms ease;
}

.card:hover .card-image img {
  transform: scale(1.03);
}

.card h3 {
  margin: 8px 0 10px;
}

.card a {
  text-decoration: none;
}

.card p {
  color: var(--muted);
}

.meta {
  color: var(--brand-2);
  font-size: 0.88rem;
  font-weight: 800;
}

.method {
  background:
    linear-gradient(135deg, rgba(6, 58, 117, 0.08), rgba(98, 208, 255, 0.16)),
    var(--soft);
  border-block: 1px solid var(--line);
}

.method-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 40px;
  padding-block: 60px;
}

.method ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method li {
  padding: 18px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.article-header {
  max-width: 900px;
  margin-bottom: 40px;
}

.article-image {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin-top: 28px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
}

.facts div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.facts dt {
  color: var(--muted);
  font-size: 0.85rem;
}

.facts dd {
  margin: 2px 0 0;
  font-weight: 800;
}

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

.toc {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.toc a {
  color: var(--muted);
  text-decoration: none;
}

.toc a:hover,
.toc a:focus-visible {
  color: var(--brand-2);
  text-decoration: underline;
}

.article-body {
  max-width: 760px;
  min-width: 0;
}

.article-body section {
  padding-bottom: 22px;
  scroll-margin-top: 94px;
}

.article-body h2 {
  margin-bottom: 12px;
  font-size: 1.7rem;
}

.article-body p,
.article-body li {
  color: #2d3b48;
}

.article-body p {
  margin: 0 0 16px;
}

.article-body a {
  color: #075aa0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-body a:hover,
.article-body a:focus-visible {
  color: #003b73;
}

.article-body li {
  margin-bottom: 8px;
}

.key-points {
  margin-bottom: 32px;
  padding: 22px 24px 14px;
  border-left: 5px solid var(--brand-2);
  background: #e9f4fc;
}

.key-points strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.key-points ul {
  margin: 0;
  padding-left: 20px;
}

.steps {
  margin: 10px 0 24px;
  padding-left: 32px;
}

.steps li {
  padding-left: 7px;
  margin-bottom: 16px;
}

.steps li::marker {
  color: var(--brand-2);
  font-weight: 800;
}

.data-table {
  overflow-x: auto;
  max-width: 100%;
  margin: 18px 0 22px;
  border: 1px solid var(--line);
}

.data-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

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

.data-table th {
  background: #e9f4fc;
  color: var(--brand-3);
}

.article-figure {
  margin: 6px 0 34px;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.article-figure figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.88rem;
}

.article-sources,
.related-guides {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}

details {
  margin: 10px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

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

.official-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid #a6d9f0;
  border-radius: 8px;
  background: #e9f7fe;
}

.source-list {
  display: grid;
  gap: 12px;
}

.source-list a {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  text-decoration: none;
}

.source-list span {
  font-weight: 800;
}

.source-list small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.narrow {
  max-width: 780px;
}

.search-wide {
  margin-bottom: 28px;
}

.site-footer {
  padding-block: 36px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.site-footer p {
  max-width: 620px;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 860px) {
  .header-inner,
  .footer-grid,
  .section-heading,
  .official-box {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero-grid {
    min-height: auto;
    padding-block: 48px;
  }

  .card-grid,
  .method ol,
  .facts,
  .strip-grid {
    grid-template-columns: 1fr;
  }

  .strip-grid div,
  .strip-grid div:last-child {
    border-inline: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .toc {
    position: static;
  }
}

@media (max-width: 560px) {
  .search-box {
    grid-template-columns: 1fr;
  }

  .main-nav {
    gap: 10px;
  }

  h1 {
    font-size: 2.2rem;
  }
}
