@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Martian Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/martian-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Martian Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/martian-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Arrow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-arrow.woff2") format("woff2");
  unicode-range: U+2190;
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/noto-sans-sc-400.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/noto-sans-sc-500.woff2") format("woff2");
}

:root {
  --sheet: #e4eef1;
  --ink: #122027;
  --muted: #3e5560;
  --line: rgba(18, 32, 39, 0.16);
  --line-strong: rgba(18, 32, 39, 0.78);
  --pencil: #b33a12;
  --field: #f7fbfc;
  --error: #8d2a1f;
  --sans: "Schibsted Grotesk", "Noto Sans SC", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --mono: "Martian Mono", "Noto Sans SC", ui-monospace, monospace;
  --pad: clamp(16px, 4vw, 40px);
  --measure: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sheet);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
button, textarea, input { font: inherit; color: inherit; }
::selection { background: #f0c8b6; color: #1c120e; }

.skip {
  position: absolute;
  left: 12px;
  top: 8px;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--field);
  padding: 8px 12px;
  z-index: 5;
  text-decoration: none;
}
.skip:focus { transform: none; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px var(--pad);
  border-bottom: 1px solid var(--ink);
}
.word {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ink);
}
.home-link {
  font-family: "Inter Arrow", var(--sans);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
  white-space: nowrap;
}
.home-link:hover { color: var(--pencil); border-color: var(--pencil); }

.page {
  width: min(var(--measure), calc(100% - var(--pad) * 2));
  margin: 0 auto;
  padding-bottom: 72px;
}

.hero { padding-top: clamp(28px, 4vw, 48px); }
.kicker {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
}
h1 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(56px, 7.6vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}
.lede {
  max-width: 38rem;
  margin: 22px 0 0;
  font-size: 20px;
  line-height: 1.55;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  margin-top: 28px;
}
.cta, .textlink {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
  font-weight: 500;
}
.textlink { border-bottom-width: 1px; color: var(--muted); font-weight: 400; }
.cta:hover, .textlink:hover { color: var(--pencil); border-color: var(--pencil); }

.hero-shot { margin: 24px 0 0; }
.hero-shot img { width: 100%; background: var(--field); }
figcaption, .note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.block { margin-top: clamp(64px, 9vw, 104px); }
.idx {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.prose { max-width: 40rem; margin: 0 0 22px; }

.bench-form { margin-top: 8px; }
.bench {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr) minmax(0, 0.9fr);
  background: var(--field);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.col { min-width: 0; padding: 20px 20px 16px; display: flex; flex-direction: column; gap: 12px; }
.col + .col { border-left: 1px solid var(--line-strong); }
.col label, .col .lbl {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
textarea {
  width: 100%;
  border: 0;
  resize: none;
  background: transparent;
  padding: 0;
  line-height: 1.5;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 400;
  min-height: 220px;
}
#filter {
  color: var(--pencil);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.35;
  min-height: 148px;
}
textarea:disabled { opacity: 0.38; }
.out {
  margin: 0;
  min-height: 120px;
  font-family: var(--mono);
  font-size: 22px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.out.is-error { color: var(--error); font-size: 15px; }

.nullin, .runrow { margin-top: auto; }
.nullin {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}
.nullin input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ink); }

.runrow { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.run {
  appearance: none;
  background: var(--ink);
  color: var(--field);
  border: 0;
  min-height: 46px;
  padding: 0 16px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.run:hover { background: #243843; }
.run:active { transform: translateY(1px); }
.examples { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ex {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 8px 0;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--muted);
  cursor: pointer;
}
.ex:hover { color: var(--ink); }
.ex[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--pencil); }
.status { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

.path {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}
.path::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  height: 1px;
  background: var(--line-strong);
}
.path li { position: relative; min-width: 0; padding-top: 32px; }
.path .n {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--sheet);
  padding-right: 8px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.4;
}
.path strong { display: block; font-weight: 500; font-size: 18px; line-height: 1.3; }

.fact {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: 8px 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.fact:last-of-type { border-bottom: 1px solid var(--line); }
.fact .n { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 6px; }
.fact h3 { margin: 0 0 8px; font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.fact p { margin: 0; }
code {
  font-family: var(--mono);
  font-size: 0.86em;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.bounds { margin: 0; padding: 0; list-style: none; }
.bounds li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 8px 18px;
}
.bounds li:last-child { border-bottom: 1px solid var(--line); }
.bounds b { font-weight: 500; }

.steps { margin: 8px 0 0; padding-left: 1.2em; max-width: 42rem; }
.steps li { margin: 0 0 12px; padding-left: 4px; }
.steps a { color: inherit; }

.colophon {
  margin-top: clamp(64px, 9vw, 104px);
  padding-top: 22px;
  border-top: 1px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}
.colophon p { margin: 0; color: var(--muted); font-size: 14px; max-width: 40rem; }
.colo-links { display: flex; gap: 18px; }
.colo-links a { color: var(--ink); font-weight: 500; }

@media (max-width: 960px) {
  .bench { grid-template-columns: 1fr; }
  .col + .col { border-left: 0; border-top: 1px solid var(--line-strong); }
  textarea, #filter { min-height: 120px; }
  .path { grid-template-columns: 1fr; gap: 0; }
  .path::before { left: 0; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .path li { padding: 0 0 22px 28px; }
  .path .n { top: 0; left: 0; padding: 0 8px 0 0; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .lede { font-size: 18px; }
  .fact, .bounds li { grid-template-columns: 1fr; gap: 4px; }
  .fact h3 { font-size: 22px; }
  h1 { letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .run:active { transform: none; }
}
