/* ============================================================
   版权通 · 剧本版权登记代办平台
   Design tokens
   ============================================================ */
:root {
  /* brand */
  --pink: #d6006e;
  --pink-600: #b00059;
  --pink-050: #fdf0f6;
  --pink-100: #fadce9;
  --indigo: #3b3bd6;
  --indigo-050: #eeeefc;
  --gold: #b8860b;
  --gold-050: #fdf6e3;

  /* ink */
  --ink: #16181d;
  --ink-2: #3d434e;
  --ink-3: #6b7280;
  --ink-4: #9aa1ac;

  /* surface */
  --bg: #fafafb;
  --surface: #ffffff;
  --line: #eceef2;
  --line-2: #e0e3e9;

  /* semantic */
  --ok: #0f8a5f;
  --ok-bg: #e8f6f0;
  --warn: #b26a00;
  --warn-bg: #fdf3e2;
  --err: #c02638;
  --err-bg: #fdeef0;
  --info-bg: #eaf1fd;

  /* shape */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --sh-1: 0 1px 2px rgba(20, 22, 28, .04), 0 1px 3px rgba(20, 22, 28, .04);
  --sh-2: 0 2px 6px rgba(20, 22, 28, .05), 0 8px 24px rgba(20, 22, 28, .06);
  --sh-3: 0 12px 48px rgba(20, 22, 28, .12);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --nav-h: 66px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

::selection { background: var(--pink-100); color: var(--pink-600); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tnum { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ============================ NAV ============================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--pink) 0%, #a3008f 55%, var(--indigo) 100%);
  display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(214, 0, 110, .28);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; }
.brand-txt span { font-size: 11px; color: var(--ink-3); letter-spacing: .04em; }

.nav-links { display: flex; gap: 4px; margin-left: 8px; flex: 1; }
.nav-links a {
  padding: 7px 13px; border-radius: 8px; font-size: 14px; font-weight: 600;
  color: var(--ink-2); transition: .15s;
}
.nav-links a:hover { background: var(--line); color: var(--ink); }
.nav-links a.on { color: var(--pink); background: var(--pink-050); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-desk {
  font-size: 13px; font-weight: 600; color: var(--ink-3);
  padding: 7px 11px; border-radius: 8px; border: 1px solid var(--line-2);
  transition: .15s; white-space: nowrap;
}
.nav-desk:hover { color: var(--ink); border-color: var(--ink-4); }

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 11px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 700; letter-spacing: -.005em;
  cursor: pointer; transition: transform .12s, box-shadow .18s, background .18s, border-color .18s;
  white-space: nowrap; user-select: none;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary {
  background: var(--pink); color: #fff;
  box-shadow: 0 2px 6px rgba(214, 0, 110, .22), 0 8px 20px rgba(214, 0, 110, .16);
}
.btn-primary:hover { background: var(--pink-600); box-shadow: 0 4px 10px rgba(214,0,110,.28), 0 12px 28px rgba(214,0,110,.2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2e37; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-4); background: #fdfdfd; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 9px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; border-radius: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ============================ SECTIONS ============================ */
.sec { padding: 88px 0; }
.sec-sm { padding: 56px 0; }
.sec-head { max-width: 660px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pink); margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; width: 16px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--pink), var(--indigo));
}
.sec-head h2 { font-size: 34px; letter-spacing: -.03em; }
.sec-head p { margin-top: 12px; font-size: 16px; color: var(--ink-3); line-height: 1.7; }

