:root {
  --bg: #0a3f66;
  --bg-soft: #0c4f80;
  --panel: #ffffff;
  --panel-soft: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #0077ba;
  --brand-dark: #005b99;
  --accent: #ef7d00;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.16);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f3f8fc 0%, #ffffff 38%, #f6fbff 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226,232,240,.75);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand);
  box-shadow: 0 10px 30px rgba(0, 119, 186, .24);
}

.brand-mark svg {
  width: 27px;
  height: 27px;
  fill: var(--accent);
}

.brand-mark .mark-inner {
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.nav {
  display: flex;
  gap: 28px;
  color: #334155;
  font-size: .95rem;
  font-weight: 650;
}

.nav a:hover { color: var(--accent); }

.section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 5vw, 72px);
  max-width: 1240px;
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: .9;
  letter-spacing: -0.08em;
}

h2 {
  max-width: 800px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: .98;
  letter-spacing: -0.065em;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}

.lead {
  max-width: 690px;
  color: #334155;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  color: white;
  background: var(--brand);
  box-shadow: 0 16px 30px rgba(0, 119, 186, .24);
}

.button.primary:hover { background: var(--brand-dark); }

.button.secondary {
  background: white;
  border-color: var(--line);
  color: var(--brand);
}

.button.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-card {
  border-radius: 36px;
  padding: 18px;
  background:
    radial-gradient(circle at 20% 10%, rgba(239,125,0,.24), transparent 32%),
    linear-gradient(135deg, #005b99, #0077ba 60%, #0a3f66);
  box-shadow: var(--shadow);
}

.dashboard {
  min-height: 470px;
  border-radius: 26px;
  padding: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: white;
}

.dash-top {
  display: flex;
  gap: 8px;
  padding-bottom: 36px;
}

.dash-top span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.32);
}

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

.metric {
  min-height: 116px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
}

.metric strong {
  display: block;
  font-size: 1.9rem;
  letter-spacing: -0.05em;
  margin-bottom: 8px;
}

.metric span {
  color: rgba(255,255,255,.72);
  font-weight: 650;
}

.flow {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.flow span {
  position: relative;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  color: #111827;
  font-weight: 850;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split p:last-child {
  color: #334155;
  font-size: 1.25rem;
  line-height: 1.65;
}

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

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

.card {
  min-height: 220px;
  padding: 28px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 18px 54px rgba(15,23,42,.06);
}

.card p,
.module-list p,
.tech p,
.status-card p,
.footer p {
  color: var(--muted);
  line-height: 1.65;
}

.module-section {
  border-radius: 44px;
  background: linear-gradient(140deg, #005b99, #0077ba 60%, #0a3f66);
  color: white;
  max-width: calc(1240px - 40px);
}

.module-section .eyebrow { color: #ffd099; }

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

.module-list div {
  display: grid;
  grid-template-columns: 60px minmax(150px, 220px) 1fr;
  gap: 22px;
  align-items: baseline;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

.module-list span {
  color: #ffd099;
  font-weight: 900;
}

.module-list strong {
  font-size: 1.2rem;
}

.module-list p {
  margin-bottom: 0;
  color: rgba(255,255,255,.68);
}

.tech {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-stack span {
  padding: 13px 16px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  font-weight: 800;
  box-shadow: 0 14px 40px rgba(15,23,42,.05);
}

.status-card {
  padding: clamp(30px, 5vw, 64px);
  border-radius: 38px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.status-line {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.status-line span {
  padding: 14px;
  text-align: center;
  border-radius: 16px;
  background: #eef6fc;
  color: #005b99;
  font-weight: 850;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 42px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: white;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-weight: 750;
}

@media (max-width: 920px) {
  .nav { display: none; }
  .hero,
  .split,
  .tech {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding-top: 56px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .module-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 620px) {
  .feature-grid,
  .dash-grid,
  .status-line {
    grid-template-columns: 1fr;
  }
  .dashboard { min-height: auto; }
  .footer {
    flex-direction: column;
  }
}
