:root {
  --bg: #f4efe7;
  --panel: rgba(255, 252, 247, 0.88);
  --panel-strong: #fffdf9;
  --text: #211d18;
  --muted: #72695f;
  --border: rgba(77, 67, 55, 0.12);
  --accent: #274f77;
  --accent-soft: rgba(39, 79, 119, 0.12);
  --warm: #ecd2a4;
  --shadow: 0 24px 80px rgba(31, 25, 16, 0.12);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --font-zh-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 15% 18%, rgba(236, 210, 164, 0.45), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(190, 214, 239, 0.65), transparent 34%),
    linear-gradient(180deg, #f8f4ee 0%, #f2ece3 48%, #f7f2eb 100%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1320px, calc(100vw - 48px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  backdrop-filter: blur(18px);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}

.topnav a {
  text-decoration: none;
  color: var(--muted);
}

.topnav .nav-cta {
  color: var(--text);
  font-weight: 700;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(80, 69, 55, 0.1);
  box-shadow: 0 12px 28px rgba(44, 34, 19, 0.08);
}

.lang-switch {
  min-width: 68px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.lang-switch:hover {
  color: var(--text);
}

.lang-switch.is-active {
  background: linear-gradient(135deg, #21486d, #345f89);
  color: #fff;
  box-shadow: 0 12px 24px rgba(33, 72, 109, 0.22);
}

.lang-switch:focus-visible {
  outline: 2px solid rgba(39, 79, 119, 0.35);
  outline-offset: 2px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 36px 0 60px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: rgba(39, 79, 119, 0.45);
}

.hero h1,
.section-copy h2,
.value-strip h2,
.showcase-copy h2,
.footer-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(3.4rem, 6vw, 5.9rem);
  max-width: 11ch;
}

.hero-lead,
.hero-sub,
.section-copy p,
.value-strip p,
.showcase-copy p,
.limit-card p,
.workflow-card p,
.coverage-card p,
.footer-cta p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lead {
  margin: 28px 0 18px;
  font-size: 1.18rem;
  max-width: 45ch;
}

.hero-sub {
  max-width: 44ch;
  font-size: 1rem;
}

.hero-actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #21486d, #345f89);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 20px 50px rgba(33, 72, 109, 0.25);
}

.secondary-link {
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-chips span {
  display: inline-flex;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(80, 69, 55, 0.08);
  font-size: 0.92rem;
  color: var(--text);
  box-shadow: 0 12px 30px rgba(44, 34, 19, 0.06);
}

.hero-stage {
  position: relative;
  min-height: 720px;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
}

.glow-one {
  top: 34px;
  right: 24px;
  width: 320px;
  height: 320px;
  background: rgba(196, 219, 239, 0.95);
}

.glow-two {
  left: 40px;
  bottom: 70px;
  width: 220px;
  height: 220px;
  background: rgba(240, 220, 184, 0.72);
}

.device-card {
  position: absolute;
  overflow: hidden;
  padding: 16px;
  border-radius: var(--radius-xl);
  background: rgba(255, 252, 247, 0.78);
  border: 1px solid rgba(80, 69, 55, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card-primary {
  width: 66%;
  left: 0;
  top: 28px;
}

.card-secondary {
  width: 62%;
  right: 0;
  top: 210px;
}

.card-tertiary {
  width: 56%;
  left: 60px;
  bottom: 28px;
}

.card-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.device-card img,
.showcase-visual img {
  width: 100%;
  display: block;
  border-radius: 24px;
  border: 1px solid rgba(80, 69, 55, 0.1);
}

.floating {
  animation: float 7.5s ease-in-out infinite;
}

.floating-delayed {
  animation: float 9.4s ease-in-out infinite 0.8s;
}

.floating-slow {
  animation: float 11.2s ease-in-out infinite 1.4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.value-strip,
.workflow-card,
.walkthrough-card,
.coverage-card,
.limit-card,
.evidence-card,
.verifier-step,
.footer-cta,
.showcase-visual,
.showcase-copy {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 28px;
  border-radius: 32px;
  margin: 0 0 96px;
}

.value-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.value-strip h2 {
  font-size: 1.7rem;
  margin-bottom: 14px;
}

.story-section,
.coverage-section,
.limits-section {
  padding: 52px 0 80px;
}

.section-copy {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-copy h2,
.showcase-copy h2,
.footer-cta h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  margin-bottom: 18px;
}

.workflow-grid,
.walkthrough-grid,
.coverage-grid,
.limits-grid,
.walkthrough-chapters {
  display: grid;
  gap: 22px;
}

.workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.walkthrough-grid {
  grid-template-columns: 1fr;
}

.coverage-grid,
.limits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workflow-card,
.walkthrough-card,
.coverage-card,
.limit-card,
.walkthrough-chapter {
  border-radius: var(--radius-lg);
  padding: 28px;
}

.walkthrough-card h3,
.walkthrough-chapter h3,
.evidence-card h3,
.verifier-step h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.walkthrough-case-pill {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(80, 69, 55, 0.08);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--accent);
}

.walkthrough-visual {
  margin-top: 18px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(80, 69, 55, 0.1);
  background: rgba(255, 255, 255, 0.56);
  min-height: 220px;
}

.walkthrough-visual img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.walkthrough-video {
  width: 100%;
  height: min(720px, 62vw);
  object-fit: cover;
  display: block;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.08), rgba(13, 17, 23, 0.24));
  position: relative;
  z-index: 0;
}

.walkthrough-feature {
  margin-top: 28px;
}

.walkthrough-main {
  min-height: 0;
  padding: 18px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.72), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(241, 233, 223, 0.78));
  box-shadow: 0 34px 88px rgba(42, 32, 21, 0.2);
}

