:root {
  color-scheme: light;
  --ink: #14213d;
  --muted: #526071;
  --line: #d9e1ea;
  --panel: #ffffff;
  --soft: #f5f7fa;
  --accent: #146c94;
  --accent-dark: #0f4f6f;
  --ok: #1d7f58;
  --wait: #9a6a17;
  --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;
}

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

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

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

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  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: 36px auto 0;
  min-height: calc(100vh - 132px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 56px;
  padding-bottom: 80px;
}

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

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

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

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

h2 {
  margin: 0 0 22px;
  font-size: clamp(28px, 4vw, 42px);
  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: 640px;
  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 {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 22px 50px rgba(20, 33, 61, 0.12);
  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;
}

.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: 28px;
  line-height: 1;
}

.table-preview {
  padding: 18px;
}

.table-head,
.table-line {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.table-head {
  min-height: 34px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.status {
  width: fit-content;
  min-width: 62px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.status.approved {
  color: var(--ok);
  background: #e7f5ef;
}

.status.queued {
  color: var(--wait);
  background: #fff3dc;
}

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

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

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

.feature {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.feature p,
.body-copy p,
.legal-content p {
  margin: 0;
  color: var(--muted);
}

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

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 52px;
  align-items: start;
}

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

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

.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 {
  color: var(--accent-dark);
  font-weight: 700;
}

.site-footer {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  min-height: 76px;
  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);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 58px;
  }

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

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

  .two-column {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

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

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .hero {
    margin-top: 18px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 18px;
  }

  .metric-row,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .table-head,
  .table-line {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 4px;
  }

  .button {
    width: 100%;
  }

  .section-inner {
    padding: 60px 0;
  }

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