:root {
  --ink: #111418;
  --paper: #f3f0e8;
  --paper-2: #e9e5db;
  --white: #fbfaf6;
  --muted: #5d6670;
  --line: #c9c6bd;
  --line-dark: #252b27;
  --acid: #b9f45d;
  --acid-2: #9ee43f;
  --blue: #316bd9;
  --orange: #e16d3d;
  --console-bg: #080c11;
  --console-surface: #0e141b;
  --console-raised: #141d27;
  --console-border: #2a3541;
  --console-text: #f3f7fa;
  --console-muted: #96a2ad;
  --state-agent: #64e3ad;
  --state-data: #66b2ff;
  --state-plan: #b9a2ff;
  --state-waiting: #f4b85e;
  --state-success: #55d98a;
  --state-error: #ff7777;
  --max: 1360px;
  --gutter: clamp(20px, 4vw, 64px);
  --section: clamp(84px, 10vw, 152px);
  --sans: "Neue Haas Grotesk Text Pro", Aptos, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: 8px; left: 8px; padding: 10px 14px; background: var(--acid); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.copy-en, .copy-zh { display: block; }
body[data-primary-language="en"] [lang="zh-CN"] { display: none !important; }
body[data-primary-language="zh"] [lang="en"] { display: none !important; }
body[data-primary-language="zh"] .copy-zh { margin-top: 0 !important; color: inherit; font-size: inherit !important; line-height: inherit !important; letter-spacing: inherit !important; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  min-height: 76px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(244, 243, 239, .94);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; width: fit-content; }
.brand > span { font-size: 25px; font-weight: 900; letter-spacing: -.06em; }
.brand > small { padding-left: 12px; border-left: 1px solid var(--ink); font: 9px/1.25 var(--mono); letter-spacing: .08em; }
.site-nav { display: flex; justify-content: center; align-items: stretch; }
.nav-link { position: relative; display: flex; align-items: center; gap: 7px; padding: 0 20px; font-size: 13px; font-weight: 700; }
.nav-link small { color: var(--muted); font-size: 10px; font-weight: 500; }
.nav-link::after { position: absolute; right: 20px; bottom: -1px; left: 20px; height: 3px; background: var(--ink); content: ""; transform: scaleX(0); transition: transform .2s; }
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-solutions { display: flex; }
.mega-menu { position: absolute; top: 75px; right: var(--gutter); left: var(--gutter); display: grid; grid-template-columns: .7fr 2fr; gap: 50px; padding: 38px; border: 1px solid var(--ink); background: var(--white); box-shadow: 0 26px 70px rgba(0,0,0,.13); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .18s ease; }
.nav-solutions:hover .mega-menu, .nav-solutions:focus-within .mega-menu { opacity: 1; visibility: visible; transform: none; }
.mega-intro { padding: 8px 34px 8px 0; border-right: 1px solid var(--line); }
.mega-intro span { font: 10px var(--mono); letter-spacing: .1em; }
.mega-intro b { display: block; max-width: 270px; margin: 36px 0 12px; font-size: 28px; line-height: 1.05; letter-spacing: -.04em; }
.mega-intro small { color: var(--muted); font-size: 15px; }
.mega-links { display: grid; grid-template-columns: 1fr 1fr; }
.mega-links a { display: grid; grid-template-columns: 44px 1fr; padding: 18px 18px; border-bottom: 1px solid var(--line); transition: background .15s; }
.mega-links a:hover { background: var(--acid); }
.mega-links a > span { grid-row: 1 / 3; font: 10px var(--mono); }
.mega-links b { font-size: 15px; }
.mega-links small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.language-switcher { display: flex; padding: 3px; border: 1px solid var(--ink); border-radius: 999px; }
.language-switcher button { min-width: 36px; height: 28px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent; font: 9px var(--mono); }
.language-switcher button[aria-pressed="true"] { background: var(--ink); color: white; }
.header-cta { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; background: var(--ink); color: white; font-size: 12px; font-weight: 700; }
.header-cta small { color: var(--acid); font-size: 10px; }
.menu-toggle { display: none; }

main { min-height: 70vh; }
.home-hero { display: grid; grid-template-columns: minmax(360px, .82fr) minmax(560px, 1.18fr); gap: clamp(40px, 5vw, 86px); max-width: var(--max); min-height: 760px; margin: 0 auto; padding: clamp(76px, 8vw, 126px) var(--gutter) 90px; align-items: center; }
.eyebrow, .eyebrow-simple { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; font: 10px/1.5 var(--mono); letter-spacing: .09em; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--acid-2); box-shadow: 0 0 0 4px rgba(158,228,63,.18); }
.eyebrow small { color: var(--muted); font-family: var(--sans); letter-spacing: 0; }
.hero-title { max-width: 720px; margin: 0; font-size: clamp(46px, 4.7vw, 68px); line-height: 1; letter-spacing: -.055em; }
.hero-title .copy-zh { margin-top: 22px; font-size: .53em; line-height: 1.12; letter-spacing: -.05em; }
.hero-lead { max-width: 630px; margin: 34px 0 0; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.48; }
.hero-lead .copy-zh { margin-top: 10px; font-size: .72em; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 52px; padding: 0 22px; border: 1px solid var(--ink); font-size: 13px; font-weight: 800; transition: transform .18s, background .18s, color .18s; }
.button:hover { transform: translateY(-2px); }
.button small { font-size: 11px; font-weight: 500; }
.button-dark { background: var(--ink); color: white; }
.button-dark small { color: var(--acid); }
.button-line { background: transparent; }
.button-line:hover { background: var(--white); }
.button-acid { background: var(--acid); color: var(--ink); }
.button-light { border-color: white; background: white; color: var(--ink); }
.hero-scope { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font: 9px var(--mono); letter-spacing: .05em; }
.hero-visual { min-width: 0; }

