/* AppPilot — 暖米色纸张 · 衬线标题 · 侧栏圆点 · 马卡龙色卡片 */

:root {
  --paper: #f4f1e8;          /* 页面纸张底 */
  --paper-2: #efeadd;        /* 略深，用于分隔/hover */
  --card: #fffdf7;           /* 卡片/输入底 */
  --ink: #2b2823;            /* 暖墨 */
  --ink-soft: #6b6459;
  --muted: #9b9384;
  --hairline: #e4ddcd;
  --hairline-2: #d8cfba;

  --green: #2f7d54;
  --green-dark: #245f41;
  --green-soft: #e4efe4;
  --green-ink: #245f41;

  --btn-dark: #2b2723;        /* 主操作按钮：暖黑 */
  --btn-dark-hover: #443d34;
  --olive: #83813f;           /* 选中态描边 */

  --amber: #c98a2b;
  --red: #b8543f;
  --indigo: #566b9e;
  --violet: #8467ab;

  /* 分类马卡龙色（卡片底 / chip） */
  --c-green-bg: #e7f0e4;   --c-green-ink: #3a6b48;
  --c-red-bg:   #f6e6e0;   --c-red-ink:   #a4503b;
  --c-amber-bg: #f6ecd6;   --c-amber-ink: #8a6420;
  --c-blue-bg:  #e4eaf3;   --c-blue-ink:  #45557f;
  --c-violet-bg:#ede6f2;   --c-violet-ink:#6a5290;
  --c-gray-bg:  #ece7db;   --c-gray-ink:  #6b6459;

  /* 内嵌色块 / 悬停 / 控件 */
  --module: #f0ece3;          /* 内容模块、模板块底色 */
  --hover: #eae5d8;
  --hover-soft: #faf6ec;
  --knob: #fff;               /* 开关滑块 */
  --seg-track: rgba(43, 39, 35, 0.06);
  --menu-shadow: 0 8px 28px rgba(43, 39, 35, 0.14);

  --r-lg: 18px;
  --r-md: 13px;
  --r-sm: 9px;

  --shadow-sm: 0 1px 2px rgba(60, 50, 30, 0.05);
  --shadow-md: 0 1px 3px rgba(60, 50, 30, 0.05), 0 6px 20px rgba(60, 50, 30, 0.06);
  --shadow-lift: 0 2px 5px rgba(60, 50, 30, 0.06), 0 14px 34px rgba(60, 50, 30, 0.1);
  --toolbar-control-height: 38px;

  --serif: "Georgia", "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
  --sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;

  font-size: 15px;

  color-scheme: light;
}

/* ============ 深色配色（跟随系统，或手动 data-theme 覆盖） ============ */
/* 注意：下面两个块必须保持一致（一个管手动切换，一个管跟随系统） */

:root[data-theme="dark"] {
  --paper: #201d19;
  --paper-2: #2b2721;
  --card: #292520;
  --ink: #ece7db;
  --ink-soft: #b3ab9c;
  --muted: #857d6f;
  --hairline: #3a352c;
  --hairline-2: #4a4437;

  --green: #3f9b6e;
  --green-dark: #57b485;
  --green-soft: #24382c;
  --green-ink: #8ecdaa;

  --btn-dark: #e8e2d4;
  --btn-dark-hover: #d5cebd;
  --olive: #a5a35e;

  --amber: #d9a04a;
  --red: #d47b64;
  --indigo: #8399cf;
  --violet: #a98bd3;

  --c-green-bg: #263a2a;   --c-green-ink: #93c8a3;
  --c-red-bg:   #3d2a24;   --c-red-ink:   #dba18c;
  --c-amber-bg: #3b3122;   --c-amber-ink: #d5ac60;
  --c-blue-bg:  #282f3f;   --c-blue-ink:  #9cb0dc;
  --c-violet-bg:#322940;   --c-violet-ink:#bda2dd;
  --c-gray-bg:  #343028;   --c-gray-ink:  #a89f8e;

  --module: #322e26;
  --hover: #3a352b;
  --hover-soft: #2f2b24;
  --knob: #d8d2c4;
  --seg-track: rgba(255, 255, 255, 0.07);
  --menu-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 1px 3px rgba(0, 0, 0, 0.25), 0 6px 20px rgba(0, 0, 0, 0.3);
  --shadow-lift: 0 2px 5px rgba(0, 0, 0, 0.3), 0 14px 34px rgba(0, 0, 0, 0.4);

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #201d19;
    --paper-2: #2b2721;
    --card: #292520;
    --ink: #ece7db;
    --ink-soft: #b3ab9c;
    --muted: #857d6f;
    --hairline: #3a352c;
    --hairline-2: #4a4437;

    --green: #3f9b6e;
    --green-dark: #57b485;
    --green-soft: #24382c;
    --green-ink: #8ecdaa;

    --btn-dark: #e8e2d4;
    --btn-dark-hover: #d5cebd;
    --olive: #a5a35e;

    --amber: #d9a04a;
    --red: #d47b64;
    --indigo: #8399cf;
    --violet: #a98bd3;

    --c-green-bg: #263a2a;   --c-green-ink: #93c8a3;
    --c-red-bg:   #3d2a24;   --c-red-ink:   #dba18c;
    --c-amber-bg: #3b3122;   --c-amber-ink: #d5ac60;
    --c-blue-bg:  #282f3f;   --c-blue-ink:  #9cb0dc;
    --c-violet-bg:#322940;   --c-violet-ink:#bda2dd;
    --c-gray-bg:  #343028;   --c-gray-ink:  #a89f8e;

    --module: #322e26;
    --hover: #3a352b;
    --hover-soft: #2f2b24;
    --knob: #d8d2c4;
    --seg-track: rgba(255, 255, 255, 0.07);
    --menu-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 1px 3px rgba(0, 0, 0, 0.25), 0 6px 20px rgba(0, 0, 0, 0.3);
    --shadow-lift: 0 2px 5px rgba(0, 0, 0, 0.3), 0 14px 34px rgba(0, 0, 0, 0.4);

    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html {
  -webkit-tap-highlight-color: transparent;
}

button,
select,
a,
label,
input,
textarea,
.mini-item,
.app-select-item,
.mobile-app-item,
.mobile-menu-action {
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ============ 公开着陆页 ============ */

body.landing-page {
  --landing-bg: #f8faf7;
  --landing-ink: #18211d;
  --landing-soft: #607067;
  --landing-line: #dfe7df;
  --landing-indigo: #5368a4;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--landing-bg) 58%, #eef5ef 100%);
  color: var(--landing-ink);
}

body.landing-page {
  scroll-behavior: smooth;
}

body.landing-page a { color: inherit; }

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 20px;
  width: min(1180px, calc(100% - 48px));
  min-height: 74px;
  margin: 0 auto;
  background: rgba(248, 250, 247, 0.88);
  border-bottom: 1px solid rgba(223, 231, 223, 0.72);
  backdrop-filter: blur(18px);
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  text-decoration: none;
}

.landing-brand .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.landing-brand span:last-child {
  display: grid;
  line-height: 1.15;
}

.landing-brand strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 650;
}

.landing-brand small {
  color: var(--landing-soft);
  font-size: 12px;
}

.landing-links {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 28px;
  color: var(--landing-soft);
  font-size: 14px;
  font-weight: 700;
}

.landing-links a,
.landing-link {
  text-decoration: none;
}

.landing-links a:hover,
.landing-link:hover {
  color: var(--green-dark);
}

.landing-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.landing-link {
  color: var(--landing-soft);
  font-size: 14px;
  font-weight: 700;
}

.landing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.14s, background 0.14s, color 0.14s, border-color 0.14s;
}

.landing-button:active { transform: translateY(1px); }

.landing-button.primary {
  background: #287a54;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(40, 122, 84, 0.2);
}

.landing-button.primary:hover {
  background: #1f6545;
  color: #ffffff;
}

.landing-button.secondary {
  background: #ffffff;
  border: 1px solid var(--landing-line);
  color: var(--landing-ink);
}

.landing-button.secondary:hover {
  border-color: #9dbba9;
  color: #1f6545;
}

body.landing-page main.landing-main {
  flex: initial;
  min-width: 0;
  max-width: none;
  padding: 0;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: 46px;
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 132px);
  margin: 0 auto;
  padding: 42px 0 48px;
}

.hero-copy {
  display: grid;
  gap: 24px;
  align-content: center;
}

.hero-copy h1 {
  margin: 0;
  color: var(--landing-ink);
  font-family: var(--serif);
  font-size: 61px;
  font-weight: 680;
  line-height: 1.04;
}

.hero-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--landing-soft);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #42534a;
  font-size: 13px;
  font-weight: 800;
}

.hero-proof span {
  padding: 8px 11px;
  border: 1px solid var(--landing-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-product {
  position: relative;
  min-width: 0;
}

.hero-product::before {
  content: "";
  position: absolute;
  inset: -28px -18px auto auto;
  width: 64%;
  height: 72%;
  border: 1px solid #dce8df;
  border-radius: 8px;
  background: #e9f3ed;
  z-index: 0;
}

.product-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid #cfded3;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 60px rgba(31, 59, 45, 0.16);
}

.product-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 14px;
  background: #eef5ef;
  border-right: 1px solid #dce8df;
}

.product-logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--landing-ink);
}

.product-logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #287a54;
}

.product-nav {
  padding: 8px 10px;
  border-radius: 8px;
  color: #69776e;
  font-size: 13px;
  font-weight: 800;
}

.product-nav.active {
  background: #dbeade;
  color: #215b3e;
}

.product-board {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 18px;
  background: #fbfcfa;
}

.product-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  color: var(--landing-ink);
}

.product-toolbar strong {
  font-family: var(--serif);
  font-size: 22px;
}

.product-toolbar span {
  color: var(--landing-soft);
  font-size: 12px;
  font-weight: 800;
}

.product-columns {
  display: grid;
  grid-template-columns: minmax(210px, 0.92fr) minmax(230px, 1.08fr);
  gap: 14px;
  min-height: 0;
}

.review-list,
.draft-panel {
  border: 1px solid #dfe7df;
  border-radius: 8px;
  background: #ffffff;
}

.review-list {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 10px;
}

.review-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f6f8f5;
}

.review-row.active {
  border-color: #9dbba9;
  background: #edf7ef;
}

.source-dot {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
}

.source-dot.play { background: #287a54; }
.source-dot.mail { background: var(--landing-indigo); }

.review-row strong {
  display: block;
  color: #27332d;
  font-size: 13px;
  line-height: 1.3;
}

.review-row p {
  margin: 3px 0 0;
  color: #68756d;
  font-size: 12px;
  line-height: 1.45;
}

.draft-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: 16px;
}

.draft-head,
.draft-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.draft-head span {
  color: var(--landing-soft);
  font-size: 12px;
  font-weight: 800;
}

.draft-head strong {
  padding: 5px 8px;
  border-radius: 999px;
  background: #f2e7cc;
  color: #8a6420;
  font-size: 12px;
}

.draft-panel p {
  margin: 0;
  padding: 14px;
  border-radius: 8px;
  background: #f7f8f4;
  color: #344239;
  font-size: 14px;
  line-height: 1.7;
}

.draft-actions span {
  color: var(--landing-soft);
  font-size: 12px;
  font-weight: 800;
}

.draft-actions .product-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #287a54;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.workflow-section,
.value-section,
.pricing-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 78px 0;
  scroll-margin-top: 90px;
}

.workflow-section {
  padding-top: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.62fr);
  gap: 52px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading h2,
.value-copy h2,
.pricing-section h2 {
  margin: 0;
  color: var(--landing-ink);
  font-family: var(--serif);
  font-size: 39px;
  font-weight: 650;
  line-height: 1.14;
}

.section-heading p,
.value-copy p,
.pricing-section p {
  margin: 0;
  color: var(--landing-soft);
  font-size: 16px;
  line-height: 1.72;
}

.workflow-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(31, 59, 45, 0.08);
}

.workflow-rail article {
  display: grid;
  gap: 13px;
  min-height: 230px;
  padding: 28px;
}

.workflow-rail article + article {
  border-left: 1px solid var(--landing-line);
}

.workflow-rail span {
  color: var(--landing-indigo);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
}

.workflow-rail h3,
.value-grid h3,
.price-card h3 {
  margin: 0;
  color: var(--landing-ink);
  font-size: 20px;
  line-height: 1.25;
}

.workflow-rail p,
.value-grid p,
.price-card p,
.price-card li {
  margin: 0;
  color: var(--landing-soft);
  font-size: 14px;
  line-height: 1.7;
}

.value-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(460px, 1fr);
  gap: 54px;
  align-items: start;
}

.value-copy {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 104px;
}

.value-grid {
  display: grid;
  gap: 12px;
}

.value-grid article {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  background: #ffffff;
}

.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(480px, 1fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 24px;
  padding: 58px;
  border: 1px solid #d1dfd5;
  border-radius: 8px;
  background: #eaf3ec;
}

.pricing-section > div:first-child {
  display: grid;
  gap: 18px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.price-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
  border: 1px solid #d2dfd4;
  border-radius: 8px;
  background: #ffffff;
}

.price-card.featured {
  border-color: #8fb79f;
  box-shadow: 0 20px 42px rgba(31, 59, 45, 0.12);
}

.price-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.price-card .landing-button { margin-top: 4px; }

.landing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 42px;
  color: var(--landing-soft);
  font-size: 13px;
}

.landing-footer span {
  color: var(--landing-ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}

.landing-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.landing-footer a { text-decoration: none; }
.landing-footer a:hover { color: var(--green-dark); }

:root[data-theme="dark"] body.landing-page {
  --landing-bg: #171c19;
  --landing-ink: #eef3eb;
  --landing-soft: #a6b4aa;
  --landing-line: #344238;
  background:
    linear-gradient(180deg, #151a17 0%, #18201b 58%, #1c281f 100%);
}

:root[data-theme="dark"] .landing-nav {
  background: rgba(23, 28, 25, 0.88);
  border-bottom-color: rgba(52, 66, 56, 0.8);
}

:root[data-theme="dark"] .landing-button.secondary,
:root[data-theme="dark"] .hero-proof span,
:root[data-theme="dark"] .workflow-rail,
:root[data-theme="dark"] .value-grid article,
:root[data-theme="dark"] .price-card {
  background: #202721;
  border-color: #344238;
}

:root[data-theme="dark"] .hero-product::before,
:root[data-theme="dark"] .pricing-section {
  background: #1d2b22;
  border-color: #344238;
}

@media (max-width: 1080px) {
  .landing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 44px;
  }
  .hero-copy h1 { max-width: 760px; font-size: 49px; }
  .hero-copy p { max-width: 720px; }
  .hero-product { max-width: 760px; }
  .section-heading,
  .value-section,
  .pricing-section {
    grid-template-columns: 1fr;
  }
  .value-copy { position: static; }
  .pricing-section { padding: 38px; }
}

@media (max-width: 760px) {
  .landing-nav {
    grid-template-columns: 1fr auto;
    width: min(100% - 28px, 1180px);
    min-height: 66px;
  }
  .landing-links { display: none; }
  .landing-actions { gap: 10px; }
  .landing-link { display: none; }
  .landing-brand small { display: none; }
  .landing-brand .brand-mark {
    width: 35px;
    height: 35px;
    border-radius: 9px;
  }
  .landing-hero,
  .workflow-section,
  .value-section,
  .pricing-section,
  .landing-footer {
    width: min(100% - 28px, 1180px);
  }
  .landing-hero {
    gap: 34px;
    padding: 38px 0 52px;
  }
  .hero-copy { gap: 18px; }
  .hero-copy h1 {
    font-size: 36px;
    line-height: 1.1;
  }
  .hero-copy p {
    font-size: 16px;
    line-height: 1.68;
  }
  .hero-actions .landing-button {
    flex: 1 1 160px;
  }
  .hero-proof {
    gap: 7px;
    font-size: 12px;
  }
  .product-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .product-sidebar {
    display: none;
  }
  .product-board {
    padding: 14px;
  }
  .product-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .product-columns {
    grid-template-columns: 1fr;
  }
  .workflow-section,
  .value-section {
    padding: 54px 0;
  }
  .pricing-section {
    margin-bottom: 12px;
    padding: 24px;
  }
  .section-heading {
    gap: 16px;
  }
  .section-heading h2,
  .value-copy h2,
  .pricing-section h2 {
    font-size: 29px;
  }
  .workflow-rail,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .workflow-rail article {
    min-height: 0;
    padding: 22px;
  }
  .workflow-rail article + article {
    border-left: none;
    border-top: 1px solid var(--landing-line);
  }
  .landing-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 30px;
  }
}

/* ============ 公开着陆页 · 视频参考风格覆盖 ============ */

body.landing-page {
  --landing-paper: #eceadf;
  --landing-paper-soft: #f4f1e7;
  --landing-ink: #16160f;
  --landing-muted: #66644f;
  --landing-faint: #88866b;
  --landing-line: rgba(22, 22, 15, 0.16);
  --landing-line-soft: rgba(22, 22, 15, 0.09);
  --landing-dark: #17170d;
  --landing-dark-2: #222214;
  --landing-dark-line: rgba(238, 231, 199, 0.14);
  --landing-orange: #ff5a12;
  --landing-orange-2: #ff7a1a;
  --landing-olive: #99986c;
  --landing-olive-dark: #57573c;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, var(--landing-line-soft) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(0deg, var(--landing-line-soft) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(180deg, #f3f0e6 0%, var(--landing-paper) 58%, #e5e2d4 100%);
  color: var(--landing-ink);
}

body.landing-page {
  scroll-behavior: smooth;
}

body.landing-page a {
  color: inherit;
}

body.landing-page main.landing-main {
  flex: initial;
  min-width: 0;
  max-width: none;
  padding: 0;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 18px;
  width: min(1240px, calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
  background: rgba(236, 234, 223, 0.9);
  border-bottom: 1px solid var(--landing-line);
  backdrop-filter: blur(18px);
}

.landing-links,
.landing-actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--mono);
  font-size: 12px;
}

.landing-links {
  justify-self: start;
}

.landing-actions {
  justify-self: end;
}

.landing-links a,
.landing-link {
  color: var(--landing-muted);
  text-decoration: none;
}

.landing-links a:hover,
.landing-link:hover {
  color: var(--landing-ink);
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 10px;
  color: var(--landing-ink);
  text-decoration: none;
}

.landing-brand .brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--landing-ink);
  border-radius: 2px;
  background: var(--landing-dark);
  color: var(--landing-orange);
  box-shadow: none;
}

.landing-brand .brand-mark svg,
.landing-brand .brand-mark img {
  width: 17px;
  height: 17px;
  display: block;
}

.landing-brand span:last-child {
  display: grid;
  line-height: 1.1;
}

.landing-brand strong {
  color: var(--landing-ink);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 680;
}

.landing-brand small {
  color: var(--landing-muted);
  font-family: var(--mono);
  font-size: 10px;
}

.landing-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 18px;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.14s, background 0.14s, color 0.14s, border-color 0.14s;
}

.landing-button:active {
  transform: translateY(1px);
}

.landing-button.primary {
  border: 1px solid var(--landing-orange);
  background: var(--landing-orange);
  color: #17170d;
  box-shadow: 0 12px 30px rgba(255, 90, 18, 0.22);
}

.landing-button.primary:hover {
  background: var(--landing-orange-2);
  color: #17170d;
}

.landing-button.secondary {
  border: 1px solid var(--landing-line);
  background: rgba(244, 241, 231, 0.72);
  color: var(--landing-ink);
}

.landing-button.secondary:hover {
  border-color: var(--landing-ink);
}

.technical-grid {
  position: relative;
}

