/* 与 App 对齐：index/result/collection 等屏的 cream 底 + 品牌橙 #E2461B */
:root {
  --bg: #f6e7d7;
  --bg-elevated: #fff5ec;
  --surface: #ffffff;
  --text: #4b3621;
  --muted: #b07557;
  --accent: #e2461b;
  --accent-hover: #c93d17;
  --accent-soft: rgba(226, 70, 27, 0.12);
  --accent-border: rgba(226, 70, 27, 0.35);
  --line: rgba(75, 54, 33, 0.12);
  --line-strong: rgba(226, 70, 27, 0.45);
  --radius: 12px;
  --radius-pill: 999px;
  --shadow-card: 0 16px 40px rgba(75, 54, 33, 0.08);
  --font-sans: "DM Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui,
    sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease, opacity 0.15s ease;
}

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

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

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 231, 215, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.brand-mark {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.brand-sub {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.nav-lang {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.nav-lang button {
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-lang button:hover {
  color: var(--text);
  background: var(--accent-soft);
}

.nav-lang button[aria-pressed="true"] {
  color: var(--accent);
  background: var(--bg-elevated);
  box-shadow: inset 0 0 0 1.5px var(--accent-border);
  font-weight: 700;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 65% at 50% -15%, rgba(226, 70, 27, 0.16), transparent 58%);
  pointer-events: none;
  z-index: 0;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 840px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.hero-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(2.15rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.hero-lead {
  margin: 0 0 1.75rem;
  color: var(--text);
  max-width: 36ch;
  font-size: 1.05rem;
  opacity: 0.92;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: var(--bg-elevated);
  border-color: var(--line-strong);
  color: var(--accent);
}

.btn-ghost:hover {
  background: #fff;
  border-color: var(--accent);
}

.hero-card {
  background: var(--surface);
  border: 1.5px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-card);
}

.hero-card h2 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.85rem;
  color: var(--accent);
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.5;
}

.hero-card li:last-child {
  margin-bottom: 0;
}

.hero-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Visual gallery */
.visuals {
  background: rgba(255, 245, 236, 0.35);
}

.visual-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 860px) {
  .visual-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.visual-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  box-shadow: 0 8px 24px rgba(75, 54, 33, 0.08);
}

/* Sections */
section {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.section-intro {
  margin: 0 0 2rem;
  color: var(--text);
  max-width: 52ch;
  opacity: 0.88;
}

.features-section {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 245, 236, 0.5) 40%, transparent 100%);
}

.features {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: 0 4px 20px rgba(75, 54, 33, 0.05);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.feature:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-card);
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent);
}

.feature p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  opacity: 0.9;
}

/* How it works */
.how-it-works {
  background: rgba(255, 245, 236, 0.45);
}

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

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1rem;
}

.step-no {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.step h3 {
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-size: 1.02rem;
}

.step p {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
}

/* Scenes */
.scene-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .scene-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.scene-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem;
}

.scene-card h3 {
  margin: 0 0 0.4rem;
  color: var(--accent);
  font-size: 1rem;
}

.scene-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
}

/* Trust */
.trust {
  background: linear-gradient(180deg, rgba(226, 70, 27, 0.06), transparent 65%);
}

.trust-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 880px) {
  .trust-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

.trust-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text);
}

.trust-list li {
  margin: 0 0 0.5rem;
}

.trust-panel {
  background: var(--surface);
  border: 1.5px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.trust-panel h3 {
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-size: 1.05rem;
}

.trust-panel p {
  margin: 0 0 0.85rem;
  font-size: 0.93rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-list details {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
}

.faq-list details[open] {
  border-color: var(--accent-border);
}

.faq-list summary {
  cursor: pointer;
  color: var(--accent);
  font-weight: 700;
}

.faq-list p {
  margin: 0.55rem 0 0;
  color: var(--text);
  font-size: 0.92rem;
}

/* Download */
.download {
  background: linear-gradient(165deg, var(--accent-soft) 0%, rgba(246, 231, 215, 0.4) 45%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.download .box {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
}

.download .section-title {
  margin-bottom: 0.75rem;
}

.download .section-intro {
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.store-badges a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1.5px solid var(--accent);
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.store-badges a:hover:not([aria-disabled="true"]) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.store-badges a[aria-disabled="true"] {
  opacity: 1;
  pointer-events: none;
  cursor: default;
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
  color: var(--muted);
}

.store-hint {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  background: rgba(255, 245, 236, 0.35);
}

.site-footer .cols {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

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

.footer-links a {
  color: var(--muted);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent);
}

.copyright {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

[hidden] {
  display: none !important;
}