.agent-dashboard { overflow: hidden; border: 1px solid var(--ink); border-radius: 10px; background: #eef0ec; box-shadow: 0 32px 90px rgba(21,28,24,.14); }
.dashboard-top { display: flex; justify-content: space-between; align-items: center; height: 42px; padding: 0 15px; border-bottom: 1px solid #38403c; background: #111714; color: white; font: 8px var(--mono); letter-spacing: .07em; }
.dashboard-top div { display: flex; align-items: center; gap: 9px; }
.dashboard-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); }
.dashboard-top > span { color: var(--acid); }
.dashboard-shell { display: grid; grid-template-columns: 108px 1fr; min-height: 520px; }
.dashboard-shell aside { display: flex; flex-direction: column; gap: 5px; padding: 18px 9px; border-right: 1px solid #bcc2bc; background: #e4e7e2; }
.dashboard-shell aside strong { display: grid; place-items: center; width: 32px; height: 32px; margin: 0 0 18px 7px; border-radius: 8px; background: var(--ink); color: var(--acid); }
.dashboard-shell aside span { padding: 9px 8px; border-radius: 5px; color: #68706b; font-size: 9px; }
.dashboard-shell aside span.is-active { background: var(--white); color: var(--ink); font-weight: 800; }
.dashboard-main { min-width: 0; padding: 24px; }
.dash-heading { display: flex; justify-content: space-between; align-items: end; }
.dash-heading span { display: block; margin-bottom: 8px; font: 8px var(--mono); color: var(--muted); }
.dash-heading b { display: block; font-size: 20px; letter-spacing: -.035em; }
.dash-heading button { padding: 9px 12px; border: 0; border-radius: 5px; background: var(--acid); font-size: 9px; font-weight: 800; }
.dash-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 24px 0 10px; }
.dash-metrics > div { padding: 14px; border: 1px solid #c9cec9; border-radius: 6px; background: var(--white); }
.dash-metrics span { display: block; font: 7px var(--mono); color: var(--muted); }
.dash-metrics b { display: block; margin: 9px 0 5px; font-size: 25px; }
.dash-metrics small { color: var(--muted); font-size: 8px; }
.dash-work { display: grid; grid-template-columns: 1.35fr .75fr; gap: 10px; }
.dash-table, .agent-feed { border: 1px solid #c9cec9; border-radius: 6px; background: var(--white); }
.dash-table > div { display: grid; grid-template-columns: 1fr 62px 72px; align-items: center; min-height: 52px; padding: 0 12px; border-bottom: 1px solid #e0e2de; }
.dash-table > div:last-child { border-bottom: 0; }
.dash-table .table-head { min-height: 34px; color: var(--muted); font: 7px var(--mono); }
.dash-table b { font-size: 9px; }
.dash-table small { color: var(--muted); font-size: 8px; }
.dash-table em { width: fit-content; padding: 4px 6px; border-radius: 20px; font: 7px var(--mono); font-style: normal; }
.dash-table em.risk { background: #ffe0d5; color: #a84522; }
.dash-table em.review { background: #fff0c5; color: #7a5b00; }
.dash-table em.active { background: #dfe9ff; color: #2453ab; }
.dash-table em.ready { background: #e0f8ca; color: #396c15; }
.agent-feed { padding: 12px; background: #17201c; color: white; }
.agent-feed > span { font: 7px var(--mono); color: var(--acid); }
.agent-feed > div { display: grid; grid-template-columns: 23px 1fr; gap: 7px; margin-top: 13px; padding-top: 13px; border-top: 1px solid #3c4741; }
.agent-feed i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--acid); color: var(--ink); font: 7px var(--mono); font-style: normal; }
.agent-feed p { margin: 0; }
.agent-feed b, .agent-feed small { display: block; font-size: 8px; line-height: 1.35; }
.agent-feed small { margin-top: 4px; color: #9fa8a2; font-size: 7px; }

.problem-strip { display: grid; grid-template-columns: repeat(6,1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.problem-strip a { position: relative; min-height: 145px; padding: 22px var(--gutter); border-right: 1px solid var(--ink); }
.problem-strip a:last-child { border-right: 0; }
.problem-strip a:hover { background: var(--acid); }
.problem-strip span { font: 9px var(--mono); }
.problem-strip b, .problem-strip small { display: block; }
.problem-strip b { margin-top: 42px; font-size: 14px; }
.problem-strip small { margin-top: 7px; color: var(--muted); font-size: 11px; }

.site-section { max-width: var(--max); margin: 0 auto; padding: var(--section) var(--gutter); }
.section-head { display: grid; grid-template-columns: 76px minmax(0, 1fr); max-width: 980px; margin-bottom: clamp(48px, 6vw, 84px); }
.section-index { padding-top: 11px; font: 10px var(--mono); }
.section-title { margin: 0; font-size: clamp(36px, 3.7vw, 54px); line-height: 1.02; letter-spacing: -.05em; }
.section-title .copy-zh { margin-top: 13px; font-size: .52em; letter-spacing: -.04em; }
.section-lead { max-width: 760px; margin: 25px 0 0; font-size: 17px; line-height: 1.55; }
.section-lead .copy-zh { margin-top: 7px; font-size: .78em; }
.solution-grid { display: grid; grid-template-columns: repeat(6,1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.solution-card { grid-column: span 2; min-height: 330px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.solution-card:nth-child(4), .solution-card:nth-child(5) { grid-column: span 3; }
.solution-card > a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 26px; transition: background .2s; }
.solution-card > a:hover { background: var(--acid); }
.card-code { font: 9px var(--mono); }
.card-title { margin: auto 0 20px; font-size: clamp(24px, 2.1vw, 34px); line-height: .98; letter-spacing: -.045em; }
.card-title .copy-zh { margin-top: 10px; font-size: .55em; }
.card-copy { max-width: 430px; margin: 0; font-size: 13px; line-height: 1.55; }
.card-copy .copy-zh { margin-top: 6px; font-size: .82em; }
.card-arrow { position: absolute; top: 24px; right: 24px; font-size: 18px; }
.cases-section { border-top: 1px solid var(--line); }
.case-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(54px, 6vw, 96px) 28px; }
.case-grid-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.case-card { min-width: 0; }
.case-image { position: relative; display: block; overflow: hidden; aspect-ratio: 16/9; border: 1px solid var(--ink); background: #dfe2dd; }
.case-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.case-image:hover img { transform: scale(1.02); }
.case-image > span { position: absolute; right: 0; bottom: 0; padding: 8px 10px; background: var(--ink); color: var(--acid); font: 9px var(--mono); }
.case-meta { display: flex; justify-content: space-between; margin: 17px 0 20px; font: 9px var(--mono); text-transform: uppercase; }
.case-meta small { color: var(--muted); font-family: var(--sans); }
.case-copy { display: block; }
.case-title { margin: 0; font-size: clamp(27px, 2.5vw, 40px); line-height: .98; letter-spacing: -.052em; }
.case-title .copy-zh { margin-top: 10px; font-size: .58em; }
.case-summary { max-width: 650px; margin: 20px 0; font-size: 14px; line-height: 1.55; }
.case-summary .copy-zh { margin-top: 6px; font-size: .8em; }
.text-link { display: inline-block; padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 800; }
.text-link small { margin-left: 6px; color: var(--muted); font-size: 10px; }
.section-link { display: flex; align-items: center; gap: 10px; width: fit-content; margin: 66px 0 0 auto; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 800; }
.section-link small { color: var(--muted); font-size: 11px; }
.section-link span { font-size: 18px; }
.industries-section { border-top: 1px solid var(--line); }
.industry-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--ink); }
.industry-card { min-height: 430px; padding: 26px; border-right: 1px solid var(--ink); }
.industry-card:last-child { border-right: 0; }
.industry-card:hover { background: var(--acid); }
.industry-card > span { font: 9px var(--mono); }
.industry-title { margin: 120px 0 18px; font-size: 33px; line-height: 1; letter-spacing: -.045em; }
.industry-title .copy-zh { margin-top: 8px; font-size: .55em; }
.industry-copy { margin: 0; font-size: 13px; line-height: 1.55; }
.industry-copy .copy-zh { margin-top: 5px; font-size: .82em; }
.mini-tags, .tag-list, .case-modules { display: flex; flex-wrap: wrap; gap: 7px; }
.mini-tags { margin-top: 28px; }
.mini-tags span, .tag-list span, .case-modules span { display: flex; gap: 5px; padding: 7px 9px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 9px; }
.mini-tags small, .tag-list small, .case-modules small { color: var(--muted); font-size: 9px; }
.digital-team-section { max-width: none; padding-right: max(var(--gutter),calc((100vw - var(--max))/2 + var(--gutter))); padding-left: max(var(--gutter),calc((100vw - var(--max))/2 + var(--gutter))); border-top: 1px solid var(--line); background: #e8eae5; }
.digital-team-board { overflow: hidden; border: 1px solid var(--ink); border-radius: 8px; background: #f7f8f5; box-shadow: 0 28px 80px rgba(16,24,19,.1); }
.team-board-head { display: flex; justify-content: space-between; align-items: center; min-height: 58px; padding: 0 20px; border-bottom: 1px solid var(--ink); background: var(--ink); color: white; }
.team-board-head div { display: flex; gap: 10px; align-items: center; }
.team-board-head span { font: 9px var(--mono); letter-spacing: .06em; }
.team-board-head small { color: #9ea7a1; font-size: 10px; }
.team-board-head > b { font: 8px var(--mono); color: var(--acid); }
.team-board-head > b i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(185,244,93,.13); }
.team-board-body { display: grid; grid-template-columns: 200px 1fr; }
.team-board-body > aside { display: flex; flex-direction: column; min-height: 480px; padding: 22px; border-right: 1px solid var(--ink); background: #dfe3dc; }
.team-board-body > aside span { margin-bottom: 50px; font: 8px var(--mono); }
.team-board-body > aside b { padding: 14px 0; border-bottom: 1px solid #aeb5ae; font-size: 11px; }
.team-board-body > aside small { margin-top: auto; font: 7px/1.5 var(--mono); color: var(--muted); }
.digital-roles { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: #bdc2bc; }
.digital-roles article { min-width: 0; min-height: 239px; padding: 18px; background: var(--white); }
.digital-roles article > div { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.digital-roles article > div span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #1a211d; color: white; font: 8px var(--mono); }
.digital-roles em { padding: 5px 7px; border-radius: 999px; background: #e7e9e5; font: 7px var(--mono); font-style: normal; }
.digital-roles article[data-role-state="processing"] em, .digital-roles article[data-role-state="working"] em { background: #dfe8ff; color: #2757ad; }
.digital-roles article[data-role-state="documents"] em { background: #fff0c9; color: #765500; }
.digital-roles article[data-role-state="developing"] em { background: #eadcff; color: #6330a1; }
.digital-roles article[data-role-state="review"] em { background: #ffe2d8; color: #9d4324; }
.digital-roles article[data-role-state="ready"] em { background: #e2f8cd; color: #376d13; }
.digital-roles article > b { display: block; margin-top: 47px; font-size: 16px; letter-spacing: -.02em; }
.digital-roles article > small { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; }
.digital-roles article > p { margin: 28px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: #4d5550; font: 8px/1.5 var(--mono); }
.team-flow { display: grid; grid-template-columns: 1fr 20px 1fr 20px 1fr 20px 1fr 20px 1fr; align-items: center; min-height: 82px; padding: 14px 20px; border-top: 1px solid var(--ink); background: #f0f1ed; }
.team-flow span { text-align: center; font: 8px var(--mono); }
.team-flow small { display: block; margin-top: 5px; color: var(--muted); font: 9px var(--sans); }
.team-flow i { text-align: center; font-style: normal; }
.approach-preview { max-width: none; padding-right: max(var(--gutter),calc((100vw - var(--max))/2 + var(--gutter))); padding-left: max(var(--gutter),calc((100vw - var(--max))/2 + var(--gutter))); background: #101512; color: white; }
.approach-preview .section-index, .approach-preview .section-title .copy-zh, .approach-preview .section-lead { color: #9ba39d; }
.approach-steps { display: grid; grid-template-columns: repeat(5,1fr); margin: 0; padding: 0; border-top: 1px solid #647068; border-left: 1px solid #647068; list-style: none; }
.approach-steps li { min-height: 250px; padding: 20px; border-right: 1px solid #647068; border-bottom: 1px solid #647068; }
.approach-steps li > span { font: 9px var(--mono); color: var(--acid); }
.approach-steps li > div { margin-top: 100px; }
.step-title { margin: 0; font-size: 16px; line-height: 1.15; }
.step-title .copy-zh { margin-top: 7px; color: #aab1ad; font-size: .7em; }
.step-note { margin: 12px 0 0; color: #b3b9b5; font-size: 11px; line-height: 1.5; }
.step-note .copy-zh { margin-top: 4px; font-size: .86em; }
.approach-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 38px; }
.final-cta { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding: clamp(68px, 8vw, 112px) max(var(--gutter), calc((100vw - var(--max))/2 + var(--gutter))); border-top: 1px solid var(--ink); background: var(--ink); color: white; }
.final-cta > div > span { font: 9px var(--mono); color: var(--acid); }
.final-title { max-width: 870px; margin: 28px 0 0; font-size: clamp(32px, 4vw, 56px); line-height: 1; letter-spacing: -.05em; }
.final-title .copy-zh { margin-top: 13px; color: #99a19c; font-size: .52em; }

.page-hero, .case-detail-hero { max-width: var(--max); margin: 0 auto; padding: 48px var(--gutter) clamp(82px, 9vw, 130px); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; gap: 9px; align-items: center; margin-bottom: clamp(70px, 9vw, 126px); font: 9px var(--mono); color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb b { color: var(--ink); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.6fr); gap: clamp(50px, 9vw, 140px); align-items: end; }
.page-title { margin: 0; font-size: clamp(44px, 5vw, 68px); line-height: .98; letter-spacing: -.055em; }
.page-title .copy-zh { margin-top: 18px; font-size: .5em; line-height: 1.08; }
.page-lead { max-width: 780px; margin: 28px 0 0; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.5; }
.page-lead .copy-zh { margin-top: 8px; font-size: .76em; }
.page-hero .button { margin-top: 34px; }
.hero-note { padding: 30px 0 8px 28px; border-left: 1px solid var(--ink); }
.hero-note span, .case-count span { display: block; font: 9px var(--mono); color: var(--muted); letter-spacing: .07em; }
.hero-note b { display: block; margin: 40px 0 10px; font: 11px/1.7 var(--mono); }
.hero-note small { color: var(--muted); font-size: 12px; }
.solution-matrix { border-top: 1px solid var(--ink); }
.solution-matrix a { display: grid; grid-template-columns: 70px 1.1fr 1fr 30px; gap: 20px; align-items: center; min-height: 106px; padding: 18px 0; border-bottom: 1px solid var(--ink); }
.solution-matrix a:hover { padding-right: 14px; padding-left: 14px; background: var(--acid); }
.solution-matrix span { font: 9px var(--mono); }
.solution-matrix b { font-size: 22px; }
.solution-matrix b small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.solution-matrix em { color: var(--muted); font-size: 12px; font-style: normal; }
.solution-contract { display: grid; grid-template-columns: 1fr 20px 1fr 20px 1fr; gap: 6px; align-items: center; padding: 22px; border: 1px solid var(--ink); }
.solution-contract > span { grid-column: 1/-1; padding-bottom: 16px; border-bottom: 1px solid var(--line); font: 9px var(--mono); }
.solution-contract div { min-height: 90px; padding: 15px 8px; }
.solution-contract b, .solution-contract small { display: block; }
.solution-contract b { font: 9px var(--mono); }
.solution-contract small { margin-top: 30px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.solution-contract i { font-style: normal; }
.split-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.split-section .section-head { display: block; }
.split-section .section-index { display: block; margin-bottom: 34px; }
.problem-list { margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.problem-list li { display: grid; grid-template-columns: 60px 1fr auto; gap: 18px; align-items: center; min-height: 88px; border-bottom: 1px solid var(--ink); }
.problem-list span { font: 9px var(--mono); }
.problem-list b { font-size: 17px; }
.problem-list small { color: var(--muted); font-size: 12px; }
.module-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.module-grid article { min-height: 210px; padding: 22px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.module-grid span { font: 9px var(--mono); }
.module-grid b, .module-grid small { display: block; }
.module-grid b { margin-top: 92px; font-size: 18px; }
.module-grid small { margin-top: 7px; color: var(--muted); font-size: 12px; }
.related-cases { border-top: 1px solid var(--line); }

.industry-detail { border-top: 1px solid var(--ink); }
.industry-heading { display: grid; grid-template-columns: 75px minmax(0,1fr); margin-bottom: 72px; }
.industry-heading > span { font: 10px var(--mono); }
.industry-heading .tag-list { margin-top: 28px; }
.case-count { border-left: 1px solid var(--ink); padding-left: 28px; }
.case-count b { display: block; font-size: 100px; line-height: .8; letter-spacing: -.08em; }
.case-count span { margin-top: 26px; }
.case-count small { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.case-index-section { padding-top: 55px; }
.case-tools { display: grid; grid-template-columns: minmax(260px,.7fr) 1fr; gap: 24px; margin-bottom: 70px; padding-bottom: 32px; border-bottom: 1px solid var(--ink); }
.case-tools label { grid-row: 1/3; }
.case-tools label span { display: block; margin-bottom: 10px; font: 9px var(--mono); }
.case-tools input { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid var(--ink); background: var(--white); font-size: 13px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-group button { padding: 9px 12px; border: 1px solid var(--ink); background: transparent; font-size: 11px; font-weight: 700; }
.filter-group button small { color: var(--muted); font-size: 9px; }
.filter-group button.is-active { background: var(--ink); color: white; }
.filter-group button.is-active small { color: var(--acid); }
.filter-empty { padding: 80px 0; text-align: center; }

.case-detail-grid { display: grid; grid-template-columns: minmax(0,.78fr) minmax(480px,1.22fr); gap: clamp(50px, 7vw, 110px); align-items: end; }
.case-kicker { display: flex; gap: 9px; margin-bottom: 24px; font: 9px var(--mono); }
.case-kicker small { color: var(--muted); font-family: var(--sans); }
.case-modules { margin: 28px 0 4px; }
.case-detail-grid .button { margin-top: 36px; }
.case-hero-image { position: relative; overflow: hidden; padding: 0; border: 1px solid var(--ink); background: #dfe2dd; }
.case-hero-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.case-hero-image span { position: absolute; right: 0; bottom: 0; padding: 11px 13px; background: var(--ink); color: white; font: 8px var(--mono); }
.case-outcome { display: grid; grid-template-columns: repeat(3,1fr); max-width: none; padding-right: max(var(--gutter),calc((100vw - var(--max))/2 + var(--gutter))); padding-left: max(var(--gutter),calc((100vw - var(--max))/2 + var(--gutter))); background: var(--ink); color: white; }
.case-outcome article { min-height: 320px; padding: 25px 34px 25px 0; border-right: 1px solid #47504b; }
.case-outcome article + article { padding-left: 34px; }
.case-outcome article:last-child { border-right: 0; }
.case-outcome article > span { font: 9px var(--mono); color: var(--acid); }
.outcome-copy { margin: 120px 0 0; font-size: 17px; line-height: 1.48; }
.outcome-copy .copy-zh { margin-top: 12px; color: #aeb5b0; font-size: .78em; }
.case-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.gallery-item { position: relative; overflow: hidden; padding: 0; border: 1px solid var(--ink); background: #dfe2dd; }
.gallery-item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.015); }
.gallery-item > span { position: absolute; right: 0; bottom: 0; padding: 9px 11px; background: var(--ink); color: var(--acid); font: 8px var(--mono); }
.privacy-caption { margin: 18px 0 0; color: var(--muted); font-size: 10px; }

.approach-page-section { padding-bottom: 70px; }
.approach-timeline { margin: 0; padding: 0; list-style: none; }
.approach-timeline li { display: grid; grid-template-columns: 100px 1fr 20px; gap: 25px; align-items: center; min-height: 190px; border-top: 1px solid var(--ink); }
.approach-timeline li:last-child { border-bottom: 1px solid var(--ink); }
.approach-timeline li > span { font: 10px var(--mono); }
.approach-timeline li > i { width: 10px; height: 10px; border-radius: 50%; background: var(--acid-2); }
.approach-title { margin: 0; font-size: clamp(28px, 3.2vw, 46px); letter-spacing: -.045em; }
.approach-title .copy-zh { margin-top: 7px; font-size: .52em; }
.approach-note { margin: 17px 0 0; font-size: 14px; }
.approach-note .copy-zh { margin-top: 6px; font-size: .8em; }
.a2a-section { max-width: none; padding-right: max(var(--gutter),calc((100vw - var(--max))/2 + var(--gutter))); padding-left: max(var(--gutter),calc((100vw - var(--max))/2 + var(--gutter))); background: #e8e9e3; }
.a2a-flow { display: grid; grid-template-columns: repeat(5,18px 1fr) 1fr; align-items: center; border: 1px solid var(--ink); }
.a2a-flow > div { min-width: 0; min-height: 160px; padding: 18px; }
.a2a-flow > i { text-align: center; font-style: normal; }
.a2a-flow span, .a2a-flow b, .a2a-flow small { display: block; }
.a2a-flow span { font: 8px var(--mono); }
.a2a-flow b { margin-top: 64px; font-size: 12px; }
.a2a-flow small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.governance-grid { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 32px; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.governance-grid article { min-height: 230px; padding: 21px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.governance-grid span { font: 8px var(--mono); }
.governance-grid b, .governance-grid small { display: block; }
.governance-grid b { margin-top: 90px; font-size: 15px; line-height: 1.3; }
.governance-grid small { margin-top: 8px; color: var(--muted); font-size: 11px; }
.faq-section { padding-bottom: 110px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--ink); }
.faq-list summary { padding: 27px 40px 27px 0; font-size: 17px; font-weight: 700; list-style: none; }
.faq-list summary::after { float: right; content: "+"; font-size: 24px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary small { margin-left: 10px; color: var(--muted); font-size: 12px; font-weight: 400; }
.faq-list p { max-width: 800px; margin: 0 0 28px; font-size: 14px; line-height: 1.6; }
.faq-list p small { color: var(--muted); }

.contact-section { display: grid; grid-template-columns: .55fr 1fr; gap: clamp(60px, 9vw, 140px); }
.contact-guide > span { font: 9px var(--mono); }
.contact-guide ol { margin: 38px 0; padding: 0; list-style: none; }
.contact-guide li { display: grid; grid-template-columns: 32px 1fr; gap: 15px; padding: 20px 0; border-top: 1px solid var(--ink); }
.contact-guide li:last-child { border-bottom: 1px solid var(--ink); }
.contact-guide li > b { font: 9px var(--mono); }
.contact-guide p { margin: 0; font-size: 13px; font-weight: 700; }
.contact-guide p small { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; font-weight: 400; }
.contact-privacy { padding: 20px; background: var(--ink); color: white; }
.contact-privacy b { font: 9px var(--mono); color: var(--acid); }
.contact-privacy p { margin: 25px 0 6px; font-size: 12px; }
.contact-privacy small { color: #aeb5b0; font-size: 10px; }
.solution-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.solution-form label { display: block; }
.solution-form label > span { display: block; margin-bottom: 9px; font-size: 11px; font-weight: 800; }
.solution-form input:not([type="checkbox"]), .solution-form select, .solution-form textarea { width: 100%; min-height: 50px; padding: 12px 13px; border: 1px solid var(--ink); border-radius: 0; background: var(--white); font-size: 13px; outline: none; }
.solution-form textarea { resize: vertical; }
.solution-form input:focus, .solution-form select:focus, .solution-form textarea:focus { box-shadow: 0 0 0 3px rgba(185,244,93,.75); }
.form-wide, .form-status { grid-column: 1/-1; }
.consent { display: grid !important; grid-template-columns: 18px 1fr; gap: 10px; }
.consent input { margin: 2px 0 0; }
.consent span { margin: 0 !important; font-weight: 500 !important; line-height: 1.4; }
.consent small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.honeypot { position: absolute !important; left: -10000px; }
.form-actions { display: flex; gap: 12px; }
.form-actions .button { flex: 1; }
.form-status { min-height: 0; padding: 0; font-size: 12px; }
.form-status.is-error, .form-status.is-success { padding: 12px; border: 1px solid var(--ink); }
.form-status.is-error { background: #ffe0d5; }
.form-status.is-success { background: #e0f8ca; }
.brief-preview { border: 1px solid var(--ink); background: var(--white); }
.brief-preview > div { display: flex; justify-content: space-between; padding: 12px; border-bottom: 1px solid var(--ink); }
.brief-preview > div b { font: 9px var(--mono); }
.brief-preview button { border: 0; background: transparent; font-size: 10px; font-weight: 800; }
.brief-preview pre { margin: 0; padding: 18px; white-space: pre-wrap; font: 11px/1.6 var(--mono); }

.image-dialog { width: min(94vw, 1400px); max-width: none; padding: 0; border: 1px solid var(--ink); background: var(--paper); }
.image-dialog::backdrop { background: rgba(7,10,8,.86); }
.image-dialog > button { position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid white; border-radius: 50%; background: var(--ink); color: white; font-size: 24px; }
.image-dialog img { width: 100%; max-height: 84vh; object-fit: contain; background: #dfe2dd; }
.image-dialog p { margin: 0; padding: 12px 15px; font: 9px var(--mono); }
.not-found { display: grid; place-items: start; min-height: 70vh; max-width: var(--max); margin: 0 auto; padding: 120px var(--gutter); }
.not-found > span { font: 11px var(--mono); }
.not-found .page-title { margin: 70px 0 50px; }

.site-footer { padding: 72px var(--gutter) 24px; border-top: 1px solid var(--ink); }
.footer-main { display: flex; justify-content: space-between; max-width: var(--max); min-height: 230px; margin: 0 auto; }
.footer-brand { font-size: 40px; font-weight: 900; letter-spacing: -.07em; }
.footer-main p { margin-top: 18px; font-size: 12px; line-height: 1.5; }
.footer-main p small { color: var(--muted); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 50px; align-content: start; }
.footer-links a { min-width: 170px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 800; }
.footer-links small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 400; }
.footer-bottom { display: flex; justify-content: space-between; max-width: var(--max); margin: 0 auto; padding-top: 20px; border-top: 1px solid var(--ink); font: 8px var(--mono); letter-spacing: .05em; }
.footer-contact { display: grid; gap: 6px; margin-top: 34px; }
.footer-contact a { width: fit-content; font: 12px var(--mono); }

.system-section { border-top: 1px solid var(--line); }
.system-landscape { display: grid; gap: 24px; }
.landscape-visual { position: relative; display: block; overflow: hidden; border: 1px solid var(--ink); background: #0e171d; }
.landscape-visual img { width: 100%; aspect-ratio: 16/8.7; object-fit: cover; transition: transform .45s ease; }
.landscape-visual:hover img { transform: scale(1.012); }
.landscape-visual > span { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 15px 18px; background: rgba(9,15,18,.9); color: white; }
.landscape-visual b { font: 9px var(--mono); color: var(--acid); letter-spacing: .04em; }
.landscape-visual i { font: normal 8px var(--mono); }
.surface-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--ink); }
.surface-grid article { min-height: 200px; padding: 20px; border-right: 1px solid var(--ink); }
.surface-grid article:last-child { border-right: 0; }
.surface-grid article > i { font: normal 9px var(--mono); }
.surface-grid h3 { margin: 48px 0 18px; font-size: 20px; letter-spacing: -.035em; }
.surface-grid article > div { display: flex; flex-wrap: wrap; gap: 6px; }
.surface-grid article > div span { padding: 6px 8px; border: 1px solid var(--line); border-radius: 999px; font: 8px var(--mono); }
.landscape-flow { display: grid; grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr 24px 1fr; align-items: center; border: 1px solid var(--ink); background: var(--ink); color: white; }
.landscape-flow span { padding: 18px; text-align: center; font: 9px var(--mono); }
.landscape-flow small { display: block; margin-top: 6px; color: #aeb6b0; font: 9px var(--sans); }
.landscape-flow > i { color: var(--acid); font-style: normal; text-align: center; }

.case-system-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 22px; }
.case-system-tags span { padding: 6px 8px; border: 1px solid var(--line-dark); border-radius: 999px; font: 8px var(--mono); }
.case-detail-systems { margin-top: 30px; }
.case-card .text-link { margin-top: 0; }
.system-filter { grid-column: 2; padding-top: 5px; }
.system-filter button { font: 9px var(--mono); }

.contact-direct { display: grid; gap: 10px; margin: 28px 0 52px; }
.contact-direct a { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--ink); background: var(--white); }
.contact-direct a:hover { background: var(--acid); }
.contact-direct small { font: 8px var(--mono); color: var(--muted); }
.contact-direct b { font: 13px var(--mono); overflow-wrap: anywhere; }

.assistant-launch { position: fixed; z-index: 180; right: 24px; bottom: 22px; display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 17px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: white; box-shadow: 0 12px 34px rgba(0,0,0,.2); font: 9px var(--mono); letter-spacing: .04em; }
.assistant-launch i { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(185,244,93,.16); }
.assistant-panel { position: fixed; z-index: 190; right: 24px; bottom: 80px; display: grid; grid-template-rows: auto minmax(120px,1fr) auto auto auto; width: min(430px,calc(100vw - 40px)); max-height: min(680px,calc(100vh - 110px)); overflow: hidden; border: 1px solid var(--ink); border-radius: 10px; background: var(--white); box-shadow: 0 30px 90px rgba(0,0,0,.25); }
.assistant-panel[hidden] { display: none; }
.assistant-panel > header { display: flex; justify-content: space-between; align-items: center; min-height: 64px; padding: 0 16px; background: var(--ink); color: white; }
.assistant-panel > header b { font: 10px var(--mono); }
.assistant-panel > header small { display: block; margin-top: 5px; color: #aeb6b0; font: 7px var(--mono); }
.assistant-panel > header button { width: 34px; height: 34px; padding: 0; border: 1px solid #59625d; border-radius: 50%; background: transparent; color: white; font-size: 20px; }
.assistant-messages { display: grid; align-content: start; gap: 9px; padding: 16px; overflow-y: auto; }
.assistant-message { max-width: 88%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 8px; font-size: 11px; line-height: 1.5; }
.assistant-message.is-agent { background: #eef4e3; }
.assistant-message.is-user { justify-self: end; background: var(--ink); color: white; }
.assistant-results { display: grid; gap: 7px; margin-top: 10px; }
.assistant-results a { display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; align-items: center; padding: 10px; border: 1px solid var(--line); background: var(--white); }
.assistant-results a:hover { border-color: var(--ink); }
.assistant-results i { font: normal 8px var(--mono); color: var(--muted); }
.assistant-results b { font-size: 10px; }
.assistant-results span { font: 9px var(--mono); }
.assistant-prompts { display: flex; gap: 6px; padding: 0 16px 12px; overflow-x: auto; }
.assistant-prompts button { flex: 0 0 auto; padding: 7px 9px; border: 1px solid var(--line-dark); border-radius: 999px; background: transparent; font: 8px var(--mono); }
.assistant-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.assistant-form input { min-width: 0; height: 42px; padding: 0 11px; border: 1px solid var(--ink); background: white; font-size: 11px; }
.assistant-form button { min-width: 66px; border: 1px solid var(--ink); background: var(--ink); color: white; font-size: 10px; font-weight: 800; }
.assistant-panel > footer { display: flex; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--line); font: 8px var(--mono); }
.assistant-panel > footer a:last-child { margin-left: auto; font-weight: 800; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 150px 1fr auto; }
  .nav-link { padding: 0 12px; }
  .nav-link::after { right: 12px; left: 12px; }
  .home-hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 800px; }
  .agent-dashboard { max-width: 850px; }
  .case-grid-three { grid-template-columns: repeat(2,1fr); }
  .digital-roles { grid-template-columns: repeat(2,1fr); }
  .approach-steps { grid-template-columns: repeat(3,1fr); }
  .problem-strip { grid-template-columns: repeat(3,1fr); }
  .problem-strip a:nth-child(3) { border-right: 0; }
  .problem-strip a:nth-child(-n+3) { border-bottom: 1px solid var(--ink); }
  .problem-strip a:nth-child(4) { grid-column: 1/2; }
  .solution-grid { grid-template-columns: repeat(2,1fr); }
  .solution-card, .solution-card:nth-child(4), .solution-card:nth-child(5) { grid-column: span 1; }
  .solution-card:nth-child(5) { grid-column: span 2; }
  .a2a-flow { overflow-x: auto; grid-template-columns: repeat(5,18px 150px) 150px; }
  .governance-grid, .module-grid { grid-template-columns: repeat(2,1fr); }
  .case-detail-grid { grid-template-columns: 1fr; }
  .case-hero-image { max-width: 850px; }
  .surface-grid { grid-template-columns: repeat(2,1fr); }
  .surface-grid article:nth-child(2) { border-right: 0; }
  .surface-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .system-filter { grid-column: 1/-1; }
}

@media (max-width: 820px) {
  :root { --gutter: 20px; --section: 82px; }
  .site-header { grid-template-columns: 1fr auto; min-height: 66px; }
  .brand > small, .header-actions .header-cta { display: none; }
  .menu-toggle { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
  .menu-toggle span:not(.sr-only) { width: 23px; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
  .site-nav { position: fixed; top: 65px; right: 0; bottom: 0; left: 0; display: none; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 22px 20px 80px; overflow-y: auto; background: var(--paper); }
  .site-nav.is-open { display: flex; }
  .nav-solutions { display: block; }
  .nav-link { min-height: 58px; padding: 0; border-bottom: 1px solid var(--ink); font-size: 20px; }
  .nav-link::after { display: none; }
  .nav-link small { margin-left: auto; font-size: 12px; }
  .mega-menu { position: static; display: block; padding: 0; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .mega-intro { display: none; }
  .mega-links { grid-template-columns: 1fr; }
  .mega-links a { padding: 13px 0; }
  .header-actions { position: absolute; right: 62px; height: 66px; }
  .home-hero { min-height: 0; padding-top: 65px; }
  .hero-title { font-size: clamp(42px, 11vw, 58px); }
  .dashboard-shell { grid-template-columns: 76px 1fr; }
  .dashboard-shell aside span { overflow: hidden; text-overflow: ellipsis; }
  .dashboard-main { padding: 16px; }
  .dash-work { grid-template-columns: 1fr; }
  .agent-feed { display: none; }
  .case-grid, .case-grid-three { grid-template-columns: 1fr; }
  .team-board-body { grid-template-columns: 140px 1fr; }
  .digital-roles { grid-template-columns: 1fr; }
  .team-flow { overflow-x: auto; grid-template-columns: 130px 20px 130px 20px 130px 20px 130px 20px 130px; }
  .industry-grid { grid-template-columns: 1fr; }
  .industry-card { min-height: 330px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .industry-card:last-child { border-bottom: 0; }
  .industry-title { margin-top: 80px; }
  .page-hero-grid, .split-section, .contact-section { grid-template-columns: 1fr; }
  .hero-note { border-top: 1px solid var(--ink); border-left: 0; padding: 26px 0 0; }
  .solution-matrix a { grid-template-columns: 48px 1fr 20px; }
  .solution-matrix em { display: none; }
  .case-outcome { grid-template-columns: 1fr; }
  .case-outcome article { min-height: 250px; padding: 25px 0; border-right: 0; border-bottom: 1px solid #47504b; }
  .case-outcome article + article { padding-left: 0; }
  .outcome-copy { margin-top: 80px; }
  .case-tools { grid-template-columns: 1fr; }
  .case-tools label { grid-row: auto; }
  .system-filter { grid-column: auto; }
  .landscape-flow { overflow-x: auto; grid-template-columns: 140px 24px 140px 24px 140px 24px 140px 24px 140px; }
  .final-cta { flex-direction: column; align-items: flex-start; }
  .footer-main { flex-direction: column; gap: 50px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

@media (max-width: 580px) {
  .home-hero { gap: 58px; padding-bottom: 64px; }
  .hero-title { font-size: 42px; }
  .hero-title .copy-zh { font-size: .58em; }
  .hero-actions, .approach-actions, .form-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-scope { gap: 8px 14px; }
  .agent-dashboard { margin-right: -8px; margin-left: -8px; border-radius: 6px; }
  .dashboard-shell { grid-template-columns: 1fr; min-height: 0; }
  .dashboard-shell aside { display: none; }
  .dashboard-main { padding: 13px; }
  .dash-heading b { font-size: 17px; }
  .dash-metrics { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .dash-metrics > div { padding: 10px 8px; }
  .dash-metrics b { font-size: 19px; }
  .dash-metrics small { display: none; }
  .dash-table > div { grid-template-columns: 1fr 52px; }
  .dash-table small { display: none; }
  .problem-strip { grid-template-columns: 1fr; }
  .problem-strip a { min-height: 110px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .problem-strip a:nth-child(4) { grid-column: auto; }
  .problem-strip b { margin-top: 30px; }
  .section-head, .industry-heading { grid-template-columns: 42px 1fr; }
  .section-title { font-size: 38px; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card, .solution-card:nth-child(5) { grid-column: span 1; min-height: 280px; }
  .case-title { font-size: 30px; }
  .approach-steps { grid-template-columns: 1fr; }
  .approach-steps li { min-height: 190px; }
  .approach-steps li > div { margin-top: 70px; }
  .page-hero, .case-detail-hero { padding-top: 34px; }
  .breadcrumb { margin-bottom: 70px; }
  .page-title { font-size: 42px; }
  .page-title .copy-zh { font-size: .56em; }
  .module-grid, .governance-grid { grid-template-columns: 1fr; }
  .problem-list li { grid-template-columns: 42px 1fr; padding: 17px 0; }
  .problem-list small { grid-column: 2; }
  .case-count b { font-size: 76px; }
  .case-gallery { grid-template-columns: 1fr; }
  .team-board-body { grid-template-columns: 1fr; }
  .team-board-body > aside { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .team-board-body > aside span { margin-bottom: 30px; }
  .team-board-head > b { display: none; }
  .approach-timeline li { grid-template-columns: 48px 1fr 10px; min-height: 160px; }
  .solution-form { grid-template-columns: 1fr; }
  .solution-form label { grid-column: 1; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 8px 20px; }
  .footer-links a { min-width: 0; }
  .landscape-visual img { aspect-ratio: 1.25/1; object-position: center; }
  .landscape-visual > span { align-items: flex-start; flex-direction: column; }
  .surface-grid { grid-template-columns: 1fr; }
  .surface-grid article { min-height: 170px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .surface-grid article:last-child { border-bottom: 0; }
  .surface-grid h3 { margin-top: 38px; }
  .assistant-launch { right: 14px; bottom: 14px; }
  .assistant-panel { right: 10px; bottom: 70px; width: calc(100vw - 20px); max-height: calc(100vh - 84px); }
  .assistant-panel > footer { gap: 10px; }
  .assistant-panel > footer a:first-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Mobile/coarse-pointer targets: expand only standalone controls and navigation links. */
@media (max-width: 580px), (hover: none) and (pointer: coarse) {
  .brand,
  .footer-brand,
  .section-link,
  .footer-contact a,
  .footer-links a,
  .s01-hero-actions .text-link,
  .s01-console__footer a,
  .ai-boundary-note a,
  .assistant-panel > footer a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .language-switcher button {
    min-width: 44px;
    height: 44px;
  }
  .section-link { padding-top: 6px; padding-bottom: 6px; }
  .footer-contact { gap: 0; }
  .footer-links a { width: 100%; padding-top: 8px; padding-bottom: 8px; }
}

/* STAR AI experience: warm editorial shell + precise operations surface. */
.home-page .home-hero {
  grid-template-columns: minmax(380px, .84fr) minmax(600px, 1.16fr);
  max-width: 1440px;
  gap: clamp(42px, 4.5vw, 78px);
}
.home-page .hero-copy { position: relative; z-index: 1; }
.home-page .hero-title { text-wrap: balance; }
.home-page .hero-lead { color: #3d454d; }
.home-page .hero-truth-note { display: grid; gap: 6px; max-width: 610px; margin: 20px 0 0; padding-left: 14px; border-left: 2px solid #a87931; color: #555e66; font-size: 12px; line-height: 1.5; }
.home-page .hero-truth-note strong { color: #765015; font: 9px/1.3 var(--mono); letter-spacing: .04em; }
.home-page .hero-truth-note > span { display: block; }
.home-page .hero-scope { color: #555e66; }

.ai-console.agent-dashboard,
.ai-console[data-ai-console] {
  position: relative;
  isolation: isolate;
  scroll-margin-top: 88px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #313d49;
  border-radius: 18px;
  background: var(--console-bg);
  color: var(--console-text);
  box-shadow: 0 34px 90px rgba(14, 22, 30, .24), 0 1px 0 rgba(255,255,255,.07) inset;
  font-family: var(--sans);
}
.ai-console::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(rgba(102,178,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102,178,255,.028) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
  pointer-events: none;
}
.ai-console button { min-width: 44px; min-height: 44px; }
.ai-console button:focus-visible { outline: 2px solid var(--state-data); outline-offset: 2px; }

.ai-console__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--console-border);
  background: rgba(8,12,17,.94);
}
.ai-console__identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ai-console__identity i {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--state-plan);
  box-shadow: 0 0 0 4px rgba(185,162,255,.11);
}
.ai-console__identity span { overflow: hidden; font: 12px/1.34 var(--mono); letter-spacing: .08em; text-overflow: ellipsis; white-space: nowrap; }
.ai-console__truth { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.ai-console__truth span {
  padding: 5px 7px;
  border: 1px solid #3a4652;
  border-radius: 999px;
  color: #cbd4dc;
  font: 12px/1.34 var(--mono);
  letter-spacing: .04em;
}
.ai-console__truth span:nth-child(2) { border-color: rgba(244,184,94,.55); color: var(--state-waiting); }

.ai-console__runbar {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  border-bottom: 1px solid var(--console-border);
  background: rgba(14,20,27,.92);
}
.ai-console__runbar > div { min-width: 0; padding: 12px 15px; border-right: 1px solid var(--console-border); }
.ai-console__runbar > div:last-child { border-right: 0; }
.ai-console__runbar small,
.ai-console__runbar b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-console__runbar small { margin-bottom: 6px; color: var(--console-muted); font: 12px/1.34 var(--mono); letter-spacing: .08em; }
.ai-console__runbar b { color: #d9e1e8; font: 14px/1.5 var(--mono); }
.ai-console__runstate b { color: var(--state-plan); }
.ai-console[data-run-state="awaiting_approval"] .ai-console__runstate b { color: var(--state-waiting); }
.ai-console[data-run-state="completed"] .ai-console__runstate b { color: var(--state-success); }

.ai-console__rail {
  display: grid;
  grid-template-columns: minmax(58px,1fr) 13px minmax(58px,1fr) 13px minmax(58px,1fr) 13px minmax(58px,1fr) 13px minmax(58px,1fr);
  align-items: center;
  gap: 5px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--console-border);
  background: rgba(8,12,17,.72);
}
.ai-console__rail > span {
  min-width: 0;
  padding: 9px 7px;
  border: 1px solid #2d3945;
  border-radius: 7px;
  color: #c2ccd4;
  text-align: center;
  font: 14px/1.5 var(--mono);
  transition: border-color 220ms var(--ease-standard, ease), background 220ms var(--ease-standard, ease), color 220ms var(--ease-standard, ease);
}
.ai-console__rail > span small { display: block; margin-top: 5px; color: #73808b; font-size: 12px; line-height: 1.34; letter-spacing: .05em; }
.ai-console__rail > span.is-active { border-color: rgba(102,178,255,.72); background: rgba(102,178,255,.09); color: #fff; }
.ai-console__rail > span.is-active small { color: var(--state-data); }
.ai-console__rail > i { color: #52606c; text-align: center; font: normal 12px/1.34 var(--mono); }

.ai-console__body { display: grid; grid-template-columns: 168px minmax(0,1fr); min-height: 338px; }
.ai-console__timeline {
  position: relative;
  display: grid;
  align-content: stretch;
  gap: 0;
  margin: 0;
  padding: 12px 0;
  border-right: 1px solid var(--console-border);
  background: rgba(14,20,27,.7);
  list-style: none;
}
.ai-console__timeline li { position: relative; display: flex; min-width: 0; }
.ai-console__timeline li::after {
  position: absolute;
  top: 50%;
  bottom: -50%;
  left: 27px;
  width: 1px;
  background: #303b46;
  content: "";
}
.ai-console__timeline li:last-child::after { display: none; }
.ai-console__timeline button {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 5px 12px 5px 14px;
  border: 0;
  background: transparent;
  color: #87939e;
  text-align: left;
  font: 12px/1.34 var(--mono);
}
.ai-console__timeline button:hover { color: var(--console-text); }
.ai-console__timeline button i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid #3a4652;
  border-radius: 50%;
  background: var(--console-surface);
  font: normal 12px/1.34 var(--mono);
}
.ai-console__timeline li.is-complete button { color: #b9c3cc; }
.ai-console__timeline li.is-complete button i { border-color: rgba(85,217,138,.5); color: var(--state-success); }
.ai-console__timeline li.is-current button { color: #fff; }
.ai-console__timeline li.is-current button i { border-color: var(--state-plan); background: rgba(185,162,255,.13); color: var(--state-plan); }

.ai-console__detail {
  position: relative;
  min-width: 0;
  margin: 14px;
  padding: 22px 22px 96px;
  overflow: hidden;
  border: 1px solid var(--console-border);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(20,29,39,.98), rgba(12,18,25,.98));
}
.ai-console__detail::after {
  position: absolute;
  right: -72px;
  bottom: -72px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(102,178,255,.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.ai-console[data-run-state="awaiting_approval"] .ai-console__detail { border-color: rgba(244,184,94,.52); }
.ai-console[data-run-state="completed"] .ai-console__detail { border-color: rgba(85,217,138,.44); }
.ai-console__eventline { display: flex; justify-content: space-between; gap: 14px; color: var(--console-muted); font: 12px/1.34 var(--mono); }
.ai-console__eventline span:first-child { color: var(--state-data); overflow-wrap: anywhere; }
.ai-console__kicker { margin: 48px 0 10px; color: var(--state-plan); font: 12px/1.34 var(--mono); letter-spacing: .08em; }
.ai-console__detail h2 { max-width: 530px; margin: 0; color: #f7fafc; font-size: clamp(22px, 2vw, 30px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.ai-console__summary { max-width: 570px; min-height: 42px; margin: 17px 0 0; color: #b8c3cc; font-size: 14px; line-height: 1.5; }
.ai-console__meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.ai-console__meta span { padding: 6px 8px; border: 1px solid #35424e; border-radius: 999px; color: #aeb9c2; font: 12px/1.34 var(--mono); }
.ai-console__boundary { position: absolute; right: 20px; bottom: 18px; left: 20px; display: flex; gap: 8px; margin: 0; padding-top: 12px; border-top: 1px solid #2c3742; color: #87949f; font: 14px/1.5 var(--mono); }
.ai-console__boundary > span:first-child { color: var(--state-waiting); }
.ai-console__static-story { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; margin: 20px 0 0; padding: 0; list-style: none; }
.ai-console__static-story li { min-width: 0; padding: 10px; border: 1px solid #35414c; border-radius: 7px; background: rgba(8,12,17,.34); }
.ai-console__static-story li:last-child { grid-column: 1/-1; }
.ai-console__static-story i,
.ai-console__static-story b,
.ai-console__static-story small,
.ai-console__static-story li > span { display: block; }
.ai-console__static-story i { color: var(--state-plan); font: normal 12px/1.34 var(--mono); }
.ai-console__static-story b { margin-top: 7px; color: #e9eef2; font-size: 14px; line-height: 1.5; }
.ai-console__static-story small,
.ai-console__static-story li > span { margin-top: 5px; color: #95a2ac; font-size: 14px; line-height: 1.5; }
.ai-console__static-story strong { color: #d9e1e8; font: inherit; overflow-wrap: anywhere; }

.ai-console__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 7px 14px;
  border-top: 1px solid var(--console-border);
  background: rgba(8,12,17,.95);
}
.ai-console__footer > span { color: var(--console-muted); font: 12px/1.34 var(--mono); }
.ai-console__footer > div { display: flex; gap: 7px; }
.ai-console__footer button {
  padding: 0 13px;
  border: 1px solid #3a4652;
  border-radius: 7px;
  background: var(--console-surface);
  color: #e8edf1;
  font: 12px/1.34 var(--mono);
}
.ai-console__footer button:hover { border-color: var(--state-data); background: #162330; }

.ai-console__recovery {
  padding: 18px;
  border-top: 1px solid var(--console-border);
  background: linear-gradient(135deg, rgba(30,21,19,.97), rgba(13,19,25,.98));
}
.ai-console__recovery[hidden] { display: none; }
.ai-console__recovery > header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.ai-console__recovery > header small,
.ai-console__recovery > header b { display: block; }
.ai-console__recovery > header small { color: var(--state-waiting); font: 12px/1.34 var(--mono); }
.ai-console__recovery > header b { margin-top: 8px; color: #f3f6f8; font: 14px/1.5 var(--mono); letter-spacing: .04em; }
.ai-console__recovery > header > span { padding: 6px 8px; border: 1px solid #6f5940; border-radius: 999px; color: #e6bd7e; font: 12px/1.34 var(--mono); }
.ai-console__recovery > p { max-width: 820px; margin: 15px 0 0; color: #b8c3cc; font-size: 14px; line-height: 1.5; }
.ai-console__recovery > ol { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.ai-console__recovery > ol > li { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 8px; align-items: center; min-width: 0; padding: 11px; border: 1px solid #493d33; border-radius: 8px; background: rgba(8,12,17,.42); }
.ai-console__recovery > ol > li i { color: var(--state-waiting); font: normal 12px/1.34 var(--mono); }
.ai-console__recovery > ol > li span { color: #dbe2e7; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.ai-console__footer > details.ai-console__recovery { flex: 1 0 100%; width: 100%; margin-top: 7px; box-sizing: border-box; }
.ai-console__recovery > summary { display: flex; align-items: center; min-height: 44px; color: #f3f6f8; font: 12px/1.34 var(--mono); cursor: pointer; }
.ai-console__recovery-content { padding-top: 14px; border-top: 1px solid #493d33; }
.ai-console__recovery-truth { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-console__recovery-truth span { padding: 5px 7px; border: 1px solid #6f5940; border-radius: 999px; color: #e6bd7e; font: 12px/1.34 var(--mono); }
.ai-console__recovery-kicker { margin: 16px 0 0; color: var(--state-waiting); font: 12px/1.34 var(--mono); }
.ai-console__recovery-content h3 { margin: 8px 0 0; color: #f3f6f8; font-size: 18px; line-height: 1.35; }
.ai-console__recovery-content > p { margin: 10px 0 0; color: #b8c3cc; font-size: 14px; line-height: 1.5; }
.ai-console__recovery-steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.ai-console__recovery-steps li { min-width: 0; padding: 11px; border: 1px solid #493d33; border-radius: 8px; background: rgba(8,12,17,.42); }
.ai-console__recovery-steps li:last-child { grid-column: 1/-1; }
.ai-console__recovery-steps b,
.ai-console__recovery-steps span { display: block; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.ai-console__recovery-steps b { color: #f0d1a1; }
.ai-console__recovery-steps span { margin-top: 6px; color: #b8c3cc; }
.ai-console__recovery-content .ai-console__recovery-boundary { padding-top: 12px; border-top: 1px solid #493d33; color: #aeb8c0; }

/* AI Copilot remains a local, read-only public-index demo. */
.assistant-panel {
  grid-template-rows: auto auto minmax(160px,1fr) auto auto auto;
  width: min(520px, calc(100vw - 40px));
  border-color: #2a3541;
  border-radius: 16px;
  background: #f8f7f2;
  box-shadow: 0 34px 100px rgba(9,14,20,.28);
}
.assistant-panel > header { min-height: 72px; padding: 0 18px; background: var(--console-bg); }
.assistant-panel > header b { color: #f2f6f9; font-size: 11px; letter-spacing: .07em; }
.assistant-panel > header small { color: #96a2ad; font-size: 9px; }
.assistant-panel > header button { min-width: 44px; min-height: 44px; border-color: #46525e; }
.assistant-truthbar { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px; border-bottom: 1px solid #d1cec5; background: #ece9df; }
.assistant-truthbar span { padding: 5px 7px; border: 1px solid #9f9c94; border-radius: 999px; color: #454b50; font: 8px/1 var(--mono); }
.assistant-truthbar span:first-child { border-color: #a87931; color: #765015; }
.assistant-messages { gap: 12px; padding: 18px; }
.assistant-message { max-width: 94%; padding: 14px; border-radius: 11px; font-size: 13px; line-height: 1.55; }
.assistant-message.is-agent { border-color: #c8cbd0; background: #f1f3f4; }
.assistant-message.is-user { border-color: var(--console-bg); background: var(--console-bg); }
.assistant-prompts { gap: 7px; padding: 0 18px 14px; }
.assistant-prompts button { min-height: 38px; padding: 8px 11px; border-color: #8c9297; background: #f8f7f2; font-size: 9px; }
.assistant-form { padding: 14px 18px; border-color: #c9c6bd; background: #f1efe8; }
.assistant-form input { height: 46px; border-color: #747a7e; border-radius: 7px; font-size: 13px; }
.assistant-form button { min-width: 76px; min-height: 46px; border-radius: 7px; }
.assistant-panel > footer { padding: 13px 18px; border-color: #c9c6bd; font-size: 9px; }
.assistant-brief { display: grid; gap: 12px; }
.assistant-brief__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #c7cbd0; }
.assistant-brief__head span { font: 9px var(--mono); letter-spacing: .05em; }
.assistant-brief__head i { color: #7a5520; font: normal 8px var(--mono); white-space: nowrap; }
.assistant-phase-rail { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
.assistant-phase-rail span { padding: 7px 5px; border: 1px solid #c2c6c9; border-radius: 6px; color: #777f85; text-align: center; font: 7px/1.35 var(--mono); }
.assistant-phase-rail span.is-complete { border-color: #91af9d; color: #47745b; }
.assistant-phase-rail span[aria-current="step"] { border-color: #8773b9; background: #eeeafb; color: #594486; }
.assistant-scope { display: grid; grid-template-columns: 120px 1fr; gap: 8px; margin: 0; }
.assistant-scope dt { color: #737b81; font: 8px var(--mono); }
.assistant-scope dd { margin: 0; font: 9px var(--mono); font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.assistant-plan-summary { padding: 13px; border: 1px solid #c3c8cd; border-radius: 8px; background: #fff; }
.assistant-plan-summary b { font: 9px var(--mono); color: #564482; letter-spacing: .04em; }
.assistant-plan-summary p { margin: 9px 0 0; color: #40484f; font-size: 12px; line-height: 1.55; }
.assistant-next-context { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.assistant-next-context li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: center; }
.assistant-next-context i { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #aeb4b9; border-radius: 50%; font: normal 8px var(--mono); }
.assistant-next-context span { font-size: 11px; }
.assistant-results { margin-top: 0; }
.assistant-results a { min-height: 48px; border-radius: 7px; }
.assistant-results b { font-size: 11px; }
.assistant-artifact { padding: 13px; border: 1px solid #aeb5ba; border-radius: 9px; background: #fff; }
.assistant-artifact > div:first-child { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #c7ccd0; }
.assistant-artifact > div:first-child b { color: #3b444a; font: 9px/1.35 var(--mono); }
.assistant-artifact > div:first-child i { color: #72569d; font: normal 7px/1.35 var(--mono); overflow-wrap: anywhere; }
.assistant-artifact dl { display: grid; grid-template-columns: 92px 1fr; gap: 7px 10px; margin: 12px 0; }
.assistant-artifact dt { color: #747d83; font: 7px var(--mono); }
.assistant-artifact dd { margin: 0; color: #394147; font: 8px var(--mono); font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.assistant-artifact__workflow { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.assistant-artifact__workflow li { display: grid; grid-template-columns: 24px 1fr; gap: 7px; align-items: center; }
.assistant-artifact__workflow i { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #b7bdc1; border-radius: 50%; color: #5d6870; font: normal 7px var(--mono); }
.assistant-artifact__workflow span { color: #4e575e; font-size: 9px; line-height: 1.35; }
.assistant-artifact__validation { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #c7ccd0; }
.assistant-artifact__validation span { padding: 5px 6px; border: 1px solid #8eb49d; border-radius: 999px; color: #3d704f; font: 7px/1 var(--mono); }
.assistant-artifact__validation[data-validation-state="not-evaluated"] span { border-color: #a5a9ac; color: #596168; }
.assistant-safety { margin: 0; padding-top: 10px; border-top: 1px solid #c8ccd0; color: #687178; font: 8px/1.55 var(--mono); }
.assistant-launch { min-height: 50px; border-color: #28333d; background: var(--console-bg); box-shadow: 0 16px 44px rgba(8,12,17,.24); font-size: 10px; }
.assistant-launch i { background: var(--state-plan); box-shadow: 0 0 0 4px rgba(185,162,255,.15); }
.assistant-launch[hidden] { display: none !important; }
body.ai-console-in-view .assistant-launch { visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(10px); }
body.ai-console-in-view .assistant-launch:focus,
body.ai-console-in-view .assistant-launch[data-assistant-restore-focus="true"] { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
[data-assistant-inert="true"] { pointer-events: none; user-select: none; }

/* Truth-safe capability gallery used by the homepage SSR enhancement. */
.ai-lab-section { max-width: none; padding-right: max(var(--gutter), calc((100vw - var(--max))/2 + var(--gutter))); padding-left: max(var(--gutter), calc((100vw - var(--max))/2 + var(--gutter))); border-top: 1px solid var(--line); background: #e8e4da; }
.ai-lab-intro { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; align-items: start; margin-bottom: 24px; }
.ai-lab-intro > p { max-width: 720px; margin: 0; color: #505960; font-size: 13px; line-height: 1.6; }
.ai-lab-truth { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.ai-lab-truth span { padding: 6px 8px; border: 1px solid #929796; border-radius: 999px; color: #4d555b; font: 8px/1 var(--mono); letter-spacing: .03em; }
.ai-lab-truth span:nth-child(2) { border-color: #9a6c2b; color: #765015; }
.ai-lab-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.ai-lab-card { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 310px; padding: 22px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: rgba(251,250,246,.68); }
.ai-lab-card::before { width: 36px; height: 2px; background: var(--state-plan); content: ""; }
.ai-lab-card > span,
.ai-lab-card > i { margin-top: 18px; color: #616971; font: normal 9px var(--mono); letter-spacing: .04em; }
.ai-lab-card h3 { margin: auto 0 12px; font-size: clamp(21px, 2vw, 30px); line-height: 1.04; letter-spacing: -.04em; }
.ai-lab-card p { margin: 0; color: #505860; font-size: 13px; line-height: 1.55; }
.ai-lab-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.ai-lab-card__meta span { padding: 6px 7px; border: 1px solid #9ca19f; border-radius: 999px; font: 8px/1 var(--mono); }
.ai-lab-card__meta span:first-child { border-color: #9a6c2b; color: #765015; }
.ai-lab-card button,
.ai-lab-card [data-assistant-preset] { min-height: 44px; margin-top: 18px; padding: 0 13px; border: 1px solid var(--ink); background: transparent; font: 9px var(--mono); font-weight: 700; }
.ai-lab-card button:hover,
.ai-lab-card [data-assistant-preset]:hover { background: var(--ink); color: #fff; }
.ai-boundary-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; padding: 15px 17px; border: 1px solid #aaa79f; background: rgba(251,250,246,.58); color: #4b535a; font: 10px/1.55 var(--mono); }
.ai-boundary-note::before { flex: 0 0 auto; color: #9a6c2b; content: "◇"; }
.ai-boundary-note strong { flex: 0 0 auto; color: #765015; }
.ai-boundary-note a { margin-left: auto; border-bottom: 1px solid currentColor; color: #20262b; }

.solution-detail-page .solution-contract { border-color: var(--console-border); border-radius: 12px; background: var(--console-bg); color: var(--console-text); box-shadow: 0 24px 70px rgba(10,16,22,.15); }
.solution-detail-page .solution-contract > span { border-color: var(--console-border); color: var(--state-plan); }
.solution-detail-page .solution-contract small { color: var(--console-muted); }
.solution-detail-page .solution-contract i { color: var(--state-data); }

/* S.01 contract explorer: all content is SSR; JavaScript only adds tabs. */
.s01-ai-page { background: var(--paper); }
.s01-ai-page [data-s01-scenarios] { min-width: 0; }
.s01-truthbar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 13px 15px;
  border: 1px solid #aaa79f;
  background: rgba(251,250,246,.62);
}
.s01-truthbar span {
  padding: 6px 8px;
  border: 1px solid #979b9e;
  border-radius: 999px;
  color: #4f575e;
  font: 12px/1.34 var(--mono);
  letter-spacing: .04em;
}
.s01-truthbar span:first-child { border-color: #9a6c2b; color: #765015; }

.s01-knowledge-grid,
.s01-comparison-grid,
.s01-contract-grid,
.s01-control-grid,
.s01-evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.s01-knowledge-grid > *,
.s01-comparison-grid > *,
.s01-contract-grid > *,
.s01-control-grid > *,
.s01-evidence-grid > * {
  min-width: 0;
  min-height: 190px;
  padding: 20px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: rgba(251,250,246,.55);
}
.s01-knowledge-grid h3,
.s01-comparison-grid h3,
.s01-contract-grid h3,
.s01-control-grid h3,
.s01-evidence-grid h3 { margin: 30px 0 10px; font-size: clamp(17px,1.6vw,24px); line-height: 1.08; letter-spacing: -.03em; }
.s01-knowledge-grid p,
.s01-comparison-grid p,
.s01-contract-grid p,
.s01-control-grid p,
.s01-evidence-grid p { margin: 0; color: #555e66; font-size: 12px; line-height: 1.55; }
.s01-knowledge-grid i,
.s01-comparison-grid i,
.s01-contract-grid i,
.s01-control-grid i,
.s01-evidence-grid i { color: #6b7278; font: normal 8px var(--mono); }

.s01-workflow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0,1fr));
  margin: 0;
  padding: 0;
  border: 1px solid var(--ink);
  list-style: none;
}
.s01-workflow > * { position: relative; min-width: 0; min-height: 152px; padding: 16px 14px; border-right: 1px solid var(--ink); }
.s01-workflow > *:last-child { border-right: 0; }
.s01-workflow > *::after { position: absolute; right: -6px; top: 26px; z-index: 1; color: #6e767d; content: "→"; font: 10px var(--mono); }
.s01-workflow > *:last-child::after { display: none; }
.s01-workflow i,
.s01-workflow b,
.s01-workflow small { display: block; }
.s01-workflow i { color: #6b7278; font: normal 8px var(--mono); }
.s01-workflow b { margin-top: 45px; font-size: 13px; }
.s01-workflow small { margin-top: 8px; color: #606970; font-size: 10px; line-height: 1.45; }

.s01-scenario-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  margin: 0 0 14px;
  padding: 0;
  border: 1px solid var(--console-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--console-bg);
  list-style: none;
}
.s01-scenario-tabs > * { min-width: 0; border-right: 1px solid var(--console-border); }
.s01-scenario-tabs > *:last-child { border-right: 0; }
.s01-scenario-tabs [data-s01-scenario-tab] {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 9px 10px;
  color: #8e9aa5;
  text-align: center;
  font: 8px/1.35 var(--mono);
  letter-spacing: .025em;
}
.s01-scenario-tabs [data-s01-scenario-tab]:hover { background: #101821; color: #e8eef3; }
.s01-scenario-tabs [data-s01-scenario-tab][aria-selected="true"] { background: #17212c; color: var(--console-text); box-shadow: inset 0 -2px var(--state-plan); }
.s01-scenario-tabs [data-s01-scenario-tab]:focus-visible { position: relative; z-index: 2; outline: 2px solid var(--state-data); outline-offset: -3px; }

.s01-scenario-panel {
  position: relative;
  min-width: 0;
  margin-top: 14px;
  padding: clamp(18px,2.5vw,30px);
  overflow: hidden;
  border: 1px solid var(--console-border);
  border-radius: 14px;
  background:
    linear-gradient(rgba(102,178,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102,178,255,.024) 1px, transparent 1px),
    var(--console-bg);
  background-size: 34px 34px;
  color: var(--console-text);
  box-shadow: 0 24px 70px rgba(10,16,22,.15);
}
.s01-scenario-panel::before { position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--state-success); content: ""; }
.s01-scenario-panel[data-run-state="rejected"]::before,
.s01-scenario-panel[data-run-state="failed"]::before { background: var(--state-error); }
.s01-scenario-panel[data-run-state="timed_out"]::before,
.s01-scenario-panel[data-run-state="cancelled"]::before { background: var(--state-waiting); }
.s01-scenario-panel > header { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px 24px; align-items: start; padding-bottom: 20px; border-bottom: 1px solid var(--console-border); }
.s01-scenario-panel > header h3 { margin: 0; color: #f2f6f9; font-size: clamp(22px,2.6vw,36px); line-height: 1.05; letter-spacing: -.04em; }
.s01-scenario-panel > header p { grid-column: 1; max-width: 760px; margin: 5px 0 0; color: var(--console-muted); font-size: 12px; line-height: 1.55; }
.s01-scenario-panel > header small,
.s01-scenario-panel > header > span { color: var(--state-plan); font: 8px/1.4 var(--mono); text-align: right; }
.s01-scenario-panel dl { margin: 0; }
.s01-scenario-panel dt { color: #73808b; font: 8px var(--mono); }
.s01-scenario-panel dd { margin: 6px 0 0; color: #e0e7ec; font-size: 11px; overflow-wrap: anywhere; }

.s01-event-list { display: grid; gap: 0; margin: 20px 0 0; padding: 0; border-top: 1px solid #34404b; list-style: none; }
.s01-event-list > * { display: grid; grid-template-columns: 54px minmax(150px,.7fr) minmax(0,1.3fr); gap: 12px; min-width: 0; padding: 12px 5px; border-bottom: 1px solid #2b3641; }
.s01-event-list i { color: var(--state-data); font: normal 8px var(--mono); }
.s01-event-list b { color: #dbe3e9; font: 9px var(--mono); overflow-wrap: anywhere; }
.s01-event-list span,
.s01-event-list small { color: #8f9ca6; font-size: 10px; line-height: 1.45; }

.s01-scenario-panel .s01-contract-grid,
.s01-scenario-panel .s01-control-grid,
.s01-scenario-panel .s01-evidence-grid { grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 20px; border-color: #36424d; }
.s01-scenario-panel .s01-contract-grid > *,
.s01-scenario-panel .s01-control-grid > *,
.s01-scenario-panel .s01-evidence-grid > * { min-height: 150px; border-color: #36424d; background: rgba(18,27,36,.88); }
.s01-scenario-panel .s01-contract-grid h3,
.s01-scenario-panel .s01-control-grid h3,
.s01-scenario-panel .s01-evidence-grid h3 { color: #edf2f5; }
.s01-scenario-panel .s01-contract-grid p,
.s01-scenario-panel .s01-control-grid p,
.s01-scenario-panel .s01-evidence-grid p { color: #96a2ad; }
.s01-scenario-panel [data-external-effects="none"],
.s01-scenario-panel [data-writeback-count="0"] { color: var(--state-success); }
.s01-scenario-panel [data-retryable="false"] { color: var(--state-waiting); }
.s01-scenario-panel[hidden] { display: none; }

.s01-hero-grid { align-items: start; }
.s01-hero-copy,
.s01-console { min-width: 0; }
.s01-hero-boundary { max-width: 620px; padding-left: 14px; border-left: 2px solid #a87931; color: #555e66; font-size: 12px; line-height: 1.55; }
.s01-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 28px; }
.s01-hero-method { margin-top: 32px; color: #626b72; font: 9px/1.5 var(--mono); overflow-wrap: anywhere; }
.s01-console { display: block; padding: 0; overflow: hidden; scroll-margin-top: 88px; }
.s01-console__header { display: flex; justify-content: space-between; gap: 16px; align-items: start; padding: 16px; border-bottom: 1px solid var(--console-border); }
.s01-console__header > div:first-child > span { color: var(--state-plan); font: 12px/1.34 var(--mono); }
.s01-console__header h2 { margin: 8px 0 0; color: #f2f6f9; font-size: 18px; }
.s01-console .s01-truthbar { justify-content: flex-end; padding: 0; border: 0; background: transparent; }
.s01-console .s01-truthbar span { border-color: #45515d; color: #aeb9c2; }
.s01-console__runbar { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-bottom: 1px solid var(--console-border); background: #0d141b; }
.s01-console__runbar > div { min-width: 0; padding: 12px 14px; border-right: 1px solid var(--console-border); }
.s01-console__runbar > div:last-child { border-right: 0; }
.s01-console__runbar small,
.s01-console__runbar b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s01-console__runbar small { color: #778590; font: 12px/1.34 var(--mono); }
.s01-console__runbar b { margin-top: 6px; color: #d6dee5; font: 14px/1.5 var(--mono); }
.s01-system-rail { display: grid; grid-template-columns: minmax(0,1fr) 12px minmax(0,1fr) 12px minmax(0,1fr) 12px minmax(0,1fr); gap: 5px; align-items: center; padding: 14px; border-bottom: 1px solid var(--console-border); }
.s01-system-rail > span { min-width: 0; padding: 9px 5px; border: 1px solid #34404b; border-radius: 7px; text-align: center; font: 14px/1.5 var(--mono); }
.s01-system-rail small { display: block; margin-top: 5px; color: #778590; font-size: 12px; line-height: 1.34; }
.s01-system-rail i { color: #63717d; text-align: center; font: normal 12px/1.34 var(--mono); }
.s01-console__story { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.s01-console__story li { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 8px; min-width: 0; min-height: 126px; padding: 15px 10px; border-right: 1px solid var(--console-border); border-bottom: 1px solid var(--console-border); }
.s01-console__story li:nth-child(even) { border-right: 0; }
.s01-console__story li:last-child { grid-column: 1/-1; border-right: 0; border-bottom: 0; }
.s01-console__story i { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #485560; border-radius: 50%; color: var(--state-plan); font: normal 12px/1.34 var(--mono); }
.s01-console__story b,
.s01-console__story small { display: block; overflow-wrap: anywhere; }
.s01-console__story b { color: #dbe3e9; font-size: 14px; line-height: 1.5; }
.s01-console__story small { margin-top: 14px; color: #84919b; font-size: 14px; line-height: 1.5; }
.s01-console__footer { display: flex; justify-content: space-between; gap: 14px; padding: 14px 16px; border-top: 1px solid var(--console-border); color: #8d99a3; font: 12px/1.34 var(--mono); }
.s01-console__footer a { color: #dde5eb; }

.s01-comparison-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.s01-layer-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 24px; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.s01-layer-grid > * { min-width: 0; padding: 20px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.s01-workflow { display: block; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--console-border); border-radius: 14px; background: var(--console-bg); color: var(--console-text); }
.s01-workflow > header { display: flex; justify-content: space-between; gap: 18px; align-items: start; min-height: 0; padding: 18px; border-right: 0; border-bottom: 1px solid var(--console-border); }
.s01-workflow > header::after { display: none; }
.s01-workflow > header h3 { margin: 8px 0 0; font-size: clamp(20px,2.4vw,32px); }
.s01-workflow > header > div:first-child > span { color: var(--state-plan); font: 8px var(--mono); }
.s01-workflow .s01-truthbar { padding: 0; border: 0; background: transparent; }
.s01-workflow-steps { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); margin: 0; padding: 0; list-style: none; }
.s01-workflow-steps li { min-width: 0; min-height: 150px; padding: 16px 12px; border-right: 1px solid var(--console-border); }
.s01-workflow-steps li:last-child { border-right: 0; }
.s01-workflow-steps i,
.s01-workflow-steps b,
.s01-workflow-steps small { display: block; }
.s01-workflow-steps i { color: var(--state-data); font: normal 8px var(--mono); }
.s01-workflow-steps b { margin-top: 40px; font-size: 11px; }
.s01-workflow-steps small { margin-top: 8px; color: #84919b; font-size: 8px; line-height: 1.45; overflow-wrap: anywhere; }

.s01-scenario-panel > summary { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 2px 0 18px; border-bottom: 1px solid var(--console-border); cursor: pointer; list-style: none; }
.s01-scenario-panel > summary::-webkit-details-marker { display: none; }
.s01-scenario-panel > summary > span { color: var(--state-data); font: 9px var(--mono); }
.s01-scenario-panel > summary b,
.s01-scenario-panel > summary small { display: block; }
.s01-scenario-panel > summary b { color: #edf2f5; font-size: 16px; }
.s01-scenario-panel > summary small { margin-top: 6px; color: #88959f; font: 8px/1.45 var(--mono); overflow-wrap: anywhere; }
.s01-scenario-panel > summary i { color: var(--state-plan); font: normal 8px var(--mono); }
.s01-scenario-content { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(210px,.5fr); gap: 20px; }
.s01-scenario-content > aside { margin-top: 20px; padding: 16px; border: 1px solid #34404b; border-radius: 9px; background: #111922; }
.s01-scenario-content > aside dl > div { padding: 10px 0; border-bottom: 1px solid #2d3944; }
.s01-scenario-content > aside dl > div:last-child { border-bottom: 0; }
.s01-event-list > * { grid-template-columns: minmax(140px,.7fr) minmax(0,1.3fr); }
.s01-event-list code { color: var(--state-data); font: 9px var(--mono); overflow-wrap: anywhere; }

@media (max-width: 1180px) {
  .home-page .home-hero { grid-template-columns: 1fr; max-width: 1000px; }
  .home-page .hero-copy { max-width: 780px; }
  .ai-console { width: 100%; }
  .s01-knowledge-grid,
  .s01-comparison-grid,
  .s01-contract-grid,
  .s01-control-grid,
  .s01-evidence-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .ai-console__body { grid-template-columns: 1fr; min-height: 0; }
  .ai-console__timeline { grid-template-columns: repeat(7, minmax(0,1fr)); padding: 8px; border-right: 0; border-bottom: 1px solid var(--console-border); }
  .ai-console__timeline li::after { top: 21px; right: -50%; bottom: auto; left: 50%; width: auto; height: 1px; }
  .ai-console__timeline button { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 5px; padding: 5px 2px; text-align: center; }
  .ai-console__timeline button i { width: 26px; height: 26px; }
  .ai-console__timeline button span { font-size: 12px; line-height: 1.34; }
  .ai-console__detail { min-height: 318px; }
  .ai-console__recovery > ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ai-console__recovery > ol > li:last-child { grid-column: 1/-1; }
  body.assistant-open { overflow: hidden; }
  .assistant-panel { inset: 0; width: 100%; height: 100dvh; max-height: none; border: 0; border-radius: 0; }
  .ai-lab-intro { grid-template-columns: 1fr; }
  .ai-lab-truth { justify-content: flex-start; }
  .ai-lab-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ai-boundary-note { flex-direction: column; }
  .ai-boundary-note a { margin-left: 0; }
  .s01-workflow { grid-template-columns: 1fr; }
  .s01-hero-grid { grid-template-columns: 1fr; }
  .s01-workflow > header { min-height: 0; border-right: 0; border-bottom: 1px solid var(--console-border); }
  .s01-workflow > header::after { display: none; }
  .s01-workflow-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .s01-workflow-steps li { border-bottom: 1px solid var(--console-border); }
  .s01-layer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .s01-scenario-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .s01-scenario-tabs > * { border-bottom: 1px solid var(--console-border); }
  .s01-scenario-tabs > *:nth-child(even) { border-right: 0; }
  .s01-scenario-tabs > *:last-child { grid-column: 1/-1; border-bottom: 0; }
  .s01-event-list > * { grid-template-columns: 48px minmax(0,1fr); }
  .s01-event-list span,
  .s01-event-list small { grid-column: 2; }
  .s01-scenario-panel .s01-contract-grid,
  .s01-scenario-panel .s01-control-grid,
  .s01-scenario-panel .s01-evidence-grid { grid-template-columns: 1fr; }
  .s01-scenario-content { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .home-page .home-hero { padding-top: 54px; }
  .ai-console.agent-dashboard { margin-right: 0; margin-left: 0; border-radius: 14px; }
  .ai-console__header { align-items: flex-start; flex-direction: column; gap: 10px; min-height: 0; padding: 14px; }
  .ai-console__truth { justify-content: flex-start; }
  .ai-console__identity span,
  .ai-console__truth span { font-size: 12px; }
  .ai-console__runbar { grid-template-columns: 1.2fr 1fr; }
  .ai-console__runbar > div { padding: 10px; }
  .ai-console__runbar small { font-size: 12px; }
  .ai-console__runbar b { font-size: 14px; }
  .ai-console__runbar > div:nth-child(2) { border-right: 0; }
  .ai-console__playback { grid-column: 1/-1; border-top: 1px solid var(--console-border); }
  .ai-console__rail { grid-template-columns: minmax(45px,1fr) 8px minmax(45px,1fr) 8px minmax(45px,1fr) 8px minmax(45px,1fr) 8px minmax(45px,1fr); gap: 2px; padding: 10px 8px; }
  .ai-console__rail > span { padding: 8px 3px; font-size: 14px; }
  .ai-console__rail > span small { display: none; }
  .ai-console__rail > i { font-size: 12px; }
  .ai-console__timeline button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .ai-console__timeline button,
  .ai-console__timeline button i { font-size: 12px; }
  .ai-console__detail { min-height: 370px; margin: 10px; padding: 18px 18px 104px; }
  .ai-console__eventline,
  .ai-console__kicker { font-size: 12px; }
  .ai-console__kicker { margin-top: 42px; }
  .ai-console__detail h2 { font-size: 23px; }
  .ai-console__summary { min-height: 62px; font-size: 14px; }
  .ai-console__meta span { font-size: 12px; }
  .ai-console__boundary { right: 18px; bottom: 16px; left: 18px; font-size: 14px; }
  .ai-console__static-story { grid-template-columns: 1fr; padding-bottom: 54px; }
  .ai-console__static-story li:last-child { grid-column: auto; }
  .ai-console__static-story b { font-size: 14px; }
  .ai-console__static-story small,
  .ai-console__static-story li > span { font-size: 14px; }
  .ai-console__footer { align-items: flex-start; flex-direction: column; padding: 10px; }
  .ai-console__footer > span { font-size: 12px; }
  .ai-console__footer > div { width: 100%; }
  .ai-console__footer > div { flex-wrap: wrap; }
  .ai-console__footer button { flex: 1; font-size: 12px; }
  .ai-console__recovery { padding: 16px 14px; }
  .ai-console__recovery > header { flex-direction: column; }
  .ai-console__recovery > ol,
  .ai-console__recovery-steps { grid-template-columns: 1fr; }
  .ai-console__recovery > ol > li:last-child,
  .ai-console__recovery-steps li:last-child { grid-column: auto; }
  .assistant-panel > header { min-height: 68px; }
  .assistant-panel > header b,
  .assistant-panel > header small,
  .assistant-truthbar span,
  .assistant-brief__head span,
  .assistant-brief__head i,
  .assistant-phase-rail span,
  .assistant-scope dt,
  .assistant-scope dd,
  .assistant-plan-summary b,
  .assistant-safety,
  .assistant-artifact > div:first-child b,
  .assistant-artifact > div:first-child i,
  .assistant-artifact dt,
  .assistant-artifact dd,
  .assistant-artifact__validation span { font-size: 12px; }
  .assistant-messages { padding: 14px; }
  .assistant-message { max-width: 96%; font-size: 14px; }
  .assistant-prompts { flex-wrap: wrap; padding-right: 14px; padding-left: 14px; overflow-x: visible; }
  .assistant-prompts button { flex: 1 1 calc(50% - 4px); min-width: 0; min-height: 44px; font-size: 12px; white-space: normal; }
  .assistant-form { padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); }
  .assistant-form input { font-size: 16px; }
  .assistant-scope { grid-template-columns: 1fr; }
  .assistant-scope dd { text-align: left; }
  .assistant-artifact > div:first-child { flex-direction: column; }
  .assistant-artifact dl { grid-template-columns: 1fr; }
  .assistant-artifact dd { text-align: left; }
  .assistant-next-context span,
  .assistant-results b,
  .assistant-artifact__workflow span { font-size: 14px; }
  .assistant-next-context i,
  .assistant-artifact__workflow i { font-size: 12px; }
  .ai-lab-grid { grid-template-columns: 1fr; }
  .ai-lab-card { min-height: 270px; }
  .ai-lab-truth span,
  .ai-lab-card__meta span,
  .ai-lab-card button,
  .ai-lab-card [data-assistant-preset] { font-size: 12px; }
  .ai-lab-intro > p,
  .ai-lab-card p,
  .ai-boundary-note { font-size: 14px; }
  .s01-knowledge-grid,
  .s01-comparison-grid,
  .s01-contract-grid,
  .s01-control-grid,
  .s01-evidence-grid { grid-template-columns: 1fr; }
  .s01-layer-grid { grid-template-columns: 1fr; }
  .s01-knowledge-grid > *,
  .s01-comparison-grid > *,
  .s01-contract-grid > *,
  .s01-control-grid > *,
  .s01-evidence-grid > * { min-height: 160px; }
  .s01-scenario-tabs { grid-template-columns: 1fr; }
  .s01-scenario-tabs > * { border-right: 0; }
  .s01-scenario-tabs > *:last-child { grid-column: auto; }
  .s01-scenario-panel { padding: 18px 15px; }
  .s01-scenario-panel > header { grid-template-columns: 1fr; }
  .s01-scenario-panel > header p,
  .s01-scenario-panel > header small,
  .s01-scenario-panel > header > span { grid-column: 1; text-align: left; }
  .s01-event-list > * { grid-template-columns: 1fr; }
  .s01-event-list span,
  .s01-event-list small { grid-column: 1; }
  .s01-hero-copy { width: 100%; }
  .s01-hero-boundary,
  .s01-section-intro { font-size: 14px; }
  .s01-hero-actions { align-items: stretch; flex-direction: column; }
  .s01-hero-actions .button { width: 100%; }
  .s01-hero-method { font-size: 12px; }
  .s01-console__header { flex-direction: column; }
  .s01-console__header > div:first-child > span,
  .s01-console__runbar small { font-size: 12px; }
  .s01-console__runbar b { font-size: 14px; }
  .s01-console__header h2 { font-size: 22px; }
  .s01-console .s01-truthbar { justify-content: flex-start; }
  .s01-console__runbar { grid-template-columns: 1fr 1fr; }
  .s01-console__runbar > div:nth-child(2) { border-right: 0; }
  .s01-console__runbar > div:last-child { grid-column: 1/-1; border-top: 1px solid var(--console-border); }
  .s01-system-rail { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .s01-system-rail > i { display: none; }
  .s01-system-rail > span { font-size: 14px; }
  .s01-system-rail small { font-size: 12px; }
  .s01-console__story { grid-template-columns: 1fr; }
  .s01-console__story li { min-height: 0; border-right: 0; border-bottom: 1px solid var(--console-border); }
  .s01-console__story li:last-child { grid-column: auto; border-bottom: 0; }
  .s01-console__story i { font-size: 12px; }
  .s01-console__story b { font-size: 14px; }
  .s01-console__story small { margin-top: 6px; font-size: 14px; }
  .s01-console__footer { align-items: flex-start; flex-direction: column; font-size: 12px; }
  .s01-console__footer a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; }
  .s01-workflow > header { align-items: flex-start; flex-direction: column; }
  .s01-workflow > header > div:first-child > span,
  .s01-workflow-steps i { font-size: 12px; }
  .s01-workflow-steps { grid-template-columns: 1fr; }
  .s01-workflow-steps li { min-height: 0; border-right: 0; }
  .s01-workflow-steps b { margin-top: 18px; font-size: 14px; }
  .s01-workflow-steps small { font-size: 14px; }
  .s01-scenario-panel > summary { grid-template-columns: 28px minmax(0,1fr); }
  .s01-scenario-panel > summary > i { grid-column: 2; }
  .s01-scenario-panel > summary > span,
  .s01-scenario-panel > summary small,
  .s01-scenario-panel > summary i,
  .s01-event-list code { font-size: 12px; }
  .s01-scenario-panel > summary b { font-size: 14px; }
  .s01-scenario-content > aside { font-size: 14px; }
  .s01-truthbar span,
  .s01-scenario-tabs [data-s01-scenario-tab],
  .s01-scenario-panel > header small,
  .s01-scenario-panel > header > span,
  .s01-scenario-panel dt,
  .s01-event-list i,
  .s01-event-list b { font-size: 12px; }
  .s01-scenario-panel > header p,
  .s01-scenario-panel dd,
  .s01-event-list span,
  .s01-event-list small,
  .s01-knowledge-grid p,
  .s01-comparison-grid p,
  .s01-contract-grid p,
  .s01-control-grid p,
  .s01-evidence-grid p { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .ai-console::before { display: none; }
  .ai-console__rail > span { transition: none; }
}

@media (forced-colors: active) {
  .ai-console,
  .ai-console__detail,
  .ai-console__timeline button i,
  .assistant-panel { border: 1px solid CanvasText; }
  .ai-console__identity i,
  .assistant-launch i { forced-color-adjust: none; }
}
