:root {
  --blue: #00588f;
  --deep: #07314f;
  --ink: #0b2638;
  --muted: #526b74;
  --line: #c7d8df;
  --pale: #eaf4f8;
  --gold: #f3b448;
  --white: #fff;
  --shadow: 0 22px 55px rgba(7, 49, 79, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7fbfd;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.52;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(22px, calc((100vw - var(--max)) / 2));
  background: rgba(0, 88, 143, 0.98);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  text-decoration: none;
  font-weight: 900;
}

.brand img {
  width: 152px;
}

.brand span {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.site-header nav a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  align-items: end;
  gap: 34px;
  padding: 104px max(22px, calc((100vw - var(--max)) / 2)) 62px;
  color: white;
  background:
    linear-gradient(90deg, rgba(7, 49, 79, 0.96), rgba(0, 88, 143, 0.68) 50%, rgba(7, 49, 79, 0.18)),
    url("../img/hero-h80.jpg") center / cover;
}

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

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

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

h1 {
  max-width: 880px;
  font-size: clamp(2.75rem, 6vw, 6.4rem);
  line-height: 0.98;
}

h2 {
  color: var(--deep);
  font-size: clamp(2.05rem, 4vw, 4.35rem);
  line-height: 1.03;
}

h3 {
  color: var(--deep);
  font-size: 1.3rem;
  line-height: 1.14;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 740px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  font-weight: 700;
}

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

.button-primary,
.button-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
}

.button-primary {
  color: var(--deep);
  background: white;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: white;
}

.hero-proof {
  display: grid;
  gap: 12px;
}

.hero-proof div {
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-proof span,
.criterion-top span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-proof strong {
  display: block;
  margin-top: 6px;
  color: var(--blue);
  font-size: clamp(1.9rem, 4vw, 3.05rem);
  line-height: 1;
}

.hero-proof p {
  margin-top: 8px;
  color: var(--ink);
  font-weight: 800;
}

.intro-panel,
.tool-link-panel,
.result-band,
.image-feature,
.criteria-section,
.proof-strip,
.models-section,
.adoption-section,
.cta {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.74fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 34px;
  padding: 0;
}

.intro-panel > div,
.intro-proof {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(7, 49, 79, 0.08);
}

.intro-panel > div {
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(234, 244, 248, 0.96), rgba(255, 255, 255, 0.96)),
    white;
}

.intro-panel h2 {
  max-width: 740px;
  font-size: clamp(2rem, 3.35vw, 3.15rem);
  line-height: 1.06;
}

.intro-proof {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 30px;
  color: var(--muted);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(234, 244, 248, 0.9)),
    white;
  font-size: clamp(1rem, 1.45vw, 1.13rem);
  font-weight: 700;
}

.intro-proof span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro-proof strong {
  color: var(--deep);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.08;
}

.intro-proof p {
  color: var(--muted);
}