/* ============================ HERO ============================ */
.hero { position: relative; overflow: hidden; padding: 76px 0 84px; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(680px 380px at 12% 8%, rgba(214, 0, 110, .09), transparent 62%),
    radial-gradient(560px 340px at 88% 4%, rgba(59, 59, 214, .08), transparent 60%),
    radial-gradient(500px 300px at 60% 96%, rgba(184, 134, 11, .05), transparent 60%);
  pointer-events: none;
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }
.hero h1 { font-size: 50px; letter-spacing: -.035em; line-height: 1.12; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, var(--pink) 10%, #9b2bd6 55%, var(--indigo) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead { margin-top: 20px; font-size: 17px; color: var(--ink-2); max-width: 540px; line-height: 1.75; }
.hero-lead b { color: var(--ink); font-weight: 700; }
.hero-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { margin-top: 30px; display: flex; gap: 26px; flex-wrap: wrap; }
.hero-trust div { font-size: 13px; color: var(--ink-3); }
.hero-trust b { display: block; font-size: 21px; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }

/* hero side card */
.hcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--sh-3); overflow: hidden;
}
.hcard-top {
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(180deg, #fcfcfd, #f7f8fa);
}
.hcard-top b { font-size: 14px; }
.hcard-top span { font-size: 11.5px; color: var(--ink-3); }
.hcard-body { padding: 20px; }
.hrow {
  display: flex; align-items: flex-start; gap: 12px; padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}
.hrow:last-child { border-bottom: 0; padding-bottom: 0; }
.hrow-ic {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 14px; font-weight: 800; color: #fff;
}
.hrow-txt { flex: 1; min-width: 0; }
.hrow-txt b { display: block; font-size: 13.5px; font-weight: 700; }
.hrow-txt span { font-size: 12.5px; color: var(--ink-3); }
.hcard-foot {
  padding: 13px 20px; background: var(--pink-050); border-top: 1px solid var(--pink-100);
  display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--pink-600); font-weight: 600;
}

/* ============================ GRID / CARDS ============================ */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-1);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card.pad-lg { padding: 32px; }
.card.hover:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.card-ic {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 16px; font-size: 19px; font-weight: 800; color: #fff;
}
.card h3 { font-size: 18px; margin-bottom: 9px; }
.card p { font-size: 14px; color: var(--ink-3); line-height: 1.7; }
.card .kv { margin-top: 14px; font-size: 13px; color: var(--ink-3); display: flex; gap: 8px; align-items: baseline; }
.card .kv b { color: var(--ink); font-weight: 700; }

