:root {
  color-scheme: dark;
  --bg: #101114;
  --surface: #17191f;
  --surface-2: #22252e;
  --surface-3: #f6f7f2;
  --text: #eff5fb;
  --muted: #c3cbc5;
  --ink: #181d22;
  --ink-muted: #5b626b;
  --line: rgba(240, 247, 255, 0.12);
  --line-dark: rgba(24, 32, 29, 0.12);
  --accent: #35c2a9;
  --accent-2: #e0a33a;
  --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(16, 19, 18, 0.8);
  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, #263228, #40513b);
  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(16, 18, 22, 0.1), rgba(16, 18, 22, 0.44)),
    url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1800&q=82");
  background-size: cover;
  background-position: center center;
}

.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(16, 19, 18, 0.08) 0%,
    rgba(16, 19, 18, 0.74) 66%,
    rgba(16, 19, 18, 0.96) 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;
  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;
}

.hero-proof {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof span,
.control-list span,
.flow-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(9, 18, 28, 0.4);
  color: #e8f3ff;
  font-size: 0.9rem;
  line-height: 1.35;
}

.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: #102014;
}

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

.metrics-band {
  background: #131715;
  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: #fbfaf5;
  color: var(--ink);
}

.profile-section {
  border-bottom: 1px solid var(--line-dark);
}

.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,
.profile-grid {
  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));
}

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

.profile-grid article {
  padding: 22px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line-dark);
  box-shadow: 0 18px 44px rgba(16, 28, 22, 0.08);
}

.profile-grid span {
  display: block;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.profile-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.profile-grid p {
  margin: 10px 0 0;
  color: var(--ink-muted);
  line-height: 1.65;
}

.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);
}

.bi-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bi-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 36px;
  align-items: center;
}

.dark-copy {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.control-list {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ops-dashboard {
  padding: 24px;
  border-radius: var(--radius);
  background: #0f1513;
  border: 1px solid rgba(240, 247, 255, 0.14);
  box-shadow: var(--shadow);
}

.dashboard-topline,
.dashboard-rule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-topline span,
.dashboard-rule span,
.dashboard-metrics span,
.dashboard-metrics small {
  color: var(--muted);
}

.dashboard-topline strong,
.dashboard-rule strong {
  color: var(--accent);
}

.dashboard-metrics {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-metrics div {
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 1.4rem;
}

.dashboard-metrics small {
  display: block;
  margin-top: 6px;
}

.dashboard-bars {
  height: 210px;
  margin-top: 24px;
  padding: 16px 10px 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    rgba(255, 255, 255, 0.04);
  background-size: 100% 25%;
}

.dashboard-bars span {
  min-height: 18px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--accent), #317b45);
}

.dashboard-rule {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.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;
}

.fact-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

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

.fact-list span {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.fact-list strong {
  color: var(--ink);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.policy-main {
  min-height: 70vh;
  background: var(--surface-3);
  color: var(--ink);
}

.policy-hero {
  padding: 124px 0 58px;
  background:
    linear-gradient(180deg, rgba(16, 19, 18, 0.82), rgba(16, 19, 18, 0.94)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  color: var(--text);
}

.api-hero {
  background:
    linear-gradient(180deg, rgba(16, 19, 18, 0.76), rgba(16, 19, 18, 0.96)),
    url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
}

.platform-hero {
  background:
    linear-gradient(180deg, rgba(16, 19, 18, 0.76), rgba(16, 19, 18, 0.96)),
    url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1800&q=82");
  background-size: cover;
  background-position: center;
}

.light-cards .capability-card {
  background: #ffffff;
  border-color: var(--line-dark);
  box-shadow: 0 18px 44px rgba(16, 28, 22, 0.08);
}

.light-cards .capability-card h3 {
  color: var(--ink);
}

.light-cards .capability-card p {
  color: var(--ink-muted);
}

.phase-table {
  display: grid;
  gap: 12px;
  margin: 16px 0 28px;
}

.phase-table div {
  display: grid;
  grid-template-columns: 92px 150px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line-dark);
}

.phase-table strong {
  color: var(--ink);
}

.phase-table span {
  color: var(--accent-2);
  font-weight: 700;
}

.phase-table p {
  margin: 0;
}

.policy-hero h1 {
  margin: 12px 0 0;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 1.04;
}

.policy-hero p:last-child {
  margin: 16px 0 0;
  color: #dbe4dc;
}

.policy-content {
  width: min(calc(100% - 40px), 860px);
}

.policy-content h2 {
  margin: 34px 0 10px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  margin: 0 0 18px;
  color: var(--ink-muted);
  line-height: 1.8;
}

.policy-content a {
  color: #2f5f2e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wide-policy {
  width: min(calc(100% - 40px), 1040px);
}

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

.policy-grid article {
  padding: 22px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line-dark);
}

.flow-strip {
  margin: 16px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.flow-strip span {
  border-color: var(--line-dark);
  background: #ffffff;
  color: var(--ink);
}

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

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

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

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

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

  .profile-grid,
  .bi-layout {
    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,
  .profile-grid,
  .bi-layout,
  .policy-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;
  }

  .policy-hero {
    padding-top: 112px;
  }
}

@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%;
  }

  .policy-content {
    width: min(calc(100% - 28px), 860px);
  }

  .dashboard-metrics {
    grid-template-columns: 1fr;
  }

  .phase-table div {
    grid-template-columns: 1fr;
  }
}
