:root {
  --paper: #f3f5f1;
  --paper-deep: #e8ece6;
  --white: #ffffff;
  --ink: #101c24;
  --navy: #10202a;
  --navy-soft: #1c303a;
  --slate: #52616a;
  --muted: #56666d;
  --line: #c9d0cb;
  --line-dark: #344750;
  --accent: #efa926;
  --accent-soft: #fff0c9;
  --mint: #dff3e9;
  --mint-ink: #1f7257;
  --sky: #dcebf2;
  --sky-ink: #33697f;
  --sand: #eee7dc;
  --sand-ink: #74634f;
  --radius: 14px;
  --shadow: 0 18px 42px rgba(16, 28, 36, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

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

button {
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.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;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--white);
  border: 2px solid var(--ink);
  transform: translateY(-150%);
}

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.site-header {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(calc(100% - 96px), 1240px);
  min-height: 74px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 12px;
  width: 10px;
  height: 2px;
  background: currentColor;
}

.brand-mark span {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.brand-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .28em;
}

.brand-divider {
  width: 1px;
  height: 26px;
  margin-left: 5px;
  background: var(--line);
}

.brand-note {
  color: var(--slate);
  font-size: 12px;
  font-weight: 700;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.primary-nav a {
  position: relative;
  padding: 25px 0 22px;
  font-size: 13px;
  font-weight: 700;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 17px;
  height: 2px;
  background: var(--accent);
  transition: right .2s ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  right: 0;
}

.header-cta {
  padding: 10px 17px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.menu-button {
  display: none;
}

.section-shell {
  width: min(calc(100% - 96px), 1240px);
  margin-inline: auto;
}

.section-label {
  padding: 25px 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--slate);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.section-label.light {
  color: #b9c4c7;
  border-color: var(--line-dark);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .7fr);
  align-items: end;
  gap: 60px;
  padding: 44px 0 50px;
}

.section-heading h2 {
  margin: 8px 0 0;
  max-width: 900px;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1.18;
  letter-spacing: -.055em;
}

.section-heading > p,
.section-heading > div + p {
  margin: 0 0 7px;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.9;
}

.section-heading.on-dark {
  color: var(--white);
}

.section-heading.on-dark > p,
.section-heading.on-dark > div + p {
  color: #b9c5c8;
}

.eyebrow {
  margin: 0;
  color: var(--slate);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

.on-dark .eyebrow,
.poc-copy .eyebrow {
  color: #aebdc1;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(570px, 1.05fr);
  align-items: center;
  gap: clamp(46px, 5vw, 80px);
  width: min(calc(100% - 96px), 1240px);
  min-height: calc(100svh - 74px);
  margin: 0 auto;
  padding: 58px 0 76px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -22vw;
  top: 2%;
  width: 48vw;
  height: 78%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 57% 48%, transparent 0 30%, rgba(16, 32, 42, .035) 30.5% 42%, transparent 42.5%),
    rgba(16, 32, 42, .025);
}

.audience-label {
  display: inline-block;
  margin: 0 0 26px;
  padding: 8px 11px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
}

.hero-question {
  margin: 0 0 10px;
  color: var(--slate);
  font-size: 15px;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  max-width: 630px;
  font-size: clamp(48px, 4.6vw, 64px);
  line-height: 1.12;
  letter-spacing: -.065em;
}

.hero-lead {
  max-width: 610px;
  margin: 36px 0 0;
  color: #34454e;
  font-size: 16px;
  line-height: 2;
}

.hero-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-note span {
  margin-right: 8px;
  color: var(--accent);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  font-size: 14px;
  font-weight: 800;
  transition: transform .18s ease, background-color .18s ease;
}

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

.button-primary {
  background: var(--navy);
  color: var(--white);
}

.button-secondary {
  background: transparent;
}

.button-accent {
  background: var(--accent);
}

.button-light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.hero-work {
  padding: 24px;
  border-radius: 16px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 16px 18px 0 rgba(16, 28, 36, .08), var(--shadow);
}

.work-topline,
.work-identity,
.work-output {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.work-topline {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-dark);
}

.work-topline div {
  display: grid;
  gap: 2px;
}

.work-topline span,
.work-identity,
.work-dimensions small {
  color: #aebbc0;
  font-size: 12px;
}

.work-topline strong {
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  letter-spacing: .03em;
}

.demo-badge {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid #52656e;
  color: #d5dee0 !important;
  font-size: 12px !important;
  white-space: nowrap;
}

.work-identity {
  justify-content: flex-start;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: Consolas, "Courier New", monospace;
}

.work-identity span + span {
  padding-left: 20px;
  border-left: 1px solid var(--line-dark);
}

.work-dimensions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 14px 0;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.work-dimensions article {
  display: flex;
  min-height: 104px;
  flex-direction: column;
  justify-content: center;
  padding: 16px 17px;
  background: #152732;
}

.work-dimensions article > span {
  margin-bottom: 7px;
  color: #94a7ad;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}

.work-dimensions strong {
  font-size: 15px;
  line-height: 1.45;
}

.work-dimensions small {
  margin-top: 3px;
}

.work-output {
  min-height: 66px;
  padding: 13px 17px;
  background: var(--accent);
  color: var(--ink);
}

.work-output span {
  font-size: 12px;
  font-weight: 700;
}

.work-output strong {
  margin-left: auto;
  font-size: 18px;
}

.work-output i {
  font-style: normal;
  font-size: 22px;
}

.capabilities {
  padding-bottom: 110px;
}

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

.capability-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.65);
}

.capability-card > span {
  display: block;
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
}

.capability-card h3 {
  margin: 42px 0 14px;
  font-size: 23px;
  letter-spacing: -.035em;
}

.capability-card p {
  margin: 0;
  color: var(--slate);
  font-size: 14px;
}

.journey-section {
  padding-bottom: 86px;
  background: var(--navy);
}

.journey-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 12px 0 0;
  list-style: none;
  color: var(--white);
}

.journey-list::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: var(--line-dark);
}

.journey-list li {
  position: relative;
  padding-right: 20px;
}

.journey-list li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid #5c6d74;
  border-radius: 50%;
  background: var(--navy);
  color: var(--accent);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
}

.journey-list h3 {
  min-height: 54px;
  margin: 0 0 9px;
  font-size: 15px;
  line-height: 1.55;
}

.journey-list p {
  margin: 0;
  color: #aab9bd;
  font-size: 13px;
}

.gate-section {
  padding-bottom: 108px;
}

.gate-heading {
  grid-template-columns: 1.15fr .85fr;
}

.gate-app {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #bfc7c2;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.gate-sidebar {
  padding: 20px 13px;
  background: #142630;
  color: var(--white);
}

.gate-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px 20px;
  border-bottom: 1px solid var(--line-dark);
  letter-spacing: .12em;
}

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