/* ============================ STEPS ============================ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.flow::before {
  content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 27px; height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--indigo));
  opacity: .2; z-index: 0;
}
.flow-item { position: relative; z-index: 1; text-align: center; padding: 0 12px; }
.flow-num {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-size: 18px; font-weight: 800;
  background: var(--surface); border: 2px solid var(--pink); color: var(--pink);
  box-shadow: 0 0 0 6px var(--bg);
}
.flow-item:nth-child(3) .flow-num,
.flow-item:nth-child(4) .flow-num { border-color: var(--indigo); color: var(--indigo); }
.flow-item b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.flow-item p { font-size: 13px; color: var(--ink-3); line-height: 1.65; }

/* ============================ PRICING ============================ */
.price { display: flex; flex-direction: column; position: relative; }
.price.hot { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink), var(--sh-2); }
.price-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--pink); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 5px 14px; border-radius: 20px; letter-spacing: .04em; white-space: nowrap;
}
.price-amt { display: flex; align-items: baseline; gap: 4px; margin: 14px 0 4px; }
.price-amt .cur { font-size: 19px; font-weight: 800; }
.price-amt .num { font-size: 40px; font-weight: 800; letter-spacing: -.04em; }
.price-amt .unit { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.price-desc { font-size: 13px; color: var(--ink-3); min-height: 40px; }
.price-list { list-style: none; padding: 0; margin: 18px 0 0; flex: 1; }
.price-list li {
  font-size: 13.5px; padding: 8px 0 8px 26px; position: relative;
  border-bottom: 1px dashed var(--line); color: var(--ink-2);
}
.price-list li:last-child { border-bottom: 0; }
.price-list li::before {
  content: ''; position: absolute; left: 4px; top: 14px;
  width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}
.price-list li.no { color: var(--ink-4); }
.price-list li.no::before {
  border: 0; width: 10px; height: 2px; background: var(--ink-4);
  transform: none; top: 18px; left: 5px;
}
.price-foot { margin-top: 22px; }

/* ============================ TAGS ============================ */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  height: 22px; padding: 0 9px; border-radius: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: -.005em;
  background: var(--line); color: var(--ink-2); white-space: nowrap;
}
.tag.pink { background: var(--pink-100); color: var(--pink-600); }
.tag.indigo { background: var(--indigo-050); color: #2a2ac0; }
.tag.gold { background: var(--gold-050); color: var(--gold); }
.tag.ok { background: var(--ok-bg); color: var(--ok); }
.tag.warn { background: var(--warn-bg); color: var(--warn); }
.tag.err { background: var(--err-bg); color: var(--err); }
.tag.info { background: var(--info-bg); color: #1d4ed8; }
.tag.lg { height: 26px; padding: 0 11px; font-size: 12.5px; }

/* ============================ TABLE ============================ */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th {
  text-align: left; padding: 13px 16px; font-size: 12px; font-weight: 700;
  color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase;
  background: #fafbfc; border-bottom: 1px solid var(--line); white-space: nowrap;
}
td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .12s; }
tbody tr:hover { background: #fcfcfd; }
td b { font-weight: 700; }
td .sub { display: block; font-size: 12px; color: var(--ink-4); margin-top: 2px; }
.tbl-click tbody tr { cursor: pointer; }

/* ============================ FORM ============================ */
.field { margin-bottom: 18px; }
.field > label {
  display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: var(--ink-2);
}
.field > label .req { color: var(--pink); margin-left: 2px; }
.field .hint { font-size: 12px; color: var(--ink-4); margin-top: 6px; line-height: 1.55; }
.input, .select, .textarea {
  width: 100%; min-height: 42px; padding: 10px 13px;
  border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface);
  font-size: 14px; transition: border-color .15s, box-shadow .15s; outline: none;
}
.textarea { min-height: 92px; resize: vertical; line-height: 1.6; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' stroke='%236b7280' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--pink); box-shadow: 0 0 0 3px rgba(214, 0, 110, .1);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.input:disabled, .select:disabled { background: #f7f8fa; color: var(--ink-4); cursor: not-allowed; }
.frow { display: grid; gap: 16px; }
.frow-2 { grid-template-columns: 1fr 1fr; }
.frow-3 { grid-template-columns: 1fr 1fr 1fr; }
.frow-12-8 { grid-template-columns: 1.4fr 1fr; }

.choice { display: grid; gap: 12px; }
.choice-2 { grid-template-columns: 1fr 1fr; }
.choice-3 { grid-template-columns: repeat(3, 1fr); }
.opt {
  border: 1.5px solid var(--line-2); border-radius: var(--r); padding: 15px 17px;
  cursor: pointer; transition: .15s; background: var(--surface); position: relative;
}
.opt:hover { border-color: var(--ink-4); }
.opt.on { border-color: var(--pink); background: var(--pink-050); box-shadow: 0 0 0 3px rgba(214,0,110,.08); }
.opt b { display: block; font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.opt span { font-size: 12.5px; color: var(--ink-3); line-height: 1.55; display: block; }
.opt .opt-flag {
  position: absolute; top: 13px; right: 13px; width: 18px; height: 18px;
  border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center;
}
.opt.on .opt-flag { border-color: var(--pink); background: var(--pink); }
.opt.on .opt-flag::after { content: ''; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(0, -1px); }

.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.check input { margin: 3px 0 0; width: 16px; height: 16px; accent-color: var(--pink); flex-shrink: 0; cursor: pointer; }

/* dropzone */
.drop {
  border: 1.5px dashed var(--line-2); border-radius: var(--r); padding: 26px 20px;
  text-align: center; cursor: pointer; transition: .15s; background: #fcfcfd;
}
.drop:hover, .drop.over { border-color: var(--pink); background: var(--pink-050); }
.drop-ic { width: 40px; height: 40px; margin: 0 auto 10px; border-radius: 12px; background: var(--pink-050); color: var(--pink); display: grid; place-items: center; }
.drop b { display: block; font-size: 14px; }
.drop span { font-size: 12.5px; color: var(--ink-4); }
.filelist { margin-top: 10px; display: flex; flex-direction: column; gap: 7px; }
.fitem {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 9px; font-size: 13px; background: var(--surface);
}
.fitem .fi-ic { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; flex-shrink: 0; }
.fitem .fi-nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.fitem .fi-sz { font-size: 12px; color: var(--ink-4); }
.fitem .fi-ok { color: var(--ok); font-weight: 700; font-size: 12px; }

/* ============================ WIZARD ============================ */
.wiz { display: grid; grid-template-columns: 236px 1fr; gap: 40px; align-items: start; }
.wiz-rail { position: sticky; top: calc(var(--nav-h) + 26px); }
.wiz-step { display: flex; gap: 13px; padding: 0 0 20px; position: relative; }
.wiz-step:not(:last-child)::after {
  content: ''; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 2px; background: var(--line);
}
.wiz-step.done:not(:last-child)::after { background: var(--pink); }
.wiz-dot {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; z-index: 1;
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
  background: var(--surface); border: 2px solid var(--line-2); color: var(--ink-4);
}
.wiz-step.done .wiz-dot { background: var(--pink); border-color: var(--pink); color: #fff; }
.wiz-step.done .wiz-dot::after { content: ''; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(0, -1px); }
.wiz-step.on .wiz-dot { border-color: var(--pink); color: var(--pink); box-shadow: 0 0 0 4px var(--pink-050); }
.wiz-step.on .wiz-dot b { font-weight: 800; }
.wiz-txt b { display: block; font-size: 13.5px; font-weight: 700; }
.wiz-step.on .wiz-txt b { color: var(--pink); }
.wiz-txt span { font-size: 12px; color: var(--ink-4); }

.wiz-panel { display: none; }
.wiz-panel.on { display: block; animation: fade .28s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wiz-head { margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.wiz-head h2 { font-size: 25px; letter-spacing: -.025em; }
.wiz-head p { margin-top: 7px; font-size: 14px; color: var(--ink-3); }
.wiz-nav { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; gap: 12px; justify-content: space-between; }
.wiz-nav .left { display: flex; gap: 12px; }

.formbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-1); }
.formbox + .formbox { margin-top: 18px; }
.formbox > h3 { font-size: 16px; margin-bottom: 4px; }
.formbox > .sub { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }

.note {
  display: flex; gap: 11px; padding: 13px 15px; border-radius: var(--r);
  font-size: 13px; line-height: 1.65; border: 1px solid;
  flex-wrap: wrap; align-items: flex-start;
}
.note svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; }
.note > div { flex: 1; min-width: 0; }
.note.info { background: var(--info-bg); border-color: #c9dcfb; color: #1b3a80; }
.note.warn { background: var(--warn-bg); border-color: #f3dfb6; color: #7a4a00; }
.note.pink { background: var(--pink-050); border-color: var(--pink-100); color: var(--pink-600); }
.note.ok { background: var(--ok-bg); border-color: #bfe6d5; color: #0b6349; }
.note b { font-weight: 700; }

/* fee summary */
.fee { background: linear-gradient(180deg, #fffafd, #fff); }
.fee-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: 13.5px; border-bottom: 1px dashed var(--line); }
.fee-row span:first-child { color: var(--ink-2); }
.fee-row span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.fee-row.free span:last-child { color: var(--ok); }
.fee-row.total { border-bottom: 0; border-top: 1.5px solid var(--ink); margin-top: 6px; padding-top: 14px; }
.fee-row.total span { font-size: 16px; font-weight: 800; }
.fee-row.total span:last-child { font-size: 25px; letter-spacing: -.03em; color: var(--pink); }
.fee-note { font-size: 12px; color: var(--ink-4); margin-top: 12px; line-height: 1.6; }

/* receipt */
.receipt { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.receipt-top { background: linear-gradient(120deg, var(--pink), #9c2ba8 55%, var(--indigo)); color: #fff; padding: 22px 26px; }
.receipt-top .lb { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .82; }
.receipt-top .no { font-family: var(--mono); font-size: 23px; font-weight: 700; margin-top: 6px; letter-spacing: .02em; }
.receipt-body { padding: 24px 26px; }

/* ============================ TIMELINE ============================ */
.tl { position: relative; padding-left: 26px; }
.tl::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 24px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -22px; top: 5px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--surface); border: 2.5px solid var(--line-2);
}
.tl-item.ok::before { border-color: var(--ok); background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); }
.tl-item.on::before { border-color: var(--pink); background: var(--pink); box-shadow: 0 0 0 4px var(--pink-050); animation: pulse 2s infinite; }
.tl-item.warn::before { border-color: var(--warn); background: var(--warn); box-shadow: 0 0 0 4px var(--warn-bg); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px var(--pink-050); } 50% { box-shadow: 0 0 0 8px rgba(214,0,110,.07); } }
.tl-item b { font-size: 14px; display: block; }
.tl-item .tl-meta { font-size: 12.5px; color: var(--ink-4); margin-top: 2px; }
.tl-item p { font-size: 13px; color: var(--ink-3); margin-top: 6px; }

/* ============================ TRACK ============================ */
.track-head { text-align: center; max-width: 620px; margin: 0 auto 34px; }
.track-head h1 { font-size: 38px; letter-spacing: -.03em; }
.track-head p { margin-top: 12px; font-size: 16px; color: var(--ink-3); }
.track-bar { display: flex; gap: 10px; max-width: 560px; margin: 0 auto; }
.track-bar .input { min-height: 48px; font-family: var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.track-bar .btn { height: 48px; }

.status-hero { display: flex; gap: 22px; align-items: center; padding: 24px 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.status-hero .sh-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0; font-size: 22px; }
.status-hero h3 { font-size: 19px; margin-bottom: 4px; }
.status-hero p { font-size: 13.5px; color: var(--ink-3); }
.status-hero .sh-r { margin-left: auto; text-align: right; }
.sh-r .lb { font-size: 11.5px; color: var(--ink-4); letter-spacing: .06em; text-transform: uppercase; }
.sh-r .val { font-family: var(--mono); font-size: 17px; font-weight: 700; margin-top: 3px; }

.mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.mini > div { background: var(--surface); padding: 16px 18px; }
.mini .lb { font-size: 11.5px; color: var(--ink-4); letter-spacing: .04em; }
.mini .val { font-size: 14.5px; font-weight: 700; margin-top: 4px; }

/* ============================ LIBRARY ============================ */
.lib-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: .18s; }
.lib-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.lib-cover {
  height: 128px; display: grid; place-items: center; position: relative; overflow: hidden;
  font-size: 52px; line-height: 1; filter: drop-shadow(0 3px 8px rgba(0,0,0,.22));
}
.lib-cover::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120px 60px at 85% 15%, rgba(255,255,255,.24), transparent 70%);
}
.lib-body { padding: 18px 20px 20px; }
.lib-body h4 { font-size: 15.5px; margin-bottom: 6px; }
.lib-body .meta { font-size: 12.5px; color: var(--ink-3); line-height: 1.7; }
.lib-foot { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }

/* cert preview */
.cert {
  border-radius: var(--r-lg); padding: 30px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(125deg, #1b1d24 0%, #34303f 45%, #4a2b52 100%);
  box-shadow: var(--sh-2);
}
.cert::before {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(300px 160px at 88% 8%, rgba(214,0,110,.5), transparent 70%),
              radial-gradient(240px 140px at 8% 92%, rgba(59,59,214,.45), transparent 70%);
}
.cert-inner { position: relative; }
.cert-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.cert h3 { font-size: 21px; letter-spacing: .04em; }
.cert .cert-en { font-size: 10.5px; letter-spacing: .18em; opacity: .6; text-transform: uppercase; margin-top: 5px; }
.cert .seal {
  width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.55); display: grid; place-items: center;
  font-size: 10px; font-weight: 700; text-align: center; line-height: 1.25; letter-spacing: .04em;
}
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 26px; }
.cert-grid .c-lb { font-size: 11px; opacity: .6; letter-spacing: .08em; }
.cert-grid .c-vl { font-size: 14px; font-weight: 600; margin-top: 2px; }
.cert-foot { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.16); display: flex; justify-content: space-between; font-size: 11.5px; opacity: .72; }

/* ============================ DESK (工作台) ============================ */
.desk-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.desk-tabs { display: inline-flex; background: var(--line); border-radius: 10px; padding: 3px; gap: 2px; }
.desk-tabs button {
  border: 0; background: transparent; padding: 7px 15px; border-radius: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-3); cursor: pointer; transition: .15s;
}
.desk-tabs button.on { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.search { position: relative; }
.search .input { padding-left: 36px; min-width: 250px; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--ink-4); }

.empty { text-align: center; padding: 64px 20px; color: var(--ink-3); }
.empty svg { width: 46px; height: 46px; color: var(--ink-4); margin: 0 auto 14px; }
.empty b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 5px; }