.walkthrough-video-main {
  aspect-ratio: 16 / 10;
}

.walkthrough-device-shell {
  position: relative;
  padding: 14px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(252, 248, 241, 0.98), rgba(235, 227, 216, 0.96));
  border: 1px solid rgba(72, 61, 49, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(62, 51, 42, 0.06),
    0 18px 46px rgba(39, 31, 22, 0.18);
}

.walkthrough-device-shell::before {
  content: "";
  position: absolute;
  inset: 10px 18px auto;
  height: 28%;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.walkthrough-device-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  padding: 2px 10px 12px;
}

.walkthrough-device-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.walkthrough-device-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.walkthrough-device-dot.dot-warm {
  background: #f6b46f;
}

.walkthrough-device-dot.dot-neutral {
  background: #ead6b8;
}

.walkthrough-device-dot.dot-cool {
  background: #92b2cf;
}

.walkthrough-device-title {
  margin-left: auto;
  color: rgba(53, 44, 35, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.walkthrough-device-screen {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(64, 53, 41, 0.14);
  background: linear-gradient(180deg, rgba(18, 22, 28, 0.84), rgba(10, 12, 15, 0.92));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 10px 18px rgba(255, 255, 255, 0.04);
}

.walkthrough-device-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 20%),
    radial-gradient(circle at 14% 10%, rgba(255, 255, 255, 0.18), transparent 26%);
  pointer-events: none;
  z-index: 1;
}

