:root {
  --bg: #f5f8fb;
  --surface: #ffffff;
  --surface-muted: #edf4fa;
  --navy: #061827;
  --navy-soft: #0b2236;
  --text: #0b1720;
  --muted: #53616e;
  --line: #d8e3ec;
  --primary: #087ec3;
  --primary-dark: #075486;
  --accent: #18a3e0;
  --focus: #087ec3;
  --max: 1200px;
  font-family: "Aptos", "Helvetica Neue", Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(8, 126, 195, 0.13), transparent 28%),
    linear-gradient(135deg, #f8fbff 0, #eaf5ff 42%, #f7fbff 100%),
    var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

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

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

a:hover {
  color: var(--primary);
}

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

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 60%, white);
  outline-offset: 3px;
}

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

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-logo {
  width: auto;
  height: 58px;
  max-width: 260px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #233444;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links > a:not(.button) {
  position: relative;
  padding-block: 30px;
}

.nav-links > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 2px;
  background: transparent;
}

.nav-links > a:not(.button):hover::after,
.nav-links > a:not(.button):focus-visible::after {
  background: var(--primary);
}

.nav-cta {
  min-height: 42px;
  padding-inline: 18px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 9px;
}

.nav-toggle span[aria-hidden="true"] {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.hero {
  width: min(var(--max), calc(100% - 32px));
  min-height: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 58px;
  padding: 36px 0 38px;
}

.hero-copy {
  max-width: 620px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-weight: 700;
}

.hero-wordmark {
  width: 184px;
  height: auto;
  margin-bottom: 24px;
}

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

h1 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(2.35rem, 3.65vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.audience-phrase {
  color: #075fc1;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--navy);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-copy p:not(.section-kicker),
.section-heading p,
.section-body,
.contact-copy p,
.site-footer p {
  color: var(--muted);
}

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

.trust-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.trust-points div {
  min-height: 86px;
  padding: 13px;
  border: 1px solid #c9dceb;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
}

.trust-points strong,
.trust-points span {
  display: block;
}

.trust-points strong {
  color: var(--navy);
  line-height: 1.25;
}

.trust-points span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--primary);
  padding: 13px 22px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button.primary {
  background: linear-gradient(180deg, #0a85d4, #075fc1);
  color: white;
  border-color: #075fc1;
  box-shadow: 0 10px 22px rgba(7, 95, 193, 0.2);
}

.button.primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

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

.button.secondary:hover {
  background: var(--surface-muted);
}

.hero-media {
  position: relative;
  margin: 0;
  border: 1px solid #c4d7e6;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 22px 44px rgba(6, 24, 39, 0.15);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(6, 24, 39, 0.78));
  pointer-events: none;
}

.hero-media figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 3px;
  max-width: 470px;
  padding: 17px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(6, 33, 63, 0.9);
  color: white;
}

.hero-media figcaption span {
  color: #c9d9e7;
  font-size: 0.94rem;
}

.trust-band {
  width: 100%;
  margin: 0;
  padding: 4.75rem max(16px, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: linear-gradient(90deg, #06284d, #075fc1);
  color: white;
}

.trust-band > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 0;
  padding: 0 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-band > div:last-child {
  border-right: 0;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  display: block;
  max-width: 210px;
  margin-bottom: 0.7rem;
  color: white;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.15;
}

.trust-band span:not(.trust-icon) {
  display: block;
  max-width: 240px;
  color: #d8e9ff;
  font-size: 0.94rem;
  line-height: 1.55;
}

.trust-icon {
  display: block;
  margin-bottom: 1.65rem;
  color: white;
  line-height: 0;
}

.trust-icon svg {
  width: 82px;
  height: 82px;
  stroke: currentColor;
  stroke-width: 1.55;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}

.product-section {
  padding-top: 54px;
}

.product-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.product-heading p:last-child {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
}

.section.muted {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - var(--max)) / 2));
  background:
    linear-gradient(180deg, var(--surface-muted), #f7fbfd);
  border-block: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.grid,
.feature-list,
.customer-grid {
  display: grid;
  gap: 16px;
}

.grid {
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 1fr;
}

.card,
.feature,
.customer {
  position: relative;
  min-height: 100%;
  padding: 24px;
  border: 1px solid #cfdeea;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 4px 14px rgba(6, 24, 39, 0.045);
}

.card {
  display: grid;
  grid-template-rows: 96px auto 1fr;
  justify-items: center;
  align-items: start;
  gap: 18px;
  padding: 34px 22px 30px;
  text-align: center;
}

.card::before,
.customer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
}

.card-icon {
  width: 96px;
  height: 96px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #c9deee;
  border-radius: 8px;
  background: #eef7fd;
  color: var(--primary-dark);
  font-weight: 800;
}

.card-icon svg {
  width: 56px;
  height: 56px;
  stroke: currentColor;
}

.card h3 {
  min-height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  text-align: center;
}

.card p,
.feature p,
.customer p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.feature {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
}

.feature-number {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: white;
  font-weight: 700;
  font-size: 0.82rem;
}

.customer-grid {
  grid-template-columns: repeat(2, 1fr);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 44px;
  align-items: start;
}

address {
  margin-top: 24px;
  padding: 18px;
  border-left: 3px solid var(--primary);
  background: var(--surface);
  color: var(--muted);
  font-style: normal;
  box-shadow: 0 4px 14px rgba(6, 24, 39, 0.045);
}

.quote-form {
  padding: 26px;
  border: 1px solid #cfdeea;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 30px rgba(6, 24, 39, 0.08);
}

.form-row {
  margin-bottom: 18px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #b9c9d6;
  border-radius: 8px;
  background: #fff;
  padding: 11px 12px;
  color: var(--text);
}

textarea {
  resize: vertical;
}

.field-error {
  min-height: 20px;
  margin: 6px 0 0;
  color: #b42318;
  font-size: 0.9rem;
}

.form-status {
  margin: 14px 0 0;
  color: var(--primary-dark);
  font-weight: 700;
}

.honeypot {
  position: absolute;
  left: -100vw;
}

.legal-page {
  background:
    linear-gradient(180deg, #f7fbff 0, #eef6fd 360px, #f8fbff 100%),
    var(--bg);
}

.legal-main {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 84px;
}

.legal-hero {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.04;
}

.legal-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.04rem;
}

.legal-updated {
  margin-top: 18px;
  font-weight: 700;
}

.legal-document {
  display: grid;
  gap: 34px;
  padding-top: 38px;
}

.legal-document section {
  display: grid;
  gap: 10px;
}

.legal-document h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.2rem;
}

.legal-document p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
}

