/* ═══════════════════════════════════════════════════════════════
   分野官网（marketing）设计系统 v2 —— 参考 presentations.ai 的布局语言
   配色与字体全部沿用 site.css 的 :root tokens，此处不重复定义色值。
   仅官网页面加载（layouts/site.html 与 auth 页），工作台不加载本文件。
   ═══════════════════════════════════════════════════════════════ */

:root {
  --w-nav-h: 68px;
  --w-btn-radius: var(--radius-sm);
  --w-radius: 14px;
  --w-radius-lg: 20px;
  --w-radius-xl: 28px;
  --w-shadow: 0 1px 2px rgba(15, 42, 46, 0.04), 0 12px 40px -16px rgba(15, 42, 46, 0.12);
  --w-shadow-lg: 0 2px 4px rgba(15, 42, 46, 0.04), 0 28px 72px -28px rgba(15, 42, 46, 0.22);
  --w-glow: radial-gradient(720px 360px at 50% -60px, rgba(26, 122, 132, 0.10), transparent 70%);
}

/* ── 基础 ── */
body { font-size: 15.5px; line-height: 1.65; }
body.w-body { background: var(--surface); }
body.w-body .btn { border-radius: var(--w-btn-radius); }
body.w-body [id] { scroll-margin-top: calc(var(--w-nav-h) + 20px); }
.w-container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.w-container-sm { width: min(880px, calc(100% - 48px)); margin: 0 auto; }

.mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.08em; font-size: 11px; font-weight: 500;
}

/* ── 顶部导航 ── */
.w-nav {
  position: sticky; top: 0; z-index: 90;
  height: var(--w-nav-h);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.w-nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--line-strong);
  box-shadow: 0 6px 24px -18px rgba(15, 42, 46, 0.28);
}
.w-nav-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 20px;
  border-left: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
}
.w-nav .brand { flex-shrink: 0; }
.w-nav-links { display: flex; align-items: center; gap: 2px; }
.w-nav-links > a, .w-dd-btn {
  padding: 8px 14px; border-radius: var(--w-btn-radius);
  font-size: 14px; font-weight: 550; color: var(--ink-soft);
  border: none; background: transparent; transition: .15s ease;
}
.w-nav-links > a:hover, .w-dd-btn:hover { color: var(--ink); background: rgba(26, 122, 132, 0.08); }
.w-dd { position: relative; }
.w-dd::before { content: ""; position: absolute; top: 100%; left: 0; width: 100%; height: 12px; }
.w-dd-btn { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.w-dd-btn .ph { font-size: 13px; transition: transform .15s ease; }
.w-dd:hover .w-dd-btn .ph, .w-dd:focus-within .w-dd-btn .ph { transform: rotate(180deg); }
.w-dd-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 190px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--w-radius); box-shadow: var(--w-shadow-lg);
  padding: 8px; display: none; flex-direction: column; z-index: 95;
}
.w-dd:hover .w-dd-menu, .w-dd:focus-within .w-dd-menu { display: flex; }
.w-dd-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--w-btn-radius);
  font-size: 14px; color: var(--ink-soft);
}
.w-dd-menu a:hover { background: var(--brand-soft); color: var(--brand-deep); }
.w-dd-menu .ph { font-size: 17px; color: var(--brand); }
.w-dd-menu small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; margin-top: 1px; }
.w-dd-menu a:hover small { color: var(--brand); }
.w-nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.w-nav-cta .btn { height: 40px; padding: 0 20px; font-size: 14px; }
.w-nav-cta .btn-ghost { background: transparent; border-color: var(--line-strong); }
.w-nav-cta .btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--surface); }

/* 工作台下拉开关节点（登录态）样式对齐新导航 */
.w-nav .nav-dd-btn {
  height: 40px; padding: 0 18px; border-radius: var(--w-btn-radius);
  background: transparent; color: var(--ink-soft);
  font-size: 14px; font-weight: 550; border: 1px solid var(--line-strong);
}
.w-nav .nav-dd-btn:hover { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-deep); }
.w-nav .nav-dd-menu {
  top: calc(100% + 12px);
  border-radius: var(--w-radius);
  box-shadow: var(--w-shadow-lg);
  min-width: 170px;
}

