:root {
  --ink: #101223;
  --navy: #11152d;
  --paper: #f7f5ef;
  --white: #fffefa;
  --muted: #666a78;
  --mint: #6ff0bd;
  --sky: #6cc9ff;
  --coral: #ff806e;
  --violet: #b897ff;
  --yellow: #ffd65a;
  --pink: #ff8fc8;
  --stage: var(--mint);
  --border: 3px solid var(--ink);
  --shadow: 7px 8px 0 var(--ink);
  --radius: 22px;
  --max: 1500px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 15% 10%, rgba(108, 201, 255, .10), transparent 28rem),
    radial-gradient(circle at 88% 80%, rgba(184, 151, 255, .11), transparent 30rem),
    var(--navy);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, a { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1000;
  padding: 12px 18px;
  color: var(--ink);
  background: var(--white);
  border: var(--border);
}
.skip-link:focus { top: 16px; }
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}
.topbar {
  position: relative;
  z-index: 20;
  width: min(calc(100% - 48px), var(--max));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand, .control, .stage-nav button {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  text-align: left;
}
.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--paper);
  border-radius: 14px 14px 6px 14px;
  font-weight: 950;
  transform: rotate(-3deg);
}
.brand b { display: block; font-size: 17px; }
.brand small { display: block; color: #b7bac8; font-size: 12px; margin-top: 2px; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.control {
  min-height: 44px;
  padding: 9px 14px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 13px;
  color: var(--paper);
  background: rgba(255,255,255,.06);
}
.control:hover { border-color: var(--paper); background: rgba(255,255,255,.12); }
.key {
  display: inline-grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  margin-right: 6px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 900;
}
.icon-control { min-width: 44px; font-size: 22px; padding: 6px 10px; }

