/* 仟略浏览器官网。颜色取自品牌图标：墨蓝字、深青主色、浅青信号色。 */
:root {
  --ink: #14212b;
  --ink-2: #44535e;
  --ink-3: #6b7a85;
  --teal-deep: #0b4f63;
  --teal: #0e7490;
  --teal-bright: #138aa6;
  --signal: #8fe3ee;
  --paper: #f4f7f8;
  --card: #ffffff;
  --line: #d6e0e4;
  --line-soft: #e6edf0;
  --warn: #b45309;
  --ok: #15803d;
  --radius-window: 12px;
  --radius-control: 8px;
  --wrap: 1120px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.3; margin: 0; letter-spacing: 0; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--card); padding: 8px 12px; }

/* 顶栏 */
.top { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 6px 12px; border-radius: var(--radius-control); font-size: 15px; }
.nav a:hover { background: var(--paper); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--teal-deep); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: var(--radius-control);
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--card); color: var(--ink); }
.btn-large { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn[aria-disabled="true"] { background: var(--line-soft); color: var(--ink-3); cursor: not-allowed; }

/* 首屏 */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.nowrap { white-space: nowrap; }
.hero h1 { font-size: clamp(30px, 4.4vw, 54px); font-weight: 800; line-height: 1.18; }
.hero .lede { margin-top: 24px; font-size: 18px; color: var(--ink-2); max-width: 30em; }
.hero .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .fine { margin-top: 16px; font-size: 14px; color: var(--ink-3); }

/* 首屏右侧：一店一窗。每个窗口是一家店铺，标题栏写店铺名，底部写它自己的出口与时区 */
.stores { position: relative; height: 420px; }
.win {
  position: absolute; width: 78%;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-window);
  box-shadow: 0 1px 0 rgba(20, 33, 43, .04), 0 18px 40px -18px rgba(11, 79, 99, .35);
  overflow: hidden;
}
.win:nth-child(1) { left: 0; top: 0; }
.win:nth-child(2) { left: 11%; top: 100px; }
.win:nth-child(3) { left: 22%; top: 200px; }
.win-bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line-soft); background: #fafcfc; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.badge {
  width: 22px; height: 22px; border-radius: 6px; color: #fff;
  font-size: 11px; font-weight: 700; display: grid; place-items: center; flex: none;
}
.win-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-url { margin-left: auto; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.win-body { padding: 16px 16px 14px; display: grid; gap: 10px; }
.skel { height: 10px; border-radius: 5px; background: var(--line-soft); }
.skel.w60 { width: 60%; } .skel.w80 { width: 80%; } .skel.w40 { width: 40%; }
.win-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 16px; border-bottom: 1px solid var(--line-soft); font-size: 12px; color: var(--ink-2); }
.win-meta b { font-weight: 600; color: var(--ink); }
.win-meta .live { color: var(--ok); }
.win-meta .live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 6px; vertical-align: 1px; }

