:root {
  --ink: #0e1720;
  --muted: #52606d;
  --paper: #ffffff;
  --soft: #f3f6f8;
  --line: #d8e0e7;
  --navy: #152431;
  --blue: #0b73d9;
  --blue-dark: #0756a4;
  --orange: #f29a2e;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(13, 31, 45, 0.12);
  --shadow-soft: 0 12px 30px rgba(13, 31, 45, 0.08);
  --shadow-hover: 0 18px 36px rgba(13, 31, 45, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

img,
svg {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 56px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 70%),
    var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(4, 12, 18, 0.14);
}

.brand img {
  display: block;
  width: 148px;
  aspect-ratio: 520 / 359;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
  transition: color 160ms ease;
}

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

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta):focus-visible::after,
.site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(11, 115, 217, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.site-nav .nav-cta,
.button.primary {
  background: var(--blue);
  color: #fff;
}

.button.primary:hover,
.site-nav .nav-cta:hover {
  background: var(--blue-dark);
  box-shadow: 0 14px 28px rgba(11, 115, 217, 0.2);
  transform: translateY(-1px);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  box-shadow: none;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
  border-radius: var(--radius);
  padding: 0;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  position: absolute;
  left: 0;
  content: "";
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

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

.site-nav a[aria-current="page"] {
  color: #fff;
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(21, 36, 49, 0.98), rgba(12, 23, 32, 0.96)),
    radial-gradient(circle at 85% 20%, rgba(242, 154, 46, 0.22), transparent 34%);
  color: #fff;
}

.hero > *,
.subpage-hero > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  min-width: 0;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8fc9ff;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.hero-lede {
  min-width: 0;
  max-width: 740px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  overflow-wrap: break-word;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  max-width: 100%;
}

.signal-panel {
  min-width: 0;
  display: grid;
  align-self: end;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.signal-panel div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.metric {
  display: block;
  margin-bottom: 14px;
  color: var(--orange);
  font-weight: 900;
}

.signal-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: clamp(58px, 7vw, 96px) clamp(20px, 5vw, 72px);
}

.subpage-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 5vw, 72px);
  background: linear-gradient(135deg, rgba(21, 36, 49, 0.98), rgba(12, 23, 32, 0.96));
  color: #fff;
}

.subpage-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.subpage-hero .eyebrow {
  color: #8fc9ff;
}

.page-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
}

.page-sidebar {
  display: grid;
  gap: 12px;
  align-self: start;
  max-width: 560px;
}

.page-sidebar .eyebrow,
.page-sidebar h2,
.page-sidebar p {
  margin-bottom: 0;
}

.page-grid .page-sidebar h2:not(:first-child) {
  margin-top: 0;
}

.page-sidebar h2 + p {
  margin-top: 6px;
}

.detail-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 20px;
}

.article-layout {
  display: flex;
  justify-content: center;
}

.article-content {
  max-width: 820px;
}

.article-content h2 {
  margin-top: 42px;
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
}

.article-content p,
.article-content li {
  color: var(--muted);
}

.article-intro {
  color: var(--ink);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  font-weight: 700;
}

.page-grid h2:not(:first-child) {
  margin-top: 34px;
}

.policy-updated {
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.92rem;
}

.note-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(11, 115, 217, 0.075), transparent 42%),
    var(--soft);
  padding: 30px clamp(20px, 5vw, 72px);
}

.note-band p {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.trust-strip p {
  color: var(--ink);
}

.muted {
  background: var(--soft);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 34px;
}

.two-column,
.consult-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 5vw, 70px);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--blue);
  content: "✓";
  font-weight: 900;
}

.feature-grid,
.service-list,
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

