/* =========================================================================
   智枢 ZHISHU · 官方网页样式
   品牌：智汇达 ZHD —— 浅色企业风（teal #0C8484 + green #3FA535）
   ========================================================================= */

:root {
  /* brand palette (与简报 build-deck.js 一致) */
  --ink:   #0E2E2E;
  --body:  #3F5757;
  --muted: #8AA0A0;
  --white: #ffffff;
  --soft:  #EAF4F3;
  --soft2: #F3F9F8;
  --line:  #D2E2E0;
  --teal:  #0C8484;
  --tealD: #0A6E6E;
  --green: #3FA535;
  --sky:   #1AA39A;
  --amber: #B4791F;
  --rose:  #C2503F;
  --good:  #2E8B57;

  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(11, 77, 77, .22);
  --shadow-sm: 0 4px 14px -8px rgba(11, 77, 77, .25);
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

/* kicker / section heading -------------------------------------------------*/
.kicker {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  font-weight: 700; color: var(--teal); display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--teal); border-radius: 2px; }
.sec-title { font-size: clamp(26px, 3.4vw, 40px); margin: 14px 0 0; letter-spacing: -.01em; }
.sec-lead { color: var(--tealD); font-weight: 600; margin-top: 12px; font-size: clamp(15px, 1.4vw, 17px); }

section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.alt { background:
    radial-gradient(120% 90% at 100% 0%, var(--soft2) 0%, transparent 55%),
    var(--soft2); }