.technical-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(22, 22, 15, 0.075) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(0deg, rgba(22, 22, 15, 0.075) 1px, transparent 1px) 0 0 / 40px 40px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.18) 100%);
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(560px, 1fr);
  align-items: center;
  gap: 34px;
  width: min(1240px, calc(100% - 40px));
  min-height: calc(100svh - 128px);
  margin: 0 auto;
  padding: 28px 0 24px;
}

.hero-copy {
  display: grid;
  gap: 24px;
  align-content: center;
  min-width: 0;
}

.hero-copy h1 {
  max-width: 680px;
  margin: 0;
  color: var(--landing-ink);
  font-family: var(--serif);
  font-size: 76px;
  font-weight: 680;
  line-height: 0.98;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy p {
  max-width: 610px;
  margin: 0;
  color: var(--landing-muted);
  font-size: 18px;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.signal-panel {
  position: relative;
  min-width: 0;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid rgba(22, 22, 15, 0.42);
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(238, 231, 199, 0.07) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(0deg, rgba(238, 231, 199, 0.07) 1px, transparent 1px) 0 0 / 38px 38px,
    radial-gradient(circle at 50% 50%, rgba(255, 90, 18, 0.14), transparent 34%),
    linear-gradient(145deg, var(--landing-dark-2), var(--landing-dark));
  color: #ece7cd;
  box-shadow: 0 30px 58px rgba(22, 22, 15, 0.22);
}

.signal-panel::before,
.signal-panel::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  pointer-events: none;
}

.signal-panel::before {
  top: 12px;
  left: 12px;
  border-top: 1px solid rgba(255, 90, 18, 0.8);
  border-left: 1px solid rgba(255, 90, 18, 0.8);
}

.signal-panel::after {
  right: 12px;
  bottom: 76px;
  border-right: 1px solid rgba(255, 90, 18, 0.8);
  border-bottom: 1px solid rgba(255, 90, 18, 0.8);
}

.signal-panel-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid var(--landing-dark-line);
  color: rgba(236, 231, 205, 0.62);
  font-family: var(--mono);
  font-size: 10px;
}

.signal-panel-header strong {
  color: #ece7cd;
  font-size: 11px;
}

.signal-panel-header span:last-child {
  text-align: right;
}

.signal-board {
  position: relative;
  min-height: 402px;
}

.signal-map {
  display: block;
  width: 100%;
  height: 402px;
}

.signal-lines path {
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: signal-draw 5s ease-in-out infinite;
}

.signal-lines path:nth-child(2) { animation-delay: 0.25s; }
.signal-lines path:nth-child(3) { animation-delay: 0.5s; }
.signal-lines path:nth-child(4) { animation-delay: 0.75s; }
.signal-lines path:nth-child(5) { animation-delay: 1s; }
.signal-lines path:nth-child(6) { animation-delay: 1.25s; }

.signal-dots circle {
  fill: var(--landing-orange);
  stroke: #f3edd0;
  stroke-width: 1.4;
}

.signal-dots circle:first-child {
  fill: #f1ead0;
  stroke: var(--landing-orange);
  stroke-width: 2;
}

.signal-orbits {
  animation: signal-pulse 4.8s ease-in-out infinite;
}

.signal-labels text {
  fill: rgba(239, 233, 205, 0.82);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.signal-labels text:first-child {
  fill: #17170d;
  font-size: 14px;
}

.signal-readout {
  position: absolute;
  right: 18px;
  bottom: 14px;
  left: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--landing-dark-line);
  background: var(--landing-dark-line);
}

.signal-readout div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 12px;
  background: rgba(23, 23, 13, 0.82);
}

.signal-readout span,
.signal-readout small {
  color: rgba(236, 231, 205, 0.58);
  font-family: var(--mono);
  font-size: 10px;
}

.signal-readout strong {
  color: #f4eed2;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
}

.signal-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 62px;
  padding: 0 20px;
  border-top: 1px solid rgba(22, 22, 15, 0.45);
  background: var(--landing-orange);
  color: #17170d;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.signal-cta strong {
  font-size: 12px;
}

.workflow-section,
.value-section,
.pricing-section {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  scroll-margin-top: 86px;
}

.workflow-section {
  padding: 44px 0 78px;
}

.section-heading,
.value-copy,
.pricing-copy {
  display: grid;
  gap: 16px;
}

.section-heading {
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.48fr);
  align-items: end;
  margin-bottom: 30px;
}

.section-heading > span,
.value-copy > span,
.pricing-copy > span {
  color: var(--landing-olive-dark);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}

.section-heading h2,
.value-copy h2,
.pricing-section h2 {
  margin: 0;
  color: var(--landing-ink);
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 680;
  line-height: 1.06;
}

.section-heading p,
.value-copy p,
.pricing-section p {
  margin: 0;
  color: var(--landing-muted);
  font-size: 16px;
  line-height: 1.75;
}

.workflow-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--landing-line);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(244, 241, 231, 0.58);
  box-shadow: none;
}

.workflow-rail article {
  display: grid;
  gap: 13px;
  min-height: 224px;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(22, 22, 15, 0.06) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(0deg, rgba(22, 22, 15, 0.06) 1px, transparent 1px) 0 0 / 34px 34px;
}

.workflow-rail article + article {
  border-left: 1px solid var(--landing-line);
}

.workflow-rail span,
.value-grid span {
  color: var(--landing-orange);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
}

.workflow-rail h3,
.value-grid h3,
.price-card h3 {
  margin: 0;
  color: var(--landing-ink);
  font-size: 20px;
  line-height: 1.25;
}

.workflow-rail p,
.value-grid p,
.price-card p,
.price-card li {
  margin: 0;
  color: var(--landing-muted);
  font-size: 14px;
  line-height: 1.68;
}

.value-section {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(480px, 1fr);
  gap: 56px;
  align-items: start;
  padding: 76px 0;
}

.value-copy {
  position: sticky;
  top: 104px;
}

.value-grid {
  display: grid;
  border-top: 1px solid var(--landing-line);
}

.value-grid article {
  display: grid;
  grid-template-columns: 56px minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--landing-line);
  background: transparent;
}

.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(520px, 1fr);
  gap: 44px;
  align-items: center;
  margin-bottom: 26px;
  padding: 46px;
  border: 1px solid rgba(22, 22, 15, 0.38);
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(238, 231, 199, 0.07) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(0deg, rgba(238, 231, 199, 0.07) 1px, transparent 1px) 0 0 / 38px 38px,
    var(--landing-dark);
}

.pricing-section h2,
.pricing-section .pricing-copy > span,
.pricing-section .pricing-copy p {
  color: #f1ead0;
}

.pricing-section .pricing-copy p {
  color: rgba(241, 234, 208, 0.68);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.price-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 286px;
  padding: 22px;
  border: 1px solid rgba(241, 234, 208, 0.16);
  border-radius: 4px;
  background: rgba(244, 241, 231, 0.06);
}

.price-card h3 {
  color: #f1ead0;
  font-family: var(--serif);
  font-size: 26px;
}

.price-card p,
.price-card li {
  color: rgba(241, 234, 208, 0.7);
}

.price-card.featured {
  border-color: rgba(255, 90, 18, 0.78);
  background: rgba(255, 90, 18, 0.1);
  box-shadow: none;
}

.price-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.price-card .landing-button {
  align-self: end;
  margin-top: 4px;
}

.pricing-section .landing-button.secondary {
  border-color: rgba(241, 234, 208, 0.28);
  background: transparent;
  color: #f1ead0;
}

.landing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--landing-line);
  color: var(--landing-muted);
  font-family: var(--mono);
  font-size: 12px;
}

.landing-footer span {
  color: var(--landing-ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}

.landing-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.landing-footer a {
  text-decoration: none;
}

.landing-footer a:hover {
  color: var(--landing-ink);
}

@keyframes signal-draw {
  0% { stroke-dashoffset: 340; opacity: 0.16; }
  45% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -340; opacity: 0.16; }
}

@keyframes signal-pulse {
  0%, 100% { opacity: 0.25; }
  45% { opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  .signal-lines path,
  .signal-orbits {
    animation: none;
  }
}

@media (max-width: 1120px) {
  .landing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
  }

  .hero-copy h1 {
    max-width: 820px;
    font-size: 62px;
  }

  .hero-copy p {
    max-width: 740px;
  }

  .signal-panel {
    max-width: 820px;
  }

  .section-heading,
  .value-section,
  .pricing-section {
    grid-template-columns: 1fr;
  }

  .value-copy {
    position: static;
  }

  .pricing-section {
    padding: 38px;
  }
}

@media (max-width: 760px) {
  .landing-nav {
    grid-template-columns: 1fr auto;
    width: min(100% - 28px, 1240px);
    min-height: 64px;
  }

  .landing-links,
  .landing-link,
  .landing-brand small {
    display: none;
  }

  .landing-brand {
    justify-self: start;
  }

  .landing-actions {
    gap: 10px;
  }

  .landing-button {
    min-height: 40px;
    padding: 0 14px;
    font-size: 12px;
  }

  .landing-hero,
  .workflow-section,
  .value-section,
  .pricing-section,
  .landing-footer {
    width: min(100% - 28px, 1240px);
  }

  .landing-hero {
    gap: 20px;
    padding: 24px 0 26px;
  }

  .hero-copy {
    gap: 17px;
  }

  .hero-copy h1 {
    font-size: 39px;
    line-height: 1.04;
  }

  .hero-copy p {
    font-size: 15px;
    line-height: 1.66;
  }

  .hero-actions .landing-button {
    flex: 1 1 138px;
  }

  .signal-panel {
    min-height: 324px;
  }

  .signal-panel-header {
    grid-template-columns: 1fr;
    gap: 2px;
    min-height: 48px;
    padding: 8px 12px;
  }

  .signal-panel-header strong,
  .signal-panel-header span:last-child {
    text-align: left;
  }

  .signal-board {
    min-height: 214px;
  }

  .signal-map {
    height: 238px;
  }

  .signal-readout {
    display: none;
  }

  .signal-cta {
    min-height: 54px;
    padding: 0 14px;
    font-size: 12px;
  }

  .workflow-section,
  .value-section {
    padding: 50px 0;
  }

  .workflow-section {
    padding-top: 18px;
  }

  .section-heading {
    display: grid;
    gap: 14px;
    margin-bottom: 22px;
  }

  .section-heading h2,
  .value-copy h2,
  .pricing-section h2 {
    font-size: 31px;
    line-height: 1.1;
  }

  .workflow-rail,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .workflow-rail article {
    min-height: 0;
    padding: 20px;
  }

  .workflow-rail article + article {
    border-left: none;
    border-top: 1px solid var(--landing-line);
  }

  .value-section {
    gap: 28px;
  }

  .value-grid article {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px 14px;
  }

  .value-grid p {
    grid-column: 2;
  }

  .pricing-section {
    gap: 28px;
    margin-bottom: 18px;
    padding: 24px;
  }

  .price-card {
    min-height: 0;
  }

  .landing-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 30px;
  }
}

/* ============ 公开着陆页 · 琥珀产品页风格 ============ */

body.atmosphere-landing {
  --atmo-bg: #17110c;
  --atmo-shell: #f5f3ed;
  --atmo-shell-2: #fbfaf7;
  --atmo-ink: #11110f;
  --atmo-muted: #66625a;
  --atmo-faint: #9c978d;
  --atmo-line: rgba(18, 17, 15, 0.09);
  --atmo-line-strong: rgba(18, 17, 15, 0.14);
  --atmo-button: #050505;
  --atmo-soft-button: #e9e6dd;
  --atmo-accent: #b99771;
  --atmo-red: #e85a3f;
  --atmo-blue: #4b82c3;
  --atmo-green: #4f9a68;
  --atmo-orange: #db8a38;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(18, 13, 8, 0.12), rgba(18, 13, 8, 0.58)),
    radial-gradient(circle at 50% 0%, rgba(239, 206, 161, 0.35), transparent 48%),
    var(--atmo-bg);
  color: var(--atmo-ink);
}

body.atmosphere-landing main.landing-main {
  display: block;
  max-width: none;
  min-width: 0;
  padding: 0;
}

body.atmosphere-landing a {
  color: inherit;
}

body.atmosphere-landing .landing-shell {
  width: min(1420px, calc(100% - 96px));
  min-height: calc(100vh - 96px);
  margin: 48px auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.98), transparent 42%),
    linear-gradient(180deg, var(--atmo-shell-2) 0%, var(--atmo-shell) 100%);
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.35);
}

body.atmosphere-landing .landing-nav {
  position: relative;
  top: auto;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  width: auto;
  min-height: 76px;
  margin: 0;
  padding: 0 56px;
  border-bottom: none;
  background: transparent;
  backdrop-filter: none;
}

body.atmosphere-landing .landing-brand {
  justify-self: start;
  gap: 10px;
  text-decoration: none;
}

body.atmosphere-landing .landing-brand .brand-mark {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--atmo-ink);
  box-shadow: none;
}

body.atmosphere-landing .landing-brand .brand-mark svg {
  width: 22px;
  height: 22px;
}

body.atmosphere-landing .landing-brand strong {
  color: var(--atmo-ink);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
}

body.atmosphere-landing .landing-links {
  display: inline-flex;
  justify-self: center;
  gap: 34px;
  color: var(--atmo-muted);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
}

body.atmosphere-landing .landing-links a,
body.atmosphere-landing .landing-link {
  text-decoration: none;
}

body.atmosphere-landing .landing-links a:hover,
body.atmosphere-landing .landing-link:hover {
  color: var(--atmo-ink);
}

body.atmosphere-landing .landing-actions {
  justify-self: end;
  gap: 14px;
  font-family: var(--sans);
}

body.atmosphere-landing .landing-link {
  color: var(--atmo-ink);
  font-size: 14px;
  font-weight: 700;
}

body.atmosphere-landing .landing-button {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: none;
}

body.atmosphere-landing .landing-button.compact {
  min-height: 42px;
  padding: 0 18px;
  font-weight: 700;
}

body.atmosphere-landing .landing-button.primary {
  border: 1px solid var(--atmo-button);
  background: var(--atmo-button);
  color: #fff;
}

body.atmosphere-landing .landing-button.primary:hover {
  background: #26231e;
  color: #fff;
}

body.atmosphere-landing .landing-button.secondary {
  border: 1px solid var(--atmo-line);
  background: var(--atmo-soft-button);
  color: var(--atmo-ink);
}

body.atmosphere-landing .landing-button.secondary:hover {
  border-color: var(--atmo-line-strong);
  background: #ded9cf;
}

body.atmosphere-landing .landing-hero {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 24px;
  width: min(900px, calc(100% - 48px));
  min-height: 0;
  margin: 0 auto;
  padding: 70px 0 54px;
  text-align: center;
}

body.atmosphere-landing .landing-hero h1 {
  margin: 0;
  color: var(--atmo-ink);
  font-family: var(--serif);
  font-size: 82px;
  font-weight: 700;
  line-height: 0.96;
}

body.atmosphere-landing .landing-hero h1 span {
  display: block;
}

body.atmosphere-landing .landing-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--atmo-muted);
  font-size: 18px;
  line-height: 1.78;
}

body.atmosphere-landing .hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
}

body.atmosphere-landing .product-showcase {
  position: relative;
  width: calc(100% - 112px);
  min-height: 520px;
  margin: 0 auto 72px;
  overflow: hidden;
  border-radius: 18px;
}

body.atmosphere-landing .showcase-atmosphere {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 6, 4, 0.08), rgba(8, 6, 4, 0.2)),
    radial-gradient(circle at 50% 16%, rgba(234, 199, 151, 0.48), transparent 52%),
    linear-gradient(135deg, #efe7d8 0%, #c2a582 46%, #5a4632 100%);
  filter: saturate(1.05);
}

body.atmosphere-landing .app-preview {
  position: absolute;
  inset: 48px 88px auto;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(20, 19, 17, 0.12);
  border-radius: 18px 18px 0 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

body.atmosphere-landing .preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 28px 22px;
  background: #efede7;
  border-right: 1px solid var(--atmo-line);
}

body.atmosphere-landing .preview-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--atmo-ink);
}

body.atmosphere-landing .preview-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: #6e675c;
  font-size: 13px;
  font-weight: 800;
}

body.atmosphere-landing .preview-sidebar nav {
  display: grid;
  gap: 8px;
}

body.atmosphere-landing .preview-sidebar nav span,
body.atmosphere-landing .preview-settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 9px;
  color: #5f5a51;
  font-size: 14px;
  font-weight: 700;
}

body.atmosphere-landing .preview-sidebar nav .active {
  background: #fff;
  color: var(--atmo-ink);
}

body.atmosphere-landing .preview-sidebar b {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--atmo-line);
  border-radius: 999px;
  background: #f7f5ef;
  font-size: 12px;
}

body.atmosphere-landing .preview-settings {
  margin-top: auto;
}

body.atmosphere-landing .preview-main {
  min-width: 0;
  padding: 28px 30px;
}

body.atmosphere-landing .preview-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 34px auto;
  gap: 12px;
  align-items: center;
}

body.atmosphere-landing .preview-toolbar label {
  display: block;
}

body.atmosphere-landing .preview-toolbar input {
  width: 100%;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--atmo-line);
  border-radius: 10px;
  background: #fff;
  color: var(--atmo-ink);
  font: 600 13px var(--sans);
}

body.atmosphere-landing .preview-bell {
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid var(--atmo-line);
  border-radius: 9px;
  background:
    radial-gradient(circle at 50% 68%, #6e675c 2px, transparent 3px),
    radial-gradient(circle at 50% 45%, transparent 7px, #6e675c 8px, transparent 9px),
    #fff;
}

body.atmosphere-landing .preview-select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--atmo-line);
  border-radius: 9px;
  background: #fff;
  color: #4f4a43;
  font-size: 13px;
  font-weight: 700;
}

body.atmosphere-landing .preview-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 28px;
}

body.atmosphere-landing .preview-title h2 {
  margin: 0;
  color: var(--atmo-ink);
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 760;
}

body.atmosphere-landing .preview-title span {
  color: var(--atmo-faint);
  font-size: 13px;
  font-weight: 700;
}

body.atmosphere-landing .preview-flow {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.15fr 1.1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

body.atmosphere-landing .preview-flow article {
  min-height: 160px;
  padding: 18px;
  border: 1px solid var(--atmo-line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f7f4ed);
}

body.atmosphere-landing .preview-flow span {
  display: block;
  color: var(--atmo-ink);
  font-size: 15px;
  font-weight: 800;
}

body.atmosphere-landing .preview-flow small {
  display: block;
  margin-top: 4px;
  color: var(--atmo-faint);
  font-size: 12px;
  font-weight: 700;
}

body.atmosphere-landing .source-row,
body.atmosphere-landing .category-line,
body.atmosphere-landing .status-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 30px;
  margin-top: 10px;
  padding: 0 10px;
  border: 1px solid var(--atmo-line);
  border-radius: 8px;
  background: #fff;
  color: #4f4a43;
  font-size: 12px;
  font-weight: 750;
}

