:root {
  color-scheme: dark;
  font: 16px/1.55 system-ui, sans-serif;
  background: #101b22;
  color: #edf8f3;
  --subdued: #b6cec8;
  --mint: #a0ebc5;
  --rule: #3a575b;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--mint); text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid var(--mint); outline-offset: 5px; }
.shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.mast, .footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 20px; padding-block: 18px; }
.mast { border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 740; color: inherit; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 20px; }
nav a, .footer { font-size: .9rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: center; padding-block: clamp(44px, 7vw, 98px); }
.kicker { color: var(--mint); font-weight: 720; margin: 0 0 16px; }
h1, h2 { margin: 0; font-family: Georgia, serif; font-weight: 500; }
h1 { max-width: 13ch; font-size: clamp(2.55rem, 6vw, 5.1rem); line-height: 1.02; letter-spacing: -.042em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.12; }
.lead { color: var(--subdued); max-width: 35em; font-size: clamp(1.06rem, 1.8vw, 1.28rem); margin: 20px 0 0; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; color: var(--subdued); margin: 25px 0 19px; }
.price strong { color: #edf8f3; font-size: 1.6rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 46px; padding: 10px 17px; border-radius: 5px; background: var(--mint); color: #12271e; font-weight: 740; text-decoration: none; }
.button:hover { background: #c4f6dc; }
figure { margin: 0; min-width: 0; }
figure img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 12px; }
figcaption { margin-top: 8px; color: var(--subdued); font-size: .86rem; }
.scope, .contact { padding-block: 32px; border-top: 1px solid var(--rule); scroll-margin-top: 12px; }
.scope ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 22px 0; padding: 0; list-style: none; }
.scope li { padding: 18px; border: 1px solid var(--rule); border-radius: 8px; background: #15262e; }
.scope li span { display: block; margin-top: 8px; color: var(--subdued); }
.limit, .contact p { max-width: 66ch; color: var(--subdued); }
.limit { margin-bottom: 0; }
.contact { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.contact p { margin: 10px 0 0; overflow-wrap: anywhere; }
.contact strong { color: #edf8f3; }
.footer { border-top: 1px solid var(--rule); color: var(--subdued); }
@media (max-width: 720px) {
  .shell { width: calc(100% - 36px); }
  .hero { grid-template-columns: 1fr; }
  .hero figure { width: min(100%, 400px); }
  .scope ol { grid-template-columns: 1fr; gap: 10px; }
}


.replay-demo > p { color: var(--subdued); max-width: 66ch; }
.replay-controls:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 20px 12px;
}
.replay-controls button {
  padding: 8px 14px;
  min-height: 44px;
  color: inherit;
  border: 1px solid var(--rule);
  border-radius: 5px;
  background: #15262e;
  font: inherit;
  cursor: pointer;
}
.replay-controls button[aria-pressed="true"] {
  background: var(--mint);
  color: #12271e;
  border-color: var(--mint);
}
.replay-controls button:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}
.replay-result {
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  background: #15262e;
}
.replay-result p {
  margin: 0;
  padding: 12px 15px;
  color: #ddfff0;
  border-bottom: 1px solid var(--rule);
}
.replay-result[data-result="failure"] p { background: #502829; color: #ffddd4; }
.replay-result table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.replay-result caption {
  padding: 10px 14px 4px;
  text-align: left;
  color: var(--subdued);
  font-size: .9rem;
}
.replay-result th, .replay-result td {
  padding: 7px 14px;
  text-align: left;
  overflow-wrap: anywhere;
}
.replay-result thead th { font-size: .9rem; color: var(--subdued); }
.replay-result tbody th, .replay-result tbody td:nth-child(2) { font-family: ui-monospace, Consolas, monospace; }
.replay-result tbody tr:nth-child(even) { background: #192e37; }
.replay-demo .replay-note { font-size: .9rem; }
@media (max-width: 360px) {
  .replay-result th, .replay-result td { padding-inline: 8px; }
}
