:root {
  --ink: #07162f;
  --ink-2: #0c2547;
  --blue: #1a4fff;
  --blue-2: #173fc7;
  --cyan: #7ddcff;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --line: #dbe5f0;
  --muted: #526178;
  --green: #16886f;
  --orange: #f59e0b;
  --shadow: 0 28px 70px rgba(7, 22, 47, .12);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #162238; background: #fff; font-family: "Microsoft YaHei", "Noto Sans SC", sans-serif; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3, h4, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.container { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hidden { display: none !important; }

.site-header { position: sticky; top: 0; z-index: 80; border-bottom: 1px solid rgba(219, 229, 240, .84); background: rgba(255, 255, 255, .93); backdrop-filter: blur(14px); }
.header-inner { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: #11295f; font-weight: 800; }
.brand img { width: 36px; height: 36px; border-radius: 9px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 25px); }
.main-nav a { position: relative; padding: 22px 0 20px; color: #526178; font-size: 14px; font-weight: 650; white-space: nowrap; transition: color .2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.main-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); }
.header-cta, .btn-primary, .btn-light, .btn-outline { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 0; border-radius: 8px; padding: 0 20px; font-weight: 750; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease, border-color .2s ease; }
.header-cta { min-height: 42px; background: var(--blue); color: #fff; font-size: 14px; box-shadow: 0 9px 24px rgba(26, 79, 255, .18); }
.header-cta:hover, .btn-primary:hover { transform: translateY(-2px); background: var(--blue-2); box-shadow: 0 14px 30px rgba(26, 79, 255, .24); }
.menu-button { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: #f1f5f9; color: #263852; }
.menu-button span, .menu-button::before, .menu-button::after { content: ""; display: block; width: 20px; height: 2px; background: currentColor; }
.menu-button span { margin: 4px 0; }
.mobile-menu { display: none; padding: 6px 0 16px; }
.mobile-menu a { display: block; padding: 10px 12px; border-radius: 7px; color: #526178; font-size: 14px; }
.mobile-menu a.active { color: var(--blue); background: #eff6ff; font-weight: 750; }

.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 80% 25%, rgba(125, 220, 255, .15), transparent 28%), radial-gradient(circle at 8% 8%, rgba(26, 79, 255, .28), transparent 34%), linear-gradient(120deg, #07162f 0%, #0b2347 58%, #07162f 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .38; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, #000, transparent 94%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(560px, 1.22fr); align-items: center; gap: clamp(48px, 6vw, 88px); min-height: 760px; padding: 72px 0 76px; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--cyan); font-size: 12px; font-weight: 850; letter-spacing: .17em; }
.eyebrow::before, .section-kicker::before { content: ""; width: 44px; height: 2px; background: currentColor; box-shadow: 0 0 16px rgba(125, 220, 255, .4); }
.hero h1 { max-width: 9em; margin-top: 24px; font-size: clamp(48px, 5vw, 76px); font-weight: 850; line-height: 1.08; letter-spacing: -.055em; text-wrap: balance; }
.hero h1 span { display: block; margin-top: .08em; color: var(--cyan); font-weight: 680; }
.hero-lead { max-width: 560px; margin-top: 28px; color: rgba(219, 234, 254, .88); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.9; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-light { background: #fff; color: #173b9f; box-shadow: 0 16px 36px rgba(0, 8, 28, .28); }
.btn-light:hover { transform: translateY(-2px); background: #eff6ff; box-shadow: 0 22px 44px rgba(0, 8, 28, .38); }
.btn-outline { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.05); color: #fff; }
.btn-outline:hover { transform: translateY(-2px); border-color: rgba(125,220,255,.55); background: rgba(125,220,255,.1); }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 38px; border-top: 1px solid rgba(190,219,254,.18); border-bottom: 1px solid rgba(190,219,254,.18); }
.hero-proof article { padding: 16px 14px 16px 0; }
.hero-proof article + article { padding-left: 14px; border-left: 1px solid rgba(190,219,254,.18); }
.hero-proof small { display: block; color: var(--cyan); font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.hero-proof strong { display: block; margin-top: 7px; font-size: 15px; line-height: 1.45; }
.hero-proof p { margin-top: 5px; color: rgba(191,219,254,.7); font-size: 12px; line-height: 1.65; }

.trace-workbench { position: relative; padding: 12px; border: 1px solid rgba(190,219,254,.2); border-radius: 17px; background: rgba(3,14,32,.76); box-shadow: 0 38px 100px rgba(0,6,24,.5), inset 0 0 0 1px rgba(255,255,255,.03); backdrop-filter: blur(8px); }
.workbench-bar { display: flex; align-items: center; justify-content: space-between; padding: 9px 10px 12px; border-bottom: 1px solid rgba(190,219,254,.16); color: #b9cbe0; font-size: 10px; letter-spacing: .1em; }
.workbench-bar span { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 5px rgba(52,211,153,.1); }
.workbench-bar b { color: var(--cyan); font-size: 9px; letter-spacing: .12em; }
.workbench-main { display: grid; grid-template-columns: minmax(180px, .82fr) minmax(310px, 1.18fr); gap: 10px; min-height: 500px; margin-top: 12px; }
.source-pane, .answer-pane { overflow: hidden; border: 1px solid rgba(190,219,254,.15); border-radius: 10px; background: #f7f9fc; }
.pane-head { display: flex; min-height: 43px; align-items: center; justify-content: space-between; gap: 10px; padding: 0 13px; border-bottom: 1px solid #dde6ef; background: #fff; color: #3b4a61; font-size: 10px; }
.pane-head strong { max-width: 80%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pane-head span { flex: 0 0 auto; color: var(--green); font-weight: 800; }
.paper-sheet { position: relative; min-height: 430px; margin: 14px; padding: 30px 22px; background: #fff; box-shadow: 0 4px 14px rgba(15,23,42,.1); color: #263142; }
.paper-sheet::after { content: "88"; position: absolute; left: 0; right: 0; bottom: 13px; color: #7b8797; font: 9px Georgia, serif; text-align: center; }
.doc-title { margin-bottom: 18px; color: #162238; font: 700 10px/1.5 "SimSun", serif; text-align: center; }
.doc-line { height: 7px; margin: 10px 0; border-radius: 1px; background: #d7dde5; }
.doc-line.short { width: 68%; }
.doc-line.mid { width: 85%; }
.doc-highlight { position: relative; margin: 18px -3px; padding: 6px 5px; border: 1px solid #ffb23f; background: #fff3d8; color: #233049; font: 9px/1.7 "SimSun", serif; }
.doc-highlight::before { content: "原文命中"; position: absolute; top: -17px; right: 0; color: #d97706; font: 700 8px "Microsoft YaHei", sans-serif; }
.answer-pane { display: flex; flex-direction: column; background: #fff; }
.query-row { display: flex; justify-content: flex-end; padding: 16px; border-bottom: 1px solid #e8edf3; }
.query-bubble { max-width: 80%; padding: 11px 14px; border-radius: 14px 14px 3px 14px; background: #e9f8f4; color: #116a57; font-size: 11px; font-weight: 700; line-height: 1.5; }
.answer-card { margin: 14px; padding: 17px; border: 1px solid #e2e8f0; border-radius: 13px; color: #263142; box-shadow: 0 6px 18px rgba(15,23,42,.04); }
.answer-card p { font-size: 11px; line-height: 1.8; }
.answer-list { display: grid; gap: 7px; margin-top: 10px; }
.answer-list li { display: grid; grid-template-columns: 16px 1fr; color: #34445a; font-size: 10px; line-height: 1.6; }
.answer-list b { color: var(--blue); }
.answer-law { margin-top: 12px; font-size: 10px; font-weight: 800; }
.answer-law a { display: inline-flex; align-items: center; border-bottom: 1px solid var(--green); color: var(--green); }
.source-card { margin-top: 13px; padding: 12px; border: 1px solid #f7a697; border-radius: 8px; background: #fff8f6; }
.source-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #41516a; font-size: 10px; font-weight: 800; }
.source-card-head span { color: #e2533d; }
.source-card p { margin-top: 7px; color: #708096; font-size: 9px; line-height: 1.55; }
.mode-row { display: flex; gap: 6px; margin-top: auto; padding: 12px 14px; border-top: 1px solid #e8edf3; }
.mode-row span { padding: 7px 10px; border: 1px solid #dbe4ed; border-radius: 7px; color: #657388; font-size: 9px; font-weight: 700; }
.mode-row span.active { border-color: var(--green); background: var(--green); color: #fff; }
.workbench-caption { display: flex; justify-content: space-between; gap: 20px; margin-top: 11px; padding: 0 4px; color: rgba(191,219,254,.5); font-size: 9px; letter-spacing: .08em; }
.workbench-caption strong { color: var(--cyan); }

.value-band { border-bottom: 1px solid var(--line); background: #fff; }
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.value-item { min-height: 165px; padding: 28px 24px; border-left: 1px solid #e5edf7; }
.value-item:last-child { border-right: 1px solid #e5edf7; }
.value-index { color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.value-item h2 { margin-top: 16px; color: #0f172a; font-size: 19px; font-weight: 850; }
.value-item p { margin-top: 9px; color: var(--muted); font-size: 14px; line-height: 1.75; text-wrap: pretty; }

.section { padding: clamp(80px, 8vw, 118px) 0; }
.section.soft { border-top: 1px solid #e5edf7; border-bottom: 1px solid #e5edf7; background: var(--soft); }
.section.dark { color: #fff; background: var(--ink); }
.section-head { max-width: 790px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head.center .section-kicker { justify-content: center; }
.section-kicker { color: var(--blue); }
.section-title { margin-top: 16px; color: #0f172a; font-size: clamp(34px, 4vw, 54px); font-weight: 850; line-height: 1.16; letter-spacing: -.045em; text-wrap: balance; }
.section-lead { max-width: 760px; margin-top: 20px; color: var(--muted); font-size: 16px; line-height: 1.85; text-wrap: pretty; }
.section-head.center .section-lead { margin-right: auto; margin-left: auto; }
.dark .section-title { color: #fff; }
.dark .section-lead { color: #bfd0e4; }
.dark .section-kicker { color: var(--cyan); }

.comparison { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 18px; margin-top: 52px; }
.comparison-card { position: relative; overflow: hidden; min-height: 390px; padding: 34px; border: 1px solid var(--line); background: #fff; }
.comparison-card.basic { background: #f8fafc; }
.comparison-card.trusted { border-color: #8eb3ff; box-shadow: var(--shadow); }
.comparison-card.trusted::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 4px; background: var(--blue); }
.comparison-label { display: inline-flex; padding: 6px 9px; border-radius: 4px; background: #e8eef5; color: #65758d; font-size: 10px; font-weight: 850; letter-spacing: .13em; }
.trusted .comparison-label { background: #eaf1ff; color: var(--blue); }
.comparison-card h3 { max-width: 16em; margin-top: 38px; color: #142036; font-size: clamp(25px, 2.5vw, 36px); font-weight: 850; line-height: 1.28; }
.comparison-card > p { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.85; text-wrap: pretty; }
.comparison-points { display: grid; gap: 12px; margin-top: 28px; }
.comparison-points li { position: relative; padding-left: 20px; color: #43536a; font-size: 14px; line-height: 1.7; }
.comparison-points li::before { content: ""; position: absolute; left: 0; top: .58em; width: 7px; height: 7px; border: 1px solid #9aa8ba; transform: rotate(45deg); }
.trusted .comparison-points li::before { border-color: var(--blue); background: var(--blue); }
.comparison-note { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 18px; background: var(--line); }
.comparison-note div { padding: 16px; background: #fff; }
.comparison-note strong { display: block; color: var(--blue); font-size: 13px; }
.comparison-note span { display: block; margin-top: 4px; color: #65758d; font-size: 11.5px; line-height: 1.55; }

.trace-flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; margin-top: 50px; }
.flow-node { position: relative; min-height: 190px; padding: 20px 17px; border: 1px solid #d9e3ee; background: #fff; transition: transform .22s var(--ease), border-color .22s ease, box-shadow .22s ease; }
.flow-node:hover { transform: translateY(-5px); border-color: #93b5ff; box-shadow: 0 18px 38px rgba(17,41,95,.09); }
.flow-node:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 50%; right: -14px; color: var(--blue); font-size: 18px; font-weight: 800; transform: translateY(-50%); }
.flow-node small { color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.flow-node h3 { margin-top: 42px; color: #142036; font-size: 18px; font-weight: 850; line-height: 1.35; }
.flow-node p { margin-top: 10px; color: #526178; font-size: 13px; line-height: 1.75; text-wrap: pretty; }
.flow-node.highlight { border-color: #91aefe; background: #eff5ff; }
.flow-node.final { border-color: #8fd6c8; background: #f0fbf8; }
.trace-assurance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.assurance { padding: 18px; border: 1px solid #dbe5f0; background: #fff; }
.assurance strong { display: block; color: #162238; font-size: 13px; }
.assurance span { display: block; margin-top: 5px; color: #65758d; font-size: 12px; line-height: 1.6; }

.modes-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 54px; align-items: start; margin-top: 48px; }
.mode-tabs { display: grid; gap: 8px; }
.mode-tab { width: 100%; padding: 19px 20px; border: 1px solid rgba(190,219,254,.17); background: rgba(255,255,255,.035); color: #9eb1c9; text-align: left; transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease; }
.mode-tab:hover, .mode-tab[aria-selected="true"] { border-color: rgba(125,220,255,.55); background: rgba(125,220,255,.1); color: #fff; transform: translateX(5px); }
.mode-tab small { display: block; color: var(--cyan); font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.mode-tab strong { display: block; margin-top: 7px; font-size: 16px; }
.mode-stage { min-height: 440px; padding: 14px; border: 1px solid rgba(190,219,254,.18); background: rgba(255,255,255,.035); }
.mode-panel { display: none; min-height: 410px; padding: 26px; background: #fff; color: #263142; }
.mode-panel.active { display: grid; grid-template-columns: 1fr .8fr; gap: 24px; animation: panelIn .28s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.mode-panel small { color: var(--green); font-size: 10px; font-weight: 850; letter-spacing: .13em; }
.mode-panel h3 { margin-top: 18px; color: #142036; font-size: 29px; line-height: 1.3; }
.mode-panel p { margin-top: 14px; color: #526178; font-size: 15px; line-height: 1.8; text-wrap: pretty; }
.mode-panel ul { display: grid; gap: 10px; margin-top: 22px; }
.mode-panel li { position: relative; padding-left: 17px; color: #43536a; font-size: 13.5px; line-height: 1.7; }
.mode-panel li::before { content: ""; position: absolute; top: .55em; left: 0; width: 6px; height: 6px; background: var(--blue); transform: rotate(45deg); }
.mini-result { align-self: stretch; padding: 18px; border: 1px solid #dbe5f0; background: #f6f8fb; }
.mini-result-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid #dbe5f0; color: #526178; font-size: 10px; }
.mini-result-head span { color: var(--green); font-weight: 800; }
.mini-line { height: 7px; margin-top: 13px; border-radius: 8px; background: #d7e0ea; }
.mini-line:nth-child(2) { width: 88%; }
.mini-line:nth-child(3) { width: 72%; }
.mini-line.hit { width: 95%; height: auto; padding: 9px; border: 1px solid #f4a895; border-radius: 5px; background: #fff8f6; color: #5b6675; font-size: 9px; line-height: 1.6; }

.governance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; }
.library-card { min-height: 370px; padding: 34px; border: 1px solid var(--line); background: #fff; }
.library-card.private { color: #fff; border-color: #153158; background: var(--ink-2); }
.library-icon { display: flex; width: 54px; height: 54px; align-items: center; justify-content: center; border: 1px solid #acc3ff; color: var(--blue); font-size: 20px; font-weight: 850; }
.private .library-icon { border-color: rgba(125,220,255,.36); color: var(--cyan); }
.library-card h3 { margin-top: 34px; color: #142036; font-size: 30px; font-weight: 850; }
.private h3 { color: #fff; }
.library-card > p { margin-top: 13px; color: #526178; font-size: 15px; line-height: 1.85; text-wrap: pretty; }
.private > p { color: #bfd0e4; }
.library-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 28px; background: #dbe5f0; }
.library-meta div { padding: 15px; background: #f8fafc; }
.private .library-meta { background: rgba(190,219,254,.16); }
.private .library-meta div { background: rgba(255,255,255,.04); }
.library-meta strong { display: block; color: #253752; font-size: 12px; }
.private .library-meta strong { color: #fff; }
.library-meta span { display: block; margin-top: 4px; color: #65758d; font-size: 11.5px; line-height: 1.55; }
.private .library-meta span { color: #a9bbd2; }
.permission-rule { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; padding: 17px; border: 1px solid #cfdbe8; background: #fff; color: #44536a; font-size: 13px; }
.permission-rule b { color: var(--blue); }

.deploy-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: center; margin-top: 48px; }
.deploy-copy { display: grid; gap: 14px; }
.deploy-point { padding: 20px 21px; border: 1px solid #dbe5f0; background: #fff; transition: transform .2s var(--ease), box-shadow .2s ease; }
.deploy-point:hover { transform: translateX(5px); box-shadow: 0 14px 32px rgba(17,41,95,.08); }
.deploy-point small { color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.deploy-point strong { display: block; margin-top: 8px; color: #142036; font-size: 17px; }
.deploy-point p { margin-top: 7px; color: #526178; font-size: 14px; line-height: 1.75; text-wrap: pretty; }
.deploy-stack { position: relative; padding: 24px; border: 1px solid #d7e2ee; background: #fff; box-shadow: var(--shadow); }
.deploy-stack::before { content: "INTRANET / XINCHUANG"; display: block; margin-bottom: 18px; color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.stack-layer { position: relative; padding: 17px 19px; border: 1px solid #dbe5f0; background: #f8fafc; }
.stack-layer + .stack-layer { margin-top: 20px; }
.stack-layer + .stack-layer::before { content: "↓"; position: absolute; top: -18px; left: 50%; color: var(--blue); font-weight: 850; transform: translateX(-50%); }
.stack-layer.primary { border-color: #92b2ff; background: #eef4ff; }
.stack-layer.secure { border-color: #9fd8cc; background: #f1fbf8; }
.stack-layer small { color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.stack-layer strong { display: block; margin-top: 6px; color: #142036; font-size: 16px; }
.stack-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.stack-tags span { padding: 6px 8px; border: 1px solid #d8e2ed; background: #fff; color: #526178; font-size: 10.5px; }

.cta-section { position: relative; overflow: hidden; padding: 86px 0; color: #fff; background: var(--blue-2); }
.cta-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 18% 20%, rgba(125,220,255,.18), transparent 26%), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: auto, 40px 40px, 40px 40px; }
.cta-inner { position: relative; z-index: 1; max-width: 900px; text-align: center; }
.cta-inner h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.25; letter-spacing: -.035em; }
.cta-inner p { margin-top: 18px; color: #cbdcff; font-size: 16px; line-height: 1.75; }
.cta-inner .btn-light { margin-top: 30px; }

.site-footer { padding: 64px 0 26px; color: #fff; background: #0b1327; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .9fr .9fr 1fr; gap: 48px; }
.footer-brand p { margin-top: 17px; color: #8c9bb1; font-size: 13px; line-height: 1.8; }
.footer-brand .brand { color: #fff; }
.footer-column h4 { margin-bottom: 17px; font-size: 14px; }
.footer-column ul { display: grid; gap: 10px; }
.footer-column li, .footer-column a { color: #8c9bb1; font-size: 13px; line-height: 1.55; transition: color .2s ease; }
.footer-column a:hover { color: #fff; }
.copyright { margin-top: 46px; padding-top: 24px; border-top: 1px solid #1d2a43; color: #65748a; font-size: 12px; text-align: center; }

.modal { position: fixed; inset: 0; z-index: 120; display: none; }
.modal.open { display: block; }
.modal-overlay { position: absolute; inset: 0; background: rgba(2, 6, 23, .68); backdrop-filter: blur(4px); }
.modal-shell { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-card { position: relative; width: min(540px, 100%); max-height: 92vh; overflow-y: auto; border-radius: 14px; padding: 32px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.modal-close { position: absolute; top: 15px; right: 15px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f5f9; color: #536176; font-size: 22px; }
.modal-kicker { color: var(--blue); font-size: 12px; font-weight: 850; }
.modal-card h3 { margin-top: 8px; color: #111c30; font-size: 26px; }
.modal-card > p { margin-top: 8px; color: #718097; font-size: 13px; }
.inquiry-form { display: grid; gap: 15px; margin-top: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; margin-bottom: 6px; color: #34445a; font-size: 12px; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #dbe3ed; border-radius: 7px; padding: 11px 12px; outline: none; color: #263142; font-size: 13px; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #7ea3ff; box-shadow: 0 0 0 3px rgba(26,79,255,.1); }
.btn-primary { width: 100%; min-height: 48px; background: var(--blue); color: #fff; }

.floating-tools { position: fixed; right: 12px; top: 52%; z-index: 60; display: grid; gap: 8px; transform: translateY(-50%); }
.floating-tools a, .floating-tools button { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; border: 0; border-radius: 10px 0 0 10px; background: #fff; color: var(--blue); font-size: 11px; font-weight: 850; box-shadow: 0 8px 22px rgba(7,22,47,.15); }
.floating-tools .phone { color: #fff; background: var(--blue); }

@media (max-width: 1160px) {
  .header-cta { display: none; }
  .main-nav { gap: 15px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 760px; }
  .trace-workbench { max-width: 900px; }
  .trace-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow-node:nth-child(3)::after { display: none; }
  .flow-node { min-height: 170px; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-button { display: block; }
  .mobile-menu.open { display: grid; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .value-item:nth-child(3), .value-item:nth-child(4) { border-top: 1px solid #e5edf7; }
  .comparison, .modes-layout, .deploy-layout { grid-template-columns: 1fr; }
  .mode-tabs { grid-template-columns: 1fr 1fr; }
  .governance-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 32px, 1280px); }
  .brand span { font-size: 16px; }
  .hero-grid { gap: 42px; padding: 58px 0 60px; }
  .hero .hero-stack-switch { aspect-ratio: .74; }
  .hero h1 { max-width: 10em; font-size: clamp(42px, 12vw, 58px); }
  .hero-lead { font-size: 16px; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof article + article { padding-left: 0; border-top: 1px solid rgba(190,219,254,.18); border-left: 0; }
  .workbench-main { grid-template-columns: 1fr; min-height: auto; }
  .source-pane { min-height: 360px; }
  .paper-sheet { min-height: 300px; }
  .answer-pane { min-height: 410px; }
  .hero .hero-stack-switch .source-pane { display: none; }
  .hero .hero-stack-switch .answer-pane { min-height: 430px; }
  .workbench-caption { flex-direction: column; gap: 5px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-item { min-height: auto; border-right: 1px solid #e5edf7; border-top: 1px solid #e5edf7; }
  .section { padding: 72px 0; }
  .comparison-card { min-height: auto; padding: 27px 23px; }
  .comparison-note, .trace-assurance { grid-template-columns: 1fr; }
  .trace-flow { grid-template-columns: 1fr; }
  .flow-node { min-height: auto; }
  .flow-node:not(:last-child)::after { top: auto; right: auto; bottom: -19px; left: 50%; content: "↓"; transform: translateX(-50%); }
  .mode-tabs { grid-template-columns: 1fr; }
  .mode-panel.active { grid-template-columns: 1fr; padding: 21px; }
  .mode-stage { padding: 9px; }
  .library-card { min-height: auto; padding: 27px 23px; }
  .library-meta { grid-template-columns: 1fr; }
  .permission-rule { align-items: flex-start; flex-direction: column; }
  .deploy-stack { padding: 17px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .modal-shell { align-items: flex-end; padding: 0; }
  .modal-card { border-radius: 14px 14px 0 0; padding: 28px 22px; }
  .floating-tools { display: none; }
}

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