.legal-document ul {
  margin: 4px 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.legal-document li + li {
  margin-top: 4px;
}

.legal-document a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr 0.8fr;
  gap: 30px;
  padding: 42px max(16px, calc((100% - var(--max)) / 2));
  background:
    linear-gradient(180deg, #072b52, var(--navy));
  color: white;
}

.site-footer h2 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin-bottom: 8px;
  color: #dce7e5;
}

.footer-brand {
  color: white;
}

.footer-logo {
  width: 190px;
  height: auto;
  padding: 8px 10px;
  border-radius: 8px;
  background: white;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  display: inline;
  margin: 0;
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 14px;
  }

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

  .nav-links a {
    width: 100%;
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }

  .nav-links > a:not(.button)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 10px;
    padding: 12px 18px;
  }

  .hero,
  .split,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 30px;
    padding-top: 42px;
  }

  .trust-band,
  .grid,
  .feature-list,
  .customer-grid {
    grid-template-columns: 1fr;
  }

  .trust-band > div {
    border-right: 0;
    border-bottom: 0;
    padding: 1.35rem 1.5rem;
  }

  .brand-logo {
    width: auto;
    height: 46px;
  }

  .hero-wordmark {
    width: 156px;
  }

  .trust-points {
    grid-template-columns: 1fr;
  }

  .product-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

}

@media (max-width: 1100px) and (min-width: 901px) {
  .nav {
    gap: 16px;
  }

  .brand-logo {
    width: auto;
    height: 52px;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.9rem;
  }

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

  .trust-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-band > div:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 620px) {
  .hero,
  .section {
    width: min(100% - 24px, var(--max));
  }

  .hero-actions,
  .two-col {
    display: grid;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.2rem;
  }

  .quote-form {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
