/* ============================================================
   SakugaCut Landing — 设计语言与 frontend/src/styles.css 保持一致
   主色 #176b45 · 背景 #f7f8f6 · Inter · 圆角卡片 · 细边框
   ============================================================ */

:root {
  color: #17211b;
  background: #f7f8f6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;

  --bg: #f7f8f6;
  --panel: #fff;
  --ink: #17211b;
  --ink2: #34413a;
  --muted: #748078;
  --faint: #98a09b;
  --line: #e5e8e4;
  --line2: #e1e6e2;
  --green: #176b45;
  --greenDeep: #105a39;
  --greenSoft: #e8f3ec;
  --greenLine: #bcd2c4;
  --dark: #162119;
  --dark2: #2b3a31;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadowCard: 0 5px 22px rgba(29, 53, 38, .05);
  --shadowPop: 0 10px 28px rgba(26, 41, 31, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
::selection { background: #cfe8da; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.icon { width: 1em; height: 1em; flex-shrink: 0; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }

.wrap { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 88px 0; scroll-margin-top: 72px; }
.section + .section { padding-top: 24px; }

.eyebrowRow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.eyebrowIndex { display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 8px; border: 1px solid var(--greenLine); border-radius: 99px; color: var(--green); background: var(--greenSoft); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.eyebrow { color: #4f7862; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sectionTitle { margin: 0 0 12px; color: var(--ink); font-size: 27px; font-weight: 720; letter-spacing: -.025em; line-height: 1.25; }
.sectionTitle em { font-style: normal; color: var(--green); }
.lead { max-width: 660px; margin: 0 0 34px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.lead strong { color: var(--ink2); font-weight: 650; }

/* ---------------- Nav ---------------- */

.nav { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; background: rgba(247, 248, 246, .86); backdrop-filter: blur(10px); transition: border-color .2s ease, box-shadow .2s ease; }
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(29, 53, 38, .04); }
.navInner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brandMark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: var(--green); box-shadow: 0 6px 18px rgba(23, 107, 69, .18); font-size: 17px; }
.brandText { display: grid; gap: 1px; }
.brandText strong { font-size: 15px; letter-spacing: -.02em; }
.brandText span { color: #778079; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.navLinks { display: flex; align-items: center; gap: 4px; }
.navLinks a { padding: 8px 11px; border-radius: 8px; color: #556059; text-decoration: none; font-size: 12.5px; font-weight: 600; }
.navLinks a:hover { color: #1e2e24; background: #eaeeea; }
.navCta { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 7px 13px; border-radius: 9px; color: #fff !important; background: var(--green); font-size: 12.5px; font-weight: 650; box-shadow: 0 6px 16px rgba(23, 107, 69, .22); }
.navCta:hover { background: var(--greenDeep); }

/* ---------------- Hero ---------------- */

.hero { padding: 72px 0 64px; background:
  radial-gradient(900px 340px at 50% -60px, rgba(23, 107, 69, .07), transparent 70%),
  linear-gradient(180deg, #fbfcfa 0%, var(--bg) 100%);
}
.heroInner { display: grid; justify-items: center; text-align: center; }
.heroTitle { max-width: 780px; margin: 0 0 18px; color: var(--ink); font-size: clamp(30px, 4.6vw, 46px); font-weight: 750; letter-spacing: -.035em; line-height: 1.18; }
.heroTitle em { font-style: normal; color: var(--green); }
.heroLead { max-width: 640px; margin: 0 0 26px; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.heroLead strong { color: var(--ink2); font-weight: 650; }
.heroActions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 46px; }
.buttonPrimary { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 9px 17px; border-radius: 11px; color: #fff; background: var(--green); text-decoration: none; font-size: 13px; font-weight: 650; box-shadow: 0 8px 20px rgba(23, 107, 69, .22); }
.buttonPrimary:hover { background: var(--greenDeep); }

/* ---------------- App 窗口示意（占位容器） ---------------- */

.appWindow { width: min(980px, 100%); border: 1px solid #d8ded9; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px rgba(23, 38, 28, .14); overflow: hidden; }
.appTitlebar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-bottom: 1px solid #e9ebe8; background: #f5f7f4; }
.appTitlebar .dot { width: 11px; height: 11px; border-radius: 99px; }
.dot.r { background: #e6a49b; } .dot.y { background: #e7cd9a; } .dot.g { background: #aed3b9; }
.appUrl { margin-left: 10px; padding: 3px 10px; border-radius: 7px; color: #8a938e; background: #fff; font-family: var(--mono); font-size: 10px; }
.appBody { display: grid; grid-template-columns: 208px minmax(0, 1fr) 236px; min-height: 460px; }

.awSidebar { display: flex; flex-direction: column; padding: 14px 10px; border-right: 1px solid var(--line); background: #f5f7f4; }
.awBrand { display: flex; align-items: center; gap: 9px; padding: 0 4px 16px; }
.awBrandMark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #fff; background: var(--green); font-size: 15px; }
.awBrandName { display: grid; gap: 1px; }
.awBrandName strong { font-size: 13px; }
.awBrandName span { color: #778079; font-size: 9px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.awNew { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; border: 1px solid #ccd4ce; border-radius: 10px; color: #1b2921; background: #fff; font-size: 11px; font-weight: 650; }
.awLabel { padding: 18px 6px 8px; color: #89918b; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.awItem { height: 40px; margin-bottom: 3px; border-radius: 8px; background: linear-gradient(90deg, #edf0ec, #f3f5f2); }
.awItem.on { background: linear-gradient(90deg, #ddeae2, #e7f0e9); box-shadow: inset 0 0 0 1px #cfe2d5; }
.awSidebarFoot { margin-top: auto; padding-top: 12px; border-top: 1px solid #e1e5e1; display: grid; gap: 5px; }
.awSidebarFoot i { display: block; height: 22px; border-radius: 6px; background: #edf0ec; }

.awChat { display: flex; flex-direction: column; min-width: 0; padding: 18px 20px 14px; }
.awHeaderRow { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #eef0ed; }
.awHeaderRow strong { font-size: 12.5px; font-weight: 720; }
.awHeaderRow span { color: #7b847e; font-size: 10px; }
.awHeaderBtns { display: flex; gap: 5px; }
.awHeaderBtns i { display: block; width: 58px; height: 24px; border: 1px solid #dde2de; border-radius: 7px; background: #fff; }

.cmUser { display: flex; justify-content: flex-end; }
.cmBubble { max-width: 78%; padding: 10px 13px; border-radius: 15px 15px 4px 15px; color: #f7fbf8; background: var(--green); box-shadow: 0 4px 14px rgba(24, 95, 65, .12); font-size: 12px; line-height: 1.55; }
.cmAttachments { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .18); }
.cmAttachments span { padding: 3px 7px; border-radius: 6px; color: #e5f3eb; background: rgba(255, 255, 255, .12); font-size: 9px; }
.cmBranch { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin: 7px -4px 0 0; color: #d1e7d9; font-size: 10px; }
.cmBranch .icon { font-size: 13px; }

.cmAssistant { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 9px; margin-top: 16px; }
.cmAvatar { display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; border: 1px solid #cbd9cf; border-radius: 8px; color: var(--green); background: #edf6f0; font-size: 13px; }
.cmName { margin-bottom: 8px; color: #29352e; font-size: 11.5px; font-weight: 700; }
.cmName span { margin-left: 6px; color: #8b938e; font-size: 9.5px; font-weight: 600; }
.cmResult { display: grid; grid-template-columns: minmax(0, 1fr) 92px; overflow: hidden; border: 1px solid #dfe5e0; border-radius: 13px; background: #fbfcfb; box-shadow: var(--shadowCard); }
.cmResultCopy { min-width: 0; padding: 13px 14px; }
.cmSuccess { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 99px; color: var(--green); background: var(--greenSoft); font-size: 9.5px; font-weight: 700; }
.cmResult h4 { margin: 9px 0 4px; color: #1f2b24; font-size: 12.5px; font-weight: 700; }
.cmResult p { margin: 0; color: #748078; font-size: 10.5px; line-height: 1.55; }
.cmActions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.cmActions span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border: 1px solid #d8dfda; border-radius: 7px; color: #435048; background: #fff; font-size: 9.5px; font-weight: 650; }
.cmActions span:first-child { border-color: var(--greenLine); color: var(--green); background: #f2f8f4; }
.cmResult .cmThumb { width: 92px; min-height: 150px; background: radial-gradient(circle at 50% 34%, var(--dark2), var(--dark) 70%); display: grid; place-items: center; color: #6f8578; font-size: 20px; }
.awComposer { margin-top: auto; padding: 8px; border: 1px solid #ccd6cf; border-radius: 13px; background: #fff; box-shadow: 0 7px 25px rgba(31, 53, 39, .09); display: grid; grid-template-columns: 30px 1fr 30px; gap: 5px; align-items: center; }
.awComposer i.circle { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #f1f4f2; }
.awComposer i.circle.send { background: var(--green); }
.awComposer i.line { display: block; height: 10px; margin: 10px 6px; border-radius: 4px; background: #eef1ee; }

.awRail { display: flex; flex-direction: column; padding: 14px; border-left: 1px solid var(--line); background: #f7f8f6; }
.awRailHeader { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: #7b857e; font-size: 10.5px; }
.awRailHeader strong { padding: 3px 8px; border-radius: 99px; color: #49705a; background: #e7eee9; font-size: 9px; }
.awVideo { width: 100%; aspect-ratio: 9 / 16; border-radius: 13px; background: radial-gradient(circle at 50% 34%, var(--dark2), var(--dark) 70%); box-shadow: var(--shadowPop); display: grid; place-content: center; justify-items: center; gap: 8px; color: #8fa197; text-align: center; }
.awVideo .icon { font-size: 22px; }
.awVideo strong { color: #e6ede9; font-size: 11.5px; }
.awVideo span { color: #84958a; font-size: 9.5px; }
.awMeta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.awMeta div { display: grid; gap: 3px; padding: 8px 7px; border: 1px solid #e0e5e1; border-radius: 8px; background: #fff; }
.awMeta span { color: #8c958f; font-size: 8.5px; }
.awMeta strong { color: #344139; font-size: 10px; }
.awDownload { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; margin-top: 8px; border: 1px solid #cbd6ce; border-radius: 8px; color: var(--green); background: #fff; font-size: 10.5px; font-weight: 650; }

.demoConnector { display: grid; justify-items: center; gap: 1px; margin: 20px 0 16px; color: #9db3a5; }
.demoConnector .line { width: 1px; height: 22px; background: linear-gradient(#c8d6cc, #dfe9e1); }
.demoConnector .icon { font-size: 15px; }
.demoBlock { display: grid; justify-items: center; gap: 12px; width: min(980px, 100%); }
.demoVideo { display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid #d8ded9; border-radius: 14px; background: var(--dark); box-shadow: var(--shadowPop); }
.demoLabel { display: inline-flex; align-items: center; gap: 11px; padding: 8px 20px 8px 9px; border: 1px solid var(--greenLine); border-radius: 99px; background: #fff; box-shadow: var(--shadowCard); color: var(--ink2); font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.demoLabelIcon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 99px; color: #fff; background: var(--green); box-shadow: 0 4px 12px rgba(23, 107, 69, .22); }
.demoLabelIcon .icon { font-size: 14px; }

/* ---------------- 媒体占位 ---------------- */

.mediaSlot { position: relative; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 22px 16px; border: 1px solid #d9e1da; border-radius: 14px; text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(23, 107, 69, .04) 0 10px, transparent 10px 20px),
    #fafcfb;
}
.mediaSlot .icon.slotIcon { font-size: 22px; color: #7fa38c; }
.mediaSlot strong { color: #435348; font-size: 12px; }
.mediaSlot span { max-width: 260px; color: #919994; font-size: 10.5px; line-height: 1.55; }
.mediaSlot.isTall { aspect-ratio: 9 / 16; }

/* ---------------- 结构迁移 ---------------- */

.flowGrid { display: grid; grid-template-columns: 168px 32px minmax(0, 1.5fr) 32px 168px; align-items: stretch; gap: 6px; }
.flowInputs { display: grid; gap: 10px; }
.flowArrow { display: grid; place-items: center; color: #9db3a5; font-size: 16px; }

.structCard { border: 1px solid var(--line2); border-radius: 14px; background: #fff; box-shadow: var(--shadowCard); overflow: hidden; }
.structHead { display: flex; align-items: center; gap: 9px; padding: 12px 15px; border-bottom: 1px solid #eef0ed; background: #fbfcfb; }
.structHead .icon { color: var(--green); font-size: 15px; }
.structHead strong { font-size: 12px; }
.structHead span { color: #8a938d; font-size: 9.5px; }
.structBody { display: grid; gap: 0; padding: 6px 0; }
.structRow { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding: 10px 15px; border-bottom: 1px solid #f2f4f2; }
.structRow:last-child { border-bottom: 0; }
.structRow > strong { color: #2c4a39; font-size: 10.5px; font-weight: 700; line-height: 1.5; }
.structRow p { margin: 0; color: #67736b; font-size: 10.5px; line-height: 1.65; }

/* ---------------- 版本树 ---------------- */

.chatMockWrap { display: flex; justify-content: center; }
.chatMock { width: min(620px, 100%); border: 1px solid var(--line2); border-radius: 16px; background: #fff; box-shadow: var(--shadowCard); padding: 22px; }
.chatMock .cmUser { margin-bottom: 4px; }

/* ---------------- 知识库 ---------------- */

.twoCol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }

.profileCard { border: 1px solid var(--line2); border-radius: 14px; background: #fff; box-shadow: var(--shadowCard); overflow: hidden; }
.profileCardHead { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #eef0ed; background: #fbfcfb; }
.profileCardHead .icon { color: var(--green); font-size: 15px; }
.profileCardHead strong { font-size: 12px; }
.profileCardHead small { color: #8c958f; font-size: 9.5px; }
.profileCard pre { max-height: 210px; overflow: auto; margin: 0; padding: 12px 14px; color: #556159; background: #fafbfa; font-family: var(--mono); font-size: 9.5px; line-height: 1.6; white-space: pre-wrap; }

.knMock { border: 1px solid var(--line2); border-radius: 14px; background: #fff; box-shadow: var(--shadowCard); overflow: hidden; }
.knHead { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #eef0ed; background: #fbfcfb; }
.knHead .icon { color: var(--green); font-size: 15px; }
.knHead strong { font-size: 12px; }
.knHead small { color: #8c958f; font-size: 9.5px; }
.knReload { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 5px 8px; border: 1px solid #dce2dd; border-radius: 7px; color: #66736a; background: #fff; font-size: 9px; font-weight: 650; }
.knReload .icon { font-size: 11px; color: #66736a; }
.knBody { display: grid; gap: 10px; padding: 14px; }
.knDrop { display: flex; align-items: center; gap: 10px; padding: 13px; border: 1px dashed #cbd6ce; border-radius: 10px; color: #62806d; background: #fafcfb; }
.knDrop .icon { font-size: 17px; }
.knDrop strong { display: block; color: #435348; font-size: 10.5px; }
.knDrop small { color: #919994; font-size: 8.5px; }
.knForm { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.knForm i { display: flex; align-items: center; padding: 9px 11px; border: 1px solid #d7ded9; border-radius: 8px; color: #9aa29d; background: #fff; font-size: 10px; font-style: normal; }
.knForm span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 0; border-radius: 8px; color: #fff; background: var(--green); font-size: 10px; font-weight: 650; }
.knForm span .icon { font-size: 12px; }
.knItem { border: 1px solid #e4e8e5; border-radius: 9px; background: #fff; overflow: hidden; }
.knItem.open { border-color: #cfe0d5; }
.knRow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; }
.knRow > div { display: grid; gap: 2px; min-width: 0; }
.knRow strong { overflow: hidden; color: #354139; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.knRow small { color: #8c958f; font-size: 8.5px; }
.knRow > span { flex-shrink: 0; color: #8c958f; font-size: 8.5px; }
.knItem.open .knRow > span { color: var(--green); }
.knItem pre { max-height: 180px; overflow: auto; margin: 0; padding: 10px 12px; border-top: 1px solid #e7eae8; color: #556159; background: #fafbfa; font-family: var(--mono); font-size: 9px; line-height: 1.6; white-space: pre-wrap; }

.ragSteps { display: grid; border: 1px solid var(--line2); border-radius: 14px; background: #fff; box-shadow: var(--shadowCard); overflow: hidden; counter-reset: rag; }
.ragStep { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 15px; border-bottom: 1px solid #f0f2f0; counter-increment: rag; }
.ragStep:last-child { border-bottom: 0; }
.ragStep::before { content: counter(rag, decimal-leading-zero); display: inline-grid; place-items: center; height: 24px; padding: 0 6px; border: 1px solid var(--greenLine); border-radius: 7px; color: var(--green); background: #fff; font-family: var(--mono); font-size: 9.5px; font-weight: 700; }
.ragStep strong { display: block; margin-bottom: 3px; color: var(--ink2); font-size: 12px; }
.ragStep p { margin: 0; color: #67736b; font-size: 11px; line-height: 1.6; }
.ragStep p code { font-family: var(--mono); font-size: 10px; color: #2c5a42; }
.ragSteps.horizontal { grid-template-columns: repeat(3, 1fr); }
.ragSteps.horizontal .ragStep { border-bottom: 0; border-right: 1px solid #f0f2f0; }
.ragSteps.horizontal .ragStep:last-child { border-right: 0; }
.ragNote { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; color: #5c6961; font-size: 11.5px; }
.ragNote .icon { color: var(--green); font-size: 14px; }
.ragNote strong { color: var(--ink2); font-weight: 650; }

/* ---------------- 规划与执行 ---------------- */

.stageGrid { display: grid; grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr) 32px minmax(0, 1fr); align-items: stretch; gap: 6px; margin-bottom: 26px; }
.stageCard { border: 1px solid var(--line2); border-radius: 14px; background: #fff; box-shadow: var(--shadowCard); padding: 17px 16px; }
.stageTag { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 9px; color: #4f7862; font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.stageTag .icon { font-size: 12px; color: var(--green); }
.stageCard h3 { margin: 0 0 7px; color: var(--ink); font-size: 13.5px; font-weight: 720; }
.stageCard p { margin: 0; color: #67736b; font-size: 11px; line-height: 1.65; }
.stageCard p strong { color: var(--ink2); font-weight: 650; }

.toolGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.toolGrid .qaCard { padding: 18px; }
.toolGrid .qaCard > p { margin: 0 0 12px; }

/* ---------------- 质检与审计 ---------------- */

.qaSplit { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.stackCards { display: grid; gap: 20px; }
.qaCard { border: 1px solid var(--line2); border-radius: 15px; background: #fff; box-shadow: var(--shadowCard); padding: 22px; }
.qaCardHead { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.qaCardHead .icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--green); background: var(--greenSoft); font-size: 15px; }
.qaCardHead h3 { margin: 0; color: var(--ink); font-size: 14px; font-weight: 720; }
.qaCard > p { margin: 0 0 14px; color: var(--muted); font-size: 11.5px; line-height: 1.65; }
.chipCloud { display: flex; flex-wrap: wrap; gap: 6px; }
.chipCloud span { padding: 5px 9px; border: 1px solid #dce2dd; border-radius: 7px; color: #4f6758; background: #fafcfa; font-family: var(--mono); font-size: 9.5px; font-weight: 600; overflow-wrap: anywhere; }
.loopSteps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.loopSteps li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 9px; color: #5c6961; font-size: 11.5px; line-height: 1.6; }
.loopSteps .icon { color: var(--green); font-size: 13px; margin-top: 2px; }
.loopSteps strong { color: var(--ink2); font-weight: 650; }

.detailsMock { border: 1px solid var(--line2); border-radius: 15px; background: #fff; box-shadow: var(--shadowCard); overflow: hidden; }
.dmHead { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; border-bottom: 1px solid #eef0ed; background: #fbfcfb; }
.dmHead strong { font-size: 12.5px; }
.dmChip { padding: 4px 9px; border: 1px solid var(--greenLine); border-radius: 99px; color: var(--green); background: #fff; font-family: var(--mono); font-size: 9px; font-weight: 650; }
.dmBody { display: grid; gap: 12px; padding: 16px; }
.dmOverview { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--line2); border-radius: 11px; background: var(--line2); }
.dmOverview div { display: grid; gap: 3px; padding: 11px; background: #fff; }
.dmOverview span { color: #929a95; font-size: 8px; }
.dmOverview strong { overflow: hidden; color: #3f4c44; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.dmLog { display: grid; border: 1px solid #e5e9e6; border-radius: 8px; background: #fafbfa; }
.dmLog div { padding: 7px 9px; border-bottom: 1px solid #ecefec; color: #667169; font-family: var(--mono); font-size: 8.5px; line-height: 1.4; }
.dmLog div:last-child { border-bottom: 0; }
.dmBlock { overflow: hidden; border: 1px solid #e0e5e1; border-radius: 10px; background: #fff; }
.dmBlock summary { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 6px; padding: 10px 12px; color: #496153; cursor: pointer; list-style: none; }
.dmBlock summary::-webkit-details-marker { display: none; }
.dmBlock summary .icon { font-size: 14px; color: var(--green); }
.dmBlock summary strong { color: #344139; font-size: 10.5px; }
.dmBlock summary span { color: #939b96; font-size: 8.5px; }
.dmBlock[open] summary span { color: var(--green); }
.dmBlock pre { max-height: 260px; overflow: auto; margin: 0; padding: 12px; border-top: 1px solid #e5e9e6; color: #4d5a52; background: #fafbfa; font-family: var(--mono); font-size: 9.5px; line-height: 1.6; white-space: pre-wrap; }

/* ---------------- Reveal 动画 ---------------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------- 响应式 ---------------- */

@media (max-width: 980px) {
  .appBody { grid-template-columns: 188px minmax(0, 1fr); }
  .awRail { display: none; }
  .flowGrid { grid-template-columns: 1fr; }
  .flowArrow { padding: 2px 0; }
  .twoCol, .qaSplit { grid-template-columns: 1fr; }
  .ragSteps.horizontal { grid-template-columns: 1fr; }
  .ragSteps.horizontal .ragStep { border-right: 0; border-bottom: 1px solid #f0f2f0; }
  .ragSteps.horizontal .ragStep:last-child { border-bottom: 0; }
  .stageGrid { grid-template-columns: 1fr; }
  .toolGrid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .navLinks a:not(.navCta) { display: none; }
  .appBody { grid-template-columns: 1fr; }
  .awSidebar { display: none; }
  .section { padding: 64px 0; }
  .cmResult { grid-template-columns: 1fr; }
  .cmResult .cmThumb { width: 100%; min-height: 120px; }
}
