/* KartCamp RMS 官网样式
   浅色“纸面”区 = 赛事办公室里的事（报名、场次、处罚、成绩）
   深色“沥青”区 = 赛道上实时发生的事（计时、LiveTiming、直播、车载）
   黄色只用于痛点区（黄旗），格子旗只用于联系区（收尾）。 */

:root {
  --asphalt: #17191c;
  --asphalt-2: #202327;
  --asphalt-line: #33373d;
  --paper: #f1f2ee;
  --white: #ffffff;
  --ink: #121416;
  --ink-2: #50565d;
  --line: #d6d8d1;
  --fog: #a3a9b1;
  --yellow: #ffd400;
  --red: #e10600;
  --purple: #b566ff;
  --green: #22c46e;

  --display: "Saira Condensed", "DIN Condensed", "Arial Narrow", system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei",
    "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --nav-h: 64px;
}
html[lang="ja"] {
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI",
    "Yu Gothic", "Noto Sans CJK JP", Meiryo, "Segoe UI", sans-serif;
}
html[lang="en"] {
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--asphalt);
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.band--yellow :focus-visible { outline-color: var(--ink); }

h1, h2, h3 { font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.3vw, 4.75rem); line-height: 1.1; }
html[lang="ja"] h1 { font-size: clamp(2rem, 4.1vw, 3.6rem); line-height: 1.2; }
h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 {
  font-family: var(--display);
  letter-spacing: 0;
  line-height: 1.02;
}
html[lang="en"] h1 { font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 800; }
html[lang="en"] h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
html[lang="en"] h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.08; }

.num { font-family: var(--display); font-variant-numeric: tabular-nums; letter-spacing: 0; }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }

/* ---------- 色带 ---------- */
.band { padding-block: clamp(72px, 9vw, 136px); }
.band--asphalt { background: var(--asphalt); color: #f3f3ef; }
.band--paper { background: var(--paper); }
.band--white { background: var(--white); }
.band--yellow { background: var(--yellow); }

.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 34em; }
.band--yellow .lede { color: var(--ink); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 4px;
  font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #ff1f17; }
.btn--line { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--line:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- 导航 ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); background: rgba(23, 25, 28, .92); backdrop-filter: blur(10px); color: #fff; border-bottom: 1px solid var(--asphalt-line); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: .06em; white-space: nowrap; }
.brand__mark { display: grid; place-items: center; width: 30px; height: 30px; background: var(--red); border-radius: 3px; font-size: .95rem; letter-spacing: 0; }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: .94rem; }
.nav__links > a:not(.btn) { color: #cfd3d8; padding-block: 6px; white-space: nowrap; }
.nav__links > a:not(.btn):hover { color: #fff; }
.nav__links .btn { min-height: 38px; padding: 0 18px; font-size: .92rem; }
.langs { display: flex; gap: 2px; font-size: .86rem; }
.langs a { padding: 4px 8px; border-radius: 3px; color: var(--fog); }
.langs a:hover { color: #fff; }
.langs a[aria-current] { color: #fff; background: var(--asphalt-line); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; }
.nav__toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 88px)); padding-bottom: 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(24px, 1fr) minmax(0, 600px) minmax(0, 640px) minmax(24px, 1fr); column-gap: 0; align-items: center; }
.hero__text { grid-column: 2; padding-right: 40px; padding-block: 16px 40px; }
.hero__live { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--fog); margin-bottom: 28px; }
.hero__live b { color: #fff; font-family: var(--display); font-size: 1.2rem; font-weight: 700; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 span { display: block; }
.hero__sub { margin-top: 28px; font-size: 1.15rem; color: #c3c8ce; max-width: 30em; }
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__shot { grid-column: 3 / 5; align-self: stretch; position: relative; min-height: clamp(340px, 44vw, 620px); }
.hero__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; border-radius: 6px 0 0 6px; }
.hero__cap { position: absolute; right: 0; bottom: 0; z-index: 1; max-width: 80%; padding: 12px 18px 12px 16px; background: rgba(23, 25, 28, .88); border-left: 4px solid var(--yellow); font-size: .9rem; line-height: 1.45; color: #dfe2e6; border-radius: 4px 0 0 0; }
.hero__cap b { display: block; color: #fff; font-size: 1.02rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--asphalt-line); }
.stats > div { padding: 26px 24px 30px 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid var(--asphalt-line); }
.stats dt { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stats dt small { font-size: .5em; font-weight: 600; margin-left: 2px; color: var(--fog); }
.stats dd { margin: 8px 0 0; color: var(--fog); font-size: .95rem; }

/* ---------- 痛点（黄旗） ---------- */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; }
.pains li { border-top: 3px solid var(--ink); padding-top: 18px; }
.pains h3 { font-size: 1.45rem; margin-bottom: 8px; }
html[lang="en"] .pains h3 { font-size: 1.8rem; }
.pains p { font-size: 1rem; line-height: 1.6; }

/* ---------- 核心功能（规格表） ---------- */
.spec { border-top: 2px solid var(--ink); }
.spec__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 16px 40px; padding-block: 26px; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec__row h3 { font-size: 1.4rem; }
html[lang="en"] .spec__row h3 { font-size: 1.75rem; }
.spec__row ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 32px; }
.spec__row li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.spec__row li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--red); }

