@charset "utf-8";

@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/roboto-condensed-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/roboto-condensed-latin.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;
}

:root {
  --bg: #0b0b0d;
  --panel: #15171a;
  --panel-raised: #1d2024;
  --inset: #101215;
  --frame: #2a2d31;
  --steel-mid: #585e63;
  --steel-light: #a7aaaf;
  --hairline: #3a3e43;
  --amber: #ffb000;
  --amber-dim: #3a2e12;
  --danger: #b00020;
  --danger-text: #ff8c8c;
  --white: #f2f2f2;
  --ink: #0a0a0b;
  --muted: #a4a9ae;
  --line-strong: #35393e;
  --line-soft: #26292d;
  --line-muted: #2b2f33;
  --line-inset: #292d31;
  --surface-deep: #111316;
  --surface-toolbar: #17191c;
  --surface-control: #22262a;
  --stage: #0e1013;
  --document: #171a1d;
  --text-muted-light: #9aa0a5;
  --text-steel: #8f969c;
  --text-secondary: #b7bcc1;
  --text-secondary-soft: #aeb3b8;
  --text-code: #c1c5c9;
  --text-footer: #858c92;
  --text-body-soft: #c2c6ca;
  --json-key: #9dc7ff;
  --json-string: #ffd274;
  --amber-bright: #ffd15c;
  --amber-deep: #ffba1b;
  --amber-face: #ffc63a;
  --signal-edge: #34383d;
  --signal-face-top: #282c30;
  --signal-face-bottom: #1e2225;
  --signal-label: #8c9399;
  --theme-railway: #80b59a;
  --theme-ticket: #e2c18b;
  --theme-centre: #91aec7;
  --theme-crouwel: #a33d38;
  --theme-midnight: #b6a3ce;
  --amber-paper: #fff2d0;
  --amber-edge: #dda000;
  --pixelate-shadow: #d38b00;
  --pixelate-deep: #8f6200;
  --pixelate-warm: #f0a000;
  --danger-paper: #ffd0d0;
  --verified: #7bd69b;
  --verified-paper: #1f6b45;
  --display: "Roboto Condensed", "Bahnschrift", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --body: "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --gutter: clamp(20px, 4.5vw, 72px);
  --shadow-deep: 0 24px 80px rgba(0, 0, 0, .55), 0 2px 0 rgba(255, 255, 255, .04) inset;
  --shadow-panel: 0 14px 40px rgba(0, 0, 0, .32), 0 1px 0 rgba(255, 255, 255, .05) inset;
}

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

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  background: var(--bg);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.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;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--hairline);
  background: linear-gradient(180deg, #181a1d 0%, #101214 100%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1500px;
  min-height: 76px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 44px;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--amber);
  border: 1px solid #57420f;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 52%),
    #17140d;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .09) inset, 0 4px 12px rgba(0, 0, 0, .3);
}

.brand-mark svg {
  width: 32px;
  height: 32px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-sub {
  color: var(--steel-light);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #c5c8cc;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .025em;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--white);
}

.nav-source {
  color: var(--amber) !important;
}

.header-cta {
  flex: 0 0 auto;
  white-space: nowrap;
}

.cta-short {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .085em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0) scale(.985);
}

.button-primary {
  color: var(--ink);
  border-color: var(--amber-bright);
  background: linear-gradient(180deg, var(--amber-face) 0%, var(--amber) 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .32), 0 1px 0 rgba(255, 255, 255, .35) inset;
}

.button-primary:hover {
  background: linear-gradient(180deg, var(--amber-bright), var(--amber-deep));
}