body.atmosphere-landing .source-row b {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: linear-gradient(135deg, #4aa66d, #f1c84d 50%, #4d8cf0);
}

body.atmosphere-landing .source-row.mail b {
  border: 1px solid #9a9388;
  background: #fff;
}

body.atmosphere-landing .source-row em,
body.atmosphere-landing .category-line em {
  margin-left: auto;
  color: var(--atmo-muted);
  font-style: normal;
}

body.atmosphere-landing .signal-ring {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 20px auto 0;
  border: 1px dashed rgba(17, 17, 15, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle, #11110f 0 9px, transparent 10px),
    radial-gradient(circle, #f4f1eb 0 25px, transparent 26px);
}

body.atmosphere-landing .signal-ring i {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--atmo-accent);
}

body.atmosphere-landing .signal-ring i:nth-child(1) { top: 6px; left: 34px; }
body.atmosphere-landing .signal-ring i:nth-child(2) { right: 7px; top: 34px; background: var(--atmo-blue); }
body.atmosphere-landing .signal-ring i:nth-child(3) { bottom: 7px; left: 34px; background: var(--atmo-red); }
body.atmosphere-landing .signal-ring i:nth-child(4) { left: 7px; top: 34px; background: var(--atmo-green); }

body.atmosphere-landing .category-line.bug,
body.atmosphere-landing .status-pill.waiting {
  color: var(--atmo-red);
}

body.atmosphere-landing .category-line.refund {
  color: var(--atmo-orange);
}

body.atmosphere-landing .category-line.idea,
body.atmosphere-landing .status-pill.draft {
  color: var(--atmo-blue);
}

body.atmosphere-landing .category-line.praise,
body.atmosphere-landing .status-pill.sent {
  color: var(--atmo-green);
}

body.atmosphere-landing .draft-lines {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

body.atmosphere-landing .draft-lines i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(20, 20, 17, 0.14), rgba(20, 20, 17, 0.04));
}

body.atmosphere-landing .draft-lines i:nth-child(2) { width: 82%; }
body.atmosphere-landing .draft-lines i:nth-child(3) { width: 58%; }

body.atmosphere-landing .preview-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 18px;
  margin-top: 18px;
}

body.atmosphere-landing .message-list,
body.atmosphere-landing .reply-draft {
  min-width: 0;
  border: 1px solid var(--atmo-line);
  border-radius: 14px;
  background: #fff;
}

body.atmosphere-landing .message-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--atmo-line);
  color: var(--atmo-muted);
  font-size: 12px;
  font-weight: 800;
}

body.atmosphere-landing .message-tabs .active {
  color: var(--atmo-ink);
}

body.atmosphere-landing .message-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 18px;
}

body.atmosphere-landing .avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #8a63bd;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

body.atmosphere-landing .message-row strong,
body.atmosphere-landing .reply-draft strong {
  color: var(--atmo-ink);
  font-size: 15px;
}

body.atmosphere-landing .message-row p {
  margin: 5px 0;
  color: #3f3b35;
  font-size: 13px;
}

body.atmosphere-landing .message-row small {
  color: var(--atmo-faint);
  font-size: 12px;
}

body.atmosphere-landing .message-row > b {
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff0e5;
  color: var(--atmo-orange);
  font-size: 12px;
}

body.atmosphere-landing .reply-draft {
  padding: 18px;
}

body.atmosphere-landing .draft-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.atmosphere-landing .draft-head span {
  padding: 5px 9px;
  border-radius: 999px;
  background: #ffe8e3;
  color: var(--atmo-red);
  font-size: 12px;
  font-weight: 800;
}

body.atmosphere-landing .reply-draft p {
  margin: 14px 0 0;
  color: #4e4941;
  font-size: 14px;
  line-height: 1.8;
}

body.atmosphere-landing .workflow-section,
body.atmosphere-landing .value-section,
body.atmosphere-landing .pricing-section,
body.atmosphere-landing .landing-footer {
  width: calc(100% - 112px);
  margin-right: auto;
  margin-left: auto;
  scroll-margin-top: 28px;
}

body.atmosphere-landing .workflow-section {
  padding: 10px 0 76px;
}

body.atmosphere-landing .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(320px, 0.46fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 24px;
}

body.atmosphere-landing .section-heading h2,
body.atmosphere-landing .value-copy h2,
body.atmosphere-landing .pricing-section h2 {
  margin: 0;
  color: var(--atmo-ink);
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.08;
}

body.atmosphere-landing .section-heading p,
body.atmosphere-landing .value-copy p,
body.atmosphere-landing .pricing-section p {
  margin: 0;
  color: var(--atmo-muted);
  font-size: 16px;
  line-height: 1.75;
}

body.atmosphere-landing .workflow-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--atmo-line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: none;
}

body.atmosphere-landing .workflow-rail article {
  display: grid;
  gap: 12px;
  min-height: 200px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.36);
}

body.atmosphere-landing .workflow-rail article + article {
  border-left: 1px solid var(--atmo-line);
}

body.atmosphere-landing .workflow-rail span,
body.atmosphere-landing .value-grid span {
  color: var(--atmo-accent);
  font-size: 13px;
  font-weight: 900;
}

body.atmosphere-landing .workflow-rail h3,
body.atmosphere-landing .value-grid h3,
body.atmosphere-landing .price-card h3 {
  margin: 0;
  color: var(--atmo-ink);
  font-size: 20px;
}

body.atmosphere-landing .workflow-rail p,
body.atmosphere-landing .value-grid p,
body.atmosphere-landing .price-card p,
body.atmosphere-landing .price-card li {
  margin: 0;
  color: var(--atmo-muted);
  font-size: 14px;
  line-height: 1.7;
}

body.atmosphere-landing .value-section {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(460px, 1fr);
  gap: 54px;
  padding: 76px 0;
  border-top: 1px solid var(--atmo-line);
}

body.atmosphere-landing .value-copy {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 32px;
}

body.atmosphere-landing .value-grid {
  display: grid;
  border-top: 1px solid var(--atmo-line);
}

body.atmosphere-landing .value-grid article {
  display: grid;
  grid-template-columns: 52px minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--atmo-line);
  background: transparent;
}

body.atmosphere-landing .pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(520px, 1fr);
  gap: 36px;
  align-items: center;
  margin-bottom: 42px;
  padding: 40px;
  border: 1px solid var(--atmo-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
}

body.atmosphere-landing .pricing-copy {
  display: grid;
  gap: 16px;
}

body.atmosphere-landing .pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.atmosphere-landing .price-card {
  display: grid;
  gap: 14px;
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--atmo-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
}

body.atmosphere-landing .price-card.featured {
  border-color: rgba(17, 17, 15, 0.28);
  background: #fff;
  box-shadow: 0 18px 48px rgba(40, 32, 22, 0.1);
}

body.atmosphere-landing .price-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

body.atmosphere-landing .price-card .landing-button {
  align-self: end;
}

body.atmosphere-landing .landing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 36px;
  border-top: 1px solid var(--atmo-line);
  color: var(--atmo-muted);
  font-size: 13px;
}

body.atmosphere-landing .landing-footer span {
  color: var(--atmo-ink);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
}

body.atmosphere-landing .landing-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

body.atmosphere-landing .landing-footer a {
  text-decoration: none;
}

@media (max-width: 1160px) {
  body.atmosphere-landing .landing-shell {
    width: min(100% - 40px, 1420px);
    margin: 20px auto;
  }

  body.atmosphere-landing .landing-nav {
    padding: 0 32px;
  }

  body.atmosphere-landing .landing-hero h1 {
    font-size: 66px;
  }

  body.atmosphere-landing .product-showcase,
  body.atmosphere-landing .workflow-section,
  body.atmosphere-landing .value-section,
  body.atmosphere-landing .pricing-section,
  body.atmosphere-landing .landing-footer {
    width: calc(100% - 64px);
  }

  body.atmosphere-landing .app-preview {
    inset: 38px 44px auto;
  }

  body.atmosphere-landing .preview-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.atmosphere-landing .preview-detail,
  body.atmosphere-landing .section-heading,
  body.atmosphere-landing .value-section,
  body.atmosphere-landing .pricing-section {
    grid-template-columns: 1fr;
  }

  body.atmosphere-landing .value-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  body.atmosphere-landing {
    background-attachment: scroll;
  }

  body.atmosphere-landing .landing-shell {
    width: min(100% - 20px, 1420px);
    min-height: calc(100vh - 20px);
    margin: 10px auto;
    border-radius: 18px;
  }

  body.atmosphere-landing .landing-nav {
    grid-template-columns: 1fr auto;
    min-height: 66px;
    padding: 0 18px;
  }

  body.atmosphere-landing .landing-links,
  body.atmosphere-landing .landing-link {
    display: none;
  }

  body.atmosphere-landing .landing-brand strong {
    font-size: 22px;
  }

  body.atmosphere-landing .landing-button.compact {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  body.atmosphere-landing .landing-hero {
    width: min(100% - 28px, 900px);
    gap: 18px;
    padding: 40px 0 34px;
  }

  body.atmosphere-landing .landing-hero h1 {
    font-size: 43px;
    line-height: 1.04;
  }

  body.atmosphere-landing .landing-hero p {
    font-size: 15px;
    line-height: 1.7;
  }

  body.atmosphere-landing .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 10px;
  }

  body.atmosphere-landing .landing-button {
    min-height: 44px;
    padding: 0 12px;
    font-size: 14px;
  }

  body.atmosphere-landing .product-showcase,
  body.atmosphere-landing .workflow-section,
  body.atmosphere-landing .value-section,
  body.atmosphere-landing .pricing-section,
  body.atmosphere-landing .landing-footer {
    width: calc(100% - 28px);
  }

  body.atmosphere-landing .product-showcase {
    min-height: 460px;
    margin-bottom: 34px;
    border-radius: 14px;
  }

  body.atmosphere-landing .app-preview {
    inset: 22px 14px auto;
    grid-template-columns: 1fr;
    min-height: 520px;
    border-radius: 14px 14px 0 0;
  }

  body.atmosphere-landing .preview-sidebar {
    display: none;
  }

  body.atmosphere-landing .preview-main {
    padding: 18px;
  }

  body.atmosphere-landing .preview-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.atmosphere-landing .preview-bell {
    display: none;
  }

  body.atmosphere-landing .preview-title {
    margin-top: 20px;
  }

  body.atmosphere-landing .preview-title h2 {
    font-size: 22px;
  }

  body.atmosphere-landing .preview-flow {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  body.atmosphere-landing .preview-flow article {
    min-height: 136px;
    padding: 14px;
  }

  body.atmosphere-landing .preview-flow article:nth-child(n+4),
  body.atmosphere-landing .preview-detail {
    display: none;
  }

  body.atmosphere-landing .workflow-section {
    padding: 8px 0 50px;
  }

  body.atmosphere-landing .section-heading {
    gap: 14px;
  }

  body.atmosphere-landing .section-heading h2,
  body.atmosphere-landing .value-copy h2,
  body.atmosphere-landing .pricing-section h2 {
    font-size: 31px;
  }

  body.atmosphere-landing .workflow-rail,
  body.atmosphere-landing .pricing-grid {
    grid-template-columns: 1fr;
  }

  body.atmosphere-landing .workflow-rail article {
    min-height: 0;
    padding: 22px;
  }

  body.atmosphere-landing .workflow-rail article + article {
    border-left: none;
    border-top: 1px solid var(--atmo-line);
  }

  body.atmosphere-landing .value-section {
    gap: 26px;
    padding: 52px 0;
  }

  body.atmosphere-landing .value-grid article {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 9px 14px;
  }

  body.atmosphere-landing .value-grid p {
    grid-column: 2;
  }

  body.atmosphere-landing .pricing-section {
    gap: 24px;
    padding: 22px;
  }

  body.atmosphere-landing .price-card {
    min-height: 0;
  }

  body.atmosphere-landing .landing-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ============ 公开着陆页 · Leadpages 参考转化页 ============ */

body.conversion-landing {
  --conv-bg: #111018;
  --conv-bg-2: #171620;
  --conv-ink: #111018;
  --conv-white: #ffffff;
  --conv-muted: #9b98a8;
  --conv-soft: #f6f6f8;
  --conv-line: rgba(13, 13, 20, 0.12);
  --conv-dark-line: rgba(255, 255, 255, 0.08);
  --conv-lime: #ceff66;
  --conv-lime-2: #bfff40;
  --conv-purple: #7d5cff;
  --conv-blue: #57a8ff;
  --conv-teal: #60e8c2;
  --lp-ink: #111018;
  --lp-display: #c4c0cb;
  --lp-eyebrow: #858096;
  --lp-copy: #8f8999;
  --lp-card-text: #706a7e;
  --lp-border: #eeeaf6;
  --lp-soft-line: #e9defe;
  --lp-active: #191724;
  --conv-card-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --conv-white-shadow: 0 18px 70px rgba(28, 24, 40, 0.08);
  font-family: "Avenir Next", Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  background: var(--conv-bg);
  color: var(--conv-white);
}

body.conversion-landing::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, rgba(125, 92, 255, 0.12), transparent 28%),
    radial-gradient(circle at 92% 44%, rgba(206, 255, 102, 0.09), transparent 31%),
    linear-gradient(180deg, #0b0a10 0%, #111018 62%, #ffffff 62%, #ffffff 100%);
}

body.conversion-landing a {
  color: inherit;
}

body.conversion-landing main.landing-main {
  display: block;
  max-width: none;
  min-width: 0;
  padding: 0;
}

body.conversion-landing .landing-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 62px;
  margin: 0;
  padding-inline: max(24px, calc((100% - 1280px) / 2 + 24px));
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #111018;
  box-shadow: none;
  backdrop-filter: none;
  transition: min-height 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

body.conversion-landing.has-scrolled .landing-nav {
  min-height: 58px;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(17, 16, 24, 0.94);
  box-shadow: 0 12px 34px rgba(8, 7, 15, 0.18);
  backdrop-filter: blur(16px);
}

body.conversion-landing .landing-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  text-decoration: none;
}

body.conversion-landing .landing-brand .brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: #f3eee4;
  color: #244f5c;
  box-shadow: 0 10px 24px rgba(11, 18, 17, 0.24);
}

body.conversion-landing .landing-brand .brand-mark svg,
body.conversion-landing .landing-brand .brand-mark img {
  width: 15px;
  height: 15px;
  display: block;
}

body.conversion-landing .landing-brand strong {
  color: #fff;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

body.conversion-landing .landing-links {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
}

body.conversion-landing .landing-links a,
body.conversion-landing .landing-link {
  text-decoration: none;
}

body.conversion-landing .landing-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.16s ease, color 0.16s ease;
}

body.conversion-landing .landing-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
}

body.conversion-landing .landing-links a:hover,
body.conversion-landing .landing-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

body.conversion-landing .landing-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 14px;
  font-family: var(--sans);
}

body.conversion-landing .language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

body.conversion-landing .language-switcher button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  min-width: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font: 800 12px var(--sans);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

body.conversion-landing .language-switcher button.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

body.conversion-landing .landing-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
}

body.conversion-landing .landing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 128px;
  padding: 0 20px;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background-size: 190% 100%;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, background-position 0.28s ease, box-shadow 0.18s ease;
}

body.conversion-landing .landing-button:active {
  transform: translateY(1px);
}

body.conversion-landing .landing-button.primary {
  border: 0;
  background-image: linear-gradient(105deg, var(--conv-lime), #e3ff94 46%, var(--conv-teal) 100%);
  background-color: var(--conv-lime);
  color: #09080d;
  box-shadow: none;
}

body.conversion-landing .landing-button.primary:hover {
  background-position: 100% 0;
  box-shadow: 0 16px 36px rgba(201, 255, 47, 0.17);
  transform: translateY(-2px);
}

body.conversion-landing .landing-button.secondary {
  border: 1px solid var(--conv-dark-line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

body.conversion-landing .landing-button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

body.conversion-landing .landing-button:focus-visible,
body.conversion-landing .integration-tabs button:focus-visible,
body.conversion-landing .draft-card button:focus-visible,
body.conversion-landing .language-switcher button:focus-visible {
  outline: 2px solid rgba(206, 255, 102, 0.75);
  outline-offset: 3px;
}

body.conversion-landing section[id] {
  scroll-margin-top: 92px;
}

body.conversion-landing .conversion-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 62px);
  padding: 108px 0 0;
  background:
    radial-gradient(circle at 50% 22%, rgba(125, 92, 255, 0.08), transparent 27%),
    radial-gradient(circle at 81% 73%, rgba(206, 255, 102, 0.06), transparent 26%),
    linear-gradient(180deg, #0c0b12 0%, #111018 70%, #111018 100%);
}

body.conversion-landing .conversion-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(8, 7, 15, 0.78));
}

body.conversion-landing .growth-curve {
  position: absolute;
  right: max(0px, calc((100vw - 1440px) / 2 - 92px));
  bottom: -18px;
  z-index: 0;
  width: min(1080px, 76vw);
  height: auto;
  pointer-events: none;
  opacity: 0.72;
}

body.conversion-landing .growth-shadow {
  fill: none;
  stroke: rgba(201, 255, 47, 0.16);
  stroke-width: 19;
  filter: url("#growthGlow");
}

body.conversion-landing .growth-line {
  fill: none;
  stroke: url("#growthLine");
  stroke-linecap: round;
  stroke-width: 4;
  filter: url("#growthGlow");
}

body.conversion-landing .growth-dots circle {
  fill: var(--conv-lime);
  filter: url("#growthGlow");
}

body.conversion-landing .growth-dots circle:nth-child(4) {
  fill: var(--conv-purple);
}

body.conversion-landing .hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}

body.conversion-landing .hero-system-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  margin-bottom: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 900;
}

body.conversion-landing .proof-badges {
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 26px;
}

body.conversion-landing .proof-badges span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.085);
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 900;
}

body.conversion-landing .proof-badges span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

body.conversion-landing .badge-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--conv-lime);
  box-shadow: 0 0 16px rgba(201, 255, 47, 0.55);
}

body.conversion-landing .badge-dot.speed {
  background: #ff5a12;
  box-shadow: 0 0 14px rgba(255, 90, 18, 0.45);
}

body.conversion-landing .badge-dot.review {
  background: #f8c84b;
  box-shadow: 0 0 14px rgba(248, 200, 75, 0.45);
}

body.conversion-landing .badge-dot.setup {
  background: #7f59ff;
  box-shadow: 0 0 14px rgba(127, 89, 255, 0.5);
}

body.conversion-landing .conversion-hero h1 {
  max-width: 1060px;
  margin: 0;
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(48px, 3.9vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 22px 70px rgba(255, 255, 255, 0.1);
}

body.conversion-landing .conversion-hero h1 span {
  display: inline-block;
  background: linear-gradient(92deg, var(--conv-purple) 4%, var(--conv-teal) 54%, var(--conv-blue) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.conversion-landing .mobile-break {
  display: none;
}

body.conversion-landing .conversion-hero p {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(233, 228, 241, 0.62);
  font-size: 16px;
  line-height: 1.68;
}

body.conversion-landing .hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

body.conversion-landing .hero-product-stage {
  position: relative;
  width: min(672px, 100%);
  margin-top: 78px;
}

body.conversion-landing .stage-frame {
  overflow: hidden;
  min-height: 342px;
  border: 1px solid rgba(206, 255, 102, 0.24);
  border-radius: 16px 16px 0 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(180deg, rgba(26, 24, 36, 0.92), rgba(15, 14, 23, 0.98));
  box-shadow:
    0 36px 120px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.conversion-landing .stage-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 850;
}

body.conversion-landing .stage-topbar strong {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 950;
}

body.conversion-landing .stage-topbar em {
  justify-self: end;
  color: rgba(201, 255, 47, 0.74);
  font-style: normal;
}

body.conversion-landing .window-dots {
  display: inline-flex;
  gap: 6px;
}

body.conversion-landing .window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

body.conversion-landing .window-dots i:first-child {
  background: #ff5a12;
}

body.conversion-landing .window-dots i:nth-child(2) {
  background: #f8c84b;
}

body.conversion-landing .window-dots i:nth-child(3) {
  background: var(--conv-lime);
}

body.conversion-landing .stage-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.1fr 1fr;
  gap: 12px;
  padding: 18px;
}

body.conversion-landing .stage-card {
  display: grid;
  align-content: start;
  min-height: 186px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  text-align: left;
}

body.conversion-landing .stage-card span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

body.conversion-landing .stage-card strong {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.28;
}

body.conversion-landing .stage-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  line-height: 1.55;
}

body.conversion-landing .flow-line {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

body.conversion-landing .flow-line b {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px 0 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 900;
}

body.conversion-landing .flow-line b::before {
  content: "";
  position: absolute;
  left: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--conv-lime);
  box-shadow: 0 0 14px rgba(201, 255, 47, 0.52);
}

body.conversion-landing .hero-integrations {
  display: grid;
  justify-items: center;
  width: min(720px, 100%);
  margin-top: 18px;
  padding-bottom: 78px;
}

body.conversion-landing .hero-tool-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 16px 16px;
  background: rgba(255, 255, 255, 0.035);
}

