/*
 * Système éditorial SEO
 * Landing page claire, éditoriale et entièrement isolée du menu et du footer partagés.
 */

html.editorial-system-theme {
  --es-bg: var(--site-home-bg, oklch(0.99 0.003 80));
  --es-surface: var(--site-home-surface, oklch(0.998 0.002 80));
  --es-ink: var(--site-home-heading, oklch(0.20 0.018 250));
  --es-text: var(--site-home-text, oklch(0.34 0.014 250));
  --es-muted: var(--site-home-muted, oklch(0.48 0.012 250));
  --es-soft: var(--site-home-soft, oklch(0.62 0.010 250));
  --es-border: var(--site-home-border, oklch(0.86 0.010 80));
  --es-accent: var(--site-home-accent, oklch(0.43 0.16 25));
  --es-accent-dark: var(--site-home-accent-dark, oklch(0.34 0.14 25));
  --es-accent-soft: var(--site-home-accent-soft, color-mix(in oklch, oklch(0.43 0.16 25) 8%, transparent));
  --es-clay: oklch(0.58 0.13 44);
  --es-paper: oklch(0.972 0.008 78);
  --es-ink-soft: oklch(0.26 0.018 250);
  --es-on-dark: oklch(0.96 0.006 78);
  --es-on-dark-muted: oklch(0.78 0.012 78);
  --es-max: 1140px;
  --es-reading: 70ch;
  --es-radius: 6px;
}

html.editorial-system-theme #main-content.main-full {
  width: 100%;
  max-width: none;
  margin: 100px 0 0;
  padding: 0;
  background: var(--es-bg);
  color: var(--es-text);
  overflow: clip;
}

html.editorial-system-theme .editorial-system-page,
html.editorial-system-theme .editorial-system-page *,
html.editorial-system-theme .editorial-system-page *::before,
html.editorial-system-theme .editorial-system-page *::after {
  box-sizing: border-box;
}

html.editorial-system-theme .editorial-system-page {
  min-width: 0;
  background: var(--es-bg);
  color: var(--es-text);
  font-family: var(--font-sans-stack);
  font-size: 17px;
  line-height: 1.68;
}

html.editorial-system-theme .editorial-system-page :where(h1, h2, h3, p, ul, ol, dl, blockquote, figure) {
  margin-top: 0;
}

html.editorial-system-theme .editorial-system-page :where(h1, h2, h3) {
  color: var(--es-ink);
  font-family: var(--font-serif-stack);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

html.editorial-system-theme .editorial-system-page h1 {
  max-width: 13ch;
  margin: 0 0 1.5rem;
  font-size: clamp(3.35rem, 5vw, 4.9rem);
  line-height: 0.95;
  text-align: left;
}

html.editorial-system-theme .editorial-system-page h1 em {
  color: var(--es-accent);
  font-weight: 500;
}

html.editorial-system-theme .editorial-system-page h2 {
  max-width: 18ch;
  margin-bottom: 1.4rem;
  font-size: clamp(2.35rem, 4.8vw, 4.75rem);
  line-height: 1.01;
}

html.editorial-system-theme .editorial-system-page h3 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.24rem, 2vw, 1.7rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

html.editorial-system-theme .editorial-system-page a {
  color: inherit;
}

html.editorial-system-theme .editorial-system-page a:focus-visible,
html.editorial-system-theme .editorial-system-page button:focus-visible,
html.editorial-system-theme .editorial-system-page summary:focus-visible,
html.editorial-system-theme .editorial-system-page [tabindex="0"]:focus-visible {
  outline: 3px solid color-mix(in oklch, var(--es-accent) 72%, var(--es-bg));
  outline-offset: 4px;
}

html.editorial-system-theme .es-shell {
  width: min(100% - 48px, var(--es-max));
  margin-inline: auto;
}

html.editorial-system-theme .es-section {
  padding-block: clamp(5.5rem, 10vw, 9rem);
}

html.editorial-system-theme .es-section-index {
  margin-bottom: 1.15rem;
  color: var(--es-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

html.editorial-system-theme .es-section-heading {
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

html.editorial-system-theme .es-section-heading > p:last-child,
html.editorial-system-theme .es-sticky-heading > p:last-child {
  max-width: var(--es-reading);
  margin-bottom: 0;
  color: var(--es-muted);
  font-size: 1.05rem;
}

html.editorial-system-theme .es-section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}

html.editorial-system-theme .es-section-heading--split > p {
  max-width: 50ch;
  margin-bottom: 0.35rem;
  color: var(--es-muted);
}

html.editorial-system-theme .es-large-copy {
  max-width: var(--es-reading);
  color: var(--es-text);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.7;
}

/* Hero */

html.editorial-system-theme .es-hero {
  position: relative;
  padding: clamp(2.25rem, 5vw, 4.75rem) 0 clamp(5rem, 10vw, 8rem);
  background: var(--es-bg);
}

html.editorial-system-theme .es-hero::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100% - 48px, var(--es-max));
  height: 1px;
  background: var(--es-border);
  content: "";
  transform: translateX(-50%);
}

html.editorial-system-theme .es-context-line {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.75rem, 4vw, 3.75rem);
  color: var(--es-muted);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.45;
  text-transform: uppercase;
}