.workspace-chip {
  display: grid;
  grid-template-columns: 37px 1fr;
  gap: 0 9px;
  margin: 18px 0 24px;
  padding: 11px;
  border: 1px solid #3d525c;
  border-radius: 7px;
}

.workspace-chip > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--accent);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.workspace-chip small {
  color: #94a5aa;
  font-size: 12px;
}

.workspace-chip strong {
  font-size: 12px;
}

.gate-sidebar nav {
  display: grid;
  gap: 5px;
}

.gate-sidebar nav a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 5px;
  color: #9eafb4;
  font-size: 12px;
  font-weight: 700;
}

.gate-sidebar nav a.active {
  background: #283d47;
  color: var(--white);
}

.gate-sidebar nav b {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #3c515b;
  font-size: 11px;
}

.gate-main {
  min-width: 0;
}

.gate-bar {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 23px;
  border-bottom: 1px solid var(--line);
  color: var(--slate);
  font-size: 12px;
}

.light-badge {
  border-color: var(--line);
  color: var(--slate) !important;
}

.gate-content {
  padding: 24px;
}

.gate-work-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.gate-work-head small {
  color: var(--muted);
  font-size: 12px;
}

.gate-work-head h3 {
  margin: 5px 0;
  font-size: 25px;
  letter-spacing: -.035em;
}

.gate-work-head p {
  margin: 0;
  color: var(--slate);
  font-size: 13px;
}

.work-status {
  display: inline-grid;
  min-width: 116px;
  padding: 9px 14px;
  border-left: 3px solid var(--sky-ink);
  background: var(--sky);
  color: var(--sky-ink);
  font-size: 14px;
  font-weight: 800;
}

.work-status small {
  color: inherit;
  font-size: 11px;
  font-weight: 500;
}

.identity-strip {
  display: grid;
  grid-template-columns: 1.35fr .55fr 1fr;
  margin: 22px 0 12px;
  border: 1px solid var(--line);
  background: #fafbf9;
}

.identity-strip div {
  min-width: 0;
  padding: 11px 15px;
}

.identity-strip div + div {
  border-left: 1px solid var(--line);
}

.identity-strip dt {
  color: var(--muted);
  font-size: 12px;
}

.identity-strip dd {
  margin: 1px 0 0;
  overflow-wrap: anywhere;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
}

.gate-dimension-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.gate-dimension-grid article {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  justify-content: center;
  padding: 17px;
  border: 1px solid var(--line);
  background: #fafbf9;
}

.gate-dimension-grid article > span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.gate-dimension-grid strong {
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.gate-dimension-grid small {
  margin-top: 5px;
  color: var(--slate);
  font-size: 12px;
  line-height: 1.45;
}

.records {
  border: 1px solid var(--line);
}

.records-head {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.records-head small {
  color: var(--muted);
  font-size: 12px;
}

.records-head h4 {
  margin: 0;
  font-size: 17px;
}

.truth-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  color: var(--slate);
  font-size: 12px;
}

.truth-legend span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border-radius: 50%;
  background: currentColor;
}

.truth-legend .confirmed-dot { color: var(--mint-ink); }
.truth-legend .observed-dot { color: var(--sky-ink); }
.truth-legend .unknown-dot { color: var(--sand-ink); }

.record-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
}

.record-item + .record-item {
  border-top: 1px solid #e0e4e1;
}

.record-state {
  display: flex;
  justify-content: center;
  padding-top: 18px;
}

.record-state::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 46px;
  bottom: -18px;
  width: 1px;
  background: var(--line);
}

.record-item:last-child .record-state::after {
  display: none;
}

.record-state span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--white);
  font-size: 11px;
  font-weight: 800;
}

.record-item.confirmed .record-state { color: var(--mint-ink); }
.record-item.observed .record-state { color: var(--sky-ink); }
.record-item.unknown .record-state { color: var(--sand-ink); }

.record-trigger {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) 128px 22px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 68px;
  padding: 10px 15px 10px 3px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.record-trigger:hover {
  background: #f7f8f6;
}

.record-type {
  color: var(--slate);
  font-size: 12px;
  font-weight: 700;
}

.record-main {
  display: grid;
  min-width: 0;
}

.record-main strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.record-main small {
  color: var(--slate);
  font-size: 12px;
}

.jp-status {
  display: grid;
  justify-items: center;
  padding: 7px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.jp-status small {
  font-size: 10px;
  font-weight: 500;
}

.jp-status.confirmed {
  background: var(--mint);
  color: var(--mint-ink);
}

.jp-status.observed {
  background: var(--sky);
  color: var(--sky-ink);
}

.jp-status.unknown {
  background: var(--sand);
  color: var(--sand-ink);
}

.record-toggle {
  font-size: 19px;
  text-align: center;
}

.record-detail {
  grid-column: 2;
  padding: 0 15px 15px 3px;
}

.record-detail dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--line);
  background: #f8faf7;
}

.record-detail dl div {
  padding: 10px 12px;
}

.record-detail dl div + div {
  border-left: 1px solid var(--line);
}

.record-detail dt {
  color: var(--muted);
  font-size: 12px;
}

.record-detail dd {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.gate-boundary {
  max-width: 900px;
  margin: 23px auto 0;
  color: var(--slate);
  font-size: 13px;
  text-align: center;
}

.receipt-section {
  padding-bottom: 108px;
  background: var(--navy);
}

.receipt-heading {
  grid-template-columns: 1.4fr .6fr;
}

.receipt-heading h2 {
  font-size: clamp(38px, 3.8vw, 56px);
}

.receipt-workspace {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 10px;
  background: var(--paper-deep);
}

.receipt-controls {
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}

.receipt-controls > p {
  margin: 0 0 18px;
  color: var(--slate);
  font-size: 12px;
  font-weight: 700;
}

.receipt-tabs {
  display: grid;
  gap: 8px;
}

.receipt-tabs button {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 2px 10px;
  min-height: 86px;
  padding: 15px 14px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.receipt-tabs button[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 5px 6px 0 rgba(16, 28, 36, .06);
}

.receipt-tabs button > span {
  grid-row: 1 / 3;
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
}

.receipt-tabs button strong {
  font-size: 15px;
}

.receipt-tabs button small {
  color: var(--muted);
  font-size: 12px;
}

.receipt-exclusions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.receipt-exclusions strong {
  width: 100%;
  margin-bottom: 3px;
  font-size: 12px;
}

.receipt-exclusions span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f3f5f1;
  color: var(--slate);
  font-size: 12px;
}

.receipt-stage {
  min-width: 0;
  padding: 22px clamp(20px, 4vw, 48px) 42px;
  background-color: #edf1ec;
  background-image:
    linear-gradient(rgba(16,32,42,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,32,42,.035) 1px, transparent 1px);
  background-size: 24px 24px;
}

.receipt-stage-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--slate);
  font-size: 12px;
  font-weight: 700;
}

.receipt-paper {
  max-width: 760px;
  margin: 0 auto;
  padding: 38px 42px 28px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(16, 28, 36, .09);
}

