:root {
  --ink: #101820;
  --muted: #55616c;
  --line: #dce2e6;
  --paper: #ffffff;
  --soft: #f3f6f7;
  --navy: #071725;
  --navy-2: #0c2638;
  --cyan: #55d4de;
  --orange: #f3a71b;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-180%);
}

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

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.88rem;
}

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

.nav-links .nav-cta {
  padding: 9px 17px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  color: #fff;
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 13, 22, 0.94) 0%, rgba(3, 13, 22, 0.72) 45%, rgba(3, 13, 22, 0.18) 78%),
    linear-gradient(0deg, rgba(3, 13, 22, 0.78) 0%, transparent 58%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 790px;
  padding: 170px 0 88px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 6vw, 5.25rem);
  line-height: 1.02;
  font-weight: 670;
}

.hero-lead {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--orange);
  color: #131b22;
  font-size: 0.92rem;
  font-weight: 720;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #ffbd3f;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(7, 23, 37, 0.38);
  color: #fff;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.breadcrumb {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 18px 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.82rem;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #9aa4ac;
}

.breadcrumb a {
  text-decoration: none;
}

.answer-strip {
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.answer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.45fr);
  gap: 64px;
  align-items: start;
  padding: 64px 0;
}

.answer-label {
  margin: 0 0 14px;
  color: #48606f;
  font-size: 0.78rem;
  font-weight: 730;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.answer {
  margin: 0;
  color: #1a2730;
  font-size: clamp(1.32rem, 2.2vw, 1.85rem);
  line-height: 1.52;
}

.page-meta {
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.page-meta li + li {
  margin-top: 7px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  gap: 84px;
  align-items: start;
  padding: 100px 0 120px;
}

.article section + section {
  margin-top: 88px;
}

.article h2 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.12;
  font-weight: 650;
}

.article h3 {
  margin: 34px 0 12px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.article p {
  max-width: 780px;
  margin: 0 0 18px;
  color: #35434d;
}

.article ul,
.article ol {
  max-width: 780px;
  margin: 24px 0 0;
  padding-left: 1.25rem;
  color: #273640;
}

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

.article .note {
  max-width: 780px;
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 4px solid var(--orange);
  background: var(--soft);
  color: #263640;
}

.article .evidence {
  margin-top: 30px;
}

.article .evidence img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.article .caption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.83rem;
}

.fact-table {
  width: 100%;
  max-width: 820px;
  margin-top: 30px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

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

.fact-table th {
  width: 30%;
  color: #21313c;
  font-weight: 680;
}

.fact-table td {
  color: #45535d;
}

.toc {
  position: sticky;
  top: 28px;
  padding-top: 4px;
}

.toc p {
  margin: 0 0 14px;
  color: #263945;
  font-size: 0.75rem;
  font-weight: 730;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  text-decoration: none;
}

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

.faq {
  max-width: 820px;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 22px 42px 22px 0;
  cursor: pointer;
  color: #162631;
  font-weight: 670;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 4px;
  color: var(--muted);
  font-size: 1.4rem;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  padding: 0 42px 22px 0;
}

.directory {
  padding: 100px 0 120px;
}

.directory-header {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 60px;
}

.directory-header h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.08;
}

.directory-header p {
  margin: 0;
  color: var(--muted);
}

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

.directory-card {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.directory-card .card-label {
  color: #4e6573;
  font-size: 0.72rem;
  font-weight: 740;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.directory-card h3 {
  margin: 36px 0 12px;
  font-size: 1.45rem;
  line-height: 1.25;
}

.directory-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.directory-card a {
  color: #0b5b78;
  font-size: 0.9rem;
  font-weight: 680;
  text-decoration: none;
}

.directory-card a::after {
  content: " →";
}

.related {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.related-inner {
  padding: 88px 0;
}

.related h2 {
  margin-bottom: 34px;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

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

.related-links a {
  min-height: 150px;
  padding: 24px;
  border: 1px solid #cfd8dd;
  border-radius: 8px;
  background: #fff;
  color: #17303f;
  font-weight: 660;
  text-decoration: none;
}

.related-links span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 400;
}

.cta {
  background: var(--navy);
  color: #fff;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  align-items: center;
  padding: 86px 0;
}

.cta h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  line-height: 1.08;
}

.cta p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  padding: 72px 0 34px;
  background: #05111b;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(150px, 0.55fr));
  gap: 40px;
}

.footer-grid h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.25rem;
}

.footer-grid h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-grid p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 570px;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(3, 13, 22, 0.9), rgba(3, 13, 22, 0.48)),
      linear-gradient(0deg, rgba(3, 13, 22, 0.82), transparent 64%);
  }

  .answer-grid,
  .content-layout,
  .directory-header,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .content-layout {
    gap: 50px;
  }

  .toc {
    position: static;
    order: -1;
  }

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

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

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .nav {
    min-height: 68px;
  }

  .brand {
    font-size: 0.78rem;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links .nav-cta {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 590px;
  }

  .hero-content {
    padding: 132px 0 58px;
  }

  h1 {
    font-size: clamp(2.45rem, 12.5vw, 4rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .answer-grid {
    gap: 34px;
    padding: 48px 0;
  }

  .content-layout,
  .directory {
    padding: 72px 0 88px;
  }

  .article section + section {
    margin-top: 64px;
  }

  .directory-grid,
  .related-links,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .directory-card {
    min-height: 0;
  }

  .cta-inner {
    gap: 34px;
    padding: 66px 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