/* ── Hero ── */
.w-hero {
  position: relative;
  padding: 88px 0 72px;
  text-align: center;
  background: var(--w-glow);
  overflow: hidden;
}
.w-eyebrow {
  display: inline-block; margin: 0 0 20px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  color: var(--brand);
}
.w-h1 {
  font-family: var(--font-display); font-weight: 550;
  font-size: clamp(42px, 6.5vw, 74px);
  line-height: 1.06; letter-spacing: -0.03em;
  margin: 0 0 22px; color: var(--ink);
}
.w-h1 em { font-style: italic; color: var(--brand-deep); }
.w-hero-lead {
  max-width: 640px; margin: 0 auto 36px;
  font-size: 18px; line-height: 1.75; color: var(--ink-soft);
}

/* Hero 任务输入框 */
.w-hbox {
  max-width: 760px; margin: 0 auto; text-align: left;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--w-radius-lg);
  box-shadow: var(--w-shadow-lg);
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.w-hbox:focus-within { border-color: var(--brand-mid); box-shadow: 0 2px 4px rgba(15,42,46,.04), 0 32px 80px -28px rgba(26, 122, 132, 0.35); }
.w-hbox-tabs {
  display: flex; gap: 4px; padding: 10px 12px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.w-hbox-tab {
  appearance: none; border: none; background: transparent; cursor: pointer;
  padding: 9px 18px; margin-bottom: 8px; border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  transition: .15s ease;
}
.w-hbox-tab:hover { color: var(--ink); }
.w-hbox-tab.active { background: var(--brand-deep); color: #fff; }
.w-hbox-form textarea {
  display: block; width: 100%; border: none; resize: none; outline: none;
  padding: 18px 22px 8px; background: transparent;
  font-size: 15px; line-height: 1.7; color: var(--ink); min-height: 96px;
}
.w-hbox-form textarea::placeholder { color: var(--muted); }
.w-hbox-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px 14px 22px;
}
.w-hbox-hint { color: var(--muted); font-size: 11px; }
.w-hbox-foot .btn { height: 42px; padding: 0 22px; }

/* Hero 快捷任务 chips */
.w-chip-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.w-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--w-btn-radius);
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 550; color: var(--ink-soft);
  cursor: pointer; transition: .15s ease;
}
.w-chip:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); transform: translateY(-1px); }
.w-chip .ph { font-size: 15px; color: var(--brand); }

/* Hero 信任条 */
.w-trust {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px 32px; margin-top: 40px;
  color: var(--muted); font-size: 13.5px;
}
.w-trust span { display: inline-flex; align-items: center; gap: 7px; }
.w-trust .ph { color: var(--brand); font-size: 16px; }

/* ── 分区节奏（eyebrow + 大标题 + 副文案，居中） ── */
.w-sec { padding: 96px 0; }
.w-sec-dim { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.w-sec-head { text-align: center; margin-bottom: 56px; }
.w-sec-head .w-eyebrow { margin-bottom: 14px; }
.w-h2 {
  font-family: var(--font-display); font-weight: 550;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.18; letter-spacing: -0.02em;
  margin: 0 0 16px; color: var(--ink);
}
.w-h2 em { font-style: italic; color: var(--brand-deep); }
.w-sub {
  max-width: 640px; margin: 0 auto;
  font-size: 16px; line-height: 1.8; color: var(--ink-soft);
}

/* ── 通用卡片网格 ── */
.w-grid { display: grid; gap: 20px; }
.w-grid-3 { grid-template-columns: repeat(3, 1fr); }
.w-grid-2 { grid-template-columns: repeat(2, 1fr); }
.w-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--w-radius-lg);
  padding: 30px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.w-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--w-shadow-lg);
}