html.editorial-system-theme .es-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(380px, 0.8fr);
  gap: clamp(2.5rem, 4vw, 4.5rem);
  align-items: start;
}

html.editorial-system-theme .es-hero-copy {
  position: relative;
  z-index: 1;
}

html.editorial-system-theme .es-hero-copy::before {
  display: block;
  width: 52px;
  height: 3px;
  margin-bottom: 2.2rem;
  background: var(--es-accent);
  content: "";
}

html.editorial-system-theme .es-hero-lead {
  max-width: 61ch;
  margin-bottom: 2rem;
  color: var(--es-text);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.68;
}

html.editorial-system-theme .es-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

html.editorial-system-theme .es-button {
  display: inline-flex;
  min-height: 50px;
  padding: 0.72rem 1.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.91rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out, transform 160ms ease-out;
}

html.editorial-system-theme .es-button:hover {
  transform: translateY(-1px);
}

html.editorial-system-theme .editorial-system-page a.es-button--primary:link,
html.editorial-system-theme .editorial-system-page a.es-button--primary:visited {
  background: var(--es-accent);
  color: var(--es-on-dark);
}

html.editorial-system-theme .editorial-system-page a.es-button--primary:hover {
  background: var(--es-accent-dark);
  color: var(--es-on-dark);
}

html.editorial-system-theme .es-button--secondary {
  border-color: var(--es-border);
  background: transparent;
  color: var(--es-accent-dark);
}

html.editorial-system-theme .es-button--secondary:hover {
  border-color: var(--es-accent);
  background: var(--es-accent-soft);
}

