:root {
  --canvas: #ffffff;
  --canvas-soft: #f5f5f7;
  --surface: #ffffff;
  --surface-raised: #fbfbfd;
  --ink: #1d1d1f;
  --ink-soft: #515154;
  --ink-muted: #77777c;
  --hairline: #e4e4e8;
  --hairline-soft: #f0f0f2;
  --accent: #ffc43d;
  --accent-strong: #e59a00;
  --blue: #0066cc;
  --green: #2f9f67;
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.08);
  --shadow-tight: 0 12px 30px rgba(0, 0, 0, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --content: 1180px;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body[data-lang="zh"] .lang-en,
body[data-lang="en"] .lang-zh {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

button,
input {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.page {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(228, 228, 232, 0.86);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(100% - 40px, var(--content));
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 700;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.brand span {
  font-size: 15px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1;
}

.site-nav a:hover,
.site-nav a.is-current {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--surface-raised);
}

.language-switch button,
.billing-switch button {
  min-width: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 8px 10px;
}

.language-switch button.is-active,
.billing-switch button.is-active {
  background: var(--ink);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle {
  flex-direction: column;
  gap: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-accent {
  background: var(--accent);
  color: #181818;
}

.button-secondary {
  border-color: var(--hairline);
  background: #fff;
  color: var(--ink);
}

.hero {
  width: min(100% - 40px, var(--content));
  margin: 0 auto;
  padding: 84px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 5.4vw, 70px);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: 0;
}

.h1-line {
  display: block;
}

.hero-copy p {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.45;
}

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

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  color: var(--ink-muted);
  font-size: 13px;
}

.hero-note > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-note > span::before {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.product-stage {
  position: relative;
  min-height: 520px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 70% 8%, rgba(255, 196, 61, 0.18), transparent 32%),
    linear-gradient(180deg, #f8f8fa 0%, #ffffff 100%);
  box-shadow: inset 0 0 0 1px var(--hairline-soft);
  padding: 22px;
  overflow: hidden;
}

.mac-window {
  position: relative;
  min-height: 382px;
  border: 1px solid #d8d8de;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.window-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid var(--hairline-soft);
  background: #fbfbfc;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e7e7ec;
}

.dot:nth-child(1) {
  background: #ff605c;
}

.dot:nth-child(2) {
  background: #ffbd44;
}

.dot:nth-child(3) {
  background: #00ca4e;
}

.window-body {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  min-height: 340px;
}

.mock-sidebar {
  border-right: 1px solid var(--hairline-soft);
  background: #f7f7f9;
  padding: 18px 14px;
}

.mock-sidebar strong {
  display: block;
  margin-bottom: 16px;
  font-size: 13px;
}

.mock-nav-line,
.mock-line,
.mock-card-line {
  height: 10px;
  border-radius: 999px;
  background: #dedee4;
}

.mock-nav-line {
  width: 78%;
  margin: 12px 0;
}

.mock-main {
  padding: 26px;
}

.mock-main h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.mock-lines {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.mock-line:nth-child(1) {
  width: 92%;
}

.mock-line:nth-child(2) {
  width: 68%;
}

.mock-line:nth-child(3) {
  width: 82%;
}

.mock-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--surface-raised);
  padding: 16px;
}

.wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 38px;
}

.wave i {
  width: 5px;
  height: var(--h);
  border-radius: 999px;
  background: var(--accent);
  animation: pulse 1.35s ease-in-out infinite;
  animation-delay: var(--d);
}

@keyframes pulse {
  0%,
  100% {
    transform: scaleY(0.64);
    opacity: 0.6;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.placeholder-tag {
  position: absolute;
  right: 34px;
  bottom: 92px;
  max-width: 260px;
  border: 1px dashed #c5c5cb;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink-muted);
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.45;
  backdrop-filter: blur(16px);
}

.speed-card {
  position: absolute;
  left: 34px;
  bottom: 34px;
  display: grid;
  gap: 6px;
  width: min(330px, calc(100% - 68px));
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow-tight);
}

.speed-card strong {
  font-size: 28px;
  line-height: 1;
}

.speed-card span {
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.4;
}

.section {
  padding: 86px 0;
}

.section.soft {
  background: var(--canvas-soft);
}

.section.dark {
  background: #101012;
  color: #fff;
}

.section-inner {
  width: min(100% - 40px, var(--content));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.48fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2,
.legal-hero h1,
.docs-title h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p,
.legal-hero p,
.docs-title p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

.dark .section-heading p {
  color: rgba(255, 255, 255, 0.68);
}

.feature-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  overflow: hidden;
  background: var(--hairline);
}

.feature-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) minmax(220px, 0.44fr);
  gap: 28px;
  align-items: center;
  min-height: 150px;
  background: #fff;
  padding: 30px;
}

.feature-row h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.15;
}

