/* Cot Systems — shared editorial pages
   Extends the existing ivory / plum / coral design system without a framework. */

.editorial-page {
  --reading: 720px;
  --wide: 1180px;
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(28, 16, 32, 0.045) 1px) 0 0 / min(22vw, 320px) 100%,
    var(--ivory);
}

.editorial-page main {
  overflow: clip;
}

.editorial-header .site-nav {
  gap: clamp(12px, 1.55vw, 26px);
}

.editorial-header .site-nav a,
.editorial-header .header-contact,
.editorial-header .menu-toggle,
.editorial-footer nav a,
.editorial-page .wordmark {
  min-height: 44px;
}

.editorial-header .site-nav a,
.editorial-footer nav a {
  display: inline-flex;
  align-items: center;
}

.editorial-page .wordmark {
  justify-content: flex-start;
}

.editorial-header .header-contact {
  align-items: center;
}

.editorial-main {
  width: 100%;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.editorial-wrap {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--page);
}

.breadcrumbs {
  display: flex;
  min-height: 48px;
  margin: 0;
  padding: 15px 0 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: var(--muted);
  font-size: 0.69rem;
}

.breadcrumbs a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.breadcrumbs span[aria-hidden="true"] {
  color: var(--coral-dark);
}

.page-hero {
  position: relative;
  padding-block: clamp(58px, 9vw, 124px) clamp(72px, 10vw, 144px);
}

.page-hero::after {
  position: absolute;
  right: var(--page);
  bottom: 0;
  left: var(--page);
  height: 1px;
  background: var(--line);
  content: "";
}

.page-hero__grid {
  display: grid;
  gap: 42px;
}

.page-hero__copy {
  max-width: 980px;
}

.page-eyebrow,
.fact-tag,
.synthetic-tag,
.status-tag,
.section-number {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.095em;
  line-height: 1.35;
  text-transform: uppercase;
}

.page-eyebrow {
  display: flex;
  margin-bottom: 25px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.page-eyebrow::before {
  width: 22px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--coral);
  content: "";
}

.page-hero h1 {
  max-width: 1100px;
  margin-bottom: 30px;
  font-size: clamp(3.35rem, 10.5vw, 8.8rem);
  letter-spacing: -0.068em;
  line-height: 0.86;
  text-wrap: balance;
}

.page-hero h1 em {
  color: var(--coral-dark);
  font-family: ui-serif, Georgia, serif;
  font-weight: 500;
}

.page-lead {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.48;
}

.page-hero__aside {
  display: grid;
  align-self: end;
  border-top: 1px solid var(--line);
}