html.editorial-system-theme .es-hero-note {
  max-width: 60ch;
  margin: 1.4rem 0 0;
  color: var(--es-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Hero system map */

html.editorial-system-theme .es-system-map {
  width: 100%;
  max-width: 520px;
  margin: 1.75rem 0 0;
  justify-self: end;
}

html.editorial-system-theme .es-system-map svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

html.editorial-system-theme .es-system-map__orbit {
  fill: none;
  stroke: color-mix(in oklch, var(--es-accent) 48%, var(--es-border));
  stroke-dasharray: 4 9;
  stroke-width: 1.5;
}

html.editorial-system-theme .es-system-map__arrow {
  fill: var(--es-accent);
}

html.editorial-system-theme .es-system-map__links line {
  stroke: var(--es-border);
  stroke-width: 1;
}

html.editorial-system-theme .es-system-map__node rect {
  fill: var(--es-surface);
  stroke: var(--es-border);
  stroke-width: 1;
}

html.editorial-system-theme .es-system-map__node text {
  fill: var(--es-ink);
  font-family: var(--font-sans-stack);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

html.editorial-system-theme .es-system-map__node .es-system-map__sub {
  fill: var(--es-muted);
  font-size: 12px;
  font-weight: 600;
}

html.editorial-system-theme .es-system-map__core {
  fill: var(--es-accent);
  stroke: var(--es-accent-dark);
  stroke-width: 1;
}

html.editorial-system-theme .es-system-map__core-label {
  fill: var(--es-on-dark);
  font-family: var(--font-serif-stack);
  font-size: 19px;
  font-weight: 700;
}

html.editorial-system-theme .es-system-map__core-sub {
  fill: color-mix(in oklch, var(--es-on-dark) 78%, transparent);
  font-family: var(--font-sans-stack);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html.editorial-system-theme .es-system-map figcaption {
  max-width: 38ch;
  margin: 0.25rem auto 0;
  color: var(--es-muted);
  font-size: 0.83rem;
  line-height: 1.5;
  text-align: center;
}

/* Statement and comparison */

html.editorial-system-theme .es-section--statement {
  background: var(--es-surface);
  border-block: 1px solid var(--es-border);
}

html.editorial-system-theme .es-statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
  align-items: start;
}

html.editorial-system-theme .es-statement-copy {
  max-width: var(--es-reading);
  font-size: 1.08rem;
}

html.editorial-system-theme .es-statement-copy p:last-child {
  margin-bottom: 0;
}

html.editorial-system-theme .es-pullquote {
  position: static;
  margin: 0;
  padding: 2rem 0;
  border: 0;
  border-block: 1px solid var(--es-accent);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font-style: normal;
}

html.editorial-system-theme .es-pullquote::before,
html.editorial-system-theme .es-pullquote::after {
  content: none;
}

html.editorial-system-theme .es-pullquote p {
  position: static;
  z-index: auto;
  margin-bottom: 0;
  color: var(--es-accent-dark);
  font-family: var(--font-serif-stack);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

html.editorial-system-theme .es-comparison-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius);
  background: var(--es-bg);
}

html.editorial-system-theme .es-comparison {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

html.editorial-system-theme .es-comparison :where(th, td) {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--es-border);
  vertical-align: top;
}

html.editorial-system-theme .es-comparison thead th {
  background: var(--es-ink);
  color: var(--es-on-dark);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html.editorial-system-theme .es-comparison tbody th {
  width: 19%;
  color: var(--es-ink);
  font-size: 0.92rem;
}

html.editorial-system-theme .es-comparison tbody td {
  width: 40.5%;
  color: var(--es-muted);
}

html.editorial-system-theme .es-comparison tbody td:last-child {
  background: color-mix(in oklch, var(--es-ink) 7%, var(--es-bg));
  color: var(--es-ink);
  font-weight: 700;
}

html.editorial-system-theme .es-comparison tbody tr:last-child :where(th, td) {
  border-bottom: 0;
}

/* Editorial loop */

html.editorial-system-theme .es-section--loop {
  background: var(--es-paper);
}

html.editorial-system-theme .es-loop-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--es-ink);
  list-style: none;
}

html.editorial-system-theme .es-loop-list li {
  display: grid;
  grid-template-columns: 70px minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(1rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  align-items: start;
  border-bottom: 1px solid var(--es-border);
}

html.editorial-system-theme .es-loop-number {
  color: var(--es-accent);
  font-family: var(--font-serif-stack);
  font-size: 1.35rem;
  font-weight: 700;
}

html.editorial-system-theme .es-loop-verb {
  margin-bottom: 0.35rem;
  color: var(--es-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

html.editorial-system-theme .es-loop-list h3,
html.editorial-system-theme .es-loop-list li > p {
  margin-bottom: 0;
}

html.editorial-system-theme .es-loop-list li > p {
  max-width: 58ch;
  color: var(--es-muted);
}

/* Connections */

html.editorial-system-theme .es-split-layout,
html.editorial-system-theme .es-method-grid,
html.editorial-system-theme .es-faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
}

html.editorial-system-theme .es-sticky-heading {
  position: sticky;
  top: 140px;
}

html.editorial-system-theme .es-connection-list {
  margin: 0;
  border-top: 1px solid var(--es-ink);
}

html.editorial-system-theme .es-connection-list > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.55fr) minmax(0, 1.45fr);
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--es-border);
}

html.editorial-system-theme .es-connection-list dt {
  color: var(--es-ink);
  font-family: var(--font-serif-stack);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

html.editorial-system-theme .es-connection-list dd {
  margin: 0;
  color: var(--es-muted);
}

/* Governance */

html.editorial-system-theme .es-control {
  padding-block: clamp(5.5rem, 10vw, 9rem);
  background: var(--es-ink);
  color: var(--es-on-dark-muted);
}

html.editorial-system-theme .es-control .es-section-index {
  color: color-mix(in oklch, var(--es-clay) 78%, var(--es-on-dark));
}

html.editorial-system-theme .es-control h2,
html.editorial-system-theme .es-control h3 {
  color: var(--es-on-dark);
}

html.editorial-system-theme .es-control-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.62fr);
  column-gap: clamp(3rem, 9vw, 9rem);
  margin-bottom: clamp(4rem, 8vw, 7rem);
  align-items: end;
}