.feature-grid article,
.service-list article,
.steps article,
.contact-card,
.contact-form,
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.feature-grid article,
.service-list article,
.steps article,
details {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.feature-grid article:hover,
.service-list article:hover,
.steps article:hover,
details:hover {
  border-color: rgba(11, 115, 217, 0.3);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.feature-grid p,
.service-list p,
.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

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

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.consult {
  background: linear-gradient(180deg, #fff, var(--soft));
}

.consult .button.secondary {
  border-color: var(--line);
  color: var(--ink);
}

.consult .button.secondary:hover,
.consult .button.secondary:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.contact-card h3:not(:first-child) {
  margin-top: 22px;
}

.contact-card {
  align-self: start;
}

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

.contact-form {
  display: grid;
  gap: 16px;
}

.form-note {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  font: inherit;
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(11, 115, 217, 0.25);
  outline-offset: 2px;
}

.form-status {
  margin: 0;
  border-radius: var(--radius);
  padding: 12px;
  font-weight: 700;
}

.loading {
  background: #e9f3ff;
  color: #084c8d;
}

.error-message {
  background: #fdecec;
  color: #9f1c1c;
}

.sent-message {
  background: #e8f7ee;
  color: #176938;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) repeat(3, minmax(160px, 0.65fr));
  grid-template-areas:
    "about services resources company"
    "copyright copyright copyright copyright";
  column-gap: clamp(32px, 6vw, 88px);
  row-gap: 22px;
  padding: clamp(30px, 4vw, 44px) clamp(20px, 5vw, 72px) 20px;
  background: #f6f7f9;
  color: var(--ink);
}

.footer-about {
  grid-area: about;
}

.footer-services {
  grid-area: services;
}

.footer-resources {
  grid-area: resources;
}

.footer-company {
  grid-area: company;
}

.site-footer strong {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0;
}

.site-footer p {
  max-width: 360px;
  margin-bottom: 0;
}

.site-footer p + p {
  margin-top: 6px;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 6px;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--blue);
}

.site-footer h2 {
  margin: 0 0 4px;
  font-size: 1rem;
  line-height: 1.2;
}

.site-footer nav a {
  position: relative;
  min-height: 26px;
  padding-left: 16px;
  color: var(--muted);
}

.site-footer nav a::before {
  position: absolute;
  left: 0;
  color: var(--blue);
  content: "›";
  font-size: 1.2em;
  line-height: 0.95;
}

.copyright {
  grid-area: copyright;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 1120px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 0;
    padding: 14px;
    border-radius: var(--radius);
    background: var(--navy);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - 130px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav a {
    min-height: 40px;
    width: 100%;
  }

  .site-nav .nav-cta {
    min-height: 42px;
    margin-top: 4px;
  }

  .site-nav a:not(.nav-cta)::after {
    display: none;
  }

  .site-nav a[aria-current="page"] {
    padding-left: 14px;
    border-left: 3px solid var(--blue);
    border-radius: 4px;
    background: rgba(11, 115, 217, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .two-column,
  .consult-grid,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "about about"
      "services resources"
      "company company"
      "copyright copyright";
  }

  .footer-contact {
    grid-column: auto;
  }

  .feature-grid,
  .service-list,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand img {
    width: 118px;
  }

  .hero,
  .section,
  .subpage-hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .subpage-hero {
    padding-top: 52px;
    padding-bottom: 56px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .page-sidebar {
    max-width: 100%;
  }

  .hero > *,
  .section > *,
  .subpage-hero > * {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(2.2rem, 13vw, 3.35rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .signal-panel div,
  .feature-grid article,
  .service-list article,
  .steps article,
  .contact-card,
  .contact-form,
  details {
    padding: 18px;
  }

  .feature-grid,
  .service-list,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .button {
    max-width: 100%;
    width: 100%;
  }

  .feature-grid article,
  .service-list article,
  .steps article,
  .contact-card,
  .contact-form,
  details {
    box-shadow: 0 8px 20px rgba(13, 31, 45, 0.06);
  }

  .site-footer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "about"
      "services"
      "resources"
      "company"
      "copyright";
    gap: 24px;
  }
}

@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;
  }

  .button:hover,
  .button:focus-visible,
  .site-nav .nav-cta:hover,
  .feature-grid article:hover,
  .service-list article:hover,
  .steps article:hover,
  details:hover {
    transform: none;
  }
}
