:root {
  --bg: #fbfaf7;
  --surface: #f3f7f3;
  --surface-strong: #111111;
  --text: #171717;
  --text-soft: #5f6660;
  --border: #dfe5dd;
  --accent: #f2b84b;
  --accent-soft: #a7d8c8;
  --coral: #f0a38f;
  --focus: #1f7a63;
  --shadow: 0 24px 90px rgba(17, 24, 19, 0.12);
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --max-width: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111412;
    --surface: #18211d;
    --surface-strong: #f7f5ef;
    --text: #fbfaf6;
    --text-soft: #bdc8c0;
    --border: #314037;
    --accent: #f2c25e;
    --accent-soft: #254d41;
    --coral: #dd8b78;
    --focus: #91d7c4;
    --shadow: 0 20px 80px rgba(0, 0, 0, 0.28);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.lang-switching .lang-fade {
  opacity: 0;
  transform: translateY(4px);
}

.lang-fade {
  transition: opacity 160ms var(--ease), transform 160ms var(--ease);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-shell {
  width: min(100% - 2.5rem, var(--max-width));
  margin: 0 auto;
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 1.1rem 0 0;
}

.topbar-row,
.footer-row,
.trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
}

.wordmark img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));
}

.language-switch {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.lang-btn {
  min-width: 44px;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 650;
}

.lang-btn.is-active {
  background: var(--surface-strong);
  color: var(--bg);
}

.hero {
  min-height: 100svh;
  height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 11svh, 6rem) 0 clamp(2rem, 6svh, 3.5rem);
}