/* ── 场景卡 ── */
.w-scene { display: flex; flex-direction: column; }
.w-scene-who {
  margin: 0 0 14px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  color: var(--brand);
}
.w-scene h3 {
  margin: 0 0 12px;
  font-family: var(--font-display); font-weight: 550;
  font-size: 20px; letter-spacing: -0.015em; color: var(--ink);
}
.w-scene-pain { margin: 0 0 16px; font-size: 14px; color: var(--ink-soft); line-height: 1.75; }
.w-scene-out {
  margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted); line-height: 1.75;
}
.w-scene-out strong { color: var(--brand-deep); font-weight: 650; }
/* 第六张「旷野」卡：深青渐变（沿用现有品牌深色语言） */
.w-card.w-scene-more {
  border: none;
  background: linear-gradient(135deg, #0f2a2e 0%, #0b6e6e 100%);
  color: #fff;
  box-shadow: 0 16px 40px -16px rgba(11, 110, 110, 0.45);
}
.w-scene-more .w-scene-who { color: #7fd4cf; }
.w-scene-more h3 { color: #fff; font-family: var(--font-logo); font-weight: 400; font-size: 22px; letter-spacing: .05em; }
.w-scene-more .w-scene-pain { color: rgba(255, 255, 255, 0.78); }
.w-scene-more .w-scene-out { border-top-color: rgba(255, 255, 255, 0.18); color: #7fd4cf; }
.w-scene-more .w-scene-out strong { color: #fff; }

/* ── 会员方案 ── */
.w-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.w-plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--w-radius-lg); padding: 32px 30px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.w-plan:hover { transform: translateY(-3px); box-shadow: var(--w-shadow-lg); }
.w-plan-idx { margin: 0 0 16px; color: var(--brand); font-size: 11px; }
.w-plan-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 10px; }
.w-plan-top h3 {
  margin: 0; font-family: var(--font-display);
  font-size: 26px; font-weight: 550; letter-spacing: -0.015em; color: var(--ink);
}
.w-plan-price { font-size: 12.5px; font-weight: 650; color: var(--brand-deep); }
.w-plan-desc { margin: 0 0 18px; font-size: 14px; color: var(--ink-soft); line-height: 1.75; }
.w-plan ul { margin: 0 0 24px; padding: 0; list-style: none; }
.w-plan ul li {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 9px 0; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.6;
}
.w-plan ul li::before { content: "✓"; color: var(--brand); font-weight: 700; flex-shrink: 0; }
.w-plan .btn { margin-top: auto; align-self: stretch; height: 44px; }
.w-plan-focus { border-color: var(--brand); box-shadow: var(--w-shadow); }
.w-plan-badge {
  position: absolute; top: -13px; right: 24px;
  padding: 5px 14px; border-radius: var(--radius-pill);
  background: var(--brand-deep); color: #fff;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em;
  box-shadow: 0 8px 18px -8px rgba(15, 76, 85, 0.5);
}
.w-plan-note {
  max-width: 640px; margin: 36px auto 0; text-align: center;
  font-size: 14px; line-height: 1.85; color: var(--ink-soft);
}

/* ── 关于（品牌区） ── */
.w-about-copy { max-width: 720px; margin: 0 auto; text-align: center; }
.w-about-copy p.w-sub { max-width: none; }
.w-about-copy em { font-style: normal; color: var(--brand-deep); font-weight: 550; }
.w-about-fig { margin: 44px auto 0; max-width: 880px; }
.w-about-fig img {
  width: 100%; max-height: 360px; object-fit: cover;
  border-radius: var(--w-radius-xl); border: 1px solid var(--line);
  box-shadow: var(--w-shadow);
}
.w-about-fig figcaption { margin-top: 12px; text-align: center; color: var(--muted); font-size: 11px; }
.w-pr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.w-pr { padding: 28px; }
.w-pr-idx { display: block; margin-bottom: 12px; color: var(--brand); font-size: 12px; font-weight: 700; }
.w-pr h3 { margin: 0 0 8px; font-size: 17px; font-weight: 650; color: var(--ink); }
.w-pr p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.w-contact {
  margin-top: 56px; padding-top: 44px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.w-contact .w-eyebrow { margin-bottom: 18px; }
.w-contact-row {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 14px 32px;
}
.w-contact-item { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--ink); }
.w-contact-item .ph { font-size: 19px; color: var(--brand-deep); }
a.w-contact-item:hover { color: var(--brand-deep); }
.w-contact-divider { width: 1px; height: 18px; background: var(--line-strong); }
.w-contact-note { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

/* ── FAQ ── */
.w-faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.w-faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--w-radius); overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.w-faq-item[open] { border-color: var(--brand-mid); box-shadow: var(--w-shadow); }
.w-faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-size: 15.5px; font-weight: 600; color: var(--ink);
}
.w-faq-item summary::-webkit-details-marker { display: none; }
.w-faq-item summary::after {
  content: "+"; flex-shrink: 0;
  font-size: 22px; font-weight: 400; line-height: 1; color: var(--brand);
  transition: transform .2s ease;
}
.w-faq-item[open] summary::after { transform: rotate(45deg); }
.w-faq-a { padding: 0 24px 22px; font-size: 14.5px; line-height: 1.85; color: var(--ink-soft); }

/* ── 收束 CTA（深色大字） ── */
.w-cta {
  position: relative; overflow: hidden;
  background: var(--ink); color: #e8f0f0;
  padding: 110px 0;
  text-align: center;
}
.w-cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(640px 320px at 50% 0%, rgba(26, 122, 132, 0.35), transparent 70%),
    radial-gradient(520px 280px at 82% 110%, rgba(11, 110, 110, 0.25), transparent 70%);
  pointer-events: none;
}
.w-cta > * { position: relative; }
.w-cta .w-eyebrow { color: var(--brand-mid); }
.w-cta h2 {
  font-family: var(--font-display); font-weight: 550;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.12; letter-spacing: -0.025em;
  margin: 0 0 18px; color: #fff;
}
.w-cta p { margin: 0 0 36px; font-size: 16.5px; color: rgba(232, 240, 240, 0.72); }
.w-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.w-cta .btn-dark { background: #fff; color: var(--ink); height: 48px; padding: 0 30px; font-size: 15px; }
.w-cta .btn-dark:hover { background: var(--brand-soft); color: var(--brand-deep); }
.w-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); height: 48px; padding: 0 30px; font-size: 15px; }
.w-cta .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }

/* ── 页脚 ── */
.w-footer { background: var(--surface); border-top: 1px solid var(--line); }
.w-footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px; padding: 64px 0 48px;
}
.w-footer-brand p { margin: 14px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.8; max-width: 260px; }
.w-footer-col h4 {
  margin: 0 0 16px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase;
}
.w-footer-col a { display: block; padding: 5px 0; font-size: 14px; color: var(--ink-soft); }
.w-footer-col a:hover { color: var(--brand-deep); }
.w-footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding: 22px 0 26px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 12.5px;
}
.w-footer-bottom a { color: var(--muted); }
.w-footer-bottom a:hover { color: var(--brand-deep); }

/* ── Flash 提示 ── */
.w-flash { width: min(560px, calc(100% - 48px)); margin: 18px auto 0; }
.w-flash:empty { margin: 0; }

/* ── 功能介绍页（/features/<slug>） ── */
.w-feat {
  position: relative; overflow: hidden;
  padding: 96px 0 104px;
  background: var(--w-glow);
  text-align: center;
}
.w-feat-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 22px;
  background: linear-gradient(135deg, var(--brand-soft), #fff 75%);
  color: var(--brand-deep); font-size: 34px;
  border: 1px solid rgba(26, 122, 132, 0.2);
  box-shadow: 0 16px 36px -16px rgba(26, 122, 132, 0.5);
  margin-bottom: 26px;
}
.w-feat-title {
  font-family: var(--font-display); font-weight: 550;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.12; letter-spacing: -0.025em;
  margin: 0 0 20px; color: var(--ink);
}
.w-feat-title em { font-style: italic; color: var(--brand-deep); }
.w-feat-lead { max-width: 620px; margin: 0 auto 40px; font-size: 17px; line-height: 1.8; color: var(--ink-soft); }
.w-feat-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.w-feat-cta .btn { height: 48px; padding: 0 28px; font-size: 15px; }
.w-feat-points {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  max-width: 860px; margin: 64px auto 0; padding: 0; list-style: none; text-align: left;
}
.w-feat-points li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--w-radius-lg);
  font-size: 14.5px; color: var(--ink-soft); line-height: 1.75;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.w-feat-points li:hover { transform: translateY(-2px); border-color: rgba(26, 122, 132, 0.35); box-shadow: var(--w-shadow); }
.w-feat-points .ph { color: var(--brand); font-size: 19px; margin-top: 2px; flex-shrink: 0; }