.feature-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.58;
}

.feature-token {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--ink-soft);
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 650;
}

.feature-token::before {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.workflow {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.ai-showcase {
  background:
    radial-gradient(circle at 82% 0%, rgba(255, 196, 61, 0.18), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f7fa 100%);
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ai-card {
  min-height: 276px;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  padding: 24px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.ai-card img {
  width: 62px;
  height: 62px;
  margin-bottom: 24px;
}

.ai-card h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.15;
}

.ai-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.ai-result-showcase {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 196, 61, 0.18), transparent 34%),
    radial-gradient(circle at 94% 10%, rgba(0, 102, 204, 0.12), transparent 34%),
    #101012;
  color: #fff;
}

.ai-result-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.72fr) minmax(620px, 1fr);
  gap: clamp(34px, 4.8vw, 68px);
  align-items: center;
}

.ai-result-copy .eyebrow {
  color: var(--accent);
}

.ai-result-copy h2 {
  max-width: 540px;
  margin: 0;
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 720;
  line-height: 1.08;
}

.ai-result-copy h2 .lang-zh .h1-line {
  white-space: nowrap;
}

.ai-result-copy p {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.72;
}

.ai-result-points {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.ai-result-points div {
  display: grid;
  gap: 5px;
  border-left: 3px solid rgba(255, 196, 61, 0.72);
  padding-left: 16px;
}

.ai-result-points strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
}

.ai-result-points span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.55;
}

.ai-window-stage {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 640px;
  isolation: isolate;
}

.ai-window-stage::before {
  position: absolute;
  inset: 10% 6% 8%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 52% 42%, rgba(255, 196, 61, 0.18), transparent 56%),
    radial-gradient(circle at 62% 58%, rgba(0, 102, 204, 0.2), transparent 62%);
  filter: blur(34px);
  content: "";
  z-index: -1;
}

.result-panel {
  position: relative;
  width: min(82%, 540px);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
  padding: 20px;
}

.result-panel-search {
  top: auto;
  right: auto;
  justify-self: end;
  z-index: 2;
}

.result-panel-screen {
  left: auto;
  bottom: auto;
  justify-self: start;
  width: min(76%, 500px);
  margin-top: -58px;
  background: rgba(247, 249, 252, 0.92);
  z-index: 1;
}

.result-chrome {
  display: grid;
  grid-template-columns: 10px 10px 10px 1fr;
  align-items: center;
  gap: 7px;
  height: 26px;
  margin-bottom: 14px;
}

.result-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e1e1e6;
}

.result-chrome span:nth-child(1) {
  background: #ff605c;
}

.result-chrome span:nth-child(2) {
  background: #ffbd44;
}

.result-chrome span:nth-child(3) {
  background: #00ca4e;
}

.result-chrome strong {
  justify-self: center;
  margin-left: -54px;
  font-size: 16px;
  line-height: 1;
}

.result-prompt {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
  padding: 0 4px 14px;
}

.result-prompt img {
  width: 34px;
  height: 34px;
}

.result-card {
  border: 1px solid rgba(29, 29, 31, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
}

.result-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--hairline-soft);
  padding: 16px 18px;
}

.result-card-head strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
}

.result-card-head p {
  margin: 5px 0 0;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
}

