/* RPCHub 原型 · 设计系统
   说明：品牌色与 Logo 为占位，待用户提供正式品牌资料后替换。 */

:root {
  --brand: #5b57e8;
  --brand-600: #4b46d6;
  --brand-soft: #eeeefe;
  --accent: #10b3a3;
  --accent-soft: #e6f7f4;
  --ink: #0f1729;
  --ink-2: #33415c;
  --muted: #6b7a95;
  --muted-2: #93a0b5;
  --line: #e7eaf1;
  --line-2: #f1f3f8;
  --bg: #f6f7fb;
  --card: #ffffff;
  --danger: #dc2f4a;
  --danger-soft: #fdeef1;
  --warn: #b45309;
  --warn-soft: #fef4e6;
  --ok: #12805c;
  --ok-soft: #e8f6f0;
  --nav-bg: #0d1322;
  --nav-ink: #a9b4cb;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -18px rgba(16, 24, 40, .28);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0; }
code, .mono { font-family: var(--mono); font-size: 12.5px; }

/* ---------- 应用外壳 ---------- */
.shell { display: flex; min-height: 100vh; }

.sidebar {
  width: 236px; flex: 0 0 236px;
  background: var(--nav-bg);
  color: var(--nav-ink);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
  z-index: 40;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 18px 16px;
}
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand) 0%, #8b5cf6 45%, var(--accent) 100%);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 14px; letter-spacing: -.03em;
}
.brand-name { color: #fff; font-weight: 650; font-size: 15px; letter-spacing: -.02em; }
.brand-name small { display: block; color: #6d7a94; font-weight: 500; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }

.nav { padding: 6px 10px 10px; overflow-y: auto; flex: 1; }
.nav-group { margin-top: 14px; }
.nav-group:first-child { margin-top: 0; }
.nav-title {
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: #5d6a82; padding: 6px 10px; font-weight: 600;
}
.nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; margin: 1px 0;
  border-radius: var(--radius-sm);
  color: var(--nav-ink); font-size: 13.5px; font-weight: 500;
  transition: background .14s, color .14s;
}
.nav a:hover { background: #17203a; color: #e8edf7; }
.nav a.active { background: #1b2444; color: #fff; }
.nav a.active .ico { color: #b9b6ff; }
.nav a .ico { width: 16px; height: 16px; flex: 0 0 16px; color: #6f7d99; }
.nav .tag {
  margin-left: auto; font-size: 10px; padding: 1px 6px; border-radius: 20px;
  background: #1e2a4a; color: #94a3c4; font-weight: 600; letter-spacing: .02em;
}
.sidebar-foot {
  padding: 12px; border-top: 1px solid #182036;
  font-size: 11.5px; color: #5f6c86; line-height: 1.5;
}
.sidebar-foot a { color: #8e9bb7; text-decoration: underline; text-underline-offset: 2px; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
  height: 58px; flex: 0 0 58px;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px;
  padding: 0 22px; position: sticky; top: 0; z-index: 30;
}
.topbar h1 { font-size: 15px; font-weight: 620; }
.crumb { color: var(--muted-2); font-size: 12.5px; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.balance-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--brand-soft); color: var(--brand-600);
  border: 1px solid #dcdcfb; border-radius: 20px;
  padding: 5px 12px; font-weight: 600; font-size: 12.5px;
}
.balance-chip b { font-variant-numeric: tabular-nums; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: #e7eaf3; color: var(--ink-2);
  display: grid; place-items: center; font-size: 12px; font-weight: 650;
  border: 1px solid var(--line);
}
.icon-btn {
  width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); display: grid; place-items: center; cursor: pointer;
}
.icon-btn:hover { background: #f7f8fc; }
.burger { display: none; }

.content { padding: 22px; max-width: 1280px; width: 100%; }
.content > * + * { margin-top: 16px; }

/* ---------- 通用组件 ---------- */
.page-head { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.page-head .lede { color: var(--muted); font-size: 13px; margin-top: 3px; max-width: 720px; }
.page-head .actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.card-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--line-2);
}
.card-head h2 { font-size: 13.5px; font-weight: 620; }
.card-head .sub { color: var(--muted-2); font-size: 12px; }
.card-head .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.card-body { padding: 16px; }
.card-body.tight { padding: 8px 0 0; }

.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 14px; align-items: start; }

.stat { padding: 15px 16px; }
.stat .label { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.stat .value {
  font-size: 24px; font-weight: 680; letter-spacing: -.02em; margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.stat .value small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.stat .foot { margin-top: 8px; font-size: 11.5px; color: var(--muted-2); display: flex; gap: 8px; align-items: center; }
.delta { font-weight: 600; font-size: 11.5px; padding: 1px 6px; border-radius: 20px; }
.delta.up { color: var(--ok); background: var(--ok-soft); }
.delta.down { color: var(--danger); background: var(--danger-soft); }
.delta.flat { color: var(--muted); background: #f1f3f8; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 33px; padding: 0 13px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-size: 13px; font-weight: 560; cursor: pointer;
  transition: background .14s, border-color .14s, transform .06s;
  white-space: nowrap;
}
.btn:hover { background: #f7f8fc; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-600); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { background: #f1f3f8; color: var(--ink); }
.btn.danger { color: var(--danger); border-color: #f3d3da; background: #fff; }
.btn.danger:hover { background: var(--danger-soft); }
.btn.sm { height: 27px; padding: 0 9px; font-size: 12px; border-radius: 7px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 20px;
  background: #f1f3f8; color: var(--muted); border: 1px solid transparent;
}
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--danger-soft); color: var(--danger); }
.badge.brand { background: var(--brand-soft); color: var(--brand-600); }
.badge.ghost { background: #fff; border-color: var(--line); color: var(--muted); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.notice {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 11px 13px; border-radius: 11px; font-size: 12.5px;
  background: var(--brand-soft); color: #423ca8; border: 1px solid #dedcfb;
}
.notice.warn { background: var(--warn-soft); color: #8a4a09; border-color: #f6e2c3; }
.notice .ic { flex: 0 0 16px; margin-top: 1px; }
.notice b { font-weight: 650; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead th {
  text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted-2); font-weight: 600; padding: 9px 16px;
  border-bottom: 1px solid var(--line); background: #fcfcfe; white-space: nowrap;
}
tbody td { padding: 11px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
tbody tr:hover { background: #fbfbfe; }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td .muted, .muted { color: var(--muted); }
.small { font-size: 12px; }
.strong { font-weight: 600; }
.key-cell { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.empty { padding: 34px 16px; text-align: center; color: var(--muted-2); font-size: 13px; }

.toolbar {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  padding: 12px 16px; border-bottom: 1px solid var(--line-2);
}
.input, .select {
  height: 33px; border: 1px solid var(--line); border-radius: 9px;
  padding: 0 10px; font-size: 13px; color: var(--ink); background: #fff;
  outline: none; min-width: 0;
}
.input:focus, .select:focus { border-color: #b9b6f5; box-shadow: 0 0 0 3px #eeeefe; }
.input.search { width: 220px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 560; color: var(--ink-2); }
.field .hint { font-size: 11.5px; color: var(--muted-2); }
.seg { display: inline-flex; background: #f1f3f8; border-radius: 9px; padding: 3px; gap: 2px; }
.seg button {
  border: 0; background: transparent; color: var(--muted); font-size: 12.5px; font-weight: 560;
  padding: 5px 10px; border-radius: 7px; cursor: pointer;
}
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(16,24,40,.08); }

/* ---------- 图表（纯 CSS/SVG 原型） ---------- */
.chart { width: 100%; height: 190px; display: block; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding: 0 4px; }
.bars .bar { flex: 1; background: linear-gradient(180deg, #a5a1f7, var(--brand)); border-radius: 6px 6px 3px 3px; position: relative; min-height: 4px; }
.bars .bar.alt { background: linear-gradient(180deg, #8ee0d4, var(--accent)); }
.bars .bar span {
  position: absolute; bottom: -22px; left: 0; right: 0; text-align: center;
  font-size: 10.5px; color: var(--muted-2); white-space: nowrap;
}
.legend { display: flex; gap: 14px; font-size: 11.5px; color: var(--muted); }
.legend i { width: 8px; height: 8px; border-radius: 3px; display: inline-block; margin-right: 5px; }
.meter { height: 7px; border-radius: 20px; background: #eef0f6; overflow: hidden; }
.meter > i { display: block; height: 100%; border-radius: 20px; background: var(--brand); }
.meter.teal > i { background: var(--accent); }

/* ---------- 列表 / 空态 ---------- */
.list { display: flex; flex-direction: column; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line-2); }
.list-row:last-child { border-bottom: 0; }
.list-row .grow { min-width: 0; flex: 1; }
.list-row .t { font-size: 13px; font-weight: 560; }
.list-row .s { font-size: 11.5px; color: var(--muted-2); }

.quick { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.quick a {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 11px; font-size: 12.5px; font-weight: 550;
  background: #fff; transition: border-color .14s, background .14s;
}
.quick a:hover { border-color: #cfccf7; background: #fbfbff; }
.quick .q-ico {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-600); flex: 0 0 28px;
}

/* ---------- 弹窗 / toast ---------- */
.modal-back {
  position: fixed; inset: 0; background: rgba(13,19,34,.45);
  display: none; place-items: center; z-index: 100; padding: 20px;
  backdrop-filter: blur(2px);
}
.modal-back.open { display: grid; }
.modal {
  background: #fff; border-radius: 16px; width: 100%; max-width: 480px;
  box-shadow: 0 24px 60px -20px rgba(13,19,34,.5); overflow: hidden;
}
.modal-head { padding: 16px 18px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; }
.modal-head h3 { font-size: 15px; }
.modal-head .x { margin-left: auto; }
.modal-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.modal-foot { padding: 14px 18px; border-top: 1px solid var(--line-2); display: flex; justify-content: flex-end; gap: 8px; background: #fcfcfe; }

.toast-wrap { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast {
  background: #0f1729; color: #fff; font-size: 12.5px; padding: 9px 14px; border-radius: 10px;
  box-shadow: 0 12px 30px -12px rgba(13,19,34,.6); animation: toastIn .18s ease-out;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- 官网（营销站） ---------- */
.mkt { background: #fff; }
.mkt-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 22px;
  padding: 0 26px; height: 62px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.mkt-nav .links { display: flex; gap: 20px; font-size: 13.5px; color: var(--ink-2); font-weight: 520; }
.mkt-nav .links a:hover { color: var(--brand); }
.mkt-nav .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.mkt-wrap { max-width: 1120px; margin: 0 auto; padding: 0 26px; }

.hero { position: relative; overflow: hidden; background: #080d1a; color: #e9eefb; }
.hero::before {
  content: ""; position: absolute; width: 780px; height: 780px; right: -220px; top: -380px;
  background: radial-gradient(circle, rgba(91,87,232,.55), transparent 62%);
  filter: blur(10px);
}
.hero::after {
  content: ""; position: absolute; width: 620px; height: 620px; left: -260px; bottom: -420px;
  background: radial-gradient(circle, rgba(16,179,163,.38), transparent 62%);
}
.hero .mkt-wrap { position: relative; z-index: 1; padding-top: 74px; padding-bottom: 78px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600;
  color: #b9b6ff; background: rgba(91,87,232,.16); border: 1px solid rgba(140,136,255,.28);
  padding: 4px 11px; border-radius: 20px;
}
.hero h1 { font-size: 44px; line-height: 1.14; letter-spacing: -.03em; margin-top: 18px; max-width: 700px; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #a8a4ff, #6ee7d8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { color: #a3aec6; font-size: 15.5px; margin-top: 16px; max-width: 560px; line-height: 1.65; }
.hero .cta { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.hero .btn { height: 40px; padding: 0 18px; font-size: 13.5px; }
.hero .btn.primary { background: #fff; color: #10182c; border-color: #fff; }
.hero .btn.primary:hover { background: #eef0fa; }
.hero .btn.outline { background: transparent; border-color: rgba(255,255,255,.22); color: #e9eefb; }
.hero .btn.outline:hover { background: rgba(255,255,255,.07); }
.hero .hint { margin-top: 14px; font-size: 12px; color: #6f7c96; }

.section { padding: 62px 0; }
.section.alt { background: #f8f9fd; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 660px; }
.section-head h2 { font-size: 27px; letter-spacing: -.02em; }
.section-head p { color: var(--muted); margin-top: 10px; font-size: 14.5px; line-height: 1.65; }

.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 34px; }
.feat { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.feat .fi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-600); margin-bottom: 12px; }
.feat h3 { font-size: 14.5px; }
.feat p { color: var(--muted); font-size: 13px; margin-top: 7px; line-height: 1.6; }

.code-card { background: #0c1222; border-radius: var(--radius); overflow: hidden; border: 1px solid #1b2540; }
.code-tabs { display: flex; gap: 2px; padding: 10px 12px 0; border-bottom: 1px solid #18213a; }
.code-tabs button {
  background: transparent; border: 0; color: #7b89a6; font-size: 12.5px; font-weight: 560;
  padding: 7px 12px; border-radius: 8px 8px 0 0; cursor: pointer;
}
.code-tabs button.on { color: #fff; background: #16203a; }
.code-body { padding: 16px; overflow-x: auto; }
.code-body pre { margin: 0; color: #cdd7ea; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; }
.code-body .k { color: #a5a1f7; }
.code-body .s { color: #7fe0c8; }
.code-body .c { color: #5f6d88; }
.code-body .hidden { display: none; }

.model-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-top: 26px; }
.model-chip {
  display: flex; align-items: center; gap: 9px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 11px; background: #fff; font-size: 12.5px; font-weight: 550;
}
.model-chip .m {
  width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
  background: #f1f3f8; color: var(--muted); font-size: 10px; font-weight: 700;
}

.cta-band { background: #0b1020; color: #fff; border-radius: 18px; padding: 40px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 24px; letter-spacing: -.02em; }
.cta-band p { color: #96a2ba; font-size: 13.5px; margin-top: 8px; }
.cta-band .btn { margin-left: auto; height: 40px; padding: 0 18px; background: #fff; color: #10182c; border-color: #fff; }

.foot { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: 12.5px; }
.foot .cols { display: flex; gap: 46px; flex-wrap: wrap; }
.foot .cols h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); margin-bottom: 10px; }
.foot .cols a { display: block; padding: 3px 0; }
.foot .cols a:hover { color: var(--brand); }
.foot .base { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-2); display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted-2); }

details.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
details.faq summary { cursor: pointer; font-weight: 580; font-size: 14px; list-style: none; display: flex; gap: 10px; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; margin-left: auto; color: var(--muted-2); font-weight: 400; font-size: 16px; }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--muted); font-size: 13px; margin-top: 9px; padding-left: 0; line-height: 1.65; }

/* ---------- 定价 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 30px; }
.price-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.price-card.hl { border-color: #c9c6f9; box-shadow: 0 12px 30px -20px rgba(91,87,232,.5); }
.price-card h3 { font-size: 14px; }
.price-card .amt { font-size: 28px; font-weight: 680; letter-spacing: -.02em; margin-top: 10px; }
.price-card .amt small { font-size: 12px; font-weight: 500; color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 14px 0 0; font-size: 12.5px; color: var(--ink-2); }
.price-card li { padding: 5px 0 5px 20px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }

.amount-picker { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 9px; }
.amount-picker button {
  border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 12px 6px;
  font-size: 14px; font-weight: 620; color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums;
}
.amount-picker button small { display: block; font-size: 10.5px; color: var(--muted-2); font-weight: 500; margin-top: 2px; }
.amount-picker button.on { border-color: var(--brand); background: #f6f5ff; color: var(--brand-600); box-shadow: 0 0 0 3px #eeeefe; }
.pay-methods { display: flex; flex-direction: column; gap: 8px; }
.pay-methods label {
  display: flex; align-items: center; gap: 10px; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 11px; font-size: 13px; cursor: pointer; background: #fff;
}
.pay-methods label.on { border-color: var(--brand); background: #fbfbff; }
.pay-methods input { accent-color: var(--brand); }

/* ---------- 设计说明页 ---------- */
.doc h2 { font-size: 17px; margin-top: 26px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 14px; margin-top: 18px; }
.doc p, .doc li { color: var(--ink-2); font-size: 13.5px; line-height: 1.7; }
.doc ul { padding-left: 20px; margin: 8px 0; }
.doc .tagline { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.map-table td:first-child { font-weight: 560; }

@media (max-width: 1080px) {
  .split { grid-template-columns: minmax(0,1fr); }
  .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feat-grid, .price-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .model-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 820px) {
  .sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; transform: translateX(-100%);
    transition: transform .2s ease; box-shadow: 0 0 40px rgba(0,0,0,.35);
  }
  .sidebar.open { transform: none; }
  .burger { display: grid; }
  .content { padding: 16px; }
  .g2, .g3, .g4 { grid-template-columns: minmax(0,1fr); }
  .feat-grid, .price-grid, .model-grid { grid-template-columns: minmax(0,1fr); }
  .hero h1 { font-size: 27px; }
  .hero .mkt-wrap { padding-top: 48px; padding-bottom: 52px; }
  .mkt-nav .links { display: none; }
  .section { padding: 44px 0; }
  .topbar { padding: 0 14px; }
  .balance-chip { padding: 4px 9px; font-size: 11.5px; }
  .input.search { width: 100%; }
  .toolbar > * { flex: 1 1 auto; }
  .amount-picker { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cta-band { padding: 26px; }
  .cta-band .btn { margin-left: 0; }
}
