:root {
  --ink: #11222a;
  --muted: #5e6c72;
  --paper: #ffffff;
  --soft: #f2f6f5;
  --teal: #087c79;
  --teal-dark: #07535b;
  --navy: #142744;
  --coral: #ff7357;
  --gold: #f2b544;
  --line: #d9e2e1;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.zh {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

a { color: var(--teal-dark); }

a:hover { color: var(--teal); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: #fff;
  color: #000;
}

.skip-link:focus { top: 12px; }

.site-header {
  border-bottom: 1px solid rgba(217, 226, 225, .8);
  background: rgba(255, 255, 255, .96);
}

.nav {
  max-width: var(--max);
  min-height: 72px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 15px;
}

.nav-links a { color: var(--ink); text-decoration: none; }
.nav-links a:hover { color: var(--teal); }

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background-color: #062832;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.hero-en { background-image: url('/images/hero-en.webp'); }
.hero-zh { background-image: url('/images/hero-zh.webp'); }

.hero-inner {
  max-width: var(--max);
  min-height: 680px;
  margin: 0 auto;
  padding: 84px 24px 72px;
  display: flex;
  align-items: center;
}

.hero-copy { width: min(610px, 58%); }

.eyebrow {
  margin: 0 0 14px;
  color: #77dfd0;
  font-size: 15px;
  font-weight: 750;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 590px;
  margin: 0;
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 560px;
  margin: 24px 0 0;
  color: #d7e8e9;
  font-size: 21px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--gold);
  color: #1e2a2e;
  font-weight: 750;
  text-decoration: none;
}

.button:hover { background: #ffc453; color: #152126; }

.button-secondary {
  border-color: rgba(255, 255, 255, .45);
  background: rgba(0, 0, 0, .18);
  color: #fff;
}

.button-secondary:hover { background: rgba(0, 0, 0, .34); color: #fff; }

.hero-facts {
  margin: 18px 0 0;
  color: #b9d0d2;
  font-size: 14px;
}

.section { padding: 86px 24px; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: #fff; }
.section-inner { max-width: var(--max); margin: 0 auto; }

.section-heading { max-width: 760px; margin-bottom: 38px; }

.section-heading h2,
.article h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: 0;
}

.section-heading p,
.article-lede {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.section-dark .section-heading p { color: #c4d1dd; }

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

.feature-item {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.feature-item p { margin: 0; color: var(--muted); }
.feature-mark { color: var(--coral); font-weight: 800; }

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

.screenshot {
  margin: 0;
  overflow: hidden;
  border: 1px solid #17384a;
  border-radius: 8px;
  background: #0a2633;
}

.screenshot img { width: 100%; height: auto; }

.screenshot figcaption {
  padding: 14px 16px;
  color: #dbe8ee;
  font-size: 15px;
}

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

.step-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
}

.workflow h3 { margin: 0 0 8px; font-size: 20px; }
.workflow p { margin: 0; color: var(--muted); }

.media-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 54px;
}

.media-copy h2 { margin: 0; font-size: 40px; line-height: 1.2; }
.media-copy p { color: var(--muted); }

.video-transcript {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.video-transcript summary {
  padding: 16px 0;
  cursor: pointer;
  font-weight: 750;
}

.video-transcript ol {
  margin: 0 0 20px;
  padding-left: 24px;
  color: var(--muted);
}

.video-transcript li + li { margin-top: 8px; }

.video-frame {
  margin: 0;
  padding: 14px;
  border-radius: 8px;
  background: #0a0c0d;
}

.video-frame video {
  width: min(100%, 420px);
  max-height: 700px;
  margin: 0 auto;
  border-radius: 4px;
  background: #000;
}

.platform-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.platform-table th,
.platform-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.platform-table th { width: 170px; }
.status-live { color: #08765e; font-weight: 750; }
.status-info { color: #8a5f06; font-weight: 750; }

.faq { max-width: 880px; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  padding: 20px 4px;
  cursor: pointer;
  font-size: 19px;
  font-weight: 750;
}

.faq details p,
.faq details ul { margin: 0 4px 22px; color: var(--muted); }

.cta-band { background: var(--teal-dark); color: #fff; }

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-row h2 { margin: 0; font-size: 36px; line-height: 1.2; }
.cta-row p { margin: 10px 0 0; color: #cce5e5; }

.site-footer {
  padding: 42px 24px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--muted); }

.article-shell { padding: 70px 24px 96px; }

.article {
  max-width: 820px;
  margin: 0 auto;
}

.article h2 { margin: 50px 0 12px; font-size: 30px; line-height: 1.3; }
.article h3 { margin: 30px 0 8px; font-size: 21px; }
.article p, .article li { color: #394b52; }
.article img { margin: 30px auto; border-radius: 8px; }
.article .callout {
  margin: 30px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--gold);
  background: var(--soft);
}

.breadcrumbs { margin-bottom: 22px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: var(--muted); }

@media (max-width: 900px) {
  .nav { align-items: flex-start; }
  .nav-links { flex-wrap: wrap; gap: 12px 18px; }
  .hero { min-height: 650px; background-position: 45% center; }
  .hero-inner { min-height: 650px; align-items: flex-start; padding-top: 76px; }
  .hero-copy { width: 66%; }
  .hero h1 { font-size: 46px; }
  .feature-grid, .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow { grid-template-columns: 1fr; gap: 24px; }
  .media-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { min-height: 64px; padding: 10px 16px; }
  .brand span { display: none; }
  .brand img { width: 40px; height: 40px; }
  .nav-links { gap: 10px 14px; font-size: 14px; }
  .nav-links .optional { display: none; }
  .hero { min-height: 650px; background-position: 53% center; }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(3, 27, 33, .76);
  }
  .hero-inner { min-height: 650px; padding: 54px 18px 44px; align-items: flex-start; }
  .hero-inner { position: relative; z-index: 1; }
  .hero-copy { width: 100%; }
  .hero h1 { max-width: 470px; font-size: 39px; }
  .hero-lede { max-width: 460px; font-size: 18px; }
  .section { padding: 64px 18px; }
  .section-heading h2, .article h1 { font-size: 34px; }
  .section-heading p, .article-lede { font-size: 17px; }
  .feature-grid, .screenshot-grid { grid-template-columns: 1fr; }
  .screenshot-grid .screenshot:nth-child(n+3) { display: none; }
  .media-copy h2 { font-size: 32px; }
  .platform-table th, .platform-table td { display: block; width: 100%; padding: 12px 14px; }
  .platform-table th { padding-bottom: 2px; border-bottom: 0; }
  .cta-row { align-items: flex-start; flex-direction: column; }
  .cta-row h2 { font-size: 31px; }
  .footer-inner { flex-direction: column; }
  .article-shell { padding: 52px 18px 72px; }
  .article h2 { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
