: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);
  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;
}

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: rgba(21, 36, 49, 0.96);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.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 {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
}

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

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

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

.button.primary:hover,
.site-nav .nav-cta:hover {
  background: var(--blue-dark);
}

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

.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 {
  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-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 {
  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;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
}

.page-sidebar {
  border-left: 4px solid var(--blue);
  padding-left: 22px;
}

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

.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: var(--soft);
  padding: 30px clamp(20px, 5vw, 72px);
}

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

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

.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));
}

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

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

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

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(260px, 1fr) minmax(210px, 0.55fr) minmax(210px, 0.5fr);
  column-gap: clamp(28px, 5vw, 72px);
  row-gap: 22px;
  padding: clamp(30px, 4vw, 44px) clamp(20px, 5vw, 72px) 20px;
  background: #f6f7f9;
  color: var(--ink);
}

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

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

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

.footer-contact {
  max-width: 360px;
}

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

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

  .site-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--navy);
    box-shadow: var(--shadow);
  }

  .site-nav a {
    width: 100%;
  }

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

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

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

  .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, 9vw, 2.15rem);
  }

  .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%;
  }

  .site-footer {
    gap: 24px;
  }
}
