/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V4 */
:root {
  --ink: #162019;
  --muted: #647067;
  --paper: #f3f0e7;
  --surface: #fffdf8;
  --soft: #ebe8de;
  --line: rgba(22, 32, 25, .14);
  --lime: #caff54;
  --lime-deep: #8fcf18;
  --orange: #ff6d3a;
  --mint: #def6e5;
  --blue: #dfeaff;
  --shadow: 0 24px 80px rgba(22, 32, 25, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% -4%, rgba(202,255,84,.32), transparent 27rem),
    radial-gradient(circle at -8% 32%, rgba(255,109,58,.08), transparent 31rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 82px 0; }
.section.compact { padding: 54px 0; }

.notice {
  padding: 8px 12px;
  color: #405044;
  background: rgba(202,255,84,.42);
  border-bottom: 1px solid rgba(22,32,25,.1);
  text-align: center;
  font-size: 11px;
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 24px; font-weight: 850; letter-spacing: -.055em; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50% 50% 50% 15%; background: var(--lime); font-size: 13px; letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 27px; }
.nav-links a { position: relative; color: #566158; text-decoration: none; font-size: 13px; font-weight: 650; }
.nav-links a.active, .nav-links a:hover { color: var(--ink); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 2px; background: var(--ink); }

.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 12px; text-decoration: none; background: transparent; cursor: pointer; font-size: 13px; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--ink); box-shadow: 0 12px 28px rgba(22,32,25,.16); }
.button.lime { color: var(--ink); border-color: var(--lime); background: var(--lime); }
.button.small { min-height: 38px; padding: 0 14px; font-size: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #435047; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255,109,58,.11); }
.eyebrow.light { color: var(--lime); }

.hero { display: grid; grid-template-columns: 1.02fr .98fr; gap: 68px; align-items: center; padding: 84px 0 92px; }
.hero h1, .page-hero h1 { margin: 20px 0 24px; font-size: clamp(52px, 6.4vw, 82px); line-height: .98; letter-spacing: -.075em; font-weight: 780; }
.hero h1 em, .page-hero h1 em { position: relative; z-index: 0; font-style: normal; white-space: nowrap; }
.hero h1 em::after, .page-hero h1 em::after { content: ""; position: absolute; z-index: -1; left: -2%; right: -2%; bottom: .03em; height: .34em; border-radius: 999px; background: var(--lime); transform: rotate(-1deg); }
.hero-copy { max-width: 650px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 26px; color: var(--muted); font-size: 12px; }
.trust-row span::before { content: "✓"; margin-right: 6px; color: #4c740f; font-weight: 900; }

.product-window { overflow: hidden; border: 1px solid rgba(22,32,25,.18); border-radius: 24px; background: #f9f8f3; box-shadow: 0 35px 90px rgba(22,32,25,.17); transform: rotate(1.2deg); }
.window-bar { height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.7); }
.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #ced2cb; }
.window-label { color: var(--muted); font-size: 10px; font-weight: 700; }
.app-body { display: grid; grid-template-columns: 42% 58%; min-height: 470px; }
.conversation { padding: 22px 16px; border-right: 1px solid var(--line); background: #f3f1eb; }
.chat-meta { margin-bottom: 25px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bubble { margin-bottom: 12px; padding: 12px 13px; border-radius: 14px; font-size: 11px; line-height: 1.55; }
.bubble.user { margin-left: 18px; color: white; background: var(--ink); border-bottom-right-radius: 4px; }
.bubble.ai { margin-right: 9px; border: 1px solid var(--line); background: white; border-bottom-left-radius: 4px; }
.work-log { display: grid; gap: 8px; margin-top: 18px; }
.work-log div { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 9px; }
.work-log b { color: #456a11; }
.preview-pane { display: flex; flex-direction: column; background: white; }
.preview-toolbar { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 9px; }
.status-ok { color: #315d08; background: var(--mint); border-radius: 999px; padding: 5px 8px; font-weight: 800; }
.site-preview { flex: 1; padding: 17px; background: #e8e7df; }
.mini-site { height: 100%; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 10px 24px rgba(22,32,25,.11); }
.mini-nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 15px; border-bottom: 1px solid #eceeea; }
.mini-logo { font-size: 8px; font-weight: 900; }
.mini-links { display: flex; gap: 8px; color: #777; font-size: 5px; }
.mini-hero { padding: 28px 20px 22px; color: white; background: linear-gradient(130deg,#183025,#31543d); }
.mini-hero small { color: var(--lime); font-size: 5px; text-transform: uppercase; letter-spacing: .14em; }
.mini-hero h3 { max-width: 190px; margin: 8px 0 9px; font-size: 20px; line-height: 1.05; letter-spacing: -.05em; }
.mini-hero p { max-width: 190px; margin: 0; color: rgba(255,255,255,.64); font-size: 6px; line-height: 1.55; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 14px; }
.mini-card { min-height: 78px; padding: 9px; border: 1px solid #e4e7e2; border-radius: 6px; }
.mini-card i { display: block; width: 22px; height: 22px; margin-bottom: 9px; border-radius: 5px; background: var(--lime); }
.mini-card b { display: block; margin-bottom: 4px; font-size: 6px; }
.mini-card span { display: block; height: 3px; margin-top: 3px; border-radius: 4px; background: #e6e9e4; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 32px; }
.section-head h2 { max-width: 720px; margin: 0 0 9px; font-size: clamp(34px,4vw,51px); line-height: 1.06; letter-spacing: -.058em; }
.section-head p { max-width: 560px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.value-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.value-card { min-height: 250px; padding: 26px; border: 1px solid var(--line); border-radius: 21px; background: rgba(255,253,248,.76); }
.value-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 48px; border-radius: 12px; background: var(--lime); font-size: 18px; }
.value-card h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: -.03em; }
.value-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.step { padding: 28px; border-top: 1px solid var(--ink); }
.step-no { display: block; margin-bottom: 40px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.step h3 { margin: 0 0 10px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.demo-strip { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: center; padding: 46px; color: white; border-radius: 28px; background: var(--ink); }
.demo-strip h2 { margin: 13px 0 16px; font-size: 42px; line-height: 1.06; letter-spacing: -.055em; }
.demo-strip p { color: rgba(255,255,255,.62); line-height: 1.7; }
.demo-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.demo-shot { min-height: 220px; padding: 15px; border-radius: 15px; background: #f7f5ef; transform: rotate(-1.5deg); }
.demo-shot:nth-child(2) { transform: translateY(16px) rotate(1.4deg); }
.shot-site { height: 100%; border-radius: 7px; background: linear-gradient(145deg,#fff 0 45%,#e7efe7 45%); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.shot-site.alt { background: linear-gradient(155deg,#13271e 0 45%,#d9f190 45% 68%,#fff 68%); }

.page-hero { padding: 78px 0 65px; }
.page-hero h1 { max-width: 900px; font-size: clamp(48px,6vw,74px); }
.page-hero p { max-width: 720px; color: var(--muted); font-size: 18px; line-height: 1.7; }

.architecture { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.architecture-card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.architecture-card:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; right: -18px; top: 45px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); font-weight: 900; }
.architecture-card .tag { display: inline-block; margin-bottom: 46px; padding: 6px 9px; border-radius: 999px; background: var(--soft); font-size: 10px; font-weight: 800; }
.architecture-card h3 { margin: 0 0 10px; font-size: 21px; }
.architecture-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.detail-card { padding: 31px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,253,248,.75); }
.detail-card h3 { margin: 0 0 11px; font-size: 23px; letter-spacing: -.035em; }
.detail-card p { margin: 0 0 19px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.plain-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.plain-list li { display: grid; grid-template-columns: 18px 1fr; gap: 9px; font-size: 13px; line-height: 1.45; }
.plain-list li::before { content: "✓"; color: #4f760f; font-weight: 900; }

.case-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.case-tab { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.45); cursor: pointer; font-size: 12px; font-weight: 750; }
.case-tab.active { color: white; border-color: var(--ink); background: var(--ink); }
.case-panel { display: none; }
.case-panel.active { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; }
.case-story { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.case-story h2 { margin: 14px 0 12px; font-size: 32px; letter-spacing: -.045em; }
.case-story p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.prompt { margin: 24px 0; padding: 17px; border-radius: 14px 14px 4px 14px; color: white; background: var(--ink); font-size: 13px; line-height: 1.6; }
.result-list { display: grid; gap: 8px; }
.result-list div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.result-list b { color: #42640d; }
.case-visual { min-height: 520px; padding: 22px; border-radius: 22px; background: #deddd5; }
.large-site { height: 100%; overflow: hidden; border-radius: 12px; background: white; box-shadow: 0 18px 45px rgba(22,32,25,.14); }
.large-nav { height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 25px; border-bottom: 1px solid #eceeea; }
.large-nav strong { font-size: 14px; }
.large-nav span { color: #777; font-size: 10px; }
.large-hero { min-height: 260px; padding: 48px 38px; color: white; background: linear-gradient(135deg,#182d22,#31573f); }
.large-hero.light { color: var(--ink); background: linear-gradient(135deg,#d8f183,#edf8cb); }
.large-hero.blue { background: linear-gradient(135deg,#17263d,#3569a5); }
.large-hero small { color: var(--lime); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.large-hero.light small { color: #5a781c; }
.large-hero h3 { max-width: 510px; margin: 13px 0; font-size: 40px; line-height: 1.02; letter-spacing: -.06em; }
.large-hero p { max-width: 500px; color: rgba(255,255,255,.66); font-size: 12px; line-height: 1.6; }
.large-hero.light p { color: #5f6c55; }
.large-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 18px; }
.large-card { min-height: 120px; padding: 16px; border: 1px solid #e5e8e3; border-radius: 10px; }
.large-card i { display: block; width: 31px; height: 31px; margin-bottom: 17px; border-radius: 8px; background: var(--lime); }
.large-card b { display: block; margin-bottom: 8px; font-size: 10px; }
.large-card span { display: block; width: 75%; height: 5px; margin-top: 5px; border-radius: 5px; background: #e7e9e5; }

.billing-toggle { display: flex; align-items: center; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.56); }
.billing-toggle button { border: 0; border-radius: 999px; padding: 10px 15px; color: var(--muted); background: transparent; cursor: pointer; font-size: 12px; font-weight: 750; }
.billing-toggle button.active { color: white; background: var(--ink); }
.billing-toggle small { margin-left: 4px; color: var(--lime-deep); }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.price-card { position: relative; display: flex; flex-direction: column; min-height: 610px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: rgba(255,253,248,.84); }
.price-card.featured { color: white; border-color: var(--ink); background: var(--ink); transform: translateY(-7px); box-shadow: 0 28px 75px rgba(22,32,25,.2); }
.price-card.featured::after { content: ""; position: absolute; top: -75px; right: -65px; width: 200px; height: 200px; border-radius: 50%; background: var(--lime); }
.plan-badge { position: relative; z-index: 1; align-self: flex-start; margin-bottom: 24px; padding: 6px 9px; border: 1px solid currentColor; border-radius: 999px; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.featured .plan-badge { color: var(--lime); opacity: 1; }
.price-card h3 { margin: 0; font-size: 30px; letter-spacing: -.045em; }
.plan-copy { min-height: 45px; margin: 9px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.featured .plan-copy, .featured .price-period, .featured .price-list li { color: rgba(255,255,255,.67); }
.price-line { display: flex; align-items: baseline; gap: 5px; min-height: 60px; }
.price-currency { font-size: 17px; font-weight: 750; }
.price-value { font-size: 51px; line-height: 1; letter-spacing: -.06em; font-weight: 780; }
.price-period { color: var(--muted); font-size: 12px; }
.price-note { margin-top: 8px; color: var(--muted); font-size: 11px; }
.featured .price-note { color: rgba(255,255,255,.46); }
.price-divider { height: 1px; margin: 24px 0; background: var(--line); }
.featured .price-divider { background: rgba(255,255,255,.13); }
.price-list { display: grid; gap: 12px; margin: 0 0 30px; padding: 0; list-style: none; }
.price-list li { display: grid; grid-template-columns: 17px 1fr; gap: 8px; color: #4f5a51; font-size: 12px; line-height: 1.45; }
.price-list li::before { content: "✓"; width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; color: #355307; background: var(--lime); font-size: 9px; font-weight: 900; }
.price-card .button { width: 100%; margin-top: auto; }
.ai-budget { display: grid; grid-template-columns: .75fr 1.25fr; gap: 18px; margin-top: 55px; padding: 34px; border: 1px solid var(--line); border-radius: 23px; background: rgba(255,255,255,.48); }
.ai-budget h2 { margin: 0 0 10px; font-size: 27px; letter-spacing: -.04em; }
.ai-budget p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.budget-points { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.budget-point { padding: 15px; border-radius: 13px; background: var(--surface); font-size: 12px; line-height: 1.5; }
.budget-point b { display: block; margin-bottom: 5px; }

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 0; border: 0; color: var(--ink); background: transparent; cursor: pointer; text-align: left; font-size: 15px; font-weight: 750; }
.faq-question::after { content: "+"; font-size: 21px; font-weight: 400; }
.faq-item.open .faq-question::after { content: "−"; }
.faq-answer { display: none; max-width: 760px; padding: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

.final-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; margin-block: 20px 76px; padding: 44px; border-radius: 27px; color: white; background: var(--ink); }
.final-cta h2 { min-width: 0; margin: 0 0 10px; overflow-wrap: anywhere; font-size: 39px; line-height: 1.05; letter-spacing: -.05em; }
.final-cta p { margin: 0; color: rgba(255,255,255,.6); font-size: 13px; }
.final-cta .button { white-space: nowrap; }

.footer { display: grid; grid-template-columns: 1fr auto; gap: 30px; padding: 32px 0 45px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { text-decoration: none; }

@media (max-width: 920px) {
  .pricing-grid.four { grid-template-columns: repeat(2,1fr); }
  .hero { grid-template-columns: 1fr; }
  .product-window { max-width: 680px; transform: none; }
  .value-grid, .outcome-grid { grid-template-columns: repeat(2,1fr); }
  .architecture { grid-template-columns: 1fr; }
  .architecture-card:not(:last-child)::after { display: none; }
  .case-panel.active { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: auto; }
  .price-card.featured { transform: none; }
  .price-card .button { margin-top: 20px; }
  .ai-budget { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 24px,1180px); }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav { height: 66px; }
  .hero { padding: 58px 0 72px; gap: 42px; }
  .hero h1, .page-hero h1 { font-size: 47px; }
  .app-body { grid-template-columns: 1fr; }
  .conversation { display: none; }
  .section { padding: 62px 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .value-grid, .steps, .detail-grid, .demo-strip, .outcome-grid { grid-template-columns: 1fr; }
  .demo-strip { padding: 28px 20px; }
  .demo-shots { margin-top: 15px; }
  .budget-points { grid-template-columns: 1fr; }
  .final-cta { grid-template-columns: 1fr; padding: 31px 24px; }
  .footer { grid-template-columns: 1fr; }
  .pricing-grid.four { grid-template-columns: 1fr; }
}

/* ===== v2 重构新增 ===== */

/* 待定事项标记：正式上线前全部替换 */
.tbd { display: inline-block; padding: 1px 7px; border-radius: 6px; background: rgba(255,109,58,.16); color: #b34700; font-size: .85em; font-weight: 700; white-space: nowrap; }
.price-card.featured .tbd { background: rgba(202,255,84,.18); color: var(--lime); }

/* 对比表 */
.compare-wrap { padding: 8px 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 13px; }
.compare th, .compare td { padding: 15px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.55; }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-size: 14px; letter-spacing: -.01em; }
.compare td:first-child, .compare th:first-child { color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.compare td.hl { background: rgba(202,255,84,.16); font-weight: 650; }
.compare th.hl { background: rgba(202,255,84,.16); }

/* 四列价格 */
.pricing-grid.four { grid-template-columns: repeat(4,1fr); }
.pricing-grid.four .price-card { min-height: 580px; padding: 24px; }

/* AI 工作量感性锚点 */
.quota-example { margin-top: 8px; font-size: 11px; line-height: 1.5; color: var(--muted); }
.price-card.featured .quota-example { color: rgba(255,255,255,.55); }

/* ===== v3 新增 ===== */

/* 行业 chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 600; }
.chip.more { background: var(--soft); color: var(--muted); }

/* 企业微信 */
.wechat-card { display: flex; gap: 28px; align-items: center; padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.wechat-card h2 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.03em; }
.wechat-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.qr-placeholder { flex: none; width: 132px; height: 132px; display: grid; place-items: center; padding: 10px; border: 2px dashed rgba(22,32,25,.3); border-radius: 14px; background: var(--soft); color: var(--muted); font-size: 11px; line-height: 1.6; text-align: center; }

/* dogfood 条 */
.dogfood { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 10px 0 30px; padding: 20px 26px; border-radius: 18px; background: var(--mint); font-size: 13px; font-weight: 600; }
.dogfood a { color: var(--ink); }

/* 登录 / 注册 */
.auth-wrap { display: grid; place-items: center; padding: 66px 0 90px; }
.auth-card { width: min(430px, 100%); padding: 36px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.auth-card h1 { margin: 0 0 6px; font-size: 26px; letter-spacing: -.03em; }
.auth-card > p { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
.auth-tabs { display: flex; gap: 6px; margin-bottom: 24px; padding: 4px; border-radius: 12px; background: var(--soft); }
.auth-tabs button { flex: 1; padding: 9px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.auth-tabs button.active { background: var(--ink); color: #fff; }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }
.field input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; }
.code-row .button { flex: none; }
.auth-agree { margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.auth-alt { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 12px; }
.auth-alt .qr-placeholder { width: 110px; height: 110px; margin: 12px auto 0; }

/* Dashboard */
.dash { display: grid; grid-template-columns: 225px 1fr 320px; width: min(1220px, calc(100% - 40px)); min-height: 660px; margin: 22px auto 60px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.dash-side { padding: 20px 14px; border-right: 1px solid var(--line); background: var(--soft); }
.dash-side h4 { margin: 16px 10px 8px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.site-item { padding: 10px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; cursor: pointer; }
.site-item small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 400; }
.site-item.active { background: var(--lime); }
.site-item.active small { color: rgba(22,32,25,.55); }
.site-item.ghost { color: var(--muted); border: 1px dashed var(--line); text-align: center; margin-top: 8px; }
.dash-main { display: flex; flex-direction: column; min-width: 0; }
.dash-topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.quota { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 400; }
.quota-bar { width: 110px; height: 6px; overflow: hidden; border-radius: 99px; background: var(--soft); }
.quota-bar i { display: block; width: 68%; height: 100%; background: var(--lime-deep); }
.dash-chat { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.dash-input { display: flex; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); }
.dash-input input { flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.dash-panel { padding: 20px; border-left: 1px solid var(--line); }
.dash-panel h4 { margin: 0 0 6px; font-size: 13px; }
.check-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.check-row b { color: #3f7d0e; }
.ver-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 12px; color: var(--muted); }
.ver-row b { color: var(--ink); }

/* 更新日志时间线 */
.log-list { margin-left: 8px; border-left: 2px solid var(--line); }
.log-entry { position: relative; padding: 0 0 36px 28px; }
.log-entry::before { content: ""; position: absolute; left: -8px; top: 4px; width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 50%; background: var(--lime); }
.log-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; color: var(--muted); font-size: 12px; }
.log-tag { padding: 2px 8px; border-radius: 6px; font-size: 10px; font-weight: 800; }
.log-tag.new { background: var(--lime); }
.log-tag.imp { background: var(--mint); }
.log-tag.fix { background: var(--blue); }
.log-entry h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.02em; }
.log-entry ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.9; }

/* 案例页 */
.metric-row { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 16px; }
.metric b { display: block; font-size: 22px; letter-spacing: -.03em; }
.metric span { color: var(--muted); font-size: 11px; }
.wechat-shot { width: 250px; padding: 16px 14px; border: 1px solid var(--line); border-radius: 26px; background: #f2f2f2; }
.ws-bar { margin-bottom: 12px; color: var(--muted); font-size: 11px; text-align: center; }
.ws-bubble { max-width: 88%; margin-bottom: 8px; padding: 9px 12px; border-radius: 12px; background: #fff; font-size: 12px; line-height: 1.55; }
.ws-bubble.me { margin-left: auto; background: #95ec69; }
.ws-note { margin-top: 10px; color: var(--muted); font-size: 10px; text-align: center; }
.shot-row { display: flex; flex-wrap: wrap; gap: 14px; }
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.logo-wall div { display: grid; place-items: center; height: 76px; border: 1px dashed var(--line); border-radius: 14px; background: var(--surface); color: var(--muted); font-size: 12px; text-align: center; }
.quote-strip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.quote-card { flex: 0 0 285px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); font-size: 13px; line-height: 1.7; }
.quote-card b { display: block; margin-top: 12px; font-size: 12px; }
.quote-card span { color: var(--muted); font-size: 11px; }
.ba-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ba-label { margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 700; }
.video-placeholder { display: grid; place-items: center; min-height: 240px; border: 2px dashed var(--line); border-radius: 20px; color: var(--muted); font-size: 13px; }

@media (max-width: 920px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side, .dash-panel { display: none; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .ba-wrap { grid-template-columns: 1fr; }
  .wechat-card { flex-direction: column; align-items: flex-start; }
}