/* ============================ FAQ ============================ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 40px 20px 0; font-size: 15.5px; font-weight: 700; position: relative;
}
.faq-q::after {
  content: ''; position: absolute; right: 8px; top: 26px; width: 11px; height: 11px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg); transition: transform .2s;
}
.faq-item.on .faq-q::after { transform: rotate(-135deg); top: 30px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 40px 22px 0; font-size: 14px; color: var(--ink-3); line-height: 1.75; }
.faq-a p + p { padding-top: 0; }
.faq-item.on .faq-a { max-height: 340px; }

/* ============================ CTA BAND ============================ */
.band {
  background: linear-gradient(120deg, #1b1d24, #3a2340 55%, #2a2a5e);
  color: #fff; border-radius: var(--r-xl); padding: 48px 52px; position: relative; overflow: hidden;
}
.band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(420px 220px at 82% 12%, rgba(214,0,110,.42), transparent 70%),
              radial-gradient(360px 200px at 10% 90%, rgba(59,59,214,.4), transparent 70%);
}
.band-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.band h2 { font-size: 30px; letter-spacing: -.03em; }
.band p { margin-top: 10px; font-size: 15px; opacity: .8; max-width: 560px; line-height: 1.7; }
.band .btn-ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); color: #fff; }
.band .btn-ghost:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); }