html.editorial-system-theme .es-control-intro .es-section-index {
  grid-column: 1 / -1;
}

html.editorial-system-theme .es-control-intro h2,
html.editorial-system-theme .es-control-intro > p:last-child {
  margin-bottom: 0;
}

html.editorial-system-theme .es-control-intro > p:last-child {
  max-width: 54ch;
}

html.editorial-system-theme .es-control-levels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid color-mix(in oklch, var(--es-on-dark) 22%, transparent);
}

html.editorial-system-theme .es-control-levels article {
  padding: clamp(1.75rem, 4vw, 3rem);
}

html.editorial-system-theme .es-control-levels article + article {
  border-left: 1px solid color-mix(in oklch, var(--es-on-dark) 22%, transparent);
}

html.editorial-system-theme .es-control-label {
  margin-bottom: 2.25rem;
  color: color-mix(in oklch, var(--es-clay) 78%, var(--es-on-dark));
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

html.editorial-system-theme .es-control-levels article > p:not(.es-control-label) {
  min-height: 6.6rem;
}

html.editorial-system-theme .es-control-levels strong {
  display: block;
  color: var(--es-on-dark);
  font-size: 0.92rem;
}

/* Memory */

html.editorial-system-theme .es-section--memory {
  background: var(--es-surface);
}

html.editorial-system-theme .es-memory-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.75fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
}

html.editorial-system-theme .es-plain-list {
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--es-border);
  list-style: none;
}

html.editorial-system-theme .es-plain-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.35rem;
  border-bottom: 1px solid var(--es-border);
}

html.editorial-system-theme .es-plain-list li::before {
  position: absolute;
  top: 1.45rem;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--es-accent);
  content: "";
}

html.editorial-system-theme .es-plain-list--muted li::before {
  background: var(--es-soft);
}

html.editorial-system-theme .es-memory-log {
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius);
  background: var(--es-paper);
}

html.editorial-system-theme .es-memory-log figcaption {
  margin-bottom: 2rem;
  color: var(--es-ink);
  font-family: var(--font-serif-stack);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

html.editorial-system-theme .es-memory-log ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

html.editorial-system-theme .es-memory-log li {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--es-border);
}

html.editorial-system-theme .es-memory-log li > span {
  color: var(--es-accent);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

html.editorial-system-theme .es-memory-log strong {
  color: var(--es-ink);
}

html.editorial-system-theme .es-memory-log p {
  margin: 0.25rem 0 0;
  color: var(--es-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Ownership */

html.editorial-system-theme .es-section--ownership {
  background: var(--es-paper);
}

html.editorial-system-theme .es-stack-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

html.editorial-system-theme .es-stack-line span {
  display: inline-flex;
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  align-items: center;
  border: 1px solid var(--es-border);
  border-radius: 999px;
  background: var(--es-surface);
  color: var(--es-ink);
  font-size: 0.79rem;
  font-weight: 750;
}

html.editorial-system-theme .es-ownership-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-block: 1px solid var(--es-ink);
}

html.editorial-system-theme .es-ownership-ledger > div {
  padding: clamp(1.75rem, 4vw, 3rem) 0;
}

html.editorial-system-theme .es-ownership-ledger > div:first-child {
  padding-right: clamp(2rem, 6vw, 6rem);
}

html.editorial-system-theme .es-ownership-ledger > div + div {
  padding-left: clamp(2rem, 6vw, 6rem);
  border-left: 1px solid var(--es-border);
}

html.editorial-system-theme .es-ledger-label,
html.editorial-system-theme .es-fit-label {
  margin-bottom: 1.5rem;
  color: var(--es-accent);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

html.editorial-system-theme .es-ownership-ledger .es-plain-list,
html.editorial-system-theme .es-framing-scope .es-plain-list {
  margin-top: 0;
}

/* Method */

html.editorial-system-theme .es-section--method {
  background: var(--es-bg);
}

html.editorial-system-theme .es-method-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--es-ink);
  list-style: none;
}

html.editorial-system-theme .es-method-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--es-border);
}