.receipt-paper > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 17px;
  border-bottom: 2px solid var(--ink);
  font-size: 12px;
}

.receipt-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.receipt-logo .brand-mark {
  width: 23px;
  height: 23px;
  border-width: 1px;
}

.receipt-logo .brand-mark span {
  left: 7px;
  top: 7px;
  width: 5px;
  height: 5px;
}

.receipt-title {
  padding: 26px 0 20px;
}

.receipt-title small {
  color: var(--muted);
  font-size: 12px;
}

.receipt-title h3 {
  margin: 5px 0 7px;
  font-size: 25px;
  line-height: 1.4;
  letter-spacing: -.035em;
}

.receipt-title p {
  margin: 0;
  color: var(--slate);
  font-size: 13px;
}

.receipt-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.receipt-facts div {
  min-height: 92px;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.receipt-facts dt {
  color: var(--muted);
  font-size: 12px;
}

.receipt-facts dd {
  margin: 5px 0 0;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.receipt-facts dd small {
  color: var(--slate);
  font-size: 12px;
  font-weight: 500;
}

.pricing-facts div:nth-child(n+5) dd {
  color: var(--sand-ink);
}

.receipt-paper > footer {
  display: grid;
  gap: 3px;
  margin-top: 18px;
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}

.mechanism-section {
  padding-bottom: 105px;
}

.mechanism-heading {
  grid-template-columns: 1.15fr .85fr;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.safety-grid article {
  min-height: 168px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
}

.safety-grid span {
  display: block;
  margin-bottom: 30px;
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}

.safety-grid strong {
  font-size: 14px;
}

.safety-grid p {
  margin: 7px 0 0;
  color: var(--slate);
  font-size: 13px;
}

.mechanism-details {
  border: 1px solid var(--line);
  background: var(--white);
}

.mechanism-details summary {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.mechanism-details summary::-webkit-details-marker {
  display: none;
}

.mechanism-details[open] summary span {
  transform: rotate(45deg);
}

.mechanism-body {
  padding: 25px;
  border-top: 1px solid var(--line);
}

.architecture-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1.35fr auto 1fr;
  align-items: stretch;
  gap: 8px;
}

.architecture-flow > span {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #f8faf7;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.architecture-flow small {
  color: var(--muted);
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.architecture-flow i {
  align-self: center;
  color: var(--accent);
  font-style: normal;
}

.glossary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
}

.glossary div {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.glossary div:nth-child(odd) {
  padding-right: 20px;
}

.glossary div:nth-child(even) {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.glossary dt {
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
}

.glossary dd {
  margin: 0;
  color: var(--slate);
  font-size: 12px;
}

.implementation-note {
  margin: 22px 0 0;
  padding: 14px 16px;
  background: var(--accent-soft);
  color: #5e512d;
  font-size: 12px;
}

.poc-section {
  padding-bottom: 95px;
  background: var(--navy);
  color: var(--white);
}

.poc-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  padding-top: 42px;
}

.poc-copy h2 {
  margin: 10px 0 24px;
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.2;
  letter-spacing: -.05em;
}

.poc-copy > p {
  color: #b5c1c4;
  font-size: 14px;
}

.poc-copy > .poc-unit-note {
  margin: 12px 0 20px;
  color: #d7dfe1;
  font-size: 12px;
  line-height: 1.7;
}

.poc-purpose {
  margin: 27px 0;
  padding: 17px 18px;
  border-left: 3px solid var(--accent);
  background: var(--navy-soft);
}

.poc-purpose strong {
  font-size: 12px;
}

.poc-purpose p {
  margin: 5px 0 0;
  color: #d7dfe1;
  font-size: 13px;
}

.optional-share {
  margin-top: 18px !important;
}

.optional-share span {
  color: var(--accent);
}

.poc-steps {
  margin: 0;
  padding: 0 22px;
  border: 1px solid var(--line-dark);
  list-style: none;
}

.poc-steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 15px 0;
}

.poc-steps li + li {
  border-top: 1px solid var(--line-dark);
}

.poc-steps li > span {
  color: var(--accent);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
}

.poc-steps strong {
  font-size: 14px;
}

.poc-steps p {
  margin: 3px 0 0;
  color: #aebbc0;
  font-size: 12px;
}

.faq-section {
  padding-bottom: 110px;
}

.faq-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 80px;
  padding-top: 42px;
}

.faq-intro h2 {
  margin: 8px 0 15px;
  font-size: clamp(40px, 4.5vw, 64px);
  letter-spacing: -.055em;
}

.faq-intro > p:last-child {
  color: var(--slate);
  font-size: 14px;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 20px;
  gap: 12px;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}

.faq-list summary i {
  font-style: normal;
  text-align: center;
}

.faq-list details[open] summary i {
  transform: rotate(45deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 0 22px 46px;
  color: var(--slate);
  font-size: 13px;
}

.faq-list details p strong {
  color: var(--ink);
}

.final-cta {
  display: grid;
  justify-items: center;
  padding: 100px 0 110px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.final-mark {
  margin-bottom: 28px;
}

.final-cta h2 {
  margin: 8px 0 22px;
  font-size: clamp(45px, 5.2vw, 72px);
  line-height: 1.15;
  letter-spacing: -.06em;
}

.final-cta > p:not(.eyebrow) {
  margin: 0 0 28px;
  color: var(--slate);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 34px max(48px, calc((100vw - 1240px) / 2));
  background: var(--navy);
  color: var(--white);
}

.site-footer > p {
  margin: 0;
  color: #b5c1c4;
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  gap: 20px;
  font-size: 12px;
}

.site-footer > small {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  color: #899a9f;
  font-size: 12px;
}

/* v4: explanation-first hero and demo structure */
.demo-poster {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #223640;
  border-radius: 16px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 16px 18px 0 rgba(16, 28, 36, .08), var(--shadow);
}

.poster-top {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-dark);
  color: #b8c5c8;
  font-size: 12px;
}

.poster-top span {
  font-family: Consolas, "Courier New", monospace;
  letter-spacing: .05em;
}

.poster-top strong {
  padding: 4px 8px;
  border: 1px solid #4c616b;
  color: #d8e0e2;
  font-size: 12px;
  font-weight: 700;
}

.poster-scenes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 25px 18px 22px;
}

.poster-scenes article {
  min-width: 0;
}

.poster-scenes > i {
  color: var(--accent);
  font-size: 18px;
  font-style: normal;
}

.scene-number {
  display: block;
  margin-bottom: 8px;
  color: #85989e;
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
}

.scene-window {
  display: flex;
  min-height: 152px;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid #4a5d66;
  background: #172a35;
}

.scene-window small {
  color: #91a4a9;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}

.scene-window p {
  margin: 17px 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.65;
}

.scene-window > span {
  color: #a9b8bc;
  font-size: 12px;
}

.gate-window .scene-budget {
  margin-top: auto;
  padding: 8px 9px;
  border-left: 2px solid var(--accent);
  background: rgba(239, 169, 38, .08);
  color: #e4ecee;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  line-height: 1.55;
}

.gate-window em {
  margin-top: 5px;
  color: var(--accent);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.gate-window {
  border-color: #54778a;
  background: #19323f;
}

.receipt-window {
  border-color: #d4a344;
  background: #fbf5e7;
  color: var(--ink);
}

.receipt-window small,
.receipt-window > span {
  color: #74634f;
}

.poster-scenes article > strong {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
}

.poster-boundary {
  margin: 0;
  padding: 14px 18px;
  border-top: 1px solid var(--line-dark);
  color: #91a4a9;
  font-size: 12px;
  line-height: 1.6;
}

/* v4: need and responsibility boundary */
.need-section {
  padding-bottom: 110px;
}

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

.need-questions article {
  min-height: 185px;
  padding: 25px;
  border-top: 2px solid var(--ink);
  background: rgba(255, 255, 255, .55);
}

.need-questions span {
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
}

.need-questions h3 {
  margin: 58px 0 0;
  max-width: 290px;
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: -.025em;
}

.responsibility-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  margin-top: 12px;
  padding: 22px 25px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
}

.responsibility-band strong {
  font-size: 14px;
}

.responsibility-band p {
  margin: 0;
  color: #5e512d;
  font-size: 13px;
}

/* v4: five-step demo and the Codex/Gate role split */
.demo-section {
  padding-bottom: 90px;
  background: var(--navy);
  color: var(--white);
}

.demo-heading {
  grid-template-columns: 1.15fr .85fr;
}

.demo-heading h2 {
  font-size: clamp(42px, 3vw, 46px);
  letter-spacing: -.06em;
}

.demo-status {
  padding: 18px;
  border: 1px solid var(--line-dark);
  background: var(--navy-soft);
}

.demo-status > span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
}

.demo-status strong {
  font-size: 13px;
}

.demo-status p {
  margin: 6px 0 0;
  color: #aab9bd;
  font-size: 12px;
  line-height: 1.7;
}

.repository-work-receipt-map {
  margin: 0 0 24px;
  padding: 16px 18px 14px;
  border: 1px solid var(--line-dark);
  background: var(--navy-soft);
}

.repository-map-label {
  margin: 0 0 13px;
  color: #aebdc1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.repository-map-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
}

.repository-map-item {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.repository-map-item small {
  color: var(--accent);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}

.repository-map-item strong {
  color: #eef3f4;
  font-size: 13px;
  line-height: 1.55;
}

.repository-map-arrow {
  align-self: center;
  justify-self: center;
  color: var(--accent);
  font-size: 13px;
}

.repository-map-boundary {
  margin: 13px 0 0;
  padding-top: 11px;
  border-top: 1px solid var(--line-dark);
  color: #9faeb3;
  font-size: 12px;
  line-height: 1.7;
}

.demo-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  list-style: none;
}

.demo-flow li {
  min-height: 250px;
  padding: 23px 18px;
}

.demo-flow li + li {
  border-left: 1px solid var(--line-dark);
}

.demo-flow li > span {
  color: var(--accent);
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
}

.demo-flow h3 {
  margin: 76px 0 10px;
  font-size: 14px;
  line-height: 1.55;
}

.demo-flow p {
  margin: 0;
  color: #9faeb3;
  font-size: 12px;
  line-height: 1.65;
}

.role-boundary {
  display: grid;
  grid-template-columns: auto 1fr auto auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px solid #4c616b;
  background: #172b36;
}

.role-boundary span {
  color: var(--accent);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
}

.role-boundary strong {
  font-size: 12px;
}

.role-boundary i {
  color: #8fa2a8;
  font-style: normal;
}

.transcript {
  margin-top: 10px;
  border: 1px solid var(--line-dark);
}

.transcript summary {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: #d5dee0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.transcript summary::-webkit-details-marker {
  display: none;
}

.transcript[open] summary span {
  transform: rotate(45deg);
}

.transcript ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.transcript li {
  display: grid;
  gap: 8px;
  padding: 17px;
}

.transcript li + li {
  border-left: 1px solid var(--line-dark);
}

.transcript b {
  color: var(--accent);
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
}

.transcript li span {
  color: #aab9bd;
  font-size: 12px;
}

/* v4 capability cards use the section's direct articles */
.capability-grid > article {
  position: relative;
  min-height: 245px;
  padding: 27px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .65);
}

.capability-grid > article > span {
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
}

.capability-grid > article h3 {
  margin: 45px 0 12px;
  font-size: 21px;
  letter-spacing: -.035em;
}

.capability-grid > article p {
  margin: 0 0 22px;
  color: var(--slate);
  font-size: 13px;
}

.capability-grid > article small {
  position: absolute;
  right: 27px;
  bottom: 23px;
  left: 27px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}

/* v4 prototype labelling */
.mock-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: var(--accent-soft);
}

