:root {
  color-scheme: dark;
  --bg: #020202;
  --bg-soft: #0a0908;
  --surface: #101010;
  --surface-raised: #1f1d1c;
  --surface-high: #2e2c2b;
  --text: #eeeeee;
  --text-soft: #ccc9c7;
  --muted: #8a8380;
  --muted-2: #5c5855;
  --border: #3d3a39;
  --border-soft: rgba(255, 255, 255, 0.1);
  --grid-line: transparent;
  --preview-grid-line: rgba(255, 255, 255, 0.014);
  --fade-grey: rgba(238, 238, 238, 0.13);
  --accent: #a500a5;
  --accent-strong: #c000c0;
  --accent-deep: #780078;
  --signal: #75d0a8;
  --warning: #d6a84f;
  --amber: var(--warning);
  --green: var(--signal);
  --red: #ff6b5f;
  --shadow: 0 22px 88px rgba(0, 0, 0, 0.34);
  --meta-bg: #11100f;
  --meta-header-bg: color-mix(in oklab, var(--accent) 13%, #11100f 87%);
  --meta-border: rgba(255, 255, 255, 0.14);
  --meta-label: #9a9491;
  --meta-text: #eeeeee;
  --meta-shadow: 0 16px 44px rgba(0, 0, 0, 0.26);
  --font-sans: Geist, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --header-h: 72px;
  --gutter: 36px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #eeeeee;
  --bg-soft: #fafafa;
  --surface: #fafafa;
  --surface-raised: #ffffff;
  --surface-high: #e9e7e5;
  --text: #020202;
  --text-soft: #3d3a39;
  --muted: #5c5855;
  --muted-2: #8a8380;
  --border: #cfccc8;
  --border-soft: rgba(2, 2, 2, 0.12);
  --grid-line: transparent;
  --preview-grid-line: rgba(2, 2, 2, 0.018);
  --fade-grey: rgba(2, 2, 2, 0.07);
  --accent: #a500a5;
  --accent-strong: #c000c0;
  --accent-deep: #780078;
  --signal: #2f8d6a;
  --warning: #8a5a00;
  --amber: var(--warning);
  --green: var(--signal);
  --red: #c53333;
  --shadow: 0 18px 60px rgba(2, 2, 2, 0.12);
  --meta-bg: #f7f7f7;
  --meta-header-bg: color-mix(in oklab, var(--accent) 8%, #f7f7f7 92%);
  --meta-border: #d5d5d5;
  --meta-label: #646464;
  --meta-text: #111111;
  --meta-shadow: 0 14px 38px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

.disable-transitions *,
.disable-transitions *::before,
.disable-transitions *::after {
  transition: none !important;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
}

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: clip;
  background:
    radial-gradient(ellipse at 50% 62%, var(--fade-grey), transparent 44rem),
    radial-gradient(circle at 82% 18%, color-mix(in oklab, var(--accent) 4%, transparent), transparent 32rem),
    linear-gradient(
      to bottom,
      var(--bg) 0%,
      color-mix(in oklab, var(--bg) 86%, var(--surface-high)) 54%,
      var(--bg) 100%
    ),
    var(--bg);
  background-size: auto, auto, auto, auto;
  color: var(--text);
  font: 400 14px/1.45 var(--font-sans);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 34px;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: -24px 0 auto;
  height: 168px;
  pointer-events: none;
  backdrop-filter: blur(64px) saturate(1.5);
  mask-image: linear-gradient(to bottom, #000 0%, #000 34%, rgba(0, 0, 0, .72) 58%, transparent 100%);
}

:root[data-theme="light"] .site-header {
  background: #ffffff;
  border-bottom-color: var(--border-soft);
}

:root[data-theme="light"] .site-header::before {
  opacity: .42;
}

.brand,
.nav-links,
.theme-toggle {
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 260px;
}

.brand-logo {
  display: block;
  width: 206px;
  max-width: 100%;
  height: auto;
}

.brand-logo--light {
  display: none;
}

:root[data-theme="light"] .brand-logo--dark {
  display: none;
}

:root[data-theme="light"] .brand-logo--light {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 31px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  opacity: .88;
}

.nav-links a {
  transition: color 180ms var(--ease), opacity 180ms var(--ease);
}

.nav-links a:hover {
  color: var(--accent);
  opacity: 1;
}

.theme-toggle,
.icon-button {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  background: color-mix(in oklab, var(--surface-raised) 82%, transparent);
  color: var(--text);
  cursor: pointer;
  transition: border-color 180ms var(--ease), color 180ms var(--ease), background 180ms var(--ease);
}

.theme-toggle:hover,
.icon-button:hover {
  border-color: color-mix(in oklab, var(--accent) 70%, var(--border));
  color: var(--accent);
}

.theme-toggle:focus-visible,
.icon-button:focus-visible,
.button:focus-visible,
.command-pill button:focus-visible,
.tab-list button:focus-visible,
.rail-item:focus-visible,
.mode-switch button:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

.theme-toggle svg,
.icon-button svg {
  width: 18px;
  height: 18px;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(520px, 1fr);
  grid-template-areas:
    "copy meta"
    "copy product";
  align-items: start;
  gap: 22px clamp(34px, 5vw, 92px);
  width: min(1920px, 100%);
  margin: 0 auto;
  padding: calc(var(--header-h) + 72px) calc(var(--gutter) * 2) 96px;
}

.hero-copy {
  grid-area: copy;
  max-width: 640px;
  min-width: 0;
}

.project-meta-table {
  grid-area: meta;
  align-self: start;
  justify-self: end;
  width: min(460px, 34vw);
  overflow: hidden;
  border: 1px solid var(--meta-border);
  border-radius: 2px;
  background: var(--meta-bg);
  color: var(--meta-text);
  box-shadow: var(--meta-shadow);
  font-family: var(--font-mono);
}

.project-meta-header {
  min-height: 30px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid var(--meta-border);
  background: var(--meta-header-bg);
  color: var(--meta-label);
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1;
  text-transform: uppercase;
}

.project-meta-table table {
  width: 100%;
  border-collapse: collapse;
}

.project-meta-table th,
.project-meta-table td {
  height: 36px;
  padding: 0 12px;
  border-bottom: 1px solid var(--meta-border);
  text-align: left;
  vertical-align: middle;
}

.project-meta-table tr:last-child th,
.project-meta-table tr:last-child td {
  border-bottom: 0;
}

.project-meta-table th {
  width: 35%;
  color: var(--meta-label);
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1;
  text-transform: uppercase;
}

.project-meta-table td {
  color: var(--meta-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}

.project-meta-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.project-meta-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #a500a5;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 span {
  display: block;
}

.hero-subtitle {
  margin-bottom: 18px;
  max-width: 640px;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 400;
  line-height: 1.04;
}

.hero-text {
  max-width: 610px;
  margin-bottom: 22px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
}

.command-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  min-height: 40px;
  margin: 6px 0 22px;
  padding: 0 12px 0 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: color-mix(in oklab, var(--surface) 66%, transparent);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
}

.command-pill code {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
}

.command-pill > span {
  color: var(--accent);
}

.command-pill button {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.command-pill button:hover {
  color: var(--accent);
}

.command-pill svg {
  width: 16px;
  height: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
}

.button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}

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

.button svg {
  width: 16px;
  height: 16px;
}

.button.primary {
  background: var(--text);
  color: var(--bg);
}

.button.secondary {
  border-color: var(--border-soft);
  background: color-mix(in oklab, var(--surface-raised) 82%, transparent);
  color: var(--text-soft);
}

.button.secondary:hover {
  border-color: var(--border);
  color: var(--text);
}

.assurance-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 640px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  background: color-mix(in oklab, var(--surface) 68%, transparent);
  color: var(--muted);
}

.assurance-rail span {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
  min-height: 58px;
  padding: 11px 12px 10px;
  border-right: 1px solid var(--border-soft);
  font-family: var(--font-mono);
}

.assurance-rail span:last-child {
  border-right: 0;
}

.assurance-rail span::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: color-mix(in oklab, var(--accent) 78%, transparent);
  opacity: .88;
}