body.conversion-landing .hero-tool-row span {
  display: grid;
  min-height: 50px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

body.conversion-landing .hero-integrations p {
  margin: 18px 0 96px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 13px;
  font-weight: 850;
}

body.conversion-landing .team-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 48px;
  width: min(1040px, calc(100vw - 96px));
}

body.conversion-landing .team-row span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.02em;
  text-align: center;
}

body.conversion-landing .problem-section {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 74px;
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  padding: 154px 0 210px;
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
  color: var(--conv-ink);
  overflow: hidden;
}

body.conversion-landing .problem-copy {
  display: grid;
  justify-items: center;
  gap: 20px;
  max-width: 760px;
  text-align: center;
}

body.conversion-landing .problem-copy > span,
body.conversion-landing .section-heading > span {
  color: var(--lp-eyebrow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.conversion-landing .problem-copy h2,
body.conversion-landing .section-heading h2,
body.conversion-landing .final-cta h2 {
  margin: 0;
  color: var(--conv-ink);
  font-family: var(--sans);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  text-wrap: balance;
}

body.conversion-landing .problem-copy p,
body.conversion-landing .section-heading p,
body.conversion-landing .final-cta p {
  margin: 0;
  color: var(--lp-copy);
  font-size: 16px;
  line-height: 1.68;
}

body.conversion-landing .problem-copy ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

body.conversion-landing .problem-copy li {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: var(--lp-card-text);
  font-size: 13px;
  font-weight: 750;
}

body.conversion-landing .problem-copy li::before {
  content: "×";
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #fff0f3;
  color: #ff8a98;
  font-weight: 900;
}

body.conversion-landing .product-preview {
  position: relative;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  width: min(1040px, 100%);
  min-height: 560px;
  overflow: visible;
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 32px 120px rgba(43, 36, 62, 0.1);
}

body.conversion-landing .product-preview::before,
body.conversion-landing .product-preview::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 330px;
  height: 360px;
  border: 1px solid rgba(238, 234, 246, 0.82);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(196, 192, 203, 0.18) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(0deg, rgba(196, 192, 203, 0.12) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 249, 255, 0.78));
  box-shadow: 0 24px 90px rgba(42, 34, 64, 0.08);
  opacity: 0.58;
  pointer-events: none;
}

body.conversion-landing .product-preview::before {
  top: 78px;
  left: -210px;
}

body.conversion-landing .product-preview::after {
  right: -230px;
  bottom: 44px;
}

body.conversion-landing .product-preview > * {
  position: relative;
  z-index: 1;
}

body.conversion-landing .preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 16px;
  border-right: 1px solid var(--lp-border);
  background: #f8f7fb;
}

body.conversion-landing .preview-sidebar strong {
  margin-bottom: 16px;
  color: var(--conv-ink);
  font-weight: 950;
}

body.conversion-landing .preview-sidebar span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 9px;
  color: var(--lp-card-text);
  font-size: 12px;
  font-weight: 850;
}

body.conversion-landing .preview-sidebar .active {
  background: #fff;
  color: var(--conv-ink);
}

body.conversion-landing .preview-sidebar b {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: #f1eef8;
  font-size: 11px;
}

body.conversion-landing .preview-main {
  min-width: 0;
  padding: 28px;
}

body.conversion-landing .preview-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

body.conversion-landing .preview-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--lp-border);
  border-radius: 9px;
  background: #fff;
  color: var(--conv-ink);
  font: 850 13px var(--sans);
}

body.conversion-landing .preview-filter span {
  color: var(--lp-eyebrow);
}

body.conversion-landing .preview-filter strong {
  color: var(--conv-ink);
  font-size: 13px;
}

body.conversion-landing .preview-toolbar > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--lp-border);
  border-radius: 9px;
  color: var(--lp-card-text);
  font-size: 12px;
  font-weight: 900;
}

body.conversion-landing .preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

body.conversion-landing .preview-grid article,
body.conversion-landing .review-item,
body.conversion-landing .draft-card {
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  background: #fff;
}

body.conversion-landing .preview-grid article {
  min-height: 128px;
  padding: 16px;
}

body.conversion-landing .preview-grid small,
body.conversion-landing .draft-card span,
body.conversion-landing .review-item small {
  color: var(--lp-eyebrow);
  font-size: 12px;
  font-weight: 850;
}

body.conversion-landing .preview-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--conv-ink);
  font-size: 15px;
  line-height: 1.35;
}

body.conversion-landing .preview-grid p {
  margin: 8px 0 0;
  color: var(--lp-card-text);
  font-size: 12px;
  line-height: 1.45;
}

body.conversion-landing .preview-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(240px, 1fr);
  gap: 12px;
  margin-top: 12px;
}

body.conversion-landing .review-item,
body.conversion-landing .draft-card {
  padding: 16px;
}

body.conversion-landing .review-item span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #8c55ff;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

body.conversion-landing .review-item strong {
  display: block;
  margin-top: 10px;
  color: var(--conv-ink);
  font-size: 14px;
  line-height: 1.45;
}

body.conversion-landing .draft-card p {
  margin: 8px 0 12px;
  color: var(--lp-card-text);
  font-size: 13px;
  line-height: 1.66;
}

body.conversion-landing .draft-card button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--lp-soft-line);
  border-radius: 8px;
  background: #fbf8ff;
  color: #6f4dff;
  font: 900 12px var(--sans);
}

body.conversion-landing .dark-band,
body.conversion-landing .light-band,
body.conversion-landing .pricing-section,
body.conversion-landing .landing-footer {
  width: min(1220px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

body.conversion-landing .dark-band,
body.conversion-landing .pricing-section {
  background:
    radial-gradient(circle at 70% 8%, rgba(206, 255, 102, 0.055), transparent 24%),
    linear-gradient(180deg, #111018, #111018);
  box-shadow: 0 0 0 100vmax #111018;
  clip-path: inset(0 -100vmax);
  color: #fff;
}

body.conversion-landing .light-band {
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
  color: var(--conv-ink);
}

body.conversion-landing .template-gallery-section,
body.conversion-landing .capability-section,
body.conversion-landing .numbers-section,
body.conversion-landing .optimization-section,
body.conversion-landing .integration-section,
body.conversion-landing .workflow-section,
body.conversion-landing .stack-section,
body.conversion-landing .pricing-section,
body.conversion-landing .customer-section,
body.conversion-landing .faq-section,
body.conversion-landing .final-cta {
  padding: 112px 0;
  scroll-margin-top: 92px;
}

body.conversion-landing .section-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

body.conversion-landing .section-heading.inverse h2,
body.conversion-landing .pricing-section .section-heading h2,
body.conversion-landing .customer-section h2,
body.conversion-landing .final-cta h2 {
  color: #fff;
}

body.conversion-landing .section-heading.inverse p,
body.conversion-landing .pricing-section .section-heading p,
body.conversion-landing .customer-section p,
body.conversion-landing .final-cta p {
  color: rgba(233, 228, 241, 0.64);
}

body.conversion-landing .section-heading.inverse > span,
body.conversion-landing .customer-section > span {
  color: rgba(233, 228, 241, 0.44);
}

body.conversion-landing .light-band .section-heading h2,
body.conversion-landing .problem-copy h2 {
  color: var(--lp-ink);
}

body.conversion-landing .light-band .section-heading > span,
body.conversion-landing .problem-copy > span {
  color: var(--lp-eyebrow);
}

body.conversion-landing .light-band .section-heading p,
body.conversion-landing .problem-copy p {
  color: var(--lp-copy);
}

body.conversion-landing .capability-section .section-heading h2 span {
  background: linear-gradient(90deg, #c9ff2f, #67f0c6 42%, #8e6bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.conversion-landing .template-gallery-section {
  min-height: 1160px;
  display: grid;
  align-content: center;
}

body.conversion-landing .capability-section {
  padding-top: 158px;
  padding-bottom: 174px;
}

body.conversion-landing .capability-section .section-heading {
  margin-bottom: 74px;
}

body.conversion-landing .integration-section {
  display: grid;
  min-height: 860px;
  align-content: center;
  padding-top: 174px;
  padding-bottom: 176px;
}

body.conversion-landing .integration-section .section-heading {
  max-width: 980px;
  margin-bottom: 62px;
}

body.conversion-landing .integration-section .section-heading h2 {
  color: var(--lp-ink);
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1;
}

body.conversion-landing .integration-section .section-heading p {
  color: var(--lp-copy);
}

body.conversion-landing .template-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1320px, calc(100vw - 96px));
  margin-right: auto;
  margin-left: 50%;
  margin-top: 72px;
  transform: translateX(-50%);
}

body.conversion-landing .template-card {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: end;
  min-height: 238px;
  padding: 142px 22px 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--conv-card-shadow);
  color: #fff;
}

body.conversion-landing .template-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 92px;
  background: linear-gradient(180deg, transparent, rgba(17, 16, 24, 0.7));
}

body.conversion-landing .template-card::before {
  content: "";
  position: absolute;
  inset: 16px 16px auto;
  height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 12px;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent) 18px 24px / 58% 8px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent) 18px 50px / 76% 8px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.055), transparent) 18px 76px / 46% 8px no-repeat,
    radial-gradient(circle at 84% 30%, rgba(206, 255, 102, 0.16), transparent 15%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

body.conversion-landing .template-card:nth-child(2),
body.conversion-landing .template-card:nth-child(5) {
  grid-column: span 2;
}

body.conversion-landing .template-card:nth-child(1) {
  background:
    radial-gradient(circle at 48% 46%, rgba(125, 92, 255, 0.18), transparent 42%),
    linear-gradient(135deg, #1c1238, #111018 74%);
}

body.conversion-landing .template-card:nth-child(2) {
  background:
    radial-gradient(circle at 72% 38%, rgba(255, 112, 60, 0.16), transparent 34%),
    linear-gradient(135deg, #21130f, #111018 68%);
}

body.conversion-landing .template-card:nth-child(3) {
  background:
    linear-gradient(0deg, rgba(206, 255, 102, 0.08), transparent 42%),
    #0b0b10;
}

body.conversion-landing .template-card:nth-child(4) {
  background:
    radial-gradient(circle at 28% 72%, rgba(255, 90, 18, 0.14), transparent 34%),
    linear-gradient(135deg, #32104b, #111018 70%);
}

body.conversion-landing .template-card:nth-child(5) {
  background:
    radial-gradient(circle at 70% 50%, rgba(96, 232, 194, 0.12), transparent 34%),
    radial-gradient(circle at 42% 44%, rgba(255, 188, 72, 0.1), transparent 30%),
    linear-gradient(135deg, #172015, #111018 72%);
}

body.conversion-landing .template-card:nth-child(6) {
  background:
    radial-gradient(circle at 44% 36%, rgba(87, 168, 255, 0.13), transparent 34%),
    linear-gradient(135deg, #0e1c34, #111018 72%);
}

body.conversion-landing .template-card small,
body.conversion-landing .workflow-board small,
body.conversion-landing .capability-leads small {
  color: rgba(201, 255, 47, 0.86);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

body.conversion-landing .template-card strong,
body.conversion-landing .workflow-board h3,
body.conversion-landing .capability-leads h3,
body.conversion-landing .capability-grid h3 {
  margin: 0;
  color: #fff;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

body.conversion-landing .template-card strong {
  max-width: 86%;
  font-size: clamp(24px, 2vw, 31px);
  line-height: 1.02;
}

body.conversion-landing .template-card p,
body.conversion-landing .workflow-board p,
body.conversion-landing .capability-leads p,
body.conversion-landing .capability-grid p {
  margin: 0;
  color: rgba(233, 228, 241, 0.62);
  font-size: 14px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

body.conversion-landing .template-card p {
  max-width: 82%;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
}

body.conversion-landing .featured-template {
  background:
    radial-gradient(circle at 80% 24%, rgba(206, 255, 102, 0.11), transparent 34%),
    rgba(255, 255, 255, 0.025);
}

body.conversion-landing .dark-template {
  background:
    radial-gradient(circle at 28% 22%, rgba(141, 98, 255, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.02);
}

body.conversion-landing .template-score {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  align-self: end;
  border-radius: 50%;
  background: var(--conv-lime);
  color: #11100d;
  font-size: 26px;
  font-weight: 950;
}

body.conversion-landing .capability-leads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

body.conversion-landing .capability-leads article,
body.conversion-landing .capability-grid article,
body.conversion-landing .workflow-board article {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 12px;
  min-height: 198px;
  padding: 24px;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--conv-card-shadow);
}

body.conversion-landing .capability-grid article::after {
  content: none;
}

body.conversion-landing .capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.conversion-landing .capability-grid article {
  min-height: 214px;
  align-content: start;
  padding: 30px 28px;
}

body.conversion-landing .capability-grid article > * {
  position: relative;
  z-index: 1;
}

body.conversion-landing .capability-grid article:nth-child(1),
body.conversion-landing .capability-grid article:nth-child(4),
body.conversion-landing .capability-grid article:nth-child(11) {
  grid-column: auto;
}

body.conversion-landing .capability-grid article:nth-child(1),
body.conversion-landing .capability-grid article:nth-child(6),
body.conversion-landing .capability-grid article:nth-child(11) {
  grid-column: span 2;
}

body.conversion-landing .capability-grid article:nth-child(1)::after {
  height: 104px;
  background:
    linear-gradient(90deg, rgba(206, 255, 102, 0.8), rgba(103, 240, 198, 0.55)) 18px 22px / 44px 9px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent) 76px 21px / 62% 10px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent) 18px 50px / 78% 10px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.09), transparent) 18px 75px / 58% 10px no-repeat,
    radial-gradient(circle at 88% 22%, rgba(206, 255, 102, 0.42), transparent 12%),
    rgba(255, 255, 255, 0.022);
}

body.conversion-landing .capability-grid article:nth-child(2)::after {
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 112, 60, 0.72) 0 8px, transparent 9px),
    radial-gradient(circle at 46% 30%, rgba(103, 240, 198, 0.65) 0 8px, transparent 9px),
    radial-gradient(circle at 74% 30%, rgba(125, 92, 255, 0.72) 0 8px, transparent 9px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent) 16px 56px / 78% 9px no-repeat,
    linear-gradient(90deg, rgba(206, 255, 102, 0.35), transparent) 16px 76px / 48% 9px no-repeat,
    rgba(255, 255, 255, 0.02);
}

body.conversion-landing .capability-grid article:nth-child(3)::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent) 18px 21px / 70% 8px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.11), transparent) 18px 42px / 82% 8px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.09), transparent) 18px 62px / 60% 8px no-repeat,
    linear-gradient(90deg, rgba(255, 112, 60, 0.52), rgba(255, 206, 132, 0.42)) 18px 78px / 86px 8px no-repeat,
    rgba(255, 255, 255, 0.018);
}

body.conversion-landing .capability-grid article:nth-child(4)::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0 62%, rgba(206, 255, 102, 0.62) 62% 82%, transparent 82%) 16px 24px / 82% 15px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent) 16px 54px / 72% 9px no-repeat,
    linear-gradient(90deg, rgba(125, 92, 255, 0.42), rgba(103, 240, 198, 0.22)) 16px 75px / 44% 9px no-repeat,
    rgba(255, 255, 255, 0.02);
}

body.conversion-landing .capability-grid article:nth-child(5)::after {
  background:
    linear-gradient(90deg, rgba(206, 255, 102, 0.34) 0 72%, rgba(255, 255, 255, 0.08) 72%) 18px 18px / 78% 12px no-repeat,
    linear-gradient(90deg, rgba(103, 240, 198, 0.28) 0 58%, rgba(255, 255, 255, 0.07) 58%) 18px 43px / 78% 12px no-repeat,
    linear-gradient(90deg, rgba(125, 92, 255, 0.32) 0 42%, rgba(255, 255, 255, 0.07) 42%) 18px 68px / 78% 12px no-repeat,
    rgba(255, 255, 255, 0.018);
}

body.conversion-landing .capability-grid article:nth-child(6)::after {
  height: 104px;
  background:
    linear-gradient(155deg, transparent 39%, rgba(103, 240, 198, 0.48) 40% 43%, transparent 44%) 22px 20px / 82% 68px no-repeat,
    radial-gradient(circle at 20% 72%, rgba(206, 255, 102, 0.86) 0 5px, transparent 6px),
    radial-gradient(circle at 42% 54%, rgba(103, 240, 198, 0.82) 0 5px, transparent 6px),
    radial-gradient(circle at 64% 34%, rgba(125, 92, 255, 0.82) 0 5px, transparent 6px),
    linear-gradient(180deg, transparent 0 32%, rgba(255, 255, 255, 0.08) 32% 33%, transparent 33% 66%, rgba(255, 255, 255, 0.07) 66% 67%, transparent 67%),
    rgba(255, 255, 255, 0.02);
}

body.conversion-landing .capability-grid article:nth-child(7)::after {
  background:
    radial-gradient(circle at 20% 33%, rgba(255, 255, 255, 0.24) 0 12px, transparent 13px),
    radial-gradient(circle at 44% 33%, rgba(206, 255, 102, 0.64) 0 12px, transparent 13px),
    radial-gradient(circle at 68% 33%, rgba(125, 92, 255, 0.58) 0 12px, transparent 13px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent) 18px 67px / 76% 9px no-repeat,
    rgba(255, 255, 255, 0.018);
}

body.conversion-landing .capability-grid article:nth-child(8)::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 16%, transparent 16% 22%, rgba(255, 255, 255, 0.1) 22% 58%, transparent 58% 66%, rgba(206, 255, 102, 0.36) 66%) 16px 20px / 82% 10px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 16%, transparent 16% 22%, rgba(255, 255, 255, 0.08) 22% 58%, transparent 58% 66%, rgba(103, 240, 198, 0.28) 66%) 16px 47px / 82% 10px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 16%, transparent 16% 22%, rgba(255, 255, 255, 0.07) 22% 58%, transparent 58% 66%, rgba(125, 92, 255, 0.28) 66%) 16px 74px / 82% 10px no-repeat,
    rgba(255, 255, 255, 0.018);
}

body.conversion-landing .capability-grid article:nth-child(9)::after {
  background:
    radial-gradient(circle at 20% 35%, rgba(38, 170, 91, 0.78) 0 13px, transparent 14px),
    radial-gradient(circle at 43% 35%, rgba(255, 178, 57, 0.78) 0 13px, transparent 14px),
    radial-gradient(circle at 66% 35%, rgba(125, 92, 255, 0.76) 0 13px, transparent 14px),
    linear-gradient(90deg, rgba(206, 255, 102, 0.55), rgba(103, 240, 198, 0.28)) 20px 68px / 72% 8px no-repeat,
    rgba(255, 255, 255, 0.02);
}