/* ── 知识库文档页（脱离工作台外壳后的两栏布局） ── */
.w-kbdoc {
  display: grid; grid-template-columns: minmax(0, 1fr) 420px;
  gap: 48px; align-items: start;
  width: min(1280px, calc(100% - 48px)); margin: 0 auto;
  padding: 48px 0 88px;
}
.w-kbdoc .kb-doc-layout { display: contents; }
.w-kbdoc .kb-doc-pane { min-width: 0; height: auto; overflow: visible; padding: 0; }
.w-kbdoc .kb-qa-pane {
  position: sticky; top: calc(var(--w-nav-h) + 24px);
  height: calc(100vh - var(--w-nav-h) - 48px);
  border: 1px solid var(--line); border-left: 1px solid var(--line);
  border-radius: var(--w-radius-lg); overflow: hidden;
  box-shadow: var(--w-shadow);
}
.w-kbdoc .kb-article {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--w-radius-lg); padding: 44px 48px;
  box-shadow: var(--shadow-sm);
}
.w-kbdoc .kb-doc-head h1 { font-size: clamp(24px, 3vw, 32px); line-height: 1.3; }
.w-kbdoc .kb-related {
  margin-top: 28px; padding: 28px 32px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--w-radius-lg);
}
.w-kbdoc .flash-wrap {
  width: min(560px, calc(100% - 48px)); margin: 18px auto 0;
}
@media (max-width: 1100px) {
  .w-kbdoc { grid-template-columns: 1fr; gap: 32px; }
  .w-kbdoc .kb-qa-pane { position: static; height: auto; min-height: 640px; }
}

/* ── 登录 / 注册：分屏式 ── */
.w-auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.w-auth-side {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 48px 56px;
  background: linear-gradient(160deg, #0f2a2e 0%, #0f4c55 55%, #0b6e6e 100%);
  color: #fff;
}
.w-auth-side::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(560px 320px at 20% 8%, rgba(42, 154, 165, 0.35), transparent 70%);
  pointer-events: none;
}
.w-auth-side > * { position: relative; }
.w-auth-side .brand .brand-text { color: #fff; }
.w-auth-side .brand-mark { filter: brightness(0) invert(1); }
.w-auth-brandline {
  font-family: var(--font-logo); font-weight: 400;
  font-size: clamp(30px, 3vw, 40px); letter-spacing: 0.06em;
  margin: 0 0 18px;
}
.w-auth-tagline { font-size: 15.5px; line-height: 1.9; color: rgba(255, 255, 255, 0.78); max-width: 380px; margin: 0; }
.w-auth-points { list-style: none; margin: 40px 0 0; padding: 0; }
.w-auth-points li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; font-size: 14px; color: rgba(255, 255, 255, 0.85);
}
.w-auth-points .ph { color: #7fd4cf; font-size: 18px; }
.w-auth-quote { font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }
.w-auth-main {
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px 48px; overflow-y: auto;
}
.w-auth-card { width: min(400px, 100%); margin: 0 auto; }
.w-auth-card h1 {
  font-family: var(--font-display); font-weight: 550;
  font-size: 30px; letter-spacing: -0.02em;
  margin: 0 0 10px; color: var(--ink);
}
.w-auth-card .sub { margin: 0 0 28px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.w-auth-card .field { margin-bottom: 18px; }
.w-auth-card .field input {
  height: 46px; border-radius: var(--w-btn-radius); font-size: 14.5px;
}
.w-auth-card .btn-block { height: 48px; font-size: 15px; border-radius: var(--w-btn-radius); margin-top: 6px; }
.w-auth-foot { margin: 24px 0 0; text-align: center; font-size: 13.5px; color: var(--muted); }
.w-auth-foot a { color: var(--brand-deep); font-weight: 600; }
.w-auth-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── 响应式 ── */
@media (max-width: 1024px) {
  .w-plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .w-pr-grid { grid-template-columns: 1fr; }
  .w-feat-points { grid-template-columns: 1fr; }
  .w-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .w-auth { grid-template-columns: 1fr; }
  .w-auth-side { display: none; }
  .w-auth-main { padding: 32px 24px; }
  .w-sec { padding: 64px 0; }
  .w-hero { padding: 56px 0 56px; }
  .w-grid-3, .w-grid-2 { grid-template-columns: 1fr; }
  .w-kbdoc .kb-article { padding: 28px 22px; }
  .w-kbdoc { width: calc(100% - 32px); padding-top: 28px; }
}
@media (max-width: 960px) {
  .w-nav-links { display: none; }
}
@media (max-width: 640px) {
  .w-trust { flex-direction: column; align-items: center; gap: 10px; }
  .w-hbox-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .w-hbox-hint { display: none; }
  .w-footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 48px 0 36px; }
  .w-cta { padding: 80px 0; }
}

/* ═══════════════════════════════════════════════════════════════
   v4（20261012）：framed editorial layout —— 按 presentations.ai
   实际布局语言重构：内容纵栏左右细边框、分区横向细分割线、
   左对齐小方块眉标、双色标题、pill 页签/按钮、跑马灯信任条、
   深色能力区 + sticky 子导航、拼卡、旋转圆环徽章
   ═══════════════════════════════════════════════════════════════ */

/* ── 内容纵栏框架（l-border-l / l-border-r 的等价物） ── */
.w-frame {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  border-left: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
}
.w-line { border-top: 1px solid var(--line); }
.w-in { padding: 88px 44px; }
.w-in-sm { padding: 56px 44px; }
.w-in-hero { padding: 80px 44px 60px; }
.w-hero { padding: 0; }

/* ── 眉标（小方块 + 文字，左对齐）与双色标题 ── */
.w-eb {
  display: flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: 12px; font-weight: 650; letter-spacing: 0.14em; color: var(--brand-deep);
}
.w-eb::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); flex-shrink: 0; }
.w-head { text-align: left; }
.w-head .w-h2 { margin: 0 0 14px; }
.w-head .w-sub { margin: 0; max-width: 620px; }
.w-h2t { color: var(--muted); }
.w-h2t strong { display: block; color: var(--ink); font-weight: 550; }

