/*
 * 智架 ListWizard public site. Colours, type and spacing come from
 * /static/design/tokens.css; this file only lays them out.
 * No external fonts or scripts: Google and most foreign CDNs are blocked in mainland China.
 */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--fg);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--fg);
  margin: 0;
  font-weight: 700;
}
.nowrap { white-space: nowrap; }

/*
 * Line breaking. Headings and checkmarks balance their lines; running text avoids a last
 * line of one or two characters. Chinese short text (headings, checkmarks, nav, buttons,
 * eyebrows) breaks only at a space, at punctuation, or at a <wbr> phrase mark from the copy
 * (copy.py WBR) - never inside a word - and a run too long for its line may still break
 * rather than overflow (break-word, not anywhere: balance counts every anywhere break as a
 * place to cut and splits words to even the lines).
 */
h1, h2, h3, .checks li, .eyebrow, .fine { text-wrap: balance; }
p, li, dd, figcaption, td, .card-desc { text-wrap: pretty; }
.lang-zh :is(h1, h2, h3, .checks li, .eyebrow, .fine, .footer-brand p, .nav-panel-desc, .pill, .btn, .text-link, .nav-link,
  .nav-panel-title, .mobile-panel a, .mobile-group, .footer-h, .crumbs, .chip) {
  word-break: keep-all;
  overflow-wrap: break-word;
}
.lang-zh h1, .lang-zh h2, .lang-zh h3 { letter-spacing: 0; }
p { margin: 0; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--fg); color: var(--surface); padding: 8px 12px; border-radius: var(--radius);
}
.skip:focus { left: 8px; color: var(--surface); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: 820px; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px;
  border-radius: var(--radius); border: 1px solid transparent;
  font: 600 14px/1 var(--font-sans);
  white-space: nowrap; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--accent-fg); box-shadow: 0 1px 2px rgba(37, 99, 235, .25), inset 0 1px 0 rgba(255,255,255,.12); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-fg); }
