:root {
  color-scheme: light;
  --ink: #17202b;
  --muted: #5c6c7c;
  --soft: #eef2f5;
  --paper: #ffffff;
  --line: #d8e0e8;
  --navy: #103d73;
  --teal: #0c7a78;
  --green: #2f7d4a;
  --gold: #b47b2a;
  --shadow: 0 18px 48px rgba(23, 32, 43, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f7f9fb;
  color: var(--ink);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(216, 224, 232, 0.82);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 800;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 6px;
}

.nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 12px;
}

.nav a:hover {
  background: var(--soft);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px) 44px;
  background:
    linear-gradient(135deg, rgba(16, 61, 115, 0.08), rgba(12, 122, 120, 0.05) 45%, rgba(180, 123, 42, 0.08)),
    #ffffff;
}

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

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 12ch;
  color: var(--navy);
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.96;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
}

.lead {
  max-width: 62ch;
  margin: 28px 0 0;
  color: #35475a;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 800;
  padding: 0 18px;
}

.button.primary {
  background: var(--navy);
  color: #ffffff;
}

.button.secondary {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 36px);
}

.hero-panel img {
  width: min(100%, 360px);
  margin: 0 auto 24px;
}

.hero-panel dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.hero-panel div,
.metrics div,
.capability-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.hero-panel div {
  padding: 16px;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

dd {
  margin: 7px 0 0;
  font-weight: 800;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 22px clamp(18px, 5vw, 72px);
  background: #edf2f7;
}

.metrics div {
  min-height: 112px;
  padding: 20px;
}

.metrics strong {
  display: block;
  color: var(--green);
  font-size: 2rem;
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

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

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 22px;
}

.project-card.featured {
  background: var(--navy);
  color: #ffffff;
}

.project-card.featured p,
.project-card.featured li {
  color: rgba(255, 255, 255, 0.8);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.tag,
.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0 10px;
  white-space: nowrap;
}

.tag {
  background: rgba(12, 122, 120, 0.12);
  color: var(--teal);
}

.status {
  background: #f1f4f7;
  color: var(--muted);
}

.project-card.featured .tag {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.project-card.featured .status {
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
}

.status.live {
  color: var(--green);
}

.project-card p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.project-card ul {
  display: grid;
  gap: 9px;
  margin: auto 0 0;
  padding: 22px 0 0;
  color: var(--muted);
}

.project-card li {
  margin-left: 18px;
  line-height: 1.35;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  background: #ffffff;
}

.split p {
  color: var(--muted);
  line-height: 1.65;
}

.capability-list {
  display: grid;
  gap: 14px;
}

.capability-list div {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px 18px;
  padding: 20px;
}

.capability-list span {
  grid-row: 1 / span 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: #e9f5f3;
  color: var(--teal);
  font-weight: 900;
}

.capability-list p {
  margin: 0;
}

.roadmap {
  background: #f7f9fb;
}

.roadmap ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: roadmap;
}

.roadmap li {
  position: relative;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 24px;
  counter-increment: roadmap;
}

.roadmap li::before {
  content: counter(roadmap, decimal-leading-zero);
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 1.8rem;
  font-weight: 900;
}

.roadmap strong,
.roadmap span {
  display: block;
}

.roadmap span {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 1180px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero,
  .section-heading,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .metrics,
  .roadmap ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .project-grid,
  .metrics,
  .roadmap ol {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: auto;
  }

  .card-topline {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 22px;
  }

  .capability-list div {
    grid-template-columns: 1fr;
  }

  .capability-list span {
    grid-row: auto;
  }
}
