:root {
  color-scheme: light;
  --bg: #f7faf9;
  --surface: #ffffff;
  --surface-soft: #edf6f3;
  --ink: #172322;
  --muted: #586765;
  --line: #d8e3df;
  --line-strong: #b6cbc5;
  --teal: #0f766e;
  --teal-dark: #0b5f59;
  --coral: #d85f45;
  --blue: #326d9b;
  --gold: #b7791f;
  --shadow: 0 18px 48px rgb(16 36 34 / 12%);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  margin: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(36px, 5.2vw, 64px);
  letter-spacing: 0;
  line-height: 1.04;
  margin-bottom: 18px;
  max-width: 840px;
}

h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: 0;
  line-height: 1.12;
  margin-bottom: 14px;
  max-width: 820px;
}

h3 {
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 10px;
}

p,
li {
  color: var(--muted);
  line-height: 1.58;
}

p {
  margin-bottom: 0;
}

.skip-link {
  background: var(--ink);
  color: #ffffff;
  left: 16px;
  padding: 10px 12px;
  position: fixed;
  top: 12px;
  transform: translateY(-150%);
  z-index: 20;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  align-items: center;
  background: rgb(247 250 249 / 94%);
  border-bottom: 1px solid rgb(216 227 223 / 86%);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 74px;
  padding: 14px clamp(18px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.brand-logo {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 40px;
  object-fit: contain;
  width: 40px;
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.main-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.main-nav a {
  border-radius: 6px;
  color: #31413f;
  font-size: 14px;
  font-weight: 700;
  min-height: 38px;
  padding: 10px 12px;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: #e8f1ee;
  color: var(--teal-dark);
}

.main-nav .nav-action {
  background: var(--teal);
  color: #ffffff;
}

.main-nav .nav-action:hover,
.main-nav .nav-action[aria-current="page"] {
  background: var(--teal-dark);
  color: #ffffff;
}

.persona-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 10px 0;
}

.persona-marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000000 8%, #000000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000000 8%, #000000 92%, transparent 100%);
  overflow: hidden;
}

.persona-track {
  align-items: center;
  animation: persona-scroll 28s linear infinite;
  display: flex;
  width: max-content;
}

.persona-set {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-around;
  padding: 0 18px;
  width: max(100vw, 1320px);
}

.persona-strip:hover .persona-track,
.persona-strip:focus-within .persona-track {
  animation-play-state: paused;
}

.persona-pill {
  align-items: center;
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgb(16 36 34 / 5%);
  color: #263835;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 800;
  gap: 9px;
  min-height: 48px;
  min-width: 170px;
  padding: 5px 16px 5px 6px;
}

.persona-pill:hover,
.persona-pill:focus-visible {
  border-color: var(--teal);
  color: var(--teal-dark);
  outline: none;
}

.persona-avatar {
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgb(16 36 34 / 16%);
  display: block;
  flex: 0 0 auto;
  height: 38px;
  object-fit: cover;
  width: 38px;
}

@keyframes persona-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.home-hero {
  align-items: center;
  display: grid;
  min-height: min(760px, 92vh);
  overflow: hidden;
  padding: 84px clamp(18px, 5vw, 64px) 72px;
  position: relative;
}

.home-hero-image,
.home-hero-overlay {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.home-hero-image {
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.home-hero-overlay {
  background:
    linear-gradient(90deg, rgb(247 250 249 / 98%) 0%, rgb(247 250 249 / 91%) 36%, rgb(247 250 249 / 44%) 72%, rgb(247 250 249 / 8%) 100%),
    linear-gradient(0deg, rgb(10 42 39 / 14%), rgb(10 42 39 / 2%));
  z-index: 1;
}

.home-hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.page-hero {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  margin: 0 auto;
  max-width: var(--max);
  padding: 72px clamp(18px, 5vw, 64px) 40px;
}

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

.eyebrow,
.section-kicker {
  color: var(--coral);
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.lead,
.section-lead {
  color: #40504e;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  max-width: 780px;
}

.action-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 750;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
}

.button.primary {
  background: var(--teal);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: #223331;
}

.button.secondary:hover {
  color: var(--teal-dark);
}

.text-link {
  color: var(--teal-dark);
  display: inline-block;
  font-weight: 800;
  margin-top: 14px;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.assistant-card {
  align-self: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: 18px;
}

.assistant-top {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
}

.assistant-mark {
  align-items: center;
  background: var(--teal);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 850;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.assistant-top strong,
.assistant-top span {
  display: block;
}

.assistant-top span {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

.chat-line {
  display: grid;
  gap: 9px;
  grid-template-columns: 28px minmax(0, 1fr);
}

.chat-line strong {
  align-items: center;
  background: var(--surface-soft);
  border-radius: 6px;
  color: var(--teal-dark);
  display: inline-flex;
  font-size: 12px;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: #f5f8f7;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  padding: 6px 8px;
}

.use-case-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: 22px;
}

.use-case-panel h2,
.use-case-panel h3 {
  margin-bottom: 4px;
}

.use-case-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 22px;
}

.question-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.question-list li {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #31413f;
  font-weight: 700;
  padding: 14px 16px;
}

.dialogue {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: 22px;
}

.dialogue-line {
  display: grid;
  gap: 8px;
  grid-template-columns: 86px minmax(0, 1fr);
}

.dialogue-line strong {
  color: var(--teal-dark);
}

.concept-links {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.concept-links a {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal-dark);
  display: block;
  font-weight: 800;
  padding: 14px 16px;
}

.concept-links span {
  color: var(--muted);
  display: block;
  font-weight: 500;
  margin-top: 4px;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(56px, 7vw, 92px) clamp(18px, 5vw, 64px);
}

.section.alt {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  max-width: none;
}

.section.alt > * {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--max);
}

.grid {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.contrast-card,
.plan,
.faq details,
.step,
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgb(16 36 34 / 5%);
  padding: 22px;
}

.card h3,
.contrast-card h3,
.plan h3,
.step h3 {
  color: var(--ink);
}

.highlight,
.featured {
  border-color: var(--teal);
  box-shadow: inset 4px 0 0 var(--teal), 0 10px 30px rgb(15 118 110 / 10%);
}

.split {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 22px;
}

.step-number,
.step span {
  align-items: center;
  background: var(--teal);
  border-radius: 6px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  margin-bottom: 10px;
  width: 34px;
}

.pricing-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.plan {
  display: grid;
  gap: 14px;
}

.plan-price {
  color: var(--ink);
  display: block;
  font-size: 42px;
  font-weight: 820;
  line-height: 1;
}

.plan-price span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.plan ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
}

td {
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-page {
  max-width: 1220px;
}

.faq-overview {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}

.faq-index {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgb(16 36 34 / 5%);
  display: grid;
  gap: 14px;
  padding: 18px;
  position: sticky;
  top: 96px;
}

.faq-index strong {
  color: var(--ink);
  font-size: 15px;
}

.faq-index nav {
  display: grid;
  gap: 6px;
}

.faq-index a {
  border-radius: 6px;
  color: var(--teal-dark);
  font-weight: 760;
  padding: 9px 10px;
}

.faq-index a:hover {
  background: var(--surface-soft);
}

.faq-stack {
  display: grid;
  gap: 42px;
}

.faq-group {
  display: grid;
  gap: 12px;
  scroll-margin-top: 100px;
}

.faq-group h2 {
  margin-bottom: 6px;
}

.faq details {
  padding: 18px 20px;
}

.faq summary {
  align-items: center;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  gap: 16px;
  font-weight: 760;
  justify-content: space-between;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  align-items: center;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--teal-dark);
  content: "+";
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  transition: transform 160ms ease;
  width: 30px;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin-top: 10px;
}

.final-cta {
  align-items: center;
  background: #fff7f1;
  border-top: 1px solid #f0d9cb;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin-top: 24px;
  padding: 44px clamp(18px, 5vw, 64px);
}

.final-cta h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.legal-main {
  background: var(--bg);
}

.legal-document {
  margin: 0 auto;
  max-width: 900px;
  padding: 72px clamp(18px, 5vw, 64px) 88px;
}

.legal-header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  padding-bottom: 28px;
}

.legal-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  margin-bottom: 12px;
  max-width: 900px;
}