.hero-aside-row {
  display: grid;
  grid-template-columns: minmax(72px, 0.34fr) 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.hero-aside-row dt,
.hero-aside-row dd {
  margin: 0;
}

.hero-aside-row dt {
  color: var(--muted);
  font-size: 0.7rem;
}

.hero-aside-row dd {
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  margin-top: 34px;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.editorial-page .button {
  min-height: 48px;
}

.button-coral {
  background: var(--coral);
  color: var(--ink);
}

.button-coral:hover {
  background: var(--paper);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  padding-block: 8px;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

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

.content-section {
  position: relative;
  padding-block: clamp(72px, 9vw, 138px);
}

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

.section-heading {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(38px, 6vw, 72px);
}

.section-number {
  color: var(--coral-dark);
}

.section-heading h2,
.content-section > h2,
.cta-panel h2 {
  max-width: 1050px;
  margin-bottom: 0;
  font-size: clamp(2.65rem, 7vw, 6.4rem);
  line-height: 0.92;
  text-wrap: balance;
}

.section-heading > p:last-child {
  max-width: var(--reading);
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.fact-tag,
.synthetic-tag,
.status-tag {
  display: inline-flex;
  min-height: 29px;
  padding: 6px 9px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 3px;
}

.fact-tag {
  color: var(--plum-3);
}

.synthetic-tag {
  border-color: var(--coral);
  background: var(--coral);
  color: var(--ink);
}

.status-tag {
  border-color: rgba(28, 16, 32, 0.22);
  color: var(--plum-3);
  letter-spacing: 0.035em;
  text-transform: none;
}

.proof-key {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.proof-key > article {
  display: grid;
  min-height: 220px;
  padding: clamp(24px, 4vw, 44px);
  align-content: space-between;
  gap: 36px;
}

.proof-key > article + article {
  border-top: 1px solid var(--line);
  background: var(--plum);
  color: var(--ivory);
}

.proof-key > article + article p {
  color: rgba(248, 245, 238, 0.68);
}

.proof-key h3 {
  max-width: 620px;
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.02;
}

.proof-key p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
}

.implementation-grid {
  display: grid;
  gap: 18px;
}

.implementation-card {
  display: grid;
  min-height: 560px;
  padding: clamp(25px, 4vw, 50px);
  grid-template-rows: auto auto 1fr auto;
  border: 1px solid var(--line);
  background: var(--paper);
}

.implementation-card:nth-child(even) {
  background: var(--wash);
}

.implementation-card__top {
  display: flex;
  margin-bottom: clamp(45px, 8vw, 90px);
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.implementation-card__top > span:first-child {
  color: var(--muted);
  font-size: 0.7rem;
}

.implementation-card h3 {
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.84;
}

.implementation-card__summary {
  max-width: 590px;
  color: var(--muted);
  font-size: 1.03rem;
}

.implementation-card dl {
  display: grid;
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
}

.implementation-card dl div {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.implementation-card dt,
.implementation-card dd {
  margin: 0;
  font-size: 0.77rem;
}

.implementation-card dt {
  color: var(--muted);
}

.implementation-card dd {
  font-weight: 700;
}

.implementation-card .text-link {
  margin-top: 38px;
  justify-self: start;
}

.evidence-strip {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: var(--plum);
  color: var(--ivory);
}

.evidence-strip__intro,
.evidence-strip__step {
  padding: clamp(24px, 4vw, 42px);
}

.evidence-strip__intro {
  display: grid;
  min-height: 240px;
  align-content: space-between;
  gap: 30px;
}

.evidence-strip__intro p {
  max-width: 480px;
  margin: 0;
  color: rgba(248, 245, 238, 0.66);
}

.evidence-strip__step {
  min-height: 185px;
  border-top: 1px solid var(--line-light);
}

.evidence-strip__step span {
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 800;
}

.evidence-strip__step h3 {
  margin: 30px 0 10px;
  font-size: 1.45rem;
}

.evidence-strip__step p {
  margin: 0;
  color: rgba(248, 245, 238, 0.65);
  font-size: 0.87rem;
}

.method-steps {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 14px;
  counter-reset: method;
  list-style: none;
}

.method-steps li {
  position: relative;
  display: grid;
  min-height: 300px;
  padding: 26px;
  align-content: space-between;
  border: 1px solid var(--line);
  background: var(--paper);
  counter-increment: method;
}

.method-steps li::before {
  color: var(--coral-dark);
  content: "0" counter(method);
  font-size: 0.72rem;
  font-weight: 850;
}

.method-steps h3 {
  max-width: 320px;
  margin: 70px 0 15px;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

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

.method-steps li:nth-child(3),
.method-steps li:nth-child(6) {
  background: var(--wash);
}

.shadow-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.shadow-panel__copy,
.shadow-panel__compare {
  padding: clamp(28px, 5vw, 58px);
  background: var(--paper);
}

.shadow-panel__copy h3 {
  max-width: 720px;
  margin: 25px 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.shadow-panel__copy p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

.shadow-panel__compare {
  background: var(--plum);
  color: var(--ivory);
}

.compare-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-light);
}

.compare-row:first-child {
  border-top: 1px solid var(--line-light);
}

.compare-row span {
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 800;
}

.compare-row p {
  margin: 0;
  color: rgba(248, 245, 238, 0.78);
}

.autonomy-ladder {
  display: grid;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  list-style: none;
}

.autonomy-ladder li {
  position: relative;
  min-height: 190px;
  padding: 25px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.autonomy-ladder li:last-child {
  border-bottom: 0;
}

.autonomy-ladder span {
  color: var(--coral-dark);
  font-size: 0.7rem;
  font-weight: 850;
}

.autonomy-ladder h3 {
  margin: 43px 0 9px;
  font-size: 1.55rem;
}

.autonomy-ladder p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.operation-layout {
  display: grid;
  gap: 18px;
}

.operation-schema {
  padding: clamp(28px, 5vw, 54px);
  background: var(--plum);
  color: var(--ivory);
}

.operation-schema > p {
  max-width: 590px;
  color: rgba(248, 245, 238, 0.68);
}

.operation-schema dl {
  display: grid;
  margin: 38px 0 0;
  border-top: 1px solid var(--line-light);
}

.operation-schema dl div {
  display: grid;
  grid-template-columns: 0.44fr 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-light);
}

.operation-schema dt,
.operation-schema dd {
  margin: 0;
  font-size: 0.8rem;
}

.operation-schema dt {
  color: var(--coral);
  font-weight: 800;
}

.operation-schema dd {
  color: rgba(248, 245, 238, 0.78);
}

.business-explanation {
  display: grid;
  gap: 14px;
}

.business-explanation article {
  min-height: 170px;
  padding: 25px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.business-explanation span {
  color: var(--coral-dark);
  font-size: 0.68rem;
  font-weight: 800;
}

.business-explanation h3 {
  margin: 34px 0 8px;
  font-size: 1.45rem;
}

.business-explanation p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.security-definition {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.security-definition__statement,
.security-definition__terms {
  padding: clamp(28px, 5vw, 58px);
}

.security-definition__statement {
  background: var(--plum);
  color: var(--ivory);
}

.security-definition__statement h2 {
  margin: 28px 0 0;
  font-size: clamp(2.45rem, 6vw, 5.8rem);
}

.security-definition__terms {
  display: grid;
  gap: 0;
}

.security-term {
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.security-term:first-child {
  padding-top: 0;
}

.security-term:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.security-term h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

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

.plain-equation {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: clamp(30px, 7vw, 74px);
  background: var(--coral);
  color: var(--ink);
  text-align: center;
}

.plain-equation span {
  font-size: clamp(1.8rem, 6vw, 5.4rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.plain-equation b {
  color: var(--plum);
  font-size: clamp(2.5rem, 7vw, 6.4rem);
  line-height: 0.8;
}

.plain-equation small {
  max-width: 740px;
  margin: 18px auto 0;
  font-size: 0.92rem;
  font-weight: 650;
}

.control-grid {
  display: grid;
  gap: 14px;
}

.control-card {
  display: grid;
  min-height: 310px;
  padding: 26px;
  align-content: space-between;
  border: 1px solid var(--line);
  background: var(--paper);
}

.control-card:nth-child(2n) {
  background: var(--wash);
}

.control-card span {
  color: var(--coral-dark);
  font-size: 0.7rem;
  font-weight: 850;
}

.control-card h3 {
  margin: 55px 0 13px;
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
}

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

.deployment-choices {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
}

.deployment-choices > div {
  padding: clamp(25px, 4vw, 44px);
  background: var(--paper);
}

.deployment-choices > div + div {
  border-top: 1px solid var(--line);
}

.deployment-choices h3 {
  margin: 30px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.deployment-choices p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
}

.decision-boundary {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
}

.decision-boundary > article {
  min-height: 300px;
  padding: clamp(28px, 5vw, 55px);
  background: var(--paper);
}

.decision-boundary > article:last-child {
  background: var(--plum);
  color: var(--ivory);
}

.decision-boundary h3 {
  margin: 55px 0 13px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.decision-boundary p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.decision-boundary > article:last-child p {
  color: rgba(248, 245, 238, 0.68);
}

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

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

.faq-list summary {
  display: flex;
  min-height: 76px;
  padding: 18px 48px 18px 0;
  align-items: center;
  cursor: pointer;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 750;
  list-style: none;
}

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

.faq-list summary::after {
  width: 28px;
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--coral-dark);
  content: "+";
  font-size: 1.55rem;
  font-weight: 500;
  text-align: center;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  max-width: 760px;
  padding: 0 0 28px;
  color: var(--muted);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.case-hero {
  padding-top: clamp(46px, 7vw, 90px);
}

.case-hero h1 {
  max-width: 1240px;
}

.case-hero__status {
  display: flex;
  margin-bottom: 28px;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.case-hero__status > span:last-child {
  color: var(--muted);
  font-size: 0.76rem;
}

.case-summary {
  display: grid;
  overflow: hidden;
  margin-top: 50px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.case-summary > div {
  min-height: 160px;
  padding: 24px;
}

.case-summary > div + div {
  border-top: 1px solid var(--line);
}

.case-summary dt,
.case-summary dd {
  margin: 0;
}

.case-summary dt {
  color: var(--coral-dark);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.case-summary dd {
  margin-top: 45px;
  font-size: 1.1rem;
  font-weight: 700;
}

.story-grid {
  display: grid;
  gap: 18px;
}

.story-card {
  min-height: 320px;
  padding: clamp(27px, 5vw, 52px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.story-card:nth-child(2) {
  background: var(--wash);
}

.story-card h3 {
  max-width: 590px;
  margin: 60px 0 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

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

.system-capabilities {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.system-capabilities li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  min-height: 104px;
  padding: 20px 0;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.system-capabilities span {
  color: var(--coral-dark);
  font-size: 0.7rem;
  font-weight: 850;
}

.system-capabilities b {
  display: block;
  font-size: 1.08rem;
}

.system-capabilities small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.human-boundary {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.human-boundary__system,
.human-boundary__person {
  padding: clamp(28px, 5vw, 55px);
}

.human-boundary__person {
  background: var(--coral);
}

.human-boundary h3 {
  margin: 50px 0 14px;
  font-size: clamp(2.1rem, 4.4vw, 3.9rem);
}

.human-boundary p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
}

.human-boundary__person p {
  color: var(--plum);
}

.human-boundary__person .fact-tag {
  color: var(--plum);
}

.synthetic-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--plum);
  color: var(--ivory);
}

.synthetic-figure figcaption {
  display: flex;
  min-height: 72px;
  padding: 18px clamp(22px, 4vw, 42px);
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  border-bottom: 1px solid var(--line-light);
}

.synthetic-figure figcaption > span:last-child {
  color: rgba(248, 245, 238, 0.6);
  font-size: 0.72rem;
}

.synthetic-process {
  display: grid;
}

.synthetic-step {
  position: relative;
  min-height: 205px;
  padding: clamp(24px, 4vw, 42px);
  border-bottom: 1px solid var(--line-light);
}

.synthetic-step:last-child {
  border-bottom: 0;
}

.synthetic-step > span {
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 850;
}

.synthetic-step h3 {
  margin: 50px 0 10px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.synthetic-step p {
  margin: 0;
  color: rgba(248, 245, 238, 0.66);
  font-size: 0.86rem;
}

.evidence-boundary {
  display: grid;
  gap: 18px;
}

.evidence-record,
.publication-boundary {
  padding: clamp(27px, 5vw, 50px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.evidence-record h3,
.publication-boundary h3 {
  margin: 36px 0 14px;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
}

.evidence-record > p,
.publication-boundary > p {
  max-width: 620px;
  color: var(--muted);
}

.evidence-record dl {
  display: grid;
  margin: 35px 0 0;
  border-top: 1px solid var(--line);
}

.evidence-record dl div {
  display: grid;
  grid-template-columns: minmax(92px, 0.4fr) 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.evidence-record dt,
.evidence-record dd {
  margin: 0;
  font-size: 0.8rem;
}

.evidence-record dt {
  color: var(--coral-dark);
  font-weight: 800;
}

.evidence-record dd {
  color: var(--muted);
}

.publication-boundary {
  background: var(--wash);
}

.publication-boundary ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.publication-boundary li {
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--line);
}

.publication-boundary li::before {
  display: inline-block;
  width: 22px;
  margin-left: -22px;
  color: var(--coral-dark);
  content: "—";
}

.cta-section {
  padding-block: clamp(22px, 4vw, 62px) clamp(80px, 10vw, 150px);
}

.cta-panel {
  position: relative;
  display: grid;
  min-height: 540px;
  padding: clamp(32px, 7vw, 90px);
  align-content: space-between;
  gap: 70px;
  overflow: hidden;
  background: var(--plum);
  color: var(--ivory);
}

.cta-panel::after {
  position: absolute;
  right: -11vw;
  bottom: -24vw;
  width: min(62vw, 880px);
  aspect-ratio: 1;
  border: clamp(24px, 5vw, 78px) solid rgba(242, 72, 56, 0.8);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel .page-eyebrow {
  color: rgba(248, 245, 238, 0.78);
}

.cta-panel > p {
  max-width: 710px;
  margin: 18px 0 0;
  color: rgba(248, 245, 238, 0.7);
  font-size: 1.02rem;
}

.cta-panel__bottom {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 48px;
}

.cta-panel__bottom small {
  max-width: 400px;
  color: rgba(248, 245, 238, 0.55);
  font-size: 0.74rem;
}

.editorial-footer {
  position: relative;
  isolation: isolate;
}

@media (min-width: 700px) {
  .page-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr);
    gap: clamp(48px, 7vw, 110px);
  }

  .proof-key,
  .implementation-grid,
  .shadow-panel,
  .operation-layout,
  .security-definition,
  .deployment-choices,
  .decision-boundary,
  .story-grid,
  .human-boundary,
  .evidence-boundary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-key > article + article,
  .deployment-choices > div + div {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .method-steps,
  .business-explanation,
  .control-grid,
  .case-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .autonomy-ladder,
  .synthetic-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .autonomy-ladder li,
  .synthetic-step {
    border-right: 1px solid var(--line);
  }

  .autonomy-ladder li:nth-child(2n),
  .synthetic-step:nth-child(2n) {
    border-right: 0;
  }

  .autonomy-ladder li:nth-last-child(-n + 2),
  .synthetic-step:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .case-summary > div + div {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

@media (min-width: 980px) {
  .section-heading {
    grid-template-columns: minmax(120px, 0.24fr) minmax(0, 1.1fr) minmax(260px, 0.54fr);
    gap: 46px;
    align-items: start;
  }

  .section-heading > p:last-child {
    padding-top: 8px;
  }

  .evidence-strip {
    grid-template-columns: minmax(290px, 0.9fr) repeat(4, minmax(150px, 1fr));
  }

  .evidence-strip__step {
    border-top: 0;
    border-left: 1px solid var(--line-light);
  }

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

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

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

@media (min-width: 1120px) {
  .method-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .autonomy-ladder,
  .synthetic-process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .autonomy-ladder li,
  .synthetic-step {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .autonomy-ladder li:nth-child(2n),
  .synthetic-step:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .autonomy-ladder li:last-child,
  .synthetic-step:last-child {
    border-right: 0;
  }
}

@media (max-width: 900px) {
  .editorial-header .site-nav {
    gap: 22px;
  }
}

@media (max-width: 720px) {
  .editorial-page {
    background: var(--ivory);
  }

  .editorial-header .site-nav {
    gap: 4px;
  }

  .editorial-header .site-nav a {
    width: 100%;
    min-height: 44px;
  }

  .page-hero h1 {
    font-size: clamp(3.25rem, 16vw, 5.45rem);
  }

  .page-hero__aside {
    margin-top: 8px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    justify-content: center;
  }

  .implementation-card {
    min-height: 500px;
  }

  .implementation-card__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .implementation-card dl div,
  .operation-schema dl div,
  .evidence-record dl div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .cta-panel {
    min-height: 590px;
  }

  .cta-panel__bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-panel .button {
    justify-content: center;
  }
}

@media (prefers-contrast: more) {
  .page-lead,
  .section-heading > p:last-child,
  .implementation-card__summary,
  .method-steps p,
  .control-card p,
  .faq-answer,
  .story-card p {
    color: var(--ink);
  }
}

@media (forced-colors: active) {
  .page-eyebrow::before,
  .cta-panel::after {
    background: CanvasText;
    border-color: CanvasText;
  }

  .fact-tag,
  .synthetic-tag,
  .status-tag {
    border: 1px solid ButtonText;
  }
}

@media print {
  .editorial-header,
  .editorial-footer,
  .cta-section,
  .breadcrumbs {
    display: none !important;
  }

  .content-section,
  .page-hero {
    padding-block: 28px;
  }

  .synthetic-figure,
  .operation-schema,
  .security-definition__statement {
    border: 1px solid #000;
    background: #fff;
    color: #000;
  }
}