.result-card-head > span {
  flex: 0 0 auto;
  border: 1px solid rgba(0, 102, 204, 0.18);
  border-radius: 999px;
  background: rgba(0, 102, 204, 0.06);
  color: var(--blue);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 720;
  line-height: 1;
}

.result-card > p {
  margin: 0;
  color: #303035;
  font-size: 16px;
  line-height: 1.68;
  padding: 16px 18px 14px;
}

.result-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 18px 18px;
}

.result-source-row > span {
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.06);
  color: var(--ink-muted);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
}

.result-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.result-actions > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.25;
}

.result-actions button {
  min-width: 68px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: default;
  font-size: 13px;
  font-weight: 720;
  line-height: 1;
  padding: 10px 13px;
}

.result-actions button:last-child {
  border-color: transparent;
  background: var(--ink);
  color: #fff;
}

.workflow-suite-showcase {
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 196, 61, 0.16), transparent 32%),
    linear-gradient(180deg, #fbfbfc 0%, #ffffff 100%);
}

.suite-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.78fr) minmax(560px, 1fr);
  gap: clamp(38px, 5vw, 72px);
  align-items: center;
}

.suite-copy .eyebrow {
  color: var(--accent-strong);
}

.suite-copy h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 720;
  line-height: 1.07;
}

.suite-copy p {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.72;
}

.suite-points {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.suite-points div {
  display: grid;
  gap: 5px;
  border-left: 3px solid rgba(255, 196, 61, 0.84);
  padding-left: 16px;
}

.suite-points strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.suite-points span {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.55;
}

.suite-board {
  border: 1px solid var(--hairline);
  border-radius: 28px;
  background:
    radial-gradient(circle at 96% 4%, rgba(255, 196, 61, 0.18), transparent 32%),
    #fff;
  box-shadow: var(--shadow-tight);
  padding: clamp(18px, 3vw, 28px);
}

.suite-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.suite-board-header div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.suite-board-header strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
}

.suite-board-header > span {
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 680;
}

.suite-key {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 196, 61, 0.62);
  border-radius: 10px;
  background: rgba(255, 196, 61, 0.18);
  color: #8c5d00;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.suite-rule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.suite-rule-grid article {
  border: 1px solid var(--hairline-soft);
  border-radius: 16px;
  background: var(--surface-raised);
  padding: 15px;
}

.suite-rule-grid span,
.suite-example span {
  display: block;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.2;
}

.suite-rule-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.15;
}

.suite-rule-grid p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.suite-example {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 10px;
  margin-top: 12px;
}

.suite-example div {
  border: 1px solid var(--hairline-soft);
  border-radius: 16px;
  background: #fff;
  padding: 16px;
}

.suite-example div:last-child {
  background:
    linear-gradient(180deg, rgba(255, 196, 61, 0.14), rgba(255, 255, 255, 0)),
    #fff;
}

.suite-example p {
  margin: 8px 0 0;
  color: #303035;
  font-size: 14px;
  line-height: 1.58;
}

.suite-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.suite-chip-row > span {
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.06);
  color: var(--ink-muted);
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.style-showcase {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfbfc 58%, #ffffff 100%);
}

.style-showcase::after {
  position: absolute;
  left: 50%;
  bottom: 62px;
  width: min(92%, 1420px);
  height: 1px;
  background: var(--hairline);
  transform: translateX(-50%);
  content: "";
}

.style-grid {
  display: grid;
  grid-template-columns: minmax(460px, 0.95fr) minmax(360px, 0.72fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
}

.style-deck {
  position: relative;
  min-height: 540px;
  isolation: isolate;
}

.style-deck::before {
  position: absolute;
  inset: 10% 4% 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 52%, rgba(0, 0, 0, 0.12), transparent 62%),
    radial-gradient(circle at 46% 42%, rgba(255, 196, 61, 0.12), transparent 58%);
  filter: blur(36px);
  opacity: 0.62;
  content: "";
  z-index: -1;
}

.theme-card {
  position: absolute;
  width: min(72%, 430px);
  min-height: 300px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 28px 62px rgba(29, 29, 31, 0.12);
  transform-origin: center;
}

