:root {
  color-scheme: dark;
  --bg: #07111d;
  --surface: #0d1827;
  --surface-2: #142436;
  --surface-3: #eaf0f6;
  --text: #eff5fb;
  --muted: #a8bacd;
  --ink: #111f30;
  --ink-muted: #51657d;
  --line: rgba(240, 247, 255, 0.12);
  --line-dark: rgba(17, 31, 48, 0.12);
  --accent: #4ce0b3;
  --accent-2: #4f8cff;
  --shadow: 0 24px 60px rgba(3, 10, 20, 0.28);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 29, 0.72);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.section-shell,
.footer-inner,
.hero-content,
.metrics-grid {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #17314f, #234b75);
  color: #f5fbff;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 0.95rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

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

.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image:
    linear-gradient(rgba(7, 17, 29, 0.2), rgba(7, 17, 29, 0.4)),
    url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center center;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(7, 17, 29, 0.08) 0%, rgba(7, 17, 29, 0.74) 66%, rgba(7, 17, 29, 0.94) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 92px;
}

.eyebrow,
.section-kicker,
.metric-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d2deea;
}

.hero h1 {
  width: min(820px, 100%);
  margin: 18px 0 0;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.02;
}

.hero-copy {
  width: min(720px, 100%);
  margin: 22px 0 0;
  color: #d7e3ef;
  font-size: 1.1rem;
  line-height: 1.72;
}

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

.button-primary,
.button-secondary {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--accent);
  color: #06201a;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
  background: rgba(11, 21, 34, 0.35);
}

.metrics-band {
  background: #0b1625;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metrics-grid article {
  padding: 28px 18px 30px;
  border-right: 1px solid var(--line);
}

.metrics-grid article:last-child {
  border-right: 0;
}

.metrics-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 1.15rem;
}

.metrics-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.96rem;
}

.section {
  padding: 88px 0;
}

.section-light {
  background: var(--surface-3);
  color: var(--ink);
}

.section-dark {
  background: var(--surface);
}

.section-contrast {
  background: #f7fafc;
  color: var(--ink);
}

.split-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.section h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.08;
}

.section-copy p,
.contact-copy {
  margin: 0 0 16px;
  color: var(--ink-muted);
  line-height: 1.8;
  font-size: 1rem;
}

.section-dark .section-kicker,
.section-dark h2,
.section-dark h3,
.section-dark p,
.section-dark li,
.section-dark .detail-list {
  color: var(--text);
}

.section-dark .section-kicker {
  color: #bfd1e4;
}

.capability-grid,
.workflow-grid,
.governance-list {
  margin-top: 34px;
  display: grid;
  gap: 16px;
}

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

.capability-card,
.workflow-step,
.overview-panel,
.contact-panel {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.capability-card {
  padding: 24px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.capability-card h3,
.workflow-step h3,
.governance-list h3,
.overview-panel h2 {
  margin: 0;
}

.capability-card p,
.workflow-step p,
.governance-list p {
  margin: 12px 0 0;
  line-height: 1.72;
  color: var(--muted);
}

.workflow-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.workflow-step {
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line-dark);
}

.workflow-step span {
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 14px;
}

.workflow-step p {
  color: var(--ink-muted);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.overview-panel {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line-dark);
}

.overview-panel h2 {
  font-size: 1.55rem;
  margin-bottom: 20px;
}

.detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  color: var(--ink-muted);
}

.detail-list li {
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
}

.governance-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.governance-list article {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.contact-panel {
  background: #ffffff;
  padding: 24px;
  border: 1px solid var(--line-dark);
}

.contact-row {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid var(--line-dark);
}

.contact-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.contact-row span {
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.contact-row a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #07111d;
}

.footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

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

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

  .metrics-grid article:nth-child(2) {
    border-right: 0;
  }

  .metrics-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  .header-inner,
  .split-shell,
  .overview-grid,
  .contact-shell,
  .governance-list,
  .capability-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    display: grid;
    justify-content: stretch;
    padding: 16px 0;
  }

  .site-nav {
    gap: 12px;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-content {
    padding-top: 112px;
    padding-bottom: 72px;
  }

  .metrics-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics-grid article:last-child {
    border-bottom: 0;
  }

  .footer-inner {
    min-height: auto;
    padding: 20px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .section-shell,
  .footer-inner,
  .hero-content,
  .metrics-grid {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
  }
}
