/* ==========================================================================
   si-world site — global styles
   No external fonts, no analytics, no dependencies.
   ========================================================================== */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e3e9f2;
  --line-strong: #cbd5e1;

  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-board: #f1f5fb;

  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-ink: #1e40af;
  --brand-soft: #eaf2fe;
  --brand-line: #bfdbfe;

  --green: #0e9f6e;
  --green-ink: #047857;
  --green-soft: #ecfdf5;
  --green-line: #a7f3d0;

  --amber: #b45309;
  --amber-soft: #fffbeb;
  --amber-line: #fde68a;

  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow: 0 22px 54px rgba(15, 23, 42, 0.11);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
}

p { margin: 0; }

a {
  color: var(--brand-ink);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

ul[role="list"] {
  margin: 0;
  padding: 0;
  list-style: none;
}

code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.08em 0.34em;
}

::selection {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

section[id] { scroll-margin-top: 88px; }

/* ==========================================================================
   Buttons, pills and links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}
.btn-primary:hover { background: var(--brand-dark); color: #fff; }

.btn-ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink-2);
}
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); }

.btn-sm {
  min-height: 38px;
  padding-inline: 15px;
  border-radius: 999px;
  font-size: 12.5px;
}

.btn-white {
  background: #fff;
  color: var(--brand-dark);
}
.btn-white:hover { background: #f1f5ff; color: var(--brand-dark); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 5px 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
}
.pill-blue { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand-ink); }
.pill-green { background: var(--green-soft); border-color: var(--green-line); color: var(--green-ink); text-transform: none; letter-spacing: 0; font-size: 11px; }
.pill-muted { background: var(--bg-soft); border-color: var(--line); color: var(--muted-2); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
  color: var(--brand-dark);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  display: block;
  width: 30px;
  height: 30px;
  flex: none;
}
.brand-mark svg { width: 100%; height: 100%; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13.5px;
}
.site-nav a { color: var(--ink-2); }
.site-nav a:hover { color: var(--brand-dark); text-decoration: none; }
.site-nav .nav-lang {
  color: var(--muted);
  font-size: 12.5px;
}
.site-nav .btn { color: #fff; }

.nav-divider {
  width: 1px;
  height: 20px;
  background: var(--line);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.18s ease, background-color 0.18s ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; }
.nav-toggle-bars::before { transform: translateY(-6px); }
.nav-toggle-bars::after { transform: translateY(4px); }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: rotate(-45deg) translateY(-1px); }

@media (max-width: 900px) {
  .js .header-inner { min-height: 64px; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav a {
    width: 100%;
    padding: 10px 2px;
    font-size: 15px;
  }
  .js .site-nav .btn { width: 100%; margin-top: 8px; }
  .js .nav-divider { display: none; }

  .no-js .header-inner { flex-wrap: wrap; padding: 12px 0; }
  .no-js .site-nav { flex-wrap: wrap; gap: 12px; font-size: 13px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 7.4vw, 92px) 0 clamp(46px, 6vw, 78px);
  background: linear-gradient(180deg, #f2f7ff 0%, #f8faff 58%, #ffffff 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(46px);
}
.hero::before {
  width: 420px;
  height: 420px;
  right: -80px;
  top: -160px;
  background: rgba(219, 234, 254, 0.8);
}
.hero::after {
  width: 320px;
  height: 320px;
  left: -120px;
  bottom: -140px;
  background: rgba(224, 242, 254, 0.75);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(36px, 5vw, 68px);
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(42px, 5.4vw, 64px);
  font-weight: 820;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

html[lang="zh-CN"] .hero-copy h1 {
  font-size: clamp(36px, 4.5vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.lead {
  max-width: 570px;
  font-size: clamp(16.5px, 1.45vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
}

.hero-note {
  max-width: 570px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.hero-note strong { color: var(--ink-2); }

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

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 26px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-list li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid var(--brand-line);
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

/* Dashboard preview ------------------------------------------------------- */

.hero-preview { position: relative; }

.preview-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.preview-chrome {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.window-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  flex: none;
}
.window-dot-red { background: #fca5a5; }
.window-dot-amber { background: #fcd34d; }
.window-dot-green { background: #6ee7b7; }

.preview-address {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 45%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 4px 14px;
  border-radius: 999px;
  background: #eef3fa;
  color: var(--muted-2);
  font: 9.5px/1.2 var(--font-mono);
}

.preview-body {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  min-height: 420px;
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 10px;
  border-right: 1px solid var(--line);
  background: #f8fafc;
  font-size: 9px;
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 750;
}

.mini-logo {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.preview-label {
  margin: 10px 0 3px;
  font-size: 6.5px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.preview-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 7px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.2;
}
.preview-nav.is-active {
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 650;
}

.preview-version {
  margin-top: auto;
  color: var(--muted-2);
  font: 7px/1.2 var(--font-mono);
}

.preview-main {
  position: relative;
  padding: 14px 14px 12px;
  background: var(--bg-board);
}

.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.preview-head strong { font-size: 11.5px; line-height: 1.2; }

.preview-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border: 1px solid var(--green-line);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-ink);
  font-size: 6.5px;
  font-weight: 650;
  white-space: nowrap;
}

.preview-sub {
  margin: 3px 0 10px;
  font-size: 7.5px;
  color: var(--muted);
}

.preview-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.preview-col { min-width: 0; }

.preview-col-head {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 5px;
  font-size: 7.5px;
  font-weight: 750;
  color: var(--ink-2);
  white-space: nowrap;
}
.preview-col-head .count {
  margin-left: auto;
  color: var(--muted-2);
  font-weight: 500;
}

.task-mini {
  margin-bottom: 5px;
  padding: 6px 6px 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.task-mini span {
  display: block;
  font-size: 7px;
  line-height: 1.25;
  color: var(--ink);
}
.task-mini small {
  display: block;
  margin-top: 2px;
  font-size: 6px;
  line-height: 1.2;
  color: var(--muted-2);
}
.task-mini-done { background: #f8fdfb; border-color: #d1fae5; }
.task-mini-done span { color: var(--green-ink); }

.tag {
  display: inline-block;
  margin-top: 4px;
  padding: 1.5px 4px;
  border-radius: 3px;
  font-style: normal;
  font-size: 5.5px;
  font-weight: 700;
  line-height: 1.2;
}
.tag-blue { background: var(--brand-soft); color: var(--brand-dark); }
.tag-amber { background: var(--amber-soft); color: var(--amber); }
.tag-green { background: var(--green-soft); color: var(--green-ink); }

.preview-ai {
  position: absolute;
  right: 12px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid var(--green-line);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-ink);
  font-size: 7px;
  font-weight: 650;
}

.preview-badge {
  position: absolute;
  left: -14px;
  bottom: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--green-ink);
  font-size: 10.5px;
  font-weight: 650;
}

.preview-caption {
  margin-top: 11px;
  text-align: center;
  font-size: 10px;
  color: var(--muted-2);
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}
.dot-muted { background: var(--muted-2); }
.dot-blue { background: var(--brand); }
.dot-amber { background: #f59e0b; }

/* ==========================================================================
   Compatibility strip
   ========================================================================== */

.compat {
  padding: 16px 0 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.compat-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: var(--ink-2);
  font-size: 12.5px;
}

.compat-label {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.compat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.compat-list span[aria-hidden] { color: var(--line-strong); }

.compat-note {
  margin-top: 7px;
  font-size: 10px;
  color: var(--muted-2);
}

/* ==========================================================================
   Sections and product cards
   ========================================================================== */

.section { padding: clamp(60px, 7.5vw, 100px) 0; }
.section-alt { background: var(--bg-soft); }

.section-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 44px); }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
.section-sub {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 0.88fr);
  gap: 22px;
  align-items: stretch;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.product-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 26px;
  padding: clamp(22px, 3vw, 32px);
}

.product-copy h3 {
  margin: 11px 0 10px;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 800;
}

.product-tagline {
  max-width: 460px;
  color: var(--ink-2);
  font-size: 13.5px;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin: 20px 0 4px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.feature-list li { position: relative; padding-left: 21px; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 14px;
  border: 1px solid var(--brand-line);
  border-radius: 50%;
  background: var(--brand-soft);
}
.feature-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 5px;
  height: 3px;
  border-left: 1.5px solid var(--brand-dark);
  border-bottom: 1.5px solid var(--brand-dark);
  transform: rotate(-45deg);
}

.price-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
}
.price-main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.price-label {
  align-self: center;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.price {
  font-size: 28px;
  font-weight: 820;
  letter-spacing: -0.035em;
  line-height: 1;
}
.price-meta { font-size: 10.5px; color: var(--muted); }

.fine-print {
  margin-top: 11px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted-2);
}
.fine-print a { text-decoration: underline; }

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.product-visual {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-board);
}