body.conversion-landing .capability-grid article:nth-child(10)::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 0 25%, transparent 25% 32%, rgba(206, 255, 102, 0.44) 32% 52%, transparent 52% 100%) 16px 21px / 82% 12px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.09), transparent) 16px 47px / 74% 9px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent) 16px 68px / 60% 9px no-repeat,
    rgba(255, 255, 255, 0.018);
}

body.conversion-landing .capability-grid article:nth-child(11)::after {
  height: 104px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent) 20px 24px / 82% 6px no-repeat,
    radial-gradient(circle at 36% 27px, rgba(206, 255, 102, 0.92) 0 7px, transparent 8px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent) 20px 54px / 82% 6px no-repeat,
    radial-gradient(circle at 68% 57px, rgba(103, 240, 198, 0.86) 0 7px, transparent 8px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent) 20px 84px / 82% 6px no-repeat,
    radial-gradient(circle at 48% 87px, rgba(125, 92, 255, 0.84) 0 7px, transparent 8px),
    rgba(255, 255, 255, 0.018);
}

body.conversion-landing .capability-grid article:nth-child(12)::after {
  background:
    linear-gradient(180deg, rgba(206, 255, 102, 0.42), rgba(103, 240, 198, 0.22)) 28px 20px / 3px 62px no-repeat,
    radial-gradient(circle at 30px 24px, rgba(206, 255, 102, 0.9) 0 6px, transparent 7px),
    radial-gradient(circle at 30px 52px, rgba(103, 240, 198, 0.78) 0 6px, transparent 7px),
    radial-gradient(circle at 30px 80px, rgba(125, 92, 255, 0.78) 0 6px, transparent 7px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent) 50px 20px / 64% 9px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.09), transparent) 50px 49px / 72% 9px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.075), transparent) 50px 77px / 52% 9px no-repeat,
    rgba(255, 255, 255, 0.018);
}

body.conversion-landing .capability-grid span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--conv-lime);
  font-size: 12px;
  font-weight: 800;
}

body.conversion-landing .numbers-section {
  display: grid;
  min-height: 700px;
  align-content: center;
  padding-top: 152px;
  padding-bottom: 154px;
}

body.conversion-landing .numbers-section .section-heading {
  max-width: 1120px;
  margin-bottom: 84px;
}

body.conversion-landing .numbers-section .section-heading h2 {
  color: #111018;
  font-size: clamp(42px, 4.6vw, 72px);
  font-weight: 950;
  line-height: 0.98;
}