.intro-proof div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.intro-proof em {
  padding: 9px 8px;
  color: var(--blue);
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.tool-link-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 18px;
  padding: 30px;
  color: white;
  background:
    linear-gradient(135deg, rgba(7, 49, 79, 0.98), rgba(0, 88, 143, 0.9)),
    var(--deep);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tool-link-panel .eyebrow,
.tool-link-panel h2,
.tool-link-panel p {
  color: white;
}

.tool-link-panel h2 {
  max-width: 820px;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
}

.tool-link-panel p:last-child {
  max-width: 850px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.tool-link-panel .button-primary {
  color: var(--deep);
  background: white;
  white-space: nowrap;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 32px;
}

.result-band,
.criteria-section,
.models-section {
  padding: 72px 0;
}

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

.result-grid article,
.criterion-card,
.model-table-wrap,
.proof-strip,
.adoption-section {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(7, 49, 79, 0.08);
}

.result-grid article {
  padding: 22px;
}

.result-grid span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 900;
}

.result-grid p,
.criterion-card p,
.image-feature p,
.proof-strip p,
.adoption-section p {
  color: var(--muted);
}

.image-feature {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: center;
  padding: 72px 0;
}

figure {
  margin: 0;
}

.image-feature figure,
.proof-cards figure {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-feature img,
.proof-cards img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 10px 12px;
  color: white;
  background: rgba(7, 49, 79, 0.86);
  border-radius: 5px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.mini-metrics div {
  padding: 16px;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.mini-metrics strong {
  display: block;
  color: var(--blue);
  font-size: 1.45rem;
}

.mini-metrics span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.criteria-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.criterion-card {
  display: grid;
  gap: 13px;
  padding: 22px;
}

.criterion-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.criterion-top strong {
  color: white;
  background: var(--blue);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.inero-pro {
  padding: 14px;
  color: var(--ink) !important;
  background: linear-gradient(135deg, #eef7fb, #fff);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  font-weight: 800;
}

.weight-check {
  padding: 13px 14px;
  color: var(--deep) !important;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 800;
}

.weight-check strong {
  color: var(--blue);
}

.weight-check a {
  color: var(--blue);
  font-weight: 900;
}

.proof-strip {
  padding: 34px;
}

.proof-strip > div:first-child {
  max-width: 820px;
  margin-bottom: 24px;
}

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

.proof-cards figure {
  min-height: 260px;
}

.model-table-wrap {
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background: var(--deep);
  color: white;
  text-align: left;
  text-transform: uppercase;
  font-size: 0.82rem;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

td {
  color: var(--muted);
  font-weight: 700;
}

td:first-child {
  color: var(--deep);
  font-weight: 900;
}

.adoption-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 34px;
}

.maps {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: 16px;
  align-items: center;
}

.maps img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  background: white;
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 72px;
  margin-bottom: 72px;
  padding: 34px;
  color: white;
  background: linear-gradient(135deg, var(--deep), var(--blue));
  border-radius: 8px;
}

.cta h2 {
  color: white;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 22px;
  }

  .site-header nav {
    flex-wrap: wrap;
  }

  .hero,
  .intro-panel,
  .image-feature,
  .adoption-section,
  .tool-link-panel,
  .cta {
    grid-template-columns: 1fr;
  }

  .result-grid,
  .criteria-list,
  .proof-cards {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .brand {
    gap: 12px;
  }

  .brand img {
    width: 132px;
  }

  .brand span {
    padding-left: 12px;
    font-size: 0.92rem;
  }

  .site-header nav {
    gap: 12px 16px;
  }

  .site-header nav a {
    font-size: 0.86rem;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 48px 18px 38px;
    background:
      linear-gradient(180deg, rgba(7, 49, 79, 0.96), rgba(0, 88, 143, 0.74) 58%, rgba(7, 49, 79, 0.78)),
      url("../img/hero-h80.jpg") center / cover;
  }

  .hero-copy {
    width: calc(100vw - 36px);
    max-width: 100%;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.92rem, 9.2vw, 2.35rem);
    line-height: 1.04;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 100%;
    margin-top: 18px;
    font-size: 0.95rem;
    overflow-wrap: break-word;
  }

  .eyebrow {
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
  }

  .hero-proof {
    width: calc(100vw - 36px);
    margin-top: 24px;
  }

  .hero-proof div {
    padding: 15px;
  }

  .hero-proof strong {
    font-size: 2rem;
  }

  .hero-proof p {
    font-size: 0.9rem;
    line-height: 1.35;
    overflow-wrap: break-word;
  }

  .intro-panel,
  .tool-link-panel,
  .result-band,
  .image-feature,
  .criteria-section,
  .proof-strip,
  .models-section,
  .adoption-section,
  .cta {
    width: min(100% - 28px, var(--max));
  }

  .intro-panel {
    gap: 14px;
    margin-top: 22px;
    padding: 0;
  }

  .intro-panel > div,
  .intro-proof {
    padding: 20px;
  }

  .intro-panel h2 {
    font-size: clamp(1.68rem, 8vw, 2.2rem);
  }

  .result-band,
  .criteria-section,
  .models-section {
    padding: 46px 0;
  }

  .image-feature {
    gap: 24px;
    padding: 44px 0;
  }

  .image-feature figure,
  .proof-cards figure {
    min-height: 250px;
  }

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

  .result-grid,
  .criteria-list,
  .proof-cards,
  .mini-metrics,
  .maps {
    grid-template-columns: 1fr;
  }

  .result-grid article,
  .criterion-card,
  .tool-link-panel,
  .proof-strip,
  .adoption-section,
  .cta {
    padding: 18px;
  }

  .criterion-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .criterion-top strong {
    white-space: normal;
  }

  .maps img {
    max-height: 240px;
  }

  .cta {
    margin-top: 46px;
    margin-bottom: 46px;
  }

  .cta-actions {
    justify-content: stretch;
  }

  .cta-actions a {
    width: 100%;
  }

  th,
  td {
    padding: 12px;
  }
}
