:root {
  --bg: #f6f8ff;
  --paper: #ffffff;
  --ink: #111827;
  --muted: #536078;
  --quiet: #8791a5;
  --line: #dbe6f7;
  --line-strong: #bfd2f3;
  --blue: #2563eb;
  --blue-deep: #173ea6;
  --blue-soft: #edf5ff;
  --yellow: #fff5a8;
  --shadow: 0 18px 55px rgba(31, 57, 104, 0.12);
  --shadow-soft: 0 10px 28px rgba(31, 57, 104, 0.08);
  --radius: 12px;
  --max: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}


body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(79, 140, 255, 0.16), transparent 32rem),
    linear-gradient(180deg, #f4f8ff 0%, #ffffff 44rem, #f8fbff 100%);
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  transition: opacity 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

html[lang="en"] body {
  font-family: "Inter", "Segoe UI", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

html.page-transition-incoming body {
  opacity: 0.08;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

html.page-transition-incoming body.page-ready {
  opacity: 1;
}

body.page-transition-out {
  opacity: 0.08;
  pointer-events: none;
  transition-duration: 360ms;
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

p + p {
  margin-top: 16px;
}

ol,
ul {
  margin: 0;
  padding-left: 1.2em;
}

li + li {
  margin-top: 8px;
}

.reading-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 50;
  width: 100%;
  height: 3px;
  background: transparent;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #7aa7ff, #1d4ed8);
}

.hero {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 26px 0 82px;
}

.topbar {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 56px));
  padding: 12px 16px;
  border: 1px solid rgba(191, 210, 243, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  min-width: 42px;
  height: 28px;
  place-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: #1f65ff;
  font-size: 13px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  padding: 7px 10px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--blue-soft);
  color: var(--blue-deep);
  outline: none;
}

.language-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  flex: 0 0 auto;
  width: 116px;
  height: 44px;
  padding: 4px;
  border: 1px solid rgba(37, 99, 235, 0.34);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.14);
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  touch-action: manipulation;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.language-switch::before {
  position: absolute;
  inset: 4px auto 4px 4px;
  z-index: 0;
  width: calc((100% - 8px) / 2);
  border-radius: 999px;
  background: linear-gradient(135deg, #1d4ed8, #4f8cff);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
  content: "";
  transform: translate3d(0, 0, 0);
  transition: transform 420ms cubic-bezier(0.45, 0, 0.55, 1), box-shadow 220ms ease;
  will-change: transform;
}

html[lang="en"] .language-switch::before {
  transform: translate3d(100%, 0, 0);
}

.language-switch span,
.language-switch strong {
  position: relative;
  z-index: 1;
  display: inline-grid;
  width: 100%;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: transparent;
  font-size: 0;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.language-switch strong {
  display: inline-grid;
}

.language-switch span::after,
.language-switch strong::after {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  transition: color 220ms ease;
}

.language-switch span::after {
  content: "\4E2D\6587";
  transform: translateY(-7.25px);
}

.language-switch strong::after {
  content: "EN";
  transform: translateY(-7.75px);
}

html[lang="zh-CN"] .language-switch span::after,
html[lang="en"] .language-switch strong::after {
  color: #fff;
}

html[lang="zh-CN"] .language-switch.is-switching::before {
  transform: translate3d(100%, 0, 0);
}

html[lang="en"] .language-switch.is-switching::before {
  transform: translate3d(0, 0, 0);
}

html[lang="zh-CN"] .language-switch.is-switching span::after,
html[lang="en"] .language-switch.is-switching strong::after {
  color: var(--blue-deep);
}

html[lang="zh-CN"] .language-switch.is-switching strong::after,
html[lang="en"] .language-switch.is-switching span::after {
  color: #fff;
}

.language-switch.is-switching {
  pointer-events: none;
}

.language-switch:hover,
.language-switch:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 42px;
  align-items: end;
  padding-top: 90px;
}

.eyebrow,
.section-kicker,
.panel-label {
  margin: 0 0 12px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 900;
}

h2 {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 880;
}

h3 {
  font-size: 25px;
  font-weight: 850;
}

h4 {
  margin-top: 22px;
  font-size: 18px;
  font-weight: 850;
}

.hero-subtitle {
  max-width: 760px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 22px;
}

.hero-author {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 18px;
  padding: 4px 12px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(237, 245, 255, 0.75);
  font-size: 14px;
  font-weight: 800;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-tags span,
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 700;
}

.hero-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-panel p:not(.panel-label) {
  font-size: 19px;
  font-weight: 750;
}

.hero-panel dl {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
}

.hero-panel dt {
  color: var(--quiet);
  font-size: 13px;
  font-weight: 800;
}

.hero-panel dd {
  margin: 4px 0 0;
  color: var(--muted);
}

main {
  padding-bottom: 72px;
}

.site-footer {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(191, 210, 243, 0.78);
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.section {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto;
  padding: 76px 0;
  scroll-margin-top: 110px;
}

.section.wide {
  width: min(var(--max), calc(100% - 56px));
}

.copy-block {
  max-width: 1060px;
}

.copy-block h2 + p,
.section-heading h2 + p {
  margin-top: 22px;
}

.copy-block p,
.copy-block li,
.section-heading p {
  color: #222b3a;
  font-size: 22px;
  line-height: 1.62;
}

.context-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 0.82fr);
  gap: 34px;
  align-items: start;
  margin-top: 24px;
}

