:root {
  --bg: #090a0c;
  --bg-soft: #0d0f12;
  --panel: #101216;
  --panel-2: #14171b;
  --text: #f2efe7;
  --muted: #8e98a5;
  --muted-dark: #5e6670;
  --orange: #ff8a3d;
  --orange-soft: #d96e2a;
  --line: rgba(225, 231, 238, 0.11);
  --line-strong: rgba(225, 231, 238, 0.2);
  --max: 1180px;
  --serif: "Songti SC", "STSong", "SimSun", serif;
  --sans: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.7; letter-spacing: 0; }
body.dialog-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; z-index: 999; left: 12px; top: -80px; padding: 10px 14px; background: var(--text); color: var(--bg); }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 72px; padding: 0 max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid transparent; background: rgba(9, 10, 12, 0.72); backdrop-filter: blur(16px); transition: border-color 180ms ease, background 180ms ease; }
.site-header.scrolled { border-color: var(--line); background: rgba(9, 10, 12, 0.92); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.brand b { color: var(--muted); font-weight: 500; }
.brand-mark { position: relative; width: 24px; height: 24px; display: inline-block; }
.brand-mark i { position: absolute; left: 10px; top: 1px; width: 4px; height: 22px; border-radius: 1px; background: var(--text); transform-origin: center; }
.brand-mark i:nth-child(2) { transform: rotate(60deg); }
.brand-mark i:nth-child(3) { transform: rotate(-60deg); }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { color: #a4acb6; font-size: 13px; transition: color 160ms ease; }
.site-nav a:hover { color: var(--text); }
.header-cta { justify-self: end; }
.menu-button { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); background: transparent; }
.menu-button span { display: block; width: 17px; height: 1px; margin: 5px auto; background: var(--text); }

.button { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid transparent; border-radius: 3px; cursor: pointer; font-size: 13px; font-weight: 650; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button-light { background: var(--text); color: #111216; }
.button-light:hover { background: #fff; }
.button-dark { background: #111216; color: var(--text); }
.button-dark:hover { background: #1b1d21; }
.button-ghost { border-color: var(--line-strong); background: transparent; color: var(--text); }

.hero { position: relative; min-height: 820px; padding: 144px max(28px, calc((100vw - var(--max)) / 2)) 96px; display: grid; grid-template-columns: minmax(0, .94fr) minmax(480px, 1.06fr); align-items: center; gap: 70px; overflow: hidden; }
.hero::before, .cta-band::before { content: ""; position: absolute; inset: 72px 0 0; pointer-events: none; background-image: radial-gradient(circle, rgba(210,220,230,.16) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); opacity: .45; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: 6%; top: 14%; border: 1px solid rgba(255,138,61,.14); border-radius: 50%; pointer-events: none; }
.hero-copy-block, .hero-diagram { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 24px; display: flex; align-items: center; gap: 10px; color: var(--orange); font: 10px/1.4 var(--mono); text-transform: uppercase; }
.eyebrow > span { width: 18px; height: 1px; background: var(--orange); }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: 0; }
.hero h1 { margin: 0; font-size: clamp(54px, 5.2vw, 82px); line-height: 1.12; }
h1 em, h2 em { color: #8c9199; font-style: normal; }
.hero-copy { max-width: 610px; margin: 30px 0 0; color: #abb3bc; font-size: 16px; line-height: 1.9; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 28px; }
.text-link { padding: 10px 0; color: #c9ced4; border-bottom: 1px solid var(--line-strong); font-size: 13px; }
.hero-tags { margin: 52px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; color: #6f7781; font: 10px var(--mono); }
.hero-tags li::before { content: "+"; margin-right: 8px; color: var(--orange); }

.hero-diagram { min-height: 520px; padding: 24px; border: 1px solid var(--line-strong); background: rgba(12,14,17,.86); box-shadow: 0 35px 100px rgba(0,0,0,.34); overflow: hidden; }
.hero-diagram::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 42px 42px; opacity: .33; }
.diagram-top, .diagram-foot { position: relative; display: flex; justify-content: space-between; color: #6f7780; font: 9px var(--mono); }
.status { color: #acb3bc; }
.status i, .console-head b i { width: 6px; height: 6px; margin-right: 7px; display: inline-block; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,138,61,.1); }
.diagram-title { position: relative; margin: 55px 0 52px; color: rgba(242,239,231,.08); font: 54px/1 var(--mono); }
.diagram-title b { color: var(--orange); font-weight: 400; }
.diagram-flow { position: relative; display: grid; grid-template-columns: 1fr 30px 1fr 30px 1fr; align-items: center; }
.flow-node { min-height: 125px; padding: 16px 12px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); background: rgba(17,19,23,.92); }
.flow-node.active { border-color: rgba(255,138,61,.55); box-shadow: inset 3px 0 var(--orange); }
.flow-node small { color: var(--orange); font: 8px var(--mono); }
.flow-node strong { margin: 12px 0 3px; font-family: var(--serif); font-size: 18px; font-weight: 500; }
.flow-node span { color: #777f89; font-size: 9px; }
.flow-line { height: 1px; background: var(--orange-soft); }
.diagram-foot { position: absolute; left: 24px; right: 24px; bottom: 22px; }
.diagram-foot b { color: var(--orange); font-weight: 400; }

.signal-strip { min-height: 56px; padding: 0 max(28px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #666e78; font: 9px var(--mono); }
.section { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; padding: 126px 0; }
.section-heading { max-width: 880px; margin-bottom: 65px; }
.section-heading h2, .identity h2 { margin: 0; font-size: 52px; line-height: 1.22; }
.section-heading > p:last-child, .split-heading > p { max-width: 480px; color: var(--muted); font-size: 14px; }
.split-heading { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 430px; align-items: end; gap: 60px; }
.split-heading > p { margin: 0 0 8px; }

.friction { border-bottom: 1px solid var(--line); }
.friction-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.friction-grid article { min-height: 270px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 180ms ease; }
.friction-grid article:hover { background: var(--panel); }
.friction-grid span { color: var(--orange); font: 10px var(--mono); }
.friction-grid h3 { margin: 75px 0 13px; font-family: var(--serif); font-size: 23px; font-weight: 500; }
.friction-grid p { margin: 0; color: var(--muted); font-size: 13px; }

.identity { min-height: 760px; display: grid; grid-template-columns: .86fr 1.14fr; gap: 90px; align-items: center; }
.identity-intro > p:last-child { max-width: 480px; margin-top: 32px; color: var(--muted); font-size: 15px; }
.identity-grid { position: relative; min-height: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.identity-grid::before { content: "FDE"; position: absolute; right: 0; top: -112px; color: rgba(255,255,255,.025); font: 190px/1 var(--mono); }
.identity-card { position: relative; min-height: 248px; padding: 28px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.identity-card:last-child { grid-column: 1 / -1; }
.identity-card b { color: #5f6873; font: 10px var(--mono); }
.identity-card h3 { margin: 80px 0 10px; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.identity-card p { max-width: 370px; margin: 0; color: var(--muted); font-size: 13px; }
.accent-card { border-color: rgba(255,138,61,.42); background: #15120f; }
.accent-card::after { content: "ARCHITECT"; position: absolute; top: 27px; right: -35px; color: rgba(255,138,61,.08); font: 28px var(--mono); transform: rotate(90deg); }

.method { width: 100%; padding-left: max(28px, calc((100vw - var(--max)) / 2)); padding-right: max(28px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.method-map { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); }
.method-line { position: absolute; left: 7%; right: 7%; top: 36px; height: 1px; background: linear-gradient(90deg, var(--line-strong), var(--orange), var(--line-strong)); }
.method-map article { position: relative; min-height: 210px; padding: 0 18px; text-align: center; }
.method-map i { width: 72px; height: 72px; margin: 0 auto 24px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--bg-soft); color: var(--muted); font: normal 10px var(--mono); }
.method-map strong, .method-map span { display: block; }
.method-map strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.method-map span { margin-top: 6px; color: var(--muted); font-size: 11px; }
.method-focus i { border-color: var(--orange); background: var(--orange); color: #17120f; box-shadow: 0 0 0 10px rgba(255,138,61,.07); }

.scene-list { border-top: 1px solid var(--line); }
.scene-list article { min-height: 132px; padding: 26px 0; display: grid; grid-template-columns: 150px minmax(250px,.8fr) 1.2fr auto; align-items: center; gap: 34px; border-bottom: 1px solid var(--line); }
.scene-list article > span { color: var(--orange); font: 9px var(--mono); }
.scene-list h3 { margin: 0; font-family: var(--serif); font-size: 23px; font-weight: 500; }
.scene-list p { margin: 0; color: var(--muted); font-size: 13px; }
.scene-list b { color: #7c858f; font: 9px var(--mono); font-weight: 400; white-space: nowrap; }

.console-section { width: 100%; padding-left: max(28px, calc((100vw - var(--max)) / 2)); padding-right: max(28px, calc((100vw - var(--max)) / 2)); background: #0c0e11; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.console { min-height: 570px; border: 1px solid var(--line-strong); background: #0b0d10; box-shadow: 0 30px 80px rgba(0,0,0,.34); }
.console-bar { height: 44px; padding: 0 16px; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; border-bottom: 1px solid var(--line); color: #5f6771; font: 9px var(--mono); }
.console-bar > span { display: flex; gap: 6px; }
.console-bar > span i { width: 7px; height: 7px; border-radius: 50%; background: #3d434b; }
.console-bar b { justify-self: center; color: #78818c; font-weight: 400; }
.console-bar em { justify-self: end; color: var(--orange); font-style: normal; }
.console-body { min-height: 526px; display: grid; grid-template-columns: 220px 1fr; }
.console aside { padding: 26px 20px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #0e1013; }
.console aside > span { color: #5f6872; font: 8px var(--mono); }
.console aside > strong { margin: 7px 0 32px; font-size: 13px; }
.console aside a { margin: 2px 0; padding: 10px 12px; color: #6f7883; font: 10px var(--mono); }
.console aside a.active { background: rgba(255,138,61,.08); color: var(--orange); border-left: 2px solid var(--orange); }
.console aside small { margin-top: auto; color: #3f464e; font: 8px/1.7 var(--mono); }
.console-main { min-width: 0; padding: 28px; }
.console-head { padding-bottom: 22px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 13px; }
.console-head b { color: #89929d; font: 9px var(--mono); }
.pipeline { min-height: 330px; display: grid; grid-template-columns: 1fr 45px 1fr 45px 1fr; align-items: center; }
.pipeline > div { min-height: 170px; padding: 22px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); background: var(--panel); }
.pipeline > i { color: var(--orange); font: normal 18px var(--mono); text-align: center; }
.pipeline small { color: #626b75; font: 8px var(--mono); }
.pipeline strong { margin: 18px 0 12px; font-family: var(--serif); font-size: 19px; line-height: 1.5; font-weight: 500; }
.pipeline span { color: #69727d; font-size: 10px; }
.pipeline .pipeline-accent { border-color: rgba(255,138,61,.5); box-shadow: inset 0 3px var(--orange); }
.pipeline .pipeline-accent small { color: var(--orange); }
.console-log { min-height: 54px; padding: 0 16px; display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 16px; border: 1px solid var(--line); color: #65707a; font: 9px var(--mono); }
.console-log p { color: #a4acb5; }
.console-log b { color: var(--orange); font-weight: 400; }

.notes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.notes-grid article { min-height: 350px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--panel); }
.notes-grid span { color: var(--orange); font: 9px var(--mono); }
.notes-grid h3 { margin: 72px 0 17px; font-family: var(--serif); font-size: 23px; line-height: 1.5; font-weight: 500; }
.notes-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.notes-grid a { margin-top: auto; color: #c9ced4; font-size: 12px; }

.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; border-top: 1px solid var(--line); }
.faq-title { position: sticky; top: 110px; align-self: start; }
.faq-title h2 { margin: 0; font-size: 48px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; font-size: 15px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; flex: 0 0 18px; height: 18px; }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; top: 8px; left: 0; width: 18px; height: 1px; background: var(--orange); transition: transform 160ms ease; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details p { max-width: 650px; margin: -5px 48px 26px 0; color: var(--muted); font-size: 13px; }

.cta-band { position: relative; min-height: 560px; padding: 110px max(28px, calc((100vw - var(--max)) / 2)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.cta-band::before { inset: 0; }
.cta-band > * { position: relative; }
.cta-band > p:first-child { color: var(--orange); font: 9px var(--mono); }
.cta-band h2 { margin: 22px 0 20px; font-size: 64px; line-height: 1.15; }
.cta-copy { max-width: 560px; margin: 0 0 34px; color: var(--muted); font-size: 14px; }

.site-footer { position: relative; width: min(var(--max), calc(100% - 56px)); min-height: 330px; margin: 0 auto; padding: 70px 0 38px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; }
.footer-brand p { max-width: 340px; margin: 22px 0 8px; color: var(--muted); font-size: 13px; }
.footer-brand small { color: #515861; font-size: 10px; }
.site-footer h3 { margin: 0 0 17px; color: #59616b; font-size: 10px; font-weight: 500; }
.site-footer > div:not(.footer-brand) a, .site-footer > div:not(.footer-brand) button { display: block; margin: 10px 0; padding: 0; border: 0; background: transparent; color: #a0a8b2; font-size: 12px; cursor: pointer; }
.site-footer a:hover, .site-footer button:hover { color: var(--orange) !important; }
.copyright { position: absolute; left: 0; right: 0; bottom: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: #4d545d; font: 9px var(--mono); }
.floating-cta { position: fixed; z-index: 80; right: 24px; bottom: 22px; height: 46px; padding: 0 16px; display: flex; align-items: center; gap: 13px; border: 1px solid rgba(9,10,12,.15); border-radius: 3px; background: var(--text); color: #101114; font-size: 12px; font-weight: 700; box-shadow: 0 14px 40px rgba(0,0,0,.32); cursor: pointer; }

.diagnosis-dialog { width: min(980px, calc(100% - 34px)); max-height: min(780px, calc(100svh - 34px)); padding: 0; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--bg); color: var(--text); overflow: hidden; }
.diagnosis-dialog::backdrop { background: rgba(0,0,0,.84); backdrop-filter: blur(8px); }
.dialog-shell { min-height: 650px; display: grid; grid-template-columns: 300px 1fr; }
.dialog-aside { padding: 34px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #0d0f12; }
.dialog-aside > p, .step-label { margin: 0; color: var(--orange); font: 9px var(--mono); }
.dialog-aside h2 { margin: 28px 0 12px; font-family: var(--serif); font-size: 30px; line-height: 1.4; font-weight: 500; }
.dialog-aside > span { color: #6f7781; font-size: 11px; }
.dialog-aside ol { margin: 56px 0 0; padding: 0; list-style: none; }
.dialog-aside li { position: relative; min-height: 43px; display: flex; align-items: center; gap: 12px; color: #505862; font-size: 11px; }
.dialog-aside li:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 33px; bottom: -8px; width: 1px; background: var(--line); }
.dialog-aside li b { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font: 8px var(--mono); }
.dialog-aside li.active { color: var(--text); }
.dialog-aside li.active b { border-color: var(--orange); background: var(--orange); color: #17120f; }
.dialog-note { margin-top: auto; color: #4f5761; font-size: 9px; line-height: 1.7; }
.dialog-main { position: relative; min-width: 0; padding: 52px 48px 32px; overflow-y: auto; }
.dialog-close { position: absolute; z-index: 2; top: 16px; right: 16px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 3px; background: transparent; color: #8b939d; font-size: 22px; cursor: pointer; }
.form-step { display: none; }
.form-step.active { display: block; animation: rise 220ms ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.form-step h3 { margin: 15px 0 4px; font-family: var(--serif); font-size: 29px; font-weight: 500; }
.form-step > p:not(.step-label):not(.result-note):not(.copy-status) { margin: 0 0 24px; color: var(--muted); font-size: 12px; }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.option-list { display: grid; gap: 9px; }
.option-grid label, .option-list label { cursor: pointer; }
.option-grid input, .option-list input { position: absolute; opacity: 0; pointer-events: none; }
.option-grid label > span, .option-list label > span { min-height: 78px; padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); background: #0c0e11; transition: border-color 140ms ease, background 140ms ease; }
.option-grid input:checked + span, .option-list input:checked + span { border-color: var(--orange); background: #15120f; box-shadow: inset 3px 0 var(--orange); }
.option-grid strong, .option-list strong { font-size: 12px; }
.option-grid small, .option-list small { margin-top: 3px; color: #69727c; font-size: 10px; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field-grid label { display: grid; gap: 7px; }
.field-grid label > span { color: #939ba5; font-size: 11px; }
.field-grid label b { color: var(--orange); }
.full-field { grid-column: 1 / -1; }
.field-grid input, .field-grid textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 2px; outline: none; background: #0d0f12; color: var(--text); font-size: 13px; resize: vertical; }
.field-grid input:focus, .field-grid textarea:focus { border-color: var(--orange); }
.form-actions { margin-top: 26px; display: flex; justify-content: space-between; gap: 12px; }
.form-actions .button:last-child { margin-left: auto; }
.form-error { min-height: 20px; margin: 8px 0 0; color: #ff9a66; font-size: 11px; }
.diagnosis-result { padding: 22px; border: 1px solid var(--line); border-left: 3px solid var(--orange); background: #111013; }
.diagnosis-result h4 { margin: 0 0 10px; color: var(--orange); font-family: var(--serif); font-size: 23px; font-weight: 500; }
.diagnosis-result p { margin: 8px 0; color: #acb3bc; font-size: 12px; }
.diagnosis-result ul { margin: 15px 0 0; padding-left: 18px; color: #d7dbe0; font-size: 12px; }
.result-note { color: #616a74; font-size: 10px; }
.copy-result { margin-top: 14px; }
.copy-status { min-height: 18px; color: var(--orange); font-size: 10px; }

.footer-handle { display: block; margin: 10px 0; color: #a0a8b2; font-size: 12px; }
.consent-field { display: flex !important; grid-template-columns: none !important; flex-direction: row; align-items: flex-start; gap: 10px !important; color: #7e8791; font-size: 10px; line-height: 1.6; cursor: pointer; }
.consent-field input { width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--orange); }
.submit-status { margin: 15px 0 0; padding: 11px 13px; border: 1px solid var(--line); font-size: 11px; }
.submit-status.success { border-color: rgba(255,138,61,.4); color: #d5d9de; background: rgba(255,138,61,.06); }
.submit-status.error { color: #ffad81; }
.form-actions .button:disabled { opacity: .6; cursor: wait; transform: none; }

@media (max-width: 1020px) {
  .site-header { padding: 0 22px; grid-template-columns: auto 1fr auto; }
  .menu-button { display: block; justify-self: end; }
  .header-cta { display: none; }
  .site-nav { position: fixed; inset: 72px 0 auto; padding: 18px 22px 24px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: rgba(9,10,12,.98); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; }
  .hero { grid-template-columns: 1fr; }
  .hero-diagram { max-width: 760px; }
  .friction-grid { grid-template-columns: repeat(2, 1fr); }
  .identity { grid-template-columns: 1fr; gap: 60px; }
  .identity-grid { min-height: auto; }
  .scene-list article { grid-template-columns: 110px 1fr 1.2fr; }
  .scene-list b { grid-column: 2 / -1; }
  .dialog-shell { grid-template-columns: 250px 1fr; }
}

@media (max-width: 720px) {
  .site-header { height: 64px; }
  .site-nav { top: 64px; }
  .brand b { display: none; }
  .hero { min-height: 0; padding: 112px 18px 64px; gap: 48px; }
  .hero::before { inset: 64px 0 0; }
  .hero::after { width: 300px; height: 300px; right: -120px; top: 30%; }
  .hero h1 { font-size: 43px; }
  .hero-copy { font-size: 14px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .text-link { align-self: flex-start; }
  .hero-tags { margin-top: 36px; }
  .hero-diagram { min-height: 470px; padding: 18px; }
  .diagram-title { margin: 46px 0 34px; font-size: 39px; }
  .diagram-flow { grid-template-columns: 1fr; gap: 8px; }
  .flow-node { min-height: 80px; }
  .flow-line { width: 1px; height: 10px; margin: auto; }
  .diagram-foot { left: 18px; right: 18px; bottom: 15px; }
  .signal-strip { min-height: 86px; padding: 14px 18px; grid-template-columns: repeat(2, 1fr); }
  .section { width: calc(100% - 36px); padding: 82px 0; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2, .identity h2, .faq-title h2 { font-size: 36px; }
  .split-heading { display: block; }
  .split-heading > p { margin-top: 24px; }
  .friction-grid { grid-template-columns: 1fr; }
  .friction-grid article { min-height: 220px; }
  .friction-grid h3 { margin-top: 52px; }
  .identity { gap: 45px; }
  .identity-grid { grid-template-columns: 1fr; }
  .identity-card, .identity-card:last-child { grid-column: auto; min-height: 225px; }
  .identity-card h3 { margin-top: 58px; }
  .method { width: 100%; padding-left: 18px; padding-right: 18px; }
  .method-map { grid-template-columns: 1fr; gap: 0; }
  .method-line { left: 35px; right: auto; top: 30px; bottom: 80px; width: 1px; height: auto; }
  .method-map article { min-height: 102px; padding: 0; display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto; text-align: left; column-gap: 20px; align-content: start; }
  .method-map i { grid-row: 1 / 3; margin: 0; }
  .method-map strong { margin-top: 8px; }
  .method-map span { margin: 0; }
  .scene-list article { padding: 27px 0; grid-template-columns: 1fr; gap: 9px; }
  .scene-list b { grid-column: auto; margin-top: 8px; white-space: normal; }
  .console-section { width: 100%; padding-left: 18px; padding-right: 18px; }
  .console { min-height: 0; }
  .console-bar { grid-template-columns: 1fr auto; }
  .console-bar b { display: none; }
  .console-body { min-height: 0; grid-template-columns: 1fr; }
  .console aside { display: none; }
  .console-main { padding: 16px; }
  .pipeline { padding: 24px 0; grid-template-columns: 1fr; gap: 8px; }
  .pipeline > div { min-height: 125px; }
  .pipeline > i { transform: rotate(90deg); }
  .console-log { grid-template-columns: 64px 1fr; }
  .console-log b { grid-column: 2; margin-top: -12px; }
  .notes-grid { grid-template-columns: 1fr; }
  .notes-grid article { min-height: 300px; }
  .faq { grid-template-columns: 1fr; gap: 22px; }
  .faq-title { position: static; }
  .cta-band { min-height: 500px; padding: 82px 18px; }
  .cta-band h2 { font-size: 43px; }
  .site-footer { min-height: 530px; width: calc(100% - 36px); grid-template-columns: 1fr 1fr; gap: 35px 25px; }
  .footer-brand { grid-column: 1 / -1; }
  .floating-cta { right: 14px; bottom: 14px; width: 46px; padding: 0; justify-content: center; }
  .floating-cta span { display: none; }
  .diagnosis-dialog { width: calc(100% - 14px); max-height: calc(100svh - 14px); }
  .dialog-shell { min-height: 0; grid-template-columns: 1fr; }
  .dialog-aside { display: none; }
  .dialog-main { padding: 58px 18px 24px; }
  .option-grid, .field-grid { grid-template-columns: 1fr; }
  .full-field { grid-column: auto; }
  .form-step h3 { font-size: 25px; }
}

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