/* ---------- 进阶功能 ---------- */
.tag { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; padding: 2px 10px; background: var(--yellow); color: var(--ink); border-radius: 3px; margin-bottom: 18px; }
.loops { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; align-items: center; padding-bottom: clamp(48px, 6vw, 80px); margin-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--asphalt-line); }
.loops > div > p { margin-top: 16px; color: var(--fog); }
.loops__points { margin-top: 24px; display: grid; gap: 12px; }
.loops__points li { color: var(--fog); padding-left: 16px; border-left: 2px solid var(--asphalt-line); line-height: 1.55; }
.loops__points b { color: #fff; display: block; }
.sectors { margin-top: 32px; display: grid; gap: 10px; max-width: 460px; }
.sectors li { display: grid; grid-template-columns: 28px 1fr 64px; gap: 12px; align-items: center; font-family: var(--display); font-weight: 600; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.sectors i { display: block; height: 8px; background: var(--asphalt-line); border-radius: 1px; position: relative; overflow: hidden; }
.sectors i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--c); }
.sectors em { font-style: normal; color: var(--c); text-align: right; }
.track svg { width: 100%; height: auto; }
.track text { font-family: var(--display); font-weight: 700; }

.adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv li { background: var(--asphalt-2); border: 1px solid var(--asphalt-line); border-radius: 6px; padding: 26px 26px 24px; display: flex; flex-direction: column; }
.adv h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
html[lang="en"] .adv h4 { font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }
.adv p { color: var(--fog); font-size: .98rem; line-height: 1.6; margin-bottom: 20px; }
.adv .demo { margin-top: auto; display: flex; align-items: center; gap: 8px; min-height: 32px; font-family: var(--display); font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.pill { padding: 1px 10px; border-radius: 3px; color: #fff; letter-spacing: .03em; }
.pill--sans { font-family: var(--sans); font-size: .85rem; font-weight: 600; padding: 4px 10px; }
.demo .faces { display: flex; }
.demo .faces span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--asphalt-2); margin-left: -8px; display: grid; place-items: center; font-size: .8rem; }
.demo .faces span:first-child { margin-left: 0; }
.demo .bars { display: flex; align-items: flex-end; gap: 4px; height: 32px; }
.demo .bars span { width: 9px; background: #5d646d; }
.more { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 32px; margin-top: 48px; }
.more li { border-top: 1px solid var(--asphalt-line); padding-top: 16px; }
.more b { display: block; font-size: 1.05rem; }
.more span { color: var(--fog); font-size: .95rem; line-height: 1.55; display: block; margin-top: 4px; }

/* ---------- 功能详解 ----------
   规则：每个功能一块卡片；截图一律放进同色衬底（.well），主图 .main 从左上角对齐并向右下出血，
   最多再加一个固定在右下角的点缀 .acc（手机 / 纸质文件 / 实拍）。 */
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tile { grid-column: span 12; display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; }
.tile--5 { grid-column: span 5; }
.tile--7 { grid-column: span 7; }
.band--asphalt .tile { background: var(--asphalt-2); border: 1px solid var(--asphalt-line); }
.tile__text { padding: 36px 40px 32px; }
.tile__text h3 { font-size: 1.55rem; }
html[lang="en"] .tile__text h3 { font-size: 2rem; }
.tile__text p { margin-top: 10px; color: var(--ink-2); font-size: 1rem; line-height: 1.65; max-width: 36em; }
.band--asphalt .tile__text p { color: var(--fog); }
.tile__text .ticks { margin-top: 18px; font-size: .97rem; }
.tile__text--row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 56px; align-items: end; }
.tile__text--row .ticks { margin-top: 0; }
.tile--side { flex-direction: row; }
.tile--side .tile__text { flex: 0 0 34%; align-self: center; }