.mock-label span,
.mock-chip {
  padding: 3px 7px;
  border: 1px solid #b99243;
  color: #695826;
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
}

.mock-label strong {
  font-size: 12px;
}

.mock-label small {
  margin-left: auto;
  color: #756944;
  font-size: 12px;
}

.mock-label + .gate-app {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* v4 trust map */
.trust-map {
  display: grid;
  grid-template-columns: minmax(190px, .8fr) 50px minmax(260px, 1fr) minmax(210px, .9fr);
  grid-template-rows: auto auto;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 12px;
}

.tool-node,
.gate-node,
.gate-outputs,
.evidence-sources {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .65);
}

.tool-node,
.gate-node,
.evidence-sources {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

.tool-node small,
.gate-node small,
.evidence-sources small {
  margin-top: 5px;
  color: var(--slate);
  font-size: 12px;
}

.trust-map > i {
  display: grid;
  grid-row: 1;
  place-items: center;
  color: var(--accent);
  font-style: normal;
  transform: rotate(-90deg);
}

.gate-node {
  grid-column: 3;
  grid-row: 1 / 3;
  min-height: 234px;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.gate-node .brand-mark {
  width: 44px;
  height: 44px;
  margin-bottom: 15px;
  color: var(--accent);
}

.gate-node strong {
  font-size: 25px;
  letter-spacing: .1em;
}

.gate-node small {
  color: #aebdc1;
}

.gate-outputs {
  display: grid;
  grid-column: 4;
  grid-row: 1 / 3;
  gap: 1px;
  background: var(--line);
}

.gate-outputs span {
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.evidence-sources {
  grid-column: 1 / 3;
  grid-row: 2;
  min-height: 112px;
  border-left: 4px solid var(--sky-ink);
}

.evidence-sources strong {
  margin-top: 5px;
  font-size: 12px;
  overflow-wrap: anywhere;
}

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

.principle-grid article {
  min-height: 174px;
  padding: 21px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .55);
}

.principle-grid span {
  display: block;
  margin-bottom: 30px;
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
}

.principle-grid strong {
  font-size: 13px;
}

.principle-grid p {
  margin: 6px 0 0;
  color: var(--slate);
  font-size: 12px;
}

.mechanism-body ul {
  margin: 0;
  padding-left: 20px;
  color: var(--slate);
  font-size: 12px;
}

.mechanism-body p {
  margin: 20px 0 0;
  padding: 14px;
  background: var(--accent-soft);
  color: #5e512d;
  font-size: 12px;
}

/* v4 public PoC scope */
.poc-scope {
  padding: 25px;
  border: 1px solid var(--line-dark);
  background: #142630;
}

.poc-scope h3 {
  margin: 0 0 16px;
  font-size: 15px;
}

.poc-scope ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.poc-scope li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dark);
}

