:root {
  color-scheme: light;
  --navy: #021f3b;
  --navy-2: #06325b;
  --blue: #005ea8;
  --blue-bright: #1f91f2;
  --sky: #dff4ff;
  --paper: #ffffff;
  --wash: #f2f7fa;
  --ink: #132534;
  --muted: #667888;
  --line: #d8e4ea;
  --coral: #ff6b4a;
  --yellow: #ffe500;
  --green: #35a876;
  --shadow: 0 24px 60px rgba(2, 31, 59, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 44px rgba(2, 31, 59, 0.16);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background 180ms ease, box-shadow 180ms ease, top 180ms ease;
}

.site-header.is-scrolled {
  top: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(2, 31, 59, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 168px;
  height: 48px;
  object-fit: cover;
  object-position: center;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  min-width: 0;
}

.site-nav a {
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 800;
  white-space: nowrap;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.header-cta {
  padding: 0 18px;
  border: 1px solid rgba(0, 94, 168, 0.28);
  color: var(--blue);
  background: var(--paper);
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-content: center;
  justify-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
}

.menu-toggle span + span {
  margin-top: 0;
}

.hero {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 88svh;
  padding: 150px 0 116px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(31, 145, 242, 0.34), transparent 28%),
    linear-gradient(135deg, #008bd0 0%, #06325b 46%, #021f3b 100%);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(46vw, 620px);
  min-width: 420px;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  filter: saturate(1.05) contrast(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(2, 31, 59, 0.12), rgba(2, 31, 59, 0.72) 76%, rgba(2, 31, 59, 0.96)),
    linear-gradient(90deg, rgba(2, 31, 59, 0.96), rgba(2, 31, 59, 0.72) 54%, rgba(2, 31, 59, 0.18));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

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

.hero-eyebrow {
  color: var(--yellow);
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 1020px;
  margin-bottom: 22px;
  font-size: 5.85rem;
  font-weight: 920;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 3.15rem;
  font-weight: 900;
}

h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.28rem;
  font-weight: 880;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
  line-height: 1.65;
}

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

.button {
  min-width: 168px;
  padding: 0 22px;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 14px 30px rgba(255, 229, 0, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #fff16a;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.62);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.button-scan {
  min-width: 218px;
  border-color: rgba(255, 255, 255, 0.52);
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: #fff;
  box-shadow: 0 16px 34px rgba(31, 145, 242, 0.34);
}

.button-scan::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.button-scan:hover,
.button-scan:focus-visible {
  background: linear-gradient(135deg, #49a7ff, var(--blue));
  transform: translateY(-1px);
}

.hero-strip {
  position: absolute;
  z-index: 3;
  right: max(20px, calc((100% - 1180px) / 2));
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 1px;
  width: min(650px, calc(100% - 40px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

.hero-strip div {
  min-width: 0;
  padding: 17px;
  background: rgba(2, 31, 59, 0.68);
}

.hero-strip strong,
.hero-strip span {
  display: block;
}

.hero-strip strong {
  margin-bottom: 5px;
  color: #fff;
  font-size: 0.96rem;
}

.hero-strip span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  line-height: 1.35;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-intro {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-intro.compact {
  max-width: 620px;
}

.section-intro p,
.system-copy p,
.scan-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

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

.service-card,
.audience-grid article,
.timeline article,
.scan-tool,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 46px rgba(2, 31, 59, 0.08);
}

.service-card {
  display: grid;
  align-content: start;
  min-height: 360px;
  padding: 28px;
  border-top: 5px solid var(--green);
}

.service-card.accent-blue {
  border-top-color: var(--blue-bright);
}

.service-card.accent-coral {
  border-top-color: var(--coral);
}

.service-number {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--blue);
  font-weight: 920;
}

.service-card p {
  color: var(--muted);
  line-height: 1.6;
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 20px;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.45;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.system-band {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.78fr);
  gap: 42px;
  align-items: center;
  padding: 92px max(20px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(135deg, rgba(2, 31, 59, 0.96), rgba(0, 94, 168, 0.9)),
    var(--navy);
  color: #fff;
}

.system-copy h2,
.system-copy h3 {
  color: #fff;
}

.system-copy p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.feature-list div {
  min-width: 0;
  padding-top: 16px;
  border-top: 3px solid var(--yellow);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  margin-bottom: 7px;
  color: #fff;
}

.feature-list span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.product-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.product-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.audience-section {
  padding-bottom: 56px;
}

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

.audience-grid article {
  min-height: 190px;
  padding: 26px;
}

.audience-grid article:nth-child(2) {
  background: #fff9d8;
}

.audience-grid article:nth-child(3) {
  background: #eefaf4;
}

.audience-grid p,
.timeline p {
  color: var(--muted);
  line-height: 1.6;
}

.approach-section {
  padding-top: 56px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline article {
  min-height: 250px;
  padding: 24px;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 32px;
  color: var(--coral);
  font-weight: 920;
}

.scan-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1fr);
  gap: 38px;
  align-items: start;
  padding: 92px max(20px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(180deg, rgba(223, 244, 255, 0.72), rgba(255, 255, 255, 0.86)),
    var(--sky);
}

.scan-copy {
  position: sticky;
  top: 110px;
}

.scan-tool {
  display: grid;
  gap: 22px;
  padding: 28px;
}

.range-field {
  display: grid;
  gap: 12px;
}

.range-field label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--navy);
  font-weight: 850;
}

.range-field label span {
  color: var(--blue);
  white-space: nowrap;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}

.scan-meter {
  height: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: #d7e6ee;
}

.scan-meter span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--coral));
  transition: width 180ms ease;
}

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

.scan-results article {
  min-width: 0;
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
}

.scan-results span,
.scan-results strong {
  display: block;
}

.scan-results span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.scan-results strong {
  color: var(--navy);
  font-size: 1.38rem;
  line-height: 1.1;
}

.scan-advice {
  margin: 0;
  padding: 18px;
  border-left: 5px solid var(--blue-bright);
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 760;
  line-height: 1.55;
}

.scan-offer-button {
  width: 100%;
  min-height: 52px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: 44px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(460px, 1fr);
  gap: 64px;
  background: var(--paper);
}

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

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

.faq-list summary {
  position: relative;
  padding: 22px 48px 22px 0;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 17px;
  right: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  background: var(--wash);
  font-size: 1.35rem;
  font-weight: 700;
}

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

.faq-list details p {
  max-width: 70ch;
  margin-bottom: 22px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-points {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 820;
}

.contact-points span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(255, 229, 0, 0.22);
}

.contact-email {
  display: inline-flex;
  margin-top: 24px;
  color: var(--blue);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
}

.bot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 840;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfe;
  color: var(--ink);
  padding: 0 13px;
}

.contact-form textarea {
  min-height: 128px;
  resize: vertical;
  padding-top: 13px;
  line-height: 1.5;
}

.full-field {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--blue);
  font-weight: 780;
}

.form-privacy {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.form-status.is-error {
  color: #c23d26;
}

.quote-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 31, 59, 0.64);
  backdrop-filter: blur(10px);
}

