main {
  width: min(1180px, calc(100% - clamp(2rem, 9vw, 10rem)));
  margin-inline: auto;
  padding-block: 8rem 6rem;
}

main > article > header {
  max-width: 1040px;
  margin-bottom: 8rem;
}

main > article > header > p:first-child,
section > p:first-child {
  margin: 0 0 .8rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  max-width: 1020px;
  margin-block: .25em;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: .92;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

main > article > header > p[itemprop="description"] {
  max-width: 900px;
  font-size: clamp(1.18rem, 2.3vw, 1.7rem);
  line-height: 1.55;
}

main > article > header > aside,
[data-section="decision"] > aside {
  max-width: 900px;
  margin-block: 2.5rem;
  padding: 1.5rem;
  border-left: .45rem solid #58d6a1;
  border-radius: .7rem;
  background: #10241e;
  color: #f0fbf6;
}

aside strong { color: #8ce8c2; }
aside p { margin-bottom: 0; line-height: 1.6; }

main > article > header > dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 1rem;
  background: color-mix(in srgb, currentColor 18%, transparent);
}

main > article > header > dl div {
  padding: 1rem;
  background: Canvas;
}

dt {
  margin-bottom: .3rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

dd { margin: 0; line-height: 1.5; }
code { overflow-wrap: anywhere; }

section {
  margin-block: 9rem;
  scroll-margin-top: 7rem;
}

section h2 {
  max-width: 1000px;
  margin-block: .25em 1em;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: .96;
  text-wrap: balance;
}

section h3 { margin-block: .5rem; font-size: 1.35rem; }
section p, section li, section dd, article > footer p { line-height: 1.62; }

[data-layout="claims"],
[data-layout="capability-grid"],
[data-layout="actors"],
[data-layout="boundaries"] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

[data-layout="claims"] article,
[data-layout="capability-grid"] article,
[data-layout="actors"] article,
[data-layout="boundaries"] article,
[data-layout="decision"] article,
[data-layout="duality"] > article {
  padding: 1.4rem;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 1rem;
  background: color-mix(in srgb, Canvas 96%, currentColor 4%);
}

[data-layout="claims"] strong,
[data-layout="boundaries"] strong { display: block; font-size: 1.15rem; }

blockquote {
  margin: 2rem 0 0;
  padding: 1rem 1.5rem;
  border-left: .3rem solid currentColor;
  font-size: 1.08rem;
}

[data-layout="duality"],
[data-layout="decision"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

[data-layout="duality"] article > header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}

[data-layout="duality"] article > header span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

figure {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: 1rem;
  background: #16221f;
  color: #eef9f4;
}

figure figcaption { margin-bottom: 1rem; color: #82e5bd; font-weight: 700; }
figure ol { display: grid; grid-template-columns: repeat(6, 1fr); gap: .55rem; margin: 0; padding: 0; list-style: none; }
figure li { position: relative; padding: .8rem; border: 1px solid color-mix(in srgb, #eef9f4 24%, transparent); border-radius: .65rem; font-size: .82rem; }
figure li:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -.48rem; z-index: 1; padding: .05rem; background: #16221f; transform: translateY(-50%); }

table { width: 100%; table-layout: fixed; border-collapse: collapse; border-block: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
th, td { padding: 1rem .8rem; border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
th { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

[data-section="case-study"] {
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 1.5rem;
  background: #10241e;
  color: #f0fbf6;
}

[data-section="case-study"] h2 { color: inherit; }
[data-layout="actors"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
[data-layout="actors"] article { border-color: color-mix(in srgb, #f0fbf6 22%, transparent); background: color-mix(in srgb, #f0fbf6 6%, transparent); }

pre { overflow-x: auto; margin-block: 2rem; padding: 1.3rem; border: 1px solid color-mix(in srgb, #f0fbf6 20%, transparent); border-radius: .8rem; background: #081611; color: #9cebc9; }

[data-section="adoption"] > ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

[data-section="adoption"] > ol li { counter-increment: steps; padding: 1.3rem; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); border-radius: .9rem; }
[data-section="adoption"] > ol li::before { content: counter(steps, decimal-leading-zero); display: block; margin-bottom: 1rem; color: #16845d; font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
[data-section="adoption"] li strong, [data-section="adoption"] li span { display: block; }

[data-section="risks"] > dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); border-radius: 1rem; background: color-mix(in srgb, currentColor 18%, transparent); }
[data-section="risks"] > dl div { padding: 1.4rem; background: Canvas; }

main > article > footer { margin-top: 7rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
main > article > footer nav { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
main > article > footer nav a { padding: .55rem .8rem; border: 1px solid currentColor; border-radius: 999px; }

@media (max-width: 900px) {
  main > article > header > dl,
  [data-layout="claims"],
  [data-layout="capability-grid"],
  [data-layout="actors"],
  [data-layout="boundaries"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  figure ol { grid-template-columns: repeat(3, 1fr); }
  figure li::after { display: none; }
}

@media (max-width: 640px) {
  main { width: calc(100% - 2rem); padding-block: 6.5rem 4rem; }
  section { margin-block: 5rem; }
  main > article > header > dl,
  [data-layout="claims"],
  [data-layout="duality"],
  [data-layout="capability-grid"],
  [data-layout="actors"],
  [data-layout="boundaries"],
  [data-layout="decision"],
  [data-section="adoption"] > ol,
  [data-section="risks"] > dl,
  figure ol { grid-template-columns: 1fr; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  td { padding-block: .65rem; }
  td:first-child { padding-top: 1.2rem; font-weight: 700; }
}