.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ============================ NAVBAR ==================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11,77,77,.4); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); font-size: 20px; }
.brand img { height: 38px; width: auto; }
.brand small { font-weight: 700; color: var(--muted); font-size: 11px; letter-spacing: .22em; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-right { display: flex; align-items: center; gap: 14px; margin-left: 14px; }
/* language switch */
.lang-switch { display: inline-flex; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button {
  border: 0; background: transparent; cursor: pointer; font-family: inherit; font-weight: 700;
  font-size: 13px; color: var(--body); padding: 5px 12px; border-radius: 999px; line-height: 1;
  transition: color .2s, background .2s, box-shadow .2s;
}
.lang-switch button:hover { color: var(--teal); }
.lang-switch button.active { background: #fff; color: var(--teal); box-shadow: var(--shadow-sm); }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--body); padding: 8px 12px; border-radius: 8px;
  transition: color .2s, background .2s; position: relative;
}
.nav-links a:hover { color: var(--teal); background: var(--soft); }
.nav-links a.active { color: var(--teal); }
.nav-cta {
  margin-left: 8px; background: var(--teal); color: #fff !important; padding: 9px 18px !important;
  border-radius: 10px; font-weight: 700 !important; box-shadow: var(--shadow-sm);
}
.nav-cta:hover { background: var(--tealD) !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ============================ HERO ===================================== */
.hero {
  position: relative; padding-top: 150px; padding-bottom: 110px; overflow: hidden;
  background:
    radial-gradient(60% 80% at 88% -10%, rgba(63,165,53,.10) 0%, transparent 50%),
    radial-gradient(70% 90% at 10% 0%, rgba(12,132,132,.10) 0%, transparent 55%),
    linear-gradient(180deg, var(--soft2) 0%, #fff 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 75%);
          mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 75%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--soft);
  border: 1px solid rgba(12,132,132,.3); color: var(--tealD); font-weight: 700;
  font-size: 13px; padding: 8px 16px; border-radius: 999px; letter-spacing: .02em;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(63,165,53,.18); }
.hero h1 {
  font-size: clamp(64px, 13vw, 150px); letter-spacing: -.03em; margin: 22px 0 0;
  line-height: .95; color: var(--ink);
}
.hero .zhishu { font-size: 16px; font-weight: 700; letter-spacing: .5em; color: var(--teal); margin-top: 14px; }
.hero-tag { font-size: clamp(22px, 3vw, 34px); font-weight: 700; color: var(--ink); margin-top: 26px; letter-spacing: -.01em; }
.hero-tag .t { color: var(--teal); } .hero-tag .e { color: var(--green); } .hero-tag .q { color: var(--sky); }
.hero-tag .sep { color: var(--muted); font-weight: 400; }
.hero-sub { font-size: clamp(15px, 1.6vw, 18px); color: var(--body); margin-top: 16px; max-width: 640px; }
.hero-sub b { color: var(--tealD); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px;
  padding: 14px 26px; border-radius: 12px; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s; border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--tealD); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn svg { width: 18px; height: 18px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); margin-top: 56px; }
.hero-stats .stat .num { font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.hero-stats .stat .num span { color: var(--teal); }
.hero-stats .stat .lab { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* ============================ PAIN ===================================== */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; }
.pain-item { padding: 8px 34px; position: relative; }
.pain-item + .pain-item { border-left: 1px solid var(--line); }
.pain-item .pn { font-size: clamp(56px, 7vw, 84px); font-weight: 800; color: #E0ECEA; line-height: 1; letter-spacing: -.04em; }
.pain-item .bar { width: 38px; height: 4px; background: var(--rose); border-radius: 2px; margin: 18px 0 14px; }
.pain-item h3 { font-size: 22px; }
.pain-item p { margin-top: 12px; font-size: 14.5px; }
.pain-note { margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--tealD); font-weight: 700; font-size: clamp(15px,1.5vw,17px); }

/* ============================ LIFECYCLE / SOLUTION ===================== */
.flow { display: flex; align-items: flex-start; justify-content: space-between; margin-top: 60px; position: relative; gap: 8px; }
.flow::before { content: ""; position: absolute; top: 27px; left: 7%; right: 7%; height: 2px; background: var(--line); }
.flow .node { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; position: relative; z-index: 1; }
.flow .disc { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px; box-shadow: var(--shadow-sm); }
.flow .nlab { font-weight: 700; color: var(--ink); margin-top: 16px; font-size: clamp(14px,1.5vw,17px); }
.solution-note { text-align: center; color: var(--tealD); font-weight: 700; margin-top: 48px; font-size: clamp(14px,1.4vw,16px); }
.solution-cross {
  margin-top: 30px; padding: 26px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; box-shadow: var(--shadow-sm);
}
.solution-cross b { font-size: clamp(17px,1.8vw,20px); color: var(--ink); }
.solution-cross span { color: var(--body); }

/* ============================ CAPABILITIES ============================= */
.caps { margin-top: 50px; border-top: 1px solid var(--line); }
.cap-row {
  display: grid; grid-template-columns: 72px 1fr; gap: 0 24px; align-items: center;
  padding: 26px 4px; border-bottom: 1px solid var(--line); transition: background .25s, padding-left .25s var(--ease);
}
.cap-row:hover { background: var(--soft2); padding-left: 14px; }
.cap-row .cn { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.cap-row .cbody { display: grid; grid-template-columns: minmax(180px, 280px) 1fr auto; gap: 6px 28px; align-items: center; }
.cap-row h3 { font-size: clamp(18px,1.9vw,21px); }
.cap-row p { font-size: 14.5px; }
.cap-row .cic { width: 44px; height: 44px; opacity: .9; justify-self: end; }

/* ============================ AGENTS (Spec / Dev) ===================== */
.agent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 56px; }
.agent-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.agent-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--accent, var(--teal)); }
.agent-card .a-tag { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.agent-card h3 { font-size: clamp(20px,2.2vw,26px); margin-top: 8px; }
.agent-card .a-lead { color: var(--tealD); font-weight: 600; margin-top: 8px; font-size: 14.5px; }
.io { margin-top: 26px; }
.io-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.io-title { font-weight: 700; color: var(--ink); font-size: 16px; margin: 6px 0 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.io-title.out { color: var(--green); }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--body); }
.tick-list li::before { content: ""; flex: none; width: 16px; height: 4px; margin-top: 11px; border-radius: 2px; background: var(--accent, var(--teal)); }
.tick-list.dots li::before { width: 9px; height: 9px; border-radius: 50%; margin-top: 7px; background: var(--green); }
.tick-list .sub { color: var(--muted); }
/* timeline (dev agent) */
.timeline { list-style: none; padding: 0; margin: 18px 0 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 6px; bottom: 14px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 22px 44px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .step { position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--st, var(--teal)); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff; }
.timeline h4 { font-size: 16px; }
.timeline p { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* ============================ EXAMPLES ================================= */
.ex { margin-top: 50px; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.ex + .ex { margin-top: 28px; }
.ex .ex-name { font-weight: 700; color: var(--tealD); font-size: clamp(16px,1.7vw,19px); display: flex; align-items: center; gap: 12px; }
.ex .ex-name .idx { background: var(--soft); color: var(--teal); border-radius: 8px; padding: 2px 12px; font-size: 14px; }
.ex-io { display: grid; grid-template-columns: 1fr auto 1.6fr; gap: 22px; align-items: center; margin-top: 24px; }
.ex-col .ex-lab { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.ex-col .ex-lab.out { color: var(--green); }
.ex-shot { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; }
.ex-shot img { width: 100%; }
.ex-cap { font-size: 12px; color: var(--muted); text-align: center; margin-top: 8px; }
.ex-arrow { color: var(--teal); font-size: 34px; font-weight: 700; }
.ex-out-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============================ WORKFLOW ================================= */
.wf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 50px; margin-top: 52px; }
.wf-step { display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.wf-step .wn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--teal); color: var(--teal); display: grid; place-items: center; font-weight: 700; font-size: 17px; transition: background .25s, color .25s; }
.wf-step.hl .wn, .wf-step:hover .wn { background: var(--teal); color: #fff; }
.wf-step h4 { font-size: 16.5px; }
.wf-step p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.wf-loop { margin-top: 40px; text-align: center; color: var(--tealD); font-weight: 700; font-size: clamp(14px,1.4vw,16px); }

/* ============================ ARCHITECTURE ============================= */
.arch { margin-top: 56px; display: flex; flex-direction: column; align-items: center; }
.arch-top {
  width: min(520px, 100%); background: var(--tealD); color: #fff; border-radius: 14px; padding: 22px; text-align: center; box-shadow: var(--shadow);
}
.arch-top .t1 { font-size: 11px; letter-spacing: .16em; color: #BFE3DF; font-weight: 700; }
.arch-top .t2 { font-size: clamp(22px,2.4vw,28px); font-weight: 800; margin: 4px 0; }
.arch-top .t3 { font-size: 12.5px; color: #BFE3DF; }
.arch-conn { width: 2px; height: 34px; background: var(--teal); }
.arch-agents { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; width: 100%; position: relative; }
.arch-agents::before { content: ""; position: absolute; top: -18px; left: 12.5%; right: 12.5%; height: 2px; background: var(--teal); }
.arch-agents .ac::before { content: ""; position: absolute; top: -18px; left: 50%; width: 2px; height: 18px; background: var(--teal); }
.arch-agents .ac { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 14px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.arch-agents .ac:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.arch-agents .ac .cap-top { position: absolute; inset: 0 0 auto 0; height: 5px; border-radius: 12px 12px 0 0; background: var(--ac, var(--teal)); }
.arch-agents .ac img { width: 40px; height: 40px; margin: 4px auto 12px; }
.arch-agents .ac h4 { font-size: 16px; }
.arch-agents .ac p { font-size: 12px; color: var(--muted); margin-top: 5px; }
.arch-foundation-label { align-self: flex-start; margin: 40px 0 16px; color: var(--tealD); font-weight: 700; font-size: 13.5px; }
.arch-foundation { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; width: 100%; }
.fnd { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 18px 22px; position: relative; display: flex; gap: 16px; align-items: center; }
.fnd::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--fc, var(--teal)); border-radius: 12px 0 0 12px; }
.fnd img { width: 40px; height: 40px; flex: none; }
.fnd .fk { font-size: 11px; font-weight: 700; color: var(--fc, var(--teal)); letter-spacing: .04em; }
.fnd h4 { font-size: 16px; margin-top: 1px; }
.fnd p { font-size: 12px; color: var(--body); margin-top: 3px; }
.arch-loop {
  width: 100%; margin-top: 24px; padding: 18px 24px; border: 1.5px dashed var(--teal); border-radius: 12px; background: var(--soft2);
  display: flex; gap: 14px; align-items: center; color: var(--tealD); font-weight: 600; font-size: 13.5px;
}
.arch-loop img { width: 26px; height: 26px; flex: none; }

/* ============================ DEPLOYMENT ============================== */
.deploy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; position: relative; }
.deploy-card { border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.deploy-card.cloud { background: #fff; box-shadow: var(--shadow); border-color: rgba(12,132,132,.35); }
.deploy-card.local { background: var(--soft2); }
.deploy-card .d-head { display: flex; align-items: center; gap: 12px; }
.deploy-card h3 { font-size: clamp(20px,2.1vw,24px); }
.deploy-card.cloud h3 { color: var(--teal); }
.deploy-card.local h3 { color: var(--muted); }
.deploy-card .pill { font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--teal); color: #fff; }
.deploy-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.deploy-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 14.5px; }
.deploy-list li svg { flex: none; width: 19px; height: 19px; margin-top: 2px; }
.deploy-card.cloud .deploy-list li { color: var(--ink); }
.deploy-assure { margin-top: 30px; padding: 26px 30px; background: var(--soft); border: 1px solid rgba(12,132,132,.3); border-radius: var(--radius); }
.deploy-assure b { color: var(--ink); font-size: clamp(15px,1.6vw,17px); }
.deploy-assure span { color: var(--body); display: block; margin-top: 6px; font-size: 14.5px; }

/* ============================ DIFFERENTIATION ========================= */
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.diff-card { border-radius: var(--radius); padding: 32px; position: relative; overflow: hidden; }
.diff-card.gen { background: var(--soft2); border: 1px solid var(--line); }
.diff-card.zs { background: #fff; border: 1px solid rgba(12,132,132,.35); box-shadow: var(--shadow); }
.diff-card .top-edge { position: absolute; inset: 0 0 auto 0; height: 7px; }
.diff-card.gen .top-edge { background: var(--muted); }
.diff-card.zs .top-edge { background: var(--teal); }
.diff-card h3 { font-size: clamp(20px,2.2vw,25px); margin-top: 6px; }
.diff-card.gen h3 { color: var(--muted); }
.diff-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.diff-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 14.5px; }
.diff-list .x { color: var(--rose); font-weight: 800; flex: none; }
.diff-list .c { color: var(--green); font-weight: 800; flex: none; }
.diff-card.zs .diff-list li { color: var(--ink); }
.diff-note { margin-top: 40px; text-align: center; color: var(--tealD); font-weight: 700; font-size: clamp(15px,1.7vw,19px); }

/* ============================ SELF-LEARNING ========================== */
.cycle { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-top: 56px; position: relative; }
.cycle::before { content: ""; position: absolute; top: 25px; left: 10%; right: 10%; height: 2px; background: var(--line); }
.cycle .cy { flex: 1; text-align: center; position: relative; z-index: 1; }
.cycle .cy .d { width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; display: grid; place-items: center; margin: 0 auto; box-shadow: var(--shadow-sm); }
.cycle .cy h4 { font-size: clamp(14px,1.5vw,17px); margin-top: 16px; }
.cycle .cy p { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.benefit .bbar { width: 34px; height: 4px; background: var(--green); border-radius: 2px; }
.benefit h4 { font-size: 18px; margin-top: 14px; }
.benefit p { font-size: 14px; margin-top: 8px; }

/* ============================ VALUE =================================== */
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 56px; }
.value-item { padding: 34px; border-bottom: 1px solid var(--line); }
.value-item:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 4px; }
.value-item:nth-child(even) { padding-left: 40px; }
.value-item:nth-child(3), .value-item:nth-child(4) { border-bottom: 0; }
.value-item .vh { display: flex; align-items: center; gap: 16px; }
.value-item img { width: 52px; height: 52px; }
.value-item h3 { font-size: clamp(20px,2.3vw,26px); }
.value-item p { margin-top: 14px; font-size: 14.5px; max-width: 460px; }

/* ============================ CTA / THANKS ============================ */
.closing {
  text-align: center;
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(12,132,132,.10) 0%, transparent 60%),
    var(--soft2);
}
.closing img.logo { height: 84px; width: auto; margin: 0 auto 26px; }
.closing h2 { font-size: clamp(48px, 8vw, 84px); letter-spacing: .08em; }
.closing .ctitle { color: var(--tealD); font-weight: 700; font-size: clamp(16px,1.8vw,20px); margin-top: 16px; }
.closing .cbar { width: 64px; height: 3px; background: var(--teal); margin: 30px auto; border-radius: 2px; }
.closing .hero-cta { justify-content: center; }

/* ============================ FOOTER ================================= */
.footer { background: var(--ink); color: #BFD8D5; padding-block: 44px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.footer .fbrand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 18px; }
.footer .fbrand img { height: 34px; filter: brightness(0) invert(1); opacity: .95; }
.footer small { color: #87A8A4; font-size: 13px; }
.footer .flinks { display: flex; gap: 22px; }
.footer .flinks a { color: #BFD8D5; font-size: 14px; transition: color .2s; }
.footer .flinks a:hover { color: #fff; }

/* ============================ REVEAL ANIMATION ======================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================ RESPONSIVE ============================= */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-right { margin-left: auto; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 16px var(--gut); gap: 4px; box-shadow: var(--shadow);
  }
  .nav.open .nav-links a { padding: 12px; }
  .agent-grid, .deploy-grid, .diff-grid, .ex-out-grid, .wf-grid { grid-template-columns: 1fr; }
  .ex-io { grid-template-columns: 1fr; }
  .ex-arrow { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 720px) {
  .pain-grid, .cycle, .flow { grid-template-columns: 1fr; display: grid; }
  .flow { gap: 28px; } .flow::before, .cycle::before { display: none; }
  .pain-item + .pain-item { border-left: 0; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 12px; }
  .pain-item { padding-inline: 4px; }
  .arch-agents, .arch-foundation, .benefits, .value-grid { grid-template-columns: 1fr; }
  .arch-agents::before, .arch-agents .ac::before { display: none; }
  .value-item:nth-child(odd) { border-right: 0; padding-left: 4px; }
  .value-item:nth-child(even) { padding-left: 4px; }
  .cap-row { grid-template-columns: 48px 1fr; }
  .cap-row .cbody { grid-template-columns: 1fr; }
  .cap-row .cic { display: none; }
  .cycle .cy { display: grid; grid-template-columns: 52px 1fr; gap: 16px; text-align: left; align-items: center; }
}