.button-small {
  min-height: 44px;
  padding: 0 14px;
  font-size: .78rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  font-family: var(--display);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span {
  color: var(--amber);
}

.text-link:hover {
  color: var(--amber);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr);
  gap: clamp(44px, 7vw, 106px);
  align-items: center;
  max-width: 1500px;
  min-height: min(800px, calc(100vh - 76px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 122px) var(--gutter) clamp(54px, 7vw, 98px);
}

.hero::before {
  position: absolute;
  top: 4%;
  right: 0;
  width: 55vw;
  height: 58vw;
  pointer-events: none;
  content: "";
  opacity: .7;
  background:
    radial-gradient(ellipse at 58% 38%, rgba(255, 176, 0, .075), transparent 56%),
    linear-gradient(115deg, transparent 42%, rgba(255, 176, 0, .035) 42.2%, transparent 42.5%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 680px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 26px;
  font-family: var(--display);
  font-size: clamp(3.5rem, 6.4vw, 6rem);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: .88;
  text-wrap: balance;
}

h1 span {
  color: var(--amber);
}

.lede {
  max-width: 55ch;
  margin-bottom: 30px;
  color: var(--text-body-soft);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-bottom: 26px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin: 0;
  color: var(--steel-light);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero-meta span {
  padding: 0 13px;
  border-left: 1px solid var(--hairline);
}

.hero-meta span:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-demo {
  position: relative;
  z-index: 1;
  min-width: 0;
  width: 100%;
}

.board {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), transparent 9%),
    var(--surface-deep);
  box-shadow: var(--shadow-deep);
  animation: settle 620ms cubic-bezier(.16, 1, .3, 1) both;
}

.board::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
}

.board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  padding: 7px 15px;
  border-bottom: 1px solid var(--frame);
  background: linear-gradient(180deg, #202327 0%, #16181b 100%);
}

.board-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mini-flap {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--ink);
  border-radius: 3px;
  background: var(--amber);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 800;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 2px 5px rgba(0, 0, 0, .35);
}

.board-section {
  color: var(--steel-light);
  font-weight: 500;
  letter-spacing: .07em;
}

.board-local {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--verified);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.signal-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--verified);
}

.board-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding: 7px 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-secondary-soft);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  white-space: nowrap;
  text-transform: uppercase;
}

.toolbar-scan {
  color: var(--ink);
  padding: 5px 8px;
  border-radius: 4px;
  background: var(--amber);
}

.toolbar-rule {
  width: 1px;
  height: 13px;
  background: #363a3f;
}

p {
  text-wrap: pretty;
}

.toolbar-end {
  margin-left: auto;
  color: var(--text-muted-light);
}

.toolbar-end strong {
  margin-left: 10px;
  color: var(--steel-light);
  font-weight: 600;
}

.board-caption {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 34px;
  padding: 7px 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-steel);
  font-family: var(--display);
  font-size: .7rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.caption-file {
  max-width: 40%;
  overflow: hidden;
  color: #d4d7da;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.caption-meta strong {
  color: var(--amber);
  font-weight: 600;
}

.caption-rules {
  margin-left: auto;
  color: var(--steel-light);
}

.board-stage {
  position: relative;
  overflow: hidden;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px) 0 0 / 24px 100%,
    var(--stage);
}

.board-stage::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent 0%, rgba(255, 176, 0, .08) 42%, rgba(255, 255, 255, .18) 50%, rgba(255, 176, 0, .08) 58%, transparent 100%) 0 -110% / 100% 220%;
  opacity: 0;
}

.board.is-revising .board-stage::after {
  animation: board-scrub 520ms cubic-bezier(.16, 1, .3, 1) both;
  will-change: background-position, opacity;
}

@keyframes board-scrub {
  0% {
    opacity: 0;
    background-position: 0 -110%;
  }

  18% {
    opacity: .8;
  }

  100% {
    opacity: 0;
    background-position: 0 210%;
  }
}

.document {
  overflow: hidden;
  min-height: 304px;
  border: 1px solid var(--line-inset);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .025), transparent 44%),
    var(--document);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .035) inset, 0 8px 24px rgba(0, 0, 0, .22);
}