.walkthrough-chapters {
  margin-top: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.walkthrough-chapter {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(80, 69, 55, 0.08);
  box-shadow: 0 18px 44px rgba(47, 35, 20, 0.08);
}

.walkthrough-input img,
.walkthrough-input video {
  object-position: center 18%;
}

.walkthrough-guided img,
.walkthrough-guided video {
  object-position: center 18%;
}

.walkthrough-branch img,
.walkthrough-branch video {
  object-position: center 20%;
}

.walkthrough-provenance img,
.walkthrough-provenance video {
  object-position: center 52%;
}

.walkthrough-handoff img,
.walkthrough-handoff video {
  object-position: center 22%;
}

.walkthrough-boundary img,
.walkthrough-boundary video {
  object-position: center 76%;
}

.step-index {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.workflow-card h3,
.coverage-card h3,
.limit-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.showcase-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: 34px 0 86px;
}

.showcase-visual,
.showcase-copy {
  padding: 26px;
  border-radius: 34px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-list li {
  display: grid;
  gap: 6px;
  padding: 18px 18px 18px 20px;
  border-left: 3px solid rgba(39, 79, 119, 0.18);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 18px;
}

.feature-list strong {
  font-size: 1.02rem;
}

.feature-list span {
  color: var(--muted);
}

.coverage-card p {
  margin: 0;
  font-size: 1.02rem;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.evidence-card {
  border-radius: var(--radius-lg);
  padding: 28px;
}

.metric-stack {
  display: grid;
  gap: 12px;
  margin: 20px 0 18px;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(80, 69, 55, 0.08);
}

.metric-row span,
.snapshot-tile span,
.evidence-list span {
  color: var(--muted);
}

.metric-row strong {
  color: var(--text);
  font-size: 1rem;
}

.evidence-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 18px;
  display: grid;
  gap: 10px;
}

.evidence-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(80, 69, 55, 0.08);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2b7c54;
  box-shadow: 0 0 0 6px rgba(43, 124, 84, 0.12);
  flex: 0 0 auto;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 18px;
}

.snapshot-tile {
  display: grid;
  gap: 6px;
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(80, 69, 55, 0.08);
}

.snapshot-tile strong {
  font-size: 1.35rem;
}

.verifier-section {
  padding: 12px 0 76px;
}

.verifier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.verifier-step {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: 34px;
  border-radius: 34px;
  margin-top: 28px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal-delay {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html:lang(zh-CN) body {
  font-family: var(--font-zh-sans);
}

html:lang(zh-CN) .brand,
html:lang(zh-CN) .topnav,
html:lang(zh-CN) .lang-switch,
html:lang(zh-CN) .primary-button,
html:lang(zh-CN) .secondary-link,
html:lang(zh-CN) .hero-chips span,
html:lang(zh-CN) .card-label,
html:lang(zh-CN) .value-kicker,
html:lang(zh-CN) .step-index,
html:lang(zh-CN) .coverage-card p {
  font-family: var(--font-zh-sans);
}

html:lang(zh-CN) .eyebrow {
  font-family: var(--font-zh-sans);
  font-size: 0.86rem;
  letter-spacing: 0.09em;
}

html:lang(zh-CN) .hero h1,
html:lang(zh-CN) .section-copy h2,
html:lang(zh-CN) .value-strip h2,
html:lang(zh-CN) .showcase-copy h2,
html:lang(zh-CN) .footer-cta h2,
html:lang(zh-CN) .workflow-card h3,
html:lang(zh-CN) .walkthrough-card h3,
html:lang(zh-CN) .walkthrough-chapter h3,
html:lang(zh-CN) .evidence-card h3,
html:lang(zh-CN) .verifier-step h3,
html:lang(zh-CN) .coverage-card h3,
html:lang(zh-CN) .limit-card h3,
html:lang(zh-CN) .feature-list strong {
  font-family: var(--font-zh-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
}

html:lang(zh-CN) .walkthrough-device-title {
  font-family: var(--font-zh-sans);
  letter-spacing: 0.02em;
}

html:lang(zh-CN) .hero h1 {
  line-height: 1.08;
  font-size: clamp(3.1rem, 5.6vw, 5.2rem);
  max-width: 9ch;
}

html:lang(zh-CN) .section-copy h2,
html:lang(zh-CN) .showcase-copy h2,
html:lang(zh-CN) .footer-cta h2 {
  line-height: 1.12;
  letter-spacing: -0.025em;
}

html:lang(zh-CN) .hero-lead,
html:lang(zh-CN) .hero-sub,
html:lang(zh-CN) .section-copy p,
html:lang(zh-CN) .value-strip p,
html:lang(zh-CN) .showcase-copy p,
html:lang(zh-CN) .limit-card p,
html:lang(zh-CN) .workflow-card p,
html:lang(zh-CN) .walkthrough-card p,
html:lang(zh-CN) .walkthrough-chapter p,
html:lang(zh-CN) .evidence-card p,
html:lang(zh-CN) .verifier-step p,
html:lang(zh-CN) .coverage-card p,
html:lang(zh-CN) .footer-cta p,
html:lang(zh-CN) .feature-list span {
  font-family: var(--font-zh-sans);
  line-height: 1.78;
  letter-spacing: 0.01em;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .floating,
  .floating-delayed,
  .floating-slow {
    animation: none;
  }

  .reveal,
  .reveal-delay,
  .reveal-delay-2 {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1080px) {
  .hero,
  .showcase-section,
  .footer-cta,
  .workflow-grid,
  .walkthrough-grid,
  .walkthrough-chapters,
  .evidence-grid,
  .coverage-grid,
  .limits-grid,
  .value-strip,
  .verifier-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 880px;
  }

  .card-primary {
    width: 78%;
  }

  .card-secondary {
    width: 72%;
  }

  .card-tertiary {
    width: 68%;
    left: 20px;
  }

  .footer-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100vw - 28px, 100%);
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .topbar-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .topnav {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .language-switch {
    align-self: flex-start;
  }

  .hero {
    min-height: unset;
    padding-top: 18px;
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero-stage {
    min-height: 760px;
  }

  .card-primary,
  .card-secondary,
  .card-tertiary {
    position: absolute;
    width: 100%;
    left: 0;
    right: auto;
  }

  .card-primary {
    top: 0;
  }

  .card-secondary {
    top: 238px;
  }

  .card-tertiary {
    top: 486px;
    bottom: auto;
  }

    .value-strip,
    .workflow-card,
    .walkthrough-card,
    .walkthrough-chapter,
    .coverage-card,
    .limit-card,
    .evidence-card,
  .verifier-step,
  .showcase-visual,
  .showcase-copy,
  .footer-cta {
    padding: 22px;
  }

  .section-copy h2,
  .showcase-copy h2,
  .footer-cta h2 {
    font-size: 2.3rem;
  }
}