.poc-scope li span {
  color: var(--accent);
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
}

.poc-scope li strong {
  font-size: 12px;
}

.form-boundary {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.form-boundary strong {
  width: 100%;
  margin-bottom: 2px;
  color: #b4c1c4;
  font-size: 12px;
}

.form-boundary span {
  padding: 4px 8px;
  border: 1px solid #52656e;
  border-radius: 999px;
  color: #9eafb4;
  font-size: 12px;
}

/* v4 r1: budget is a primary Work fact, not a spreadsheet */
.budget-dimension {
  border-color: #d6b564 !important;
  background: #fffaf0 !important;
}

.gate-budget-panel {
  margin-bottom: 18px;
  border: 1px solid #d3b260;
  background: #fffaf0;
}

.gate-budget-panel > header {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 17px;
  border-bottom: 1px solid #e5d4a5;
}

.gate-budget-panel header small {
  color: #7a642a;
  font-size: 12px;
  font-weight: 700;
}

.gate-budget-panel h4 {
  margin: 2px 0 0;
  font-size: 16px;
}

.budget-state {
  padding: 7px 13px;
  border-left: 3px solid var(--mint-ink);
  background: var(--mint);
  color: var(--mint-ink);
  font-size: 12px;
  font-weight: 800;
}

.budget-primary-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.budget-primary-metrics > div {
  min-height: 102px;
  padding: 17px;
}

.budget-primary-metrics > div + div {
  border-left: 1px solid #e5d4a5;
}

.budget-primary-metrics dt {
  color: #766a4c;
  font-size: 12px;
}

.budget-primary-metrics dd {
  margin: 9px 0 0;
  color: var(--ink);
  font-family: Consolas, "Courier New", monospace;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
}

.budget-primary-metrics dd small {
  margin-left: 3px;
  color: #766a4c;
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-size: 12px;
}

.gate-budget-panel > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 17px;
  border-top: 1px solid #e5d4a5;
  color: #766a4c;
  font-size: 12px;
}

.gate-budget-panel footer strong {
  color: var(--ink);
}

.budget-state-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.budget-state-legend b,
.budget-state-legend span {
  padding: 3px 7px;
  border: 1px solid #d7c99f;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.budget-state-legend b {
  border-color: #73aa96;
  background: var(--mint);
  color: var(--mint-ink);
}

.budget-state-legend span {
  color: #9a8d69;
}