.hero-art {
  position: absolute;
  right: max(-4rem, -3vw);
  bottom: max(-4rem, -5vw);
  width: clamp(300px, 47vw, 640px);
  opacity: 0.12;
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero-art img {
  width: 100%;
  display: block;
  animation: canvas-settle 760ms var(--ease) both;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: min(860px, 100%);
  animation: hero-rise 560ms var(--ease) both;
}

.eyebrow,
.doc-topline {
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-zh {
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
}

.hero h1 {
  margin: -0.15rem 0 0;
  font-size: clamp(3.6rem, 11vw, 8.6rem);
  line-height: 0.9;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-title {
  max-width: min(100%, 760px);
  margin: 1.35rem 0 0;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 780;
  line-height: 1.04;
  text-wrap: balance;
}

.hero-body {
  max-width: 58ch;
  margin: 1.25rem 0 0;
  color: var(--text-soft);
  font-size: clamp(1.03rem, 1.8vw, 1.25rem);
}

.hero-actions {
  margin-top: 1.6rem;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--surface-strong);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--bg);
  text-decoration: none;
  font-weight: 750;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.primary-cta:hover,
.secondary-cta:hover {
  transform: translateY(-2px);
}

.primary-cta.is-disabled,
.secondary-cta.is-disabled {
  cursor: default;
  opacity: 0.72;
}

.primary-cta.is-disabled:hover,
.secondary-cta.is-disabled:hover {
  transform: none;
}

.hero-note {
  margin: 1rem 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.section {
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.split,
.canvas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 7vw, 5rem);
  align-items: start;
}

.split > *,
.canvas-grid > * {
  flex: 1 1 320px;
  min-width: 0;
}

.section-copy h2,
.final-inner h2,
.doc h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-copy p,
.final-inner p {
  margin: 1.15rem 0 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: feature;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.feature-item {
  counter-increment: feature;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--border);
}

.feature-item::before {
  content: counter(feature, decimal-leading-zero);
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.feature-item h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.feature-item p {
  margin: 0.55rem 0 0;
  color: var(--text-soft);
}

.section-canvas {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.canvas-grid {
  align-items: center;
}

.canvas-visual {
  min-height: clamp(390px, 52vw, 540px);
  display: flex;
  place-items: center;
  align-items: center;
  justify-content: center;
}

.showcase-stage {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 0.82;
  border: 2px solid var(--surface-strong);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(32, 29, 25, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(32, 29, 25, 0.07) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: canvas-settle 680ms var(--ease) both;
}

.showcase-stage img {
  position: absolute;
  width: 58%;
  left: 24%;
  top: 25%;
  transform: rotate(7deg);
  filter: drop-shadow(0 14px 0 rgba(0, 0, 0, 0.08));
}

.photo-plane,
.sticker-dot {
  position: absolute;
  display: block;
}

.photo-plane {
  border: 2px solid var(--surface-strong);
  background: var(--accent-soft);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.08);
}

.plane-a {
  width: 42%;
  aspect-ratio: 1.2;
  left: 8%;
  top: 12%;
  transform: rotate(-10deg);
}

.plane-b {
  width: 45%;
  aspect-ratio: 0.78;
  right: 7%;
  bottom: 8%;
  background: var(--coral);
  transform: rotate(11deg);
}

.sticker-dot {
  width: 58px;
  height: 58px;
  border: 2px solid var(--surface-strong);
  border-radius: 50%;
  background: var(--accent);
}

.dot-a {
  left: 14%;
  bottom: 19%;
}

.dot-b {
  right: 17%;
  top: 12%;
  width: 42px;
  height: 42px;
  background: var(--surface);
}

.canvas-steps {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.canvas-steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.8rem;
  align-items: baseline;
}

.canvas-steps span {
  color: var(--accent);
  font-weight: 850;
}

.canvas-steps p {
  margin: 0;
  color: var(--text);
}

.trust-row {
  align-items: flex-start;
  border-block: 1px solid var(--border);
  padding: clamp(1.8rem, 4vw, 2.8rem) 0;
}

.trust-row h2 {
  max-width: min(100%, 640px);
}

.trust-row p {
  max-width: 62ch;
}

.company-info {
  padding: 0 0 clamp(2.5rem, 7vw, 5rem);
}

.company-info-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0;
  color: var(--text-soft);
}

.company-info-inner > * {
  flex: 1 1 260px;
  min-width: 0;
}

.company-info h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
}

.company-info ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.company-info li {
  overflow-wrap: anywhere;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  text-underline-offset: 0.22rem;
}

.final-cta {
  padding: clamp(4rem, 10vw, 8rem) 0;
  text-align: center;
}

.final-inner {
  max-width: 830px;
  margin: 0 auto;
}

.secondary-cta {
  margin-top: 1.5rem;
}

.footer {
  padding: 1.5rem 0 2.4rem;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.footer p {
  margin: 0;
}

.footer-meta {
  width: 100%;
  font-size: 0.88rem;
}

.doc {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 8rem);
}

.doc .site-shell {
  max-width: 860px;
}

.doc-meta {
  margin: 1rem 0 0;
  color: var(--text-soft);
}

.legal-sections {
  margin-top: 2.8rem;
}

.legal-sections section {
  padding: 1.6rem 0;
  border-top: 1px solid var(--border);
}

.legal-sections h2 {
  margin: 0;
  font-size: 1.2rem;
}

.legal-sections p,
.legal-sections li {
  color: var(--text-soft);
}

.legal-sections p {
  margin: 0.75rem 0 0;
}

.legal-sections ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.notice {
  margin: 2rem 0 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
}

.hidden {
  display: none !important;
}

@media (max-width: 820px) {
  .site-shell {
    width: min(100% - 1.35rem, var(--max-width));
  }

  .hero {
    align-items: center;
    min-height: 100svh;
    height: 100svh;
    padding: clamp(5.5rem, 13svh, 7rem) 0;
  }

  .hero-art {
    width: 92vw;
    right: -22vw;
    bottom: -8vw;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .split,
  .canvas-grid {
    gap: clamp(2rem, 10vw, 3rem);
  }

  .canvas-visual {
    min-height: 390px;
    order: 2;
  }

  .showcase-stage {
    width: min(92%, 340px);
  }

  .trust-row {
    display: flex;
  }

  .footer-row {
    display: flex;
  }
}

@keyframes hero-rise {
  from {
    opacity: 1;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes canvas-settle {
  from {
    opacity: 0.92;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  body.lang-switching .lang-fade {
    opacity: 1;
    transform: none;
  }
}