.document-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 12px;
  color: #e4e6e8;
  font-family: var(--display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.document-route {
  color: var(--text-steel);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .045em;
  text-transform: none;
}

.document-rule {
  height: 1px;
  margin: 0 20px 9px;
  background: #2e3236;
}

.logline {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 24px;
  padding: 1px 20px;
  overflow: hidden;
  color: var(--text-code);
  font-family: var(--mono);
  font-size: clamp(.55rem, .7vw, .67rem);
  line-height: 1.5;
  white-space: nowrap;
}

.log-time {
  flex: 0 0 57px;
  color: var(--text-steel);
  font-size: .9em;
  font-variant-numeric: tabular-nums;
}

.log-verified {
  color: var(--verified);
  font-weight: 600;
}

.logline > span:not(.log-time):not(.sensitive) {
  flex: 0 1 auto;
}

.sensitive {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 1px 4px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.sensitive.selected {
  color: var(--amber-paper);
  border-color: var(--amber);
  background: rgba(255, 176, 0, .12);
}

.sensitive.excluded {
  color: var(--danger-paper);
  border-color: var(--danger);
  background: rgba(176, 0, 32, .16);
}

.box-mark {
  display: inline-grid;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  place-items: center;
  margin-left: 4px;
  color: var(--ink);
  border-radius: 2px;
  background: var(--amber);
  font-family: var(--body);
  font-size: .7rem;
  font-weight: 800;
  line-height: 1;
}

.sensitive.excluded + .box-mark {
  color: #fff;
  background: var(--danger);
}

.board.applied .sensitive.selected {
  color: transparent;
  border-color: var(--amber-edge);
  background:
    repeating-conic-gradient(var(--pixelate-shadow) 0% 25%, var(--amber) 0% 50%, var(--pixelate-deep) 0% 75%, var(--pixelate-warm) 0% 100%) 0 0 / 8px 8px;
  box-shadow: none;
  text-shadow: none;
}

.board.applied .sensitive.selected .box-mark {
  opacity: 0;
}

.board.applied .sensitive.excluded {
  background: rgba(176, 0, 32, .08);
}

.document-foot {
  display: flex;
  gap: 12px;
  padding: 12px 20px 16px;
  color: #7e858b;
  font-family: var(--display);
  font-size: .5rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.document-foot span {
  overflow: hidden;
  color: var(--text-muted-light);
  font-family: var(--body);
  font-size: .7rem;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.board-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border-top: 1px solid var(--line-muted);
  background: linear-gradient(180deg, var(--surface-toolbar), var(--surface-deep));
}

.signal-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(62px, 1fr));
  gap: 6px;
}

.signal {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 62px;
  padding: 6px 8px;
  border: 1px solid var(--signal-edge);
  border-radius: 4px;
  background: linear-gradient(180deg, var(--signal-face-top), var(--signal-face-bottom));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 2px 5px rgba(0, 0, 0, .3);
}

.signal-label {
  color: var(--signal-label);
  font-family: var(--display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.signal-value {
  display: block;
  width: 100%;
  color: var(--amber);
  font-family: var(--display);
  font-size: .83rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
}

.signal-stop .signal-value {
  color: var(--danger-text);
}

.signal-state .signal-value {
  color: var(--steel-light);
  font-size: .75rem;
  line-height: 1.3;
}

.signal-value.is-flipping {
  animation: tile-settle 320ms cubic-bezier(.16, 1, .3, 1);
}

@keyframes tile-settle {
  0% {
    opacity: .45;
  }

  100% {
    opacity: 1;
  }
}

.board-toggle {
  min-width: 184px;
  min-height: 44px;
  padding: 0 14px;
  color: #c8ccd0;
  border: 1px solid #3a3f44;
  border-radius: 4px;
  background: var(--surface-control);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 120ms ease, color 120ms ease, background-color 120ms ease, transform 120ms ease;
}

.board-toggle:hover {
  color: var(--amber);
  border-color: #6e5310;
  background: #292314;
}

.board-toggle:active {
  transform: translateY(1px);
}

.board-toggle span {
  color: var(--amber);
}

.section {
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(80px, 11vw, 160px) var(--gutter);
}

.section + .section {
  border-top: 1px solid var(--hairline);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, .55fr);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(46px, 6vw, 78px);
}

.section-heading h2 {
  max-width: 780px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.55rem, 4.9vw, 5rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: .94;
  text-wrap: balance;
}

.section-heading h2 span,
.inside .section-heading h2 span {
  color: var(--amber);
}

.section-heading p {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3.5vw, 58px);
}

.step {
  padding-top: 18px;
  border-top: 1px solid var(--steel-mid);
}

.step h3 {
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.05;
  text-transform: uppercase;
}

.step p,
.feature-row p {
  max-width: 42ch;
  margin-bottom: 0;
  color: #adb2b7;
  font-size: .92rem;
}

.section-heading-wide {
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, .45fr);
}

.inside-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .8fr);
  gap: clamp(44px, 8vw, 140px);
}

.list-title {
  margin-bottom: 20px;
  color: var(--steel-light);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rule-list {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--hairline);
}