.legal-meta {
  color: var(--muted);
  font-weight: 700;
  margin-top: 8px;
}

.legal-intro {
  color: #40504e;
  font-size: 18px;
  line-height: 1.65;
  margin-top: 18px;
}

.legal-toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 28px 0 34px;
  padding: 20px 24px;
}

.legal-toc strong {
  display: block;
  margin-bottom: 10px;
}

.legal-toc ol {
  columns: 2;
  margin: 0;
  padding-left: 22px;
}

.legal-toc li {
  break-inside: avoid;
  margin-bottom: 8px;
}

.legal-toc a,
.legal-contact a {
  color: var(--teal-dark);
  font-weight: 750;
}

.legal-toc a:hover,
.legal-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 28px;
}

.legal-section h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.2;
  margin-bottom: 14px;
}

.legal-section p,
.legal-section li {
  font-size: 16px;
  line-height: 1.7;
}

.legal-section p + p {
  margin-top: 12px;
}

.legal-section ul,
.legal-section ol {
  margin: 12px 0 0;
  padding-left: 24px;
}

.legal-contact {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 18px;
  padding: 16px 18px;
}

.site-footer {
  align-items: start;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 34px clamp(18px, 5vw, 64px);
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
}

.site-footer a {
  color: var(--teal-dark);
  font-weight: 700;
}