html.editorial-system-theme .es-method-list li > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--es-accent);
  border-radius: 50%;
  color: var(--es-accent);
  font-size: 0.78rem;
  font-weight: 800;
}

html.editorial-system-theme .es-method-list h3,
html.editorial-system-theme .es-method-list p {
  margin-bottom: 0;
}

html.editorial-system-theme .es-method-list p {
  margin-top: 0.35rem;
  color: var(--es-muted);
}

/* Fit */

html.editorial-system-theme .es-section--fit {
  background: var(--es-surface);
  border-block: 1px solid var(--es-border);
}

html.editorial-system-theme .es-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--es-ink);
}

html.editorial-system-theme .es-fit-grid > div {
  padding: clamp(2rem, 5vw, 4rem) 0 0;
}

html.editorial-system-theme .es-fit-grid > div:first-child {
  padding-right: clamp(2rem, 6vw, 6rem);
}

html.editorial-system-theme .es-fit-grid > div + div {
  padding-left: clamp(2rem, 6vw, 6rem);
  border-left: 1px solid var(--es-border);
}

html.editorial-system-theme .es-fit-grid .es-plain-list {
  margin-top: 0;
}

/* Proof */

html.editorial-system-theme .es-section--proof {
  background: var(--es-paper);
}

html.editorial-system-theme .es-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.72fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
}

html.editorial-system-theme .es-proof-links {
  border-top: 1px solid var(--es-ink);
}

html.editorial-system-theme .es-proof-links a {
  display: block;
  position: relative;
  padding: 1.4rem 2rem 1.4rem 0;
  border-bottom: 1px solid var(--es-border);
  color: var(--es-ink);
  font-family: var(--font-serif-stack);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-decoration: none;
}

html.editorial-system-theme .es-proof-links a::after {
  position: absolute;
  top: 50%;
  right: 0;
  color: var(--es-accent);
  content: "→";
  transform: translateY(-50%);
  transition: transform 160ms ease-out;
}

html.editorial-system-theme .es-proof-links a:hover::after {
  transform: translate(4px, -50%);
}

html.editorial-system-theme .es-proof-links span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--es-muted);
  font-family: var(--font-sans-stack);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Framing offer */

html.editorial-system-theme .es-framing {
  position: relative;
  padding-block: clamp(5.5rem, 10vw, 8rem);
  background: var(--es-accent);
  color: color-mix(in oklch, var(--es-on-dark) 88%, transparent);
}

html.editorial-system-theme .es-framing .es-section-index {
  color: var(--es-on-dark);
}

html.editorial-system-theme .es-framing h2,
html.editorial-system-theme .es-framing .es-ledger-label {
  color: var(--es-on-dark);
}

html.editorial-system-theme .es-framing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
}

html.editorial-system-theme .es-framing-grid > div:first-of-type > p:last-child {
  max-width: 58ch;
  margin-bottom: 0;
}

html.editorial-system-theme .es-framing-scope {
  padding: clamp(1.6rem, 4vw, 2.5rem);
  border: 1px solid color-mix(in oklch, var(--es-on-dark) 34%, transparent);
  border-radius: var(--es-radius);
  background: color-mix(in oklch, var(--es-accent-dark) 22%, transparent);
}

html.editorial-system-theme .es-framing .es-plain-list {
  border-top-color: color-mix(in oklch, var(--es-on-dark) 32%, transparent);
}

html.editorial-system-theme .es-framing .es-plain-list li {
  border-bottom-color: color-mix(in oklch, var(--es-on-dark) 24%, transparent);
}

html.editorial-system-theme .es-framing .es-plain-list li::before {
  background: var(--es-on-dark);
}

html.editorial-system-theme .es-framing .es-button--primary {
  margin-top: 1.75rem;
  background: var(--es-ink);
  color: var(--es-on-dark);
}

html.editorial-system-theme .es-framing .es-button--primary:hover {
  background: var(--es-ink-soft);
}

html.editorial-system-theme .es-framing-note {
  margin: 0.9rem 0 0;
  color: color-mix(in oklch, var(--es-on-dark) 76%, transparent);
  font-size: 0.82rem;
}

html.editorial-system-theme .es-anchor-target {
  position: absolute;
  top: -110px;
}

/* FAQ */

html.editorial-system-theme .es-section--faq {
  background: var(--es-bg);
}

