:root {
  --navy: #0b1f33;
  --navy-soft: #122c47;
  --teal: #0e7490;
  --teal-light: #06b6d4;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }

/* header */
header.site {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: .2px; }
.mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  color: #fff; display: grid; place-items: center; font-size: 15px;
}
nav.main { display: flex; gap: 22px; font-size: 14px; color: #475569; }
nav.main a:hover, nav.main a.on { color: var(--teal); }
nav.main a.on { font-weight: 600; }
.spacer { flex: 1; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { border: 0; background: #fff; padding: 6px 13px; font-size: 12.5px; cursor: pointer; color: #475569; }
.lang button.on { background: var(--navy); color: #fff; }

/* hero / lead story */
.hero-news { padding: 34px 0 10px; }
.kicker { font-size: 12.5px; letter-spacing: .8px; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.lead {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px;
  align-items: center; padding: 26px 0 30px;
  border-bottom: 1px solid var(--line);
}
.lead-cover { border-radius: 14px; overflow: hidden; background: #e2e8f0; aspect-ratio: 16/9; }
.lead-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lead-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.lead h1 {
  font-size: clamp(22px, 2.9vw, 34px); line-height: 1.28; margin: 0 0 14px; letter-spacing: -.4px;
}
.lead p { margin: 0 0 16px; color: #334155; font-size: 15px; }
.lead .more-link { color: var(--teal); font-weight: 600; font-size: 14px; }
.lead .more-link:hover { text-decoration: underline; }

/* list */
.section { padding: 40px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section-head h2 { font-size: 20px; margin: 0; letter-spacing: -.2px; }
.section-head a { font-size: 13px; color: var(--teal); }
.rows { display: flex; flex-direction: column; }
.row {
  display: grid; grid-template-columns: 210px 1fr; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.row:hover h3 { color: var(--teal); }
.row-cover { border-radius: 10px; overflow: hidden; background: #e2e8f0; aspect-ratio: 16/10; }
.row-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.row-date { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.row h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.45; transition: color .15s; }
.row p { margin: 0; font-size: 13.8px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tag { display: inline-block; font-size: 11.5px; color: var(--teal); background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 6px; padding: 2px 7px; margin-right: 6px; }
.empty { color: var(--muted); font-size: 14px; padding: 26px 0; }
.loadmore { text-align: center; margin-top: 26px; }
.loadmore button {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 22px; font-size: 13.5px; cursor: pointer; color: #334155;
}
.loadmore button:hover { border-color: #93c5fd; color: var(--teal); }

/* tool banner */
.tool-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: #fff; border-radius: 16px; padding: 30px 32px; margin: 10px 0 46px;
  display: flex; gap: 26px; align-items: center; flex-wrap: wrap;
}
.tool-band h3 { margin: 0 0 8px; font-size: 19px; }
.tool-band p { margin: 0; color: #cbd5e1; font-size: 14px; max-width: 620px; }
.tool-band .btns { display: flex; gap: 10px; margin-left: auto; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px;
  border-radius: 10px; font-size: 14px; font-weight: 600; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: #fff; color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #0b5f78; }

/* article */
.article { max-width: 820px; margin: 0 auto; padding: 36px 0 20px; }
.article .back { font-size: 13px; color: var(--teal); }
.article h1 { font-size: clamp(24px, 3.2vw, 36px); line-height: 1.3; margin: 14px 0 12px; letter-spacing: -.5px; }
.article .meta { font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.article .cover { border-radius: 14px; overflow: hidden; margin-bottom: 26px; background: #e2e8f0; }
.article .cover img { width: 100%; display: block; }
.article .body p { margin: 0 0 18px; font-size: 16px; color: #1e293b; line-height: 1.9; }
.article .body p:first-letter { }

/* tool page */
.page-hero {
  background: radial-gradient(900px 420px at 10% -20%, rgba(6,182,212,.25), transparent 60%), linear-gradient(180deg, var(--navy), var(--navy-soft));
  color: #fff; padding: 66px 0 72px;
}
.page-hero h1 { font-size: clamp(26px, 3.6vw, 44px); margin: 10px 0 14px; letter-spacing: -.6px; }
.page-hero p { color: #cbd5e1; max-width: 700px; margin: 0 0 26px; }
.intro-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 34px; align-items: start; }
.intro-copy p { margin: 0 0 14px; font-size: 15px; color: #334155; }
.bullets { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.bullets li { position: relative; padding-left: 24px; font-size: 14.2px; color: #334155; }
.bullets li::before {
  content: ""; position: absolute; left: 4px; top: 9px; width: 9px; height: 9px; border-radius: 3px;
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
}
.shot { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.shot img { width: 100%; display: block; }
.shot figcaption { padding: 10px 14px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; }
.shots .wide { grid-column: 1 / -1; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 36px; }
.feature { border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.feature .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #ecfeff; color: var(--teal); font-size: 18px; margin-bottom: 12px; }
.feature h3 { margin: 0 0 6px; font-size: 15px; }
.feature p { margin: 0; font-size: 13.4px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.step { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: #fff; }
.step .num { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 700; margin-bottom: 10px; }
.step h3 { margin: 0 0 6px; font-size: 14.5px; }
.step p { margin: 0; font-size: 13.2px; color: var(--muted); }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.dl-card { border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.dl-card .top { display: flex; justify-content: space-between; align-items: center; }
.dl-card h3 { margin: 0; font-size: 15px; }
.ver { font-size: 12px; color: var(--teal); background: #ecfeff; border-radius: 999px; padding: 3px 9px; }
.meta { font-size: 12.5px; color: var(--muted); }
.dl-progress { height: 6px; border-radius: 999px; background: #e2e8f0; overflow: hidden; display: none; }
.dl-progress.on { display: block; }
.dl-progress > i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, #0ea5e9, #22d3ee); transition: width .25s; }
.dl-note { font-size: 12px; color: var(--muted); }

footer.site { background: var(--navy); color: #94a3b8; padding: 32px 0; font-size: 13px; margin-top: 40px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .lead { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  nav.main { display: none; }
  .row { grid-template-columns: 132px 1fr; gap: 14px; }
  .row-cover { aspect-ratio: 1/1; }
  .row h3 { font-size: 15px; }
  .row p { display: none; }
  .tool-band { padding: 22px; }
  .tool-band .btns { margin-left: 0; }
}