.assurance-rail em {
  min-width: 0;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.assurance-rail strong {
  min-width: 0;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.product-shell {
  grid-area: product;
  align-self: end;
  display: grid;
  min-width: 0;
  max-width: 100%;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  box-shadow: var(--shadow);
}

@media (min-width: 901px) {
  .product-shell {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    margin-top: 230px;
  }
}

.product-shell::before {
  content: "redact -- Mission Control -- local-only";
  display: flex;
  align-items: center;
  min-height: 34px;
  padding-left: 76px;
  border-bottom: 1px solid var(--border-soft);
  background:
    radial-gradient(circle at 22px 50%, #ff5f57 0 5px, transparent 5.5px),
    radial-gradient(circle at 38px 50%, #febc2e 0 5px, transparent 5.5px),
    radial-gradient(circle at 54px 50%, #28c840 0 5px, transparent 5.5px);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.mock-rail {
  display: none;
}

.product-preview {
  min-width: 0;
  padding: 18px;
  background:
    linear-gradient(var(--preview-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--preview-grid-line) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 72%, var(--fade-grey), transparent 30rem),
    color-mix(in oklab, var(--bg) 96%, transparent);
  background-size: 104px 104px, 104px 104px, auto, auto;
}

.preview-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.mode-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mode-switch button {
  min-height: 31px;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  background: color-mix(in oklab, var(--surface) 78%, transparent);
  color: var(--muted);
  padding: 0 11px;
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
}

.mode-switch .selected {
  border-color: color-mix(in oklab, var(--accent) 50%, var(--border));
  background: color-mix(in oklab, var(--accent) 22%, var(--surface));
  color: var(--text);
}

.preview-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
}

.preview-status span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

.app-frame {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  background: var(--surface);
}

.app-frame img {
  display: block;
  width: 100%;
  height: 474px;
  object-fit: contain;
  object-position: top center;
  background: #f5f7f8;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0;
}

.statement {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .62fr);
  gap: 28px;
  align-items: start;
  border-top: 1px solid var(--border-soft);
}

.statement h2,
.section-intro h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.statement p,
.section-intro p {
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
}

.section-intro {
  max-width: 780px;
  margin-bottom: 18px;
}

.section-intro h2 {
  margin-bottom: 14px;
}

.boundary-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.boundary-map article,
.tabs,
.platform-grid article,
.capability-part,
.surface-grid div,
.screenshot-frame {
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  background: color-mix(in oklab, var(--surface) 82%, transparent);
}

.boundary-map article {
  min-height: 188px;
  padding: 18px;
}

.boundary-map span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 26px;
  border: 1px solid var(--border-soft);
  border-radius: 3px;
  background: var(--surface-raised);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
}

.boundary-map h3,
.tabs h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.16;
}

.boundary-map p,
.tabs p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
}

