:root {
  --ink: #0b1736;
  --ink-soft: #536078;
  --blue: #1268ff;
  --blue-deep: #0a43c7;
  --cyan: #64d5ff;
  --surface: #f4f8ff;
  --surface-strong: #eaf1fb;
  --white: #fff;
  --line: rgba(11, 23, 54, 0.11);
  --shadow: 0 24px 70px rgba(34, 66, 118, 0.14);
  --max-width: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--surface);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

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

.narrow {
  max-width: 880px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(244, 248, 255, 0.86);
  backdrop-filter: blur(24px);
}

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

.brand {
  width: 210px;
  min-width: 170px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 30px rgba(34, 66, 118, 0.08);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 12px 36px rgba(34, 66, 118, 0.09);
}

.primary-nav a {
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"] {
  color: var(--blue-deep);
  background: var(--white);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 30px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 650;
}

.breadcrumb a {
  color: var(--blue-deep);
  text-decoration: none;
}

.service-hero,
.directory-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 138px) 0 clamp(80px, 11vw, 150px);
}

.service-hero::before,
.directory-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(100, 213, 255, 0.28), transparent 28%),
    radial-gradient(circle at 7% 58%, rgba(18, 104, 255, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(234, 241, 251, 0.42));
}

.service-hero::after,
.directory-hero::after {
  content: "";
  position: absolute;
  top: 48px;
  right: -110px;
  width: 460px;
  aspect-ratio: 1;
  border: 1px solid rgba(18, 104, 255, 0.13);
  border-radius: 50%;
  box-shadow: inset 0 0 0 42px rgba(255, 255, 255, 0.2), inset 0 0 0 90px rgba(18, 104, 255, 0.025);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: clamp(40px, 7vw, 92px);
}

.directory-hero .narrow {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--blue-deep);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 5.7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.062em;
}

.directory-hero h1 {
  max-width: 980px;
}

.lead {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.91rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 16px 34px rgba(18, 104, 255, 0.25);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.button-light {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.scope-card,
.requirements-card {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.scope-card > span {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(18, 104, 255, 0.09);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.scope-card h2,
.requirements-card h2 {
  margin: 20px 0 14px;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.scope-card p,
.requirements-card p,
.intro-block p,
.section-heading > p,
.faq-layout > div:first-child > p,
.service-directory article > p {
  color: var(--ink-soft);
}

.accuracy-note {
  max-width: 760px;
  margin: 26px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--cyan);
  color: var(--ink-soft);
}

.content-section {
  padding: clamp(72px, 9vw, 126px) 0;
  background: var(--white);
}

.content-section.tinted {
  background: var(--surface);
}

.intro-block h2,
.section-heading h2,
.split-section h2,
.faq-layout h2,
.cta-card h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.052em;
}

.intro-block > p:last-child {
  margin-bottom: 0;
  font-size: clamp(1.03rem, 1.55vw, 1.18rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.6fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 46px;
}

.section-heading h2,
.section-heading p,
.section-heading .section-label {
  margin-bottom: 0;
}

.section-heading .section-label {
  margin-bottom: 16px;
}

.section-heading > a {
  justify-self: end;
  color: var(--blue-deep);
  font-weight: 800;
  text-decoration: none;
}

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

.info-card,
.service-directory article {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 15px 42px rgba(34, 66, 118, 0.07);
}

.card-number {
  display: block;
  margin-bottom: 42px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.info-card h3,
.service-directory h2,
.application-list h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.info-card p,
.application-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.split-section,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
  gap: clamp(52px, 8vw, 110px);
  align-items: start;
}

.application-list {
  border-top: 1px solid var(--line);
}

.application-list article {
  display: grid;
  grid-template-columns: minmax(170px, 0.58fr) minmax(0, 1fr);
  gap: 28px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.requirements-card {
  position: sticky;
  top: 116px;
  border-color: rgba(18, 104, 255, 0.13);
  background: linear-gradient(145deg, rgba(234, 241, 251, 0.92), rgba(255, 255, 255, 0.96));
}

.requirements-card ul {
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.requirements-card li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--line);
}

.requirements-card li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(18, 104, 255, 0.09);
}

.requirements-card a,
.text-link {
  color: var(--blue-deep);
  font-weight: 800;
  text-decoration: none;
}

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

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

.faq-list summary {
  position: relative;
  padding: 24px 42px 24px 0;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 22px;
  right: 6px;
  color: var(--blue);
  font-size: 1.3rem;
}

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

.faq-list details p {
  max-width: 760px;
  padding: 0 34px 24px 0;
  color: var(--ink-soft);
}

.related-section {
  padding-top: 74px;
  padding-bottom: 74px;
}

.related-grid a {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 27px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.related-grid a:hover,
.related-grid a:focus-visible {
  border-color: rgba(18, 104, 255, 0.34);
  background: var(--white);
  transform: translateY(-3px);
}

.related-grid a span:last-child {
  color: var(--blue);
  font-size: 1.25rem;
}

.directory-section {
  padding-top: 20px;
}

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

.service-directory article {
  display: flex;
  min-height: 330px;
  flex-direction: column;
}

.service-directory .card-number {
  margin-bottom: 26px;
}

.service-directory h2 a {
  text-decoration: none;
}

.service-directory article > p {
  flex: 1;
}

.cta-section {
  padding: 34px 0 clamp(74px, 9vw, 126px);
  background: var(--white);
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  padding: clamp(36px, 6vw, 74px);
  border-radius: 34px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(100, 213, 255, 0.42), transparent 34%),
    linear-gradient(135deg, #0b1736, #0a43c7);
  box-shadow: var(--shadow);
}

.cta-card .section-label {
  color: var(--cyan);
}

.cta-card h2 {
  max-width: 760px;
  margin-bottom: 16px;
}

.cta-card p:last-child {
  max-width: 770px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.77);
}

.site-footer {
  padding: 62px 0 24px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-grid strong {
  color: var(--white);
  font-size: 1.05rem;
}

.footer-grid p {
  margin: 8px 0 0;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.footer-grid a {
  color: var(--white);
  text-decoration: none;
}

.footer-bottom {
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.82rem;
}

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

@media (max-width: 980px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px;
  }

  .primary-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .primary-nav a {
    white-space: nowrap;
  }

  .hero-grid,
  .split-section,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .scope-card {
    max-width: 680px;
  }

  .requirements-card {
    position: static;
  }

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

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    position: relative;
  }

  .brand {
    width: 186px;
  }

  .primary-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 20px;
    overflow: visible;
  }

  .primary-nav a {
    padding: 9px 5px;
    font-size: 0.76rem;
    text-align: center;
  }

  .service-hero,
  .directory-hero {
    padding: 68px 0 82px;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 4.1rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-heading > a {
    justify-self: start;
  }

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

  .info-card,
  .service-directory article {
    min-height: auto;
  }

  .application-list article {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .cta-card .button {
    width: 100%;
  }

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

  .footer-grid nav {
    flex-direction: column;
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