.context-copy p {
  margin: 0;
}

.context-continuation {
  margin-top: 26px;
}

.context-continuation p + p {
  margin-top: 18px;
}

.compact-copy {
  margin-top: 28px;
}

.compact-copy li {
  font-size: 19px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.flow-section .copy-block {
  max-width: none;
}

.flow-section h2 {
  max-width: 1060px;
}

.task-flow {
  position: relative;
  margin-top: 28px;
  padding: 30px 30px 36px;
  border: 1px solid rgba(191, 210, 243, 0.82);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(237, 245, 255, 0.92), rgba(255, 255, 255, 0.86)),
    repeating-linear-gradient(90deg, transparent 0, transparent 118px, rgba(191, 210, 243, 0.22) 119px);
  box-shadow: var(--shadow-soft);
}

.task-flow::before {
  display: none;
  content: none;
}

.task-stage-labels {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.task-stage-labels span {
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 860;
  text-align: center;
}

.task-stage-labels .stage-ai {
  grid-column: 1 / 5;
}

.task-stage-labels .stage-result {
  grid-column: 5 / 7;
  color: #9f1239;
  border-color: rgba(248, 167, 177, 0.58);
  background: rgba(255, 245, 247, 0.82);
}

.task-stage-labels .stage-support {
  grid-column: 7 / 11;
}

.task-flow-track {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(10, minmax(104px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.task-step {
  position: relative;
  display: grid;
  min-height: 118px;
  align-content: center;
  justify-items: center;
  gap: 9px;
  padding: 14px 10px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(31, 57, 104, 0.08);
  text-align: center;
}

.task-step + .task-step::after {
  position: absolute;
  left: -17px;
  top: 50%;
  width: 16px;
  height: 16px;
  border-top: 3px solid rgba(37, 99, 235, 0.58);
  border-right: 3px solid rgba(37, 99, 235, 0.58);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.step-index {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8, #6ea2ff);
  font-size: 12px;
  font-weight: 880;
}

.step-title {
  color: #172033;
  font-size: 15px;
  font-weight: 830;
  line-height: 1.35;
}

.task-step.checkpoint {
  border-color: rgba(96, 165, 250, 0.38);
  background: rgba(239, 246, 255, 0.96);
}

.task-step.friction {
  border-color: rgba(248, 167, 177, 0.72);
  background: rgba(255, 245, 247, 0.96);
}

.task-step.friction .step-index {
  background: linear-gradient(135deg, #e11d48, #fb7185);
}

.task-step.handoff {
  border-color: rgba(124, 94, 255, 0.32);
}

.task-step.handoff .step-index {
  background: linear-gradient(135deg, #4f46e5, #8b5cf6);
}

.task-step.resolved {
  border-color: rgba(22, 163, 74, 0.30);
  background: rgba(240, 253, 244, 0.94);
}

.task-step.resolved .step-index {
  background: linear-gradient(135deg, #15803d, #22c55e);
}

.evidence-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: 34px;
  align-items: center;
  padding: 42px 0;
  border-top: 1px solid rgba(191, 210, 243, 0.72);
}

.evidence-row.reverse {
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
}

.visual {
  margin: 0;
}

.visual img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(191, 210, 243, 0.82);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.visual figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.image-text-translation {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.context-figure {
  max-width: none;
  margin: 0;
}

.translated-evidence-card {
  overflow: hidden;
  border: 1px solid rgba(191, 210, 243, 0.82);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.translated-evidence-card img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.translated-evidence-card p {
  margin: 0;
  padding: 0 28px 28px;
  color: var(--ink);
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 600;
  line-height: 1.28;
  text-align: center;
}

.scope-hero-figure {
  width: min(100%, 1180px);
  margin-top: 34px;
}

.scope-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.system-structure-figure {
  margin-top: 24px;
}

.system-structure-figure img {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}


.visual.large img {
  object-fit: contain;
}

.visual.detail {
  margin-top: 20px;
}

.visual.detail img {
  box-shadow: none;
}

.note {
  padding: 0 4px;
}

.note h3 + p,
.note h3 + ol,
.note h4 + p,
.note h4 + ol,
.note .visual + p {
  margin-top: 16px;
}

.note p,
.note li {
  color: #1f2937;
  font-size: 20px;
  line-height: 1.58;
}

.numbered {
  counter-reset: item;
  list-style: none;
  padding-left: 0;
}

.numbered li {
  position: relative;
  padding-left: 36px;
}

.numbered li::before {
  position: absolute;
  left: 0;
  top: 0.04em;
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.26);
  background: rgba(237, 245, 255, 0.92);
  color: var(--blue-deep);
  content: counter(item);
  counter-increment: item;
  font-size: 14px;
  font-weight: 900;
}

.numbered.annotation-numbered li::before {
  border: 0;
  background: #f8a7b1;
  color: #981b30;
}

.numbered.compact li {
  padding-left: 0;
}

.numbered.compact li::before {
  display: none;
}

.iframe-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.iframe-shell iframe {
  display: block;
  width: 100%;
  height: 760px;
  border: 0;
  background: #fff;
}

.iframe-shell.auto-height-frame {
  overflow: visible;
}

.iframe-shell.auto-height-frame iframe {
  height: 1040px;
  overflow: hidden;
}

.iframe-shell.tall iframe {
  height: 900px;
}

.iframe-shell.demo iframe {
  height: 960px;
}

.demo-section {
  width: min(1540px, calc(100% - 36px));
  padding-top: 104px;
  padding-bottom: 112px;
}

.demo-section .section-heading {
  width: min(1180px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.demo-cue {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 9px 14px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(237, 245, 255, 0.94);
  font-size: 16px;
  font-weight: 780;
  line-height: 1.45;
}


.iframe-shell.demo {
  position: relative;
  width: min(1500px, 100%);
  margin: 36px auto 0;
  border-radius: 20px;
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow:
    0 34px 100px rgba(23, 62, 166, 0.18),
    0 0 0 10px rgba(237, 245, 255, 0.72);
}

.diagram-block {
  margin-top: 28px;
  padding-top: 40px;
  border-top: 1px solid rgba(191, 210, 243, 0.72);
}

.diagram-block h3 {
  margin-bottom: 20px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 36px;
  background: rgba(10, 18, 32, 0.82);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  width: auto;
  height: auto;
  max-width: min(96vw, 1800px);
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.image-fallback {
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
}

.takeaway-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.takeaway-grid article {
  padding: 22px;
  border: 1px solid rgba(191, 210, 243, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.takeaway-grid span {
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 900;
}

.takeaway-grid h3 {
  margin-top: 12px;
  font-size: 21px;
}

.takeaway-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

@media (min-width: 1081px) {
  html[lang="en"] .section {
    width: min(1280px, calc(100% - 48px));
  }

  html[lang="en"] .section.wide {
    width: min(1480px, calc(100% - 40px));
  }

  html[lang="en"] .copy-block {
    max-width: 1180px;
  }

  html[lang="en"] h1,
  html[lang="en"] h2,
  html[lang="en"] h3 {
    text-wrap: balance;
  }

  html[lang="en"] h1 {
    max-width: 980px;
    font-size: clamp(42px, 5.3vw, 76px);
    line-height: 1.12;
  }

  html[lang="en"] h2 {
    font-size: clamp(30px, 3.1vw, 46px);
    line-height: 1.16;
  }

  html[lang="en"] .copy-block p,
  html[lang="en"] .copy-block li,
  html[lang="en"] .section-heading p {
    font-size: 21px;
    line-height: 1.56;
  }

  html[lang="en"] .context-split {
    grid-template-columns: minmax(0, 1.08fr) minmax(500px, 0.88fr);
    gap: 42px;
  }

  html[lang="en"] .context-continuation {
    max-width: 1180px;
  }

  html[lang="en"] .section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(440px, 0.72fr);
    gap: 42px;
    align-items: start;
  }

  html[lang="en"] .section-heading h2 {
    max-width: 880px;
  }

  html[lang="en"] .flow-section h2 {
    max-width: 1180px;
  }

  html[lang="en"] .flow-section .copy-block {
    max-width: none;
  }

  html[lang="en"] .evidence-row,
  html[lang="en"] .evidence-row.reverse {
    grid-template-columns: minmax(720px, 1.05fr) minmax(520px, 0.78fr);
    gap: 40px;
  }

  html[lang="en"] .note {
    padding: 0;
  }

  html[lang="en"] .note h3 {
    line-height: 1.16;
  }

  html[lang="en"] .note p,
  html[lang="en"] .note li {
    font-size: 19px;
    line-height: 1.52;
  }

  html[lang="en"] .note h3 + p,
  html[lang="en"] .note h3 + ol,
  html[lang="en"] .note h4 + p,
  html[lang="en"] .note h4 + ol,
  html[lang="en"] .note .visual + p {
    margin-top: 14px;
  }

  html[lang="en"] .numbered li {
    padding-left: 40px;
  }

  html[lang="en"] .numbered li::before {
    top: 0.02em;
  }

  html[lang="en"] .numbered li + li {
    margin-top: 12px;
  }

  html[lang="en"] .compact-copy li {
    font-size: 18px;
    line-height: 1.5;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .section-heading,
  .context-split,
  .evidence-row,
  .evidence-row.reverse {
    grid-template-columns: 1fr;
  }

  .takeaway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .task-flow {
    padding: 24px;
  }

  .task-stage-labels {
    display: none;
  }

  .task-flow::before {
    top: 32px;
    bottom: 32px;
    left: 40px;
    width: 4px;
    height: auto;
    right: auto;
    transform: none;
  }

  .task-flow-track {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 0 0 34px;
  }

  .task-step {
    min-height: 82px;
    justify-items: start;
    grid-template-columns: auto 1fr;
    padding: 14px 16px;
    text-align: left;
  }

  .task-step::before {
    position: static;
    width: max-content;
    max-width: 120px;
    padding: 4px 9px;
    border-radius: 999px;
    grid-column: 1 / -1;
    justify-self: start;
    margin-bottom: 2px;
    color: var(--blue-deep);
    background: rgba(219, 234, 254, 0.96);
    content: attr(data-stage);
    font-size: 12px;
    font-weight: 820;
    transform: none;
  }

  .task-step + .task-step::after {
    left: -23px;
    top: -16px;
    transform: rotate(135deg);
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 720px) {
  .topbar {
    width: min(100% - 28px, var(--max));
    gap: 12px;
  }

  .hero,
  .section,
  .section.wide {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    padding-bottom: 44px;
  }

  .hero-grid {
    padding-top: 58px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  .copy-block p,
  .copy-block li,
  .section-heading p,
  .note p,
  .note li {
    font-size: 17px;
  }

  .section {
    padding: 52px 0;
  }

  .iframe-shell iframe,
  .iframe-shell.tall iframe,
  .iframe-shell.demo iframe {
    height: 640px;
  }

  .demo-section {
    width: min(100% - 20px, var(--max));
    padding-top: 68px;
    padding-bottom: 70px;
  }

  .demo-cue {
    align-items: flex-start;
    border-radius: 14px;
    font-size: 15px;
  }
  .takeaway-grid article {
    padding: 18px;
    border-radius: 14px;
  }

  .takeaway-grid {
    grid-template-columns: 1fr;
  }

  .iframe-shell.demo {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 20px 58px rgba(23, 62, 166, 0.14);
  }

  .iframe-shell.demo iframe {
    height: 780px;
  }

  .iframe-shell.auto-height-frame iframe {
    height: 1040px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body {
    transition: none;
  }

  html.page-transition-incoming body,
  html.page-transition-incoming body.page-ready,
  body.page-transition-out {
    opacity: 1;
  }
}
