/* ============================================================
   RAI — R AI IDE · 官网样式
   浅色 / 克制 / 留白与细线 / 本地可打开（无外部 CDN）
   主色：蓝 #2563EB + 紫罗兰 #7C3AED
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f8f9fc;
  --bg-soft-2: #eef2f8;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e6eaf1;
  --line-strong: #d4dae6;

  --brand: #2563eb;
  --brand-700: #1d4ed8;
  --brand-soft: #eef3ff;
  --violet: #7c3aed;
  --violet-soft: #f5f1ff;
  --grad: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .07), 0 2px 8px rgba(15, 23, 42, .04);
  --shadow-lg: 0 30px 70px rgba(15, 23, 42, .11), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-brand: 0 10px 26px rgba(37, 99, 235, .22);

  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1120px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Roboto, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Fira Code", ui-monospace, "Cascadia Code",
    Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 13px 24px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand .corp { width: 30px; height: 30px; flex: 0 0 30px; }
.brand .corp img { display: block; width: 100%; height: 100%; }
.brand .sep { width: 1px; height: 20px; background: var(--line-strong); flex: 0 0 1px; }
.brand .mark { width: 30px; height: 30px; border-radius: 9px; box-shadow: var(--shadow-brand); }
.brand .mark img, .brand .mark svg { display: block; width: 100%; height: 100%; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand small { font-weight: 500; color: var(--muted); font-size: 12px; letter-spacing: .02em; margin-left: 2px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink-2); font-size: 14px; font-weight: 500; transition: color .18s; }
.nav-links a:hover { color: var(--brand); }
.nav-cta { background: var(--grad); color: #fff !important; padding: 8px 17px; border-radius: 999px; font-weight: 600; font-size: 13.5px; transition: transform .18s, box-shadow .18s; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-brand); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: 10px; width: 38px; height: 38px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px auto; border-radius: 2px; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 14.5px; cursor: pointer; border: 1px solid transparent; transition: transform .18s, box-shadow .18s, border-color .18s, color .18s; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(37,99,235,.30); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--brand); border: 1px solid var(--line-strong); }
.btn-line:hover { border-color: var(--brand); transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; }

/* ---------- 区段通用 ---------- */
section { padding: 88px 0; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(27px, 3.2vw, 38px); line-height: 1.16; letter-spacing: -.025em; margin: 0 0 12px; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }
.hairline { width: 40px; height: 3px; border-radius: 3px; background: var(--grad); margin: 0 auto 20px; }