#main {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--max));
  min-height: calc(100vh - 154px);
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: 18px 0 74px;
}
#main:focus { outline: none; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--stage);
  font-size: clamp(12px, 1.1vw, 16px);
  font-weight: 900;
  letter-spacing: .14em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 1100px;
  margin-bottom: 16px;
  font-size: clamp(43px, 5.6vw, 86px);
  line-height: .96;
  letter-spacing: -.06em;
}
.lead {
  max-width: 900px;
  color: #c9cbd5;
  font-size: clamp(17px, 1.5vw, 23px);
  line-height: 1.45;
}
.home-hero { padding-top: 1vh; }
.home-intro-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.home-intro-row .eyebrow { margin: 0; }
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
}
.section-eyebrow img {
  width: 39px;
  height: 39px;
  padding: 4px;
  object-fit: contain;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 11px;
  box-shadow: 3px 3px 0 var(--ink);
}
.concept-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.concept-button {
  min-height: 43px;
  padding: 9px 15px;
  cursor: pointer;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--paper);
  border-radius: 99px;
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 13px;
  font-weight: 900;
  transition: transform .16s ease, box-shadow .16s ease;
}
.concept-button span { margin-right: 5px; }
.concept-button:hover { transform: translateY(-3px); box-shadow: 6px 7px 0 var(--ink); }
.concept-chat { background: var(--sky); }
.concept-skill { background: var(--yellow); }
.concept-start { background: var(--mint); }
.definition {
  max-width: 1100px;
  margin: 28px 0 24px;
  padding: 18px 23px;
  color: var(--ink);
  background: var(--paper);
  border: var(--border);
  border-radius: 16px;
  box-shadow: 5px 6px 0 var(--yellow);
  font-size: clamp(16px, 1.35vw, 21px);
  font-weight: 750;
}
.flow-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}
.flow-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dfe0e8;
  font-size: 13px;
  font-weight: 750;
}
.flow-strip span:not(:last-child)::after { content: "→"; color: var(--yellow); font-size: 18px; }
.stage-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.stage-card, .scenario-card {
  position: relative;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  background: var(--card);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.stage-card {
  min-height: 225px;
  padding: 20px;
  transform: rotate(var(--tilt));
}
.stage-card:hover {
  transform: translateY(-8px) rotate(calc(var(--tilt) * -1));
  box-shadow: 10px 13px 0 var(--ink);
  animation: wobble .42s ease;
}
.stage-card:hover, .stage-card:focus-visible { z-index: 12; }
.stage-skill-tooltip {
  position: absolute;
  z-index: 20;
  left: 8px;
  right: 8px;
  bottom: calc(100% + 13px);
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid var(--paper);
  border-radius: 13px;
  box-shadow: 4px 5px 0 rgba(0,0,0,.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  font-size: 12px;
  line-height: 1.3;
  text-align: left;
}
.stage-skill-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 12px;
  height: 12px;
  background: var(--ink);
  border-right: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  transform: translate(-50%, -6px) rotate(45deg);
}
.stage-skill-tooltip b {
  color: var(--stage);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.stage-skill-tooltip span { white-space: normal; font-weight: 800; }
.stage-card:hover .stage-skill-tooltip,
.stage-card:focus-visible .stage-skill-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.stage-card .num {
  display: flex;
  justify-content: space-between;
  font-weight: 950;
  font-size: 13px;
}
.stage-card .icon { font-size: 31px; }
.stage-card h2 {
  margin: 48px 0 10px;
  font-size: clamp(21px, 2vw, 31px);
  line-height: 1;
  letter-spacing: -.04em;
}
.stage-card p { margin: 0; font-size: 13px; line-height: 1.4; font-weight: 650; }
.presenter-tip {
  margin: 23px 0 0;
  color: #aeb1c1;
  font-size: 13px;
}

.chapter {
  --stage: var(--mint);
  animation: fade-in .28s ease both;
}
.chapter-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}
.chapter-number {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  color: var(--ink);
  background: var(--stage);
  border: var(--border);
  border-radius: 18px 18px 8px 18px;
  box-shadow: 5px 6px 0 var(--ink);
  font-weight: 950;
}
.chapter h1 { margin: 0; }
.chapter-intro {
  margin: 0 0 5px;
  color: #d2d4dd;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.3;
}
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.scenario-card {
  min-height: 270px;
  padding: 24px;
  background: var(--paper);
}
.scenario-card:hover { transform: translateY(-6px) rotate(-.5deg); animation: wobble .42s ease; }
.scenario-card .skill-pill, .tags span {
  display: inline-block;
  padding: 6px 9px;
  border: 2px solid var(--ink);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 850;
}
.scenario-card h2 {
  margin: 36px 0 12px;
  font-size: clamp(23px, 2vw, 32px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.scenario-card p { color: #4f5360; line-height: 1.45; font-size: 15px; }
.open-case {
  position: absolute;
  right: 20px;
  bottom: 18px;
  font-weight: 950;
}

.stage-nav {
  position: fixed;
  z-index: 25;
  left: 50%;
  bottom: 17px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 10px;
  background: rgba(17,21,45,.86);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 99px;
  backdrop-filter: blur(10px);
}
.stage-nav button { min-width: 35px; min-height: 35px; font-size: 19px; border-radius: 50%; }
.stage-nav button:hover { background: rgba(255,255,255,.12); }
#stage-dots { display: flex; gap: 7px; }
.dot {
  width: 10px;
  min-width: 10px !important;
  min-height: 10px !important;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.5) !important;
  background: transparent !important;
}
.dot.active { width: 28px; border-radius: 99px; background: var(--stage) !important; }

.concept-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 30px;
  background: rgba(8, 10, 25, .82);
  backdrop-filter: blur(10px);
  animation: fade-in .22s ease both;
}
.concept-modal {
  width: min(1180px, 100%);
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  padding: clamp(22px, 3vw, 42px);
  color: var(--ink);
  background: var(--paper);
  border: var(--border);
  border-radius: 28px;
  box-shadow: 13px 15px 0 var(--ink);
  animation: overlay-in .4s cubic-bezier(.2,.85,.2,1) both;
}
.concept-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.concept-modal-head .eyebrow { color: #285d75; }
.concept-modal-head h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(34px, 4.6vw, 66px);
}
.concept-close {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  cursor: pointer;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 29px;
  line-height: 1;
}
.start-modal { width: min(1080px, 100%); }
.start-section + .start-section { margin-top: 28px; }
.start-section-head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 14px;
}
.start-section-head > span {
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 11px;
  font-size: 12px;
  font-weight: 950;
}
.start-section-head h2 { margin: 0 0 3px; font-size: clamp(22px, 2.4vw, 32px); }
.start-section-head p { margin: 0; color: #5b5f6c; font-size: 13px; }
.start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.start-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 17px;
  box-shadow: 5px 6px 0 var(--ink);
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}
.recommended-grid .start-card:nth-child(1) { background: #dff4ff; }
.recommended-grid .start-card:nth-child(2) { background: #fff0a9; }
.recommended-grid .start-card:nth-child(3) { background: #c8f4dd; }
.directory-grid .start-card:nth-child(1) { background: #ffc5bb; }
.directory-grid .start-card:nth-child(2) { background: #ded3ff; }
.directory-grid .start-card:nth-child(3) { background: #ffd0e4; }
.start-card:hover { transform: translateY(-4px); box-shadow: 7px 9px 0 var(--ink); }
.start-card strong { font-size: 19px; line-height: 1.15; }
.start-card span { margin-top: 9px; color: #4d515e; font-size: 13px; line-height: 1.45; }
.start-card i {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}
.skill-safety-note {
  margin: 28px 0 0;
  padding: 16px 18px;
  background: #f2efe5;
  border: 2px solid var(--ink);
  border-left-width: 8px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.comic-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}
.comic-panel {
  position: relative;
  overflow: hidden;
  min-height: 445px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #dff4ff;
  border: var(--border);
  border-radius: 22px;
  box-shadow: 7px 8px 0 var(--ink);
  transform: rotate(-.5deg);
}
.codex-panel { background: #fff0a9; transform: rotate(.5deg); }
.comic-label {
  width: fit-content;
  margin: 14px;
  padding: 7px 12px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 99px;
  font-weight: 950;
  letter-spacing: .04em;
}
.comic-scene {
  position: relative;
  min-height: 255px;
  margin: 0 15px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background:
    linear-gradient(transparent 70%, rgba(16,18,35,.1) 70%),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(16,18,35,.055) 46px 48px);
}
.researcher-character, .assistant-character {
  position: absolute;
  bottom: 19px;
  display: grid;
  justify-items: center;
  z-index: 2;
}
.researcher-character { left: 7%; }
.assistant-character { right: 7%; }
.character-head {
  position: relative;
  z-index: 2;
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 50%;
  font-size: 27px;
}
.character-body {
  width: 72px;
  height: 75px;
  margin-top: -5px;
  background: var(--violet);
  border: 3px solid var(--ink);
  border-radius: 28px 28px 8px 8px;
}
.assistant-character .character-body { background: var(--sky); }
.researcher-assistant .character-body { background: var(--mint); }
.speech-bubble {
  position: absolute;
  z-index: 3;
  max-width: 46%;
  padding: 9px 11px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 13px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}
.question-bubble { top: 12px; left: 4%; transform: rotate(-1deg); }
.answer-bubble { top: 88px; right: 4%; transform: rotate(1deg); }
.workspace-output {
  position: absolute;
  left: 34%;
  right: 34%;
  bottom: 22px;
  display: grid;
  gap: 5px;
}
.workspace-output span {
  display: grid;
  place-items: center;
  min-height: 34px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 5px;
  font-size: 9px;
  font-weight: 950;
}
.paper-sheet { transform: rotate(-4deg); }
.table-sheet { transform: rotate(3deg); }
.figure-sheet { transform: rotate(-1deg); }
.comic-caption {
  min-height: 100px;
  display: grid;
  gap: 5px;
  align-content: center;
  padding: 16px 18px;
  background: var(--white);
  border-top: 3px solid var(--ink);
}
.comic-caption strong { font-size: 18px; }
.comic-caption span { color: #535866; font-size: 13px; line-height: 1.4; }
.comic-versus {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  z-index: 4;
  color: var(--paper);
  background: var(--coral);
  border: var(--border);
  border-radius: 50%;
  box-shadow: 4px 5px 0 var(--ink);
  font-weight: 950;
  transform: rotate(-7deg);
}
.permission-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 27px;
  padding: 15px 20px;
  background: var(--mint);
  border: var(--border);
  border-radius: 16px;
}
.permission-strip p { margin: 0; line-height: 1.4; }
.permission-icon { font-size: 25px; }
.skill-story {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 12px;
}
.skill-story-card {
  position: relative;
  min-height: 235px;
  padding: 22px;
  background: var(--white);
  border: var(--border);
  border-radius: 20px;
  box-shadow: 6px 7px 0 var(--ink);
}
.skill-story-card.featured { background: var(--yellow); transform: translateY(-5px) rotate(-1deg); }
.story-number { font-size: 12px; font-weight: 950; }
.story-icon { position: absolute; top: 18px; right: 20px; font-size: 27px; }
.skill-story-card h2 { margin: 55px 0 11px; font-size: 25px; line-height: 1.02; }
.skill-story-card p { margin: 0; color: #555966; line-height: 1.45; }
.story-arrow { display: grid; place-items: center; font-size: 29px; font-weight: 950; }
.supervisor-example {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 29px 0 18px;
  padding: 15px 19px;
  background: #e3f5ff;
  border: var(--border);
  border-radius: 16px;
}
.supervisor-example p {
  margin: 5px 0 0;
  color: #4f5360;
  line-height: 1.45;
}
.supervisor-example i { color: #13709c; font-style: normal; font-weight: 950; }
.journal-skill-note {
  margin: 0 0 21px;
  padding: 0 4px;
  color: #555966;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
.example-person {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 25px;
}
.skill-takeaway {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 16px;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 750;
}
.skill-takeaway span:not(.takeaway-divider) {
  padding: 11px 15px;
  background: var(--sky);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
}
.skill-takeaway span:nth-child(3) { background: var(--mint); }
.takeaway-divider { font-size: 28px; font-weight: 950; }
.concept-note {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  color: #4f5360;
  font-size: 17px;
  line-height: 1.5;
}

.overlay-shell {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow-y: auto;
  background: var(--paper);
  color: var(--ink);
  animation: overlay-in .58s cubic-bezier(.2,.85,.2,1) both;
}
.overlay-top {
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 12px max(22px, calc((100vw - 1320px)/2));
  background: rgba(247,245,239,.94);
  border-bottom: 3px solid var(--ink);
  backdrop-filter: blur(10px);
}
.overlay-actions { display: flex; gap: 9px; }
.dark-button, .colour-button, .light-button {
  min-height: 42px;
  padding: 9px 14px;
  cursor: pointer;
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-weight: 850;
}
.dark-button { color: var(--paper); background: var(--ink); }
.colour-button { color: var(--ink); background: var(--stage); }
.light-button { color: var(--ink); background: var(--white); }
.overlay-progress { display: flex; align-items: center; gap: 8px; }
.progress-step {
  width: 31px;
  height: 9px;
  border: 2px solid var(--ink);
  border-radius: 99px;
  background: transparent;
}
.progress-step.active { background: var(--stage); }
.case-wrap { width: min(calc(100% - 44px), 1320px); margin: 0 auto; padding: 66px 0 100px; }
.case-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr);
  gap: 48px;
  padding-bottom: 55px;
  border-bottom: 3px solid var(--ink);
}
.case-head h1 {
  max-width: 900px;
  margin: 12px 0 19px;
  font-size: clamp(43px, 5vw, 76px);
}
.case-skill {
  align-self: end;
  padding: 23px;
  background: var(--stage);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}
.case-skill small { display: block; margin-bottom: 7px; font-weight: 850; text-transform: uppercase; }
.case-skill strong { font-size: 22px; line-height: 1.15; }
.case-skill p {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 17px; }
.source-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.source-links a { color: var(--ink); font-size: 13px; font-weight: 800; }
.step-source-link { margin: 20px 0 0 !important; }
.step-source-link a { display: inline-flex; align-items: center; text-decoration: none; }
.case-step {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 50px;
  padding: 62px 0;
  border-bottom: 2px solid #d7d4cc;
  scroll-margin-top: 98px;
}
.step-label {
  position: sticky;
  top: 104px;
  align-self: start;
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 950;
}
.step-index {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--stage);
  border: 2px solid var(--ink);
  border-radius: 11px;
}
.step-content { max-width: 900px; }
.step-content h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3vw, 49px);
  line-height: 1;
  letter-spacing: -.04em;
}
.step-content > p { color: #4e515b; font-size: 19px; line-height: 1.6; }
.step-content ul { padding-left: 1.1em; font-size: 17px; line-height: 1.7; }
.metric {
  display: inline-block;
  margin-top: 16px;
  padding: 15px 20px;
  background: var(--stage);
  border: var(--border);
  border-radius: 14px;
  box-shadow: 4px 5px 0 var(--ink);
  font-size: 22px;
  font-weight: 950;
}
.mini-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 13px; margin-top: 22px; }
.mini-card { padding: 20px 16px; border: var(--border); border-radius: 14px; background: var(--white); font-weight: 850; }
.matrix { width: 100%; margin-top: 22px; border-collapse: separate; border-spacing: 0; border: var(--border); border-radius: 14px; overflow: hidden; }
.matrix th, .matrix td { padding: 14px 16px; text-align: left; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.matrix tr:first-child { background: var(--stage); font-weight: 900; }
.matrix tr:last-child td { border-bottom: 0; }
.matrix td:last-child { border-right: 0; }
.checklist { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
.checklist li { padding: 13px 15px; background: var(--white); border: 2px solid var(--ink); border-radius: 12px; }
.checklist li::before { content: "✓"; margin-right: 9px; font-weight: 950; }
.inline-prompt {
  margin-top: 25px;
  overflow: hidden;
  border: var(--border);
  border-radius: 17px;
  background: #171a30;
  box-shadow: 6px 7px 0 var(--stage);
}
.inline-prompt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px 14px 20px;
  color: var(--ink);
  background: color-mix(in srgb, var(--stage) 72%, white);
  border-bottom: 3px solid var(--ink);
}
.inline-prompt-toolbar span {
  display: block;
  color: #505461;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.inline-prompt-toolbar strong { display: block; margin-top: 4px; font-size: 16px; }
.inline-prompt pre {
  max-height: 360px;
  margin: 0;
  overflow: auto;
  padding: 24px;
  color: #f6f4ed;
  white-space: pre-wrap;
  font: 13px/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.verification-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.verification-card {
  padding: 22px;
  border: var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 5px 6px 0 var(--ink);
}
.verification-card:nth-child(3) { grid-column: 1 / -1; }
.verification-card header { display: flex; align-items: flex-start; gap: 13px; }
.verification-card header span {
  flex: 0 0 auto;
  padding: 6px 8px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--stage);
  font-size: 11px;
  font-weight: 950;
}
.verification-card h3 { margin: 1px 0 0; font-size: 23px; line-height: 1.05; }
.verification-card > p { color: #4e515b; font-size: 15px; line-height: 1.55; }
.verification-card > ul {
  columns: 2;
  column-gap: 25px;
  margin: 16px 0 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
}
.verification-card > ul li { break-inside: avoid; margin-bottom: 6px; }
.verification-questions,
.verification-examples {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 5px solid var(--stage);
  background: #f1efe8;
}
.verification-questions b,
.verification-examples b { display: block; margin-bottom: 7px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.verification-questions p,
.verification-examples p { margin: 5px 0; color: #4e515b; font-size: 13px; line-height: 1.4; }
.verification-card figure {
  margin: 18px 0 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: white;
}
.verification-card figure img { display: block; width: 100%; height: auto; }
.verification-note { padding: 13px 15px; background: color-mix(in srgb, var(--stage) 35%, white); border-radius: 10px; font-weight: 780; }
.verification-link {
  display: inline-flex;
  margin-top: 16px;
  padding: 10px 13px;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--stage);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.quote-box { padding: 21px; border: var(--border); border-radius: 15px; background: var(--white); font-size: 17px; line-height: 1.55; }
.quote-box.after { background: color-mix(in srgb, var(--stage) 45%, white); }
.quote-box b { display: block; margin-bottom: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.chart {
  height: 250px;
  margin-top: 24px;
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 22px 18px 30px;
  border: var(--border);
  border-radius: 17px;
  background: repeating-linear-gradient(to top, #fff 0, #fff 49px, #dedbd3 50px);
}
.research-figure {
  margin: 26px 0 0;
  padding: 14px;
  border: var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 6px 7px 0 var(--ink);
}
.research-figure a {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: white;
}
.research-figure img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .2s ease;
}
.research-figure a:hover img { transform: scale(1.012); }
.research-figure figcaption {
  margin: 13px 5px 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.bar {
  flex: 1;
  height: var(--height);
  min-width: 8px;
  background: var(--stage);
  border: 2px solid var(--ink);
  border-radius: 7px 7px 0 0;
  animation: grow .55s ease both;
}
.case-footer { padding: 45px 0 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.case-footer p { max-width: 700px; margin: 0; color: var(--muted); }
.live-bridge {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(16,18,35,.78);
  backdrop-filter: blur(12px);
}
.bridge-card {
  width: min(880px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 34px;
  color: var(--ink);
  background: var(--paper);
  border: var(--border);
  border-radius: 24px;
  box-shadow: 12px 14px 0 var(--stage);
  animation: overlay-in .5s ease both;
}
.bridge-card h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1; letter-spacing: -.04em; }
.prompt-box { padding: 18px; background: var(--white); border: 2px solid var(--ink); border-radius: 14px; line-height: 1.5; }
.bridge-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
#toast {
  position: fixed;
  left: 50%;
  bottom: 78px;
  z-index: 200;
  transform: translate(-50%, 20px);
  padding: 10px 15px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  font-weight: 800;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.mint { --card: var(--mint); --stage: var(--mint); }
.sky { --card: var(--sky); --stage: var(--sky); }
.coral { --card: var(--coral); --stage: var(--coral); }
.violet { --card: var(--violet); --stage: var(--violet); }
.yellow { --card: var(--yellow); --stage: var(--yellow); }
.pink { --card: var(--pink); --stage: var(--pink); }

.prompt-viewer {
  margin-top: 25px;
  border: var(--border);
  border-radius: 17px;
  overflow: hidden;
  background: #171a30;
  box-shadow: 6px 7px 0 var(--stage);
}
.prompt-toolbar {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 13px 10px 19px;
  color: var(--ink);
  background: var(--stage);
  border-bottom: 3px solid var(--ink);
  font-weight: 900;
}
.prompt-viewer pre {
  max-height: 510px;
  margin: 0;
  overflow: auto;
  padding: 25px;
  color: #f5f3ed;
  white-space: pre-wrap;
  font: 14px/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  tab-size: 2;
}
.research-artifact {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}
.evaluation-artifact {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 24px;
  margin-top: 28px;
}
.artifact-card {
  overflow: hidden;
  border: var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 6px 7px 0 var(--ink);
}
.artifact-toolbar,
.code-artifact summary,
.code-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.artifact-toolbar {
  min-height: 72px;
  padding: 13px 16px 13px 20px;
  background: color-mix(in srgb, var(--stage) 72%, white);
  border-bottom: 3px solid var(--ink);
}
.artifact-toolbar strong,
.code-artifact summary strong {
  display: block;
  margin-top: 3px;
  font-size: 17px;
}
.artifact-kicker {
  display: block;
  color: #505461;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.prompt-artifact pre {
  max-height: 440px;
  margin: 0;
  overflow: auto;
  padding: 25px;
  color: #f6f4ed;
  background: #171a30;
  white-space: pre-wrap;
  font: 13px/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  tab-size: 2;
}
.code-artifact summary {
  min-height: 76px;
  padding: 15px 20px;
  cursor: pointer;
  list-style: none;
  background: #edf0f4;
}
.code-artifact summary::-webkit-details-marker { display: none; }
.code-artifact summary::before {
  content: "+";
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 950;
}
.code-artifact[open] summary::before { content: "−"; }
.code-artifact summary > span:first-of-type { margin-right: auto; }
.summary-cue {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.code-actions {
  padding: 11px 14px 11px 20px;
  border-top: 3px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
}
.code-actions > div { display: flex; gap: 8px; }
.code-actions a { display: inline-flex; align-items: center; text-decoration: none; }
.code-frame {
  display: block;
  width: 100%;
  height: min(540px, 70vh);
  border: 0;
  background: white;
}
.result-artifact { padding-bottom: 18px; }
.result-artifact .artifact-toolbar { margin-bottom: 0; }
.verified-badge {
  padding: 7px 10px;
  border: 2px solid var(--ink);
  border-radius: 99px;
  background: var(--white);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}
.artifact-figure {
  margin: 20px 20px 0;
  border-width: 2px;
  box-shadow: none;
}
.coverage-note {
  margin: 18px 22px 0;
  padding: 15px 17px;
  border-left: 5px solid var(--stage);
  color: #4f5360;
  background: #f1efe8;
  font-size: 13px;
  line-height: 1.55;
}
.artifact-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 17px 22px 2px;
}
.artifact-downloads a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 10px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
}
.artifact-downloads a:hover {
  color: var(--paper);
  background: var(--ink);
}
.evaluation-result { background: #fdfcf8; }
.verdict-strip {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 12px 16px;
  padding: 18px 20px;
  color: var(--ink);
  background: color-mix(in srgb, var(--stage) 30%, white);
  border-bottom: 2px solid var(--ink);
}
.verdict-strip > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.verdict-strip > strong {
  padding: 7px 10px;
  border: 2px solid var(--ink);
  border-radius: 99px;
  background: var(--stage);
  font-size: 12px;
  text-transform: uppercase;
}
.verdict-strip p {
  margin: 0;
  color: #4f5360;
  font-size: 13px;
  line-height: 1.45;
}
.evaluation-transcript summary {
  padding: 16px 20px;
  cursor: pointer;
  border-bottom: 2px solid var(--ink);
  font-weight: 900;
}
.evaluation-transcript pre {
  max-height: 720px;
  margin: 0;
  overflow: auto;
  padding: 24px;
  color: #242737;
  background: #fffefa;
  white-space: pre-wrap;
  font: 12.5px/1.62 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  tab-size: 2;
}
.custom-workflow {
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.custom-workflow span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: var(--stage);
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-weight: 900;
}
.custom-workflow i { font-style: normal; font-size: 20px; }
.digest-previews {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  margin-top: 26px;
}
.dashboard-embed {
  margin-top: 26px;
  overflow: hidden;
  border: var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 7px 8px 0 var(--ink);
}
.dashboard-embed-toolbar {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  border-bottom: 2px solid var(--ink);
  background: color-mix(in srgb, var(--stage) 32%, white);
}
.dashboard-embed-toolbar > div { display: grid; gap: 7px; }
.dashboard-embed-toolbar .preview-label { width: max-content; margin: 0; }
.dashboard-embed-toolbar strong { font-size: 18px; }
.dashboard-embed-toolbar a { display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; }
.dashboard-context {
  margin: 0;
  padding: 10px 18px;
  color: var(--ink) !important;
  background: var(--yellow);
  border-bottom: 2px solid var(--ink);
  font-size: 12px !important;
  font-weight: 850;
}
.dashboard-embed iframe {
  display: block;
  width: 100%;
  height: min(68vh, 720px);
  min-height: 520px;
  border: 0;
  background: #f5f7f2;
}
.document-embed {
  margin-top: 26px;
  overflow: hidden;
  border: var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 7px 8px 0 var(--ink);
}
.document-embed-toolbar {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  border-bottom: 2px solid var(--ink);
  background: color-mix(in srgb, var(--stage) 32%, white);
}
.document-embed-toolbar > div:first-child { display: grid; gap: 7px; }
.document-embed-toolbar .preview-label { width: max-content; margin: 0; }
.document-embed-toolbar strong { font-size: 18px; }
.document-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.document-actions a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}
.document-context {
  margin: 0;
  padding: 10px 18px;
  color: var(--ink) !important;
  background: var(--yellow);
  border-bottom: 2px solid var(--ink);
  font-size: 12px !important;
  font-weight: 850;
}
.document-embed iframe {
  display: block;
  width: 100%;
  height: min(74vh, 820px);
  min-height: 600px;
  border: 0;
  background: #d9dde4;
}
.dashboard-preview, .email-preview {
  position: relative;
  padding: 25px;
  border: var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 6px 7px 0 var(--ink);
}
.preview-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 9px;
  border: 2px solid var(--ink);
  border-radius: 99px;
  background: var(--stage);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.digest-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.digest-summary div {
  padding: 13px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: color-mix(in srgb, var(--stage) 28%, white);
}
.digest-summary strong { display: block; font-size: 28px; }
.digest-summary span { color: var(--muted); font-size: 12px; font-weight: 750; }
.fake-filters { display: flex; gap: 8px; margin: 15px 0; }
.fake-filters span {
  padding: 7px 10px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
}
.paper-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.paper-preview-grid article { padding: 13px; color: var(--paper); background: var(--ink); border-radius: 11px; }
.paper-preview-grid article b { color: var(--stage); font-size: 10px; text-transform: uppercase; }
.paper-preview-grid article h3 { margin: 18px 0 11px; font-size: 15px; line-height: 1.15; }
.paper-preview-grid article p { margin: 0; color: #bfc1cc; font-size: 10px; }
.email-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  font-size: 10px;
  font-weight: 900;
}
.email-preview h3 { margin: 25px 0 20px; font-size: 28px; line-height: 1; }
.email-preview ul { padding-left: 18px; line-height: 1.5; font-size: 14px; }
.email-section { padding: 12px; background: color-mix(in srgb, var(--stage) 35%, white); border-radius: 10px; font-size: 12px; font-weight: 800; }

@keyframes wobble {
  0%,100% { rotate: 0deg; }
  25% { rotate: -1.2deg; }
  60% { rotate: 1.1deg; }
}
@keyframes overlay-in {
  0% { opacity: 0; transform: scale(.975) rotate(-.35deg); }
  55% { opacity: 1; transform: scale(1.008) rotate(.18deg); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes grow { from { height: 0; } }

body.motion-off *, body.motion-off *::before, body.motion-off *::after {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
  scroll-behavior: auto !important;
}

@media (max-width: 1050px) {
  .stage-grid { grid-template-columns: repeat(3, 1fr); }
  .scenario-grid { grid-template-columns: repeat(2, 1fr); }
  .chapter-heading, .case-head { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 720px) {
  .topbar { width: calc(100% - 28px); height: 74px; }
  .brand small, .control .key, .control.home-control { display: none; }
  .control { padding: 8px 10px; font-size: 12px; }
  #main { width: calc(100% - 30px); padding-top: 10px; }
  .stage-grid, .scenario-grid { grid-template-columns: 1fr; }
  .stage-card { min-height: 160px; }
  .stage-card h2 { margin-top: 22px; }
  .case-wrap { width: calc(100% - 28px); padding-top: 38px; }
  .case-step { grid-template-columns: 1fr; gap: 22px; padding: 42px 0; }
  .step-label { position: static; }
  .overlay-top { align-items: flex-start; }
  .overlay-progress { display: none; }
  .overlay-actions .light-button { display: none; }
  .before-after, .checklist { grid-template-columns: 1fr; }
  .verification-grid { grid-template-columns: 1fr; }
  .verification-card:nth-child(3) { grid-column: auto; }
  .verification-card > ul { columns: 1; }
  .inline-prompt-toolbar { align-items: flex-start; flex-direction: column; }
  .case-footer { align-items: flex-start; flex-direction: column; }
  .home-intro-row { align-items: flex-start; flex-direction: column; }
  .concept-backdrop { align-items: start; padding: 12px; }
  .concept-modal { max-height: none; padding: 19px; border-radius: 20px; }
  .concept-modal-head h1 { font-size: 34px; }
  .comic-grid, .skill-story { grid-template-columns: 1fr; }
  .start-grid { grid-template-columns: 1fr; }
  .start-card { min-height: 0; }
  .comic-versus, .story-arrow { margin: -4px auto; transform: rotate(0); }
  .comic-panel { min-height: 430px; }
}
@media (min-width: 900px) and (max-height: 800px) {
  .topbar { height: 76px; }
  #main { min-height: calc(100vh - 112px); padding: 4px 0 54px; }
  .home-hero { padding-top: 0; }
  h1 { font-size: clamp(40px, 4.65vw, 67px); margin-bottom: 10px; }
  .lead { font-size: 17px; margin-bottom: 10px; }
  .definition { margin: 15px 0 13px; padding: 12px 18px; font-size: 16px; }
  .flow-strip { margin-bottom: 16px; }
  .stage-grid { gap: 13px; }
  .stage-card { min-height: 178px; padding: 16px; }
  .stage-card h2 { margin: 25px 0 8px; font-size: 21px; }
  .stage-card p { font-size: 12px; }
  .presenter-tip { display: none; }
  .chapter-heading { margin-bottom: 22px; }
  .chapter-number { width: 52px; height: 52px; margin-bottom: 12px; }
  .scenario-card { min-height: 235px; }
}
@media (min-width: 721px) and (max-width: 1050px) and (max-height: 800px) {
  .topbar { height: 68px; }
  #main { min-height: calc(100vh - 98px); padding: 0 0 45px; }
  .eyebrow { margin-bottom: 8px; }
  .definition { margin: 10px 0 10px; padding: 10px 16px; font-size: 14px; }
  .flow-strip { margin-bottom: 11px; }
  .flow-strip span { font-size: 11px; }
  .stage-grid { gap: 9px 14px; }
  .stage-card { min-height: 132px; padding: 13px 15px; border-radius: 17px; }
  .stage-card .icon { font-size: 24px; }
  .stage-card h2 { margin: 12px 0 5px; font-size: 19px; }
  .stage-card p { font-size: 10px; }
  .presenter-tip { display: none; }
}
@media (max-width: 900px) {
  .digest-previews { grid-template-columns: 1fr; }
  .evaluation-artifact { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .paper-preview-grid, .digest-summary { grid-template-columns: 1fr; }
  .prompt-toolbar { align-items: flex-start; flex-direction: column; }
  .dashboard-embed-toolbar { align-items: flex-start; flex-direction: column; }
  .dashboard-embed iframe { min-height: 460px; }
  .document-embed-toolbar { align-items: flex-start; flex-direction: column; }
  .document-actions { justify-content: flex-start; }
  .document-embed iframe { min-height: 500px; }
  .artifact-toolbar, .code-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .code-artifact summary { align-items: flex-start; }
  .summary-cue { display: none; }
  .code-actions > div { flex-wrap: wrap; }
  .artifact-figure { margin: 14px 10px 0; padding: 7px; }
  .coverage-note, .artifact-downloads { margin-left: 12px; margin-right: 12px; }
  .verdict-strip { grid-template-columns: 1fr; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