.platforms,
.capability,
.proof,
.phase {
  border-top: 1px solid var(--border-soft);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.platform-grid article {
  min-height: 174px;
  padding: 18px;
}

.platform-grid span,
.part-heading span {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 24px;
  margin-bottom: 22px;
  border: 1px solid var(--border-soft);
  border-radius: 3px;
  background: color-mix(in oklab, var(--surface-raised) 76%, transparent);
  color: var(--text-soft);
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.platform-grid h3 {
  margin-bottom: 10px;
  font-size: 23px;
  font-weight: 500;
}

.platform-grid p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
}

.capability-diagram {
  display: grid;
  grid-template-columns: minmax(240px, .9fr) 130px minmax(320px, 1.25fr);
  align-items: stretch;
  gap: 14px;
}

.capability-part {
  position: relative;
  min-height: 380px;
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in oklab, var(--text) 5%, transparent), transparent 32%),
    color-mix(in oklab, var(--surface) 84%, transparent);
}

.capability-part::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
}

.active-lane::before {
  background: var(--accent);
}

.part-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.part-heading span {
  margin-bottom: 0;
}

.part-heading h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.02;
}

.capability-part p {
  max-width: 520px;
  margin-bottom: 24px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
}

.capability-part ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-part li {
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  background: color-mix(in oklab, var(--surface-raised) 80%, transparent);
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.flow-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 380px;
  color: var(--muted);
}

.flow-column::before,
.flow-column::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.flow-column span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid var(--border-soft);
  border-radius: 3px;
  background: color-mix(in oklab, var(--surface) 82%, transparent);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.surface-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.surface-grid div {
  min-height: 92px;
  padding: 13px;
}

.surface-grid strong,
.surface-grid em {
  display: block;
}

.surface-grid strong {
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 500;
}

.surface-grid em {
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}

.screenshot-frame {
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.screenshot-frame img,
.screenshot-frame video {
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--border-soft);
}

.screenshot-frame video {
  aspect-ratio: 16 / 9;
  background: #080d11;
  object-fit: contain;
}

.screenshot-frame figcaption {
  color: var(--muted);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.work-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  background: color-mix(in oklab, var(--surface) 82%, transparent);
}

.current-evidence {
  width: 100%;
  padding: 40px var(--gutter) 46px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.current-evidence-inner {
  width: min(920px, 100%);
  margin-inline: auto;
  text-align: center;
  font-family: var(--font-mono);
}

.current-evidence p {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
  text-transform: uppercase;
}

.current-evidence ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.current-evidence li {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-soft);
  border-radius: 3px;
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  color: var(--text-soft);
  padding: 0 14px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.current-evidence li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 999px;
  background: var(--accent);
}

.js .scroll-pop {
  opacity: 0;
  transform: translateY(22px) scale(.985);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

.js .scroll-pop.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.js .scroll-pop li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 460ms var(--ease), transform 460ms var(--ease);
}