.rule-list li {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  gap: 22px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-inset);
  color: var(--text-secondary);
  font-size: .85rem;
}

.rule-list li span:first-child {
  color: var(--white);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.body-large {
  max-width: 45ch;
  margin-bottom: 24px;
  color: #c3c7cb;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.6;
}

.inside-column-end {
  padding-top: 28px;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: start;
}

.proof-copy h2 {
  max-width: 540px;
  margin-bottom: 26px;
  font-family: var(--display);
  font-size: clamp(2.55rem, 4.6vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: .95;
}

.proof-copy p {
  max-width: 44ch;
  color: var(--text-secondary);
  font-size: .96rem;
}

.proof-note {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  color: var(--muted) !important;
  font-size: .78rem !important;
}

.log-card {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--signal-edge);
  border-radius: 8px;
  background: #101214;
  box-shadow: var(--shadow-panel);
}

.log-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 16px;
  border-bottom: 1px solid #2d3135;
  color: var(--text-muted-light);
  font-family: var(--display);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.log-card figcaption span:last-child {
  color: var(--text-muted-light);
}

.log-card pre {
  max-width: 100%;
  overflow: auto;
  padding: 24px;
  margin: 0;
  color: #cbd0d4;
  font-family: var(--mono);
  font-size: clamp(.68rem, 1vw, .8rem);
  line-height: 1.75;
  tab-size: 2;
}

.json-key {
  color: var(--json-key);
}

.json-string {
  color: var(--json-string);
}

.feature-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(40px, 8vw, 130px);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(130px, .35fr) minmax(0, 1fr);
  gap: 30px;
  padding: 23px 0;
  border-top: 1px solid var(--hairline);
}