.btn-ghost { background: var(--surface); color: var(--fg); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--fg-subtle); color: var(--fg); background: var(--surface-2); }
.btn-cta { background: var(--cta); color: var(--cta-fg); }
.btn-cta:hover { background: #ffc21a; color: var(--cta-fg); }
.btn-band-ghost { color: var(--band-fg); border-color: rgba(232, 237, 247, .35); background: transparent; }
.btn-band-ghost:hover { color: #fff; border-color: rgba(232, 237, 247, .7); }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(2px); }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.text-link .arrow { transition: transform .15s; }
.text-link:hover .arrow { transform: translateX(2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; height: 64px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand:hover { color: var(--fg); }
.brand-en { color: var(--fg-muted); font-weight: 600; font-size: 15px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 10px; border-radius: var(--radius);
  color: var(--fg-muted); font: 500 14px/1.2 var(--font-sans);
  background: none; border: 0; cursor: pointer;
}
.nav-link:hover { color: var(--fg); background: var(--surface-2); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang-switch { color: var(--fg-muted); font-size: 13px; font-weight: 500; padding: 6px 8px; border: 1px solid var(--border); border-radius: var(--radius-pill); }
.lang-switch:hover { color: var(--fg); border-color: var(--border-strong); }

.nav-drop { position: relative; }
.nav-panel {
  position: absolute; left: -12px; top: 100%;
  width: 560px; padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-drop::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.nav-drop:hover .nav-panel,
.nav-drop:focus-within .nav-panel { opacity: 1; visibility: visible; transform: translateY(8px); }
.nav-panel-item { display: block; padding: 10px 12px; border-radius: var(--radius); }
.nav-panel-item:hover { background: var(--surface-2); }
.nav-panel-title { display: block; color: var(--fg); font-weight: 600; font-size: 14px; }
.nav-panel-desc { display: block; color: var(--fg-muted); font-size: 13px; line-height: 1.45; margin-top: 2px; }

.mobile-menu { display: none; margin-left: auto; }
.mobile-menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-content: center; gap: 4px; border-radius: var(--radius); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { display: block; width: 18px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .2s, opacity .2s; }
.mobile-menu[open] summary span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu[open] summary span:nth-child(2) { opacity: 0; }
.mobile-menu[open] summary span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-panel {
  position: absolute; left: 0; right: 0; top: 64px;
  max-height: calc(100vh - 64px); overflow-y: auto;
  padding: 12px 16px 24px; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.mobile-panel a { padding: 10px 4px; color: var(--fg); font-weight: 500; }
.mobile-panel a.btn { color: var(--accent-fg); margin-top: 12px; padding: 0 18px; }
.mobile-panel hr { border: 0; border-top: 1px solid var(--border); margin: 8px 0; width: 100%; }
.mobile-group { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-subtle); padding: 4px; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 88px;
  background:
    radial-gradient(1000px 420px at 85% -10%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--accent-soft) 55%, var(--surface)) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-plain { padding: 72px 0 48px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); line-height: 1.1; letter-spacing: -.025em; margin-top: 18px; }
.lang-zh .hero h1 { letter-spacing: -.01em; line-height: 1.2; }
.lead { margin-top: 18px; font-size: 18px; line-height: 1.65; color: var(--fg-muted); max-width: 40em; }
.center .lead, .lead.center { margin-left: auto; margin-right: auto; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills.center { justify-content: center; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.lang-en .pill { text-transform: uppercase; }
.pill-accent { background: var(--accent-soft); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.pill-live { background: var(--success-soft); color: var(--success); border: 1px solid color-mix(in srgb, var(--success) 25%, transparent); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-row.center { justify-content: center; }
.fine { margin-top: 12px; font-size: 13px; color: var(--fg-subtle); }

.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--fg); }
.checks .check { flex: none; color: var(--success); margin-top: 2px; }
.checks-grid { grid-template-columns: 1fr 1fr; column-gap: 24px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.checks-2col { grid-template-columns: 1fr 1fr; column-gap: 24px; }

.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--fg-subtle); margin-bottom: 14px; }
.crumbs a { color: var(--fg-muted); }

/* ---------- Screenshots ---------- */
.shot { margin: 0; }
.shot-frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 6px;
  box-shadow: var(--shadow-lg);
}
.shot-frame img { border-radius: 8px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: var(--surface-2); }
.shot figcaption { margin-top: 12px; font-size: 13px; color: var(--fg-subtle); text-align: center; }
.hero-media .shot-frame { transform: perspective(1800px) rotateY(-4deg) rotateX(1deg); transform-origin: left center; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section-title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.18; letter-spacing: -.02em; }
.section-title.small { font-size: 20px; margin-bottom: 16px; }
.section-sub { margin-top: 14px; font-size: 17px; color: var(--fg-muted); line-height: 1.65; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--accent); margin-bottom: 10px; }
.lang-en .eyebrow { text-transform: uppercase; }
.eyebrow a { color: inherit; }

/* Alternating feature rows */
.row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; padding: 48px 0; }
.row + .row { border-top: 1px dashed var(--border); }
.row-flip .row-text { order: 2; }
.row-flip .row-media { order: 1; }
.row-title { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); line-height: 1.25; letter-spacing: -.015em; }
.row-body { margin-top: 14px; color: var(--fg-muted); font-size: 16px; line-height: 1.75; }
.row .checks li { font-size: 14.5px; color: var(--fg-muted); }
.row .text-link { margin-top: 22px; }

.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.more-grid-one { grid-template-columns: minmax(0, 1fr); }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
a.card, .card-link { color: inherit; display: block; }
a.card { transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover, .post-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-1px); }
.more-card { padding: 28px; }
.more-card h3 { font-size: 20px; line-height: 1.3; }
.more-card .text-link { margin-top: 16px; }
.card-desc { margin-top: 8px; color: var(--fg-muted); font-size: 14.5px; line-height: 1.6; }

/* Steps */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 56px; align-items: start; }
.split-head .btn { margin-top: 28px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-num {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: var(--accent-fg); font: 700 14px/1 var(--font-display);
  box-shadow: 0 0 0 5px var(--accent-soft);
}
.step h3 { margin-top: 18px; font-size: 17px; }
.step p { margin-top: 8px; color: var(--fg-muted); font-size: 14.5px; line-height: 1.65; }

/* Security / fact cards */
.security-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.security-card { padding: 24px; }
.security-card h3 { font-size: 16px; line-height: 1.4; }
.security-card p { margin-top: 8px; font-size: 14.5px; color: var(--fg-muted); line-height: 1.65; }
.partner-card { padding: 32px; }
.partner-card p { margin-top: 10px; color: var(--fg-muted); line-height: 1.7; }

/* Flow */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: flow; }
.flow-step { position: relative; padding: 20px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.flow-human { border-color: color-mix(in srgb, var(--warning) 40%, var(--border)); background: color-mix(in srgb, var(--warning-soft) 45%, var(--surface)); }
.flow-num { font: 700 13px/1 var(--font-display); color: var(--fg-subtle); }
.flow-step h3 { margin-top: 10px; font-size: 15.5px; }
.flow-step p { margin-top: 6px; font-size: 13.5px; color: var(--fg-muted); line-height: 1.6; }
.flow-tag { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--success-soft); color: var(--success); }
.flow-human .flow-tag { background: var(--warning-soft); color: var(--warning); }
.carriers { margin-top: 48px; }
.carriers-title { font-size: 18px; margin-bottom: 14px; }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.table, .prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td, .prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table thead th, .prose thead th { background: var(--surface-2); font-weight: 600; color: var(--fg); font-size: 13px; }
.table tbody tr:last-child > *, .prose tbody tr:last-child > * { border-bottom: 0; }
.table tbody th { font-weight: 600; white-space: nowrap; }
.table td { color: var(--fg-muted); }

