*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--wl-surface);
  color: var(--wl-graphite);
  font-family: var(--wl-sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--wl-ink); margin: 0; font-weight: 600; }
h1 { font-size: 52px; letter-spacing: -0.040em; line-height: 1.00; }
h2 { font-size: 36px; letter-spacing: -0.032em; }
h3 { font-size: 22px; letter-spacing: -0.020em; font-weight: 500; }
h4 { font-size: 19px; letter-spacing: -0.015em; font-weight: 500; }

@media (max-width: 900px) { h1 { font-size: 40px; } h2 { font-size: 28px; } }
@media (max-width: 560px) { h1 { font-size: 32px; } h2 { font-size: 24px; } }

p { margin: 0; text-wrap: pretty; max-width: 620px; }

a { color: var(--wl-cobalt); text-decoration: none; }
a:hover { color: var(--wl-cobalt-hover); }
:focus-visible { outline: 2px solid var(--wl-cobalt); outline-offset: 2px; }

svg { display: block; }

.container {
  max-width: var(--wl-content);
  margin-inline: auto;
  padding-inline: var(--wl-gutter);
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--wl-cobalt); color: #fff;
  padding: 10px 16px; border-radius: var(--wl-radius); z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- mono label ---------- */

.mono {
  font-family: var(--wl-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}
.mono--sm { font-size: 10px; letter-spacing: 0.10em; }

/* ---------- logo lockup ---------- */

.lockup { display: inline-flex; align-items: flex-start; gap: 10px; }
.lockup__mark { width: 26px; height: 26px; flex: none; }
.lockup__text { display: inline-flex; align-items: flex-start; gap: 5px; flex: none; }
.lockup__word {
  font-size: 18px; font-weight: 600; letter-spacing: -0.035em;
  color: var(--wl-ink); white-space: nowrap; line-height: 1.2;
}
.lockup__tag {
  font-family: var(--wl-mono); font-size: 8px; font-weight: 500;
  letter-spacing: 0.10em; text-transform: uppercase; color: var(--wl-ink);
  border: 1.2px solid var(--wl-line-strong); border-radius: var(--wl-radius);
  padding: 2px 5px 1px; margin-top: 2px; line-height: 1;
}
a.lockup:hover .lockup__word { color: var(--wl-ink); }

/* ---------- header ---------- */

.site-header { background: var(--wl-surface); border-bottom: var(--wl-hairline); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 16px;
}

.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  font-family: var(--wl-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.10em; text-transform: uppercase; color: var(--wl-ink);
  transition: color 120ms ease;
}
.nav a.is-secondary { color: var(--wl-steel); }
.nav a:hover { color: var(--wl-cobalt); }
.nav a.btn--primary, .nav a.btn--primary:hover { color: #fff; }

.nav-toggle {
  display: none; font-family: var(--wl-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.10em; text-transform: uppercase; color: var(--wl-ink);
  background: var(--wl-surface); border: 1px solid var(--wl-line-strong);
  border-radius: var(--wl-radius); padding: 8px 13px; cursor: pointer;
}

@media (max-width: 840px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; flex-direction: column; align-items: flex-start;
    gap: 18px; padding: 24px 0 4px; width: 100%;
  }
  .nav.is-open { display: flex; }
  .site-header__inner { flex-wrap: wrap; }
  .nav .btn { width: 100%; justify-content: center; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--wl-sans); font-size: 15px; font-weight: 500;
  border-radius: var(--wl-radius); border: 1px solid transparent;
  cursor: pointer; transition: background-color 120ms ease, border-color 120ms ease;
}
.btn--primary { background: var(--wl-cobalt); color: #fff; padding: 12px 20px; }
.btn--primary:hover { background: var(--wl-cobalt-hover); color: #fff; }
.btn--primary:active { background: var(--wl-cobalt-active); }
.btn--secondary {
  background: var(--wl-surface); color: var(--wl-ink);
  border-color: var(--wl-line-strong); padding: 11px 18px;
}
.btn--secondary:hover { border-color: var(--wl-ink); color: var(--wl-ink); }
.btn--sm { font-size: 11px; font-family: var(--wl-mono); font-weight: 500;
  letter-spacing: 0.10em; text-transform: uppercase; padding: 8px 13px; }

/* ---------- hero ---------- */

.hero { padding-block: 52px 44px; }
.hero__grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 40px; align-items: start;
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: 32px; } }

.hero__copy { display: grid; gap: 22px; justify-items: start; }

.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--wl-cobalt); }
.eyebrow::before {
  content: ""; width: 18px; height: 1.5px; background: var(--wl-cobalt); flex: none;
}

