:root {
  --bg: #fff8e7;
  --bg-soft: #fdf3dd;
  --surface: #fffdf6;
  --ink: #17150f;
  --ink-2: #3b382b;
  --muted: #6b6553;
  --line: #eadfc3;
  --line-strong: #d9cba6;
  --sun: #ffd876;
  --sun-deep: #e8b23a;
  --header-bg: rgba(255, 248, 231, 0.82);
  --hero-glow: rgba(255, 216, 118, 0.36);
  --stage-shadow: 0 34px 60px -34px rgba(87, 61, 0, 0.45);
  --card-shadow: 0 18px 40px -32px rgba(87, 61, 0, 0.45);
  --band-bg: #17150f;
  --band-ink: #fff8e7;
  --band-muted: rgba(255, 248, 231, 0.66);
  --band-line: rgba(255, 248, 231, 0.16);
  --coats-bg: #fcf1da;
  --focus: #8a5b00;
  --radius: 22px;
  --max-width: 1160px;
  --font-sans: "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI",
    system-ui, -apple-system, sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", "SF Pro Text", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #14130d;
  --bg-soft: #1a1811;
  --surface: #1e1b13;
  --ink: #faf3e0;
  --ink-2: #d8d0ba;
  --muted: #ada48c;
  --line: #302c21;
  --line-strong: #48412f;
  --sun: #ffd876;
  --sun-deep: #f0bd52;
  --header-bg: rgba(20, 19, 13, 0.8);
  --hero-glow: rgba(255, 216, 118, 0.12);
  --stage-shadow: 0 36px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 216, 118, 0.14);
  --card-shadow: 0 20px 46px -34px rgba(0, 0, 0, 0.9);
  --band-bg: #ffd876;
  --band-ink: #17150f;
  --band-muted: rgba(23, 21, 15, 0.72);
  --band-line: rgba(23, 21, 15, 0.18);
  --coats-bg: #19170f;
  --focus: #ffd876;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