.record-detail .budget-evidence {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.record-detail .budget-evidence div:nth-child(4) {
  border-left: 0;
  border-top: 1px solid var(--line);
}

.record-detail .budget-evidence div:nth-child(n+5) {
  border-top: 1px solid var(--line);
}

.receipt-visibility-map {
  display: grid;
  gap: 8px;
  margin-top: 17px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.receipt-visibility-map article {
  padding: 10px;
  border-left: 3px solid var(--sky-ink);
  background: rgba(255, 255, 255, .5);
}

.receipt-visibility-map article + article {
  border-left-color: var(--accent);
}

.receipt-visibility-map strong {
  font-size: 12px;
}

.receipt-visibility-map p {
  margin: 4px 0 0;
  color: var(--slate);
  font-size: 12px;
  line-height: 1.55;
}

.pricing-facts .pricing-emphasis {
  background: #fffaf0;
}

.pricing-facts .pricing-emphasis dd {
  color: var(--ink);
  font-family: Consolas, "Courier New", monospace;
  font-size: 17px;
}

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

.cost-authority article {
  min-height: 108px;
  padding: 17px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  background: var(--white);
}

.cost-authority span {
  display: block;
  margin-bottom: 17px;
  color: var(--slate);
  font-size: 12px;
}

.cost-authority strong {
  font-size: 12px;
  line-height: 1.55;
}

.mobile-demo-cta {
  display: none;
}

@media (max-width: 1080px) {
  .site-header,
  .section-shell,
  .hero {
    width: min(calc(100% - 56px), 1240px);
  }

  .primary-nav {
    gap: 16px;
  }

  .primary-nav a {
    font-size: 12px;
  }

  .hero {
    grid-template-columns: .82fr 1.18fr;
    gap: 35px;
  }

  .hero h1 {
    font-size: 53px;
  }

  .journey-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 38px;
  }

  .journey-list::before {
    display: none;
  }

  .gate-app {
    grid-template-columns: 155px minmax(0, 1fr);
  }

  .gate-dimension-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .record-trigger {
    grid-template-columns: 100px minmax(0, 1fr) 115px 20px;
  }

  .poster-scenes {
    gap: 7px;
    padding-inline: 13px;
  }

  .scene-window {
    min-height: 165px;
    padding: 11px;
  }

  .demo-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .demo-flow li:nth-child(4),
  .demo-flow li:nth-child(5) {
    border-top: 1px solid var(--line-dark);
  }

  .demo-flow li:nth-child(4) {
    border-left: 0;
  }

  .trust-map {
    grid-template-columns: minmax(160px, .8fr) 40px minmax(230px, 1fr) minmax(190px, .9fr);
  }

  .need-questions,
  .cost-authority {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 0;
  }

  .site-header {
    position: relative;
    grid-template-columns: 1fr auto;
    min-height: 64px;
  }

  .brand-note,
  .brand-divider,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 6px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-button > span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: transform .2s ease;
  }

  .menu-button[aria-expanded="true"] > span:nth-last-child(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] > span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    grid-column: 1 / -1;
    padding: 12px 0 18px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 12px 20px rgba(16, 28, 36, .08);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    padding: 10px 22px;
  }

  .primary-nav a::after {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 48px 0 72px;
  }

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

  .hero h1 {
    font-size: clamp(45px, 8vw, 64px);
  }

  .hero-work {
    max-width: 720px;
  }

  .demo-poster {
    width: 100%;
    max-width: 720px;
  }

  .section-heading,
  .gate-heading,
  .receipt-heading,
  .mechanism-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .need-questions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .responsibility-band {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .demo-heading {
    grid-template-columns: 1fr;
  }

  .demo-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-flow li:nth-child(odd) {
    border-left: 0;
  }

  .demo-flow li:nth-child(n+3) {
    border-top: 1px solid var(--line-dark);
  }

  .role-boundary {
    grid-template-columns: auto 1fr;
  }

  .role-boundary i {
    display: none;
  }

  .transcript ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .transcript li:nth-child(3) {
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .transcript li:nth-child(4) {
    border-top: 1px solid var(--line-dark);
  }

  .gate-app {
    grid-template-columns: 1fr;
  }

  .gate-sidebar {
    display: none;
  }

  .receipt-workspace {
    grid-template-columns: 1fr;
  }

  .receipt-controls {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .receipt-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .receipt-tabs button {
    grid-template-columns: 1fr;
    min-height: 116px;
  }

  .receipt-tabs button > span {
    grid-row: auto;
  }

  .receipt-exclusions {
    margin-top: 16px;
  }

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

  .trust-map {
    grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1.2fr);
  }

  .gate-node {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .gate-outputs {
    grid-column: 1 / 4;
    grid-row: 3;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-sources {
    grid-column: 1 / 3;
    grid-row: 2;
  }

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

  .cost-authority {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .architecture-flow {
    grid-template-columns: 1fr;
  }

  .architecture-flow i {
    justify-self: center;
    transform: rotate(90deg);
  }

  .glossary {
    grid-template-columns: 1fr;
  }

  .glossary div:nth-child(odd),
  .glossary div:nth-child(even) {
    padding: 13px 0;
    border-left: 0;
  }

  .poc-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 34px 28px;
  }
}

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

  .section-label {
    padding-top: 20px;
  }

  .section-heading {
    padding: 34px 0 36px;
  }

  .section-heading h2 {
    font-size: 38px;
  }

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

  .need-questions {
    grid-template-columns: 1fr;
  }

  .repository-work-receipt-map {
    margin-bottom: 18px;
    padding: 15px;
  }

  .repository-map-flow {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .repository-map-item {
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: baseline;
  }

  .repository-map-arrow {
    transform: rotate(90deg);
  }

  .repository-map-boundary {
    margin-top: 11px;
  }

  .need-questions article {
    min-height: 135px;
    padding: 20px;
  }

  .need-questions h3 {
    margin-top: 30px;
    font-size: 17px;
  }

  .hero {
    gap: 34px;
    padding: 34px 0 56px;
  }

  .hero::before {
    left: -70vw;
    width: 150vw;
  }

  .audience-label {
    margin-bottom: 20px;
    font-size: 12px;
  }

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

  .hero h1 {
    font-size: 38px;
    line-height: 1.16;
  }

  .hero-lead {
    margin-top: 26px;
    font-size: 14px;
    line-height: 1.9;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-work {
    padding: 14px;
    border-radius: 12px;
    box-shadow: 8px 10px 0 rgba(16, 28, 36, .07);
  }

  .demo-poster {
    border-radius: 12px;
    box-shadow: 8px 10px 0 rgba(16, 28, 36, .07);
  }

  .poster-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 13px;
  }

  .poster-scenes {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 13px;
  }

  .poster-scenes > i {
    justify-self: center;
    transform: rotate(90deg);
  }

  .scene-window {
    min-height: 120px;
  }

  .poster-boundary {
    padding-inline: 13px;
  }

  .work-topline {
    gap: 10px;
  }

  .work-topline strong {
    font-size: 12px;
  }

  .work-identity {
    display: grid;
    gap: 5px;
  }

  .work-identity span + span {
    padding-left: 0;
    border-left: 0;
  }

  .work-dimensions {
    grid-template-columns: 1fr;
  }

  .work-dimensions article {
    min-height: 84px;
  }

  .work-output {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .work-output strong {
    grid-column: 1;
    margin-left: 0;
  }

  .work-output i {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .capabilities {
    padding-bottom: 76px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 174px;
    padding: 22px;
  }

  .capability-card h3 {
    margin-top: 27px;
  }

  .capability-grid > article {
    min-height: 205px;
    padding: 22px;
  }

  .capability-grid > article h3 {
    margin-top: 28px;
  }

  .capability-grid > article small {
    right: 22px;
    bottom: 18px;
    left: 22px;
  }

  .journey-section {
    padding-bottom: 65px;
  }

  .demo-section {
    padding-bottom: 65px;
  }

  .demo-flow {
    grid-template-columns: 1fr;
  }

  .demo-flow li,
  .demo-flow li:nth-child(n) {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    min-height: 0;
    padding: 17px 8px;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .demo-flow h3 {
    margin: 0 0 5px;
  }

  .role-boundary {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 15px;
  }

  .role-boundary span:nth-of-type(2) {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line-dark);
  }

  .transcript ol {
    grid-template-columns: 1fr;
  }

  .transcript li,
  .transcript li:nth-child(n) {
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .journey-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .journey-list li {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 13px;
    padding: 14px 0;
    border-top: 1px solid var(--line-dark);
  }

  .journey-list li > span {
    margin: 0;
  }

  .journey-list h3 {
    min-height: 0;
  }

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

  .gate-bar {
    padding: 12px;
  }

  .mock-label {
    display: grid;
    gap: 5px;
  }

  .mock-label span {
    width: max-content;
  }

  .mock-label small {
    margin-left: 0;
  }

  .gate-bar > span:first-child {
    max-width: 190px;
    overflow-wrap: anywhere;
  }

  .gate-content {
    padding: 14px;
  }

  .gate-work-head {
    display: grid;
  }

  .gate-work-head h3 {
    font-size: 22px;
  }

  .work-status {
    width: max-content;
  }

  .identity-strip,
  .gate-dimension-grid {
    grid-template-columns: 1fr;
  }

  .identity-strip div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .gate-dimension-grid article {
    min-height: 104px;
  }

  .gate-budget-panel > header,
  .gate-budget-panel > footer {
    display: grid;
    gap: 9px;
  }

  .budget-state {
    width: max-content;
  }

  .budget-primary-metrics > div {
    min-height: 88px;
    padding: 13px 10px;
  }

  .budget-primary-metrics dd {
    font-size: 19px;
  }

  .budget-state-legend {
    justify-content: flex-start;
  }

  .records-head {
    display: grid;
  }

  .truth-legend {
    justify-content: flex-start;
  }

  .record-item {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .record-state::after {
    left: 16px;
  }

  .record-trigger {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 8px;
    padding-right: 6px;
  }

  .record-type {
    grid-column: 1;
  }

  .record-main {
    grid-column: 1;
  }

  .jp-status {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    padding: 6px 8px;
  }

  .record-toggle {
    grid-column: 2;
    grid-row: 3;
  }

  .record-detail {
    padding-right: 6px;
  }

  .record-detail dl {
    grid-template-columns: 1fr;
  }

  .record-detail .budget-evidence {
    grid-template-columns: 1fr;
  }

  .record-detail dl div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .receipt-section {
    padding-bottom: 74px;
  }

  .receipt-controls {
    padding: 18px 12px;
  }

  .receipt-tabs {
    grid-template-columns: 1fr;
  }

  .receipt-tabs button {
    grid-template-columns: 28px 1fr;
    min-height: 76px;
  }

  .receipt-tabs button > span {
    grid-row: 1 / 3;
  }

  .receipt-stage {
    padding: 15px 10px 24px;
  }

  .receipt-paper {
    padding: 24px 18px 20px;
  }

  .receipt-paper > header {
    align-items: flex-start;
  }

  .receipt-title h3 {
    font-size: 21px;
  }

  .receipt-facts {
    grid-template-columns: 1fr;
  }

  .safety-grid {
    grid-template-columns: 1fr;
  }

  .trust-map {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .trust-map > i {
    grid-column: 1;
    grid-row: auto;
    transform: none;
  }

  .tool-node,
  .gate-node,
  .gate-outputs,
  .evidence-sources {
    grid-column: 1;
    grid-row: auto;
  }

  .gate-node {
    min-height: 180px;
  }

  .gate-outputs {
    grid-template-columns: 1fr;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .cost-authority {
    grid-template-columns: 1fr;
  }

  .principle-grid article {
    min-height: 140px;
  }

  .safety-grid article {
    min-height: 140px;
  }

  .mechanism-body {
    padding: 15px;
  }

  .glossary div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .poc-section {
    padding-bottom: 72px;
  }

  .poc-copy h2 {
    font-size: 38px;
  }

  .poc-steps {
    padding: 0 14px;
  }

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

  .faq-list summary {
    position: relative;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    padding-right: 32px;
    font-size: 14px;
  }

  .faq-list summary i {
    position: absolute;
    top: 20px;
    right: 0;
    width: 20px;
  }

  .faq-list details p {
    padding-left: 0;
  }

  .final-cta {
    padding: 74px 0 84px;
  }

  .final-cta h2 {
    font-size: 43px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* v5: runtime control to verifiable record positioning */

.experience-section,
.trial-section {
  position: relative;
}

.hero h1 {
  max-width: 700px;
}

.hero-question {
  max-width: 620px;
}

.control-proof-flow {
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1.12fr);
}

.control-proof-flow .output-item {
  border-color: var(--accent);
  background: rgba(239, 169, 38, .12);
}

.demo-section .capabilities {
  padding-top: 12px;
  padding-bottom: 104px;
  color: var(--white);
}

.demo-section .capability-continuation-label {
  border-color: var(--line-dark);
}

.demo-section .capabilities .section-heading > p,
.demo-section .capabilities .section-heading > div + p,
.demo-section .capabilities .eyebrow {
  color: #aebdc1;
}

.demo-section .capability-grid > article {
  border-color: #52646d;
  background: #f5f7f3;
  color: var(--ink);
}

.experience-section .gate-section {
  padding-bottom: 108px;
}

.use-case-section {
  padding-bottom: 118px;
}

.stakeholder-network {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 30px;
  border: 1px solid var(--line);
  background: var(--line);
}

.network-core,
.network-role {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background: var(--white);
}

.network-core {
  background: var(--navy);
  color: var(--white);
}

.network-core .brand-mark {
  color: var(--accent);
}

.network-core strong {
  margin-top: 24px;
  font-size: 18px;
}

.network-core small,
.network-role span {
  color: #aebdc1;
  font-size: 12px;
  font-weight: 700;
}

.network-role span {
  color: var(--muted);
}

.network-role strong {
  font-size: 14px;
  line-height: 1.55;
}

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

.entry-grid > article {
  display: flex;
  min-height: 500px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  background: rgba(255, 255, 255, .72);
}

.entry-number {
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
}

.entry-audience {
  margin: 48px 0 8px;
  color: var(--slate);
  font-size: 13px;
  font-weight: 800;
}

.entry-grid h3 {
  margin: 0 0 28px;
  font-size: 24px;
  line-height: 1.45;
  letter-spacing: -.035em;
}

.entry-grid dl {
  margin: 0;
}

.entry-grid dl > div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.entry-grid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.entry-grid dd {
  margin: 4px 0 0;
  color: var(--slate);
  font-size: 13px;
  line-height: 1.7;
}

.entry-question {
  margin: auto 0 0;
  padding: 16px;
  background: var(--accent-soft);
  font-size: 13px;
  line-height: 1.7;
}

.entry-question strong {
  display: block;
  margin-bottom: 4px;
  color: #705618;
  font-size: 12px;
}

.entry-boundary {
  margin: 22px 0 0;
  padding: 18px 20px;
  border-left: 3px solid var(--ink);
  background: var(--paper-deep);
  color: var(--slate);
  font-size: 13px;
}

.pilot-question-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.pilot-question-grid article {
  padding: 20px;
  background: var(--navy-soft);
  color: var(--white);
}

.pilot-question-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.pilot-question-grid p {
  margin: 10px 0 0;
  color: #c4ced1;
  font-size: 13px;
  line-height: 1.75;
}

.trial-section .faq-section {
  padding-top: 32px;
}

@media (max-width: 1080px) {
  .control-proof-flow {
    grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1.12fr);
  }

  .stakeholder-network {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .network-core {
    grid-row: span 2;
  }
}

@media (max-width: 860px) {
  .control-proof-flow {
    grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1.1fr);
  }

  .entry-grid {
    grid-template-columns: 1fr;
  }

  .entry-grid > article {
    min-height: 0;
  }

  .entry-audience {
    margin-top: 28px;
  }

  .entry-question {
    margin-top: 24px;
  }
}

@media (max-width: 620px) {
  .control-proof-flow {
    grid-template-columns: 1fr;
  }

  .control-proof-flow .repository-map-arrow {
    transform: rotate(90deg);
  }

  .stakeholder-network,
  .pilot-question-grid {
    grid-template-columns: 1fr;
  }

  .network-core {
    grid-row: auto;
  }

  .network-core,
  .network-role {
    min-height: 128px;
  }

  .entry-grid > article {
    padding: 22px;
  }
}

/* v6: Gate UI first, compact detail, and publication-safe consultation */

.mobile-product-summary,
.mobile-receipt-summary {
  display: none;
}

.capabilities-disclosure {
  padding-top: 0;
  padding-bottom: 32px;
}

.capabilities-disclosure[open] {
  padding-bottom: 104px;
}

.capabilities-disclosure > summary {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 18px;
  padding: 17px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.capabilities-disclosure > summary::-webkit-details-marker {
  display: none;
}

.capabilities-disclosure > summary span {
  margin-left: auto;
  color: var(--accent);
  font-size: 20px;
  transition: transform .2s ease;
}

.capabilities-disclosure[open] > summary span {
  transform: rotate(45deg);
}

.capabilities-disclosure .capability-continuation-label {
  display: none;
}

.consultation-contact {
  margin: 12px 0 0;
  color: #c4ced1;
  font-size: 13px;
}

.consultation-contact a {
  color: var(--white);
  font-weight: 800;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .capabilities-disclosure > summary span {
    transition: none;
  }
}

@media (max-width: 620px) {
  .mobile-product-summary,
  .mobile-receipt-summary {
    display: grid;
    gap: 1px;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    background: var(--line);
  }

  .mobile-product-summary article,
  .mobile-receipt-summary article {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 6px 10px;
    padding: 18px;
    background: var(--white);
  }

  .mobile-product-summary span,
  .mobile-receipt-summary span {
    grid-row: 1 / 3;
    color: var(--muted);
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    font-weight: 800;
  }

  .mobile-product-summary strong,
  .mobile-receipt-summary strong {
    font-size: 15px;
  }

  .mobile-product-summary p,
  .mobile-receipt-summary p {
    margin: 0;
    color: var(--slate);
    font-size: 13px;
    line-height: 1.7;
  }

  .mobile-receipt-summary {
    border-color: var(--line-dark);
    background: var(--line-dark);
  }

  .mobile-receipt-summary article {
    background: var(--navy-soft);
    color: var(--white);
  }

  .mobile-receipt-summary span {
    color: var(--accent);
  }

  .mobile-receipt-summary p {
    color: #c4ced1;
  }

  .gate-app,
  .receipt-workspace {
    display: none;
  }

  .capabilities-disclosure,
  .capabilities-disclosure[open] {
    padding-bottom: 54px;
  }

  .capabilities-disclosure > summary {
    min-height: 58px;
    font-size: 13px;
  }
}

/* v6.1: lightweight interest CTA, entry attribution, and concrete scenario */

.hero-actions {
  flex-wrap: wrap;
  align-items: flex-start;
}

.notify-disclosure {
  min-width: 286px;
}

.notify-disclosure > summary {
  cursor: pointer;
  list-style: none;
}

.notify-disclosure > summary::-webkit-details-marker {
  display: none;
}

.notify-disclosure > summary span {
  transition: transform .2s ease;
}

.notify-disclosure[open] {
  flex: 1 0 100%;
}

.notify-disclosure[open] > summary {
  width: max-content;
}

.notify-disclosure[open] > summary span {
  transform: rotate(45deg);
}

.notify-form {
  display: grid;
  max-width: 560px;
  gap: 9px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .88);
}

.notify-form label {
  color: var(--slate);
  font-size: 12px;
  font-weight: 800;
}

.notify-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.notify-form input,
.notify-form button {
  min-height: 48px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font: inherit;
}

.notify-form input {
  min-width: 0;
  padding: 10px 12px;
  background: var(--white);
}

.notify-form button {
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.notify-boundary {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.problem-scene {
  display: grid;
  grid-template-columns: minmax(190px, .36fr) minmax(0, .64fr);
  gap: 34px;
  margin: 0 0 18px;
  padding: 24px 26px;
  border-left: 4px solid var(--accent);
  background: var(--navy);
  color: var(--white);
}

.problem-scene div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.problem-scene span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.problem-scene strong {
  font-size: 16px;
}

.problem-scene p {
  margin: 0;
  color: #c4ced1;
  font-size: 14px;
  line-height: 1.9;
}

.problem-scene b {
  color: var(--white);
}

.entry-cta {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding: 11px 14px;
  border: 1px solid var(--ink);
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  transition: transform .18s ease, background-color .18s ease;
}

.entry-cta:hover {
  transform: translateY(-2px);
  background: var(--navy-soft);
}

@media (prefers-reduced-motion: reduce) {
  .notify-disclosure > summary span,
  .entry-cta {
    transition: none;
  }
}

@media (max-width: 620px) {
  .notify-disclosure,
  .notify-disclosure[open],
  .notify-disclosure[open] > summary {
    width: 100%;
    min-width: 0;
  }

  .notify-form-row,
  .problem-scene {
    grid-template-columns: 1fr;
  }

  .notify-form {
    max-width: none;
  }

  .problem-scene {
    gap: 18px;
    padding: 20px;
  }
}

/* v6.2: confirmed form submission and visible fallback */

.notify-form[aria-busy="true"] button {
  cursor: wait;
  opacity: .68;
}

.notify-result,
.notify-fallback {
  display: grid;
  max-width: 560px;
  gap: 10px;
  margin-top: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.notify-result[hidden],
.notify-fallback[hidden] {
  display: none;
}

.notify-result {
  border-left: 4px solid var(--mint-ink);
  background: #edf8f3;
}

.notify-result strong,
.notify-fallback > strong {
  font-size: 15px;
}

.notify-result p,
.notify-fallback > p,
.copy-status {
  margin: 0;
  color: var(--slate);
  font-size: 12px;
  line-height: 1.7;
}

.notify-result time {
  font-family: Consolas, "Courier New", monospace;
  font-weight: 700;
}

.notify-fallback {
  border-left: 4px solid var(--accent);
  background: #fff9ea;
}

.notify-fallback dl {
  margin: 0;
  border-top: 1px solid #dbcfae;
}

.notify-fallback dl > div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #dbcfae;
}

.notify-fallback dt,
.notify-fallback label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.notify-fallback dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 700;
}

.notify-fallback textarea {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  padding: 11px;
  border: 1px solid #b8ad8e;
  background: var(--white);
  color: var(--ink);
  font: 12px/1.65 Consolas, "Courier New", monospace;
}

.notify-fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.notify-fallback-actions button,
.notify-fallback-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.notify-fallback-actions button {
  background: var(--navy);
  color: var(--white);
}

.notify-fallback-actions a {
  background: var(--white);
  color: var(--ink);
}

.copy-status:empty {
  display: none;
}

@media (max-width: 620px) {
  .notify-result,
  .notify-fallback {
    max-width: none;
  }

  .notify-fallback-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.submission-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: var(--paper);
}

.submission-card {
  width: min(680px, 100%);
  padding: clamp(28px, 6vw, 58px);
  border-top: 5px solid var(--accent);
  background: var(--white);
  box-shadow: var(--shadow);
}

.submission-card h1 {
  margin: 18px 0;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.18;
  letter-spacing: -.05em;
}

.submission-card > p {
  color: var(--slate);
  line-height: 1.8;
}

.submission-card > .button {
  margin-top: 24px;
}

.submission-fallback {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 20px;
  border-left: 4px solid var(--accent);
  background: #fff9ea;
}

.submission-fallback h2,
.submission-fallback p {
  margin: 0;
}

.submission-fallback dl {
  margin: 0;
}

.submission-fallback dl > div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid #dbcfae;
}

.submission-fallback dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.submission-fallback dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 700;
}

.submission-fallback pre {
  overflow: auto;
  margin: 0;
  padding: 12px;
  border: 1px solid #b8ad8e;
  background: var(--white);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 12px/1.65 Consolas, "Courier New", monospace;
}