body.conversion-landing .numbers-section .section-heading > span {
  color: #727080;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

body.conversion-landing .numbers-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

body.conversion-landing .numbers-grid article {
  display: grid;
  justify-items: center;
  gap: 20px;
  min-height: 132px;
  place-content: center;
  padding: 0 8px;
  text-align: center;
}

body.conversion-landing .numbers-grid article::after {
  content: "";
  display: block;
  width: 58px;
  height: 2px;
  margin-top: 4px;
  background: linear-gradient(90deg, transparent, #e9defe, transparent);
}

body.conversion-landing .numbers-grid strong {
  color: #111018;
  font-size: clamp(42px, 4.2vw, 66px);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: 0;
  white-space: nowrap;
}

body.conversion-landing .numbers-grid article:nth-child(3) strong {
  background: linear-gradient(90deg, #9460f9 0%, #aa6ff6 48%, #bd7bf3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.conversion-landing .numbers-grid span {
  color: #888395;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.42;
}

body.conversion-landing .optimization-loop {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

body.conversion-landing .optimization-loop::before {
  content: "";
  position: absolute;
  top: 44px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: linear-gradient(90deg, #6b5cff, #67f0c6, var(--conv-lime));
  opacity: 0.62;
}

body.conversion-landing .optimization-loop article {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  min-height: 154px;
  padding: 0 18px;
  text-align: center;
}

body.conversion-landing .optimization-loop strong {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 1px solid rgba(201, 255, 47, 0.32);
  border-radius: 50%;
  background: #111018;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 0 8px #111018;
}

body.conversion-landing .optimization-loop span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

body.conversion-landing .optimization-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

body.conversion-landing .optimization-proof article {
  display: grid;
  gap: 8px;
  min-height: 120px;
  padding: 24px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--conv-card-shadow);
}

body.conversion-landing .optimization-proof strong {
  color: var(--conv-lime);
  font-size: 34px;
  font-weight: 800;
}

body.conversion-landing .optimization-proof span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 850;
}

body.conversion-landing .integration-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 34px;
}

body.conversion-landing .integration-tabs button {
  display: inline-grid;
  min-height: 38px;
  place-items: center;
  padding: 0 18px;
  border: 1px solid var(--lp-border);
  border-radius: 999px;
  background: #fff;
  color: var(--lp-eyebrow);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--sans);
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

body.conversion-landing .integration-tabs .active {
  border-color: var(--lp-active);
  background: var(--lp-active);
  color: #fff;
  box-shadow: 0 12px 28px rgba(25, 22, 36, 0.14);
}

body.conversion-landing .integration-tabs button:hover {
  border-color: #ded9e9;
  color: #4c465d;
  transform: translateY(-1px);
}

body.conversion-landing .integration-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  width: min(960px, 100%);
  margin: 0 auto;
}

body.conversion-landing .integration-grid article {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-height: 128px;
  padding: 26px 16px;
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(17, 16, 24, 0.035);
  text-align: center;
  transition: opacity 0.24s ease, filter 0.24s ease, transform 0.24s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.conversion-landing .integration-grid article:hover {
  border-color: #ded9e9;
  box-shadow: 0 24px 56px rgba(17, 16, 24, 0.065);
}

body.conversion-landing .integration-grid strong {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  background: #f4f2fb;
  color: #5f42e8;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.conversion-landing .integration-grid span {
  color: var(--lp-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

body.conversion-landing .integration-grid article:nth-child(1) strong { background: #edf8ef; color: #25a35a; }
body.conversion-landing .integration-grid article:nth-child(2) strong { background: #fff4df; color: #d48a00; }
body.conversion-landing .integration-grid article:nth-child(3) strong { background: #e9fbf7; color: #079b83; }
body.conversion-landing .integration-grid article:nth-child(4) strong { background: #f1edff; color: #684bff; }
body.conversion-landing .integration-grid article:nth-child(5) strong { background: #f2f4f8; color: #46505f; }
body.conversion-landing .integration-grid article:nth-child(6) strong { background: #fff0f5; color: #d53d73; }
body.conversion-landing .integration-grid article:nth-child(7) strong { background: #f2fff0; color: #5a9e1e; }
body.conversion-landing .integration-grid article:nth-child(8) strong { background: #edf4ff; color: #3276d7; }
body.conversion-landing .integration-grid article:nth-child(9) strong { background: #f5f0ff; color: #8a51df; }
body.conversion-landing .integration-grid article:nth-child(10) strong { background: #f6f2ec; color: #98642c; }

body.conversion-landing .workflow-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.conversion-landing .workflow-board article {
  min-height: 224px;
}

body.conversion-landing .workflow-board span {
  align-self: end;
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(206, 255, 102, 0.11);
  color: var(--conv-lime);
  font-size: 12px;
  font-weight: 800;
}

body.conversion-landing .stack-section {
  background: #fbf7ff;
  box-shadow: 0 0 0 100vmax #fbf7ff;
}

body.conversion-landing .stack-heading {
  max-width: 1080px;
  margin-bottom: 34px;
}

body.conversion-landing .stack-heading h2 {
  display: grid;
  justify-items: center;
  gap: 0;
  color: var(--lp-ink);
  font-size: clamp(42px, 4.1vw, 64px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0;
}

body.conversion-landing .stack-heading-strike {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

body.conversion-landing .stack-heading-strike::after {
  content: "";
  position: absolute;
  right: -4px;
  left: -4px;
  top: 51%;
  height: 5px;
  border-radius: 999px;
  background: #ef3b3b;
  transform: translateY(-50%) rotate(-0.25deg);
  transform-origin: center;
}

body.conversion-landing .stack-heading-main {
  display: block;
}

body.conversion-landing .stack-heading p {
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
  color: var(--lp-copy);
  font-size: 18px;
  line-height: 1.55;
}

body.conversion-landing .stack-tabs {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 36px;
  padding: 5px;
  border: 1px solid var(--lp-border);
  border-radius: 999px;
  background: #f7f6fb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76), 0 14px 34px rgba(17, 16, 24, 0.04);
}

body.conversion-landing .stack-tabs button {
  min-height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--lp-eyebrow);
  font: 850 14px var(--sans);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body.conversion-landing .stack-tabs button span {
  color: #b3adbf;
}

body.conversion-landing .stack-tabs button.active {
  background: #fff;
  color: var(--lp-ink);
  box-shadow: 0 10px 24px rgba(17, 16, 24, 0.08);
}

body.conversion-landing .stack-tabs button.active span {
  color: var(--lp-eyebrow);
}

body.conversion-landing .stack-tabs button:hover {
  transform: translateY(-1px);
}

body.conversion-landing .stack-table {
  display: grid;
  width: min(920px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(17, 16, 24, 0.055);
}

body.conversion-landing .stack-row {
  display: grid;
  grid-template-columns: 1.22fr 1.1fr 0.78fr;
  gap: 18px;
  align-items: center;
  min-height: 68px;
  padding: 18px 28px;
  border-top: 1px solid #f0ecf7;
  color: var(--lp-card-text);
  font-size: 15px;
  line-height: 1.5;
}

body.conversion-landing .stack-row:first-child {
  border-top: 0;
}

body.conversion-landing .stack-row.header {
  color: var(--lp-eyebrow);
  min-height: 50px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.conversion-landing .stack-row span:first-child {
  color: var(--lp-ink);
  font-weight: 900;
}

body.conversion-landing .stack-row span:last-child {
  justify-self: end;
  color: #5f5a6f;
  font-weight: 850;
  text-align: right;
  white-space: nowrap;
}

body.conversion-landing .stack-row.header span:last-child {
  color: var(--lp-eyebrow);
}

body.conversion-landing .stack-total {
  min-height: 78px;
  background: #fbfbfd;
  border-top: 2px solid #ece8f2;
}

body.conversion-landing .stack-total span:first-child {
  color: var(--lp-ink);
  font-weight: 950;
}

body.conversion-landing .stack-total span:nth-child(2) {
  color: var(--lp-copy);
}

body.conversion-landing .stack-total span:last-child {
  color: #ef3b3b;
  font-size: 22px;
  font-weight: 950;
}

body.conversion-landing .stack-saving {
  display: grid;
  justify-items: center;
  gap: 40px;
  width: min(920px, 100%);
  max-width: 920px;
  margin: 44px auto 0;
  text-align: center;
}

body.conversion-landing .stack-save-block {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 34px 0 38px;
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}

body.conversion-landing .stack-save-block small {
  color: var(--lp-eyebrow);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.conversion-landing .stack-save-block strong {
  max-width: 100%;
  color: #19bc77;
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: 0;
}

body.conversion-landing .stack-includes {
  display: grid;
  justify-items: center;
  gap: 18px;
  width: 100%;
  min-width: 0;
  max-width: 860px;
  box-sizing: border-box;
}

body.conversion-landing .stack-includes h3 {
  margin: 0;
  color: var(--lp-ink);
  font-family: var(--sans);
  font-size: clamp(28px, 2.35vw, 34px);
  font-weight: 950;
  line-height: 1.08;
  text-wrap: normal;
  word-break: keep-all;
  white-space: nowrap;
}

body.conversion-landing .stack-includes h3 span {
  display: inline;
  color: #7d5cff;
}

body.conversion-landing .stack-includes p {
  max-width: 760px;
  margin: 0;
  color: var(--lp-copy);
  font-size: 16px;
  line-height: 1.68;
}

body.conversion-landing .stack-includes .landing-button.primary {
  min-width: 280px;
  min-height: 58px;
  border-color: var(--lp-ink);
  background: var(--lp-ink);
  color: #fff;
}

body.conversion-landing .pricing-section {
  display: block;
  grid-template-columns: none;
  gap: 0;
  align-items: initial;
  margin-top: 0;
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
  padding-top: 146px;
  padding-bottom: 148px;
}

body.conversion-landing .pricing-section .section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

body.conversion-landing .pricing-section .section-heading > span {
  color: rgba(233, 228, 241, 0.48);
}

body.conversion-landing .pricing-section .section-heading h2 {
  color: #f6f4fb;
  font-size: clamp(46px, 5.2vw, 74px);
  letter-spacing: 0;
}

body.conversion-landing .pricing-billing {
  display: flex;
  width: max-content;
  margin: 0 auto 34px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.conversion-landing .pricing-billing span {
  display: inline-grid;
  min-height: 34px;
  place-items: center;
  padding: 0 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 800;
}

body.conversion-landing .pricing-billing .active {
  background: #fff;
  color: #15131f;
}

body.conversion-landing .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

body.conversion-landing .price-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  gap: 20px;
  min-height: 566px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 16px;
  background:
    radial-gradient(circle at 78% 0%, rgba(125, 92, 255, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.024));
  box-shadow: var(--conv-card-shadow);
  color: #fff;
}

body.conversion-landing .price-card.featured {
  border-color: rgba(206, 255, 102, 0.54);
  background:
    radial-gradient(circle at 74% 0%, rgba(206, 255, 102, 0.18), transparent 36%),
    radial-gradient(circle at 20% 100%, rgba(126, 88, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.074), rgba(255, 255, 255, 0.03));
  box-shadow: 0 28px 90px rgba(126, 88, 255, 0.18), var(--conv-card-shadow);
}

body.conversion-landing .price-ribbon {
  position: absolute;
  top: -14px;
  right: 20px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--conv-lime);
  color: #10100f;
  font-size: 12px;
  font-weight: 800;
}

body.conversion-landing .price-card-head {
  display: grid;
  gap: 8px;
}

body.conversion-landing .price-card-head > span {
  width: max-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(206, 255, 102, 0.92);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

body.conversion-landing .price-card h3 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  text-transform: none;
}

body.conversion-landing .price-card > strong {
  color: #fff;
  font-size: 58px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.95;
}

body.conversion-landing .price-card > strong span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

body.conversion-landing .price-card p,
body.conversion-landing .price-card li {
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.65;
}

body.conversion-landing .price-card ul {
  display: grid;
  gap: 14px;
  align-self: end;
  margin: 2px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  list-style: none;
}

body.conversion-landing .price-card li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

body.conversion-landing .price-card li::before {
  content: "✓";
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--conv-lime);
  font-size: 13px;
  font-weight: 800;
}

body.conversion-landing .price-card .landing-button {
  align-self: start;
  width: 100%;
  min-height: 46px;
}

body.conversion-landing .pricing-section .landing-button.secondary,
body.conversion-landing .price-card .landing-button.secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

body.conversion-landing .customer-section {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

body.conversion-landing .customer-section h2 {
  max-width: 760px;
  margin: 0;
  font-size: 46px;
  line-height: 1.05;
}

body.conversion-landing .customer-section p {
  max-width: 680px;
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
}

body.conversion-landing .faq-grid {
  display: grid;
  width: min(680px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(17, 16, 24, 0.045);
}

body.conversion-landing .faq-grid details {
  border-top: 1px solid #f0ecf7;
  background: #fff;
  color: var(--lp-ink);
}

body.conversion-landing .faq-grid details:first-child {
  border-top: 0;
}

body.conversion-landing .faq-grid summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  padding: 22px 26px;
  color: var(--lp-ink);
  font-weight: 800;
  list-style: none;
}

body.conversion-landing .faq-grid summary::-webkit-details-marker {
  display: none;
}

body.conversion-landing .faq-grid summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--lp-display);
  border-bottom: 2px solid var(--lp-display);
  transform: rotate(45deg);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

body.conversion-landing .faq-grid details[open] summary::after {
  border-color: #7d5cff;
  transform: translateY(3px) rotate(225deg);
}

body.conversion-landing .faq-grid p {
  margin: 0;
  padding: 0 26px 22px;
  color: var(--lp-copy);
  line-height: 1.65;
}

body.conversion-landing .final-cta {
  display: grid;
  justify-items: center;
  gap: 28px;
  margin-top: 0;
  text-align: center;
}

body.conversion-landing .final-cta h2 {
  max-width: 820px;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.02;
}

body.conversion-landing .final-cta p {
  max-width: 680px;
  margin-top: 12px;
  font-size: 17px;
}

body.conversion-landing .final-cta .hero-actions {
  justify-content: center;
}

body.conversion-landing .landing-footer {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.45fr);
  align-items: start;
  gap: 72px;
  padding: 64px 0 74px;
  background: #111018;
  box-shadow: 0 0 0 100vmax #111018;
  clip-path: inset(0 -100vmax);
  color: rgba(255, 255, 255, 0.48);
  font-size: 14px;
}

body.conversion-landing .footer-brand-block {
  display: grid;
  gap: 18px;
  max-width: 310px;
}

body.conversion-landing .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

body.conversion-landing .footer-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: #f3eee4;
  color: #244f5c;
  box-shadow: 0 10px 24px rgba(11, 18, 17, 0.24);
}

body.conversion-landing .footer-mark svg,
body.conversion-landing .footer-mark img {
  width: 17px;
  height: 17px;
  display: block;
}

body.conversion-landing .footer-logo strong {
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

body.conversion-landing .footer-brand-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  line-height: 1.68;
}

body.conversion-landing .footer-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.conversion-landing .footer-pill-row b {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 800;
}

body.conversion-landing .footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
}

body.conversion-landing .footer-columns div {
  display: grid;
  gap: 12px;
}

body.conversion-landing .footer-columns strong {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

body.conversion-landing .landing-footer a {
  color: rgba(255, 255, 255, 0.56);
  text-decoration: none;
}

body.conversion-landing .landing-footer a:hover {
  color: #fff;
}

body.conversion-landing .hero-product-stage {
  transform: translate3d(0, var(--hero-shift, 0px), 0);
  transition: transform 0.18s linear;
}

body.conversion-landing .growth-curve {
  transform: translate3d(0, calc(var(--curve-shift, 0px) * -1), 0);
  transition: transform 0.18s linear;
}

body.conversion-landing.motion-ready .growth-line {
  stroke-dasharray: 1240;
  stroke-dashoffset: 1240;
  animation: conv-draw-path 1.75s cubic-bezier(0.16, 1, 0.3, 1) 0.28s forwards;
}

body.conversion-landing.motion-ready .growth-shadow {
  opacity: 0;
  animation: conv-soft-in 1.2s ease 0.7s forwards;
}

body.conversion-landing.motion-ready .growth-dots circle {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: conv-dot-pop 0.68s cubic-bezier(0.16, 1, 0.3, 1) forwards, conv-dot-pulse 3.8s ease-in-out infinite;
}

body.conversion-landing.motion-ready .growth-dots circle:nth-child(1) { animation-delay: 0.82s, 1.5s; }
body.conversion-landing.motion-ready .growth-dots circle:nth-child(2) { animation-delay: 1.02s, 1.8s; }
body.conversion-landing.motion-ready .growth-dots circle:nth-child(3) { animation-delay: 1.18s, 2.1s; }
body.conversion-landing.motion-ready .growth-dots circle:nth-child(4) { animation-delay: 1.34s, 2.4s; }

body.conversion-landing.motion-ready .stage-grid {
  animation: conv-stage-breathe 7.4s ease-in-out infinite;
}

body.conversion-landing.motion-ready .flow-line b::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(206, 255, 102, 0.12), transparent);
  opacity: 0;
  transform: translateX(-65%);
  animation: conv-flow-scan 4.8s ease-in-out infinite;
}

body.conversion-landing.motion-ready .flow-line b:nth-child(2)::after { animation-delay: 0.28s; }
body.conversion-landing.motion-ready .flow-line b:nth-child(3)::after { animation-delay: 0.56s; }
body.conversion-landing.motion-ready .flow-line b:nth-child(4)::after { animation-delay: 0.84s; }

body.conversion-landing.motion-ready .motion-item:not(.motion-card) {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.985);
  transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1), transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--motion-delay, 0ms);
}

body.conversion-landing.motion-ready .motion-item:not(.motion-card).is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

body.conversion-landing .motion-card {
  transform: perspective(1000px) translate3d(0, var(--motion-y, 0px), 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition:
    opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.2s ease,
    border-color 0.2s ease,
    filter 0.2s ease;
  transition-delay: var(--motion-delay, 0ms), 0ms, 0ms, 0ms;
  will-change: transform;
}

body.conversion-landing.motion-ready .motion-card.motion-item {
  --motion-y: 28px;
  opacity: 0;
}

body.conversion-landing.motion-ready .motion-card.motion-item.is-visible {
  --motion-y: var(--card-lift, 0px);
  opacity: 1;
}

body.conversion-landing .motion-card:hover {
  filter: brightness(1.045) saturate(1.05);
}

body.conversion-landing .template-card.motion-card:hover,
body.conversion-landing .capability-grid article.motion-card:hover,
body.conversion-landing .price-card.motion-card:hover,
body.conversion-landing .workflow-board article.motion-card:hover {
  border-color: rgba(206, 255, 102, 0.22);
}

body.conversion-landing .integration-grid article.is-filtered-out,
body.conversion-landing.motion-ready .integration-grid article.motion-item.is-visible.is-filtered-out {
  --card-lift: 0px;
  opacity: 0.16;
  filter: grayscale(0.95) saturate(0.25);
  pointer-events: none;
}

body.conversion-landing .integration-grid.is-filtering article:not(.is-filtered-out) {
  --card-lift: -6px;
  border-color: var(--lp-soft-line);
  background: #fff;
  box-shadow: 0 22px 54px rgba(17, 16, 24, 0.07);
}

body.conversion-landing .draft-card {
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

body.conversion-landing .draft-card.is-previewing {
  border-color: var(--lp-soft-line);
  background: #fbf8ff;
  box-shadow: 0 18px 45px rgba(111, 77, 255, 0.08);
}

body.conversion-landing .faq-grid details {
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

body.conversion-landing .faq-grid details[open] {
  background: #fcfbff;
  box-shadow: inset 3px 0 0 #7d5cff;
}

body.conversion-landing .faq-grid details[open] summary {
  color: #5b38cf;
}

@keyframes conv-draw-path {
  to { stroke-dashoffset: 0; }
}

@keyframes conv-soft-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes conv-dot-pop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes conv-dot-pulse {
  0%, 100% { filter: url("#growthGlow"); }
  50% { filter: url("#growthGlow") brightness(1.45); }
}

@keyframes conv-stage-breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes conv-flow-scan {
  0%, 46%, 100% {
    opacity: 0;
    transform: translateX(-65%);
  }
  58% {
    opacity: 1;
  }
  76% {
    opacity: 0;
    transform: translateX(72%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.conversion-landing *,
  body.conversion-landing *::before,
  body.conversion-landing *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  body.conversion-landing .motion-item,
  body.conversion-landing .motion-card {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 1080px) {
  body.conversion-landing .growth-curve {
    right: -260px;
    width: 980px;
    opacity: 0.56;
  }

  body.conversion-landing .conversion-hero h1 {
    font-size: 52px;
  }

  body.conversion-landing .problem-section,
  body.conversion-landing .pricing-grid {
    grid-template-columns: 1fr;
  }

  body.conversion-landing .product-preview {
    grid-template-columns: 1fr;
  }

  body.conversion-landing .preview-sidebar {
    display: none;
  }

  body.conversion-landing .template-wall,
  body.conversion-landing .capability-grid,
  body.conversion-landing .integration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.conversion-landing .template-card:nth-child(2),
  body.conversion-landing .template-card:nth-child(5) {
    grid-column: span 2;
  }

  body.conversion-landing .capability-grid article:nth-child(1),
  body.conversion-landing .capability-grid article:nth-child(4),
  body.conversion-landing .capability-grid article:nth-child(6),
  body.conversion-landing .capability-grid article:nth-child(11) {
    grid-column: auto;
  }

  body.conversion-landing .capability-leads,
  body.conversion-landing .numbers-grid,
  body.conversion-landing .optimization-proof {
    grid-template-columns: 1fr;
  }

  body.conversion-landing .optimization-loop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }

  body.conversion-landing .optimization-loop::before {
    display: none;
  }

  body.conversion-landing .landing-footer {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  body.conversion-landing .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.conversion-landing .landing-nav {
    grid-template-columns: 1fr auto;
    width: 100%;
    min-height: 62px;
    padding-inline: 14px;
  }

  body.conversion-landing .landing-links,
  body.conversion-landing .landing-link {
    display: none;
  }

  body.conversion-landing .landing-actions {
    gap: 8px;
  }

  body.conversion-landing .language-switcher {
    padding: 2px;
  }

  body.conversion-landing .language-switcher button {
    min-width: 34px;
    min-height: 30px;
    padding: 0 8px;
  }

  body.conversion-landing .landing-brand strong {
    font-size: 20px;
  }

  body.conversion-landing .conversion-hero {
    min-height: auto;
    padding: 48px 0 46px;
  }

  body.conversion-landing .growth-curve {
    right: -420px;
    bottom: 300px;
    width: 860px;
    opacity: 0.3;
  }

  body.conversion-landing .hero-inner,
  body.conversion-landing .problem-section,
  body.conversion-landing .dark-band,
  body.conversion-landing .light-band,
  body.conversion-landing .workflow-section,
  body.conversion-landing .integration-section,
  body.conversion-landing .pricing-section,
  body.conversion-landing .faq-section,
  body.conversion-landing .final-cta,
  body.conversion-landing .landing-footer {
    width: min(100% - 28px, 1220px);
  }

  body.conversion-landing .proof-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    border: 0;
    background: transparent;
  }

  body.conversion-landing .proof-badges span {
    min-height: 28px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 12px;
  }

  body.conversion-landing .proof-badges span + span {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  body.conversion-landing .conversion-hero h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  body.conversion-landing .mobile-break {
    display: block;
  }

  body.conversion-landing .conversion-hero p {
    font-size: 15px;
  }

  body.conversion-landing .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  body.conversion-landing .landing-button {
    min-height: 42px;
    min-width: 0;
    padding: 0 12px;
    font-size: 13px;
  }

  body.conversion-landing .hero-product-stage {
    margin-top: 34px;
  }

  body.conversion-landing .stage-frame {
    min-height: 420px;
    border-radius: 14px 14px 0 0;
  }

  body.conversion-landing .stage-topbar {
    grid-template-columns: auto 1fr;
    min-height: 46px;
    padding: 0 14px;
  }

  body.conversion-landing .stage-topbar strong {
    justify-self: start;
  }

  body.conversion-landing .stage-topbar em {
    display: none;
  }

  body.conversion-landing .stage-grid {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  body.conversion-landing .stage-card {
    min-height: 118px;
  }

  body.conversion-landing .hero-integrations {
    width: 100%;
    padding-bottom: 44px;
  }

  body.conversion-landing .hero-tool-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.conversion-landing .hero-integrations p {
    margin: 16px 0 40px;
    font-size: 12px;
  }

  body.conversion-landing .team-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
  }

  body.conversion-landing .team-row span {
    font-size: 18px;
  }

  body.conversion-landing .problem-section {
    gap: 30px;
    padding: 56px 0 48px;
  }

  body.conversion-landing .problem-copy ul {
    grid-template-columns: 1fr;
    width: min(320px, 100%);
  }

  body.conversion-landing .problem-copy li {
    justify-content: flex-start;
    text-align: left;
  }

  body.conversion-landing .problem-copy h2,
  body.conversion-landing .section-heading h2,
  body.conversion-landing .customer-section h2,
  body.conversion-landing .final-cta h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.08;
  }

  body.conversion-landing .product-preview {
    min-height: auto;
    overflow: hidden;
  }

  body.conversion-landing .product-preview::before,
  body.conversion-landing .product-preview::after {
    display: none;
  }

  body.conversion-landing .preview-main {
    padding: 16px;
  }

  body.conversion-landing .preview-grid,
  body.conversion-landing .template-wall,
  body.conversion-landing .capability-leads,
  body.conversion-landing .capability-grid,
  body.conversion-landing .numbers-grid,
  body.conversion-landing .optimization-loop,
  body.conversion-landing .optimization-proof,
  body.conversion-landing .integration-grid,
  body.conversion-landing .workflow-board,
  body.conversion-landing .pricing-grid,
  body.conversion-landing .faq-grid {
    grid-template-columns: 1fr;
  }

  body.conversion-landing .template-wall {
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  body.conversion-landing .template-card:nth-child(2),
  body.conversion-landing .template-card:nth-child(5),
  body.conversion-landing .capability-grid article:nth-child(1),
  body.conversion-landing .capability-grid article:nth-child(6),
  body.conversion-landing .capability-grid article:nth-child(11) {
    grid-column: auto;
  }

  body.conversion-landing .preview-detail {
    grid-template-columns: 1fr;
  }

  body.conversion-landing .template-gallery-section,
  body.conversion-landing .capability-section,
  body.conversion-landing .numbers-section,
  body.conversion-landing .optimization-section,
  body.conversion-landing .integration-section,
  body.conversion-landing .workflow-section,
  body.conversion-landing .stack-section,
  body.conversion-landing .pricing-section,
  body.conversion-landing .customer-section,
  body.conversion-landing .faq-section,
  body.conversion-landing .final-cta {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  body.conversion-landing .numbers-section,
  body.conversion-landing .integration-section {
    min-height: auto;
    align-content: initial;
  }

  body.conversion-landing .template-card,
  body.conversion-landing .capability-leads article,
  body.conversion-landing .capability-grid article,
  body.conversion-landing .workflow-board article {
    min-height: 0;
  }

  body.conversion-landing .price-card {
    min-height: 0;
    padding: 26px;
  }

  body.conversion-landing .price-card > strong {
    font-size: 44px;
  }

  body.conversion-landing .numbers-grid strong {
    font-size: 40px;
  }

  body.conversion-landing .optimization-loop strong {
    width: 78px;
    height: 78px;
  }

  body.conversion-landing .integration-tabs {
    justify-content: center;
    overflow-x: visible;
    flex-wrap: wrap;
    padding-bottom: 0;
  }

  body.conversion-landing .stack-heading h2 {
    font-size: 31px;
    line-height: 1.06;
  }

  body.conversion-landing .stack-heading-strike {
    max-width: 340px;
    white-space: normal;
    text-decoration-line: line-through;
    text-decoration-color: #ef3b3b;
    text-decoration-thickness: 4px;
    text-decoration-skip-ink: none;
  }

  body.conversion-landing .stack-heading-strike::after {
    display: none;
  }

  body.conversion-landing .stack-tabs {
    display: grid;
    grid-template-columns: 1fr;
    width: min(320px, 100%);
    border-radius: 18px;
  }

  body.conversion-landing .stack-tabs button {
    width: 100%;
    min-height: 42px;
  }

  body.conversion-landing .stack-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px;
  }

  body.conversion-landing .stack-row.header {
    display: none;
  }

  body.conversion-landing .stack-row span:last-child {
    justify-self: start;
    text-align: left;
    white-space: normal;
  }

  body.conversion-landing .stack-total span:last-child {
    font-size: 20px;
  }

  body.conversion-landing .stack-save-block strong {
    font-size: clamp(32px, 8.8vw, 38px);
    overflow-wrap: anywhere;
  }

  body.conversion-landing .stack-saving,
  body.conversion-landing .stack-save-block,
  body.conversion-landing .stack-includes {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  body.conversion-landing .stack-includes h3 {
    font-size: 25px;
    line-height: 1.14;
    word-break: normal;
    overflow-wrap: break-word;
    white-space: normal;
  }

  body.conversion-landing .stack-includes .landing-button.primary {
    width: min(280px, 100%);
    min-width: 0;
  }

  body.conversion-landing .final-cta {
    justify-items: stretch;
    text-align: left;
  }

  body.conversion-landing .final-cta h2 {
    font-size: 31px;
  }

  body.conversion-landing .landing-footer {
    gap: 34px;
    padding-top: 52px;
    padding-bottom: 58px;
  }

  body.conversion-landing .footer-columns {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  body.conversion-landing .footer-brand-block {
    max-width: none;
  }
}

.app { display: flex; min-height: 100vh; }

/* ============ 侧边栏 ============ */

#sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--paper);
  border-right: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  padding: 24px 16px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand { display: flex; align-items: center; gap: 11px; padding: 0 8px 22px; }

.brand-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: #f3eee4;
  color: #244f5c;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(36, 79, 92, 0.18);
}
.brand-mark svg, .brand-mark img { width: 19px; height: 19px; display: block; }

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--serif); font-size: 20px; letter-spacing: 0.01em; color: var(--ink); }
.brand-text span { font-size: 11px; color: var(--muted); }

.nav-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0 12px 8px;
  text-transform: uppercase;
}

#tabs, #tabs-bottom { display: flex; flex-direction: column; gap: 1px; }

/* ============ 应用下拉选择器 ============ */

.nav-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px 8px;
}
.nav-label-row .nav-label {
  padding: 0;
}
.scope-config-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  border: none;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 7px;
  cursor: pointer;
}
.scope-config-btn[hidden],
.mobile-section-link[hidden] {
  display: none !important;
}
.scope-config-btn .tool-ic {
  width: 14px;
  height: 14px;
}
.scope-config-btn:hover,
.scope-config-btn.active {
  background: var(--paper-2);
  color: var(--ink);
}
.scope-config-btn .warn-dot {
  margin-left: 0;
}

.module-tree {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
}
.module-head {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  min-height: 38px;
  border-radius: var(--r-sm);
  background: var(--paper-2);
  padding: 2px;
}
.module-switch-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: calc(var(--r-sm) - 2px);
  text-align: left;
  cursor: default;
}
.module-switch-btn:hover { background: transparent; color: var(--ink); }

.module-poll-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: calc(var(--r-sm) - 2px);
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.module-poll-btn:hover {
  background: var(--card);
  color: var(--green-dark);
}
.module-poll-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.module-poll-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.module-poll-btn.running {
  color: var(--green-dark);
}
.module-poll-btn.running:disabled {
  opacity: 1;
}
.module-poll-btn.running::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background:
    conic-gradient(
      from 0deg,
      var(--green) 0deg 90deg,
      rgba(47, 125, 84, 0.18) 90deg 360deg
    );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0);
  animation: poll-spin 0.9s linear infinite;
}
.module-poll-btn.running svg {
  opacity: 0;
}
.module-poll-meta {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  padding: 0 4px 2px 12px;
}

.module-subnav {
  margin-left: 12px;
  padding-left: 10px;
  border-left: 1px solid var(--hairline);
}

.app-select { position: relative; margin-bottom: 16px; }

.app-select-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: none;
  background: var(--paper-2);
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-align: left;
}
.app-select-btn:hover { background: var(--hover); }
.app-select-btn:active {
  background: var(--hover);
  color: var(--ink);
}
.app-select-current {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.app-select-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-select-chev {
  width: 15px; height: 15px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.15s;
}
.app-select.open .app-select-chev { transform: rotate(180deg); }

.app-select-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--card);
  border-radius: var(--r-md);
  box-shadow: var(--menu-shadow);
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.app-select-menu[hidden] { display: none; }
.app-select-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: none;
  background: none;
  color: var(--ink-soft);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-align: left;
}
.app-select-item:hover { background: var(--paper-2); color: var(--ink); }
.app-select-item:active { background: var(--hover); color: var(--ink); }
.app-select-item.active { background: var(--green-soft); color: var(--green-dark); font-weight: 600; }

.switcher-ic {
  width: 22px; height: 22px;
  border-radius: 6px;
  flex-shrink: 0;
  object-fit: cover;
}
.letter-avatar.switcher-ic {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.all-ic {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: var(--ink-soft);
  background: var(--paper-2);
}
.app-select-item.active .all-ic, .app-select-btn .all-ic { background: var(--card); }
.generic-app-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  background: var(--green-soft);
}
.generic-app-ic svg {
  width: 15px;
  height: 15px;
}

/* 侧边栏下方的工具设置入口 */
#tabs-bottom { margin-bottom: 10px; }
.tool-ic {
  width: 17px; height: 17px;
  flex-shrink: 0;
  color: var(--muted);
}
#tabs-bottom .tab.active .tool-ic { color: var(--ink); }

.tab {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: none;
  background: none;
  color: var(--ink-soft);
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}
.nav-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--dot, var(--muted));
  flex-shrink: 0;
}
.tab:hover { background: var(--paper-2); color: var(--ink); }
.tab:active { background: var(--hover); color: var(--ink); }
.tab.active { background: var(--paper-2); color: var(--ink); font-weight: 600; }

.tab-label { flex: 1; }

body:not(.onboarding-required) .onboarding-only { display: none; }
body.onboarding-required .ready-only,
body.onboarding-required .app-nav-row,
body.onboarding-required .app-select,
body.onboarding-required .module-nav-label,
body.onboarding-required .module-switch-btn { display: none; }

.badge {
  min-width: 20px;
  padding: 0 6px;
  font-size: 12px;
  text-align: right;
  color: var(--muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.badge:empty { display: none; }
.tab.active .badge { color: var(--ink-soft); }

.warn-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  font-weight: 700;
}

.mobile-menu-btn,
.mobile-menu-backdrop,
.mobile-menu {
  display: none;
}

.mobile-menu-backdrop[hidden],
.mobile-menu[hidden] {
  display: none !important;
}

.sidebar-foot { margin-top: auto; }

.foot-card {
  background: var(--paper-2);
  border: none;
  border-radius: var(--r-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: center;
}
.foot-card .muted { font-size: 11px; line-height: 1.55; }

/* ============ 主区域 ============ */

main {
  flex: 1;
  min-width: 0;
  padding: 24px 30px 48px 22px;
  max-width: 1220px;
}
.tab-page#tab-settings { max-width: 880px; }

.page-head { margin-bottom: 14px; }
.page-head h2 {
  font-family: var(--serif);
  margin: 0 0 3px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.page-head .muted { margin: 0; font-size: 14px; max-width: 620px; }

.muted { color: var(--muted); font-size: 13px; }

/* 概览带 */
.stat-band {
  display: flex;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 18px 8px;
  margin-bottom: 26px;
}
.stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 2px 24px;
}
.stat + .stat { border-left: 1px solid var(--hairline); }
.stat-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.stat-text { display: flex; flex-direction: column; line-height: 1.25; }
.stat-label { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.stat-text b { font-family: var(--serif); font-size: 27px; font-weight: 600; color: var(--ink); }

#banner {
  padding: 12px 18px;
  border-radius: var(--r-md);
  margin-bottom: 22px;
  background: var(--c-amber-bg);
  border: 1px solid var(--c-amber-bg);
  font-size: 13.5px;
  color: var(--c-amber-ink);
}
#banner.error { background: var(--c-red-bg); border-color: var(--c-red-bg); color: var(--c-red-ink); }
#banner.success { background: var(--c-green-bg); border-color: var(--c-green-bg); color: var(--c-green-ink); }

/* ============ 首次配置引导 ============ */

.tab-page#tab-onboarding { max-width: 960px; }

.onboarding-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 16px;
  align-items: start;
}

.onboarding-main,
.onboarding-side {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.onboarding-progress {
  display: grid;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}
.onboarding-progress > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.onboarding-progress strong {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
}
.onboarding-progress-track {
  height: 8px;
  border-radius: 999px;
  background: var(--paper-2);
  overflow: hidden;
}
.onboarding-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 0.2s ease;
}

.onboarding-steps {
  display: grid;
  gap: 10px;
}
.onboarding-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--r-md);
  background: var(--module);
}
.onboarding-step h3 {
  margin: 0 0 2px;
  font-family: var(--sans);
  font-size: 15px;
}
.onboarding-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.step-status {
  min-width: 48px;
  text-align: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--c-amber-bg);
  color: var(--c-amber-ink);
  font-size: 12px;
  font-weight: 700;
}
.onboarding-step.done .step-status {
  background: var(--green-soft);
  color: var(--green-dark);
}
.onboarding-step.blocked { opacity: 0.72; }
.onboarding-step.blocked .step-status {
  background: var(--c-gray-bg);
  color: var(--c-gray-ink);
}

.onboarding-side h3 { margin-bottom: 12px; }
.onboarding-side dl {
  display: grid;
  gap: 12px;
  margin: 0;
}
.onboarding-side dl > div {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}
.onboarding-side dl > div:last-child { border-bottom: none; padding-bottom: 0; }
.onboarding-side dt {
  color: var(--muted);
  font-size: 12px;
}
.onboarding-side dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}

#toast-stack {
  position: fixed;
  z-index: 80;
  top: 22px;
  right: 24px;
  width: min(360px, calc(100vw - 32px));
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-amber-bg);
  background: var(--c-amber-bg);
  color: var(--c-amber-ink);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 14px 36px rgba(38, 33, 24, 0.16);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}