.feature-row h3 {
  margin: 0;
  font-family: var(--display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.download {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(44px, 8vw, 130px);
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(80px, 10vw, 150px) var(--gutter);
  border-top: 1px solid var(--hairline);
  background:
    radial-gradient(ellipse at 78% 48%, rgba(255, 176, 0, .08), transparent 38%),
    #101214;
}

.download-copy h2 {
  max-width: 560px;
  margin-bottom: 24px;
  font-family: var(--display);
  font-size: clamp(3rem, 5.4vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: .88;
}

.download-copy p {
  max-width: 40ch;
  color: #b8bdc2;
}

.download-version {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 28px;
  color: var(--steel-light) !important;
  font-family: var(--display);
  font-size: .7rem !important;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.download-version span {
  padding: 4px 7px;
  color: var(--amber);
  border: 1px solid #5c4712;
  border-radius: 3px;
  background: var(--amber-dim);
  font-size: .7rem;
}

.download-panel {
  border-top: 1px solid var(--steel-mid);
}

.download-row {
  display: grid;
  grid-template-columns: 1fr auto 34px;
  gap: 20px;
  align-items: center;
  min-height: 66px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
  transition: color 120ms ease, padding 120ms ease;
}

.download-row:hover {
  padding-left: 7px;
  color: var(--amber);
}

.download-platform {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.download-note {
  color: var(--muted);
  font-size: .8rem;
}

.download-arrow {
  color: var(--amber);
  font-size: 1.2rem;
  text-align: right;
}

.download-row-primary {
  color: var(--amber);
}

.download-row-primary .download-platform {
  font-size: 1.15rem;
}

.download-caveat {
  max-width: 54ch;
  margin: 18px 0 0;
  color: var(--text-muted-light) !important;
  font-size: .78rem !important;
}

.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 24px;
}

.download-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  font-family: var(--display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
}

.download-links a span {
  color: var(--amber);
}

.site-footer {
  border-top: 1px solid var(--hairline);
  background: #08090a;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 50px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 30px var(--gutter) 36px;
}

.footer-brand {
  text-decoration: none;
}

.footer-inner p {
  margin: 0;
  color: var(--text-footer);
  font-size: .75rem;
}

.footer-inner p a {
  color: #c0c4c8;
}

.footer-inner nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.footer-inner nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #a8adb2;
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-inner nav a:hover {
  color: var(--amber);
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(17px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .brand-sub {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, .82fr) minmax(440px, 1.18fr);
    gap: 40px;
  }

  .site-nav {
    gap: 17px;
  }

  .site-nav a {
    font-size: .78rem;
  }

  .board-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .board-toggle {
    align-self: flex-end;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 74px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-demo {
    max-width: 760px;
  }

  .site-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .section-heading,
  .section-heading-wide,
  .inside-grid,
  .proof,
  .download {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 20px;
  }

  .inside-column-end {
    padding-top: 0;
  }

  .proof-copy h2 {
    max-width: 800px;
  }

  .download-copy h2 {
    max-width: 700px;
  }

  .download-panel {
    max-width: 720px;
  }
}

@media (max-width: 700px) {
  body {
    overflow-x: clip;
    background-size: 48px 100%;
  }

  .header-inner {
    min-height: 66px;
    gap: 16px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-mark svg {
    width: 27px;
    height: 27px;
  }

  .brand-name {
    font-size: .92rem;
  }

  .brand-sub {
    display: none;
  }

  .header-cta {
    min-height: 44px;
    padding: 0 10px;
    font-size: max(.8rem, 12px);
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  h1 {
    font-size: clamp(2.75rem, 12vw, 4.8rem);
    line-height: .9;
  }

  .lede {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-meta {
    gap: 7px 0;
  }

  .hero-meta span {
    padding: 0 9px;
  }

  .board-toolbar {
    gap: 8px;
    font-size: .7rem;
  }

  .board-toolbar .toolbar-rule,
  .board-toolbar .toolbar-end {
    display: none;
  }

  .board-caption {
    gap: 8px;
    font-size: .7rem;
  }

  .caption-meta:nth-of-type(2) {
    display: none;
  }

  .board-stage {
    padding: 10px;
  }

  .document {
    min-height: 280px;
  }

  .document-head,
  .logline,
  .document-foot {
    padding-right: 12px;
    padding-left: 12px;
  }

  .document-rule {
    margin-right: 12px;
    margin-left: 12px;
  }

  .logline {
    gap: 7px;
    font-size: .7rem;
  }

  .log-time {
    flex-basis: 43px;
  }

  .sensitive {
    padding-right: 2px;
    padding-left: 2px;
  }

  .box-mark {
    width: 12px;
    height: 12px;
    flex-basis: 12px;
    font-size: .5rem;
  }

  .document-foot {
    flex-direction: column;
    gap: 4px;
  }

  .document-foot span {
    font-size: .7rem;
  }

  .board-bottom {
    padding: 10px;
  }

  .signal {
    min-width: 57px;
    padding: 5px 6px;
  }

  .signal-board {
    width: 100%;
  }

  .signal {
    flex: 1;
  }

  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .section-heading h2 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .section-heading p {
    font-size: .88rem;
  }

  .loop-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .rule-list li {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 13px;
  }

  .feature-rows {
    grid-template-columns: 1fr;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 20px 0;
  }

  .proof-copy h2,
  .download-copy h2 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .log-card pre {
    padding: 16px;
    font-size: .7rem;
  }

  .download {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .download-row {
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 8px 14px;
    padding: 12px 0;
  }

  .download-note {
    grid-column: 1;
    grid-row: 2;
    font-size: max(.8rem, 12px);
  }

  .download-arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding-top: 24px;
  }

  .footer-inner nav {
    margin-left: 0;
  }
}

html.large-text .site-nav,
html.large-text .brand-sub,
html.large-text .header-cta,
html.large-text .hero-demo {
  display: none;
}

html.large-text .hero {
  grid-template-columns: 1fr;
  min-height: 0;
}

html.large-text .hero-copy {
  max-width: none;
}

html.large-text h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  overflow-wrap: anywhere;
}

html.large-text {
  overflow-x: clip;
}

html.large-text .download-row {
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 8px 14px;
}

html.large-text .download-note {
  grid-column: 1;
  grid-row: 2;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .board {
    animation: none;
  }

  .board.is-revising .board-stage::after,
  .signal-value.is-flipping {
    animation: none;
  }

  .board.is-revising .board-stage::after {
    opacity: 0;
  }

  .button,
  .button-small,
  .board-toggle,
  .sensitive,
  .download-row,
  .download-links a,
  .text-link,
  .site-nav a {
    animation: none !important;
    transition: none !important;
  }

  .button:hover,
  .button:active {
    transform: none;
  }
}
/* Redesign sections */
.hero h1 .title-line {
  display: block;
  color: var(--white);
}

.hero h1 .title-line.title-accent {
  color: var(--amber);
}

h1,
.section-heading h2,
.download-copy h2,
.proof-copy h2,
.pdf-copy h2 {
  font-stretch: 75%;
}

.step-code {
  display: block;
  margin-bottom: 22px;
  color: var(--amber);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.detection-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, .78fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: start;
}

.detection-copy .rule-list {
  margin-bottom: 28px;
}

.limit-note {
  max-width: 54ch;
  padding-top: 18px;
  margin: 0;
  border-top: 1px solid var(--line-strong);
  color: var(--text-muted-light);
  font-size: .78rem;
}

.limit-note strong {
  color: var(--amber);
  font-family: var(--display);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.control-panel {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface-deep);
  box-shadow: var(--shadow-panel);
}

.panel-head,
.panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  color: var(--text-secondary);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.panel-head {
  border-bottom: 1px solid var(--frame);
  background: var(--surface-toolbar);
}

.panel-head span:last-child,
.panel-foot span:last-child {
  color: var(--text-steel);
  font-size: .7rem;
  font-weight: 500;
}

.preset-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px;
}

.preset,
.class-list span {
  padding: 5px 8px;
  color: var(--text-body-soft);
  border: 1px solid var(--frame);
  border-radius: 3px;
  background: var(--surface-control);
  font-family: var(--mono);
  font-size: .7rem;
}

.preset:first-child {
  color: var(--amber);
  border-color: #6a5011;
  background: var(--amber-dim);
}

.panel-rule {
  height: 1px;
  background: var(--frame);
}

.pattern-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px 6px;
  color: var(--text-secondary);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.pattern-head span:last-child {
  color: var(--amber);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: none;
}

.panel-copy {
  padding: 0 16px 12px;
  margin: 0;
  color: var(--text-steel);
  font-size: .76rem;
  line-height: 1.5;
}

.class-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 16px;
}

.class-list span {
  font-size: .7rem;
}

.panel-foot {
  border-top: 1px solid var(--frame);
  background: var(--surface-toolbar);
}

.method-demo {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface-deep);
  box-shadow: var(--shadow-panel);
}

.method-tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--frame);
  background: var(--surface-toolbar);
}

.method-tab {
  min-height: 44px;
  padding: 0 18px;
  color: var(--text-steel);
  border: 0;
  border-right: 1px solid var(--frame);
  background: transparent;
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.method-tab:hover {
  color: var(--white);
}

.method-tab.is-active {
  color: var(--ink);
  background: var(--amber);
}

.method-canvas {
  padding: clamp(20px, 4vw, 40px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px) 0 0 / 24px 100%,
    var(--document);
}

.sample-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-secondary);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.sample-head span:last-child {
  color: var(--text-steel);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: none;
}

.sample-rule {
  height: 1px;
  margin: 16px 0 10px;
  background: var(--frame);
}

.sample-line {
  display: flex;
  gap: 20px;
  align-items: baseline;
  min-height: 31px;
  margin: 0;
  color: var(--text-code);
  font-family: var(--mono);
  font-size: clamp(.8rem, 1vw, .9rem);
}

.sample-key {
  flex: 0 0 76px;
  color: var(--text-steel);
}

.sample-sensitive {
  padding: 2px 4px;
  border: 1px solid var(--amber);
  color: var(--amber-paper);
  background: rgba(255, 176, 0, .12);
}

.method-canvas[data-method="black"] .sample-sensitive {
  color: #000;
  border-color: #000;
  background: #000;
}

.method-canvas[data-method="blur"] .sample-sensitive {
  color: transparent;
  border-color: transparent;
  filter: blur(4px);
  background: rgba(255, 255, 255, .22);
}

.method-canvas[data-method="pixelate"] .sample-sensitive {
  color: transparent;
  border-color: var(--amber);
  background:
    repeating-conic-gradient(var(--pixelate-shadow) 0% 25%, var(--amber) 0% 50%, var(--pixelate-deep) 0% 75%, var(--pixelate-warm) 0% 100%) 0 0 / 8px 8px;
}

.method-canvas[data-method="erase"] .sample-sensitive {
  color: transparent;
  border-color: transparent;
  background: repeating-linear-gradient(90deg, transparent 0 4px, rgba(255, 255, 255, .16) 4px 5px);
}

.method-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 16px;
  border-top: 1px solid var(--frame);
  color: var(--text-steel);
  font-size: .78rem;
}

.method-foot span:last-child {
  color: var(--danger-text);
}

.pdf-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: start;
}

