/* 亿打标签官网：简洁、专业，电脑和手机都适配。主色取自软件界面（深青）。 */
:root {
  --brand: #0d8577;
  --brand-dark: #0a6b60;
  --ink: #17262a;
  --ink-soft: #46585c;
  --muted: #6b7c80;
  --line: #dde5e6;
  --bg: #ffffff;
  --bg-soft: #f4f8f8;
  --title: #123a40;
  --warn: #9a5b00;
  --warn-bg: #fff6e5;
  --danger: #b3261e;
  --ok: #1b7a3c;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(18, 58, 64, .08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.7 -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand-dark); }
a:hover { color: var(--brand); }
h1, h2, h3 { color: var(--title); line-height: 1.35; }
h1 { font-size: 2rem; margin: 0 0 .6em; }
h2 { font-size: 1.45rem; margin: 1.6em 0 .6em; }
h3 { font-size: 1.15rem; margin: 1.3em 0 .4em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.small { font-size: .875rem; color: var(--muted); }
.muted { color: var(--muted); }

/* 页头 */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.top-row { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.15rem; color: var(--title); text-decoration: none; }
.brand .logo { height: 32px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { padding: 6px 10px; border-radius: 6px; text-decoration: none; color: var(--ink-soft); }
.nav a:hover { background: var(--bg-soft); color: var(--title); }
.nav-toggle, .nav-button { display: none; }

/* 按钮 */
.btn { display: inline-block; padding: 11px 22px; border-radius: 8px; border: 1px solid var(--brand); background: var(--brand); color: #fff !important;
  text-decoration: none; font-weight: 600; cursor: pointer; font-size: 1rem; line-height: 1.3; }
.btn:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--brand-dark) !important; }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-small { padding: 6px 14px; font-size: .9rem; }
.btn-danger { background: var(--danger); border-color: var(--danger); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* 首页 */
.hero { background: linear-gradient(180deg, #eef7f6 0%, #fff 100%); padding: 56px 0 32px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 2.3rem; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-soft); }
.shot { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.section { padding: 40px 0; }
.section.alt { background: var(--bg-soft); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: start; }
.feature-grid figure { margin: 0; }
.feature-grid figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.cta { text-align: center; padding: 40px 16px; }

/* 内容页 */
.page { padding-top: 32px; padding-bottom: 56px; }
.prose { max-width: 820px; }
.prose figure { margin: 18px 0; }
.prose figure img { border: 1px solid var(--line); border-radius: 8px; }
.prose figcaption { font-size: .9rem; color: var(--muted); }
.note { background: var(--warn-bg); color: #5a3d00; border-left: 4px solid #e2a23b; padding: 10px 14px; border-radius: 6px; margin: 14px 0; }
.ok-box { background: #eaf6ee; border-left: 4px solid var(--ok); padding: 10px 14px; border-radius: 6px; margin: 14px 0; }
.err-box { background: #fdecea; border-left: 4px solid var(--danger); padding: 10px 14px; border-radius: 6px; margin: 14px 0; color: #6b1510; }
.placeholder { color: var(--warn); background: var(--warn-bg); padding: 0 4px; border-radius: 4px; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 99px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .8rem; color: var(--ink-soft); }
.tag.warn { background: var(--warn-bg); border-color: #f1d39a; color: var(--warn); }
.tag.ok { background: #eaf6ee; border-color: #b9e0c5; color: var(--ok); }
.tag.bad { background: #fdecea; border-color: #f3b8b3; color: var(--danger); }
.layout-2 { display: grid; grid-template-columns: 240px 1fr; gap: 28px; }
.side a { display: block; padding: 6px 10px; border-radius: 6px; text-decoration: none; color: var(--ink-soft); }
.side a.on, .side a:hover { background: var(--bg-soft); color: var(--title); }
.list-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.list-item h3 { margin: 0 0 4px; }

/* 表单 */
form.stack { display: grid; gap: 14px; max-width: 520px; }
label { font-weight: 600; color: var(--title); display: block; margin-bottom: 4px; }
input[type=text], input[type=password], input[type=search], input[type=number], input[type=url], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #c6d2d4; border-radius: 8px; font: inherit; background: #fff; color: var(--ink); }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(13,133,119,.35); border-color: var(--brand); }
.field-hint { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.pw-wrap { position: relative; }
.pw-wrap button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--brand-dark); cursor: pointer; font: inherit; padding: 4px 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 表格 */
table.grid { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.grid th, table.grid td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.grid th { background: var(--bg-soft); color: var(--title); font-weight: 600; white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.price { font-size: 1.6rem; font-weight: 700; color: var(--title); }
.code-box { font: 600 1.25rem/1.4 ui-monospace, Consolas, monospace; letter-spacing: 1px; background: var(--bg-soft); border: 1px dashed var(--brand); padding: 10px 14px; border-radius: 8px; display: inline-block; }

/* 页脚 */
.foot { background: #10292d; color: #c9d7d9; padding: 32px 0; margin-top: 24px; }
.foot a { color: #e3f1ef; }
.foot strong { color: #fff; }
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot p { margin: .2em 0; }
.foot .small { color: #9fb3b6; }

.mobile-only { display: none; }

@media (max-width: 860px) {
  .hero-grid, .layout-2, .foot-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: 1.75rem; }
  h1 { font-size: 1.6rem; }
  .nav-button { display: block; margin-left: auto; font-size: 1.5rem; padding: 4px 10px; cursor: pointer; color: var(--title); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 60px; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav a { padding: 10px 8px; }
  .mobile-only { display: block; }
  .desktop-only { display: none; }
}

/* 联系卡片：公司、电话、客服微信二维码（原图按比例缩放，白底留白保持不变）。 */
.contact-card { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; background: #fff; margin: 12px 0 20px; }
.contact-text { flex: 1 1 240px; }
.contact-text p { margin: 0 0 .4em; }
.contact-company { font-weight: 600; color: var(--title); font-size: 1.1rem; }
.contact-phone a { font-size: 1.15rem; font-weight: 600; text-decoration: none; }
.contact-qr { margin: 0; flex: 0 0 auto; text-align: center; }
.contact-qr img { display: block; width: 240px; max-width: 100%; height: auto; background: #fff; margin: 0 auto; }
.contact-qr figcaption { font-size: .9rem; color: var(--ink-soft); max-width: 260px; margin: 6px auto 0; line-height: 1.6; }
.contact-qr .qr-note { display: block; color: var(--muted); }
.qr-mobile { display: none; }
@media (max-width: 640px) {
  .contact-card { flex-direction: column; align-items: stretch; text-align: center; gap: 12px; }
  .contact-text { flex: 0 0 auto; }
  .contact-qr img { width: min(78vw, 320px); }
  .contact-qr figcaption { max-width: 320px; }
  .contact-phone a { font-size: 1.3rem; }
  .qr-desktop { display: none; }
  .qr-mobile { display: inline; }
}