.toast.warning {
  border-color: color-mix(in srgb, var(--c-amber-ink), transparent 72%);
}
.toast.success {
  border-color: color-mix(in srgb, var(--c-green-ink), transparent 72%);
  background: var(--c-green-bg);
  color: var(--c-green-ink);
}

/* ============ 卡片列表 ============ */

.card-list { display: flex; flex-direction: column; gap: 16px; }

.item-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.2s;
}
.item-card:hover { box-shadow: var(--shadow-lift); }

.item-head {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.source-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 13px;
  font-size: 12px;
  font-weight: 600;
  background: var(--c-green-bg);
  color: var(--c-green-ink);
}
.source-tag.email { background: var(--c-blue-bg); color: var(--c-blue-ink); }

.stars { color: var(--amber); font-size: 13.5px; letter-spacing: 1.5px; }
.stars .off { color: var(--hairline-2); }

/* 来源图标（邮件） */
.src-ic {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--c-blue-bg);
  color: var(--indigo);
}
.src-ic svg { width: 14px; height: 14px; }

/* Play 评论：应用图标 + 右下角叠放的 Google Play 小标 */
.src-badge {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  margin-right: 4px;
}
.src-badge .app-ic {
  width: 26px; height: 26px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  font-size: 13px;
  box-shadow: 0 1px 2px rgba(60, 50, 30, 0.12);
}
.play-mark {
  position: absolute;
  right: -6px; bottom: -4px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--card);
  box-shadow: 0 1px 3px rgba(60, 50, 30, 0.22);
  display: grid;
  place-items: center;
}
.play-mark svg { width: 8.5px; height: 8.5px; }

.letter-avatar {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.chip {
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 600;
  background: var(--paper-2);
  color: var(--ink-soft);
  border: 1px solid transparent;
}
/* 不同标签用不同颜色区分（柔和马卡龙色） */
.chip.cat-positive_review { background: var(--c-green-bg); color: var(--c-green-ink); }
.chip.cat-crash_or_bug { background: var(--c-red-bg); color: var(--c-red-ink); }
.chip.cat-refund_request { background: var(--c-amber-bg); color: var(--c-amber-ink); }
.chip.cat-feature_request { background: var(--c-blue-bg); color: var(--c-blue-ink); }
.chip.cat-how_to_question { background: var(--c-violet-bg); color: var(--c-violet-ink); }
.chip.cat-negative_general { background: var(--c-gray-bg); color: var(--c-gray-ink); }
.chip.cat-manual { background: var(--c-red-bg); color: var(--c-red-ink); }
.chip.cat-spam { background: var(--c-amber-bg); color: var(--c-amber-ink); }

.conf-label { font-size: 12px; font-weight: 600; color: var(--green-dark); }
.conf-label.low { color: var(--c-amber-ink); }

/* 列表中低置信度的醒目标识 */
.low-conf-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--c-amber-ink);
  background: var(--c-amber-bg);
  border: 1px solid var(--c-amber-bg);
  border-radius: 999px;
  padding: 1px 8px 1px 6px;
}
.low-conf-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.item-head .when { margin-left: auto; }

/* 内容色块：切换行 + 正文同处一个加深背景的模块，无描边 */
.content-module {
  background: var(--module);
  border-radius: var(--r-md);
  padding: 14px 18px;
  margin-bottom: 12px;
}
.item-content {
  white-space: pre-wrap;
  font-family: var(--serif);
  word-break: break-word;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
}
.item-content a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.email-extra-module {
  display: grid;
  gap: 12px;
  margin: -2px 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: var(--card);
}
.email-extra-section {
  min-width: 0;
}
.email-extra-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-bottom: 6px;
}
.email-extra-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.email-extra-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}
.email-extra-status.loaded {
  color: var(--green-dark);
}
.email-extra-status.error {
  color: var(--c-red-ink);
}
.email-extra-spinner {
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  border: 2px solid var(--hairline-strong);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: poll-spin 0.75s linear infinite;
}
.email-extra-retry {
  margin-left: auto;
  padding: 4px 10px;
  font-size: 12px;
}
.email-extra-list {
  display: grid;
  gap: 7px;
}
.email-extra-link {
  display: block;
  color: var(--green-dark);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.attachment-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  background: var(--paper-2);
}
.attachment-row.is-loading {
  background: var(--green-soft);
}
.attachment-row.has-error {
  background: var(--c-red-bg);
}
.attachment-main {
  min-width: 0;
}
.attachment-name {
  display: block;
  max-width: 100%;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a.attachment-name {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
button.attachment-name {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
button.attachment-name:disabled {
  cursor: wait;
  color: var(--muted);
}
.attachment-meta {
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.email-thread-module {
  display: grid;
  gap: 10px;
  margin: -2px 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: var(--card);
}
.email-thread-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.email-thread-list {
  display: grid;
  gap: 8px;
}
.email-thread-row {
  min-width: 0;
  padding: 9px 11px;
  border-radius: var(--r-sm);
  background: var(--paper-2);
}
.email-thread-meta {
  color: var(--muted);
  font-size: 11.5px;
  margin-bottom: 3px;
}
.email-thread-text {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.email-thread-reply {
  margin-top: 7px;
  padding-left: 9px;
  border-left: 2px solid var(--green);
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.email-thread-empty {
  color: var(--muted);
  font-size: 12.5px;
}
.email-thread-empty.error { color: var(--c-red-ink); }

/* 译文/原文切换 */
.translation-tag {
  display: inline-block;
  font-family: var(--sans);
  background: var(--green);
  color: #fff;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 7px;
  margin-right: 8px;
  vertical-align: 2px;
  white-space: nowrap;
}
.content-toggle { margin: -8px 0 14px; text-align: right; }
.link-btn {
  border: none;
  background: none;
  padding: 2px 4px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  border-radius: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-btn:hover { color: var(--green-dark); background: none; border: none; }
.link-btn:active { color: var(--green-dark); background: var(--green-soft); }

.draft-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 5px;
}
.draft-label .meta {
  flex: 1 1 auto;
  min-width: 160px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.draft-label svg { width: 13px; height: 13px; }
.draft-tools {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.draft-tools-mobile {
  display: none;
}
.draft-tool-btn {
  flex-shrink: 0;
  padding: 2px 4px;
  border-radius: 6px;
  background: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  box-shadow: none;
}
.draft-tool-btn:hover {
  background: none;
  color: var(--green-dark);
}
.draft-tool-btn:active {
  background: var(--green-soft);
  color: var(--green-dark);
}

.detail-card textarea {
  width: 100%;
  display: block;
  box-sizing: border-box;
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-md);
  padding: 12px 16px;
  margin-top: 2px;
  font: inherit;
  font-size: 14px;
  line-height: 1.6;
  min-height: 132px;
  overflow-y: hidden;
  resize: none;
  background: var(--card);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.detail-card textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 125, 84, 0.13);
}

.char-count { font-size: 12px; color: var(--muted); margin-left: auto; }
.char-count.over { color: var(--red); font-weight: 700; }

.sent-reply {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-soft);
  background: var(--module);
  border-radius: var(--r-md);
  padding: 13px 16px;
  margin-top: 6px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

/* ============ 按钮（药丸） ============ */

button {
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 999px;
  border: none;
  background: var(--paper-2);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.1s;
  touch-action: manipulation;
}
button:hover { color: var(--green-dark); background: var(--green-soft); }
button:where(:not(:disabled):active) {
  color: var(--ink);
  background: var(--hover);
  transform: translateY(1px);
}
button:disabled { opacity: 0.45; cursor: default; transform: none; }
button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

button.primary {
  background: var(--green);
  color: #fdfbf4;
  font-weight: 600;
}
button.primary:hover { background: var(--green-dark); color: #fdfbf4; }
button.primary:where(:not(:disabled):active) { background: var(--green-dark); color: #fdfbf4; }
button.primary.loading:disabled {
  opacity: 0.86;
  background: var(--green-dark);
  color: #fdfbf4;
}

button.danger { color: var(--c-red-ink); background: var(--c-red-bg); }
button.danger:hover { background: var(--c-red-bg); color: var(--c-red-ink); opacity: 0.82; }
button.danger:where(:not(:disabled):active) {
  background: var(--c-red-bg);
  color: var(--c-red-ink);
  opacity: 0.76;
}

button.block {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
}
button.block svg { width: 15px; height: 15px; }
button.primary.running svg {
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border: 2px solid rgba(253, 251, 244, 0.45);
  border-top-color: #fdfbf4;
  border-radius: 50%;
  color: transparent;
  animation: poll-spin 0.75s linear infinite;
}
@keyframes poll-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  button.primary.running svg,
  .module-poll-btn.running::before,
  .email-extra-spinner {
    animation: none;
  }
}

/* ============ 设置 ============ */

.settings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.stab, .astab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: none;
  color: var(--ink-soft);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.stab:hover, .astab:hover { background: var(--paper-2); color: var(--ink); }
.stab.active, .astab.active { background: var(--green-soft); color: var(--green-dark); font-weight: 600; }

.settings-card {
  background: var(--card);
  border: none;
  border-radius: var(--r-lg);
  padding: 18px 22px;
  margin-bottom: 12px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.security-item {
  min-height: 104px;
  border-radius: var(--r-sm);
  background: var(--module);
  padding: 14px;
}
.security-item strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 6px;
}
.security-item span {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}
.legal-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.legal-primary-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.legal-meta-links {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1;
}
.legal-meta-links a,
.legal-back {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.legal-meta-links a:hover,
.legal-back:hover { text-decoration: underline; }

.account-session {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}
.account-session-text {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.account-session-text strong {
  color: var(--ink);
  font-size: 13.5px;
}
.account-session-text span {
  color: var(--muted);
  font-size: 12.5px;
  overflow-wrap: anywhere;
}
.session-logout {
  flex-shrink: 0;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink-soft);
  padding: 7px 13px;
}
.session-logout:hover {
  background: var(--c-red-bg);
  color: var(--c-red-ink);
}
.session-logout:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
@media (max-width: 640px) {
  .account-session {
    align-items: flex-start;
    flex-direction: column;
  }
  .session-logout {
    width: 100%;
  }
}

.legal-page {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 64px;
}
.legal-page h1 {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.2;
  margin: 18px 0 12px;
}
.legal-page h2 {
  font-family: var(--serif);
  font-size: 20px;
  margin: 28px 0 6px;
}
.legal-page p {
  color: var(--ink-soft);
  margin: 0 0 10px;
}

h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.005em;
  margin: 0 0 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.sec-num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 2px 10px;
}

.settings-card a { color: var(--green-dark); text-underline-offset: 3px; }

.poll-runs-panel {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}
.poll-runs-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.poll-runs-head strong {
  color: var(--ink);
  font-size: 13.5px;
}
.poll-runs-list {
  display: grid;
  gap: 8px;
}
.poll-run-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--paper);
  border-left: 3px solid var(--hairline-2);
}
.poll-run-row.completed { border-left-color: var(--green); }
.poll-run-row.failed { border-left-color: var(--red); }
.poll-run-row.running { border-left-color: var(--amber); }
.poll-run-title {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
}
.poll-run-counts {
  color: var(--ink-soft);
  font-size: 12.5px;
  white-space: nowrap;
}
.poll-run-errors {
  grid-column: 1 / -1;
  color: var(--c-red-ink);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.poll-run-empty {
  color: var(--muted);
  font-size: 12.5px;
}

.user-list {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}
.user-row {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  background: var(--paper);
}
.user-row-head,
.user-controls,
.user-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.user-row-head { justify-content: space-between; }
.user-row-title { min-width: 0; }
.user-row-title strong {
  display: block;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-role {
  flex: 0 0 auto;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
}
.user-role.inactive {
  color: var(--c-gray-ink);
  background: var(--c-gray-bg);
}
.user-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.user-edit-grid label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.user-edit-grid input,
.user-actions input {
  min-width: 0;
  font: inherit;
  font-size: 13.5px;
  color: var(--ink);
  padding: 8px 11px;
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-sm);
  background: var(--card);
}
.user-edit-grid input:focus,
.user-actions input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 125, 84, 0.13);
}
.compact-switch {
  margin: 0;
  font-size: 12.5px !important;
}
.compact-switch .switch {
  width: 34px;
  height: 20px;
}
.compact-switch .switch::after {
  width: 14px;
  height: 14px;
}
.compact-switch input:checked + .switch::after { transform: translateX(14px); }
.user-actions button {
  padding: 6px 12px;
  font-size: 12.5px;
}
.user-actions input {
  width: 150px;
}
.user-row-result {
  color: var(--muted);
  font-size: 12.5px;
}
.user-row-result.ok { color: var(--green-dark); }
.user-row-result.err { color: var(--red); }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 11px; margin: 12px 0 4px; }
.form-grid.two-col { grid-template-columns: 1fr 1fr; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.form-grid .span2 { grid-column: span 2; }

.form-grid input, .form-grid textarea {
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  padding: 9px 14px;
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-sm);
  background: var(--card);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-grid input:focus, .form-grid textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 125, 84, 0.13);
}

.form-grid input.secret-input:not(:placeholder-shown) {
  -webkit-text-security: disc;
}

label.inline { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); }
.form-grid label.inline { flex-direction: row; align-items: center; color: var(--ink-soft); }
label.inline input[type="number"] {
  font: inherit;
  padding: 7px 12px;
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-sm);
  background: var(--card);
}
label.inline input[type="number"]:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 125, 84, 0.13);
}

/* 开关 */
.switch-label { cursor: pointer; user-select: none; }
.switch-label input { position: absolute; opacity: 0; pointer-events: none; }
.switch {
  width: 40px; height: 23px;
  border-radius: 23px;
  background: var(--hairline-2);
  position: relative;
  transition: background 0.18s;
  flex-shrink: 0;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--knob);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s;
}
.switch-label input:checked + .switch { background: var(--green); }
.switch-label input:checked + .switch::after { transform: translateX(17px); }

.file-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.file-row input[type="file"] { font-size: 13px; }

/* Play 应用列表 */
#play-apps-list { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.app-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--module);
  border: none;
  border-radius: var(--r-md);
  padding: 10px 14px;
}
.app-row .app-row-icon, .app-row .letter-avatar {
  width: 34px; height: 34px;
  border-radius: 9px;
  font-size: 15px;
}
.app-row-icon { object-fit: cover; }
.app-row-info { flex: 1; display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.app-row-info b { font-size: 14px; color: var(--ink); }
.app-row-info .muted { font-size: 12px; }
.app-row button { padding: 5px 14px; font-size: 13px; }

.inline-input {
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  padding: 8px 14px;
  border: 1px solid var(--hairline-2);
  border-radius: 999px;
  background: var(--card);
  min-width: 220px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.inline-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 125, 84, 0.13);
}

.ready-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--hairline-2);
  transition: background 0.2s, box-shadow 0.2s;
}
.ready-dot.ok { background: var(--green); box-shadow: 0 0 0 3.5px rgba(47, 125, 84, 0.16); }

.test-result { font-size: 13px; }
.test-result.ok { color: var(--green-dark); }
.test-result.err { color: var(--red); }

.template-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 12px;
}
.template-tools .muted {
  line-height: 1.45;
}
.template-import-panel {
  display: grid;
  gap: 8px;
  background: var(--module);
  border-radius: var(--r-md);
  padding: 12px;
  margin: 0 0 12px;
}
.template-import-panel[hidden] { display: none; }
.template-import-panel textarea {
  width: 100%;
  min-height: 132px;
  resize: vertical;
  font: inherit;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}
.template-import-panel textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 125, 84, 0.13);
}

.tpl-rule, .tpl-reply {
  border: none;
  border-radius: var(--r-md);
  padding: 15px 18px 17px;
  margin-bottom: 12px;
  background: var(--module);
}
.cat-remove-cell { justify-content: flex-end; flex-direction: row !important; align-items: flex-end; }

/* ============ 应用配置：我的应用横条 ============ */

.my-apps-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.my-apps-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  flex-shrink: 0;
}
.my-apps-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: var(--card);
  color: var(--ink-soft);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px 7px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.app-chip:hover { background: var(--paper-2); color: var(--ink); }
.app-chip.active { background: var(--green-soft); color: var(--green-dark); font-weight: 600; }
.app-chip-ic {
  width: 20px; height: 20px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.letter-avatar.app-chip-ic {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
}
#new-app-toggle { flex-shrink: 0; }

.new-app-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.new-app-form[hidden] { display: none; }

/* ============ 历史分段控件 ============ */

.seg {
  display: inline-flex;
  align-items: center;
  background: var(--paper-2);
  border-radius: 999px;
  box-sizing: border-box;
  height: var(--toolbar-control-height);
  min-height: var(--toolbar-control-height);
  padding: 4px;
}
.seg-item {
  display: inline-flex;
  align-items: stretch;
  cursor: pointer;
}
.seg-item input { position: absolute; opacity: 0; pointer-events: none; }
.seg-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: calc(var(--toolbar-control-height) - 8px);
  padding: 0 20px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.seg-item input:checked + span {
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
}
.seg-item:active span {
  background: var(--hover);
  color: var(--ink);
}
.seg-item:active input:checked + span {
  background: var(--card);
  color: var(--ink);
}

/* ============ 工具行 / 汇总行 ============ */

.toolbar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.filter-label { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.summary-line { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }

.more-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-height: var(--toolbar-control-height);
}
.filter-select {
  font: inherit;
  font-size: 12.5px;
  color: var(--ink-soft);
  background-color: var(--paper-2);
  border: none;
  border-radius: 999px;
  box-sizing: border-box;
  height: var(--toolbar-control-height);
  min-height: var(--toolbar-control-height);
  padding: 0 32px 0 16px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%239b9384" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>');
  background-repeat: no-repeat;
  background-position: right 9px center;
  background-size: 12px;
  transition: background-color 0.15s, color 0.15s;
}
.filter-select:hover { background-color: var(--green-soft); color: var(--green-dark); }
.filter-select:active {
  background-color: var(--green-soft);
  color: var(--green-dark);
}
.filter-select:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--green);
}