.pdf-copy h2 {
  max-width: 540px;
  margin-bottom: 24px;
  font-family: var(--display);
  font-size: clamp(2.55rem, 4.6vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: .95;
}

.pdf-copy h2 span {
  color: var(--amber);
}

.pdf-copy > p {
  max-width: 44ch;
  color: var(--text-secondary);
  font-size: .92rem;
}

.pdf-panel {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface-deep);
  box-shadow: var(--shadow-panel);
}

.pdf-bar,
.pdf-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--frame);
  color: var(--text-secondary);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pdf-bar span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-bar b,
.pdf-controls b {
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

.pdf-sheet {
  min-height: 330px;
  margin: 18px;
  padding: 22px;
  color: #202020;
  background: #e9e6de;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  font-family: var(--mono);
  font-size: .78rem;
}

.pdf-sheet-head,
.pdf-sheet-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #4b4b4b;
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.pdf-sheet-rule {
  height: 1px;
  margin: 14px 0 18px;
  background: #bcb8ae;
}

.pdf-line {
  margin: 0 0 13px;
  line-height: 1.5;
}

.pdf-verified {
  color: var(--verified-paper);
  font-weight: 600;
}

.pdf-sheet .sensitive {
  color: #612023;
  border-color: #a44b4b;
  background: #f1c6bf;
}

.pdf-sheet .box-mark {
  color: #fff;
  background: #a44b4b;
}

.pdf-sheet-foot {
  margin-top: 20px;
  color: #5f5a52;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: 0;
}

.pdf-controls {
  border-top: 1px solid var(--frame);
  border-bottom: 0;
}

.pdf-controls button {
  min-height: 44px;
  padding: 0 14px;
  color: var(--text-secondary);
  border: 1px solid var(--frame);
  border-radius: 3px;
  background: var(--surface-control);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  cursor: pointer;
}

.pdf-controls button:hover {
  color: var(--amber);
  border-color: #6a5011;
}

.pdf-controls button:active {
  transform: translateY(1px);
}

.pdf-controls button:disabled {
  color: var(--text-steel);
  border-color: var(--line-soft);
  background: var(--surface-deep);
  cursor: not-allowed;
  opacity: .55;
}

.pdf-controls button:disabled:hover {
  color: var(--text-steel);
  border-color: var(--line-soft);
}

.ops-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.ops-panel {
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface-deep);
  box-shadow: var(--shadow-panel);
}

