:root {
  --bg: #f5f7f8;
  --ink: #101316;
  --muted: #5d6670;
  --subtle: #e9edf0;
  --panel: #ffffff;
  --line: #d7dde2;
  --dark: #101316;
  --dark-2: #191f25;
  --accent: #1e5f8f;
  --accent-dark: #133f61;
  --accent-soft: #dcecf7;
  --amber: #a36519;
  --amber-soft: #fff2d8;
  --danger-soft: #fae6df;
  --danger: #99462f;
  --blue: #1e5f8f;
  --blue-soft: #dcecf7;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

body {
  margin: 0;
  line-height: 1.5;
}

a {
  color: inherit;
}

code {
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(18, 25, 23, 0.07);
  font-size: 0.92em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  width: min(1160px, calc(100% - 48px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0;
  color: var(--dark);
}

.brand-word {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  line-height: 1;
  font-weight: 680;
}

.brand-word strong {
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.nav-cta {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 6px;
  background: var(--dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-weight: 780;
}

.hero {
  min-height: 690px;
  color: var(--ink);
  background: #f8fafb;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}

.hero-inner,
.section-inner,
.footer-row {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 450px);
  gap: 78px;
  align-items: center;
}

.hero-copy {
  max-width: 740px;
  min-width: 0;
  padding: 78px 0 68px;
}

.hero-inner > *,
.split > *,
.packet-layout > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.07;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: 70px;
}

h2 {
  margin-bottom: 16px;
  font-size: 40px;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.lead {
  max-width: 690px;
  margin: 26px 0 0;
  color: #35404a;
  font-size: 20px;
  line-height: 1.58;
}

.hero-artifacts {
  max-width: 760px;
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-artifacts div {
  min-height: 118px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.hero-artifacts strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

.hero-artifacts span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

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

.button,
.button-secondary,
.button-muted {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.button {
  background: var(--dark);
  color: #fff;
}

.button:hover,
.button:focus-visible {
  background: #2a3037;
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
}

.button-muted {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
}

.hero-proof {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-pill {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  color: #34403b;
  font-size: 13px;
}

.audit-board {
  min-height: 455px;
  padding: 20px;
  border: 1px solid rgba(18, 25, 23, 0.18);
  border-radius: 8px;
  background: #fdfdfb;
  box-shadow: 0 24px 70px rgba(18, 25, 23, 0.14);
}

.board-topline,
.memo-strip {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.board-grid {
  margin: 22px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.contract-sheet,
.trace-sheet {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.contract-sheet {
  min-height: 188px;
}

.trace-sheet {
  min-height: 160px;
}

.sheet-head {
  min-height: 46px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--subtle);
  color: var(--ink);
  font-size: 13px;
}

.sheet-head strong {
  padding: 4px 7px;
  border-radius: 5px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.yaml-lines {
  display: grid;
  gap: 10px;
  padding: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  color: #3b4541;
}

.yaml-lines span {
  display: block;
  padding-left: 12px;
  border-left: 3px solid var(--accent-soft);
}

.yaml-lines b {
  color: var(--accent-dark);
}

.trace-row {
  min-height: 36px;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(216, 222, 213, 0.72);
  color: #34403b;
  font-size: 13px;
}

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

.trace-row span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
}

.trace-row.warn span {
  background: var(--amber);
}

.trace-row.stop span {
  background: var(--danger);
}

.memo-strip {
  align-items: center;
  min-height: 52px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.memo-strip span:first-child {
  color: var(--ink);
}

.audit-brief {
  min-width: 0;
  border: 1px solid #c9d1d8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(16, 19, 22, 0.12);
  overflow: hidden;
}

.ops-panel {
  min-width: 0;
  border: 1px solid #c9d1d8;
  border-radius: 8px;
  background: #101316;
  color: #eef4f6;
  box-shadow: 0 22px 60px rgba(16, 19, 22, 0.16);
  overflow: hidden;
}

.ops-header {
  min-height: 58px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #171d23;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.ops-header strong {
  color: #9bc3df;
  font-size: 12px;
}

.ops-panel pre {
  margin: 0;
}

.ops-panel pre code {
  display: block;
  padding: 22px;
  overflow-x: auto;
  background: transparent;
  color: #d7edf8;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre;
}

.ops-files {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #171d23;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.ops-files span {
  min-height: 46px;
  padding: 0 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
}

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

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

.brief-header {
  min-height: 58px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f2f5f7;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.brief-header strong {
  color: var(--accent);
  font-size: 12px;
}

.brief-meta {
  margin: 0;
  padding: 18px 20px 8px;
}

.brief-meta div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f4;
}

.brief-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.brief-meta dd {
  margin: 0;
  color: var(--ink);
}

.brief-findings {
  padding: 12px 20px 20px;
}

.brief-findings p {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid #edf1f4;
  color: #34404a;
}

.brief-findings p:last-child {
  border-bottom: 0;
}

.brief-findings span {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.brief-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  background: #151a20;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.brief-footer span {
  min-height: 48px;
  padding: 0 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
}

.brief-footer span:last-child {
  border-right: 0;
}

.review-card {
  min-width: 0;
  border: 1px solid #c9d1d8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(16, 19, 22, 0.12);
  overflow: hidden;
}

.review-card-header {
  min-height: 58px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f2f5f7;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.review-card-header strong {
  color: var(--accent);
  font-size: 12px;
}

.review-question,
.review-answer {
  padding: 20px;
}

.review-question {
  border-bottom: 1px solid var(--line);
}

.review-question span,
.review-answer span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.review-question p {
  margin: 0;
  color: #26313a;
  font-size: 19px;
  line-height: 1.45;
}

.review-answer ul {
  margin: 0;
  padding-left: 19px;
  color: var(--muted);
}

.review-answer li + li {
  margin-top: 8px;
}

.scope-strip {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.84);
}

.scope-row {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.scope-row span {
  min-height: 64px;
  padding: 0 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 780;
}

.scope-row span:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.mechanism-section {
  padding: 48px 0 58px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.mechanism-head {
  display: grid;
  grid-template-columns: minmax(240px, 0.48fr) minmax(0, 1fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 24px;
}

.mechanism-head .eyebrow {
  margin-bottom: 0;
}

.mechanism-head h2 {
  margin-bottom: 0;
}

.mechanism-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafb;
  overflow: hidden;
}

.mechanism-card {
  min-height: 330px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.mechanism-card:last-child {
  border-right: 0;
}

.mechanism-card > span {
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
}

.mechanism-card pre {
  margin: 14px 0 16px;
}

.mechanism-card pre code {
  display: block;
  padding: 14px;
  overflow-x: auto;
  white-space: pre;
  line-height: 1.55;
}

.mechanism-card p,
.mechanism-card li {
  color: var(--muted);
}

.mechanism-card p {
  margin: 0;
}

.mechanism-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.mechanism-card li + li {
  margin-top: 8px;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.split-section h2,
.final-cta h2 {
  max-width: 520px;
}

.plain-copy {
  color: var(--muted);
  font-size: 19px;
}

.plain-copy p {
  margin: 0;
}

.plain-copy p + p {
  margin-top: 20px;
}

.section.compact {
  padding: 66px 0;
}

.use-case-list {
  border-top: 1px solid var(--line);
}

.use-case {
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) minmax(0, 1fr);
  gap: 34px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.use-case strong {
  color: var(--ink);
  font-size: 18px;
}

.use-case p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.operation-card {
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.operation-card span {
  display: inline-flex;
  min-width: 36px;
  min-height: 30px;
  margin-bottom: 18px;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
}

.operation-card p {
  margin: 0;
  color: var(--muted);
}

.integration-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}

.integration-flow article {
  min-height: 220px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.integration-flow article:last-child {
  border-right: 0;
}

.integration-flow strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 18px;
}

.integration-flow p {
  margin: 0;
  color: var(--muted);
}

.scenario-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.scenario-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}

.scenario-card pre {
  margin: 0;
}

.scenario-card pre code {
  display: block;
  padding: 22px;
  overflow-x: auto;
  line-height: 1.55;
  white-space: pre;
}

.scenario-card p {
  margin: 0;
  padding: 20px 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

.story-card {
  min-height: 420px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-top {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.story-top span {
  width: 36px;
  height: 30px;
  border-radius: 5px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 850;
}

.story-card p {
  margin: 0;
  color: var(--muted);
}

.story-card strong {
  color: var(--ink);
}

.story-output {
  margin-top: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafb;
}

.story-output strong {
  display: block;
  margin-bottom: 8px;
}

.packet-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

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

.packet-list div {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.packet-list strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.packet-list span {
  color: rgba(255, 255, 255, 0.72);
}

.workflow-layout,
.offer-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.workflow-steps {
  display: grid;
  gap: 12px;
}

.workflow-steps article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.workflow-steps article > span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
}

.workflow-steps h3 {
  margin-bottom: 6px;
}

.workflow-steps p {
  margin: 0;
  color: var(--muted);
}

.offer-copy p {
  max-width: 740px;
  color: var(--muted);
  font-size: 18px;
}

.fit-line {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  font-weight: 720;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.fit-grid div {
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.fit-grid strong {
  display: block;
  margin-bottom: 8px;
}

.fit-grid span {
  color: var(--muted);
}

.getting-started {
  background: #fff;
}

.start-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.start-grid article {
  min-height: 230px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.start-grid article:last-child {
  border-right: 0;
}

.start-grid span {
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
}

.start-grid p {
  margin: 0;
  color: var(--muted);
}

.boundary-strip {
  padding: 18px 0;
  background: #20262c;
  color: rgba(255, 255, 255, 0.76);
}

.boundary-inner {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  font-size: 14px;
}

.boundary-inner strong {
  color: #fff;
}

.packet-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

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

.packet-table div {
  display: grid;
  grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1fr);
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.packet-table strong {
  color: var(--ink);
}

.packet-table span {
  color: var(--muted);
}

.boundary-list {
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.boundary-list p {
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.boundary-list p:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.final-cta {
  background: #fff;
}

.signal-band {
  padding: 18px 0;
  background: var(--dark-2);
  color: rgba(255, 255, 255, 0.76);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.signal-row {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  font-size: 14px;
}

.signal-row strong {
  color: #fff;
}

.section {
  padding: 78px 0;
}

.section.tight {
  padding: 56px 0;
}

.section.alt {
  background: #eef2f5;
}

.section.dark {
  background: var(--dark);
  color: #fff;
}

.section-head {
  max-width: 800px;
  margin-bottom: 34px;
}

.intro {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.dark .intro {
  color: rgba(255, 255, 255, 0.72);
}

.dark .eyebrow,
.price-panel .eyebrow {
  color: #9bc3df;
}

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

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

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

.item {
  min-height: 154px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.item.small {
  min-height: 112px;
}

.item p,
.item li {
  color: var(--muted);
}

.item p {
  margin: 0;
}

.item p + p {
  margin-top: 12px;
}

.dark .item {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.dark .item p,
.dark .item li {
  color: rgba(255, 255, 255, 0.72);
}

.pain-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.pain {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.marker {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--amber);
}

.pain p {
  margin: 0;
  color: var(--muted);
}

.deliverables {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: start;
}

.price-panel {
  position: sticky;
  top: 92px;
  border-radius: 8px;
  padding: 28px;
  background: #151a20;
  color: #fff;
}

.price {
  margin: 6px 0 12px;
  font-size: 56px;
  font-weight: 880;
  line-height: 1;
}

.price-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.price-panel .button {
  margin-top: 18px;
}

.list {
  margin: 0;
  padding-left: 20px;
}

.list li + li {
  margin-top: 8px;
}

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

.deliverable {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.deliverable strong {
  display: block;
  margin-bottom: 4px;
}

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

.steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
}

.step p {
  margin: 4px 0 0;
  color: var(--muted);
}

.sample-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sample-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.sample-card h3 {
  margin-bottom: 14px;
}

.sample-card p {
  margin: 0;
}

.sample-card p + p {
  margin-top: 10px;
}

.sample-card pre {
  margin: 0;
}

.sample-card pre code {
  display: block;
  padding: 16px;
  overflow-x: auto;
  white-space: pre;
  line-height: 1.55;
}

.quote-band {
  padding: 34px;
  border-left: 4px solid var(--amber);
  background: var(--amber-soft);
}

.quote-band p {
  margin: 0;
  color: #5d4317;
  font-size: 20px;
}

.boundary {
  border-color: #edc6b8;
  background: var(--danger-soft);
}

.boundary h3 {
  color: var(--danger);
}

.content {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0;
}

.content h1 {
  color: var(--ink);
  font-size: 58px;
}

.content h2 {
  margin-top: 44px;
  font-size: 32px;
}

.content p,
.content li {
  color: var(--muted);
}

.content .button {
  color: #fff;
}

.not-found-content {
  min-height: calc(100vh - 224px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.callout {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--amber);
  background: var(--amber-soft);
  color: #5d4317;
}

.callout p {
  color: #5d4317;
}

.placeholder {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  background: #fff2c6;
  color: #61440a;
  font-weight: 750;
}

.request-box {
  margin-top: 28px;
  padding: 22px;
  border-radius: 8px;
  background: var(--subtle);
  border: 1px solid var(--line);
}

.request-box code {
  display: block;
  margin-top: 12px;
  padding: 14px;
  overflow-x: auto;
  white-space: pre-wrap;
}

.site-footer {
  padding: 34px 0;
  background: #111615;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  h1 {
    font-size: 48px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .audit-board,
  .audit-brief {
    margin-bottom: 44px;
  }

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

  .split,
  .packet-layout,
  .scenario-layout,
  .packet-showcase,
  .workflow-layout,
  .offer-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mechanism-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .start-grid article {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .start-grid article:nth-child(2n) {
    border-right: 0;
  }

  .start-grid article:nth-last-child(-n + 1) {
    border-bottom: 0;
  }

  .grid,
  .grid.four,
  .story-grid,
  .operation-grid,
  .integration-flow,
  .packet-list,
  .mechanism-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mechanism-card:nth-child(2) {
    border-right: 0;
  }

  .mechanism-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .integration-flow article:nth-child(2n) {
    border-right: 0;
  }

  .integration-flow article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .price-panel {
    position: static;
  }

  .signal-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    width: min(100% - 32px, 1160px);
    min-height: auto;
    padding: 16px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    overflow-x: visible;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .section-inner,
  .footer-row,
  .content,
  .signal-row {
    width: min(100% - 32px, 1160px);
  }

  .hero-copy {
    padding: 48px 0 24px;
  }

  h1,
  .content h1 {
    font-size: 40px;
    overflow-wrap: normal;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 18px;
  }

  .grid,
  .grid.two,
  .grid.four,
  .hero-artifacts,
  .story-grid,
  .operation-grid,
  .integration-flow,
  .packet-list,
  .fit-grid,
  .mechanism-grid,
  .start-grid,
  .pain-list,
  .deliverable-list,
  .sample-grid {
    grid-template-columns: 1fr;
  }

  .mechanism-section {
    padding: 42px 0;
  }

  .mechanism-card,
  .mechanism-card:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mechanism-card:last-child {
    border-bottom: 0;
  }

  .start-grid article,
  .start-grid article:nth-child(2n),
  .start-grid article:nth-last-child(-n + 1) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .start-grid article:last-child {
    border-bottom: 0;
  }

  .integration-flow article,
  .integration-flow article:nth-child(2n) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .integration-flow article:last-child {
    border-bottom: 0;
  }

  .scope-row {
    width: min(100% - 32px, 1160px);
    grid-template-columns: 1fr;
  }

  .scope-row span,
  .scope-row span:last-child {
    min-height: 46px;
    padding: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

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

  .use-case,
  .packet-table div,
  .brief-meta div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .brief-footer {
    grid-template-columns: 1fr;
  }

  .brief-footer span {
    min-height: 42px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .brief-footer span:last-child {
    border-bottom: 0;
  }

  .review-card {
    margin-bottom: 44px;
  }

  .review-card-header {
    min-height: auto;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .review-question,
  .review-answer {
    padding: 16px;
  }

  .story-card {
    min-height: auto;
  }

  .story-output {
    margin-top: 0;
  }

  .workflow-steps article {
    grid-template-columns: 1fr;
  }

  .boundary-inner {
    width: min(100% - 32px, 1160px);
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .button,
  .button-secondary,
  .button-muted {
    width: 100%;
  }

  .audit-board {
    min-height: 0;
    padding: 14px;
  }

  .ops-header {
    min-height: auto;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .ops-files {
    grid-template-columns: 1fr;
  }

  .ops-files span,
  .ops-files span:nth-child(2n),
  .ops-files span:nth-last-child(-n + 2) {
    min-height: 42px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

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

  .memo-strip,
  .board-topline {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .hero-copy,
  .audit-brief {
    max-width: 358px;
  }

  h1,
  .content h1 {
    font-size: 34px;
  }

  .lead,
  .plain-copy,
  .use-case p,
  .boundary-list {
    font-size: 17px;
  }
}
