@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Mono";
  src: url("fonts/roboto-mono-latin.woff2") format("woff2");
  font-display: swap;
}
:root {
  --paper: #fafafa;
  --ink: #151515;
  --body: #4f5153;
  --line: #dedede;
  --sky: #c6f4ff;
  --mono: "Roboto Mono", ui-monospace, monospace;
  --gutter: clamp(20px, 5.8vw, 88px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.5 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ol, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip { position: fixed; top: -5rem; left: 1rem; z-index: 20; }
.skip:focus { top: 1rem; padding: 8px; background: white; }
.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.label, .window-bar {
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .045em;
}
.label { text-transform: uppercase; color: var(--body); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 20px;
  border: 1px solid #dedede;
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  text-decoration: none;
  line-height: 1.2;
  letter-spacing: -.015em;
  box-shadow: 0 1px 2px #0000000c;
}
.btn:hover { background: #f3f3f3; }

.nav {
  position: absolute;
  z-index: 10;
  inset: 20px auto auto 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 6px 32px;
}
.nav.compact {
  position: fixed;
  top: 12px;
  width: max-content;
  max-width: calc(100% - 24px);
  border-radius: 14px;
  background: #fff;
  padding: 6px 6px 6px 14px;
  box-shadow: 0 1px 3px #0002, 0 6px 18px -10px #0003;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
  font-size: 1.19rem;
  letter-spacing: -.055em;
  text-decoration: none;
}
.nav nav { display: flex; }
.nav nav a {
  padding: 9px 14px;
  border-radius: 7px;
  text-decoration: none;
  font-size: .875rem;
}
.nav nav a:hover { background: #0000000c; }
.contact-btn { min-height: 36px; padding: 6px 16px; font-size: .875rem; }

.hero { position: relative; isolation: isolate; padding: clamp(118px, 14vh, 156px) var(--gutter) 0; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: min(660px, 85%);
  background: radial-gradient(circle, #0003 1px, transparent 1.4px) center top / 18px 18px;
  mask-image: radial-gradient(ellipse 66% 80% at 50% 40%, black, transparent 78%);
}
.hero-copy { text-align: center; }
h1 {
  margin: 14px auto 16px;
  font-size: clamp(3rem, 5.8vw, 5.6rem);
  line-height: 1.01;
  letter-spacing: -.07em;
  text-wrap: balance;
}
.lede {
  max-width: 38rem;
  margin-inline: auto;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.4;
  letter-spacing: -.025em;
  color: var(--body);
  text-wrap: balance;
}
.actions { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }

.demo { max-width: 876px; margin: clamp(40px, 5vh, 64px) auto 0; }
.window {
  overflow: hidden;
  border-radius: 12px;
  background: #121415;
  color: #fafafa;
  box-shadow: 0 20px 46px -18px #0005, 0 2px 6px #0002;
}
.window-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 17px;
  background: #222425;
  border-bottom: 1px solid #ffffff0e;
  color: #c3c6c7;
  letter-spacing: .01em;
}
.lights { display: flex; gap: 6px; }
.lights i { width: 8px; height: 8px; background: #555859; border-radius: 50%; }
.window-meta { text-align: right; }
.report { padding: clamp(20px, 2.4vw, 34px); }
.report-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.report-head .label { color: var(--sky); }
.report h2 { margin-top: 4px; font-size: clamp(1.6rem, 2.5vw, 2.2rem); line-height: 1.2; letter-spacing: -.05em; }
.replay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 12px;
  background: #252728;
  color: #f5f5f5;
  border: 1px solid #46494a;
  border-radius: 7px;
  font-size: .875rem;
}
.replay svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.replay .play-icon, .replay .pause-icon { display: none; }
.replay[data-action="resume"] .again-icon, .replay[data-action="pause"] .again-icon { display: none; }
.replay[data-action="resume"] .play-icon, .replay[data-action="pause"] .pause-icon { display: block; }
.replay:hover { background: #343738; }
.replay { min-width: 7.5rem; }
.report-tabs {
  display: flex;
  gap: 6px;
  margin-top: 21px;
  border-bottom: 1px solid #393d3f;
}
.report-tabs button {
  position: relative;
  padding: 8px 13px 10px;
  border: 0;
  background: transparent;
  color: #b8bdc0;
  font-size: .9rem;
}
.report-tabs button:hover { color: white; }
.report-tabs [aria-selected="true"] { color: var(--sky); }
.report-tabs [aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset: auto 8px -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--sky);
}
.transport {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 17px;
  padding: 8px 12px;
  border: 1px solid #33383a;
  border-radius: 7px;
  background: #1b1e20;
  font-size: .85rem;
  color: #d3d9db;
}
.position, .reading, .ruler, .counts { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.position { color: var(--sky); }
#playhead {
  width: 100%;
  min-width: 0;
  margin: 0;
  height: 26px;
  cursor: pointer;
  accent-color: var(--sky);
  color-scheme: dark;
}
.timing-group {
  --columns: minmax(0, 1fr) minmax(0, 1.6fr) 4rem;
  margin-top: 24px;
}
.group-head, .run summary {
  display: grid;
  grid-template-columns: var(--columns);
  gap: 20px;
  align-items: center;
}
.group-head { padding: 0 8px 9px; }
.group-head h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.035em; }
.group-head > div > span, .result-label { color: #afb7bb; font-size: .76rem; }
.result-label { text-align: right; align-self: end; }
.ruler { position: relative; height: 18px; align-self: end; font-size: .72rem; color: #abb3b7; }
.ruler span { position: absolute; transform: translateX(-50%); }
.ruler span:first-child { left: 0; transform: none; }
.ruler span:nth-child(2) { left: 20%; }
.ruler span:nth-child(3) { left: 40%; }
.ruler span:nth-child(4) { left: 60%; }
.ruler span:nth-child(5) { left: 80%; }
.ruler span:last-child { right: 0; transform: none; }

.run { --result: var(--sky); border-top: 1px solid #34383b; }
.run.failed { --result: #f4b99e; }
.run summary {
  list-style: none;
  cursor: pointer;
  padding: 7px 8px;
  min-height: 52px;
  border-radius: 3px;
}
.run summary::-webkit-details-marker { display: none; }
.run summary:hover, .run[open] { background: #1a1d1f; }
.run-name { display: flex; align-items: baseline; gap: 9px; font-size: .98rem; letter-spacing: -.025em; line-height: 1.3; }
.run-name::before {
  content: "";
  flex: none;
  align-self: center;
  width: 6px;
  height: 6px;
  border: solid #9fa7aa;
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
}
.run[open] .run-name::before { transform: rotate(135deg); }
.reading { display: grid; gap: 1px; justify-items: end; color: var(--result); line-height: 1.3; }
.reading strong { font-size: .93rem; font-weight: 400; }
.outcome { font-size: .73rem; }
.run.in-progress { --result: #b4cbd2; }
.run.in-progress .reading { color: #b6bdc1; }
.track {
  position: relative;
  display: grid;
  align-items: center;
  height: 28px;
  background: repeating-linear-gradient(to right, #343a3d 0 1px, transparent 1px 20%);
  border-right: 1px solid #343a3d;
}
.track progress {
  appearance: none;
  display: block;
  width: 100%;
  height: 8px;
  border: none;
  background: repeating-linear-gradient(90deg, #343b3e 0 3px, transparent 3px 6px);
  --fill: repeating-linear-gradient(90deg, var(--result) 0 3px, transparent 3px 6px);
}
.track progress::-webkit-progress-bar { background: transparent; }
.track progress::-webkit-progress-value { background: var(--fill); }
.track progress::-moz-progress-bar { background: var(--fill); }
.milestone {
  position: absolute;
  top: 50%;
  width: 3px;
  height: 12px;
  transform: translate(-50%, -50%);
  background: var(--result);
  box-shadow: 0 0 0 1px #121415;
}
.milestone.pending { background: #5b6366; }
.seeking .track::after {
  content: "";
  position: absolute;
  left: var(--position);
  top: 0;
  bottom: 0;
  width: 1px;
  background: white;
  box-shadow: 0 0 6px #c6f4ff99;
}
.seeking .run.in-progress .track::before {
  content: "";
  position: absolute;
  left: var(--position);
  top: 50%;
  z-index: 1;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 8px var(--sky);
  transform: translate(-50%, -50%);
}
.report-note, .run-detail { color: #b9c1c4; font-size: .86rem; line-height: 1.5; }
.report-note { border-top: 1px solid #34383b; padding: 8px; }
.run-detail { margin: 0 8px 12px 23px; padding: 10px 14px; border-left: 2px solid #455257; }
.steps { list-style: none; padding: 0; margin-top: 8px; }
.steps li { display: grid; grid-template-columns: 4.4em 1fr; gap: 8px; padding-block: 4px; }
.steps time { color: var(--sky); font: .8rem/1.6 var(--mono); }
.step-result strong { color: var(--result); font-weight: 500; }
.steps .pending { color: #a4acaf; }
.steps .pending time { color: #a4acaf; }
.steps .step-result.pending span { visibility: hidden; }
.run-totals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 12px;
  color: #ccd1d3;
  font-size: .8rem;
}
.result-cells { display: flex; gap: 3px; }
.result-cells i { width: 6px; height: 13px; border-radius: 1px; background: var(--sky); }
.result-cells .failed { background: #f4b99e; }
.result-cells .pending { background: #52595d; }

.section { padding-block: clamp(64px, 7.5vw, 110px); }
.section-title, .contact h2 {
  max-width: 21em;
  margin-top: 14px;
  font-size: clamp(2.15rem, 3.4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.section-title span { color: #707477; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid #e6e6e6;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 1px 2px #00000007;
}
.card h3 { font-size: 1.6rem; letter-spacing: -.05em; }
.art { width: 100%; height: 140px; margin: 22px auto; }
.card p, .section-intro { color: var(--body); line-height: 1.45; }
.art-surface, .plan-symbol g { fill: #fff; }
.art-edge { fill: #eee; }
.plans { background: #f0f1f1; }
.section-intro { max-width: 38em; margin-top: 16px; }
.use-cases {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: var(--gutter);
  padding-top: 0;
}
.uses dt {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 1.3rem;
  letter-spacing: -.035em;
}
.uses dd { margin: 6px 0 22px; color: var(--body); }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 16px;
  margin-top: 32px;
}
.plan {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 8;
  padding: clamp(18px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.plan-symbol { width: 60px; height: 44px; margin-bottom: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.plan h3 { font-size: 1.9rem; letter-spacing: -.055em; }
.plan p, .plan dd { color: var(--body); }
.plan p { margin: 6px 0 20px; }
.plan dl { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
.plan dt { padding-top: 12px; border-top: 1px solid var(--line); font-weight: 500; }
.plan dd { margin: 4px 0 12px; }
.plan .btn { justify-self: start; margin-top: 12px; }
footer { padding: clamp(60px, 6vw, 90px) 0 26px; background: #101112; color: white; }
footer .label { color: #bac0c2; }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.contact p { max-width: 36em; margin-top: 12px; color: #d4d4d4; }
.contact a { padding: 14px 20px; border-color: transparent; background: var(--sky); color: #151515; font-size: clamp(1.05rem, 1.8vw, 1.5rem); letter-spacing: -.035em; border-radius: 8px; text-decoration: none; }
.contact a:hover { background: #a9eaff; }
.footline a:hover { text-decoration: underline; }
.footline { display: flex; justify-content: space-between; margin-top: 66px; padding-top: 20px; border-top: 1px solid #373839; color: #c6c6c6; font-size: .875rem; }
.footline a { text-decoration: none; }

@media (max-width: 720px) {
  html { scroll-padding-top: 105px; }
  .nav, .nav.compact { top: 8px; width: calc(100% - 24px); padding: 6px 8px; flex-wrap: wrap; gap: 0; }
  .nav nav { order: 1; width: 100%; justify-content: center; }
  .nav nav a { padding: 6px 15px; }
  .hero { padding-top: 122px; }
  .actions .btn { flex: 1; max-width: 165px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .art { height: 115px; margin: 14px auto; }
  .contact { flex-direction: column; align-items: start; }
  .use-cases { grid-template-columns: 1fr; gap: 24px; }
  .plan-grid { grid-template-columns: 1fr; gap: 15px; }
  .plan, .plan dl { display: block; grid-row: auto; }
}
@media (max-width: 540px) {
  .report { padding: 18px 16px; }
  .window-meta { display: none; }
  .report-head { flex-wrap: wrap; }
  .report h2 { font-size: 1.45rem; }
  .replay { font-size: .8rem; padding: 6px 8px; }
  .run-totals { display: grid; gap: 4px; }
  .report-tabs { justify-content: space-between; gap: 0; }
  .report-tabs button { padding-inline: 5px; font-size: .85rem; }
  .transport { grid-template-columns: 1fr auto; gap: 3px; }
  .transport input { grid-column: 1 / -1; grid-row: 2; }
  .group-head, .run summary { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 8px; }
  .group-head { padding-inline: 0; }
  .ruler, .result-label { display: none; }
  .run summary { padding: 10px 0; }
  .track { grid-row: 2; grid-column: 1 / -1; height: 18px; }
  .reading { align-self: start; }
  .run-detail { margin-left: 8px; }
  .nav nav a { padding-inline: 10px; }
  .cards { margin-top: 24px; }

}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .seeking .track::after, .seeking .run.in-progress .track::before { display: none; }
}