.ops-rows {
  padding: 4px 14px;
}

.ops-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  min-height: 43px;
  border-bottom: 1px solid var(--frame);
  color: var(--text-code);
  font-family: var(--mono);
  font-size: .7rem;
  font-variant-numeric: tabular-nums;
}

.ops-row:last-child {
  border-bottom: 0;
}

.ops-badge,
.mode-badge {
  padding: 3px 6px;
  color: var(--ink);
  border-radius: 2px;
  background: var(--amber);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
}

.ops-badge-warn {
  color: var(--white);
  background: var(--steel-mid);
}

.ops-badge-stop {
  color: var(--white);
  background: var(--danger);
}

.ops-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 13px 14px;
  border-top: 1px solid var(--frame);
  color: var(--amber);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ops-note {
  padding: 0 14px 16px;
  margin: 0;
  color: var(--text-steel);
  font-size: .78rem;
  line-height: 1.5;
}

.ops-note code {
  color: var(--text-code);
  font-family: var(--mono);
}

.watch-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px 12px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--frame);
  color: var(--text-code);
  font-family: var(--mono);
  font-size: .7rem;
}

.watch-row .mode-badge {
  justify-self: start;
  grid-column: 2;
  grid-row: 1;
}

.mode-badge-manual {
  color: var(--text-secondary);
  background: var(--surface-control);
  border: 1px solid var(--steel-mid);
}

.watch-meta {
  color: var(--text-steel);
  font-size: .7rem;
}

.theme-rail {
  border-top: 1px solid var(--line-strong);
}

.theme-item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--frame);
  color: var(--text-secondary);
  font-family: var(--display);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.theme-swatch {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
}