.hero__lede { font-size: 17px; line-height: 1.58; max-width: 460px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.trust {
  display: flex; flex-wrap: wrap; gap: 22px;
  border-top: var(--wl-hairline); padding-top: 18px; width: 100%;
}
.trust__label { color: var(--wl-steel); margin-bottom: 4px; }
.trust__value { font-size: 15px; font-weight: 500; color: var(--wl-ink); }

/* ---------- run card ---------- */

.run {
  border: var(--wl-hairline); border-radius: var(--wl-radius);
  overflow: hidden; background: var(--wl-surface);
}
.run__head {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  background: var(--wl-mist); border-bottom: var(--wl-hairline); padding: 12px 18px;
  color: var(--wl-steel);
}
.run__live { color: var(--wl-cobalt); }
.run__row { padding: 18px 20px; border-bottom: var(--wl-hairline); }
.run__row:last-child { border-bottom: 0; }
.run__meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.run__step { color: var(--wl-cobalt); }
.run__status { color: var(--wl-steel); }
.run__status--warn { color: var(--wl-amber); }
.run__title { font-size: 15px; font-weight: 500; color: var(--wl-ink); margin-bottom: 4px; }
.run__caption { font-size: 13px; line-height: 1.5; color: var(--wl-steel); }

/* ---------- flush hairline grids ---------- */

.flush {
  display: grid; gap: 1px; background: var(--wl-line);
  border-top: var(--wl-hairline); border-bottom: var(--wl-hairline);
}
.flush > * { background: var(--wl-surface); }
.flush--stats { border-bottom: 0; }
.flush--4 { grid-template-columns: repeat(4, 1fr); }
.flush--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .flush--4 { grid-template-columns: repeat(2, 1fr); } .flush--3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .flush--4 { grid-template-columns: 1fr; } }

.stat { background: var(--wl-mist); padding: 22px 26px; }
.stat__value {
  font-size: 26px; font-weight: 600; letter-spacing: -0.030em;
  color: var(--wl-ink); line-height: 1.2; margin-bottom: 6px;
}
.stat__label { color: var(--wl-steel); }

/* ---------- sections ---------- */

.section { padding-top: var(--wl-section); }
.section:last-of-type { padding-bottom: var(--wl-section); }
.section__head { max-width: 620px; margin-bottom: 32px; }
.section__head .mono { color: var(--wl-cobalt); margin-bottom: 14px; }
.section__head h2 { padding-bottom: 16px; border-bottom: var(--wl-rule); margin-bottom: 20px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card {
  border: var(--wl-hairline); border-radius: var(--wl-radius);
  padding: 32px; background: var(--wl-surface);
  transition: border-color 120ms ease;
}
.card:hover { border-color: var(--wl-line-strong); }
.card .mono { color: var(--wl-cobalt); margin-bottom: 14px; }
.card h4 { margin-bottom: 8px; }
.card p { font-size: 15px; line-height: 1.55; }

.cell { padding: 22px 26px; }
.cell .mono { color: var(--wl-steel); margin-bottom: 10px; }
.cell h4 { margin-bottom: 6px; }
.cell p { font-size: 15px; line-height: 1.55; color: var(--wl-graphite); }

.panel {
  background: var(--wl-mist); border: var(--wl-hairline);
  border-radius: var(--wl-radius); padding: 40px;
}
.panel h2 { margin-bottom: 14px; }
.panel p { font-size: 17px; line-height: 1.58; margin-bottom: 24px; }

/* ---------- footer ---------- */

.site-footer {
  border-top: var(--wl-hairline); margin-top: var(--wl-section);
  padding-block: 32px; color: var(--wl-steel);
}
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 22px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { color: var(--wl-steel); }
.site-footer a:hover { color: var(--wl-cobalt); }

/* ---------- legal ---------- */

.legal { padding-top: var(--wl-section); padding-bottom: var(--wl-section); }
.legal h1 { font-size: 36px; letter-spacing: -0.032em; padding-bottom: 16px; border-bottom: var(--wl-rule); margin-bottom: 24px; }
.legal h2 { font-size: 22px; letter-spacing: -0.020em; font-weight: 500; margin-top: 32px; margin-bottom: 8px; }
.legal p, .legal li { font-size: 16px; max-width: 620px; }
.legal ul { padding-left: 20px; margin: 0; }
.legal li { margin-bottom: 4px; }
.legal .notice {
  border: var(--wl-hairline); border-left: 3px solid var(--wl-amber);
  border-radius: var(--wl-radius); background: var(--wl-mist);
  padding: 18px 22px; margin-bottom: 32px; font-size: 15px;
}