.theme-classic {
  left: 1%;
  top: 165px;
  opacity: 0.5;
  transform: rotate(-8deg);
}

.theme-focus {
  left: 22%;
  top: 18px;
  opacity: 0.66;
  transform: rotate(5deg);
}

.theme-warm {
  right: 1%;
  top: 176px;
  opacity: 0.58;
  transform: rotate(10deg);
}

.theme-graphite {
  left: 17%;
  top: 250px;
  z-index: 4;
  width: min(76%, 460px);
  transform: rotate(-2deg);
}

.theme-screen {
  display: grid;
  grid-template-columns: 0.72fr 1fr 0.78fr;
  gap: 12px;
  min-height: 202px;
  border-radius: 9px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  background: #f8f8f9;
  padding: 12px;
}

.theme-column {
  display: grid;
  align-content: start;
  gap: 13px;
  border-radius: 8px;
  background: #fff;
  padding: 18px 14px;
}

.theme-column-narrow {
  gap: 10px;
}

.theme-column-small {
  gap: 14px;
}

.theme-column span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.58;
}

.theme-column span:nth-child(1) {
  width: 58%;
}

.theme-column span:nth-child(2) {
  width: 86%;
}

.theme-column span:nth-child(3) {
  width: 72%;
}

.theme-column span:nth-child(4) {
  width: 80%;
}

.theme-column span:nth-child(5) {
  width: 66%;
}

.theme-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 2px 2px;
}

.theme-card-foot strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.theme-card-foot p {
  margin: 8px 0 0;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
}

.theme-badge {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 196, 61, 0.42);
  border-radius: 999px;
  color: #9b6b00;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.theme-classic .theme-screen,
.theme-classic .theme-column span {
  color: #9ca6ae;
}

.theme-focus {
  border-color: rgba(125, 151, 130, 0.22);
  background: #f8fbf8;
}

.theme-focus .theme-screen {
  background: #edf5ee;
}

.theme-focus .theme-column span {
  color: #7f9280;
}

.theme-warm {
  border-color: rgba(255, 196, 61, 0.28);
  background: #fffaf1;
}

.theme-warm .theme-screen {
  background: #fff3db;
}

.theme-warm .theme-column span {
  color: #c79a3d;
}

.theme-graphite {
  border-color: rgba(255, 255, 255, 0.08);
  background: #f7f7f8;
}

.theme-graphite .theme-screen {
  border-color: rgba(255, 255, 255, 0.04);
  background: #151a1d;
}

.theme-graphite .theme-column {
  background: #0f1417;
}

.theme-graphite .theme-column span {
  color: #84919a;
}

.style-copy {
  padding-bottom: 40px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--accent-strong);
  font-size: 16px;
  font-weight: 760;
}

.style-copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 720;
  line-height: 1.08;
}

.style-copy p {
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.72;
}

.style-note {
  margin-top: 32px;
  border-left: 3px solid rgba(255, 196, 61, 0.62);
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.7;
  padding-left: 20px;
}

.workflow-card,
.price-card,
.trust-card {
  border: 1px solid var(--hairline);
  border-radius: 22px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.workflow-card {
  min-height: 260px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #101012;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.workflow-card h3,
.price-card h3,
.trust-card h3 {
  margin: 22px 0 10px;
  font-size: 24px;
  line-height: 1.18;
}

.workflow-card p,
.price-card p,
.trust-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.58;
}

.app-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.app-tile {
  min-height: 94px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 650;
}

.app-logo-wrap {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.app-logo-wrap img {
  width: 27px;
  height: 27px;
}

.pricing-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.billing-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: #fff;
}

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

.price-card.featured {
  border-color: rgba(255, 196, 61, 0.48);
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 196, 61, 0.17), transparent 35%),
    #fff;
  box-shadow: var(--shadow-tight);
}

.price {
  margin: 24px 0 14px;
  font-size: 42px;
  font-weight: 740;
  line-height: 1;
}

.price small {
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 500;
}

