:root {
  color-scheme: light;
  --ink: #17181c;
  --muted: #676c75;
  --soft: #f7f4ed;
  --paper: #fffefa;
  --line: rgba(23, 24, 28, 0.12);
  --accent: #1f7a5d;
  --accent-strong: #135f46;
  --blue: #255a8d;
  --coral: #d95f43;
  --gold: #ba852d;
  --shadow: 0 24px 80px rgba(25, 31, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 244, 237, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.nav-links,
.hero-actions,
.proof-row,
.download-band,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 44px;
  height: 44px;
  min-width: 44px;
  max-width: 44px;
  min-height: 44px;
  max-height: 44px;
  inline-size: 44px;
  block-size: 44px;
  flex: 0 0 44px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #0d1713;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(20, 25, 31, 0.16);
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.header-actions {
  gap: 10px;
}

.lang-toggle,
.small-cta,
.primary-cta,
.secondary-cta {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 0 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.lang-toggle {
  background: var(--paper);
  color: var(--ink);
}

.small-cta {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: white;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  padding: clamp(42px, 6vw, 92px) clamp(18px, 6vw, 90px) 42px;
  overflow: hidden;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-heading p,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.22;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 28px;
  color: #3f444c;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
}

.primary-cta {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  box-shadow: 0 14px 28px rgba(23, 24, 28, 0.18);
}

.secondary-cta {
  background: var(--paper);
  color: var(--ink);
}

.apple-mark {
  width: 17px;
  height: 20px;
  background: currentColor;
  clip-path: polygon(58% 0, 75% 1%, 68% 17%, 56% 21%, 51% 13%, 41% 19%, 30% 18%, 20% 25%, 12% 43%, 18% 68%, 31% 92%, 45% 92%, 53% 85%, 62% 92%, 77% 91%, 90% 67%, 81% 62%, 76% 50%, 82% 36%, 94% 28%, 80% 17%, 68% 17%);
}

.proof-row {
  flex-wrap: wrap;
  gap: 10px;
}

.proof-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 254, 250, 0.7);
  color: #4c5159;
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 660px;
  display: grid;
  place-items: center;
}

.screen-card {
  position: absolute;
  border: 1px solid rgba(23, 24, 28, 0.1);
  background: rgba(255, 254, 250, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.tv-card {
  top: 24px;
  right: 0;
  width: min(52vw, 430px);
  display: grid;
  grid-template-columns: 42% 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: 8px;
}

.tv-card img {
  width: 100%;
}

.tv-card strong {
  display: block;
  font-size: 20px;
}

.tv-card span {
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 800;
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: min(88vw, 338px);
  padding: 10px;
  border: 9px solid #16181c;
  border-radius: 42px;
  background: #16181c;
  box-shadow: 0 40px 90px rgba(16, 18, 22, 0.28);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  z-index: 3;
  width: 92px;
  height: 24px;
  border-radius: 0 0 16px 16px;
  background: #16181c;
  transform: translateX(-50%);
}

.screenshot-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #0d0f13;
}

.screenshot-carousel img {
  width: 100%;
  height: auto;
  aspect-ratio: 1284 / 2778;
  object-fit: cover;
  border-radius: 30px;
  opacity: 1;
  transition: opacity 220ms ease;
}

.screenshot-carousel img.is-switching {
  opacity: 0;
}

.carousel-control {
  position: absolute;
  top: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(13, 15, 19, 0.58);
  color: white;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 180ms ease, background 180ms ease;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  background: rgba(13, 15, 19, 0.78);
}

.screenshot-carousel:hover .carousel-control,
.screenshot-carousel:focus-within .carousel-control {
  opacity: 1;
}

.carousel-control.previous {
  left: 10px;
}

.carousel-control.next {
  right: 10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding-top: 11px;
}

.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
}

.carousel-dots button[aria-current="true"] {
  width: 18px;
  background: white;
}

.marquee {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding: 18px clamp(18px, 6vw, 90px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ece7db;
  scrollbar-width: none;
}

.marquee::-webkit-scrollbar {
  display: none;
}

.marquee span,
.brand-panel span {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid rgba(23, 24, 28, 0.13);
  border-radius: 999px;
  background: rgba(255, 254, 250, 0.78);
  color: #3e444c;
  font-size: 14px;
  font-weight: 800;
}

.section {
  padding: clamp(62px, 8vw, 112px) clamp(18px, 6vw, 90px);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--coral);
}

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

.feature-grid article,
.steps article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(23, 24, 28, 0.06);
}

.feature-grid article {
  padding: 24px;
}

.feature-grid p,
.steps p,
.split-section p,
.faq-list p,
.download-band p,
.site-footer p {
  color: var(--muted);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #e6efe8;
  color: var(--accent-strong);
  font-weight: 900;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  background: #fdfbf5;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.note {
  padding-left: 16px;
  border-left: 4px solid var(--gold);
}

.brand-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5efe3;
}

.workflow {
  background: #f3f7f3;
}

.steps article {
  padding: 22px;
}

.steps strong {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--blue);
  font-size: 13px;
}

.faq-section {
  background: #f7f4ed;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

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

.faq-list summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
}

.download-band {
  justify-content: space-between;
  gap: 24px;
  margin: 0 clamp(18px, 6vw, 90px) clamp(50px, 6vw, 78px);
  padding: clamp(24px, 4vw, 38px);
  border-radius: 8px;
  background: #17201d;
  color: white;
  box-shadow: var(--shadow);
}

.download-band img {
  flex: 0 0 auto;
  border-radius: 18px;
}

.download-band h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 3vw, 42px);
}

.download-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.download-band .primary-cta {
  background: white;
  color: var(--ink);
  border-color: white;
  box-shadow: none;
}

.site-footer {
  justify-content: space-between;
  gap: 22px;
  padding: 26px clamp(18px, 6vw, 90px);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 590px;
  }

  .tv-card {
    right: auto;
    left: 0;
    width: min(92vw, 430px);
  }

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

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
  }

  .brand span {
    display: none;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .small-cta,
  .lang-toggle {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 56px);
  }

  .hero {
    padding-top: 34px;
  }

  .hero-visual {
    min-height: 535px;
  }

  .phone-frame {
    width: min(94vw, 316px);
    border-width: 7px;
    border-radius: 34px;
  }

  .tv-card {
    top: 0;
    padding: 14px;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .download-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
