:root {
  --ink: #15243d;
  --muted: #526176;
  --paper: #fbfaf7;
  --line: #dce1e7;
  --blue: #175ccd;
  --navy: #102746;
  --green: #176746;
  --red: #ac3243;
  --amber: #825511;
  --softblue: #eef4ff;
  --softgreen: #edf6f0;
  --softred: #fcf0f1;
  --softamber: #fff6e7;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
a {
  color: var(--blue);
  text-underline-offset: 4px;
}
button,
select {
  font: inherit;
}
a:focus-visible,
summary:focus-visible,
select:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
}
summary,
select {
  cursor: pointer;
}
.wrap {
  max-width: 1220px;
  margin: auto;
  padding: 0 40px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -70px;
  padding: 12px;
  background: white;
  z-index: 5;
}
.skip:focus {
  top: 10px;
}
.demo {
  background: var(--navy);
  color: #e9eff8;
  text-align: center;
  font-size: 12px;
  padding: 9px 16px;
  letter-spacing: 0.02em;
}
.demo strong {
  color: #ffb47f;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: white;
  border-radius: 9px;
  font-weight: 850;
  font-size: 22px;
}
.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.7px;
}
.nav-caption {
  font-size: 12px;
  border-left: 1px solid #bbc5d0;
  padding-left: 14px;
  color: var(--muted);
}
.nav-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  font-weight: 650;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
}
.nav-links a:last-child {
  border: 1px solid var(--line);
  padding: 7px 13px;
  border-radius: 6px;
  background: white;
}
.hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 75px;
  align-items: center;
  padding: 52px 0 40px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
}
.eyebrow:before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
}
h1 {
  font-size: clamp(36px, 4.3vw, 56px);
  letter-spacing: -2.4px;
  line-height: 1.07;
  margin: 18px 0;
}
h1 span {
  color: var(--blue);
}
.lede {
  font-size: 16px;
  color: var(--muted);
  max-width: 570px;
  line-height: 1.75;
}
.hero-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}
.hero-note strong {
  color: var(--ink);
}
.process {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}
.process-title {
  font-size: 11px;
  font-weight: 750;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.step {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 13px;
  padding-bottom: 17px;
}
.step:last-child {
  padding-bottom: 0;
}
.step-no {
  font-size: 11px;
  font-family: ui-monospace, monospace;
  color: var(--blue);
  border: 1px solid #c7d6eb;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
}
.step h3 {
  font-size: 14px;
  margin: 3px 0 4px;
}
.step p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 19px;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.6px;
}
.section-head p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 7px;
}
.scope {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}
.scope strong {
  font-weight: 600;
  color: var(--ink);
}
.metrics {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.metric {
  padding: 22px 25px;
}
.metric + .metric {
  border-left: 1px solid var(--line);
}
.metric-label {
  color: var(--muted);
  font-size: 12px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.metric-value {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -1.4px;
  line-height: 1.25;
  margin: 8px 0 4px;
}
.metric-value small {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
}
.metric-note {
  font-size: 11px;
  color: var(--muted);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  background: currentColor;
  flex-shrink: 0;
}
.green {
  color: var(--green);
}
.red {
  color: var(--red);
}
.amber {
  color: var(--amber);
}
.activity {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 13px 0 36px;
  font-size: 11px;
  color: var(--muted);
}
.activity-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ticks {
  display: flex;
  gap: 4px;
}
.tick {
  height: 17px;
  width: 23px;
  border-radius: 3px;
  background: var(--green);
}
.tick.failed {
  background: var(--red);
}
.tick.error {
  background: #a57528;
}
.legend {
  display: flex;
  gap: 14px;
  align-items: center;
}
.legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.scenario {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  overflow: hidden;
}
.scenario-body {
  padding: 20px 21px 17px;
}
.card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}
.route-tag {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.badge {
  font-size: 10px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  padding: 3px 7px;
  white-space: nowrap;
}
.badge.passed {
  background: var(--softgreen);
  color: var(--green);
}
.badge.failed {
  background: var(--softred);
  color: var(--red);
}
.badge.error {
  background: var(--softamber);
  color: var(--amber);
}
.badge.waiting {
  background: #f1f3f6;
  color: var(--muted);
}
.scenario h3 {
  font-size: 17px;
  letter-spacing: -0.4px;
  margin-bottom: 9px;
}
.description {
  color: var(--muted);
  font-size: 12px;
  min-height: 58px;
}
.route {
  font-size: 11px;
  margin-top: 17px;
  padding-top: 13px;
  border-top: 1px solid #edf0f4;
  color: var(--muted);
}
.route strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 4px;
}
.latest {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  margin-top: 12px;
}
.scenario details {
  border-top: 1px solid var(--line);
}
summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 650;
  padding: 13px 21px;
  color: var(--blue);
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
}
details[open] > summary:after {
  content: "−";
}
details[open] > summary {
  background: #f7f9fc;
}
.evidence {
  padding: 18px 21px;
  background: #fafbfd;
  font-size: 12px;
}
.evidence h4 {
  margin: 0 0 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.bubble {
  padding: 10px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 8px;
  font-size: 12px;
}
.bubble.assistant {
  background: var(--softblue);
  border-color: #dce7fa;
}
.speaker {
  font-size: 10px;
  font-weight: 750;
  display: block;
  margin-bottom: 3px;
}
.tool-evidence {
  padding: 10px 0;
  margin-bottom: 12px;
  font-size: 11px;
  color: var(--muted);
}
.tool-evidence strong {
  color: var(--ink);
}
.check {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.check-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
}
.check p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
.awaiting {
  padding: 0 21px 18px;
  font-size: 11px;
  color: var(--muted);
}
.history {
  margin-top: 40px;
}
.filter {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
}
select {
  border: 1px solid #bcc7d3;
  padding: 7px 30px 7px 10px;
  border-radius: 5px;
  color: var(--ink);
  background: white;
  font-size: 12px;
}
.history-list {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.run {
  border-bottom: 1px solid var(--line);
}
.run:last-child {
  border-bottom: 0;
}
.run summary {
  color: var(--ink);
  font-weight: 500;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 112px 14px;
  gap: 18px;
  padding: 14px 20px;
}
.run summary time {
  font-size: 11px;
  color: var(--muted);
}
.run summary .badge {
  justify-self: start;
}
.run .evidence {
  max-width: 760px;
}
.history-foot {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.method {
  margin: 40px 0 0;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.75fr 2fr;
  gap: 50px;
}
.method h2 {
  font-size: 20px;
}
.method .eyebrow {
  margin-bottom: 12px;
}
.method-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.method h3 {
  font-size: 13px;
  margin-bottom: 8px;
}
.method p {
  font-size: 12px;
  color: var(--muted);
}
.method details {
  grid-column: 1/-1;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}
.method details p {
  padding: 0 20px 16px;
}
.method summary {
  color: var(--ink);
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 36px;
  font-size: 11px;
  color: var(--muted);
}
footer a {
  color: var(--muted);
}
.empty {
  padding: 25px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1100px) {
  .scenario-body {
    min-height: 248px;
  }
}
@media (max-width: 950px) {
  .wrap {
    padding: 0 25px;
  }
  .hero {
    gap: 30px;
    grid-template-columns: 1.2fr 1fr;
  }
  .scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metric {
    padding: 19px;
  }
  .metric-value {
    font-size: 30px;
  }
  .method {
    gap: 25px;
  }
  .nav-caption {
    display: none;
  }
}
@media (max-width: 620px) {
  .wrap {
    padding: 0 18px;
  }
  .demo {
    font-size: 10px;
  }
  .nav {
    padding: 18px 0;
  }
  .nav-links {
    gap: 13px;
    font-size: 11px;
  }
  .nav-links a:last-child {
    padding: 6px 9px;
  }
  .brand-name {
    font-size: 18px;
  }
  .mark {
    width: 30px;
    height: 30px;
    font-size: 19px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 32px 0;
    gap: 27px;
  }
  h1 {
    font-size: 40px;
    letter-spacing: -1.8px;
  }
  .lede {
    font-size: 14px;
  }
  .process {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
  }
  .step {
    padding-bottom: 13px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metric:nth-child(3) {
    border-left: 0;
  }
  .metric:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .metric-value {
    font-size: 31px;
  }
  .metric {
    padding: 17px;
  }
  .activity {
    flex-direction: column;
    align-items: start;
    gap: 8px;
    margin-bottom: 30px;
  }
  .scenario-grid {
    grid-template-columns: 1fr;
  }
  .description {
    min-height: 0;
  }
  .section-head {
    align-items: start;
    gap: 12px;
  }
  .scope {
    font-size: 10px;
    white-space: normal;
    max-width: 120px;
  }
  h2 {
    font-size: 21px;
  }
  .section-head p {
    font-size: 12px;
  }
  .run summary {
    grid-template-columns: 1fr auto 14px;
    gap: 6px 10px;
    padding: 14px;
  }
  .run summary time {
    grid-column: 1;
    font-size: 10px;
  }
  .run-title {
    grid-column: 1;
    grid-row: 2;
    font-size: 12px;
  }
  .run summary .badge {
    grid-column: 2;
    grid-row: 1/3;
  }
  .run summary:after {
    grid-column: 3;
    grid-row: 1/3;
  }
  .filter {
    flex-direction: column;
    align-items: end;
    gap: 3px;
    font-size: 10px;
  }
  .history-foot {
    flex-direction: column;
    gap: 3px;
  }
  .method {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .method-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .history {
    margin-top: 30px;
  }
  footer {
    flex-direction: column;
    gap: 8px;
  }
  .latest {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  summary,
  a,
  select {
    transition: background-color 0.15s;
  }
  summary:hover {
    background: #eef4fc;
  }
  .scenario {
    transition: border-color 0.15s;
  }
  .scenario:hover {
    border-color: #a9bdd8;
  }
}
/* Live-result states and bounded evidence. */
.badge.running,
.badge.waiting {
  background: #eef4ff;
  color: #175ccd;
}
.badge.stale,
.badge.overdue {
  background: #fff6e7;
  color: #825511;
}
.tick.running,
.tick.stale,
.tick.overdue {
  background: #a57528;
}
.evidence pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 12px;
  font-size: 11px;
  background: white;
  border: 1px solid #dce1e7;
  border-radius: 5px;
}
.activity-left {
  flex-wrap: wrap;
}
.ticks {
  flex-wrap: wrap;
  max-width: 400px;
}
