:root {
  --paper: #f8fafc;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #dbe2ea;
  --brand: #ff6b00;
  --brand-soft: #fff0e5;
  --blue: #ff6b00;
  --blue-soft: #fff0e5;
  --green: #0f8a91;
  --green-soft: #e3f3f3;
  --red: #2563eb;
  --red-soft: #e8f0ff;
  --yellow: #f59e0b;
  --header-height: 66px;
  --header-top: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Space Grotesk", "Noto Sans SC", "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: var(--header-top);
  left: 50%;
  z-index: 100;
  width: min(1200px, calc(100% - 32px));
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
  transform: translateX(-50%);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-color: #cbd5e1;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(12px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  line-height: 1;
}

.brand-symbol {
  position: relative;
  width: 30px;
  height: 30px;
  display: block;
  transform: rotate(45deg);
}

.brand-symbol i {
  position: absolute;
  width: 8px;
  height: 8px;
  display: block;
  background: var(--brand);
  border-radius: 2px;
}

.brand-symbol i:nth-child(1) { top: 0; left: 11px; }
.brand-symbol i:nth-child(2) { top: 11px; left: 0; }
.brand-symbol i:nth-child(3) { top: 11px; left: 11px; }
.brand-symbol i:nth-child(4) { top: 11px; right: 0; }
.brand-symbol i:nth-child(5) { bottom: 0; left: 11px; }

.wordmark-text {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.wordmark-text b {
  color: var(--brand);
  font-weight: 800;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}

.header-nav a:not(.header-cta) {
  border-bottom: 1px solid transparent;
}

.header-nav a:not(.header-cta):hover {
  border-color: currentColor;
}

.header-cta {
  padding: 8px 13px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 4px;
}

.header-cta:hover {
  background: var(--brand);
  border-color: var(--brand);
}

.hero {
  position: relative;
  min-height: 88svh;
  max-height: 920px;
  height: 820px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

#work-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 64px));
  text-align: center;
  transform: translateY(-18px);
}

.eyebrow,
.section-kicker,
.scene-code {
  margin: 0 0 22px;
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: "Space Grotesk", "Noto Sans SC", "Segoe UI", sans-serif;
  font-size: 74px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: var(--brand);
}

.hero-statement {
  margin: 34px auto 0;
  max-width: 830px;
  font-family: "Noto Sans SC", "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 40px;
  line-height: 1.35;
  font-weight: 800;
}

.hero-statement strong {
  color: var(--brand);
  font-weight: 800;
}

.hero-signals {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 38px;
  color: var(--muted);
  font-size: 14px;
}

.hero-signals span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.signal {
  width: 20px;
  height: 5px;
  display: inline-block;
}

.signal-blue { background: var(--blue); }
.signal-green { background: var(--green); }
.signal-red { background: var(--red); }

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 50%;
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  transform: translateX(-50%);
}

.section-band {
  border-bottom: 1px solid var(--line);
}

.scenario-overview {
  padding: 116px max(40px, calc((100vw - 1120px) / 2)) 96px;
  background: var(--paper);
}

.section-intro {
  max-width: 760px;
}

.section-intro h2,
.principles-copy h2,
.conversation-copy h2 {
  margin: 0 0 20px;
  font-family: "Noto Sans SC", "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 46px;
  line-height: 1.24;
  font-weight: 800;
}

.section-intro > p:last-child,
.principles-copy > p:last-child,
.conversation-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.scenario-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 72px;
}