.footer-company-line {
  white-space: nowrap;
}

.footer-company-line a {
  color: inherit;
  font-weight: 400;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

html[lang="zh-Hans"] h1 {
  font-size: clamp(34px, 4.7vw, 58px);
  line-height: 1.08;
  max-width: 800px;
}

html[lang="zh-Hans"] h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.16;
}

html[lang="zh-Hans"] .lead,
html[lang="zh-Hans"] .section-lead {
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.62;
}

@media (max-width: 960px) {
  .site-header {
    align-items: start;
    display: grid;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .home-hero {
    min-height: 780px;
    padding-top: 54px;
  }

  .home-hero-overlay {
    background:
      linear-gradient(180deg, rgb(247 250 249 / 98%) 0%, rgb(247 250 249 / 92%) 48%, rgb(247 250 249 / 42%) 100%),
      linear-gradient(0deg, rgb(10 42 39 / 14%), rgb(10 42 39 / 2%));
  }

  .page-hero,
  .faq-overview,
  .grid.two,
  .grid.three,
  .grid.four,
  .split,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .dialogue-line {
    grid-template-columns: 1fr;
  }

  .faq-index {
    position: static;
  }

  .final-cta,
  .site-footer {
    display: grid;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .legal-document {
    padding-top: 44px;
  }

  .legal-toc ol {
    columns: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .persona-marquee {
    -webkit-mask-image: none;
    mask-image: none;
    overflow-x: auto;
  }

  .persona-track {
    animation: none;
    padding: 0 16px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 104px;
    padding: 12px 16px;
  }

  .main-nav a {
    font-size: 13px;
    min-height: 34px;
    padding: 8px 9px;
  }

  .home-hero {
    min-height: 86svh;
    padding: 42px 16px 30px;
  }

  .home-hero-content {
    max-width: none;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  html[lang="zh-Hans"] h1 {
    font-size: 34px;
  }

  html[lang="zh-Hans"] h2 {
    font-size: 27px;
  }

  .lead,
  .section-lead {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .persona-pill {
    font-size: 13px;
    min-width: 144px;
  }

  .persona-avatar {
    height: 34px;
    width: 34px;
  }

  .page-hero {
    padding: 44px 16px 28px;
  }
}
