/* ============================================================
   八荒科技官网主题 bahuang · 设计系统 v12
   基调：稳重的深蓝 + 精致留白 + 细节质感
   深蓝 #1B2A3E ｜ 品牌蓝 #2954FF ｜ 文字 #1F2D3D / #475669
   ============================================================ */

:root {
  --brand: #2954FF;
  --brand-d: #1D42D6;
  --brand-soft: #EDF3FE;
  --ink: #1F2D3D;
  --text: #475669;
  --muted: #5F6F83;
  --muted-2: #5F6F83;
  --line: #E3E8F0;
  --line-2: #EEF1F6;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FB;
  --deep: #1B2A3E;
  --deep-2: #22334B;
  --green: #2E7D32;
  --red: #D84343;
  --radius: 8px;
  --radius-s: 5px;
  --shadow-card: 0 2px 8px rgba(31,45,61,.035);
  --shadow-card-hover: 0 6px 18px rgba(31,45,61,.075);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-d); }
ul, ol { list-style: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 34px; border-radius: var(--radius-s); border: 1px solid transparent;
  font-size: 14px; font-weight: 400; letter-spacing: 1px; cursor: pointer; line-height: 1.5;
  transition: background .15s, color .15s, border-color .15s; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-d); color: #fff; }
.btn-ghost { border-color: #C9D2DE; color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #EFF2F7; color: var(--ink); }
.btn-outline-light { border-color: #4A5C74; color: #C7D2E0; background: transparent; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: 9px 24px; font-size: 13px; }
.btn-lg { padding: 13px 40px; font-size: 15px; }

/* ---------- 顶部导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line-2); }
.header-inner { display: flex; align-items: center; height: 66px; gap: 32px; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img.logo-pic { height: 38px; width: 38px; }
.brand .brand-text { font-size: 20px; font-weight: 500; color: var(--ink); letter-spacing: 2px; }

.nav { flex: 1; }
.nav > ul { display: flex; gap: 6px; justify-content: center; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  display: block; padding: 6px 20px; color: var(--text); font-size: 15px;
  border-bottom: 2px solid transparent;
}
.nav > ul > li > a:hover { color: var(--brand); }
.nav > ul > li.on > a { color: var(--brand); border-bottom-color: var(--brand); }

.subnav {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 6px; min-width: 180px; box-shadow: 0 8px 24px rgba(31, 45, 61, .08);
  opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility .18s;
}
.subnav::before { content: ""; position: absolute; top: -12px; left: -20px; right: -20px; height: 12px; }
.nav li:hover .subnav, .nav li:focus-within .subnav { opacity: 1; visibility: visible; }
.subnav a { display: block; padding: 9px 14px; color: var(--text); font-size: 14px; border-radius: var(--radius-s); }
.subnav a:hover { background: var(--brand-soft); color: var(--brand); }

.header-cta { flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: all .2s; }

/* ---------- 首屏：深蓝 + 网格纹理 + 巨大背景字 ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--deep); padding: 118px 0 108px; text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(820px 460px at 50% 40%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(820px 460px at 50% 40%, #000 0%, transparent 78%);
}
.hero::after {
  content: "BH TECH"; position: absolute; right: -30px; bottom: -46px;
  font-size: 210px; font-weight: 700; letter-spacing: 6px; line-height: 1;
  color: rgba(255,255,255,.04); pointer-events: none; user-select: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 42px; color: #fff; font-weight: 500; line-height: 1.5; letter-spacing: 2px; }
.hero h1 strong { color: #85A8FF; font-weight: 500; }
.hero-sub { max-width: 620px; margin: 24px auto 0; font-size: 16px; color: #AEBDD2; }
.hero-actions { margin-top: 42px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 30px; font-size: 13px; color: #9DAFC7; letter-spacing: 1px; }

/* ---------- 业务链路条 ---------- */
.chain { background: #fff; border-bottom: 1px solid var(--line-2); }
.chain-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; padding: 40px 0 30px; }
.chain-step { padding: 6px 34px 0; border-left: 1px solid var(--line); }
.chain-step:first-child { border-left: none; padding-left: 0; }
.chain-arrow { display: flex; align-items: center; color: #C4CFDE; font-size: 20px; }
.chain-step .cs-no { font-size: 14px; color: var(--brand); margin-bottom: 8px; letter-spacing: 2px; font-weight: 500; }
.chain-step h3 { font-size: 19px; color: var(--ink); font-weight: 500; margin-bottom: 6px; letter-spacing: .5px; }
.chain-step p { font-size: 13.5px; color: var(--text); }
.chain-note { text-align: center; font-size: 13px; color: var(--muted); padding-bottom: 26px; letter-spacing: .5px; }

/* ---------- 区块通用 ---------- */
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.section.tint { background: var(--brand-soft); }
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.sec-head .sec-bar { display: block; width: 26px; height: 3px; background: var(--brand); margin: 0 auto 18px; }
.sec-head h2 { font-size: 30px; color: var(--ink); font-weight: 500; line-height: 1.4; letter-spacing: 1.5px; }
.sec-head p { margin-top: 14px; color: var(--text); font-size: 15px; }

/* ---------- 两大主营 ---------- */
.mainprod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mainprod-card { background: #fff; border: 1px solid #EBEFF5; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card); transition: box-shadow .2s, transform .2s; }
.mainprod-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.mainprod-card .mp-visual { position: relative; padding: 26px 26px 4px; background: linear-gradient(180deg, var(--bg-soft) 0%, #EDF1F7 100%); }
.mainprod-card .mp-visual img.photo { width: 100%; height: 240px; object-fit: cover; object-position: center; border-radius: var(--radius); border: 1px solid #E0E6F0; box-shadow: 0 6px 18px rgba(31,45,61,.08); }
.mp-badge { display: none; }
.mainprod-card .mp-body { padding: 24px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.mainprod-card .mp-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mainprod-card .mp-title h3 { font-size: 22px; color: var(--ink); font-weight: 500; letter-spacing: 1px; }
.mp-tag { flex-shrink: 0; font-size: 12px; color: var(--brand); background: var(--brand-soft); padding: 3px 12px; border-radius: 999px; letter-spacing: 1px; }
.mainprod-card .mp-body .tagline { font-size: 14px; margin-top: 6px; color: var(--text); }
.mp-line { height: 1px; background: var(--line-2); margin: 16px 0 18px; }
.mp-feats { margin: 0 0 24px; flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; }
.mp-feats li { position: relative; padding-left: 17px; font-size: 13.5px; color: var(--text); }
.mp-feats li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; background: var(--brand); }

.rpa-visual { background: linear-gradient(180deg, var(--brand-soft) 0%, #E3ECFC 100%); position: relative; padding: 34px 34px 24px; display: flex; align-items: center; justify-content: center; }
.rpa-visual .flow-nodes { display: flex; flex-direction: column; gap: 12px; width: 86%; }
.rpa-visual .node { background: #fff; border: 1px solid #D5E0F3; border-radius: var(--radius); padding: 11px 16px; font-size: 14px; color: var(--ink); display: flex; align-items: center; gap: 10px; box-shadow: 0 3px 10px rgba(41,84,255,.07); }
.rpa-visual .node .dot { width: 7px; height: 7px; background: var(--brand); flex-shrink: 0; }
.rpa-visual .node small { margin-left: auto; font-size: 12px; color: var(--muted); }
.rpa-visual .robot-tag { position: absolute; right: 30px; bottom: 14px; font-size: 11px; color: #9DB4E8; letter-spacing: 1px; }

/* ---------- 场景卡 ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scene-card { background: #fff; border: 1px solid #EBEFF5; border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-card); transition: box-shadow .2s, transform .2s; }
.scene-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.scene-no { font-size: 13px; color: #B6C1D1; margin-bottom: 16px; letter-spacing: 2px; }
.scene-card h3 { font-size: 19px; color: var(--ink); font-weight: 500; margin-bottom: 10px; letter-spacing: .5px; }
.scene-card p { font-size: 14px; color: var(--text); margin-bottom: 16px; }
.scene-card .more { font-size: 14px; }

/* ---------- RPA 独立模块（深蓝） ---------- */
.rpa-module { background: var(--deep); position: relative; overflow: hidden; padding: 88px 0; }
.rpa-module::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
}
.rpa-module .container { position: relative; z-index: 1; }
.rpa-mod-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.rpa-mod-left .sec-bar { display: block; width: 26px; height: 3px; background: #85A8FF; margin-bottom: 18px; }
.rpa-mod-left h2 { font-size: 30px; color: #fff; font-weight: 500; line-height: 1.5; letter-spacing: 1.5px; margin-bottom: 16px; }
.rpa-mod-left h2 strong { color: #85A8FF; font-weight: 500; }
.rpa-mod-left p { font-size: 15px; color: #AEBDD2; margin-bottom: 32px; }
.rpa-mod-items { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid #33465F; border-radius: var(--radius); overflow: hidden; }
.rpa-mod-item { padding: 26px 28px; border-left: 1px solid #33465F; border-top: 1px solid #33465F; background: rgba(255,255,255,.02); }
.rpa-mod-item:nth-child(-n+2) { border-top: none; }
.rpa-mod-item:nth-child(odd) { border-left: none; }
.rpa-mod-item h3 { font-size: 16px; color: #fff; font-weight: 500; margin-bottom: 6px; }
.rpa-mod-item h3 span { color: #5E7290; font-size: 13px; margin-right: 8px; font-weight: 400; }
.rpa-mod-item p { font-size: 13px; color: #8A99AF; }

/* ---------- 服务流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step { background: #fff; border: 1px solid #EBEFF5; border-radius: var(--radius); padding: 24px 16px; text-align: center; box-shadow: var(--shadow-card); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 1px solid var(--brand); color: var(--brand);
  font-weight: 400; font-size: 14px; margin-bottom: 12px; border-radius: 50%;
}
.step h4 { font-size: 15px; color: var(--ink); font-weight: 500; margin-bottom: 4px; }
.step p { font-size: 12.5px; color: var(--muted); }

/* ---------- 开源卡片 ---------- */
.oss-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.oss-card { background: var(--deep-2); border-radius: var(--radius); padding: 30px; color: #fff; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 6px 20px rgba(27,42,62,.18); transition: transform .2s, box-shadow .2s; }
.oss-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(27,42,62,.26); }
.oss-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.oss-head h3 { font-size: 18px; font-weight: 500; letter-spacing: .5px; }
.oss-license { font-size: 12px; padding: 2px 10px; border: 1px solid #46587A; color: #A8BBD8; letter-spacing: .5px; }
.oss-card p { font-size: 14px; color: #A8B7C9; flex: 1; }
.oss-links { display: flex; gap: 12px; flex-wrap: wrap; }
.oss-links a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 6px 14px; border: 1px solid #46587A; color: #D5DEEA; border-radius: var(--radius-s); }
.oss-links a:hover { border-color: #fff; color: #fff; }
.oss-links a svg { width: 14px; height: 14px; }

/* ---------- 关于条 ---------- */
.about-strip { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.about-strip h2 { font-size: 27px; color: var(--ink); font-weight: 500; margin-bottom: 20px; letter-spacing: 1px; }
.about-strip p { color: var(--text); margin-bottom: 14px; font-size: 14.5px; }
.about-panel { background: var(--bg-soft); border: 1px solid #EBEFF5; border-radius: var(--radius); padding: 38px 34px; box-shadow: var(--shadow-card); }
.about-panel .row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.about-panel .row:last-child { border-bottom: none; }
.about-panel .row span:first-child { color: var(--muted); flex-shrink: 0; }
.about-panel .row span:last-child { color: var(--ink); text-align: right; }

/* ---------- CTA 横幅 ---------- */
.cta-banner { background: var(--brand); border-radius: var(--radius); padding: 60px 48px; text-align: center; color: #fff; box-shadow: 0 14px 36px rgba(41,84,255,.28); }
.cta-banner h2 { font-size: 26px; font-weight: 500; margin-bottom: 12px; letter-spacing: 1.5px; }
.cta-banner p { color: #C9D8FF; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn-primary { background: #fff; color: var(--brand); }
.cta-banner .btn-primary:hover { background: #EFF2F7; color: var(--brand-d); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--deep); color: #A8B7C9; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px; }
.footer-grid h4 { color: #fff; font-size: 15px; font-weight: 500; margin-bottom: 20px; letter-spacing: 1px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { color: #A8B7C9; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.f-brand .brand-text { color: #fff; display: inline-flex; align-items: center; gap: 10px; }
.f-brand p { font-size: 13.5px; margin-top: 14px; max-width: 300px; }
.f-contact-qr { display: flex; gap: 16px; align-items: flex-start; }
.f-contact-qr img { width: 104px; height: 104px; border-radius: var(--radius); background: #fff; padding: 5px; }
.f-contact-qr p { font-size: 13px; margin-top: 4px; }
.footer-bottom { border-top: 1px solid #2C3F57; padding: 20px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: #A8B7C9; }

/* ---------- 悬浮组件 ---------- */
.float-rail { position: fixed; right: 20px; bottom: 15%; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-btn { width: 44px; height: 44px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text); transition: color .15s, border-color .15s; }
.float-btn:hover { color: var(--brand); border-color: var(--brand); }
.float-btn svg { width: 20px; height: 20px; }
.float-btn.wechat { color: var(--green); }
.float-btn.top { opacity: 0; pointer-events: none; }
.float-btn.top.show { opacity: 1; pointer-events: auto; }

.qr-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; }
.qr-modal.open { display: flex; }
.qr-mask { position: absolute; inset: 0; background: rgba(27, 42, 62, .6); }
.qr-card { position: relative; background: #fff; border-radius: var(--radius); padding: 36px 38px 30px; text-align: center; max-width: 320px; }
.qr-card img { width: 200px; height: 200px; margin: 0 auto 16px; }
.qr-card h4 { font-size: 17px; color: var(--ink); font-weight: 500; margin-bottom: 6px; }
.qr-card p { font-size: 13px; color: var(--muted); }
.qr-close { position: absolute; top: 10px; right: 12px; border: none; background: none; font-size: 22px; color: var(--muted); cursor: pointer; line-height: 1; }

/* ---------- 内页横幅 ---------- */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 46px 0 42px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.page-hero h1 { font-size: 30px; color: var(--ink); font-weight: 500; letter-spacing: 1px; }
.page-hero .sub { margin-top: 10px; color: var(--text); font-size: 15px; max-width: 720px; }

/* ---------- 富文本 ---------- */
.rich { font-size: 15px; color: var(--text); }
.rich h3 { font-size: 18px; color: var(--ink); font-weight: 500; margin: 34px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); line-height: 1.5; letter-spacing: .5px; }
.rich h4 { font-size: 16px; color: var(--ink); font-weight: 500; margin: 24px 0 10px; }
.rich p { margin-bottom: 14px; }
.rich ul { margin: 0 0 16px; }
.rich ul li { position: relative; padding-left: 17px; margin-bottom: 8px; }
.rich ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 5px; height: 5px; background: var(--brand); }
.rich ol { margin: 0 0 16px; padding-left: 22px; }
.rich ol li { margin-bottom: 8px; list-style: decimal; }
.rich img { border-radius: var(--radius); margin: 10px 0; }
.rich a { text-decoration: underline; }
.rich table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.rich th, .rich td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.rich th { background: var(--bg-soft); font-weight: 500; }
.muted-note { font-size: 13px; color: var(--muted); background: var(--bg-soft); border-radius: var(--radius-s); padding: 12px 16px; }

/* ---------- 产品详情页 ---------- */
.pd-hero { padding: 76px 0 68px; border-bottom: 1px solid var(--line-2); }
.pd-hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.pd-hero h1 { font-size: 32px; color: var(--ink); line-height: 1.5; font-weight: 500; letter-spacing: 1px; margin: 16px 0 14px; }
.pd-hero .lead { font-size: 15px; color: var(--text); margin-bottom: 32px; }
.pd-kicker { display: inline-block; font-size: 13px; color: var(--muted); letter-spacing: 2px; }
.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.pd-visual { border: 1px solid var(--line); border-radius: var(--radius); min-height: 300px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; background: var(--bg-soft); }
.visual-note { position: absolute; bottom: 12px; right: 16px; font-size: 12px; color: var(--muted); }

.pd-visual.tingjian-v { background: var(--bg-soft); }
.badge-device { width: 200px; height: 84px; background: linear-gradient(160deg, #FFFFFF, #EDF1F7); border: 1px solid #D2DAE5; border-radius: 40px; position: relative; }
.badge-device::before { content: ""; position: absolute; left: 50%; top: -24px; transform: translateX(-50%); width: 70px; height: 28px; border: 1px solid #D2DAE5; border-bottom: none; border-radius: 14px 14px 0 0; background: #F6F8FB; }
.badge-device .mic { position: absolute; top: 22px; left: 32px; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); }
.badge-device .mic::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); }
.badge-device .led { position: absolute; right: 38px; top: 28px; display: flex; gap: 8px; }
.badge-device .led i { width: 8px; height: 8px; border-radius: 50%; background: #34A853; }
.badge-device .led i:nth-child(2) { background: #5B8DEF; }
.badge-device .led i:nth-child(3) { background: #E8A93C; }
.badge-device .rec { position: absolute; right: 28px; bottom: -15px; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; }

.pd-visual.lingzuo-v { background: var(--brand-soft); }
.whale-glyph { text-align: center; color: #3560C8; }
.whale-glyph svg { width: 180px; height: 114px; margin: 0 auto 12px; display: block; }
.whale-glyph .zh { font-size: 24px; letter-spacing: 8px; color: #2A4B8F; font-weight: 500; }
.whale-glyph .en { font-size: 12px; letter-spacing: 4px; color: var(--muted); margin-top: 4px; }

/* 特性网格 */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-grid.two { grid-template-columns: repeat(2, 1fr); }
.feat-card { background: #fff; border: 1px solid #EBEFF5; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-card); transition: box-shadow .2s, transform .2s, border-color .2s; }
.feat-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.feat-card .no { font-size: 14px; color: var(--muted); margin-bottom: 6px; display: block; letter-spacing: 2px; }
.feat-card h3 { font-size: 17px; color: var(--ink); font-weight: 500; margin-bottom: 8px; letter-spacing: .5px; }
.feat-card p { font-size: 14px; color: var(--text); }

.pipeline { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pipeline span { padding: 8px 16px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; color: var(--text); position: relative; }
.pipeline span:not(:last-child)::after { content: "→"; position: absolute; right: -14px; color: #B9C3D0; }
.pipeline span:not(:last-child) { margin-right: 10px; }

/* ---------- 猎手深色主题（保留） ---------- */
.theme-dark { background: #0a0e14; }
.theme-dark .section { color: #C9D3E0; }
.theme-dark .sec-head h2, .theme-dark h2, .theme-dark h3 { color: #F2F6FB; font-weight: 500; }
.theme-dark .sec-head p, .theme-dark p { color: #8A97A8; }
.dark-hero { background: linear-gradient(180deg, #0a0e14 0%, #0f141d 100%); padding: 88px 0 72px; text-align: center; }
.dark-hero h1 { font-size: 38px; color: #F2F6FB; font-weight: 500; line-height: 1.45; letter-spacing: 1px; }
.dark-hero h1 em { font-style: normal; color: #C6FF3A; }
.dark-hero .lead { max-width: 640px; margin: 18px auto 0; color: #8A97A8; font-size: 16px; }
.dark-hero .kicker { display: inline-block; font-size: 13px; letter-spacing: 3px; color: #2AD4D4; margin-bottom: 18px; }
.dark-feats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.dark-feat { background: #141b26; border: 1px solid #232d3d; border-radius: var(--radius); padding: 24px 18px; transition: transform .2s, border-color .2s; }
.dark-feat:hover { border-color: #3A4A61; transform: translateY(-3px); }
.dark-feat .ico { width: 40px; height: 40px; border-radius: var(--radius-s); background: rgba(198, 255, 58, .1); color: #C6FF3A; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 17px; }
.dark-feat h3 { font-size: 15px; color: #F2F6FB; margin-bottom: 8px; }
.dark-feat p { font-size: 13px; color: #8A97A8; }
.theme-dark .rich h3 { border-left-color: #C6FF3A; color: #F2F6FB; }
.theme-dark .rich ul li::before { background: #C6FF3A; }
.theme-dark .rich p, .theme-dark .rich li { color: #AAB6C6; }
.theme-dark .muted-note { background: #141b26; color: #8A97A8; }
.theme-dark .btn-green { background: #C6FF3A; color: #10151d; }
.theme-dark .btn-green:hover { background: #d4ff66; color: #10151d; }
.theme-dark .btn-dark-ghost { border-color: #2b3648; color: #E5ECF5; background: transparent; }
.theme-dark .btn-dark-ghost:hover { border-color: #2AD4D4; color: #2AD4D4; }
.dark-cta { background: #0f141d; border: 1px solid #232d3d; border-radius: var(--radius); padding: 44px 40px; text-align: center; }
.dark-cta h2 { color: #F2F6FB; font-size: 24px; font-weight: 500; margin-bottom: 10px; }
.dark-cta p { color: #8A97A8; margin-bottom: 26px; }
.theme-dark .site-footer { margin-top: 0; background: #0a0e14; border-top: 1px solid #1c2534; }

/* ---------- 表单 ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.contact-card { background: #fff; border: 1px solid #EBEFF5; border-radius: var(--radius); padding: 36px 32px; text-align: center; box-shadow: var(--shadow-card); }
.contact-card img { width: 190px; height: 190px; margin: 18px auto; }
.contact-card h3 { font-size: 18px; color: var(--ink); font-weight: 500; }
.contact-card p { font-size: 14px; color: var(--text); margin-top: 8px; }
.contact-info { margin-top: 20px; text-align: left; }
.contact-info .row { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); font-size: 14px; }
.contact-info .row span:first-child { color: var(--muted); flex-shrink: 0; }

.form-card { background: #fff; border: 1px solid #EBEFF5; border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow-card); }
.form-card h3 { font-size: 18px; color: var(--ink); font-weight: 500; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.form-group label i { color: var(--red); font-style: normal; margin-left: 2px; }
.form-control { width: 100%; padding: 10px 14px; border: 1px solid #C9D2DE; border-radius: var(--radius-s); font-size: 15px; font-family: var(--font); color: var(--ink); background: #fff; transition: border-color .15s; }
.form-control:focus { outline: none; border-color: var(--brand); }
textarea.form-control { min-height: 120px; resize: vertical; }
.code-row { display: flex; gap: 12px; align-items: center; }
.code-row img { height: 42px; cursor: pointer; }
.form-tip { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid #EBEFF5; border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow-card); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-size: 15px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--muted); font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 22px 18px; color: var(--text); font-size: 14.5px; }

/* ---------- 列表页 ---------- */
.list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.list-card { background: #fff; border: 1px solid #EBEFF5; border-radius: var(--radius); padding: 26px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-card); transition: box-shadow .2s, transform .2s; }
.list-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.list-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; flex-wrap: wrap; }
.list-meta .tag { padding: 1px 10px; background: var(--brand-soft); color: var(--brand); }
.list-card h3 { font-size: 17px; margin-bottom: 10px; font-weight: 500; }
.list-card h3 a { color: var(--ink); }
.list-card h3 a:hover { color: var(--brand); }
.list-card p { font-size: 14px; color: var(--text); flex: 1; margin-bottom: 16px; }
.list-card .links { display: flex; gap: 16px; font-size: 14px; flex-wrap: wrap; }
.list-card .links .ext { color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.list-card .links .ext:hover { color: var(--brand); }
.list-card .links svg { width: 14px; height: 14px; }

.news-list { max-width: 860px; margin: 0 auto; }
.news-item { display: flex; gap: 28px; padding: 24px 8px; border-bottom: 1px solid var(--line-2); }
.news-item:hover { background: var(--bg-soft); }
.news-date { flex-shrink: 0; text-align: center; width: 64px; }
.news-date .d { font-size: 24px; color: var(--ink); line-height: 1.2; font-weight: 400; }
.news-date .m { font-size: 12px; color: var(--muted); }
.news-body h3 { font-size: 16.5px; margin-bottom: 8px; font-weight: 500; }
.news-body h3 a { color: var(--ink); }
.news-body h3 a:hover { color: var(--brand); }
.news-body p { font-size: 14px; color: var(--text); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 15px; border: 1px solid var(--line); font-size: 14px; color: var(--text); background: #fff; border-radius: var(--radius-s); }
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination span.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.empty-tip { text-align: center; color: var(--muted); padding: 70px 0; font-size: 15px; }
.search-bar { max-width: 560px; margin: 0 auto 40px; display: flex; gap: 12px; }
.search-bar input { flex: 1; }

.pd-visual.photo-frame { padding: 20px; }
.pd-visual.photo-frame img { max-height: 320px; width: auto; max-width: 100%; border-radius: var(--radius); }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-strip img { width: 100%; height: 190px; object-fit: contain; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.photo-caption { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 12px; }

.rpa-caps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.rpa-cap { background: #fff; border: 1px solid #EBEFF5; border-radius: var(--radius); padding: 28px 30px 26px; box-shadow: var(--shadow-card); transition: box-shadow .2s, transform .2s, border-color .2s; }
.rpa-cap:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); border-color: #DCE4EF; }
.rpa-cap .cap-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.rpa-cap .cap-no { font-size: 14px; color: #B6C1D1; letter-spacing: 2px; }
.rpa-cap h3 { font-size: 18px; color: var(--ink); font-weight: 500; letter-spacing: 1px; }
.rpa-cap .cap-line { height: 1px; background: var(--line-2); margin-bottom: 16px; }
.rpa-cap ul li { font-size: 14px; color: var(--text); margin-bottom: 8px; padding-left: 16px; position: relative; }
.rpa-cap ul li::before { content: "·"; position: absolute; left: 2px; top: 0; color: #B6C1D1; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 34px; }
  .pd-hero h1 { font-size: 28px; }
  .dark-feats { grid-template-columns: repeat(3, 1fr); }
  .rpa-mod-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  .section { padding: 56px 0; }
  .hero { padding: 80px 0 72px; }
  .hero::after { font-size: 110px; bottom: -20px; }
  .hero h1 { font-size: 30px; }
  .chain-grid { grid-template-columns: 1fr; }
  .chain-step { border-left: none; border-top: 1px solid var(--line); padding: 16px 0 10px; }
  .chain-step:first-child { border-top: none; padding-top: 4px; }
  .chain-arrow { display: none; }
  .nav {
    position: fixed; top: 66px; left: 0; right: 0; bottom: 0; background: #fff;
    transform: translateX(100%); transition: transform .25s; overflow-y: auto; z-index: 99; padding: 20px 24px 40px;
  }
  .nav.open { transform: translateX(0); }
  .nav > ul { flex-direction: column; gap: 2px; }
  .nav > ul > li > a { padding: 13px 10px; font-size: 16px; border-bottom: 1px solid var(--line-2); }
  .subnav { position: static; transform: none; opacity: 1; visibility: visible; border: none; padding: 0 0 6px 12px; min-width: 0; box-shadow: none; }
  .header-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .prod-grid, .scene-grid, .feat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .oss-grid, .list-grid { grid-template-columns: 1fr; }
  .about-strip, .contact-grid, .pd-hero .container { grid-template-columns: 1fr; gap: 36px; }
  .dark-feats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-banner { padding: 44px 26px; }
  .pd-hero h1 { font-size: 26px; }
  .dark-hero h1 { font-size: 30px; }
  .float-rail { right: 14px; bottom: 90px; }
  .mainprod-grid { grid-template-columns: 1fr; }
  .mp-feats { grid-template-columns: 1fr; }
  .rpa-caps { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: 1fr; }
  .photo-strip img { height: auto; }
  .rpa-mod-items { grid-template-columns: 1fr; }
  .rpa-mod-item { border-left: none; border-top: 1px solid #33465F; }
  .rpa-mod-item:first-child { border-top: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 26px; }
  .sec-head h2 { font-size: 23px; }
  .steps { grid-template-columns: 1fr; }
  .dark-feats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; gap: 10px; }
  .news-date { display: flex; gap: 8px; width: auto; align-items: baseline; }
}

/* v9: imagery, readable content and stable responsive proportions */
.illustrated-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-art { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #EDF3FE; }
.card-copy { padding: 26px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.card-copy .more { margin-top: auto; align-self: flex-start; }
.software-visual { margin: 0 0 34px; display: grid; grid-template-columns: 1.3fr 1fr; background: #1B2A3E; border-radius: 8px; overflow: hidden; align-items: center; }
.software-visual img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.software-visual figcaption { color: #F2F6FB; padding: 32px; font-size: 21px; line-height: 1.8; letter-spacing: 1px; }
.software-visual figcaption span { display: inline-block; font-size: 13px; color: #B7C7E0; margin-top: 12px; letter-spacing: 0; }
.service-intro { display: grid; grid-template-columns: 1fr .9fr; gap: 52px; align-items: center; margin-bottom: 44px; }
.service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-intro .sec-head { margin: 0; }
.service-intro figure { margin: 0; }
.service-intro img { width: 100%; height: auto; aspect-ratio: 3 / 2; display: block; border-radius: 8px; }
.service-intro figcaption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }
.city-visual { margin: 0 0 48px; position: relative; border-radius: 8px; overflow: hidden; background: #1B2A3E; }
.city-visual img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; }
.city-visual figcaption { position: absolute; bottom: 14px; right: 20px; font-size: 12px; color: #D5E0F2; }
.detail-heading, .product-overview h2 { font-size: 23px; font-weight: 500; letter-spacing: 1px; color: var(--ink); margin-bottom: 20px; }
.product-overview { max-width: 800px; margin: 60px auto 0; padding-top: 32px; border-top: 1px solid var(--line); }
.product-note { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.product-note h3 { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.product-note p { font-size: 13px; color: var(--muted); }
.oss-project { padding: 24px; }
.oss-preview { display: block; margin-bottom: 24px; position: relative; overflow: hidden; border-radius: 6px; background: #EDF3FE; border: 1px solid #526079; }
.oss-preview img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: contain; }
.oss-preview span { position: absolute; right: 10px; bottom: 10px; background: #1B2A3E; color: #EDF3FE; font-size: 11px; padding: 4px 8px; border-radius: 4px; }
.repo-pending { font-size: 12px; color: #ADBBD0; }
.news-cover { display: block; flex: 0 0 180px; align-self: flex-start; overflow: hidden; border-radius: 6px; }
.news-cover img { width: 180px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.news-body { min-width: 0; flex: 1; }
.news-item { align-items: center; }
.cta-banner { position: relative; 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: 36px 36px; }
:focus-visible { outline: 2px solid #2954FF; outline-offset: 4px; }
.oss-card a:focus-visible, .cta-banner a:focus-visible { outline-color: #EDF3FE; }
@media (max-width: 860px) {
  .feat-grid.two { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-intro, .software-visual { grid-template-columns: 1fr; gap: 24px; }
  .software-visual { gap: 0; }
  .software-visual figcaption { padding: 24px; font-size: 18px; }
  .news-item { gap: 18px; }
  .news-cover { flex-basis: 140px; }
  .news-cover img { width: 140px; }
  .about-panel .row { flex-wrap: wrap; gap: 6px 14px; }
}
@media (max-width: 560px) {
  .news-item { align-items: stretch; padding: 22px 0; }
  .news-cover { flex-basis: auto; width: 100%; }
  .news-cover img { width: 100%; }
  .oss-project { padding: 18px; }
  .oss-head { flex-wrap: wrap; gap: 10px; }
  .oss-links { gap: 14px; }
  .oss-links > span { margin-left: 0 !important; }
  .card-copy { padding: 24px; }
  .city-visual { margin-bottom: 32px; }
  .city-visual figcaption { bottom: 8px; right: 12px; font-size: 11px; }
  .pd-actions, .hero-actions, .cta-actions { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* v10: navigation, conversion, project comparison and readable details */
.nav > ul > li > a { white-space: nowrap; padding-left: 12px; padding-right: 12px; }
.header-inner { gap: 24px; }
.hero-sub { max-width: 660px; }
.scene-no { color: var(--muted); }
.cta-banner .btn-outline-light { color: #fff; border-color: rgba(255,255,255,.7); }
.cta-banner .btn-outline-light:hover { background: rgba(255,255,255,.1); }
.service-intro .sec-head { text-align: left; max-width: none; }
.oss-project { display: grid; grid-template-columns: 280px minmax(0,1fr); align-items: center; gap: 24px; }
.oss-project .oss-copy { grid-column: 1 / -1; min-width: 0; }
.oss-project .oss-preview + .oss-copy { grid-column: auto; }
.oss-project .oss-preview { margin-bottom: 0; }
.oss-copy .oss-head { margin-bottom: 10px; }
.oss-copy > p { margin-bottom: 18px; }
.oss-copy .source-note { color: #B0BED3; font-size: 12px; margin-top: -6px; margin-bottom: 16px; }
.home-oss-grid > .oss-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.article-title { font-size: clamp(24px,3vw,32px); font-weight: 500; color: var(--ink); line-height: 1.5; letter-spacing: .5px; overflow-wrap: anywhere; }
.field-help { color: var(--muted); font-size: 12px; margin: -6px 0 18px; }
.form-control::placeholder { color: #66758A; opacity: 1; }
[id] { scroll-margin-top: 86px; }
.float-rail { bottom: 24px; }
body:has(.contact-grid) .float-rail { display: none; }
.qr-close { min-width: 40px; min-height: 40px; }
@media (min-width: 861px) and (max-width: 1199px) {
 .header-inner { gap: 18px; }
 .nav > ul { gap: 0; }
 .nav > ul > li > a { padding-left: 9px; padding-right: 9px; font-size: 14px; }
}

/* v11: shared component finish for the corporate site */
.btn { font-family: var(--font); font-weight: 500; letter-spacing: .5px; min-height: 44px; }
.btn-sm { min-height: 38px; padding: 8px 20px; }
.btn-lg { min-height: 48px; }
.btn-ghost { background: #fff; border-color: var(--line); }
.btn-ghost:hover { background: var(--brand-soft); }
.mainprod-card, .scene-card, .feat-card, .rpa-cap, .contact-card, .form-card, .list-card { border-color: var(--line); }
.mainprod-card:hover, .scene-card:hover, .list-card:hover { transform: translateY(-2px); }
.feat-card:not(:has(a)), .rpa-cap, .step, .about-panel, .faq-item { box-shadow: none; }
.feat-card:not(:has(a)):hover, .rpa-cap:hover { transform: none; box-shadow: none; border-color: var(--line); }
.feat-card h3, .scene-card h3 { font-size: 18px; line-height: 1.5; letter-spacing: .3px; }
.feat-card p, .scene-card p { line-height: 1.85; }
.feat-card .no, .scene-no { font-size: 12px; letter-spacing: 1px; margin-bottom: 12px; }
.mainprod-card .mp-visual { padding: 20px 20px 0; background: var(--bg-soft); }
.mainprod-card .mp-visual img.photo { box-shadow: none; border: none; }
.mainprod-card .mp-title { flex-wrap: wrap; align-items: center; }
.mp-tag { border-radius: 4px; letter-spacing: .3px; padding: 3px 9px; }
.mp-body > .btn { align-self: flex-start; margin-top: auto; }
.card-copy { padding: 26px 28px 28px; }
.card-copy .more { display: inline-flex; align-items: center; min-height: 40px; font-weight: 500; }
.rpa-cap .cap-no { color: var(--muted); font-size: 12px; }
.rpa-cap h3 { letter-spacing: .3px; }
.step { padding: 24px 18px; border-color: var(--line); }
.step h4 { font-size: 16px; line-height: 1.5; margin-top: 2px; margin-bottom: 6px; }
.step::before { width: 32px; height: 32px; font-size: 12px; border-color: var(--line); color: var(--brand); background: var(--brand-soft); }
.faq-item { margin-bottom: 12px; }
.faq-item summary { min-height: 60px; padding: 18px 24px; font-weight: 500; }
.faq-item summary:hover { background: var(--bg-soft); }
.faq-item[open] { border-color: #CAD7EC; }
.faq-item[open] summary { color: var(--brand); }
.faq-item .faq-body { padding: 0 24px 22px; line-height: 1.85; }
.cta-banner { box-shadow: 0 8px 24px rgba(41,84,255,.12); }
.page-hero { padding: 40px 0 36px; }
.rich > h3:first-child { margin-top: 0; }
.news-item { border-radius: 6px; transition: background .18s; }
.news-body h3 { font-size: 18px; line-height: 1.5; }
.news-date .d { font-size: 26px; }
.float-btn { box-shadow: 0 2px 8px rgba(31,45,61,.06); }
.oss-directory { grid-template-columns: 1fr; gap: 20px; max-width: 1000px; margin: 0 auto; }
.oss-directory .oss-project { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-card); padding: 28px; gap: 28px; }
.oss-directory .oss-project:hover { transform: none; box-shadow: var(--shadow-card-hover); }
.oss-directory .oss-head { margin-bottom: 6px; }
.oss-directory .oss-head h3 { font-size: 20px; line-height: 1.5; letter-spacing: .3px; }
.oss-directory .oss-head a { color: var(--ink); }
.oss-directory .oss-head a:hover { color: var(--brand); }
.oss-directory .oss-copy > p { color: var(--text); }
.oss-directory .oss-copy .oss-meta { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.oss-directory .oss-copy .source-note { color: var(--muted); }
.oss-directory .oss-preview { border-color: var(--line); background: var(--bg-soft); }
.oss-directory .oss-preview span { background: rgba(27,42,62,.88); }
.oss-directory .oss-links { align-items: center; gap: 10px; }
.oss-directory .oss-links a { min-height: 38px; border-color: var(--line); color: var(--brand); padding: 7px 14px; font-weight: 500; }
.oss-directory .oss-links a:hover { background: var(--brand-soft); border-color: #CAD7EC; }
.oss-directory .repo-pending { color: var(--muted); }
.oss-date { color: var(--muted); font-size: 12px; margin-left: auto; }
.oss-directory a:focus-visible { outline-color: var(--brand); }
.home-oss-grid .oss-card { border: 1px solid #34465E; box-shadow: none; }
.home-oss-grid .oss-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(27,42,62,.1); }
.oss-license { border-radius: 4px; }
@media (max-width: 860px) {
 .oss-directory .oss-project { padding: 24px; gap: 22px; }
 .mp-body > .btn { align-self: stretch; }
}
@media (max-width: 560px) {
 .oss-directory .oss-project { padding: 20px; }
 .oss-directory .oss-head h3 { font-size: 18px; }
 .oss-directory .oss-links { gap: 10px; }
 .oss-date { width: 100%; margin-left: 0; margin-top: 4px; }
 .card-copy { padding: 24px; }
 .mainprod-card .mp-visual { padding: 16px 16px 0; }
 .mainprod-card .mp-body { padding: 24px; }
 .mainprod-card .mp-title h3 { font-size: 21px; }
 .page-hero { padding: 32px 0 28px; }
 .faq-item summary { padding: 16px 20px; }
 .faq-item .faq-body { padding: 0 20px 20px; }
 .news-body h3 { font-size: 17px; }
}
@media (min-width: 861px) and (max-width: 1024px) { .header-cta { display: none; } }
@media (max-width: 860px) {
 .oss-project { grid-template-columns: 1fr; gap: 20px; }
 .oss-project .oss-copy, .oss-project .oss-preview + .oss-copy { grid-column: auto; }
 .float-rail { bottom: 20px; right: 12px; }
 .nav-toggle { min-width: 44px; min-height: 44px; }
 .pd-hero { padding-top: 48px; padding-bottom: 48px; }
}
@media (max-width: 560px) {
 .hero { padding-top: 60px; padding-bottom: 56px; }
 .hero-sub { font-size: 15px; line-height: 1.8; }
 .pd-hero .container { gap: 28px; }
 .contact-card, .form-card { padding: 28px 22px; }
 .site-footer { margin-top: 0; }
 .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 40px; }
 .footer-grid .f-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
 .footer-grid h4 { margin-bottom: 12px; }
}

/* v12: sourced interface images and explicitly labelled illustrations */
.interface-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.interface-card { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.interface-art { height: 420px; padding: 18px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; }
.interface-art img { height: auto; width: auto; max-height: 100%; max-width: 100%; object-fit: contain; }
.interface-card figcaption { padding: 22px 24px; }
.interface-card h3 { color: var(--ink); font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.interface-card p { font-size: 14px; margin-bottom: 12px; }
.interface-card figcaption span { display: block; color: var(--muted); font-size: 12px; }
.interface-card .image-zoom { display: inline-flex; margin-top: 12px; font-size: 13px; min-height: 30px; align-items: center; }
.image-disclosure { font-size: 12px; color: var(--muted); margin: 16px 0 32px; line-height: 1.8; }
.hardware-shot figcaption { font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; }
.workflow-showcase { display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: center; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.workflow-showcase figure { min-width: 0; }
.workflow-showcase figure img { width: 100%; height: auto; border-radius: 8px; }
.workflow-showcase figcaption { font-size: 12px; color: var(--muted); margin-top: 10px; }
.workflow-showcase h3 { font-size: 23px; color: var(--ink); line-height: 1.5; font-weight: 500; margin-bottom: 12px; }
.workflow-showcase p { font-size: 14px; margin-bottom: 18px; }
.workflow-showcase ol { display: grid; gap: 14px; }
.workflow-showcase li { border-top: 1px solid var(--line); padding-top: 12px; }
.workflow-showcase li strong { color: var(--ink); font-size: 15px; font-weight: 500; display: block; }
.workflow-showcase li span { font-size: 13px; color: var(--muted); }
.rich .article-visual { margin: 28px 0 34px; }
.rich .article-visual img { width: 100%; height: auto; border: 1px solid var(--line); margin: 0; }
.article-visual figcaption { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.8; }
@media (max-width: 1024px) { .interface-art { height: 360px; padding: 14px; } }
@media (max-width: 860px) {
 .interface-gallery, .workflow-showcase { grid-template-columns: 1fr; }
 .interface-art { height: 480px; padding: 22px; }
 .workflow-showcase { gap: 26px; }
 .hardware-shot img { aspect-ratio: 3 / 2; object-fit: contain; }
}
@media (max-width: 560px) {
 .interface-art { height: 440px; padding: 16px; }
 .interface-card figcaption { padding: 20px 22px; }
 .workflow-showcase h3 { font-size: 21px; }
}