::selection {
  background: var(--sun);
  color: #17150f;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

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

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  border-radius: 9px;
  box-shadow: 0 1px 0 rgba(23, 21, 15, 0.16);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav a,
.footer-nav a {
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 550;
  text-decoration: none;
  transition: color 0.16s ease;
}

.nav a {
  position: relative;
  padding: 6px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--sun-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

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

.nav a:hover::after {
  transform: scaleX(1);
}

.controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.icon-btn,
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.icon-btn {
  width: 36px;
  padding: 0;
}

.lang-btn {
  min-width: 46px;
  padding: 0 11px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.icon-btn:hover,
.lang-btn:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.icon {
  width: 18px;
  height: 18px;
}

.icon-sun {
  display: none;
}

html[data-theme="dark"] .icon-moon {
  display: none;
}

html[data-theme="dark"] .icon-sun {
  display: block;
}

/* Hero */

.hero {
  position: relative;
  padding: clamp(40px, 6vw, 76px) 0 clamp(64px, 7vw, 96px);
  background: radial-gradient(820px 460px at 76% 6%, var(--hero-glow), transparent 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.1em;
}

html[data-lang="en"] .eyebrow {
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

html[data-lang="en"] .hero .eyebrow {
  text-transform: none;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--sun-deep);
}

.hero-title {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 6.2vw, 4.7rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

html[data-lang="zh"] .hero-title {
  letter-spacing: -0.012em;
  line-height: 1.12;
}

.hero-lead {
  max-width: 33em;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.78;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 26px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 4px 0 rgba(23, 21, 15, 0.22);
}

html[data-theme="dark"] .btn-primary {
  box-shadow: 0 4px 0 rgba(255, 216, 118, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 rgba(23, 21, 15, 0.22);
}

html[data-theme="dark"] .btn-primary:hover {
  box-shadow: 0 7px 0 rgba(255, 216, 118, 0.28);
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(23, 21, 15, 0.22);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.16s ease;
}

.btn-primary:hover .btn-icon {
  transform: translateY(2px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.16s ease;
}

.link-arrow span[aria-hidden="true"] {
  transition: transform 0.16s ease;
}

.link-arrow:hover {
  border-bottom-color: var(--ink);
}

.link-arrow:hover span[aria-hidden="true"] {
  transform: translateX(3px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 550;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-meta svg {
  width: 15px;
  height: 15px;
  color: var(--sun-deep);
}

/* Hero stage */

.stage-wrap {
  justify-self: end;
  width: 100%;
  max-width: 456px;
  padding-top: 18px;
}

.stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: clamp(24px, 4vw, 38px);
  background:
    radial-gradient(110% 90% at 50% -10%, #ffe7a8 0%, rgba(255, 231, 168, 0) 62%),
    linear-gradient(165deg, #ffd876 0%, #f8ca5f 100%);
  box-shadow: var(--stage-shadow);
  isolation: isolate;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(rgba(23, 21, 15, 0.2) 1px, transparent 1px);
  background-size: 19px 19px;
  opacity: 0.32;
  -webkit-mask-image: radial-gradient(72% 72% at 46% 26%, #000 0%, transparent 78%);
  mask-image: radial-gradient(72% 72% at 46% 26%, #000 0%, transparent 78%);
}

.stage-cat {
  position: absolute;
  left: 50%;
  bottom: 2.5%;
  z-index: 2;
  width: 91%;
  height: auto;
  transform: translateX(-50%);
  transform-origin: 50% 92%;
  filter: drop-shadow(0 20px 22px rgba(92, 60, 0, 0.16));
  animation: breathe 7.5s ease-in-out infinite;
  will-change: transform;
}

@keyframes breathe {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.007);
  }
}

.chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1.5px solid #17150f;
  border-radius: 9px;
  background: #fffcf1;
  color: #17150f;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 3px 0 #17150f;
  animation: bob 6.4s ease-in-out infinite;
}

.chip-a {
  top: -15px;
  left: 22px;
}

.chip-b {
  top: -15px;
  right: 22px;
  animation-delay: -2.6s;
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #17150f;
}

.chip-dot-gold {
  background: #e8b23a;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(-1.6deg);
  }
  50% {
    transform: translateY(-7px) rotate(-0.4deg);
  }
}

.stage-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0.02em;
  text-align: center;
}

/* Sections */

.section {
  padding: clamp(64px, 8vw, 96px) 0;
  scroll-margin-top: 86px;
}

.section-head {
  max-width: 660px;
}

.section-head h2 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.6vw, 2.7rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

html[data-lang="zh"] .section-head h2 {
  letter-spacing: -0.008em;
}

.section-sub {
  max-width: 42em;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  text-wrap: pretty;
}

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

.card {
  padding: 27px 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(23, 21, 15, 0.02);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--card-shadow);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--sun);
  color: #17150f;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin: 18px 0 0;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.72;
  text-wrap: pretty;
}

.feature-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* Coats */

.section-coats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--coats-bg);
}

.coats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.coat {
  display: flex;
  flex: 0 0 150px;
  flex-direction: column;
  align-items: center;
  padding: 18px 10px 16px;
  border: 1px solid transparent;
  border-radius: 18px;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.coat:hover {
  transform: translateY(-3px);
  border-color: var(--line);
  background: var(--surface);
}

.coat-thumb {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin-bottom: 12px;
  border: 1px solid rgba(23, 21, 15, 0.08);
  border-radius: 50%;
  background: #fff3d4;
  box-shadow: 0 4px 0 rgba(23, 21, 15, 0.07);
}

.coat-thumb img {
  width: 60px;
  height: 60px;
}

.coat-name {
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.35;
}

.coat-name > span {
  display: block;
}

.coat-tag {
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--sun);
  color: #17150f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Privacy band */

.privacy-band {
  padding: clamp(64px, 8vw, 96px) 0;
  scroll-margin-top: 86px;
}

.band-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 5vw, 64px);
  padding: clamp(32px, 5vw, 58px);
  border-radius: clamp(24px, 3.4vw, 34px);
  background: var(--band-bg);
  color: var(--band-ink);
}

.band-inner .eyebrow {
  color: var(--band-ink);
  opacity: 0.72;
}

.band-inner .eyebrow-dot {
  background: currentColor;
  opacity: 0.8;
}

.band-head h2 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.55rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

html[data-lang="zh"] .band-head h2 {
  letter-spacing: -0.008em;
}

.band-lead {
  max-width: 30em;
  margin: 16px 0 0;
  color: var(--band-muted);
  font-size: 15px;
  line-height: 1.75;
  text-wrap: pretty;
}

.band-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 30px;
  align-content: start;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.band-list li {
  padding-top: 14px;
  border-top: 1px solid var(--band-line);
}

.band-list h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
}

.band-list p {
  margin: 6px 0 0;
  color: var(--band-muted);
  font-size: 13px;
  line-height: 1.65;
  text-wrap: pretty;
}

.band-note {
  margin: 18px 4px 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

/* Download */

.section-download {
  padding-top: clamp(60px, 7vw, 88px);
}

.section-head-center {
  margin: 0 auto;
  text-align: center;
}

.section-head-center .eyebrow {
  justify-content: center;
}

.section-head-center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 780px;
  margin: 42px auto 0;
}

.download-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.download-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.os-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 12px;
  background: var(--sun);
  color: #17150f;
}

.os-icon svg {
  width: 24px;
  height: 24px;
}

.download-top h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
}

.download-top p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}

.download-slot {
  margin-top: 22px;
}

.soon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 650;
}

.soon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sun-deep);
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.btn-download {
  width: 100%;
  background: var(--ink);
  color: var(--bg);
}

.btn-download[hidden] {
  display: none;
}

.download-meta {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 550;
  letter-spacing: 0.04em;
}

.download-note {
  max-width: 700px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
  text-align: center;
  text-wrap: pretty;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
}

.footer-brand p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

/* Responsive */

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

  .stage-wrap {
    justify-self: center;
    max-width: 430px;
    margin-top: 8px;
  }

  .band-inner {
    grid-template-columns: 1fr;
  }

  .band-lead {
    max-width: 46em;
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 20px;
  }

  .header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .nav {
    display: none;
  }

  .controls {
    margin-left: auto;
  }

  .cards,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .band-list {
    gap: 18px 24px;
  }

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

  .coat {
    flex-basis: 138px;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: clamp(2.45rem, 11vw, 3.1rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .btn {
    width: 100%;
  }

  .hero-meta {
    gap: 10px 16px;
    margin-top: 32px;
  }

  .stage {
    border-radius: 26px;
  }

  .chip {
    font-size: 10.5px;
    padding: 6px 9px;
  }

  .chip-b {
    right: 16px;
  }

  .chip-a {
    left: 16px;
  }

  .band-list {
    grid-template-columns: 1fr;
  }

  .coat {
    flex-basis: 132px;
  }

  .card {
    padding: 23px;
  }

  .download-card {
    padding: 21px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
