:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #586477;
  --line: #d9e1e8;
  --panel: #ffffff;
  --soft: #f4f7fa;
  --warm: #f8f4ee;
  --accent: #176b87;
  --accent-dark: #114f63;
  --orange: #c96b2c;
  --green: #247a5a;
  --blue: #2c5aa0;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

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

.site-header {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 7px;
  color: #ffffff;
  background: var(--accent);
  font-size: 14px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent-dark);
}

.hero {
  width: min(100% - 32px, var(--max));
  margin: 28px auto 0;
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  align-items: center;
  gap: 54px;
  padding-bottom: 70px;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 6.7vw, 76px);
  line-height: 0.99;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 22px;
  max-width: 920px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.25;
}

.lead {
  margin: 22px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 7px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
}

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

.button.secondary {
  color: var(--accent-dark);
  background: #ffffff;
}

.access-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.ops-panel,
.doc-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 22px 50px rgba(23, 32, 51, 0.11);
  overflow: hidden;
}

.panel-top {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #eef3f7;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a9b5c2;
}

.window-dot.amber {
  background: #d99a38;
}

.window-dot.green {
  background: #3d9569;
}

.window-dot.blue {
  background: #4d75bf;
}

.panel-title {
  margin-left: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.metric-row > div {
  min-width: 0;
  padding: 22px 18px;
  background: #ffffff;
}

.metric-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.metric-row strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
  line-height: 1;
}

.workflow-preview {
  padding: 20px;
}

.flow-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.flow-step:last-child {
  border-bottom: 0;
}

.flow-step > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  color: #ffffff;
  background: #8794a6;
  font-weight: 700;
}

.flow-step.complete > span {
  background: var(--green);
}

.flow-step.active > span {
  background: var(--orange);
}

.flow-step strong {
  display: block;
  margin-bottom: 4px;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.band {
  background: var(--soft);
}

.band.warm {
  background: var(--warm);
}

.section-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 84px 0;
}

.feature-grid,
.resource-grid,
.operations-grid,
.control-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature,
.resource,
.operation,
.control,
.fact-box,
.legal-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.feature-code,
.resource span,
.operation span,
.control span,
.fact-box span {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.feature p,
.resource strong,
.operation p,
.control p,
.fact-box p,
.body-copy p,
.legal-content p,
.legal-content li {
  margin: 0;
  color: var(--muted);
}

.feature p + p,
.body-copy p + p,
.legal-content p + p {
  margin-top: 14px;
}

.resource {
  display: block;
  text-decoration: none;
}

.resource strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.28;
}

.split,
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 54px;
  align-items: start;
}

.body-copy {
  font-size: 18px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 0;
}

.proof-strip > div {
  min-width: 0;
  padding: 22px;
  border-top: 4px solid var(--accent);
  background: #ffffff;
}

.proof-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.proof-strip span {
  color: var(--muted);
}

.subhero {
  width: min(100% - 32px, var(--max));
  margin: 44px auto 0;
  padding: 54px 0 46px;
  border-bottom: 1px solid var(--line);
}

.subhero h1 {
  max-width: 920px;
  font-size: clamp(40px, 6vw, 68px);
}

.subhero .lead {
  max-width: 820px;
}

.doc-layout {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 64px 0 86px;
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.side-note {
  position: sticky;
  top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.side-note strong {
  display: block;
  margin-bottom: 10px;
}

.side-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.doc-content {
  min-width: 0;
}

.doc-section {
  padding: 0 0 42px;
}

.doc-section + .doc-section {
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.doc-section h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.doc-section h3 {
  margin-top: 24px;
}

.doc-section p,
.doc-section li,
.doc-section dd {
  color: var(--muted);
}

.doc-section p {
  margin: 0 0 14px;
}

.doc-section ul,
.doc-section ol {
  margin: 14px 0 0;
  padding-left: 22px;
}

.service-table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14px;
}

.service-table th,
.service-table td,
.data-table th,
.data-table td {
  padding: 13px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.service-table th,
.data-table th {
  color: var(--ink);
  background: var(--soft);
}

.code-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.code-list code {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: #27364f;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
}

.contact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.contact-card p {
  color: var(--muted);
}

.legal-page {
  width: min(100% - 32px, 960px);
  margin: 48px auto 0;
  padding-bottom: 84px;
}

.legal-header {
  padding: 36px 0 44px;
  border-bottom: 1px solid var(--line);
}

.legal-header h1 {
  font-size: clamp(42px, 7vw, 68px);
}

.legal-date {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-content {
  padding-top: 34px;
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: 23px;
}

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

.legal-content a,
.doc-content a,
.contact-card a {
  color: var(--accent-dark);
  font-weight: 700;
}

.site-footer {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  text-decoration: none;
  color: var(--accent-dark);
}

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

@media (max-width: 980px) {
  .hero,
  .split,
  .two-column,
  .doc-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 36px;
    padding-bottom: 58px;
  }

  .ops-panel {
    max-width: 700px;
  }

  .feature-grid,
  .resource-grid,
  .operations-grid,
  .control-grid,
  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .side-note {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 112px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .nav {
    justify-content: flex-start;
    gap: 12px;
  }

  .hero {
    margin-top: 18px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 18px;
  }

  .metric-row,
  .feature-grid,
  .resource-grid,
  .operations-grid,
  .control-grid,
  .proof-strip,
  .code-list {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .section-inner,
  .doc-layout {
    padding: 58px 0;
  }

  .subhero {
    padding: 38px 0;
  }

  .service-table,
  .data-table {
    font-size: 13px;
  }

  .service-table th,
  .service-table td,
  .data-table th,
  .data-table td {
    padding: 10px 8px;
  }

  .site-footer {
    min-height: 118px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
  }
}