/* Posts */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { transition: border-color .15s, box-shadow .15s, transform .15s; }
.post-card .card-link { padding: 24px; height: 100%; display: flex; flex-direction: column; }
.post-card .card-title { font-size: 17.5px; line-height: 1.4; color: var(--fg); }
.post-card .card-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; font-size: 12.5px; color: var(--fg-subtle); }

/* Pricing */
.pricing-teaser { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 40px; align-items: center; padding: 48px; background: linear-gradient(135deg, var(--surface) 0%, color-mix(in srgb, var(--accent-soft) 60%, var(--surface)) 100%); }
.pricing-teaser-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); max-width: 960px; margin: 0 auto; overflow: hidden; box-shadow: var(--shadow); }
.plan-head { padding: 40px; border-right: 1px solid var(--border); background: var(--bg); display: flex; flex-direction: column; gap: 12px; }
.plan-name { font-size: 18px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; }
.plan-amount { font: 700 52px/1 var(--font-display); letter-spacing: -.03em; }
.plan-unit { color: var(--fg-muted); font-size: 14px; }
.plan-desc { color: var(--fg-muted); font-size: 15px; margin-bottom: 12px; }
.plan-body { padding: 40px; }
.plan-body h3 { font-size: 15px; color: var(--fg-muted); font-weight: 600; }

/* FAQ */
.faq { margin-top: 40px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 16.5px; font-weight: 600; line-height: 1.45; }
.faq-icon { flex: none; width: 20px; height: 20px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 4px; right: 4px; top: 9px; height: 2px; background: var(--fg-muted); border-radius: 2px; transition: transform .2s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-item p { padding: 0 36px 22px 0; color: var(--fg-muted); line-height: 1.75; font-size: 15px; }

/* Closing band */
.band {
  padding: 96px 0;
  color: var(--band-fg);
  background:
    radial-gradient(800px 360px at 15% 0%, rgba(91, 140, 255, .28), transparent 70%),
    radial-gradient(700px 300px at 90% 100%, rgba(245, 179, 1, .10), transparent 70%),
    var(--band);
}
.band h2 { color: #fff; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.15; letter-spacing: -.025em; max-width: 760px; margin: 0 auto; }
.band p { margin: 18px auto 0; max-width: 560px; font-size: 17px; line-height: 1.7; color: rgba(232, 237, 247, .78); }
.band .fine { color: rgba(232, 237, 247, .55); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid var(--border); color: var(--fg-muted); font-size: 14px; font-weight: 500; background: var(--surface); }
.chip:hover { color: var(--fg); border-color: var(--border-strong); }
.chip-on { background: var(--fg); color: var(--surface); border-color: var(--fg); }
.chip-on:hover { color: var(--surface); }

/* Contact */
.contact-grid { display: grid; gap: 20px; }
.contact-card { padding: 28px; }
.contact-card h2 { font-size: 15px; color: var(--fg-muted); font-weight: 600; margin-bottom: 10px; }
.contact-email { font: 600 20px/1.3 var(--font-display); word-break: break-all; }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

/* ---------- Blog ---------- */
.blog-head { padding: 40px 0 8px; }
.blog-container { max-width: 1060px; }
.blog-head h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); letter-spacing: -.025em; line-height: 1.12; margin-top: 40px; }
.blog-head .lead { margin-bottom: 28px; }
.promo-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px; border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--accent-soft) 60%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border));
  font-size: 14px; color: var(--fg-muted);
}
.promo-strip strong { color: var(--fg); }