.quote-modal[hidden] {
  display: none;
}

.quote-modal-panel {
  position: relative;
  width: min(540px, 100%);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(2, 31, 59, 0.32);
}

.quote-modal-panel h2 {
  margin-bottom: 12px;
  font-size: 2.15rem;
}

.quote-modal-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
}

.modal-close span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
}

.modal-close span:first-child {
  transform: rotate(45deg);
}

.modal-close span:last-child {
  transform: rotate(-45deg);
}

.modal-summary {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6fbfe;
  color: var(--navy);
  font-weight: 780;
  line-height: 1.45;
  white-space: pre-line;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button-secondary {
  border-color: var(--line);
  background: #f8fbfd;
  color: var(--navy);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(20px, calc((100% - 1180px) / 2));
  background: var(--navy);
  color: rgba(255, 255, 255, 0.74);
}

.site-footer p {
  max-width: 480px;
}

.site-footer img {
  width: 126px;
  height: 48px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
  object-position: center;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 820;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(255, 107, 74, 0.36);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
  }

  .site-nav {
    gap: 17px;
  }

  h1 {
    font-size: 4.55rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .hero-strip {
    left: 20px;
    right: 20px;
    width: auto;
  }

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

  .system-band,
  .scan-section,
  .contact-section,
  .faq-section {
    grid-template-columns: 1fr;
  }

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

  .scan-copy {
    position: static;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    width: min(100% - 24px, 680px);
    min-height: 66px;
    padding: 10px 12px;
  }

  .brand img {
    width: 124px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 34px rgba(2, 31, 59, 0.16);
  }

  .site-nav.is-open {
    display: grid;
    gap: 4px;
  }

  .site-nav a {
    padding: 13px 10px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    min-height: 88svh;
    padding: 124px 0 170px;
  }

  .hero-bg {
    width: 100%;
    min-width: 0;
    opacity: 0.34;
    object-position: 72% center;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-strip {
    grid-template-columns: 1fr;
    bottom: 18px;
  }

  .hero-strip div {
    padding: 13px 15px;
  }

  .section,
  .system-band,
  .scan-section,
  .contact-section,
  .faq-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .service-grid,
  .audience-grid,
  .feature-list,
  .timeline,
  .scan-results,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .service-card,
  .audience-grid article,
  .timeline article {
    min-height: auto;
  }

  .contact-form {
    padding: 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-bottom: 230px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.85rem;
  }

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

  .range-field label {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
