﻿:root {
  --bg: #f7fbff;
  --surface: #ffffff;
  --surface-soft: #f2f7fd;
  --text: #071f4d;
  --muted: #516785;
  --line: #dce7f4;
  --blue: #1557c2;
  --blue-dark: #0b3f9c;
  --teal: #079aa5;
  --amber: #f58a00;
  --shadow: 0 18px 46px rgba(13, 49, 103, 0.11);
  --shadow-soft: 0 8px 28px rgba(13, 49, 103, 0.08);
  --radius: 8px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 74% 9%, rgba(21, 87, 194, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #ffffff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 88px;
  padding: 0 max(28px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid rgba(220, 231, 244, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--blue);
}

.brand-mark img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.brand-copy span {
  font-size: 17px;
  font-weight: 650;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.main-nav a {
  position: relative;
  color: #102a59;
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--blue);
  transition: transform 180ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.search-button img {
  width: 22px;
  height: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 820;
  line-height: 1;
  cursor: pointer;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #2366d1, #134fbf);
  box-shadow: 0 10px 24px rgba(21, 87, 194, 0.22);
}

.button-primary:hover {
  background: linear-gradient(180deg, #1d5fc9, #0f47ad);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px 72px;
}

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 44px;
  min-height: 560px;
  padding: 46px 0 30px;
}

.hero-content {
  max-width: 560px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: #061f4f;
  font-size: clamp(44px, 6vw, 66px);
  font-weight: 860;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero-lead {
  max-width: 520px;
  margin-bottom: 32px;
  color: #415979;
  font-size: 19px;
  line-height: 1.72;
}

.lookup-form {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: min(100%, 540px);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.lookup-form > img {
  width: 22px;
  height: 22px;
  margin-left: 10px;
  opacity: 0.72;
}

.lookup-form input {
  width: 100%;
  min-width: 0;
  height: 48px;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.lookup-form input::placeholder {
  color: #8a9cb6;
  font-weight: 560;
}

.popular-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 780;
}

.popular-row span {
  color: #12305f;
}

.popular-row a {
  min-width: 62px;
  padding: 6px 12px;
  border-radius: 7px;
  color: var(--blue);
  background: #eaf2ff;
  text-align: center;
}

.hero-art {
  position: relative;
  margin: 0;
  min-height: 460px;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 8% 3% 6% 6%;
  border-radius: 36px;
  background:
    linear-gradient(120deg, rgba(255,255,255,0), rgba(255,255,255,0.86) 22%, rgba(255,255,255,0)),
    radial-gradient(circle at 42% 42%, rgba(21, 87, 194, 0.08), transparent 42%);
  pointer-events: none;
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1000 / 700;
  object-fit: contain;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 20px 0 40px;
}

.proof-card,
.panel {
  border: 1px solid rgba(220, 231, 244, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.proof-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 20px;
  min-height: 164px;
  padding: 30px 46px;
}

.proof-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
}

.proof-icon img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.proof-card strong {
  display: block;
  color: var(--text);
  font-size: 28px;
  font-weight: 860;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.proof-card span {
  color: #213c6b;
  font-size: 14px;
  font-weight: 690;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(300px, 0.95fr);
  gap: 28px;
  margin-bottom: 30px;
}

.panel {
  padding: 28px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

h2 {
  margin-bottom: 0;
  color: #082355;
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.text-link,
.read-more {
  color: var(--blue);
  font-size: 13px;
  font-weight: 820;
}

.text-link::after,
.read-more::after {
  content: " ->";
}

.code-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.code-card {
  position: relative;
  display: block;
  min-height: 174px;
  padding: 30px 22px 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.code-card:hover {
  transform: translateY(-3px);
  border-color: #bfd2ee;
  box-shadow: 0 14px 30px rgba(13, 49, 103, 0.12);
}

.code-card strong {
  display: block;
  margin-bottom: 9px;
  color: #0d3a88;
  font-size: 21px;
  font-weight: 860;
}

.code-card span {
  display: block;
  max-width: 160px;
  color: #183b70;
  font-size: 13px;
  font-weight: 690;
  line-height: 1.42;
}

.mini-icon {
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.cost-panel {
  display: grid;
  align-content: start;
}

.cost-illustration {
  position: relative;
  height: 150px;
  margin: 6px 0 18px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(21, 87, 194, 0.06), rgba(7, 154, 165, 0.04)),
    #fbfdff;
}

.cost-illustration::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 46px;
  width: 72px;
  height: 72px;
  border: 10px solid rgba(21, 87, 194, 0.08);
  border-top-color: transparent;
  border-radius: 50%;
  transform: rotate(-28deg);
}

.cost-illustration span {
  position: absolute;
  bottom: 28px;
  width: 52px;
  border-radius: 50% 50% 8px 8px;
  background: linear-gradient(180deg, #e8eff9, #cad9ec);
}

.cost-illustration span:nth-child(1) {
  right: 112px;
  height: 54px;
}

.cost-illustration span:nth-child(2) {
  right: 60px;
  height: 82px;
}

.cost-illustration span:nth-child(3) {
  right: 18px;
  height: 112px;
}

.cost-form {
  display: grid;
  gap: 14px;
}

.cost-form select {
  width: 100%;
  height: 56px;
  padding: 0 17px;
  border: 1px solid #cbd9eb;
  border-radius: 8px;
  color: #74839c;
  background: #ffffff;
  font-weight: 650;
}

.cost-form .button {
  width: 100%;
  min-height: 62px;
}

.workflow {
  margin-bottom: 30px;
  padding: 28px 42px 38px;
}

.workflow h2 {
  margin-bottom: 28px;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  text-align: left;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 54px;
  right: -24px;
  width: 42px;
  border-top: 2px dashed #b7cbe6;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  border: 1px solid #bfd2ee;
  border-radius: 50%;
  background: #ffffff;
}

.step-icon img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.step strong {
  display: block;
  margin-bottom: 8px;
  color: #0a2a60;
  font-size: 15px;
  font-weight: 850;
}

.step strong::before {
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  margin-right: 8px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--teal);
  font-size: 12px;
  font-weight: 850;
}

.step:nth-child(1) strong::before { content: "1"; }
.step:nth-child(2) strong::before { content: "2"; }
.step:nth-child(3) strong::before { content: "3"; }
.step:nth-child(4) strong::before { content: "4"; }
.step:nth-child(5) strong::before { content: "5"; }

.step p {
  margin: 0;
  color: #405a7e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.48;
}

.guides {
  margin-bottom: 30px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.guide-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.guide-card img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  background: #f3f8ff;
  border-bottom: 1px solid var(--line);
}

.guide-card h3 {
  margin: 18px 18px 10px;
  color: #0b2f6c;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.32;
}

.guide-card p {
  margin: 0 18px 17px;
  color: #415979;
  font-size: 13px;
  font-weight: 620;
  line-height: 1.52;
}

.guide-card .read-more {
  display: inline-flex;
  margin: 0 18px 18px;
}

.faq {
  margin-bottom: 42px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 18px;
  color: #173867;
  font-size: 14px;
  font-weight: 780;
  cursor: pointer;
}

summary::after {
  content: "v";
  color: var(--text);
  font-size: 16px;
}

details[open] summary::after {
  transform: rotate(180deg);
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 2.4fr;
  gap: 54px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 28px 36px;
  border-top: 1px solid var(--line);
}

.footer-brand p {
  max-width: 310px;
  margin: 18px 0 0;
  color: #3f5677;
  font-size: 14px;
  font-weight: 620;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-links strong {
  margin-bottom: 8px;
  color: #0a2a60;
  font-size: 15px;
  font-weight: 850;
}

.footer-links a {
  color: #2c4770;
  font-size: 14px;
  font-weight: 620;
}

.copyright {
  grid-column: 1 / -1;
  margin: 20px 0 0;
  color: #70819b;
  font-size: 13px;
  text-align: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.breadcrumb a {
  color: var(--blue);
}

.content-page {
  padding-top: 28px;
}

.content-hero,
.directory-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 28px;
  align-items: start;
  padding: 28px 0 26px;
}

.directory-hero {
  display: block;
  max-width: 900px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-hero h1,
.directory-hero h1 {
  max-width: 930px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 58px);
}

.summary-card,
.article-section,
.directory-card,
.category-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.summary-card {
  padding: 24px;
}

.media-card {
  display: grid;
  gap: 14px;
}

.summary-card.embedded {
  box-shadow: none;
}

.photo-figure {
  overflow: hidden;
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.media-card .photo-figure {
  margin-bottom: 0;
}

.photo-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eef3f9;
}

.photo-figure figcaption {
  padding: 10px 14px;
  color: #5d6f88;
  font-size: 12px;
  line-height: 1.4;
}

.summary-card h2 {
  margin-bottom: 12px;
  font-size: 22px;
}

.quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-pills span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 13px;
}

.quick-pills strong {
  color: var(--text);
}

.article-section {
  margin-bottom: 22px;
  padding: 26px;
}

.article-section h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

.article-section h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.article-section p {
  color: #334966;
}

.updated-note {
  max-width: 1180px;
  margin: 14px auto 24px;
  color: #6b7f99;
  font-size: 13px;
  font-weight: 650;
}

.supporting-decision {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 22px;
}

.grid-two .article-section {
  margin-bottom: 0;
}

.check-list,
.step-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: #334966;
}

.check-list li::marker {
  color: var(--teal);
}

.step-list li::marker {
  color: var(--blue);
  font-weight: 850;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
}

.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: #f3f8ff;
  color: var(--text);
  font-weight: 850;
}

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

.compact {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.directory-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.directory-card,
.category-card {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 20px;
}

.directory-card strong,
.category-card strong {
  color: var(--text);
  font-size: 18px;
}

.directory-card span,
.category-card span {
  color: var(--muted);
  font-size: 14px;
}

.category-card img {
  width: 46px;
  height: 46px;
}

.link-stack {
  display: grid;
  gap: 10px;
}

.link-stack a {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-weight: 760;
}

.faq-block details {
  padding: 16px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.faq-block summary {
  min-height: auto;
  padding: 0;
  color: var(--text);
  font-weight: 850;
}

.faq-block details p {
  padding: 12px 0 0;
}

.tool-form {
  max-width: 680px;
  margin-top: 20px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  gap: 12px;
  max-width: 430px;
}

.footer-brand img {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: var(--text);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-size: 14px;
  font-weight: 760;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .site-header.is-open .main-nav {
    flex-wrap: wrap;
    padding-top: 12px;
  }

  .hero,
  .split-section,
  .content-hero,
  .grid-two {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 14px;
    min-height: unset;
  }

  .hero-content {
    max-width: 720px;
  }

  .proof-strip,
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .code-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 72px;
    padding: 0 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy span {
    font-size: 14px;
  }

  main {
    padding: 0 16px 48px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .lookup-form {
    grid-template-columns: 28px 1fr;
  }

  .lookup-form .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .proof-strip,
  .code-grid,
  .steps,
  .guide-grid,
  .faq-grid,
  .footer-links,
  .directory-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .content-hero h1,
  .directory-hero h1 {
    font-size: 34px;
  }

  .article-section {
    padding: 20px;
  }

  .data-table {
    display: block;
    overflow-x: auto;
  }

  .proof-card {
    min-height: 130px;
    padding: 22px;
  }

  .panel {
    padding: 20px;
  }

  .section-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .code-card {
    min-height: 138px;
  }

  .workflow {
    padding: 24px 20px;
  }

  .step {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 16px;
  }

  .step-icon {
    grid-row: span 2;
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