.js .scroll-pop.is-visible li {
  opacity: 1;
  transform: translateY(0);
}

.js .scroll-pop.is-visible li:nth-child(2) {
  transition-delay: 45ms;
}

.js .scroll-pop.is-visible li:nth-child(3) {
  transition-delay: 90ms;
}

.js .scroll-pop.is-visible li:nth-child(4) {
  transition-delay: 135ms;
}

.js .scroll-pop.is-visible li:nth-child(5) {
  transition-delay: 180ms;
}

.work-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-family: var(--font-mono);
}

.work-table th,
.work-table td {
  border-bottom: 1px solid var(--border-soft);
  padding: 14px;
  text-align: left;
  vertical-align: top;
  font-size: 12px;
  line-height: 1.45;
}

.work-table thead th {
  background: color-mix(in oklab, var(--accent) 9%, var(--surface) 91%);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1;
  text-transform: uppercase;
}

.work-table tbody th {
  width: 22%;
  color: var(--text);
  font-weight: 650;
}

.work-table td {
  color: var(--text-soft);
}

.work-table tr:last-child th,
.work-table tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 28px var(--gutter) 36px;
  border-top: 1px solid var(--border-soft);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.site-footer a {
  color: var(--text-soft);
  transition: color 180ms var(--ease);
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 980px) {
  :root {
    --header-h: 64px;
    --gutter: 16px;
  }

  .site-header {
    grid-template-columns: 1fr 34px;
    gap: 16px;
  }

  .nav-links {
    display: none;
  }

  .brand {
    max-width: 252px;
  }

  .brand-logo {
    width: 220px;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "meta"
      "product";
    align-items: start;
    padding: calc(var(--header-h) + 25px) var(--gutter) 54px;
    padding-bottom: 54px;
  }

  .hero-copy,
  .project-meta-table {
    max-width: 100%;
  }

  h1,
  .hero-subtitle {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .assurance-rail {
    justify-content: center;
  }

  .product-shell {
    min-height: 0;
  }

  .boundary-map,
  .platform-grid,
  .capability-diagram,
  .surface-grid,
  .statement {
    grid-template-columns: 1fr;
  }

  .flow-column {
    min-height: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .flow-column::before,
  .flow-column::after {
    flex: 1 1 100%;
  }

  .capability-part {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .hero,
  .section {
    width: calc(100% - 28px);
  }

  .site-header {
    padding: 0 14px;
  }

  .brand {
    max-width: calc(100vw - 92px);
  }

  .brand-logo {
    width: min(190px, calc(100vw - 92px));
  }

  h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 13px;
  }

  .hero-copy,
  .project-meta-table,
  .product-shell {
    width: 100%;
    max-width: 390px;
    margin-inline: auto;
  }

  .hero-text,
  .hero-subtitle {
    max-width: 360px;
    margin-inline: auto;
  }

  .command-pill {
    display: none;
  }

  .button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 42px;
    padding-inline: 12px;
  }

  .hero-actions {
    width: 100%;
  }

  .project-meta-table th,
  .project-meta-table td {
    height: 34px;
    padding: 0 11px;
  }

  .project-meta-table th {
    width: 38%;
    font-size: 10px;
  }

  .project-meta-table td {
    font-size: 12px;
  }

  .assurance-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .assurance-rail span {
    min-width: 0;
    border-bottom: 1px solid var(--border-soft);
  }

  .assurance-rail span:nth-child(2n) {
    border-right: 0;
  }

  .assurance-rail span:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .preview-toolbar,
  .site-footer {
    flex-direction: column;
  }

  .current-evidence {
    padding: 28px 14px 32px;
  }

  .current-evidence ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .current-evidence li {
    width: min(100%, 315px);
    margin-inline: auto;
  }

  .work-table {
    min-width: 0;
  }

  .work-table thead {
    display: none;
  }

  .work-table,
  .work-table tbody,
  .work-table tr,
  .work-table th,
  .work-table td {
    display: block;
    width: 100%;
  }

  .work-table tr {
    border-bottom: 1px solid var(--border-soft);
    padding: 12px;
  }

  .work-table tr:last-child {
    border-bottom: 0;
  }

  .work-table th,
  .work-table td {
    border-bottom: 0;
    padding: 0;
  }

  .work-table tbody th {
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 11px;
    text-transform: uppercase;
  }

  .work-table td + td {
    margin-top: 7px;
  }

  .product-preview {
    padding: 10px;
  }

  .app-frame img {
    height: min(54vh, 390px);
  }

  .screenshot-frame img,
  .screenshot-frame video {
    max-height: 440px;
  }
}

@media (max-width: 360px) {
  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