/* Mini task detail preview ------------------------------------------------- */

.task-preview {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.task-preview-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}
.task-preview-chrome .window-dot { width: 7px; height: 7px; }
.task-preview-tab {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eef3fa;
  color: var(--muted);
  font: 7px/1.2 var(--font-mono);
}

.task-preview-body {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 306px;
}

.task-list {
  padding: 10px 9px;
  border-right: 1px solid var(--line);
  background: #f8fafc;
}
.task-list .preview-label { margin-top: 0; }

.task-list-item {
  margin-top: 5px;
  padding: 6px 7px;
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 7.5px;
  line-height: 1.3;
}
.task-list-item small {
  display: block;
  margin-top: 1px;
  color: var(--muted-2);
  font-size: 6.2px;
}
.task-list-item.is-active {
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 650;
}
.task-list-item.is-active small { color: #3b82f6; }

.task-detail { padding: 11px 12px; min-width: 0; }

.task-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.task-detail-head strong { font-size: 10px; line-height: 1.3; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 6.2px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}
.chip-amber { background: var(--amber-soft); border-color: var(--amber-line); color: var(--amber); }
.chip-green { background: var(--green-soft); border-color: var(--green-line); color: var(--green-ink); }

.task-meta {
  margin-top: 4px;
  font-size: 6.8px;
  color: var(--muted-2);
}

.skeleton-lines { display: grid; gap: 4px; margin-top: 5px; }
.skeleton-lines span {
  display: block;
  height: 4px;
  border-radius: 3px;
  background: var(--line);
}
.skeleton-lines span:nth-child(2) { width: 88%; }
.skeleton-lines span:nth-child(3) { width: 72%; }

.ai-summary {
  margin-top: 10px;
  padding: 8px;
  border: 1px solid var(--green-line);
  border-radius: 8px;
  background: var(--green-soft);
}
.ai-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.ai-summary-head strong { font-size: 7.5px; color: var(--green-ink); }
.ai-summary .skeleton-lines span { background: #bbf7d0; }

.chat-bubbles {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 5px;
}
.bubble {
  max-width: 88%;
  padding: 5px 7px;
  border-radius: 7px;
  background: var(--bg-board);
  color: var(--ink-2);
  font-size: 6.5px;
  line-height: 1.35;
}
.bubble-user {
  align-self: flex-end;
  background: var(--brand);
  color: #fff;
}

/* Exploration card --------------------------------------------------------- */

.product-card-soon {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(22px, 3vw, 30px);
  background: var(--bg-soft);
}
.product-card-soon h3 {
  margin: 11px 0 10px;
  font-size: clamp(21px, 2.2vw, 25px);
  font-weight: 800;
}
.product-card-soon p {
  max-width: 320px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}
.product-card-soon .statement {
  margin-top: 24px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.product-card-soon .text-link { margin-top: auto; padding-top: 28px; }

.orbit {
  position: absolute;
  right: -34px;
  top: 34px;
  width: 150px;
  height: 150px;
  border: 1px solid #dbeafe;
  border-radius: 50%;
  pointer-events: none;
}
.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  border: 1px solid #dbeafe;
  border-radius: 50%;
}
.orbit::before { inset: 25px; }
.orbit::after { inset: 52px; background: var(--brand-soft); border-color: var(--brand-line); }

/* ==========================================================================
   Principles
   ========================================================================== */

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.principle {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.principle .icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.principle .icon svg { width: 20px; height: 20px; }
.principle h3 { margin-bottom: 6px; font-size: 15px; letter-spacing: -0.01em; }
.principle p { font-size: 12px; line-height: 1.6; color: var(--muted); }

/* ==========================================================================
   How it works
   ========================================================================== */

.how-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 34px;
}
.how-steps::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  border-top: 1px dashed var(--line-strong);
  z-index: 0;
}
.step { position: relative; z-index: 1; }
.step-num {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  margin-bottom: 14px;
  border: 1px solid var(--brand-line);
  border-radius: 50%;
  background: #fff;
  color: var(--brand-dark);
  font: 700 10.5px/1 var(--font-mono);
}
.step h3 { font-size: 16px; }
.step p { margin-top: 6px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }

.how-note {
  margin-top: 28px;
  font-size: 12px;
  color: var(--muted);
}

/* ==========================================================================
   About and CTA
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.about-grid h2 { font-size: clamp(28px, 3.2vw, 38px); }
.about-grid p { font-size: 14px; line-height: 1.7; color: var(--ink-2); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.chips li {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: 11.5px;
}

.cta-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #1e40af, #2563eb 56%, #0891b2);
  color: #fff;
}
.cta-panel::before,
.cta-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.cta-panel::before { width: 220px; height: 220px; right: -60px; top: -110px; }
.cta-panel::after { width: 160px; height: 160px; left: -50px; bottom: -100px; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); }
.cta-panel p { margin-top: 8px; color: #dbeafe; font-size: 12.5px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 54px 0 30px;
  background: #0f172a;
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.brand-footer { color: #fff; }
.brand-footer:hover { color: #fff; }

.footer-brand p {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.65;
}
.footer-brand > a {
  display: inline-block;
  margin-top: 10px;
  color: #60a5fa;
  font-size: 11.5px;
}
.footer-brand > a:hover { color: #93c5fd; }

.footer-col h2 {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  width: fit-content;
  margin-bottom: 9px;
  color: #cbd5e1;
  font-size: 12px;
}
.footer-col a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid #1e293b;
}
.footer-bottom p {
  margin-bottom: 5px;
  color: #64748b;
  font-size: 9.5px;
  line-height: 1.6;
}
.footer-bottom .copyright { margin-bottom: 8px; color: #94a3b8; font-size: 10.5px; }
.footer-bottom a { color: #94a3b8; text-decoration: underline; }
.footer-bottom a:hover { color: #e2e8f0; }

/* ==========================================================================
   Legal pages
   ========================================================================== */

.legal-page { padding: clamp(46px, 7vw, 78px) 0 clamp(54px, 8vw, 90px); }

.legal-container {
  width: min(100% - 40px, 820px);
  margin-inline: auto;
}

.legal-page h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 820; }
.legal-meta { margin: 10px 0 28px; color: var(--muted); font-size: 12px; }
.legal-page h2 { margin: 32px 0 10px; font-size: 20px; font-weight: 750; }
.legal-page h3 { margin: 24px 0 8px; font-size: 16px; }
.legal-page p,
.legal-page li { color: var(--ink-2); font-size: 13.5px; line-height: 1.75; }
.legal-page p + p { margin-top: 10px; }
.legal-page ul { margin: 8px 0 0; padding-left: 20px; }
.legal-page li + li { margin-top: 5px; }
.legal-page a { text-decoration: underline; }
.legal-page a:hover { color: var(--brand-dark); }

