:root {
  --deep-navy: #1F334A;
  --charcoal: #121820;
  --slate-blue: #385778;
  --granite-gray: #7F8994;
  --silver-mist: #EEF2F5;
  --process-blue: #4F7FA8;
  --classification-gold: #C6A15B;
  --audit-green: #5F8A72;
  --alert-clay: #B66A50;
  --border: #DDE4EA;
  --soft-border: #E8EEF3;
  --shadow: 0 24px 70px rgba(18, 24, 32, 0.12);
  --soft-shadow: 0 12px 34px rgba(18, 24, 32, 0.08);
  --container: 1360px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--charcoal);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(var(--container), calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--soft-border);
}

.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 315px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-left: auto;
  color: #27384A;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.nav a {
  padding: 9px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--slate-blue);
  border-bottom-color: var(--classification-gold);
}

.header-cta { flex: 0 0 auto; }

.nav-toggle,
.nav-toggle-label { display: none; }

.section { padding: 96px 0; }

.hero {
  padding: 86px 0 78px;
  background:
    radial-gradient(circle at 78% 18%, rgba(79, 127, 168, 0.14), transparent 32%),
    linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 74%, #F8FAFC 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--slate-blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  color: var(--charcoal);
  font-size: clamp(48px, 4.4vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 850;
}

.hero h1 span {
  color: var(--deep-navy);
}

.hero-text {
  max-width: 610px;
  margin: 28px 0 0;
  color: #425568;
  font-size: 19px;
}

.button-row {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 840;
  font-size: 14px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--deep-navy);
  color: #fff;
  box-shadow: 0 14px 28px rgba(31, 51, 74, .22);
}

.btn-primary:hover { background: #17283D; }

.btn-secondary {
  background: rgba(255, 255, 255, .92);
  color: var(--deep-navy);
  border: 1px solid #B8C4CF;
}

.hero-visual {
  position: relative;
  padding: 0;
}

.hero-foundation {
  width: 100%;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 28px 72px rgba(31, 51, 74, 0.12);
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 999px;
}
.dot.blue { background: var(--process-blue); }
.dot.green { background: var(--audit-green); }
.dot.clay { background: var(--alert-clay); }

.capabilities,
.cta-section { background: var(--silver-mist); }

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.section-copy h2,
.cta-panel h2 {
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 850;
}

.section-heading p:not(.eyebrow),
.section-copy p,
.cta-panel p {
  margin: 18px 0 0;
  color: #4D5A66;
  font-size: 17px;
}

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

.feature-card {
  min-height: 370px;
  padding: 32px 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
  text-align: center;
}

.feature-card img {
  width: 162px;
  height: 136px;
  margin: 0 auto 16px;
  object-fit: contain;
}

.feature-card h3 {
  margin: 0;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.feature-card p {
  max-width: 240px;
  margin: 14px auto 0;
  color: #4D5A66;
}

.platform { background: #fff; }

.diagram-card,
.framed-art {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #FFFFFF, #FBFCFD);
  border-radius: 30px;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.diagram-card {
  padding: 30px 24px;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 64px;
  align-items: center;
}

.section-copy p { max-width: 540px; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 34px;
  display: grid;
  gap: 13px;
  color: #324454;
  font-weight: 650;
}

.check-list li {
  position: relative;
  padding-left: 32px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  background: var(--process-blue);
  border-radius: 999px;
  box-shadow: inset 0 0 0 5px #EAF2F8;
}

.migration {
  background: linear-gradient(180deg, #FFFFFF, #F8FAFC);
}

.governance-band {
  color: #fff;
  background:
    radial-gradient(circle at 86% 22%, rgba(79, 127, 168, .25), transparent 28%),
    linear-gradient(135deg, #132337 0%, #1F334A 50%, #132337 100%);
  overflow: hidden;
}

.governance-band .split-grid {
  grid-template-columns: 0.78fr 1.22fr;
}

.section-copy.light h2,
.section-copy.light .eyebrow { color: #fff; }

.section-copy.light p { color: #D4DEE8; }

.light-eyebrow { color: #BFD0DF !important; }

.light-checks { color: #EEF2F5; }

.light-checks li::before {
  background: var(--audit-green);
  box-shadow: inset 0 0 0 5px rgba(237, 246, 241, .18);
}

.governance-art img {
  filter: drop-shadow(0 28px 34px rgba(0,0,0,.22));
}

.cta-section { padding: 80px 0; }

.cta-panel {
  max-width: 930px;
  padding: 62px 34px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(198, 161, 91, 0.16), transparent 28%),
    radial-gradient(circle at 84% 38%, rgba(79, 127, 168, 0.16), transparent 32%),
    #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--soft-shadow);
}

.cta-panel p:not(.eyebrow) {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.centered-buttons { justify-content: center; }

.site-footer {
  padding: 62px 0 28px;
  color: #D4DEE8;
  background: #132337;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.footer-wordmark {
  margin-bottom: 16px;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.footer-wordmark span { color: #BFD0DF; }

.footer-brand p {
  max-width: 330px;
  margin: 0;
  color: #BFD0DF;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.footer-links h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 14px;
}

.footer-links a {
  display: block;
  margin: 10px 0;
  color: #BFD0DF;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid rgba(191, 208, 223, .18);
  color: #9FB3C5;
  font-size: 13px;
}

@media (max-width: 1280px) {
  .brand img { width: 280px; }
  .nav { gap: 12px; font-size: 12px; }
  .header-cta { display: none; }
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .governance-band .split-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual { max-width: 980px; margin: 0 auto; }

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

@media (max-width: 820px) {
  .container { width: min(100% - 34px, var(--container)); }

  .header-inner { min-height: 84px; }

  .brand img { width: 250px; }

  .nav-toggle-label {
    display: flex;
    width: 44px;
    height: 44px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: var(--deep-navy);
    border-radius: 2px;
    position: relative;
  }

  .nav-toggle-label span::before { position: absolute; top: -6px; }
  .nav-toggle-label span::after { position: absolute; top: 6px; }

  .nav {
    position: absolute;
    top: 84px;
    left: 17px;
    right: 17px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .nav a {
    padding: 13px 14px;
    border-bottom: 1px solid var(--soft-border);
  }

  .nav a:last-child { border-bottom: 0; }

  .nav-toggle:checked ~ .nav { display: flex; }

  .section,
  .hero { padding: 68px 0; }

  .hero { padding-top: 54px; }

  .hero h1 { font-size: clamp(42px, 12vw, 58px); }

  .hero-visual { padding: 0; }

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

  .diagram-card,
  .framed-art,
  .governance-art {
    overflow-x: auto;
    border-radius: 22px;
  }

  .diagram-card img,
  .framed-art img,
  .governance-art img {
    min-width: 760px;
  }

  .footer-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-grid { gap: 38px; }

  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .brand img { width: 220px; }
  .button-row { align-items: stretch; }
  .btn { width: 100%; }
  .section-heading h2,
  .section-copy h2,
  .cta-panel h2 { font-size: 34px; }
  .cta-panel { padding: 44px 22px; }
}