/* ============================ FOOTER ============================ */
.foot { border-top: 1px solid var(--line); padding: 46px 0 30px; margin-top: 20px; background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot h5 { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.foot a { display: block; font-size: 13.5px; color: var(--ink-2); padding: 4px 0; transition: .13s; }
.foot a:hover { color: var(--pink); }
.foot p { font-size: 13px; color: var(--ink-3); line-height: 1.75; }
.foot-bot { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-4); }

/* ============================ POLICY ALERT ============================ */
.alert-bar {
  background: linear-gradient(100deg, #fff4f8 0%, #fff8ee 52%, #f4f1ff 100%);
  border: 1px solid #f3d9e6;
  border-left: 4px solid var(--pink);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  display: flex; gap: 16px; align-items: flex-start;
}
.alert-bar .ab-ic {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--pink), #9b2bd6);
  display: grid; place-items: center; color: #fff; font-size: 17px; font-weight: 800;
}
.alert-bar h4 { font-size: 15.5px; margin-bottom: 5px; }
.alert-bar p { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.alert-bar p b { color: var(--ink); }
.alert-bar .ab-stat { display: flex; gap: 22px; margin-top: 12px; flex-wrap: wrap; }
.alert-bar .ab-stat div { font-size: 12.5px; color: var(--ink-3); }
.alert-bar .ab-stat b { display: block; font-size: 18px; color: var(--pink); font-weight: 800; letter-spacing: -.02em; }

/* ============================ THREE-WAY COMPARE ============================ */
.cmp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.cmp-col { padding: 24px 22px; border-right: 1px solid var(--line); }
.cmp-col:last-child { border-right: 0; }
.cmp-col.hl { background: linear-gradient(180deg, #fffafd, #fff); }
.cmp-hd { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.cmp-hd b { font-size: 16px; font-weight: 800; }
.cmp-sub { font-size: 12.5px; color: var(--ink-4); margin-bottom: 16px; }
.cmp-row { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13px; display: flex; gap: 10px; }
.cmp-row:last-child { border-bottom: 0; }
.cmp-row .k { color: var(--ink-4); width: 62px; flex-shrink: 0; font-size: 12.5px; }
.cmp-row .v { color: var(--ink-2); flex: 1; }
.cmp-row .v b { color: var(--ink); font-weight: 700; }
.cmp-badge {
  display: inline-flex; align-items: center; height: 19px; padding: 0 7px; border-radius: 5px;
  font-size: 11px; font-weight: 800; background: var(--pink); color: #fff; margin-left: auto;
}

/* ============================ TIERS / LAYERS ============================ */
.layer {
  display: flex; gap: 18px; padding: 20px 22px; border: 1px solid var(--line);
  border-radius: var(--r-lg); background: var(--surface); align-items: flex-start;
  transition: .18s;
}
.layer:hover { border-color: var(--line-2); box-shadow: var(--sh-2); }
.layer-no {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 15px; font-weight: 800; color: #fff;
}
.layer-body { flex: 1; min-width: 0; }
.layer-body h4 { font-size: 15.5px; margin-bottom: 5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.layer-body p { font-size: 13.5px; color: var(--ink-3); line-height: 1.7; }
.layer-meta { display: flex; gap: 18px; margin-top: 11px; flex-wrap: wrap; }
.layer-meta div { font-size: 12.5px; color: var(--ink-3); }
.layer-meta b { display: block; color: var(--ink); font-weight: 700; font-size: 13.5px; }

/* ============================ EVIDENCE 5-SET ============================ */
.ev-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.ev {
  border: 1px solid var(--line); border-radius: var(--r); padding: 16px 15px; background: var(--surface);
  position: relative; overflow: hidden;
}
.ev::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--line-2); }
.ev.ok::before { background: var(--ok); }
.ev.warn::before { background: var(--warn); }
.ev-n { font-size: 11px; font-weight: 800; color: var(--ink-4); letter-spacing: .1em; }
.ev h5 { font-size: 13.5px; margin: 6px 0 6px; line-height: 1.4; }
.ev p { font-size: 12px; color: var(--ink-3); line-height: 1.6; }

/* ============================ RISK LIST ============================ */
.risk { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); align-items: flex-start; }
.risk-lv { width: 4px; border-radius: 4px; align-self: stretch; flex-shrink: 0; }
.risk.high .risk-lv { background: var(--err); }
.risk.mid .risk-lv { background: var(--warn); }
.risk.low .risk-lv { background: var(--ok); }
.risk h5 { font-size: 14px; margin-bottom: 4px; }
.risk p { font-size: 13px; color: var(--ink-3); line-height: 1.65; }
.risk .fix { font-size: 12.5px; color: var(--ink-2); margin-top: 7px; padding-top: 7px; border-top: 1px dashed var(--line); }
.risk .fix b { color: var(--pink); }

/* ============================ AI DISCLOSE ============================ */
.ai-box { border: 1.5px dashed var(--indigo); border-radius: var(--r-lg); padding: 22px; background: var(--indigo-050); }
.ai-box h4 { font-size: 15px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.ai-box p { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.ai-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.ai-pr { background: var(--surface); border-radius: var(--r); padding: 14px 15px; border: 1px solid var(--line); }
.ai-pr b { display: block; font-size: 13.5px; margin-bottom: 4px; }
.ai-pr span { font-size: 12px; color: var(--ink-3); line-height: 1.6; }

/* author vs owner */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.two-col > div { padding: 16px 18px; }
.two-col > div:first-child { border-right: 1px solid var(--line-2); background: #fbfbfc; }
.two-col .tc-hd { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; }
.two-col .tc-hd b { font-size: 13.5px; }
.two-col .tc-hd span { font-size: 11px; color: var(--ink-4); }
.two-col p { font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.two-col .tc-arrow { display: grid; place-items: center; font-size: 15px; color: var(--ink-4); }

/* timeline bar (流程条) */
.flowbar { display: flex; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.flowbar > div { flex: 1; padding: 18px 16px; border-right: 1px solid var(--line); position: relative; }
.flowbar > div:last-child { border-right: 0; }
.flowbar .fb-t { font-size: 11.5px; color: var(--ink-4); letter-spacing: .06em; text-transform: uppercase; }
.flowbar .fb-v { font-size: 14px; font-weight: 700; margin-top: 5px; }
.flowbar .fb-s { font-size: 12px; color: var(--ink-3); margin-top: 3px; line-height: 1.55; }
.flowbar .fb-dot { position: absolute; top: 14px; right: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.flowbar .fb-dot.on { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); }
.flowbar .fb-dot.warn { background: var(--warn); box-shadow: 0 0 0 4px var(--warn-bg); }

/* ============================ 保留 ============================ */
.cmp-col, .layer, .ev, .risk { break-inside: avoid; }

.toast-wrap { position: fixed; right: 22px; bottom: 22px; z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--ink); color: #fff; padding: 13px 17px; border-radius: 11px;
  box-shadow: var(--sh-3); font-size: 13.5px; font-weight: 600;
  display: flex; align-items: center; gap: 10px; animation: slide .28s cubic-bezier(.2,.9,.3,1.2);
  max-width: 380px;
}
.toast .tk { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 12px; }
.toast.ok .tk { background: var(--ok); }
.toast.err .tk { background: var(--err); }
.toast.info .tk { background: var(--indigo); }
@keyframes slide { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { font-size: 42px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .flow::before { display: none; }
  .wiz { grid-template-columns: 1fr; gap: 26px; }
  .wiz-rail {
    position: static; display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 6px; overflow: visible; padding-bottom: 0;
  }
  .wiz-step {
    flex-direction: column; gap: 6px; padding: 0; min-width: 0;
    align-items: center; text-align: center;
  }
  .wiz-step::after { display: none; }
  .wiz-dot { width: 30px; height: 30px; font-size: 12.5px; }
  .wiz-txt span { display: none; }
  .wiz-txt b { font-size: 11.5px; line-height: 1.35; }
  .mini { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-desk { display: none; }
  .hero h1 { font-size: 33px; }
  .sec-head h2 { font-size: 27px; }
  .sec { padding: 58px 0; }
  .g2, .g3, .g4, .choice-2, .choice-3, .frow-2, .frow-3, .frow-12-8 { grid-template-columns: 1fr; }
  .formbox { padding: 22px; }
  .band { padding: 34px 26px; }
  .band h2 { font-size: 24px; }
  .cert-grid { grid-template-columns: 1fr; }
  .status-hero { flex-wrap: wrap; }
  .status-hero .sh-r { margin-left: 0; text-align: left; }
  .foot-grid { grid-template-columns: 1fr; }
  .wiz-rail { grid-template-columns: repeat(5, 1fr); gap: 3px; }
  .wiz-txt b { font-size: 10px; }
  .wiz-dot { width: 26px; height: 26px; font-size: 11.5px; }
  .lib-cover { height: 108px; }
}