.legal-note {
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.legal-note p { font-size: 12.5px; }

.legal-page pre {
  overflow-x: auto;
  margin: 12px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--ink-2);
  font: 12px/1.65 var(--font-mono);
  white-space: pre-wrap;
}

.error-page { padding: clamp(70px, 12vw, 130px) 0; text-align: center; }
.error-code {
  font-size: clamp(72px, 12vw, 120px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--brand-soft);
}
.error-page h1 { margin: 14px 0 10px; font-size: clamp(26px, 3vw, 34px); }
.error-page p { margin: 0 auto 24px; max-width: 540px; color: var(--muted); font-size: 14px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-copy h1 { font-size: clamp(40px, 5vw, 54px); }
  .preview-body { min-height: 390px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card-soon { min-height: 260px; }
  .product-card-soon .orbit { right: 30px; top: 30px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; }
  .hero-preview { max-width: 680px; width: 100%; }
  .principles-grid { grid-template-columns: 1fr 1fr; }
  .how-steps { grid-template-columns: 1fr; gap: 22px; }
  .how-steps::before { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 22px; }
  .cta-panel { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 32px, var(--container)); }
  .product-card-main { grid-template-columns: 1fr; }
  .product-visual { padding: 10px; }
  .feature-list { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
  .preview-body { grid-template-columns: 78px minmax(0, 1fr); min-height: 360px; }
  .preview-sidebar { padding: 12px 8px; }
  .preview-board { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .task-mini { padding: 5px 5px 4px; }
  .task-mini span { font-size: 6.5px; }
  .task-mini small { font-size: 5.5px; }
  .preview-badge { left: 8px; bottom: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { margin-top: 28px; }
}

@media (max-width: 520px) {
  .hero { padding-top: 42px; }
  .hero-copy h1 { font-size: clamp(32px, 9vw, 42px); line-height: 1.06; }
  html[lang="zh-CN"] .hero-copy h1 { font-size: clamp(32px, 9.6vw, 38px); }
  .hero-actions .btn { width: 100%; }
  .preview-body { grid-template-columns: 1fr; min-height: 330px; }
  .preview-sidebar { display: none; }
  .preview-main { padding: 12px 10px; }
  .preview-board { gap: 4px; }
  .preview-col-head { font-size: 6.5px; }
  .preview-col-head .count { display: none; }
  .task-mini { padding: 4px; }
  .task-mini span { font-size: 6px; }
  .task-mini small { display: none; }
  .tag { font-size: 5px; }
  .preview-address { display: none; }
  .preview-badge { left: 6px; bottom: 26px; font-size: 9.5px; }
  .preview-caption { font-size: 9px; }
  .task-preview-body { grid-template-columns: 1fr; min-height: 0; }
  .task-list { display: none; }
  .task-detail { padding: 12px; }
  .price-main { width: 100%; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .product-actions .btn { width: 100%; }
}

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