html.editorial-system-theme .es-faq-list {
  border-top: 1px solid var(--es-ink);
}

html.editorial-system-theme .es-faq-list details {
  border-bottom: 1px solid var(--es-border);
}

html.editorial-system-theme .es-faq-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 1rem;
  padding: 1.35rem 0;
  align-items: center;
  color: var(--es-ink);
  cursor: pointer;
  font-family: var(--font-serif-stack);
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.35;
  list-style: none;
}

html.editorial-system-theme .es-faq-list summary::-webkit-details-marker {
  display: none;
}

html.editorial-system-theme .es-faq-list summary span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--es-border);
  border-radius: 50%;
  color: var(--es-accent);
  font-family: var(--font-sans-stack);
  font-size: 1.1rem;
  font-weight: 500;
  transition: transform 160ms ease-out;
}

html.editorial-system-theme .es-faq-list details[open] summary span {
  transform: rotate(45deg);
}

html.editorial-system-theme .es-faq-list details > p {
  max-width: 66ch;
  margin: -0.25rem 0 1.5rem;
  color: var(--es-muted);
}

/* Final CTA */

html.editorial-system-theme .es-final-cta {
  padding-block: clamp(6rem, 11vw, 10rem);
  background: var(--es-ink);
  color: var(--es-on-dark-muted);
  text-align: center;
}

html.editorial-system-theme .es-final-cta .es-section-index {
  color: color-mix(in oklch, var(--es-clay) 78%, var(--es-on-dark));
}

html.editorial-system-theme .es-final-cta h2 {
  max-width: 20ch;
  margin: 0 auto 1.5rem;
  color: var(--es-on-dark);
}

html.editorial-system-theme .es-final-cta > .es-shell > p:not(.es-section-index) {
  max-width: 58ch;
  margin: 0 auto 2rem;
}

html.editorial-system-theme .es-actions--centered {
  justify-content: center;
}

html.editorial-system-theme .es-final-cta .es-button--primary {
  background: var(--es-on-dark);
  color: var(--es-accent-dark);
}

html.editorial-system-theme .es-final-cta .es-button--primary:hover {
  background: var(--es-paper);
}

html.editorial-system-theme .es-final-cta .es-button--secondary {
  border-color: color-mix(in oklch, var(--es-on-dark) 32%, transparent);
  color: var(--es-on-dark);
}

html.editorial-system-theme .es-final-cta .es-button--secondary:hover {
  border-color: var(--es-on-dark);
  background: color-mix(in oklch, var(--es-on-dark) 8%, transparent);
}

/* Responsive */

@media (max-width: 1020px) {
  html.editorial-system-theme .es-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
    gap: 2.5rem;
  }

  html.editorial-system-theme .editorial-system-page h1 {
    font-size: clamp(3.2rem, 7.8vw, 5rem);
  }

  html.editorial-system-theme .es-section-heading--split,
  html.editorial-system-theme .es-control-intro,
  html.editorial-system-theme .es-proof-grid,
  html.editorial-system-theme .es-framing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  html.editorial-system-theme .es-control-intro .es-section-index {
    grid-column: auto;
  }

  html.editorial-system-theme .es-control-levels article {
    padding-inline: 1.4rem;
  }
}