.price-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.price-list li {
  display: flex;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.price-list li::before {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.footer {
  border-top: 1px solid var(--hairline);
  background: var(--canvas-soft);
}

.footer-inner {
  width: min(100% - 40px, var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) 1fr;
  gap: 48px;
  padding: 42px 0;
}

.footer p {
  margin: 12px 0 0;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  justify-content: end;
  align-content: start;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 13px;
}

.docs-layout {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr) 238px;
  gap: 54px;
  width: min(100% - 32px, 1560px);
  margin: 0 auto;
}

.docs-sidebar,
.docs-toc {
  position: sticky;
  top: 80px;
  align-self: start;
  max-height: calc(100vh - 96px);
  overflow: auto;
}

.docs-sidebar {
  border-right: 1px solid var(--hairline);
  padding-right: 18px;
}

.docs-search {
  position: relative;
  margin-bottom: 24px;
}

.docs-search input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--surface-raised);
  color: var(--ink);
  outline: none;
  padding: 0 14px;
}

.doc-group {
  margin: 24px 0;
}

.doc-group-title {
  margin: 0 0 8px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
}

.doc-link,
.toc-link {
  display: block;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.35;
}

.doc-link {
  padding: 9px 10px;
}

.doc-link.is-active,
.doc-link:hover {
  background: #e5e5e8;
  color: var(--ink);
}

.docs-main {
  min-width: 0;
  padding: 62px 0 96px;
}

.docs-title {
  margin-bottom: 54px;
}

.docs-title p {
  max-width: 760px;
  margin-top: 18px;
}

.doc-article {
  max-width: 870px;
  font-size: 18px;
  line-height: 1.78;
}

.doc-article h2 {
  margin: 64px 0 14px;
  font-size: 34px;
  line-height: 1.15;
}

.doc-article h3 {
  margin: 34px 0 12px;
  font-size: 23px;
  line-height: 1.24;
}

.doc-article p {
  margin: 14px 0;
  color: #38383d;
}

.doc-article ol,
.doc-article ul {
  padding-left: 24px;
  color: #38383d;
}

.doc-article li {
  margin: 8px 0;
}

.doc-article .inline-link {
  color: var(--blue);
  overflow-wrap: anywhere;
}

.doc-article .inline-link:hover {
  text-decoration: underline;
}

.doc-callout {
  margin: 28px 0;
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  background: var(--surface-raised);
  padding: 18px 20px;
}

.doc-callout strong {
  color: var(--ink);
  font-weight: 780;
}

.doc-callout-strong {
  border-left-color: var(--blue);
  background:
    linear-gradient(90deg, rgba(0, 102, 204, 0.08), rgba(255, 255, 255, 0) 58%),
    var(--surface-raised);
}

.doc-placeholder {
  margin: 28px 0 42px;
  border: 1px dashed #c9c9ce;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(29, 29, 31, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(29, 29, 31, 0.04) 1px, transparent 1px),
    #fbfbfd;
  background-size: 28px 28px;
  min-height: 210px;
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  text-align: center;
  padding: 24px;
}

.doc-image {
  margin: 24px 0 38px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-tight);
  overflow: hidden;
}

.doc-image img {
  width: 100%;
  height: auto;
  background: #fff;
}

.doc-image img[src*="volcengine-doubao-legacy-model"] {
  width: min(100%, 620px);
  margin: 0 auto;
}

.doc-image figcaption {
  border-top: 1px solid var(--hairline-soft);
  background: var(--surface-raised);
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  padding: 12px 16px;
}

.docs-toc {
  border-left: 1px solid var(--hairline);
  padding-left: 18px;
}

.docs-toc strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink-muted);
  font-size: 13px;
}

.toc-link {
  padding: 6px 0 6px 12px;
  border-left: 2px solid transparent;
}

.toc-link.is-active,
.toc-link:hover {
  border-left-color: var(--ink);
  color: var(--ink);
}

.doc-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 870px;
  margin-top: 70px;
}

.doc-pager a {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 18px;
}

.doc-pager a:last-child {
  text-align: right;
}