/* Hero 顶部 pill 标签（微光扫过，参考站 eyebrow-tag） */
.w-tag {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--surface);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; color: var(--brand-deep);
  margin: 0 0 26px;
}
.w-tag::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 45%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(26, 122, 132, 0.18), transparent);
  animation: wShine 3.4s ease-in-out infinite;
}
.w-tag .ph { color: var(--brand); font-size: 14px; }
@keyframes wShine { 55%, 100% { left: 125%; } }

/* ── 跑马灯信任条（logo ticker 的诚实替代） ── */
.w-ticker-frame { display: flex; align-items: stretch; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.w-ticker-frame:hover .w-ticker-track { animation-play-state: paused; }
.w-ticker-label {
  flex-shrink: 0; display: flex; align-items: center;
  padding: 18px 24px 18px 44px; border-right: 1px solid var(--line);
  font-size: 12px; font-weight: 650; letter-spacing: 0.12em; color: var(--brand-deep);
  background: var(--brand-soft);
}
.w-ticker-view { overflow: hidden; flex: 1; display: flex; align-items: center; }
.w-ticker-track { display: flex; width: max-content; animation: wTick 38s linear infinite; }
.w-ticker:hover .w-ticker-frame .w-ticker-track { animation-play-state: paused; }
.w-ticker-set { display: flex; flex-shrink: 0; }
.w-ticker-set span { display: inline-flex; align-items: center; gap: 10px; padding: 18px 26px; font-size: 14px; font-weight: 550; color: var(--ink-soft); white-space: nowrap; }
.w-ticker-set .ph { color: var(--brand); font-size: 15px; }
@keyframes wTick { to { transform: translateX(-50%); } }

/* ── 左右分栏（sticky 侧栏） ── */
.w-split { display: grid; grid-template-columns: 5fr 7fr; }
.w-split-side { padding-right: 44px; border-right: 1px solid var(--line-strong); }
.w-split-main { padding-left: 44px; }
.w-sticky { position: sticky; top: calc(var(--w-nav-h) + 28px); }

/* ── 行列表（Product Suite 行 / Problem 行） ── */
.w-rows { border-top: 1px solid var(--line-strong); }
.w-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 24px; align-items: center;
  padding: 30px 16px; margin: 0 -16px; border-bottom: 1px solid var(--line-strong);
  color: inherit; text-decoration: none;
  transition: background .18s ease;
}
.w-row:hover { background: var(--brand-soft); }
.w-row-num { color: var(--brand); font-size: 13px; font-weight: 600; }
.w-row h3 {
  display: flex; align-items: center; gap: 10px; margin: 0 0 8px;
  font-family: var(--font-display); font-size: 21px; font-weight: 550;
  letter-spacing: -0.015em; color: var(--ink);
}
.w-row h3 .ph { color: var(--brand); font-size: 21px; }
.w-row p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.75; color: var(--ink-soft); }
.w-row-link { display: inline-flex; align-items: center; gap: 6px; justify-self: end; font-size: 13px; font-weight: 650; color: var(--brand-deep); white-space: nowrap; }
.w-row-link .ph { transition: transform .2s ease; }
.w-row:hover .w-row-link .ph { transform: translateX(4px); }
.w-row-go { justify-self: end; font-size: 20px; color: var(--line-strong); transition: transform .2s ease, color .2s ease; }
.w-row:hover .w-row-go { color: var(--brand); transform: translateX(4px); }
.w-prow { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line-strong); }
.w-prow:last-child { border-bottom: 0; }
.w-prow-num { color: var(--brand); font-size: 13px; padding-top: 4px; }
.w-prow h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 19px; font-weight: 550; color: var(--ink); }
.w-prow p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--ink-soft); }