@media (hover: none), (pointer: coarse) {
  .filter-select:hover {
    background-color: var(--paper-2);
    color: var(--ink-soft);
  }
  .filter-select:focus-visible {
    box-shadow: none;
  }
}

.positive-bulk-shell,
.spam-bulk-shell {
  margin: 0 0 12px;
}
.positive-bulk-shell[hidden],
.spam-bulk-shell[hidden] { display: none; }
.positive-bulk-shell.collapsed {
  display: flex;
  align-items: center;
  gap: 8px;
}
.positive-toggle {
  padding: 6px 13px;
  font-size: 12.5px;
  color: var(--green-dark);
  background: var(--green-soft);
}
.positive-toggle-hint {
  color: var(--muted);
  font-size: 12.5px;
}
.positive-bulk-shell.expanded,
.spam-bulk-shell.expanded {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 9px 11px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: var(--card);
}
.positive-bulk-shell.expanded .bulk-title,
.spam-bulk-shell.expanded .bulk-title {
  margin-right: auto;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
}
.positive-bulk-shell.expanded button,
.spam-bulk-shell.expanded button {
  padding: 6px 12px;
  font-size: 12.5px;
}
.positive-bulk-shell.expanded button.primary,
.spam-bulk-shell.expanded button.primary { padding: 6px 14px; }

/* ============ 主从布局 ============ */

.split {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.list-pane { width: 310px; flex-shrink: 0; }
/* 详情栏吸顶且自身可滚动：长详情底部按钮始终可达 */
.detail-pane {
  flex: 1;
  min-width: 0;
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.mini-list { display: flex; flex-direction: column; gap: 7px; }

.mini-item {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  background: var(--card);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  padding: 9px 12px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.mini-item:hover { background: var(--hover-soft); }
.mini-item:active {
  background: var(--hover-soft);
  border-color: var(--hairline-2);
}
.mini-item.active { border-color: var(--green); background: var(--card); }
.mini-item.active:active {
  background: var(--card);
  border-color: var(--green);
}
.mini-item.bulk-candidate { border-color: rgba(47, 125, 84, 0.18); }
.mini-item.is-sending {
  cursor: progress;
  opacity: 0.62;
  background: var(--paper-2);
}
.mini-item.is-sending:hover { background: var(--paper-2); }
.mini-item.has-failure { border-color: rgba(174, 70, 55, 0.28); }

.mini-top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}
.mini-stars { color: var(--amber); font-size: 12px; letter-spacing: 1px; }
.mini-stars .off { color: var(--hairline-2); }
.mini-time { margin-left: auto; font-size: 11.5px; color: var(--muted); }
.bulk-check {
  width: 18px;
  height: 18px;
  border: 1px solid var(--hairline-2);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--card);
  background: var(--paper-2);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.bulk-check.checked {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
.bulk-check.locked {
  border-color: var(--amber);
  background: var(--amber);
  color: #fff;
}

/* 评论内容 = 列表项的核心 */
.mini-text {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}
.mini-foot { display: flex; align-items: center; gap: 8px; }
.mini-status {
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.mini-status.sending {
  color: var(--green-dark);
  background: var(--green-soft);
}
.mini-status.failed {
  color: var(--c-red-ink);
  background: var(--c-red-bg);
}
/* 用户名/邮箱只是次要展示项：小字、灰、靠右、截断 */
.mini-who {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--muted);
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-empty {
  text-align: center;
  color: var(--muted);
  padding: 36px 0;
  font-size: 13.5px;
  border: 1px dashed var(--hairline-2);
  border-radius: var(--r-md);
}

/* 右侧详情操作台 */
.detail-card {
  background: var(--card);
  border: none;
  border-radius: var(--r-lg);
  padding: 18px 22px;
}
.detail-empty {
  text-align: center;
  color: var(--muted);
  padding: 72px 0;
  background: var(--card);
  border: none;
  border-radius: var(--r-lg);
  font-size: 14px;
}

.detail-head {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 12px;
}
.detail-headinfo { flex: 1; min-width: 0; }
/* 平台·时间·用户名 = 一行小字元信息，不抢焦点 */
.detail-metaline { font-size: 12.5px; color: var(--muted); }
.detail-subject {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-stars { flex-shrink: 0; color: var(--amber); font-size: 15px; letter-spacing: 1.5px; margin-top: 1px; }
.detail-stars .off { color: var(--hairline-2); }

.device-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
  margin: 0 0 12px;
}
.device-ic { display: inline-grid; place-items: center; color: var(--ink-soft); }
.device-ic svg { width: 14px; height: 14px; display: block; }

.detail-catrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
}
.detail-conf { display: inline-flex; align-items: center; gap: 9px; }
.conf-bar2 {
  width: 110px; height: 6px;
  border-radius: 4px;
  background: var(--paper-2);
  overflow: hidden;
}
.conf-bar2 i { display: block; height: 100%; border-radius: 4px; background: var(--green); }
.conf-bar2 i.low { background: var(--amber); }
.batch-detail-status {
  border-radius: var(--r-md);
  padding: 10px 12px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
}
.batch-detail-status.sending {
  color: var(--green-dark);
  background: var(--green-soft);
}
.batch-detail-status.failed {
  color: var(--c-red-ink);
  background: var(--c-red-bg);
}
.detail-card.is-sending {
  border-color: rgba(47, 125, 84, 0.18);
}
.detail-card.has-failure {
  border-color: rgba(174, 70, 55, 0.28);
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.detail-actions .spacer { flex: 1; }
.secondary-actions {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.secondary-menu-btn {
  padding: 8px 14px;
  color: var(--muted);
  background: none;
}
.secondary-menu-btn:hover,
.secondary-actions.open .secondary-menu-btn {
  color: var(--green-dark);
  background: var(--green-soft);
}
.secondary-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  min-width: 132px;
  padding: 6px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--menu-shadow);
  z-index: 20;
}
.secondary-menu[hidden] { display: none; }
.secondary-menu .menu-action {
  width: 100%;
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  background: none;
  color: var(--ink-soft);
  text-align: left;
  white-space: nowrap;
}
.secondary-menu .menu-action:hover {
  background: var(--hover);
  color: var(--ink);
}
.secondary-menu .menu-action:active {
  background: var(--hover);
  color: var(--ink);
}

.char-row { margin-top: 7px; display: flex; align-items: center; gap: 10px; }
.char-row .char-count { margin-left: 0; }
.char-bar {
  width: 90px; height: 5px;
  border-radius: 3px;
  background: var(--paper-2);
  overflow: hidden;
  flex-shrink: 0;
}
.char-bar i { display: block; height: 100%; border-radius: 3px; background: var(--ink-soft); transition: width 0.15s; }
.char-bar i.over { background: var(--red); }

.manual-hint {
  font-size: 13.5px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 11px 15px;
  margin-top: 14px;
}

/* 分段译文切换 */
.tr-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
}
.draft-toggle {
  gap: 8px 12px;
}
.draft-toggle .draft-tools {
  margin-left: auto;
}
/* 分段控件：在色块内用略深的内嵌轨道 + 白色激活胶囊 */
.tr-segs {
  display: inline-flex;
  gap: 3px;
  background: var(--seg-track);
  border-radius: 999px;
  padding: 3px;
}
.tr-seg,
.tr-seg:hover {
  padding: 4px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  box-shadow: none;
}
.tr-seg:hover { color: var(--ink); }
.tr-seg:active {
  background: var(--hover);
  color: var(--ink);
}
.tr-seg.active,
.tr-seg.active:hover {
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
}
.tr-note { font-size: 12px; color: var(--muted); }

/* ============ 来源筛选 ============ */

.list-toolbar {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--paper-2);
  border-radius: 999px;
  box-sizing: border-box;
  height: var(--toolbar-control-height);
  min-height: var(--toolbar-control-height);
  padding: 4px;
  width: max-content;
  max-width: 100%;
}

.seg-btn,
.seg-btn:hover {
  border: none;
  background: none;
  box-shadow: none;
}
.seg-btn {
  box-sizing: border-box;
  min-height: calc(var(--toolbar-control-height) - 8px);
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  white-space: nowrap;
}
.seg-btn:hover { color: var(--ink); }
.seg-btn:active {
  background: var(--hover);
  color: var(--ink);
}
.seg-btn.active,
.seg-btn.active:hover {
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
}
.seg-ic { display: inline-grid; place-items: center; }
.seg-ic svg { width: 13px; height: 13px; display: block; }
.seg-ic.email { color: var(--indigo); }
.seg-count { font-size: 11px; font-weight: 700; color: var(--muted); }
.seg-btn.active .seg-count { color: var(--green-dark); }

/* ============ 空状态 ============ */

.empty-hint {
  text-align: center;
  color: var(--muted);
  padding: 68px 0;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}
.empty-hint::before {
  content: "";
  display: block;
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background-color: var(--green-soft);
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23245f41" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/><path d="M22 4 12 14.01l-3-3"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 25px;
}

/* ============ 移动端返回条（桌面隐藏） ============ */

.mobile-back {
  display: none;
  align-items: center;
  gap: 7px;
  border: none;
  background: none;
  color: var(--green-dark);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 2px 12px;
  cursor: pointer;
}
.mobile-back svg { width: 16px; height: 16px; }
.mobile-back:active {
  background: var(--green-soft);
  color: var(--green-dark);
}

/* ============ 窄屏（手机浏览器） ============ */

@media (max-width: 900px) {
  .app { flex-direction: column; }
  body.mobile-menu-open { overflow: hidden; }

  /* 侧边栏 → 顶部栏 */
  #sidebar {
    width: 100%;
    height: auto;
    position: sticky;
    top: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 8px;
    row-gap: 7px;
    padding: 8px 10px 7px;
    border-right: none;
    border-bottom: 1px solid var(--hairline);
    box-shadow: var(--shadow-sm);
  }
  .brand {
    grid-column: 1;
    min-width: 0;
    padding: 0;
  }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
  .brand-text strong { font-size: 17px; }
  .brand-text span { display: none; }
  .brand-text { min-width: 0; }
  .nav-label { display: none; }
  .app-nav-row,
  .app-select,
  #tabs-bottom { display: none; }
  .module-tree {
    grid-column: 1 / -1;
    margin: 0;
    gap: 5px;
  }
  .module-head {
    gap: 2px;
    min-height: 38px;
  }
  .module-switch-btn {
    min-height: 32px;
    padding: 6px 9px;
    font-size: 14px;
  }
  .module-poll-btn {
    width: 32px;
    height: 32px;
  }
  .module-poll-meta {
    display: none;
  }
  .module-subnav {
    margin: 0;
    padding: 0;
    border-left: none;
  }

  .mobile-menu-btn {
    grid-column: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--hairline);
    border-radius: var(--r-sm);
    background: var(--paper-2);
    color: var(--ink);
    font: inherit;
    box-shadow: var(--shadow-sm);
  }
  .mobile-menu-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  .mobile-menu-btn:hover { background: var(--hover); color: var(--ink); }
  .mobile-menu-btn:active {
    background: var(--hover);
    color: var(--ink);
  }
  .mobile-menu-btn[aria-expanded="true"] {
    background: var(--green-soft);
    color: var(--green-dark);
    border-color: transparent;
  }

  /* 主导航横向滚动 */
  #tabs {
    grid-column: 1 / -1;
    flex-direction: row;
    overflow-x: auto;
    gap: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  #tabs::-webkit-scrollbar { display: none; }
  .tab { width: auto; min-height: 36px; white-space: nowrap; padding: 7px 10px; flex-shrink: 0; }

  /* 手机上只保留主要操作，工具入口统一收进菜单 */
  .sidebar-foot {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
  }
  .foot-card { background: none; padding: 0; flex-shrink: 0; }
  .foot-card .primary.block { width: auto; min-height: 38px; padding: 8px 12px; }
  .foot-card .muted { display: none; } /* 上次拉取时间手机上不占地方 */

  .mobile-menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(22, 20, 17, 0.42);
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 81;
    width: 100%;
    max-height: min(84dvh, 620px);
    overflow-y: auto;
    padding: 8px 14px calc(16px + env(safe-area-inset-bottom));
    background: var(--paper);
    border-top: 1px solid var(--hairline);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -18px 42px rgba(43, 39, 35, 0.22);
  }
  .mobile-menu-handle {
    align-self: center;
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: var(--hairline-2);
    margin-bottom: 2px;
  }
  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 0 2px;
  }
  .mobile-menu-head strong {
    display: block;
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.2;
  }
  .mobile-menu-head span {
    display: block;
    color: var(--muted);
    font-size: 12px;
  }
  .mobile-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--hairline);
    border-radius: var(--r-sm);
    background: var(--card);
    color: var(--ink);
  }
  .mobile-menu-close > span[aria-hidden="true"] {
    color: var(--ink);
    font-size: 24px;
    line-height: 1;
  }
  .mobile-menu-section {
    display: grid;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--hairline);
  }
  .mobile-menu-head + .mobile-menu-section { border-top: none; padding-top: 2px; }
  .mobile-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .mobile-menu-section h3 {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
  }
  .mobile-section-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    border: none;
    border-radius: var(--r-sm);
    background: var(--card);
    color: var(--ink-soft);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 9px;
  }
  .mobile-section-link.active {
    background: var(--green-soft);
    color: var(--green-dark);
  }
  .mobile-section-link:active {
    background: var(--hover);
    color: var(--ink);
  }
  .mobile-section-link .warn-dot {
    margin-left: 0;
  }
  .mobile-app-list,
  .mobile-module-list,
  .mobile-menu-actions {
    display: grid;
    gap: 4px;
  }
  .mobile-app-list {
    max-height: 190px;
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-width: none;
  }
  .mobile-app-list::-webkit-scrollbar { display: none; }
  .mobile-menu-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mobile-app-item,
  .mobile-module-item,
  .mobile-menu-action {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 42px;
    border: none;
    border-radius: var(--r-sm);
    background: var(--card);
    color: var(--ink-soft);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 10px;
    text-align: left;
  }
  .mobile-module-item {
    cursor: default;
  }
  .mobile-menu-action {
    position: relative;
    min-height: 66px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    padding: 9px 6px;
  }
  .mobile-menu-action .tool-ic {
    color: var(--ink-soft);
  }
  .mobile-app-item.active,
  .mobile-module-item.active,
  .mobile-menu-action.active {
    background: var(--green-soft);
    color: var(--green-dark);
  }
  .mobile-app-item:active,
  .mobile-menu-action:active,
  .mobile-menu-close:active {
    background: var(--hover);
    color: var(--ink);
  }
  .mobile-app-item.active:active,
  .mobile-menu-action.active:active {
    background: var(--green-soft);
    color: var(--green-dark);
  }
  .mobile-app-item .badge,
  .mobile-menu-action .warn-dot {
    margin-left: auto;
  }
  .mobile-menu-action .warn-dot {
    margin-left: 0;
    position: absolute;
    top: 7px;
    right: 8px;
  }
  .mobile-last-poll {
    margin: 0;
    padding: 0;
    border-radius: var(--r-sm);
    background: transparent;
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.45;
    word-break: keep-all;
  }

  main { padding: 12px 12px calc(68px + env(safe-area-inset-bottom)); }
  .page-head { margin-bottom: 9px; }
  .page-head h2 { font-size: 23px; }
  .page-head .muted { display: none; }
  .summary-line { display: none; }
  #banner {
    margin-bottom: 14px;
    padding: 11px 13px;
  }
  .onboarding-layout { grid-template-columns: 1fr; }
  .onboarding-main,
  .onboarding-side { padding: 16px; }
  .onboarding-step {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .onboarding-step button { justify-self: start; }
  .form-grid.two-col { grid-template-columns: 1fr; }
  .form-grid .span2 { grid-column: span 1; }
  .user-edit-grid { grid-template-columns: 1fr; }
  .user-actions {
    align-items: stretch;
  }
  .user-actions input {
    width: 100%;
    flex: 1 1 160px;
  }
  .poll-run-row {
    grid-template-columns: 1fr;
  }
  .poll-run-counts {
    white-space: normal;
  }
  .toolbar-row {
    position: relative;
    flex-wrap: nowrap;
    align-items: stretch;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-right: -12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .toolbar-row::before {
    content: "筛选";
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    padding-right: 2px;
  }
  .toolbar-row::after {
    content: "";
    position: sticky;
    right: 0;
    flex: 0 0 28px;
    width: 28px;
    margin-left: -28px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, var(--paper));
  }
  .toolbar-row::-webkit-scrollbar { display: none; }
  .toolbar-row > * { flex-shrink: 0; }
  .more-filters,
  .list-toolbar {
    flex-wrap: nowrap;
    min-width: max-content;
  }
  .filter-select {
    min-height: 38px;
    max-width: 190px;
  }
  .positive-bulk-shell.collapsed,
  .positive-bulk-shell.expanded,
  .spam-bulk-shell.expanded {
    align-items: stretch;
  }
  .positive-toggle { min-height: 38px; }
  .positive-toggle-hint { display: none; }

  /* 主从分栏 → 列表/详情整屏切换（选中条目进详情，返回条回列表） */
  .split { flex-direction: column; }
  .list-pane { width: 100%; }
  .detail-pane { width: 100%; position: static; max-height: none; overflow: visible; }
  .split.show-detail .list-pane { display: none; }
  .split:not(.show-detail) .detail-pane { display: none; }
  .mobile-back { display: inline-flex; }
  .mini-list { gap: 9px; }
  .mini-item {
    min-height: 94px;
    padding: 12px 13px;
  }
  .mini-text {
    -webkit-line-clamp: 3;
    font-size: 14px;
  }
  .detail-stars { font-size: 14px; }
  .detail-card {
    padding: 16px;
    border-radius: var(--r-md);
  }
  .detail-card textarea {
    min-height: 150px;
    font-size: 15px;
  }
  .tr-toggle {
    align-items: flex-start;
    gap: 8px;
    flex-direction: column;
  }
  .draft-toggle {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-top: 2px;
    margin-bottom: 8px;
  }
  .draft-label.foreign-draft .draft-tools-desktop {
    display: none;
  }
  .draft-toggle .tr-segs {
    flex: 0 1 auto;
    max-width: 100%;
  }
  .draft-toggle .draft-tools-mobile {
    display: inline-flex;
    flex: 1 1 132px;
    margin-left: auto;
    justify-content: flex-end;
    gap: 8px;
  }
  .draft-toggle .tr-note {
    flex: 1 0 100%;
    line-height: 1.35;
  }
  .positive-bulk-shell.expanded .bulk-title,
  .spam-bulk-shell.expanded .bulk-title { width: 100%; }

  /* 工具设置/应用配置的顶部 tab 换行 */
  .settings-tabs { gap: 4px; }
  .stab, .astab { padding: 7px 12px; font-size: 13.5px; }
  .security-grid { grid-template-columns: 1fr; }
  .my-apps-bar { flex-wrap: wrap; }

  /* 详情操作按钮别挤破 */
  .detail-card .row { flex-wrap: wrap; }
  .detail-actions {
    position: sticky;
    bottom: 0;
    z-index: 25;
    align-items: center;
    gap: 8px;
    margin: 16px -16px -16px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--hairline);
    border-radius: 0 0 var(--r-md) var(--r-md);
    background: var(--card);
    box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.08);
  }
  .detail-actions .spacer { display: none; }
  .detail-actions > button,
  .secondary-menu-btn {
    min-height: 42px;
    padding: 9px 14px;
  }
  .detail-actions > button.primary {
    flex: 1 1 150px;
    min-width: 145px;
  }
  .secondary-actions { flex-shrink: 0; }
  .secondary-menu {
    position: fixed;
    right: 12px;
    bottom: calc(58px + env(safe-area-inset-bottom));
  }
}