/* 区块 */
.band { padding: 88px 0; }
.band-white { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-deep { background: var(--teal-deep); color: #e8f6f8; }
.band-deep h2 { color: #fff; }
.band-deep p { color: #c6e3e8; }
.head { max-width: 40em; margin-bottom: 48px; }
.head h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 750; }
.head p { margin-top: 14px; font-size: 17px; color: var(--ink-2); }
.band-deep .head p { color: #c6e3e8; }

/* 两家店铺对比表：同一台电脑上，两家店铺各是各的 */
.compare { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-window); overflow: hidden; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.compare thead th { background: #fafcfc; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.compare tbody th { font-weight: 600; width: 22%; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare td { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* 功能列：左边标题，右边说明，不切卡片 */
.rows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.row h3 { font-size: 19px; font-weight: 700; }
.row p { color: var(--ink-2); }
.row p + p { margin-top: 8px; }
.band-deep .rows, .band-deep .row { border-color: rgba(143, 227, 238, .25); }
.band-deep .row h3 { color: #fff; }
.band-deep .row p { color: #c6e3e8; }

/* 上手步骤：真实顺序，所以有编号 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--teal); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; font-size: 28px; font-weight: 800; color: var(--teal); line-height: 1; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 17px; font-weight: 700; }
.steps p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }

/* 价格 */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.price { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-window); padding: 28px; display: flex; flex-direction: column; }
.price.lead { border-color: var(--teal); box-shadow: inset 0 3px 0 var(--teal); }
.price h3 { font-size: 18px; font-weight: 700; }
.price .for { margin-top: 6px; font-size: 14px; color: var(--ink-3); }
.amount { margin-top: 20px; display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.amount strong { font-size: 40px; font-weight: 800; line-height: 1; }
.amount span { color: var(--ink-3); font-size: 15px; }
.amount del { color: var(--ink-3); font-size: 15px; }
.price .promo { margin-top: 8px; font-size: 14px; color: var(--warn); min-height: 1.75em; }
.price ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.price li { padding-left: 22px; position: relative; }
.price li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.free-line { margin-top: 28px; padding: 20px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-window); display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.free-line strong { font-size: 17px; }
.free-line span { color: var(--ink-2); }
.durations { margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.note { font-size: 14px; color: var(--ink-3); margin-top: 16px; }

/* 下载 */
.dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dl-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-window); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.dl-card.mine { border-color: var(--teal); box-shadow: inset 0 3px 0 var(--teal); }
.dl-card h2 { font-size: 22px; font-weight: 750; display: flex; align-items: center; gap: 10px; }
.dl-card .yours { font-size: 13px; font-weight: 600; color: var(--teal-deep); background: #e3f4f7; padding: 2px 8px; border-radius: 6px; }
.dl-card .req { font-size: 14px; color: var(--ink-3); }
.dl-card .ver { font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dl-card .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.sha { font-size: 12px; color: var(--ink-3); word-break: break-all; }
.sha code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
details.notes summary { cursor: pointer; font-size: 14px; color: var(--teal); }
details.notes pre { white-space: pre-wrap; font: inherit; font-size: 14px; color: var(--ink-2); margin: 8px 0 0; }

/* 帮助、法律文本 */
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; }
.doc .meta { margin-top: 10px; color: var(--ink-3); font-size: 14px; }
.doc h2 { font-size: 22px; margin-top: 44px; font-weight: 750; }
.doc h3 { font-size: 17px; margin-top: 24px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 1.4em; margin: 12px 0 0; }
.doc li + li { margin-top: 6px; }
.draft { margin-top: 24px; padding: 14px 18px; border-left: 4px solid var(--warn); background: #fff7ed; color: #7c2d12; font-size: 15px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-weight: 400; font-size: 22px; line-height: 1.2; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; }
.contact-list { display: grid; gap: 6px; margin-top: 12px; }
.contact-list div { color: var(--ink-2); }
.contact-list b { color: var(--ink); font-weight: 600; display: inline-block; min-width: 5em; }

.page { padding: 64px 0 96px; }
.page-head { margin-bottom: 40px; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; }
.page-head p { margin-top: 12px; font-size: 17px; color: var(--ink-2); max-width: 40em; }

/* 结尾召唤 */
.cta { text-align: left; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.cta h2 { font-size: clamp(24px, 3vw, 32px); }
.cta p { margin-top: 8px; }

/* 页脚 */
.foot { padding: 48px 0 40px; font-size: 14px; color: var(--ink-3); }
.foot .wrap { display: grid; gap: 20px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--teal-deep); text-decoration: underline; }
.foot .legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }

@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .stores { height: 380px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prices { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .top .wrap { gap: 12px; height: auto; min-height: 56px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .nav { order: 3; width: 100%; overflow-x: auto; margin-right: 0; }
  .nav a { padding: 6px 10px; white-space: nowrap; }
  .top .btn { margin-left: auto; min-height: 40px; padding: 0 14px; }
  .hero { padding: 40px 0 56px; }
  .stores { height: 330px; }
  .win { width: 88%; }
  .win:nth-child(2) { left: 6%; top: 80px; }
  .win:nth-child(3) { left: 12%; top: 160px; }
  .win-url { display: none; }
  .band { padding: 60px 0; }
  .steps { grid-template-columns: 1fr; }
  .dl { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .stores .win { animation: stack .7s cubic-bezier(.2, .7, .2, 1) both; }
  .stores .win:nth-child(2) { animation-delay: .12s; }
  .stores .win:nth-child(3) { animation-delay: .24s; }
  @keyframes stack { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
}

/* 店铺窗口角标颜色（和客户端程序坞图标上的店铺标记一样，每家店铺固定一种颜色） */
.badge.b1 { background: #0e7490; }
.badge.b2 { background: #b45309; }
.badge.b3 { background: #4f46e5; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.doc-after { margin-top: 56px; }