.scenario-link {
  min-height: 340px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 25px 28px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.scenario-link:hover,
.scenario-link:focus-visible {
  color: #fff;
  border-color: transparent;
  transform: translateY(-4px);
}

.scenario-link.scene-blue:hover,
.scenario-link.scene-blue:focus-visible { background: var(--blue); }
.scenario-link.scene-green:hover,
.scenario-link.scene-green:focus-visible { background: var(--green); }
.scenario-link.scene-red:hover,
.scenario-link.scene-red:focus-visible { background: var(--red); }

.scenario-number {
  font-family: Consolas, monospace;
  font-size: 13px;
}

.scenario-icon {
  height: 88px;
  display: flex;
  align-items: end;
  gap: 8px;
  margin: 38px 0 35px;
}

.scenario-icon i {
  width: 22px;
  display: block;
  background: currentColor;
}

.scene-blue .scenario-icon { color: var(--blue); }
.scene-green .scenario-icon { color: var(--green); }
.scene-red .scenario-icon { color: var(--red); }
.scenario-link:hover .scenario-icon,
.scenario-link:focus-visible .scenario-icon { color: #fff; }

.document-icon {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.document-icon i {
  width: 78px;
  height: 8px;
}

.document-icon i:nth-child(2) { width: 56px; }
.document-icon i:nth-child(3) { width: 68px; }

.route-icon {
  align-items: center;
  position: relative;
  gap: 24px;
}

.route-icon::before,
.route-icon::after {
  content: "";
  position: absolute;
  top: 42px;
  width: 24px;
  height: 2px;
  background: currentColor;
}

.route-icon::before { left: 18px; }
.route-icon::after { left: 64px; }
.route-icon i { width: 18px; height: 18px; }

.scenario-link strong {
  font-family: "Noto Sans SC", "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 25px;
  font-weight: 800;
}

.scenario-link small {
  margin-top: 5px;
  color: var(--muted);
}

.scenario-link:hover small,
.scenario-link:focus-visible small { color: rgba(255,255,255,0.78); }

.scenario-arrow {
  position: absolute;
  right: 28px;
  bottom: 24px;
  font-size: 24px;
}

.scene-index {
  position: sticky;
  top: calc(var(--header-height) + var(--header-top) + 8px);
  z-index: 90;
  display: flex;
  justify-content: center;
  background: rgba(248, 250, 252, 0.97);
  border-bottom: 1px solid var(--line);
}

.scene-index a {
  min-width: 180px;
  padding: 13px 22px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.scene-index a:last-child {
  border-right: 1px solid var(--line);
}

.scene-index a span {
  margin-right: 8px;
  font-family: Consolas, monospace;
}

.scene-index a.is-active {
  color: #fff;
  background: var(--ink);
}

.scene {
  --accent: var(--blue);
  --accent-soft: var(--blue-soft);
  padding: 120px max(40px, calc((100vw - 1200px) / 2)) 150px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.scene-knowledge {
  --accent: var(--green);
  --accent-soft: var(--green-soft);
  background: #f3f8f8;
}

.scene-automation {
  --accent: var(--red);
  --accent-soft: var(--red-soft);
  background: #f4f7fc;
}

.scene-heading {
  max-width: 760px;
  margin-bottom: 80px;
}

.scene-heading h2 {
  margin: 0 0 16px;
  font-family: "Noto Sans SC", "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 58px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--accent);
}

.scene-heading > p:last-child {
  margin: 0;
  font-size: 20px;
  color: var(--muted);
}

.scene-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: 84px;
  align-items: start;
}

.workbench {
  position: sticky;
  top: 134px;
  min-height: 640px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--ink);
  border-radius: 6px;
  box-shadow: 10px 10px 0 var(--accent-soft);
}

.workbench-topbar {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ink);
}

.workbench-topbar > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 7px;
  color: var(--accent, var(--ink));
  background: var(--accent-soft, #e8ecea);
  border: 1px solid currentColor;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
}

.icon-button {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  font-size: 21px;
}

.icon-button:hover { border-color: var(--ink); }

.mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 16px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  overflow: hidden;
}

.mode-switch button {
  padding: 9px;
  border: 0;
  border-right: 1px solid var(--ink);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
}

.mode-switch button:last-child { border-right: 0; }
.mode-switch button[aria-pressed="true"] { color: #fff; background: var(--accent); }

.workflow-view {
  display: none;
  padding: 12px 26px 28px;
}

.workflow-view.is-visible { display: block; }

.manual-stack {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.manual-stack div {
  display: grid;
  grid-template-columns: 70px 1fr;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.manual-stack span {
  color: var(--muted);
  font-family: Consolas, monospace;
  font-size: 12px;
}

.workflow-note {
  margin: 30px 0 0;
  padding: 16px;
  color: var(--muted);
  background: #f3f4f3;
  border-left: 4px solid var(--line);
}

.sample-input {
  min-height: 132px;
  padding: 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 4px;
}

.sample-input > span,
.demo-output > span {
  display: block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.input-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
}

.input-row em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.mini-bars {
  height: 52px;
  display: flex;
  align-items: end;
  gap: 10px;
  margin-top: 10px;
  border-bottom: 1px solid var(--accent);
}

.mini-bars i {
  flex: 1;
  display: block;
  background: var(--accent);
}

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 26px 0 20px;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: var(--line);
}

.process-node {
  position: relative;
  z-index: 1;
  text-align: center;
  opacity: 0.42;
  transition: opacity 160ms ease, transform 160ms ease;
}

.process-node > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin: 0 auto 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: Consolas, monospace;
  font-size: 12px;
}

.process-node strong,
.process-node small { display: block; }
.process-node small { color: var(--muted); font-size: 11px; }

.process-node.is-running,
.process-node.is-complete {
  opacity: 1;
  transform: translateY(-2px);
}

.process-node.is-running > span { color: #fff; background: var(--accent); border-color: var(--accent); }
.process-node.is-complete > span { color: var(--accent); border-color: var(--accent); }

.demo-status {
  min-height: 28px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.primary-button,
.secondary-button,
.check-actions button {
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
}

.primary-button {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.primary-button:hover {
  background: #e85f00;
  border-color: #e85f00;
}

.check-actions .confirm-demo {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.check-actions .confirm-demo:hover {
  background: var(--accent);
  border-color: var(--accent);
  filter: brightness(0.9);
}
.secondary-button,
.check-actions .revise-demo { background: #fff; }

.run-demo {
  width: 100%;
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.run-demo:hover {
  background: #1e293b;
  border-color: #1e293b;
}

.run-demo:disabled {
  cursor: wait;
  opacity: 0.55;
}

.human-check,
.demo-output {
  margin-top: 20px;
  padding: 17px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: #fff;
}

.human-check[hidden],
.demo-output[hidden] { display: none; }

.check-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.human-check p { margin: 8px 0 14px; }

.check-actions {
  display: flex;
  gap: 8px;
}

.check-actions button {
  flex: 1;
  min-height: 40px;
  font-size: 12px;
}

.demo-output {
  background: var(--accent-soft);
}

.demo-output h3 {
  margin: 9px 0 5px;
  font-family: "Noto Sans SC", "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 23px;
  font-weight: 800;
}

.demo-output p { margin: 0; }

.output-meta,
.source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.output-meta span,
.source-strip span,
.source-strip b {
  padding: 4px 7px;
  background: rgba(255,255,255,0.72);
  border: 1px solid currentColor;
  border-radius: 3px;
  font-size: 11px;
}

.document-sample p {
  margin: 12px 0 6px;
  font-family: "Noto Sans SC", "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.document-sample em {
  color: var(--red);
  font-size: 12px;
  font-style: normal;
}

.document-search {
  margin-top: 24px;
  border: 1px solid var(--line);
}

.search-line {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.search-line:last-child { border-bottom: 0; }

.task-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 16px;
}

.task-chips b {
  padding: 5px;
  border: 1px solid var(--accent);
  text-align: center;
  font-size: 11px;
}

.handoff-map {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin-top: 52px;
}

.handoff-map span {
  padding: 8px 10px;
  background: #f3f4f3;
  border: 1px solid var(--line);
  font-size: 11px;
}

.handoff-map i {
  color: var(--muted);
  font-style: normal;
}

.completion-list p {
  display: grid;
  grid-template-columns: 24px 1fr;
  padding: 6px 0;
}

.completion-list i {
  color: var(--accent);
  font-style: normal;
}

.scene-steps {
  padding-bottom: 120px;
}

.story-step {
  min-height: 420px;
  padding: 35px 0 80px;
  opacity: 0.34;
  border-top: 1px solid var(--line);
  transition: opacity 200ms ease;
}

.story-step.is-active { opacity: 1; }

.story-step > span {
  color: var(--accent);
  font-family: Consolas, monospace;
  font-size: 11px;
}

.story-step h3 {
  margin: 20px 0 12px;
  font-family: "Noto Sans SC", "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 29px;
  line-height: 1.35;
  font-weight: 800;
}

.story-step p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.services {
  padding: 120px max(40px, calc((100vw - 1120px) / 2));
  background: #0b1220;
  color: #fff;
}

.services .section-kicker,
.services-intro > p:last-child { color: #aebcb7; }

.service-list {
  margin-top: 76px;
  border-top: 1px solid #71807b;
}

.service-list article {
  display: grid;
  grid-template-columns: 70px 1.1fr 1.5fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid #71807b;
}

.service-list article > span {
  color: #aebcb7;
  font-family: Consolas, monospace;
}

.service-list h3,
.service-list p { margin: 0; }
.service-list h3 { font-size: 20px; }
.service-list p { color: #c5ceca; }
.service-list b { color: #ff9a52; font-size: 14px; text-align: right; }

.large-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 70px;
  padding: 24px 0;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  font-family: "Noto Sans SC", "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 30px;
  font-weight: 800;
}

.large-cta:hover { color: #ff9a52; }

.principles {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  padding: 130px max(40px, calc((100vw - 1120px) / 2));
  background: #fff;
  border-bottom: 1px solid var(--ink);
}

.principle-diagram {
  position: relative;
  min-height: 430px;
  padding-left: 190px;
}

.core-label {
  position: absolute;
  top: 120px;
  left: 0;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 4px;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
}

.principle-line {
  display: grid;
  grid-template-columns: 90px 1fr 1.8fr;
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.principle-line span { font-size: 13px; font-weight: 700; }
.principle-line i { height: 3px; margin: 0 18px; background: var(--blue); }
.principle-line b { font-family: "Noto Sans SC", "Segoe UI", "Microsoft YaHei", sans-serif; font-size: 17px; }
.principle-line.line-b i { background: var(--green); }
.principle-line.line-c i { background: var(--red); }
.principle-line.line-d i { background: var(--yellow); }

.conversation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding: 130px max(40px, calc((100vw - 1120px) / 2));
  color: #fff;
  background: var(--brand);
}

.conversation .section-kicker,
.conversation-copy > p:last-child {
  color: rgba(255, 255, 255, 0.82);
}

.conversation-builder {
  align-self: start;
  padding: 28px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 6px;
  box-shadow: 10px 10px 0 rgba(15, 23, 42, 0.22);
}

.builder-label { margin: 0 0 16px; font-weight: 700; }

.topic-options {
  display: grid;
  gap: 8px;
}

.topic-options button {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.topic-options button[aria-pressed="true"] {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.consultation-button {
  width: 100%;
  margin-top: 22px;
  background: var(--ink);
  border-color: var(--ink);
}

.conversation-builder small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
  align-items: end;
  padding: 42px max(34px, calc((100vw - 1200px) / 2));
  color: #fff;
  background: var(--ink);
}

.site-footer strong { font-family: "Space Grotesk", "Noto Sans SC", sans-serif; font-size: 21px; }
.site-footer p { margin: 0; color: #b9c4c0; font-size: 13px; }
.site-footer a { border-bottom: 1px solid currentColor; font-size: 13px; }

.brief-dialog {
  --accent: var(--brand);
  --accent-soft: var(--brand-soft);
  width: min(620px, calc(100% - 32px));
  max-height: calc(100svh - 40px);
  padding: 34px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 6px;
  box-shadow: 12px 12px 0 var(--brand-soft);
  overflow: auto;
}

.brief-dialog::backdrop { background: rgba(15, 23, 42, 0.76); }

.brief-dialog h2 {
  margin: 18px 0;
  font-family: "Noto Sans SC", "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 30px;
  font-weight: 800;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  font-size: 23px;
}

.brief-content {
  padding: 18px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.brief-content p { margin: 0 0 12px; }
.brief-content p:last-child { margin-bottom: 0; }
.brief-content strong { color: var(--brand); }

.dialog-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.copy-status { min-height: 24px; margin: 8px 0 0; color: var(--brand); font-size: 13px; }

@media (max-width: 980px) {
  .hero h1 { font-size: 62px; }
  .scene-layout { grid-template-columns: 1fr; gap: 60px; }
  .workbench { position: relative; top: auto; max-width: 760px; }
  .scene-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-bottom: 0; }
  .story-step { min-height: 0; padding: 24px 0; opacity: 1; }
  .principles { grid-template-columns: 1fr; gap: 60px; }
  .conversation { grid-template-columns: 1fr; gap: 50px; }
  .service-list article { grid-template-columns: 50px 1fr; }
  .service-list article p,
  .service-list article b { grid-column: 2; text-align: left; }
}

@media (max-width: 760px) {
  :root { --header-height: 58px; --header-top: 10px; }
  .site-header {
    width: calc(100% - 20px);
    padding-right: max(12px, env(safe-area-inset-right));
    padding-left: max(12px, env(safe-area-inset-left));
  }
  .wordmark { gap: 7px; min-width: 0; }
  .brand-symbol { width: 22px; height: 22px; flex: 0 0 22px; }
  .brand-symbol i { width: 6px; height: 6px; border-radius: 1px; }
  .brand-symbol i:nth-child(1) { top: 0; left: 8px; }
  .brand-symbol i:nth-child(2) { top: 8px; left: 0; }
  .brand-symbol i:nth-child(3) { top: 8px; left: 8px; }
  .brand-symbol i:nth-child(4) { top: 8px; right: 0; }
  .brand-symbol i:nth-child(5) { bottom: 0; left: 8px; }
  .wordmark-text { font-size: 12px; white-space: nowrap; }
  .header-nav a:not(.header-cta) { display: none; }
  .header-cta {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    font-size: 12px;
  }
  .hero { min-height: 86svh; height: 720px; max-height: none; }
  .hero-content { width: calc(100% - 32px); transform: translateY(-8px); }
  .eyebrow { margin-bottom: 16px; font-size: 10px; }
  .hero h1 { font-size: 42px; line-height: 1.03; overflow-wrap: anywhere; }
  .hero-statement { margin-top: 26px; font-size: 24px; }
  .hero-signals { gap: 13px; margin-top: 28px; font-size: 11px; }
  .signal { width: 13px; }
  .scroll-cue { bottom: 18px; }
  .scenario-overview,
  .scene,
  .services,
  .principles,
  .conversation {
    padding-right: max(18px, env(safe-area-inset-right));
    padding-left: max(18px, env(safe-area-inset-left));
  }
  .scenario-overview { padding-top: 82px; padding-bottom: 70px; }
  .section-intro h2,
  .principles-copy h2,
  .conversation-copy h2 { font-size: 34px; }
  .section-intro > p:last-child,
  .principles-copy > p:last-child,
  .conversation-copy > p:last-child { font-size: 16px; }
  .scenario-rail { grid-template-columns: 1fr; gap: 12px; margin-top: 46px; }
  .scenario-link { min-height: 230px; }
  .scenario-icon { height: 54px; margin: 24px 0 20px; }
  .scene-index { justify-content: stretch; overflow-x: auto; }
  .scene-index a {
    min-width: 0;
    min-height: 44px;
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 8px;
    white-space: nowrap;
    font-size: 11px;
  }
  .scene-index a span { display: none; }
  .scene { padding-top: 82px; padding-bottom: 92px; }
  .scene-heading { margin-bottom: 48px; }
  .scene-heading h2 { font-size: 40px; }
  .scene-heading > p:last-child { font-size: 17px; }
  .workbench { min-height: 610px; box-shadow: 6px 6px 0 var(--accent-soft); }
  .workbench-topbar { padding: 10px 12px; }
  .icon-button { width: 44px; height: 44px; flex: 0 0 44px; }
  .workbench-topbar > div { gap: 7px; }
  .workbench-topbar strong { font-size: 13px; }
  .workflow-view { padding: 10px 14px 20px; }
  .input-row { align-items: flex-start; flex-direction: column; gap: 3px; }
  .process-track { gap: 4px; }
  .process-node strong { font-size: 12px; }
  .check-actions { flex-direction: column; }
  .scene-steps { grid-template-columns: 1fr; gap: 0; }
  .story-step { border-top: 1px solid var(--line); }
  .story-step h3 { font-size: 24px; }
  .services { padding-top: 86px; padding-bottom: 86px; }
  .service-list { margin-top: 50px; }
  .service-list article { grid-template-columns: 38px 1fr; gap: 12px; }
  .large-cta { font-size: 24px; }
  .principles { padding-top: 86px; padding-bottom: 86px; }
  .principle-diagram { min-height: 0; padding: 150px 0 0; }
  .core-label { top: 0; width: 128px; height: 128px; }
  .principle-line { grid-template-columns: 82px 40px 1fr; }
  .principle-line i { margin: 0 8px; }
  .principle-line b { font-size: 14px; }
  .conversation { padding-top: 86px; padding-bottom: 86px; }
  .conversation-builder { padding: 20px; box-shadow: 6px 6px 0 rgba(15, 23, 42, 0.22); }
  .site-footer { grid-template-columns: 1fr; align-items: start; padding: 34px 18px; }
  .brief-dialog { padding: 26px 18px 20px; }
  .brief-dialog h2 { font-size: 25px; padding-right: 34px; }
  .dialog-actions { flex-direction: column; }
  .handoff-map { flex-wrap: wrap; justify-content: flex-start; }
}

@media (max-width: 360px) {
  .brand-symbol { display: none; }
  .hero h1 { font-size: 36px; }
  .hero-statement { font-size: 22px; }
  .hero-signals { flex-wrap: wrap; }
  .task-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principle-line { grid-template-columns: 72px 32px 1fr; }
  .principle-line i { margin: 0 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
