:root {
  --bg: #f5f5f6;
  --surface: #ffffff;
  --surface-soft: #f6f6ff;
  --card-soft: #f6f5ff;
  --ink: #141414;
  --muted: #2a2a2a;
  --blue: #154d93;
  --navy: #1a2d49;
  --line: #979797;
  --soft-line: #c2cfdf;
  --danger: #e00000;
  --max: 1310px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  margin: 16px auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(26, 45, 73, 0.9);
  backdrop-filter: blur(16px);
}

.brand,
.hero-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 118px;
  height: auto;
}

.hero-logo img {
  display: block;
  width: 256px;
  height: auto;
}

.footer-logo img {
  display: block;
  width: 167px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.nav a:hover {
  color: #ffffff;
}

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

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

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

.hero {
  position: relative;
  min-height: 590px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 64px;
  color: #ffffff;
  background: #1b3f84;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("./assets/bg.png") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1213px;
  padding: 58px 50px 64px;
}

.hero-logo {
  margin-bottom: 70px;
}

.hero .eyebrow {
  margin: 0 0 48px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.4;
}

.hero h1 {
  margin: 0 0 28px;
  font-size: clamp(36px, 5vw, 76px);
  line-height: 1.05;
}

.hero p:not(.eyebrow) {
  max-width: 1213px;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.94);
  text-align: justify;
}

.intro {
  padding: 96px 0 70px;
  text-align: center;
}

.intro h2,
.big-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.3;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  margin-top: 64px;
}

.stat-card,
.product-card {
  border: 1px solid var(--soft-line);
  border-radius: 28px;
  background: rgba(246, 245, 255, 0.9);
}

.stat-card {
  display: grid;
  place-items: center;
  min-height: 174px;
  padding: 28px;
  text-align: center;
  font-size: 24px;
  line-height: 1.4;
}

.stat-card strong,
.stat-card span {
  display: block;
}

.section-title {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.4;
}

.section-gap {
  margin-top: 62px;
}

.data-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.table {
  display: grid;
}

.table-head,
.table-row {
  display: grid;
  border-bottom: 1px solid var(--line);
}

.table-head {
  min-height: 67px;
  align-items: center;
  background: var(--surface-soft);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}

.table-row {
  min-height: 70px;
  align-items: start;
  font-size: 18px;
}

.table-row:last-child {
  border-bottom: 0;
}

.table > * > * {
  padding: 18px 48px;
}

.table-directions .table-head,
.table-directions .table-row,
.table-info .table-head,
.table-info .table-row,
.table-activity .table-head,
.table-activity .table-row,
.table-services .table-head,
.table-services .table-row,
.table-tech .table-head,
.table-tech .table-row {
  grid-template-columns: 410px 1fr;
}

.centered {
  padding: 96px 0 24px;
  text-align: center;
}

.lead {
  max-width: 1128px;
  margin: 24px auto 0;
  color: var(--muted);
}

.warning {
  color: var(--danger);
}

.product-stack {
  display: grid;
  gap: 62px;
  padding-top: 64px;
}

.product-card {
  min-height: 240px;
  padding: 44px 48px;
}

.product-card p {
  margin: 0;
}

.product-brand {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-bottom: 28px;
}

.navigator-brand {
  width: 346px;
}

.scan-brand {
  width: 254px;
}

.price {
  padding-top: 62px;
}

.price p {
  margin: 0;
  text-align: justify;
}

.footer {
  margin-top: 96px;
  margin-bottom: 96px;
  padding: 48px;
  border-radius: 64px;
  color: #ffffff;
  background: var(--navy);
}

.footer h2 {
  margin: 58px 0 16px;
  font-size: 32px;
  line-height: 1.4;
}

.footer address {
  max-width: 1115px;
  font-style: normal;
}

.footer p {
  margin: 0 0 16px;
}

.footer a {
  text-decoration: none;
}

.footer .muted {
  color: rgba(255, 255, 255, 0.6);
}

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

.not-found {
  display: grid;
  min-height: 100vh;
  align-content: center;
  justify-items: start;
  padding: 72px 0;
}

.not-found img {
  width: 180px;
  height: auto;
  margin-bottom: 48px;
}

.not-found h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
}

.not-found p {
  margin: 0 0 32px;
  color: var(--muted);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 900px) {
  body {
    font-size: 16px;
  }

  .topbar {
    width: min(100% - 24px, var(--max));
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(280px, calc(100vw - 24px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--soft-line);
    border-radius: 12px;
    background: var(--navy);
  }

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

  .nav a {
    padding: 12px;
  }

  .section-shell {
    width: min(100% - 24px, var(--max));
  }

  .hero {
    min-height: 0;
  }

  .hero-content {
    padding: 32px 24px 44px;
  }

  .hero-logo {
    margin-bottom: 52px;
  }

  .hero-logo img {
    width: min(210px, 72vw);
  }

  .hero .eyebrow {
    margin-bottom: 28px;
    font-size: 24px;
  }

  .intro {
    padding: 64px 0 44px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 36px;
  }

  .stat-card {
    min-height: 132px;
    font-size: 20px;
  }

  .table-head {
    display: none;
  }

  .table-row {
    grid-template-columns: 1fr !important;
    gap: 6px;
    padding: 18px 0;
  }

  .table-row > * {
    padding: 0 20px;
  }

  .table-row > *:first-child {
    font-weight: 600;
  }

  .product-stack {
    gap: 24px;
    padding-top: 40px;
  }

  .product-card {
    min-height: 0;
    padding: 28px 22px;
  }

  .product-card h3 {
    font-size: 26px;
  }

  .product-brand {
    margin-bottom: 22px;
  }

  .navigator-brand {
    width: min(346px, 100%);
  }

  .scan-brand {
    width: min(254px, 100%);
  }

  .centered {
    padding: 72px 0 24px;
  }

  .section-gap {
    margin-top: 48px;
  }

  .footer {
    margin-top: 64px;
    margin-bottom: 48px;
    padding: 36px 24px;
    border-radius: 32px;
  }
}