/* ── OVERVIEW 文段 ── */
.w-ovp { font-size: 16px; line-height: 1.9; color: var(--ink-soft); margin: 0 0 18px; }
.w-ovline {
  margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line-strong);
  font-family: var(--font-display); font-size: 19px; line-height: 1.8;
  letter-spacing: 0.03em; color: var(--brand-deep);
}

/* ── 巨字三步（交代 / 拍板 / 交付） ── */
.w-words {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 16px clamp(20px, 4vw, 48px);
  padding: 36px 0; margin: 52px 0 44px;
  border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
}
.w-word { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.w-word b { font-family: var(--font-display); font-weight: 550; font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); }
.w-word .mono { color: var(--brand); }
.w-words > i { color: var(--brand); font-size: clamp(18px, 2.4vw, 26px); }
.w-sec-cta { text-align: center; }

/* ── 深色能力区 + sticky 子导航（参考站 navy features 区） ── */
.w-darks {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #0f2a2e 0%, #0c3a3f 52%, #0b5f60 130%);
  color: #e8f0f0;
}
.w-darks::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(720px 360px at 50% -80px, rgba(127, 212, 207, 0.16), transparent 70%);
  pointer-events: none;
}
.w-darks > * { position: relative; }
.w-darks .w-in { padding: 44px 44px 88px; }
.w-dnav {
  position: sticky; top: calc(var(--w-nav-h) + 14px); z-index: 40;
  display: flex; gap: 6px; justify-content: center;
  width: max-content; max-width: 100%; margin: 0 auto; padding: 7px;
  background: rgba(9, 24, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.w-dnav a { padding: 9px 22px; border-radius: 999px; font-size: 13.5px; font-weight: 550; color: rgba(232, 240, 240, 0.72); text-decoration: none; transition: .15s ease; }
.w-dnav a:hover { color: #fff; }
.w-dnav a.on { background: #fff; color: #0f2a2e; font-weight: 600; }
.w-dblock { padding: 84px 0 8px; scroll-margin-top: calc(var(--w-nav-h) + 92px); }
.w-dgrid { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; }
.w-dtag { margin: 0 0 16px; color: #7fd4cf; }
.w-dgrid h2 {
  margin: 0 0 14px; font-family: var(--font-display); font-weight: 550;
  font-size: clamp(26px, 3.2vw, 38px); line-height: 1.18; letter-spacing: -0.02em; color: #fff;
}
.w-dgrid .w-dsub { margin: 0 0 26px; font-size: 15px; line-height: 1.85; color: rgba(232, 240, 240, 0.68); }
.w-dbtn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 26px; border-radius: var(--w-btn-radius);
  background: #fff; color: #0f2a2e; font-size: 14.5px; font-weight: 600; text-decoration: none;
  transition: .15s ease;
}
.w-dbtn:hover { background: var(--brand-soft); }
.w-drows { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.w-drow { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.w-drow:last-child { border-bottom: 0; }
.w-drow .mono { color: #7fd4cf; padding-top: 3px; }
.w-drow h4 { margin: 0 0 6px; font-size: 16.5px; font-weight: 600; color: #fff; }
.w-drow p { margin: 0; font-size: 14px; line-height: 1.75; color: rgba(232, 240, 240, 0.62); }

/* ── WHO 页签盒（参考站 users-tabs 边框容器） ── */
.w-tabsbox {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
  width: max-content; max-width: 100%; margin: 0 auto 36px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 24px;
}
.w-who-tab {
  appearance: none; cursor: pointer; border: none; background: transparent;
  padding: 10px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 550; color: var(--ink-soft);
  transition: .15s ease;
}
.w-who-tab:hover { color: var(--brand-deep); background: var(--brand-soft); }
.w-who-tab.active { background: var(--ink); color: #fff; }
.w-who-panel {
  padding: 44px 48px 40px; min-height: 224px;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--w-radius-lg);
}
.w-who-pane { display: none; }
.w-who-pane.active { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; animation: wFadeUp .28s ease; }
.w-who-tag { margin: 0 0 12px; color: var(--brand); }
.w-who-pane h3 { margin: 0 0 12px; font-family: var(--font-display); font-size: 24px; font-weight: 550; letter-spacing: -0.015em; color: var(--ink); }
.w-who-pain { margin: 0; font-size: 15px; line-height: 1.85; color: var(--ink-soft); }
.w-who-out {
  margin: 0; align-self: center;
  padding: 6px 0 6px 32px; border-left: 1px solid var(--line-strong);
  font-size: 14.5px; line-height: 1.85; color: var(--muted);
}
.w-who-out strong { color: var(--brand-deep); font-weight: 650; }
@keyframes wFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── FOR TEAMS 拼卡（相连卡片，内部 1px 分隔） ── */
.w-join {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--w-radius-lg); overflow: hidden;
}
.w-join > div { padding: 30px 26px; border-left: 1px solid var(--line); }
.w-join > div:first-child { border-left: 0; }
.w-join .ph { display: inline-flex; margin-bottom: 14px; color: var(--brand); font-size: 24px; }
.w-join h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 650; color: var(--ink); }
.w-join p { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--ink-soft); }

/* ── CTA 旋转圆环徽章（参考站 askabout） ── */
.w-badge { position: relative; width: 118px; height: 118px; margin: 0 auto 30px; }
.w-badge svg { width: 100%; height: 100%; animation: wSpin 26s linear infinite; }
.w-badge text {
  fill: rgba(232, 240, 240, 0.62); font-size: 10.5px; letter-spacing: 1.5px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.w-badge .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #7fd4cf; }
@keyframes wSpin { to { transform: rotate(360deg); } }

/* ── 收束 CTA 大字增强 ── */
.w-cta h2 { font-size: clamp(36px, 5.6vw, 68px); line-height: 1.14; }

/* ── 分区间隔线（相邻同底色分区） ── */
.w-sec-rule { border-top: 1px solid var(--line); }

/* ── Mega Footer：品牌列联系方式 + 大字标语 ── */
.w-footer-contact { display: flex; flex-direction: column; gap: 9px; margin-top: 20px; }
.w-footer-contact a, .w-footer-contact span { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-soft); font-size: 13px; }
.w-footer-contact .ph { color: var(--brand); font-size: 16px; }
.w-footer-contact a:hover { color: var(--brand-deep); }
.w-footer-tag {
  margin: 0; padding: 44px 0 0;
  font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 550; letter-spacing: -0.02em; color: var(--ink);
}
.w-footer-tag em { font-style: italic; color: var(--brand-deep); }
.w-footer .w-footer-bottom { margin-top: 34px; }

/* ── v4 响应式 ── */
@media (max-width: 1024px) {
  .w-join { grid-template-columns: 1fr 1fr; }
  .w-join > div:nth-child(3) { border-left: 0; }
  .w-join > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .w-dgrid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  .w-nav-inner { padding-left: 24px; padding-right: 24px; }
  .w-in, .w-in-sm, .w-in-hero, .w-darks .w-in { padding-left: 24px; padding-right: 24px; }
  .w-in { padding-top: 64px; padding-bottom: 64px; }
  .w-split { grid-template-columns: 1fr; }
  .w-split-side { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line-strong); padding-bottom: 40px; margin-bottom: 40px; }
  .w-split-main { padding-left: 0; }
  .w-row { grid-template-columns: 1fr; gap: 8px; }
  .w-row-link { justify-self: start; }
  .w-row-go { display: none; }
  .w-ticker-label { padding-left: 24px; }
  .w-who-pane.active { grid-template-columns: 1fr; gap: 20px; }
  .w-who-out { border-left: 0; border-top: 1px solid var(--line-strong); padding: 18px 0 0; }
  .w-who-panel { padding: 30px 24px; }
  .w-tabsbox { border-radius: 18px; }
}
@media (max-width: 640px) {
  .w-join { grid-template-columns: 1fr; }
  .w-join > div { border-left: 0; border-top: 1px solid var(--line); }
  .w-join > div:first-child { border-top: 0; }
  .w-dnav { top: calc(var(--w-nav-h) + 8px); }
  .w-dnav a { padding: 9px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .w-ticker-track, .w-badge svg, .w-tag::after { animation: none; }
}
