﻿:root {
  --bg: #f5f5f7;
  --panel: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(60, 60, 67, 0.12);
  --accent: #0071e3;
  --accent-press: #0077ed;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 920px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font: 17px/1.47 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.08em 0.32em;
  border-radius: 5px;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 245, 247, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  border-radius: 7px;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.75;
}

.nav-links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 1.35rem;
  font-size: 0.84rem;
}

.nav-links a {
  color: var(--text);
  opacity: 0.72;
  text-decoration: none;
}

.nav-links a:hover {
  opacity: 1;
  text-decoration: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.84rem;
  color: var(--muted);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.7rem;
  padding: 0 0.85rem;
  border-radius: 980px;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-btn:hover {
  background: var(--accent-press);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 4.5rem 0 3rem;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.lead {
  margin: 1.15rem auto 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.65;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.35rem;
  border-radius: 980px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
}

.btn:active,
.nav-btn:active {
  transform: scale(0.97);
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 113, 227, 0.22);
}

.btn.primary:hover {
  background: var(--accent-press);
}

.btn.ghost {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
}

.btn.ghost:hover {
  background: rgba(0, 0, 0, 0.1);
}

.meta {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Scenes */
.scenes {
  padding: 1rem 0 2.5rem;
}

.scenes h2,
.highlights h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.section-sub {
  margin: 0.5rem auto 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 28rem;
}

.scene-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.scene-grid li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1rem;
}

.scene-grid strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.35rem;
}

.scene-grid span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Highlights */
.highlights {
  padding: 0 0 2.5rem;
}

.highlights ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.highlights li {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.2rem;
  border-top: 1px solid var(--line);
}

.highlights li:first-child {
  border-top: 0;
}

.highlights strong {
  font-size: 0.98rem;
  letter-spacing: -0.015em;
}

.highlights span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Fold panel */
.panel {
  margin-bottom: 2.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.panel details {
  border-top: 1px solid var(--line);
}

.panel details:first-child {
  border-top: 0;
}

.panel summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.panel summary::-webkit-details-marker {
  display: none;
}

.panel summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 500;
}

.panel details[open] summary::after {
  content: "–";
}

.panel details > *:not(summary) {
  padding: 0 1.15rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.panel ol,
.panel ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.4rem;
}

.plans-box .tip {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.plan {
  display: grid;
  gap: 0.1rem;
  text-align: left;
  width: 100%;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.plan:hover {
  border-color: rgba(0, 113, 227, 0.35);
}

.plan.is-active {
  border-color: var(--accent);
  background: rgba(0, 113, 227, 0.06);
}

.plan-name {
  font-weight: 600;
  font-size: 0.88rem;
}

.plan-price {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.plan-price span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}

.plan-desc {
  color: var(--muted);
  font-size: 0.75rem;
}

.plan-cta {
  margin-top: 0.85rem;
  display: inline-flex;
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 1.15rem 0 2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.foot nav {
  display: flex;
  gap: 1rem;
}

.foot nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.legal summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.84rem;
  color: var(--muted);
  padding: 0.4rem 0;
}

.legal summary::-webkit-details-marker {
  display: none;
}

.legal-body {
  display: grid;
  gap: 0.7rem;
  padding: 0.25rem 0 0.75rem;
  font-size: 0.84rem;
  line-height: 1.65;
}

.legal-body p {
  margin: 0;
}

.legal-body strong {
  color: var(--text);
}

/* Responsive */
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .scene-grid {
    grid-template-columns: 1fr 1fr;
  }

  .plans {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 1.75rem, var(--max));
  }

  .hero {
    padding: 2.75rem 0 2rem;
    text-align: left;
  }

  .cta {
    justify-content: stretch;
  }

  .cta .btn {
    flex: 1 1 auto;
  }

  .scenes h2,
  .section-sub {
    text-align: left;
  }

  .scene-grid {
    grid-template-columns: 1fr;
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .meta {
    text-align: left;
  }
}

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

  .btn:active,
  .nav-btn:active {
    transform: none;
  }
}