.doc-pager span {
  display: block;
  color: var(--ink-muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.legal-hero {
  width: min(100% - 40px, 920px);
  margin: 0 auto;
  padding: 74px 0 34px;
}

.legal-hero p {
  margin-top: 18px;
}

.legal-content {
  width: min(100% - 40px, 920px);
  margin: 0 auto;
  padding: 0 0 96px;
}

.legal-card {
  border: 1px solid var(--hairline);
  border-radius: 24px;
  background: #fff;
  padding: clamp(24px, 5vw, 52px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.legal-card h2 {
  margin: 42px 0 12px;
  font-size: 25px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: #3f3f45;
  font-size: 16px;
  line-height: 1.72;
}

.legal-card ul {
  padding-left: 22px;
}

.legal-note {
  margin-top: 24px;
  border: 1px solid rgba(255, 196, 61, 0.34);
  border-radius: 16px;
  background: rgba(255, 196, 61, 0.08);
  padding: 16px 18px;
  color: #5b4300;
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 1060px) {
  .hero-grid,
  .section-heading,
  .ai-result-layout,
  .suite-layout,
  .style-grid,
  .feature-row,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .feature-token {
    justify-self: start;
  }

  .workflow,
  .ai-grid,
  .suite-rule-grid,
  .price-grid,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .app-wall {
    grid-template-columns: repeat(3, 1fr);
  }

  .style-copy {
    padding-bottom: 0;
  }

  .ai-window-stage {
    min-height: 610px;
  }

  .docs-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 34px;
  }

  .docs-toc {
    display: none;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    width: min(100% - 24px, var(--content));
    height: 58px;
  }

  .site-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 66px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--hairline);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-tight);
    padding: 10px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-actions .button {
    display: none;
  }

  .hero {
    width: min(100% - 28px, var(--content));
    padding-top: 56px;
  }

  .product-stage {
    min-height: 460px;
    padding: 14px;
    border-radius: 26px;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .mock-sidebar {
    display: none;
  }

  .placeholder-tag {
    position: static;
    margin-top: 14px;
    max-width: none;
  }

  .speed-card {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .section {
    padding: 62px 0;
  }

  .ai-grid,
  .suite-rule-grid,
  .suite-example {
    grid-template-columns: 1fr;
  }

  .ai-window-stage {
    min-height: auto;
    display: grid;
    gap: 18px;
  }

  .result-panel,
  .result-panel-search,
  .result-panel-screen {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .result-panel-screen {
    margin-top: 0;
  }

  .result-panel {
    border-radius: 22px;
    padding: 16px;
  }

  .result-card > p {
    font-size: 16px;
  }

  .result-actions {
    grid-template-columns: 1fr 1fr;
  }

  .result-actions > span {
    grid-column: 1 / -1;
  }

  .style-deck {
    min-height: 430px;
  }

  .theme-card {
    width: min(78%, 360px);
    min-height: 248px;
    padding: 12px;
  }

  .theme-screen {
    min-height: 162px;
    gap: 9px;
    padding: 10px;
  }

  .theme-column {
    gap: 10px;
    padding: 14px 11px;
  }

  .theme-card-foot strong {
    font-size: 18px;
  }

  .theme-classic {
    left: 6px;
    top: 112px;
  }

  .theme-focus {
    left: 16%;
    top: 0;
  }

  .theme-warm {
    right: 8px;
    top: 128px;
  }

  .theme-graphite {
    left: 10%;
    top: 210px;
    width: min(86%, 390px);
  }

  .section-inner,
  .footer-inner,
  .legal-hero,
  .legal-content {
    width: min(100% - 28px, var(--content));
  }

  .feature-row {
    padding: 22px;
  }

  .app-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow,
  .ai-grid,
  .price-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .pricing-top {
    align-items: start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: start;
  }

  .docs-layout {
    display: block;
    width: min(100% - 24px, 100%);
  }

  .docs-sidebar {
    position: static;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
    padding: 18px 0;
  }

  .docs-main {
    padding-top: 42px;
  }

  .doc-article {
    font-size: 16px;
  }

  .doc-pager {
    grid-template-columns: 1fr;
  }

  .doc-pager a:last-child {
    text-align: left;
  }
}

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