@media (max-width: 800px) {
  html.editorial-system-theme #main-content.main-full {
    margin-top: 82px;
  }

  html.editorial-system-theme .editorial-system-page {
    font-size: 16px;
  }

  html.editorial-system-theme .es-shell {
    width: min(100% - 36px, var(--es-max));
  }

  html.editorial-system-theme .es-hero::before {
    width: calc(100% - 36px);
  }

  html.editorial-system-theme .es-context-line {
    margin-bottom: 4rem;
  }

  html.editorial-system-theme .es-hero-grid,
  html.editorial-system-theme .es-statement-grid,
  html.editorial-system-theme .es-split-layout,
  html.editorial-system-theme .es-method-grid,
  html.editorial-system-theme .es-faq-grid,
  html.editorial-system-theme .es-memory-grid {
    grid-template-columns: 1fr;
  }

  html.editorial-system-theme .es-system-map {
    max-width: 560px;
    margin-inline: auto;
  }

  html.editorial-system-theme .es-sticky-heading {
    position: static;
  }

  html.editorial-system-theme .es-loop-list li {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  html.editorial-system-theme .es-loop-list li > p {
    grid-column: 2;
  }

  html.editorial-system-theme .es-control-levels {
    grid-template-columns: 1fr;
  }

  html.editorial-system-theme .es-control-levels article + article {
    border-top: 1px solid color-mix(in oklch, var(--es-on-dark) 22%, transparent);
    border-left: 0;
  }

  html.editorial-system-theme .es-control-levels article > p:not(.es-control-label) {
    min-height: 0;
  }

  html.editorial-system-theme .es-ownership-ledger,
  html.editorial-system-theme .es-fit-grid {
    grid-template-columns: 1fr;
  }

  html.editorial-system-theme .es-ownership-ledger > div:first-child,
  html.editorial-system-theme .es-fit-grid > div:first-child {
    padding-right: 0;
  }

  html.editorial-system-theme .es-ownership-ledger > div + div,
  html.editorial-system-theme .es-fit-grid > div + div {
    padding-left: 0;
    border-top: 1px solid var(--es-border);
    border-left: 0;
  }

  html.editorial-system-theme .es-fit-grid > div + div {
    margin-top: 2rem;
  }
}

@media (max-width: 560px) {
  html.editorial-system-theme .es-shell {
    width: min(100% - 28px, var(--es-max));
  }

  html.editorial-system-theme .es-hero::before {
    width: calc(100% - 28px);
  }

  html.editorial-system-theme .editorial-system-page h1 {
    max-width: none;
    font-size: clamp(2.85rem, 14vw, 4.1rem);
    line-height: 0.97;
  }

  html.editorial-system-theme .editorial-system-page h2 {
    max-width: none;
    font-size: clamp(2.2rem, 11vw, 3.3rem);
  }

  html.editorial-system-theme .es-context-line {
    display: grid;
    gap: 0.45rem;
  }

  html.editorial-system-theme .es-context-line span:last-child {
    color: var(--es-soft);
  }

  html.editorial-system-theme .es-actions {
    align-items: stretch;
    flex-direction: column;
  }

  html.editorial-system-theme .es-button {
    width: 100%;
  }

  html.editorial-system-theme .es-system-map {
    width: calc(100% + 16px);
    margin-left: -8px;
  }

  html.editorial-system-theme .es-system-map figcaption {
    padding-inline: 1rem;
  }

  html.editorial-system-theme .es-comparison-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  html.editorial-system-theme .es-comparison {
    min-width: 0;
  }

  html.editorial-system-theme .es-comparison :where(thead, tbody, tr, th, td) {
    display: block;
    width: 100%;
  }

  html.editorial-system-theme .es-comparison thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  html.editorial-system-theme .es-comparison tbody tr {
    margin-bottom: 1rem;
    border: 1px solid var(--es-border);
    border-radius: var(--es-radius);
    background: var(--es-bg);
  }

  html.editorial-system-theme .es-comparison tbody :where(th, td) {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid var(--es-border);
  }

  html.editorial-system-theme .es-comparison tbody th {
    width: 100%;
    background: var(--es-ink);
    color: var(--es-on-dark);
  }

  html.editorial-system-theme .es-comparison tbody td {
    width: 100%;
  }

  html.editorial-system-theme .es-comparison tbody td::before {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--es-soft);
    content: attr(data-label);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  html.editorial-system-theme .es-comparison tbody tr:last-child :where(th, td) {
    border-bottom: 1px solid var(--es-border);
  }

  html.editorial-system-theme .es-comparison tbody tr :where(th, td):last-child {
    border-bottom: 0;
  }

  html.editorial-system-theme .es-loop-list li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.85rem;
  }

  html.editorial-system-theme .es-connection-list > div {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  html.editorial-system-theme .es-memory-log {
    padding: 1.25rem;
  }

  html.editorial-system-theme .es-memory-log li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  html.editorial-system-theme .es-stack-line {
    gap: 0.4rem;
  }

  html.editorial-system-theme .es-stack-line span {
    min-height: 36px;
    padding: 0.45rem 0.7rem;
    font-size: 0.72rem;
  }

  html.editorial-system-theme .es-framing-scope {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.editorial-system-theme .editorial-system-page *,
  html.editorial-system-theme .editorial-system-page *::before,
  html.editorial-system-theme .editorial-system-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