/* ---------- Hero（品牌 + 大标题 + 入口 + IDE 窗口） ---------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 96px; background: radial-gradient(900px 420px at 50% -14%, rgba(37,99,235,.10), transparent 62%), radial-gradient(760px 380px at 84% 4%, rgba(124,58,237,.09), transparent 58%), var(--bg-soft); }
.hero-top { text-align: center; position: relative; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -.045em; margin: 0 0 18px; font-weight: 700; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 17px; color: var(--ink-2); margin: 0 auto 28px; max-width: 620px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-note { margin-top: 22px; color: var(--muted); font-size: 13.5px; }
.hero-note a { color: var(--brand); font-weight: 600; }

/* IDE 窗口示意（纯 HTML/CSS，英文，矢量清晰） */
.ide-stage { position: relative; max-width: 1060px; margin: 68px auto 0; }
.ide-stage::before { content: ""; position: absolute; inset: -30px -30px 10px; background: radial-gradient(closest-side, rgba(37,99,235,.10), transparent 72%); z-index: 0; }
.ide-window {
  position: relative; z-index: 1; background: #fff; border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.ide-bar { height: 42px; display: flex; align-items: center; gap: 14px; padding: 0 16px; background: #fbfcfe; border-bottom: 1px solid var(--line); }
.ide-dots { display: inline-flex; gap: 6px; }
.ide-dots i { width: 9px; height: 9px; border-radius: 50%; background: #e2e8f0; display: block; }
.ide-bar .ide-title { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.ide-status { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--muted); font-family: var(--mono); }
.ide-status .live { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.14); animation: pulse 3.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(34,197,94,.14); } 50% { box-shadow: 0 0 0 7px rgba(34,197,94,.05); } }
.ide-body { display: grid; grid-template-columns: 165px 1.15fr 1fr 215px; min-height: 330px; }
.ide-col { border-right: 1px solid var(--line); min-width: 0; }
.ide-col:last-child { border-right: none; }
.ide-pane-h { height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 11px; font-size: 9.5px; font-weight: 700; letter-spacing: .07em; color: var(--muted); text-transform: uppercase; border-bottom: 1px solid var(--line); background: #fcfdff; white-space: nowrap; overflow: hidden; }
.ide-pane-h .ide-tiny { margin-left: auto; font-weight: 600; letter-spacing: 0; color: var(--brand); text-transform: none; font-size: 9.5px; }
.ide-file { padding: 5px 12px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.ide-file .sq { width: 6px; height: 6px; border-radius: 2px; background: #cbd5e1; flex: 0 0 6px; }
.ide-file.on { background: var(--brand-soft); color: var(--brand-700); }
.ide-file.on .sq { background: var(--brand); }
/* abstract placeholder bars — the window illustration carries no project data */
.ph { display: block; height: 6px; border-radius: 3px; background: #E2E8F0; }
.ph + .ph { margin-top: 7px; }
.ph.i { display: inline-block; vertical-align: middle; }
.ph.i + .ph.i { margin: 0 0 0 7px; }
.ph.b { background: #BFDBFE; }
.ph.v { background: #DDD6FE; }
.ph.s { background: #EEF2F7; }
.ide-code .ph.i { margin-left: 4px; }
.ide-tabs { display: flex; align-items: center; height: 30px; border-bottom: 1px solid var(--line); background: #fcfdff; }
.ide-tab { height: 100%; display: inline-flex; align-items: center; padding: 0 12px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); border-right: 1px solid var(--line); }
.ide-tab.on { background: #fff; color: var(--ink); box-shadow: inset 0 2px 0 var(--brand); }
.ide-code { padding: 12px 12px 16px; font-family: var(--mono); font-size: 10.5px; line-height: 2; color: var(--ink-2); overflow: hidden; }
.ide-code .ln { color: #cbd5e1; display: inline-block; width: 20px; user-select: none; }
.ide-code .kw { color: var(--violet); }
.ide-code .fn { color: var(--brand); }
.ide-code .st { color: #0f766e; }
.ide-code .cm { color: var(--muted-2); }
.ide-env { border-top: 1px solid var(--line); }
.ide-rowline { display: flex; justify-content: space-between; padding: 3px 12px; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.ide-out { padding: 12px; font-family: var(--mono); font-size: 10.5px; line-height: 1.9; color: var(--ink-2); }
.ide-out .dim { color: var(--muted-2); }
.ide-out .ok { color: #059669; }
.ide-subpane { border-top: 1px solid var(--line); }
.ide-chips { display: flex; gap: 12px; padding: 9px 12px; flex-wrap: wrap; }
.ide-chips span { font-size: 9.5px; color: var(--muted); }
.ide-chips span.on { color: var(--brand); font-weight: 700; }
.ide-notice { margin: 10px 10px 0; padding: 9px; border-radius: 7px; background: #F8FAFC; border: 1px solid var(--line); }
.ide-bubble { margin: 10px 10px 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; font-size: 10px; color: var(--ink-2); line-height: 1.55; }
.ide-bubble.ghost { background: var(--bg-soft); color: var(--muted); }
.ide-input { margin: 10px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 9px; font-size: 10px; color: var(--muted-2); }
.ide-foot { display: flex; justify-content: center; gap: 26px; margin-top: 24px; color: var(--muted); font-size: 12.5px; position: relative; }
.ide-foot span + span { position: relative; }
.ide-foot span + span::before { content: ""; position: absolute; left: -13px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }

/* ---------- Agent 接入层 ---------- */
.agents { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.agent-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); padding: 26px 24px; transition: border-color .2s, transform .2s; }
.agent-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.agent-card .k { font-family: var(--mono); font-size: 11px; color: var(--brand); letter-spacing: .04em; }
.agent-card h3 { margin: 10px 0 8px; font-size: 17px; letter-spacing: -.01em; }
.agent-card p { margin: 0; color: var(--muted); font-size: 14px; }
.agent-card .path { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 5px 9px; }
.trace-bar { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #0f172a; padding: 18px 22px; color: #cbd5e1; }
.trace-bar .t-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #93c5fd; margin-bottom: 10px; }
.trace-bar .t-code { font-family: var(--mono); font-size: 12.5px; color: #e2e8f0; line-height: 1.9; word-break: break-word; }
.trace-bar .t-code em { color: #a5b4fc; font-style: normal; }
.trace-bar .t-note { margin-top: 10px; font-size: 13px; color: #94a3b8; }

/* ---------- 能力矩阵 ---------- */
.features { background: var(--bg-soft); }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.feat .k { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--brand); text-transform: uppercase; }
.feat:nth-child(4n+2) .k, .feat:nth-child(4n+3) .k { color: var(--violet); }
.feat h3 { font-size: 16px; margin: 10px 0 7px; letter-spacing: -.01em; line-height: 1.35; }
.feat p { color: var(--muted); font-size: 13.5px; margin: 0; line-height: 1.6; }

/* ---------- 内置方法横条 ---------- */
.methods { background: #fff; padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.methods-inner { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.methods-inner .m-label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); flex: 0 0 auto; }
.methods-inner .m-list { display: flex; gap: 10px; flex-wrap: wrap; }
.methods-inner .m-list span { font-size: 13px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; background: var(--bg-soft); }

/* ---------- 架构 ---------- */
.arch { background: #fff; }
.arch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 940px; margin: 0 auto; }
.arch-node { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); padding: 24px 22px; }
.arch-node .tag { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--brand); text-transform: uppercase; }
.arch-node h4 { margin: 9px 0 7px; font-size: 17px; }
.arch-node p { margin: 0; color: var(--muted); font-size: 13.5px; }
.arch-node .stack { margin-top: 14px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 6px 9px; display: inline-block; }
.arch-bridge { max-width: 940px; margin: 18px auto 0; border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 18px 22px; display: flex; align-items: center; gap: 16px; background: var(--bg-soft); }
.arch-bridge .b-k { font-family: var(--mono); font-size: 11.5px; color: var(--brand); white-space: nowrap; }
.arch-bridge .b-t { font-size: 13.5px; color: var(--muted); }
.arch-note { text-align: center; color: var(--muted); font-size: 13.5px; margin: 24px 0 0; }

/* ---------- 界面展示 ---------- */
.showcase { background: var(--bg-soft); }
.show-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.show-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.show-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.show-card img { width: 100%; height: 210px; object-fit: contain; display: block; background: #F8FAFC; border-bottom: 1px solid var(--line); }
.show-card .body { padding: 16px 20px 20px; }
.show-card h4 { margin: 0 0 5px; font-size: 15.5px; }
.show-card p { margin: 0; color: var(--muted); font-size: 13.5px; }
.pane-line { text-align: center; color: var(--muted); font-size: 13.5px; margin: 26px auto 0; max-width: 820px; }
.pane-line code { color: var(--brand); font-size: 12.5px; }

/* ---------- 收尾 CTA ---------- */
.cta-final { background: #fff; }
.cta-box { position: relative; overflow: hidden; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 56px 40px; background: var(--bg-soft); }
.cta-box::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.cta-box h2 { font-size: clamp(25px, 3vw, 34px); margin: 0 0 10px; letter-spacing: -.025em; }
.cta-box p { color: var(--muted); font-size: 15.5px; margin: 0 0 26px; }

/* ---------- 下载页 ---------- */
.dl-hero { background: var(--bg-soft); padding: 68px 0 52px; text-align: center; border-bottom: 1px solid var(--line); }
.dl-hero .ver { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 20px; }
.dl-hero .ver .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.dl-hero h1 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 12px; letter-spacing: -.03em; }
.dl-hero p { color: var(--muted); font-size: 16px; margin: 0 auto; max-width: 580px; }
.dl-hero .req { margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.dl-hero .req a { color: var(--brand); font-weight: 600; }

.dl-section { padding: 60px 0; }
.platforms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 880px; margin: 0 auto; }
.plat { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 26px 24px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.plat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plat.featured::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.plat .ptop { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.plat .picon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.plat .picon svg { width: 23px; height: 23px; }
.plat h3 { margin: 0; font-size: 17px; }
.plat .pmeta { color: var(--muted); font-size: 12.5px; }
.plat .pdesc { color: var(--muted); font-size: 13.5px; margin: 0 0 16px; flex: 1; line-height: 1.6; }
.dl-row { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); }
.dl-row .dl-name { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 13px; font-weight: 600; transition: color .2s; }
.dl-row .dl-ico { width: 15px; height: 15px; flex: 0 0 15px; color: var(--brand); }
.dl-row .dl-size { margin-left: auto; font-size: 12.5px; color: var(--muted-2); white-space: nowrap; }
.dl-row .dl-arrow { width: 30px; height: 30px; flex: 0 0 30px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); transition: background .2s, border-color .2s, color .2s, transform .2s; }
.dl-row .dl-arrow svg { width: 14px; height: 14px; }
.dl-row:hover .dl-name { color: var(--brand); }
.dl-row:hover .dl-arrow { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(2px); }

.text-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--brand); }
.text-link span { display: inline-block; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.text-link.down:hover span { transform: translateY(3px); }
.pf-card .psize { font-size: 12px; color: var(--muted-2); margin-top: 9px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.step .num { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.step h4 { margin: 0 0 6px; font-size: 15.5px; }
.step p { margin: 0; color: var(--muted); font-size: 13.5px; }
.step code, .note code { font-family: var(--mono); background: #0f172a; color: #e2e8f0; padding: 2px 6px; border-radius: 5px; font-size: 11.5px; }

.note { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 10px; padding: 18px 22px; }
.note h4 { margin: 0 0 9px; font-size: 15.5px; }
.note ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 13.5px; }
.note li { margin: 5px 0; }
.note .warn { color: #b45309; }

.consent { display: flex; align-items: center; gap: 12px; max-width: 880px; margin: 22px auto 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.consent .ck { width: 22px; height: 22px; flex: 0 0 22px; color: var(--brand); }
.consent a { color: var(--brand); font-weight: 600; }
.consent a:hover { text-decoration: underline; }

.preflight { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 880px; margin: 0 auto; }
.pf-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 24px; }
.pf-card.has { border-left: 3px solid #22c55e; }
.pf-card.need { border-left: 3px solid var(--brand); }
.pf-card h4 { margin: 0 0 7px; font-size: 15.5px; }
.pf-card p { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; }
.check-cmd { font-family: var(--mono); background: #0f172a; color: #e2e8f0; padding: 11px 13px; border-radius: 9px; font-size: 12.5px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.check-cmd .ok { color: #4ade80; font-size: 11.5px; font-weight: 600; white-space: nowrap; }

/* ---------- 页脚 ---------- */
.footer { background: #0f172a; color: #cbd5e1; padding: 52px 0 30px; }
.footer .f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.footer .brand { color: #fff; }
.footer .brand small { color: #94a3b8; }
.footer p.about { color: #94a3b8; font-size: 13.5px; max-width: 320px; margin: 15px 0 0; }
.footer h5 { color: #fff; font-size: 13px; margin: 0 0 13px; letter-spacing: .05em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer ul a { color: #cbd5e1; font-size: 13.5px; transition: color .18s; }
.footer ul a:hover { color: #fff; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #94a3b8; font-size: 12.5px; }

/* ---------- 滚动动效 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .ide-body { grid-template-columns: 140px 1.1fr 1fr 175px; }
}
@media (max-width: 820px) {
  .agent-grid, .show-grid, .arch-grid, .steps { grid-template-columns: 1fr; }
  .platforms, .preflight { grid-template-columns: 1fr; }
  .footer .f-grid { grid-template-columns: 1fr 1fr; }
  .ide-stage { margin-top: 48px; }
  .ide-body { grid-template-columns: 1fr 1fr; }
  .ide-col:nth-child(2) { border-right: none; }
  .ide-col:nth-child(1), .ide-col:nth-child(2) { border-bottom: 1px solid var(--line); }
  .ide-col:nth-child(4) { display: none; }
  .ide-stage::before { display: none; }
}
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px; gap: 14px; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .brand { gap: 8px; font-size: 16px; }
  .brand .corp { width: 26px; height: 26px; flex-basis: 26px; }
  .brand .mark { width: 26px; height: 26px; }
  .brand .sep { height: 16px; }
  .brand small { display: none; }
  .feat-grid, .show-grid, .footer .f-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 40px 22px; }
  .hero { padding: 64px 0 72px; }
  .ide-body { grid-template-columns: 1fr; }
  .ide-col { border-right: none; border-bottom: 1px solid var(--line); }
  .ide-col:last-child { border-bottom: none; }
  .ide-foot { flex-direction: column; align-items: center; gap: 8px; }
  .ide-foot span + span::before { display: none; }
  .agent-card, .arch-node { padding: 20px; }
  .methods-inner { gap: 12px; }
}