.ticks { display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 18px; line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--red); }
.band--asphalt .ticks li { color: #dfe2e6; }
.ticks--2 { grid-template-columns: 1fr 1fr; column-gap: 28px; }

.well { position: relative; flex: 1 1 auto; min-height: var(--h, 380px); background: #e2e4dc; overflow: hidden; }
.band--asphalt .well { background: #0d0e10; }
.wells { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1px; flex: 1 1 auto; }
.zoom { display: block; cursor: zoom-in; }
.zoom img { width: 100%; }
.well .main { position: absolute; left: 40px; top: 40px; width: var(--w, calc(100% - 80px)); }
.well .acc { position: absolute; right: var(--r, 36px); bottom: var(--b, -56px); width: var(--aw, 27%); transform: rotate(var(--rot, 0deg)); z-index: 1; }
.well .photo.acc { --rot: 3deg; }

.shot { border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid rgba(18, 20, 22, .12); box-shadow: 0 1px 2px rgba(18, 20, 22, .06), 0 20px 40px -18px rgba(18, 20, 22, .28); }
.band--asphalt .shot { background: #0c0d0f; border-color: #3d4249; box-shadow: 0 24px 48px -20px #000; }
.sheet { background: #fff; border-radius: 2px; overflow: hidden; box-shadow: 0 1px 1px rgba(18, 20, 22, .12), 0 18px 36px -14px rgba(18, 20, 22, .4); }
.photo { border-radius: 8px; overflow: hidden; box-shadow: 0 22px 44px -18px rgba(18, 20, 22, .5); }
.phone { border-radius: 30px; padding: 6px; background: #0c0d0f; border: 1px solid #3d4249; box-shadow: 0 26px 50px -20px rgba(18, 20, 22, .55); }
.phone .zoom { border-radius: 24px; overflow: hidden; }
.phone--land { border-radius: 26px; padding: 8px; }
.phone--land .zoom { border-radius: 19px; }

/* 换人：上方是电脑端换人台的上半部分，左下「1 秒」，右下两台手机 */
.well--swap .main img { aspect-ratio: 2400 / 430; object-fit: cover; object-position: left top; }
.well--swap .acc { --aw: 22%; --b: -60px; --r: 40px; }
.well--swap .acc--2 { --r: calc(40px + 22% + 20px); }
.well--swap .stat { position: absolute; left: 40px; bottom: 36px; display: grid; gap: 4px; color: var(--ink-2); font-size: 1.05rem; }
.big { font-family: var(--display); font-weight: 800; font-size: clamp(4.5rem, 8vw, 7rem); line-height: .9; color: var(--red); }
.big small { font-size: .32em; font-family: var(--sans); font-weight: 700; margin-left: 6px; }
html[lang="en"] .big small { font-family: var(--display); }
/* LiveTiming 抽屉：只取右侧的逐圈圈速面板 */
.well--drawer .main img { aspect-ratio: 525 / 663; object-fit: cover; object-position: right top; }
/* 控制中心：整屏完整露出 */
.well--wide { min-height: 0; aspect-ratio: 1240 / 600; }
.well--wide .main { left: 48px; top: 48px; width: calc(100% - 96px); }
/* 直播画面：照片铺满衬底 */
.well--photo .zoom { position: absolute; inset: 0; }
.well--photo img { height: 100%; object-fit: cover; object-position: left center; }
/* 车载仪表：横屏手机居中 */
.well--center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 36px 40px; }
.well__note { color: var(--yellow); font-size: .95rem; font-weight: 600; text-align: center; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; font-weight: 600; font-size: .98rem; }
.chips i { width: 12px; height: 12px; border-radius: 2px; }
.types { margin-top: 20px; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 10px; }
.types li { padding: 7px 14px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 3px; font-weight: 600; font-size: .97rem; white-space: nowrap; }
.mini { display: flex; gap: 40px; margin-top: 24px; }
.mini dt { font-family: var(--display); font-weight: 700; font-size: 2.3rem; line-height: 1; color: #fff; }
.mini dd { margin: 6px 0 0; font-size: .9rem; color: var(--fog); }

/* ---------- 流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.flow li { counter-increment: step; position: relative; padding: 28px 28px 0 0; border-top: 2px solid var(--ink); }
.flow li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-size: 4.2rem; line-height: 1; color: var(--red); margin-bottom: 16px; }
.flow li::after { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--ink); }
.flow h3 { font-size: 1.35rem; margin-bottom: 8px; }
html[lang="en"] .flow h3 { font-size: 1.7rem; }
.flow p { color: var(--ink-2); font-size: 1rem; line-height: 1.6; }

/* ---------- 技术优势 ---------- */
.tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 40px; }
.tech li { border-top: 1px solid var(--ink); padding-top: 18px; }
.tech h3 { font-size: 1.3rem; margin-bottom: 8px; }
html[lang="en"] .tech h3 { font-size: 1.65rem; }
.tech p { color: var(--ink-2); font-size: 1rem; line-height: 1.6; }

/* ---------- 合作伙伴 ---------- */
.sub { font-size: 1rem; font-weight: 600; color: var(--ink-2); margin-bottom: 16px; }
.pt { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); border-left: 1px solid var(--line); margin-bottom: 56px; }
.pt li, .pt a { display: block; }
.pt li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pt .cell { padding: 22px 22px 24px; height: 100%; }
.pt a.cell:hover { background: var(--paper); }
.pt b { display: block; font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1.1; }
.pt b.cjk { font-family: var(--sans); font-size: 1.5rem; line-height: 1.45; }
.pt span { display: block; margin-top: 6px; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.latest { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: baseline; padding: 24px 28px; background: var(--asphalt); color: #fff; border-radius: 6px; border-left: 6px solid var(--yellow); }
.latest .k { display: inline-flex; align-items: center; gap: 8px; color: var(--fog); font-size: .92rem; white-space: nowrap; }
.latest b { font-size: 1.25rem; }
.latest p { grid-column: 2; color: var(--fog); font-size: .98rem; }

/* ---------- 联系 ---------- */
.finish { height: 32px; background-color: #fff; background-image: conic-gradient(var(--ink) 25%, transparent 0 50%, var(--ink) 0 75%, transparent 0); background-size: 32px 32px; }
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 72px; align-items: start; }
.contact__text p { margin-top: 20px; color: var(--fog); max-width: 28em; }
.contact__text .note { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; color: #dfe2e6; font-size: .98rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: .92rem; color: #cfd3d8; margin-bottom: 7px; }
.form label i { color: var(--yellow); font-style: normal; }
.form input, .form select, .form textarea { width: 100%; background: var(--asphalt-2); border: 1px solid #4a5058; border-radius: 4px; padding: 13px 14px; color: #fff; font-size: 1rem; }
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a3a9b1' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px; }
.form textarea { resize: vertical; min-height: 120px; }
.form ::placeholder { color: #7b828b; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); }
.form .btn { width: 100%; }
.form__msg { padding: 14px 16px; border-radius: 4px; font-size: .98rem; }
.form__msg--ok { background: rgba(34, 196, 110, .14); border: 1px solid var(--green); color: #b9f3d3; }
.form__msg--err { background: rgba(225, 6, 0, .16); border: 1px solid var(--red); color: #ffc9c6; }
[hidden] { display: none !important; }

.foot { background: var(--asphalt); color: var(--fog); border-top: 1px solid var(--asphalt-line); padding-block: 28px; font-size: .9rem; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.foot .brand { color: #fff; font-size: 1.1rem; }
.foot .brand__mark { width: 24px; height: 24px; font-size: .8rem; }

/* ---------- 图片放大 ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 11, 12, .9); }
.lightbox img { max-width: 96vw; max-height: 94vh; width: auto; height: auto; border-radius: 4px; cursor: zoom-out; }
.lightbox button { position: fixed; top: 14px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #5d646d; background: var(--asphalt); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 18px; }
  .hero__text { padding-right: 28px; }
  .adv { grid-template-columns: repeat(2, 1fr); }
  .more { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav__toggle { display: block; }
  .nav__links { position: absolute; top: var(--nav-h); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; background: var(--asphalt); border-bottom: 1px solid var(--asphalt-line); }
  .nav__links.is-open { display: flex; }
  .nav__links > a:not(.btn) { padding-block: 13px; border-bottom: 1px solid var(--asphalt-line); font-size: 1rem; }
  .nav__links .btn { margin-top: 18px; min-height: 48px; }
  .langs { margin-top: 16px; }
  .langs a { padding: 8px 14px; }

  .head, .loops, .contact, .tile__text--row, .wells { grid-template-columns: minmax(0, 1fr); }
  .tile--5, .tile--7 { grid-column: span 12; }
  .tile--side { flex-direction: column; }
  .tile--side .tile__text { flex: none; align-self: stretch; }
  .hero__grid { grid-template-columns: 24px minmax(0, 1fr) 24px; }
  .hero__text { grid-column: 2; padding-right: 0; }
  .hero__shot { grid-column: 2 / 4; min-height: 0; aspect-ratio: 16 / 10; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(n + 3) { border-top: 1px solid var(--asphalt-line); }
  .pains { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .spec__row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .flow, .tech { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .pt { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .hero__grid { grid-template-columns: 20px minmax(0, 1fr) 20px; }
  .pains, .adv, .more, .flow, .tech, .form, .ticks--2 { grid-template-columns: minmax(0, 1fr); }
  .spec__row ul { grid-template-columns: minmax(0, 1fr); }
  .hero__cap { font-size: .8rem; padding: 9px 12px; }
  .hero__cap b { font-size: .9rem; }
  .mini { gap: 28px; }
  .tiles { gap: 14px; }
  .tile__text { padding: 26px 22px 24px; }
  .well { min-height: var(--hm, 280px); }
  .well .main { left: 20px; top: 20px; width: var(--wm, calc(100% - 40px)); }
  .well--wide { aspect-ratio: auto; }
  .well .acc { bottom: calc(var(--b, -56px) * .35); width: calc(var(--aw, 27%) * 1.15); }
  .well--swap .acc { --aw: 27%; --r: 16px; --b: -70px; }
  .well--swap .acc--2 { --r: calc(16px + 27% + 10px); }
  .well--swap .stat { left: 20px; bottom: 20px; font-size: .9rem; }
  .well--center { padding: 24px 20px; }
  .types { grid-template-columns: 1fr 1fr; }
  .latest { grid-template-columns: minmax(0, 1fr); }
  .latest p { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
}