.article { padding: 32px 0 96px; }
.article-col { max-width: 740px; margin: 0 auto; padding: 0 24px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-muted); font-size: 14px; margin-bottom: 20px; }
.article-head { margin-top: 40px; }
.article-head h1 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem); line-height: 1.15; letter-spacing: -.025em; }
.lang-zh .article-head h1 { line-height: 1.3; letter-spacing: -.005em; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--fg-muted); }
.author-dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); font-size: 12px; font-weight: 700; }
.article-lead { margin-top: 22px; font-size: 18px; line-height: 1.7; color: var(--fg-muted); padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.toc { margin: 28px 0 0; padding: 20px 24px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.toc-title { font-size: 13px; font-weight: 700; color: var(--fg-muted); margin-bottom: 8px; }
.lang-en .toc-title { text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 15px; }
.toc a { color: var(--fg); }
.toc a:hover { color: var(--accent); }

.prose { margin-top: 32px; font-size: 17px; line-height: 1.8; color: var(--fg); }
.lang-zh .prose { line-height: 1.9; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.45em; line-height: 1.3; margin-top: 2.2em; letter-spacing: -.015em; }
.prose h3 { font-size: 1.15em; line-height: 1.4; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--fg-subtle); }
.prose strong { font-weight: 650; }
.prose code { font-family: var(--font-mono); font-size: .86em; background: var(--surface-2); padding: .12em .4em; border-radius: 4px; border: 1px solid var(--border); }
.prose pre { background: var(--surface-sunken); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.prose pre code { background: none; border: 0; padding: 0; }
/* A ```text block is words to copy (a sample answer, an address): wrapped, not scrolled. */
.prose pre code.language-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.prose blockquote { margin-left: 0; padding: 14px 20px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius) var(--radius) 0; color: var(--fg); }
.prose blockquote p { margin: 0; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.4em 0; }
.prose .shot { margin: 2em 0; }
/* Step captures of a platform page (content.guide_figure): true size, never cropped. */
.prose .guide-shot { margin: 1.6em 0; text-align: center; }
.guide-shot img { display: inline-block; max-width: 100%; height: auto; border-radius: 8px; box-shadow: var(--shadow-sm); }
.guide-shot figcaption { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--fg-subtle); }
.prose .shot-frame { box-shadow: var(--shadow); }
.prose .table-wrap { font-size: 15px; line-height: 1.6; }
.prose table { font-size: 15px; }
.prose td { color: var(--fg-muted); }