.theme-meta {
  color: var(--text-steel);
  font-family: var(--body);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.theme-railway .theme-swatch { background: var(--theme-railway); }
.theme-ticket .theme-swatch { background: var(--theme-ticket); }
.theme-centre .theme-swatch { background: var(--theme-centre); }
.theme-crouwel .theme-swatch { background: var(--theme-crouwel); }
.theme-midnight .theme-swatch { background: var(--theme-midnight); }

.theme-note {
  max-width: 70ch;
  margin: 24px 0 0;
  color: var(--text-steel);
  font-size: .8rem;
}

.privacy-table {
  border-top: 1px solid var(--line-strong);
}

.privacy-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--frame);
  color: var(--text-body-soft);
  font-size: .8rem;
}

.privacy-row span:first-child {
  color: var(--white);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.privacy-head {
  color: var(--text-steel);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.audit-command {
  display: inline-block;
  max-width: 100%;
  padding: 7px 9px;
  margin-top: 8px;
  color: var(--amber);
  border: 1px solid #5d4711;
  border-radius: 3px;
  background: var(--amber-dim);
  font-family: var(--mono);
  font-size: .7rem;
  overflow-wrap: anywhere;
}

.audit-note {
  max-width: 48ch;
  margin-top: 10px !important;
  color: var(--text-steel) !important;
  font-size: .78rem !important;
}

.audit-note code {
  color: var(--amber);
  font-family: var(--mono);
}

@media (max-width: 1120px) {
  .detection-grid,
  .artifact-grid,
  .pdf-grid,
  .ops-grid {
    grid-template-columns: 1fr;
  }

  .detection-grid {
    gap: 36px;
  }

  .pdf-copy h2 {
    max-width: 800px;
  }
}

@media (max-width: 700px) {
  .step-code {
    margin-bottom: 14px;
  }

  .preset-list,
  .class-list {
    padding: 12px;
  }

  .method-tab {
    flex: 1 1 auto;
    padding: 0 12px;
  }

  .method-canvas {
    min-width: 0;
    overflow: hidden;
    padding: 18px 14px;
  }

  .sample-line {
    flex-wrap: wrap;
    gap: 10px;
  }

  .sample-sensitive,
  .sample-value {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .pdf-panel,
  .pdf-sheet {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .sample-key {
    flex-basis: 62px;
  }

  .method-foot {
    flex-direction: column;
    gap: 6px;
  }

  .pdf-sheet {
    margin: 12px;
    padding: 15px;
  }

  .pdf-sheet-head,
  .pdf-sheet-foot {
    flex-direction: column;
    gap: 4px;
  }

  .ops-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 10px;
    padding: 8px 0;
  }

  .ops-row span:last-child {
    grid-column: 1;
    font-size: .7rem;
  }

  .watch-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .watch-row .mode-badge {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .theme-item {
    grid-template-columns: 10px minmax(0, 1fr);
    gap: 10px;
    font-size: .7rem;
  }

  .theme-meta {
    grid-column: 2;
    font-size: max(.8rem, 12px);
  }

  .privacy-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px 16px;
  }

  .privacy-row span:last-child {
    grid-column: 2;
  }

  .privacy-head span:last-child {
    grid-column: 2;
  }
}

html.large-text .method-demo,
html.large-text .pdf-panel,
html.large-text .ops-grid,
html.large-text .theme-rail,
html.large-text .control-panel {
  display: none;
}

@media (max-width: 360px) {
  .header-inner {
    gap: 8px;
  }

  .header-cta {
    padding: 0 9px;
  }

  .cta-long {
    display: none;
  }

  .cta-short {
    display: inline;
  }

  .logline {
    align-items: flex-start;
    flex-wrap: wrap;
    white-space: normal;
  }

  .logline > span {
    min-width: 0;
  }

  .logline .sensitive {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .board-toolbar {
    flex-wrap: wrap;
    white-space: normal;
    row-gap: 2px;
  }

  .document-foot {
    flex-wrap: wrap;
  }

  .document-foot span {
    overflow: visible;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .signal-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal {
    min-width: 0;
  }

  .signal-label {
    letter-spacing: .06em;
  }

  .sample-line {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .sample-key {
    flex-basis: 68px;
  }

  .sample-sensitive {
    padding-inline: 8px;
  }

  .hero-meta span:last-child {
    border-left: 0;
    padding-left: 0;
  }
}