.related { margin-top: 64px; }
.related h2 { font-size: 20px; margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card { padding: 18px; }
.related-card h3 { font-size: 15px; line-height: 1.45; }
.end-cta { margin-top: 48px; padding: 36px; background: var(--bg); }
.end-cta h2 { font-size: 24px; letter-spacing: -.015em; }
.end-cta > p { margin-top: 10px; color: var(--fg-muted); line-height: 1.7; }
.end-cta .cta-row { margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 64px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer-brand p { margin-top: 14px; color: var(--fg-muted); max-width: 300px; line-height: 1.65; }
.footer-h { font: 600 14px/1.4 var(--font-sans); color: var(--fg); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { color: var(--fg-muted); }
.site-footer ul a:hover { color: var(--fg); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; color: var(--fg-subtle); font-size: 13px; }
.footer-bottom a { color: var(--fg-subtle); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .flow { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .main-nav, .header-actions { display: none; }
  .mobile-menu { display: block; }
  .hero-grid, .row, .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .row-flip .row-text { order: 0; }
  .row-flip .row-media { order: 0; }
  .hero-media .shot-frame { transform: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-teaser { grid-template-columns: minmax(0, 1fr); padding: 32px; }
  .plan { grid-template-columns: minmax(0, 1fr); }
  .plan-head { border-right: 0; border-bottom: 1px solid var(--border); }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .article-col { padding: 0 16px; }
  .hero { padding: 40px 0 56px; }
  .hero-plain { padding: 48px 0 24px; }
  .lead { font-size: 16.5px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .row { padding: 32px 0; gap: 28px; }
  .checks-grid, .checks-2col { grid-template-columns: minmax(0, 1fr); }
  .cta-row .btn { flex: 1 1 100%; }
  .more-grid, .card-grid, .related-grid { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .head-row { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .promo-strip { flex-direction: column; align-items: flex-start; }
  .plan-head, .plan-body, .end-cta { padding: 24px; }
  .prose { font-size: 16px; }
  .band { padding: 72px 0; }
  .faq-item p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .btn-primary { box-shadow: none; }
  :root:not([data-theme='light']) .shot-frame { background: var(--surface-2); }
}

/* Hero headline: one phrase per line where the width allows it. */
.nowrap-md { display: inline-block; }
@media (max-width: 400px) { .nowrap-md { display: inline; } }
.container > .section-title { margin-bottom: 32px; }
.container > .section-title.small { margin-bottom: 16px; }
.toc ol { list-style: none; padding-left: 0; }

/*
 * Tables. A first column of names (a carrier, a rule, a field: the feature-page table, and
 * any article table content.py marks .names) stays on one line; a zh cell breaks only
 * between phrases. On a narrow screen a table of three or more columns keeps a readable
 * width and scrolls inside its own .table-wrap instead of squeezing every cell to a word
 * per line or widening the page.
 */
:is(.table, .prose table) :is(th, td):first-child { min-width: 5.5em; }
.lang-en :is(.table, .prose table) :is(th, td):first-child { min-width: 7em; }
:is(.table, .prose table.names) :is(th, td):first-child { white-space: nowrap; }
.lang-zh :is(.table, .prose table) :is(thead th, td:first-child, th:first-child) { word-break: keep-all; }
/* Body cells are sentences: keep-all would make each comma-free clause unbreakable and
   push a three-column article table past its 700px column even on a desktop. */
.lang-zh .prose table td:not(:first-child) { word-break: normal; line-break: strict; }
@media (max-width: 640px) {
  .table-wrap > table:has(tr > :nth-child(3)) { min-width: 36em; }
}
.shot-frame picture { display: block; }

/* ---------- Home hero: copy centred, one real crop under it ---------- */
.hero-home { padding-bottom: 72px; }
.hero-stack { display: flex; flex-direction: column; align-items: center; }
.hero-stack .hero-text { max-width: 860px; }
.hero-stack .hero-text .lead { margin-left: auto; margin-right: auto; }
.hero-checks {
  grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; row-gap: 12px;
  margin: 36px auto 0; max-width: 1000px; width: 100%;
}
.hero-checks li { font-size: 14.5px; }
.hero-shot { margin-top: 48px; width: 100%; display: flex; justify-content: center; }

/* ---------- Real element crops: shown at their own CSS size, never stretched ---------- */
.shot-crop { display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.shot-crop .shot-frame { max-width: 100%; width: fit-content; padding: 0; overflow: hidden; }
.shot-crop .shot-frame img { aspect-ratio: auto; object-fit: fill; max-width: 100%; height: auto; border-radius: 0; background: var(--surface); }
.shot-crop figcaption { max-width: 60ch; }
.crop-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 40px; margin-top: 8px; }
.crop-row-2 > .shot-crop { flex: 1 1 420px; }

/* ---------- Points: 「**关键词**：一句话」 ---------- */
.points li strong { color: var(--fg); font-weight: 650; }
.row .points li, .detail-card .points li { color: var(--fg-muted); }
.hero-points { margin-top: 24px; }
.hero-points li { font-size: 15px; color: var(--fg-muted); }
.row-media { min-width: 0; }

/* ---------- Feature detail grid (text only; the visuals are the cards and crops) ---------- */
.section-flush { padding-top: 24px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.detail-card { padding: 32px; }
.detail-title { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); line-height: 1.3; letter-spacing: -.01em; }
.detail-sub { margin-top: 10px; color: var(--fg-muted); line-height: 1.7; }
.detail-card .points { margin-top: 16px; }
.detail-card .points li { font-size: 14.5px; }

/* ---------- Component cards ---------- */
.ui { margin: 0; min-width: 0; }
.ui figcaption { margin-top: 12px; font-size: 13px; color: var(--fg-subtle); text-align: center; }
.ui-card {
  --c-noon: var(--warning); --c-amazon: var(--info); --c-total: var(--accent);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; font-size: 14px; line-height: 1.45; color: var(--fg);
}
.ui-head { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.ui-dots { display: inline-flex; gap: 5px; }
.ui-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.ui-title { font-weight: 650; font-size: 14.5px; }
.ui-chip { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--fg-muted); padding: 2px 10px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ui-body { padding: 18px; }
.ui-card .num, .ui-card .uc-num, .ui-card .uc-big, .ui-card td { font-variant-numeric: tabular-nums; }
.ui-card small { font-size: .72em; font-weight: 600; color: var(--fg-muted); }
.uc-label { font-size: 12.5px; font-weight: 600; color: var(--fg-muted); }
.uc-section { margin-top: 18px; margin-bottom: 8px; }
.uc-muted { color: var(--fg-muted); font-size: 13px; }
.uc-sku { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--fg); white-space: nowrap; }
.uc-ref { font-family: var(--font-mono); font-size: 13px; font-weight: 600; }

/* Platform colours: noon amber, Amazon teal, the total in the accent (tokens, so dark mode
   follows). */
.site-tag {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px;
  border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; white-space: nowrap;
  background: var(--surface-2); color: var(--fg-muted); border: 1px solid var(--border);
}
.site-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-noon); }
.site-amazon i { background: var(--c-amazon); }
.site-tag b { color: var(--fg); font-weight: 650; font-variant-numeric: tabular-nums; }
.site-tag.is-hot { background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 30%, transparent); }
.site-tag.is-hot b { color: var(--danger); }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.sw-noon { background: var(--c-noon); }
.sw-amazon { background: var(--c-amazon); }
.sw-total { background: var(--c-total); }

/* sales */
.uc-sales { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px 22px; }
.uc-big { font: 700 30px/1.15 var(--font-display); letter-spacing: -.02em; margin-top: 4px; }
.uc-split { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin: 14px 0 10px; background: var(--surface-2); }
.seg-noon { background: var(--c-noon); }
.seg-amazon { background: var(--c-amazon); }
.uc-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.uc-legend li { display: flex; align-items: center; gap: 8px; }
.uc-legend b { margin-left: auto; font-weight: 650; font-variant-numeric: tabular-nums; }
.uc-legend-inline { display: flex; gap: 12px; color: var(--fg-muted); font-size: 12px; }
.uc-legend-inline li { gap: 5px; }
.uc-site-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.uc-site-list li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.uc-site-list li:last-child { border-bottom: 0; }
.uc-store { color: var(--fg-subtle); font-size: 12.5px; }
.uc-site-list b { margin-left: auto; font-weight: 650; white-space: nowrap; }
.uc-trend { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--border); }
.uc-trend-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.uc-chart { display: block; width: 100%; height: 96px; margin-top: 10px; overflow: visible; }
.uc-chart .grid { stroke: var(--border); stroke-width: 1; vector-effect: non-scaling-stroke; }
.uc-chart .ln { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.uc-chart .ln-total { stroke: var(--c-total); stroke-width: 2.5; }
.uc-chart .ln-noon { stroke: var(--c-noon); }
.uc-chart .ln-amazon { stroke: var(--c-amazon); }
.uc-axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11.5px; color: var(--fg-subtle); font-variant-numeric: tabular-nums; }

/* ads */
.uc-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.uc-kpi { padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.uc-num { font: 700 20px/1.2 var(--font-display); letter-spacing: -.01em; margin-top: 4px; white-space: nowrap; }
.uc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.uc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.uc-table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--fg-muted); padding: 8px; border-bottom: 1px solid var(--border); background: var(--surface-2); white-space: nowrap; }
.uc-table td { padding: 9px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.uc-table tbody tr:last-child td { border-bottom: 0; }
.uc-table .num { text-align: right; white-space: nowrap; }
.uc-table td.is-hot b, .uc-days.is-risk b, .uc-days.is-gap b { color: var(--danger); }
.uc-days.is-safe b { color: var(--success); }
.uc-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }

/* profit */
.uc-profit-note { margin-bottom: 12px; }
.uc-profit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.uc-pcol { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; }
.uc-pcol-head { margin-bottom: 8px; }
.uc-wf { margin: 0; display: grid; }
.wf-row { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 13.5px; }
.wf-row dt { color: var(--fg-muted); }
.wf-row dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.wf-bar { position: absolute; left: 0; bottom: 1px; height: 3px; border-radius: 2px; background: color-mix(in srgb, var(--danger) 55%, transparent); }
.wf-price { border-bottom: 1px solid var(--border); }
.wf-price dt, .wf-price dd { color: var(--fg); font-weight: 650; }
.wf-net { border-top: 1px solid var(--border-strong); margin-top: 4px; padding-top: 8px; }
.wf-net dt { color: var(--fg); font-weight: 650; }
.wf-net dd { color: var(--success); font-size: 17px; font-weight: 700; }
.uc-margin { margin-top: 6px; font-size: 12.5px; color: var(--fg-muted); text-align: right; }
.uc-margin b { color: var(--success); }

/* ship */
.uc-tickets { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.uc-ticket { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.uc-ticket-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.uc-ticket > .uc-muted { margin-top: 6px; }
.uc-steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.uc-step { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 7px; align-items: center; padding: 8px 10px; border-radius: var(--radius); background: var(--success-soft); }
.uc-step-icon { grid-row: span 2; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--success); color: var(--surface); }
.uc-step.is-live { background: var(--accent-soft); }
.uc-step.is-live .uc-step-icon { background: transparent; border: 2px solid var(--accent); }
.uc-step.is-live .uc-step-icon i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.uc-step-name { font-size: 12.5px; font-weight: 650; }
.uc-step-val { font-size: 12px; color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }

/* stock */
.uc-state { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; white-space: nowrap; }
.uc-state.is-safe { background: var(--success-soft); color: var(--success); }
.uc-state.is-risk { background: var(--danger-soft); color: var(--danger); }
.uc-state.is-gap { background: var(--warning-soft); color: var(--warning); }
.uc-timeline { margin-top: 4px; }
.uc-tl-sku { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.tl-strip { position: relative; height: 16px; border-radius: 4px; background: var(--surface-2); }
.tl-seg { position: absolute; top: 0; bottom: 0; }
.tl-stock { background: color-mix(in srgb, var(--success) 70%, transparent); }
.tl-gap { background: repeating-linear-gradient(135deg, var(--danger) 0 4px, color-mix(in srgb, var(--danger) 35%, transparent) 4px 8px); }
.tl-today { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--fg); }
.tl-arrival { position: absolute; top: -5px; width: 14px; height: 14px; margin-left: -7px; margin-top: 6px; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--accent); }
.tl-notes, .tl-ticks { position: relative; height: 20px; font-size: 11.5px; }
.tl-notes { margin-top: 6px; }
.tl-notes span, .tl-ticks span { position: absolute; top: 0; white-space: nowrap; }
.tl-note-gap { color: var(--danger); font-weight: 650; transform: translateX(-30%); }
.tl-note-arrival { color: var(--accent); font-weight: 650; transform: translateX(16px); }
.tl-ticks { color: var(--fg-subtle); font-variant-numeric: tabular-nums; }
.tl-ticks span { transform: translateX(-50%); }
.tl-ticks span:first-child { transform: none; font-weight: 650; color: var(--fg); }

/* bill */
.ui-bill .ui-body > .uc-muted { margin-bottom: 10px; }
.uc-table tr.is-bad td { background: color-mix(in srgb, var(--danger-soft) 70%, transparent); }
.uc-expected { display: block; font-size: 12px; color: var(--fg-subtle); text-decoration: line-through; }
.uc-bill-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 13.5px; }
.uc-bill-foot b { font-variant-numeric: tabular-nums; }

@media (max-width: 960px) {
  .hero-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hero-checks { grid-template-columns: minmax(0, 1fr); max-width: 30em; }
  .hero-shot { margin-top: 32px; }
  .ui-body { padding: 14px; }
  .uc-sales { grid-template-columns: minmax(0, 1fr); }
  .uc-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uc-profit { grid-template-columns: minmax(0, 1fr); }
  .uc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-card { padding: 24px; }
  .crop-row { gap: 28px; }
}
.lang-zh :is(.ui-title, .uc-label, .site-tag, .uc-state, .uc-step-name, .wf-row dt, .detail-title) { word-break: keep-all; }

/* A flipped row keeps the wider column for its media. */
.row-flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
/* Typesetting may split a label into several inline boxes; flex gap would space them apart. */
.btn, .text-link { gap: 0; }
.btn .arrow, .text-link .arrow { margin-left: 8px; }
.btn > svg:first-child { margin-right: 8px; }
.lang-zh .hero-stack .lead { word-break: keep-all; }
.uc-sales { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.uc-legend b, .uc-legend span { white-space: nowrap; }
.uc-steps { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
@media (max-width: 960px) { .row-flip { grid-template-columns: minmax(0, 1fr); } }
.uc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.uc-sales { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
/* Crops stack, one per line, each at its own size: side by side they shrink below readable. */
.crop-row { flex-direction: column; align-items: center; gap: 56px; }
.crop-row-2 > .shot-crop { flex: none; }

/* Inline-flex labels: the typesetter may wrap the tail of a short label in .nowrap, which
   would make the head and the tail two flex items with the container's gap between them
   (「库 存与断货」). display: contents puts the text back into one anonymous flex item. */
:is(.btn, .text-link, .pill, .nav-link, .back-link, .chip, .uc-state) > .nowrap { display: contents; }

/* ---------- ICP filing mode (temporary) ----------
   The reduced landing page and its centered footer (`app/routers/public.py::
   ICP_FILING_MODE`). Reverted together with the filing. */

/* Hero: the CSS mock of the app's own batch table — sample values only. */
.icp-mock { padding: 0; overflow: auto; }
.icp-mock-bar { display: flex; gap: 6px; padding: 11px 14px 9px; border-bottom: 1px solid var(--border); }
.icp-mock-bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.icp-mock-bar span:first-child { background: var(--accent); }
.icp-mock-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.icp-mock-table th { text-align: left; font-weight: 600; color: var(--fg-muted); padding: 11px 14px 8px; border-bottom: 1px solid var(--border); background: var(--surface-2); white-space: nowrap; }
.icp-mock-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.icp-mock-table tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  /* Keep the four nowrap columns inside a phone's frame without clipping. */
  .icp-mock-table { font-size: 12px; }
  .icp-mock-table th { padding: 9px 10px 7px; }
  .icp-mock-table td { padding: 10px; }
  .icp-mock-bar { padding: 9px 10px 8px; }
}
.icp-pill { display: inline-block; padding: 2px 9px; border-radius: var(--radius-pill); font-size: 12px; background: var(--surface-2); color: var(--fg-muted); }
.icp-pill-ok { background: var(--success-soft); color: var(--success); }
.icp-pill-mid { background: var(--warning-soft); color: var(--warning); }

/* Module cards: one icon chip, one title, plain points. */
.icp-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.icp-card h3 { font-size: 19px; }
.icp-card .checks { margin-top: 12px; gap: 8px; }
.icp-card .checks li { font-size: 14.5px; color: var(--fg-muted); }

/* Footer, filing mode: one centered column. */
.footer-icp { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer-icp > p { margin: 0; }
.footer-icp-company { color: var(--fg-muted); }
.footer-icp a { color: var(--fg-muted); }
.footer-icp-links { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--fg-subtle); }
.footer-icp-bottom { flex-direction: column; justify-content: center; gap: 8px; text-align: center; }
