:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --surface-soft: #eef4ef;
  --text: #17201b;
  --muted: #657269;
  --line: #dde6df;
  --accent: #2d7d5c;
  --accent-strong: #1f6248;
  --accent-soft: #dff0e8;
  --warning-soft: #fff3d7;
  --shadow: 0 20px 50px rgba(33, 47, 39, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

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

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(221, 230, 223, 0.78);
  background: rgba(247, 248, 245, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a[aria-current="page"] {
  color: var(--accent-strong);
  font-weight: 700;
}

.hero {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0 50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(42px, 7vw, 76px);
}

h2 {
  font-size: clamp(26px, 4vw, 40px);
}

h3 {
  font-size: 20px;
}

p {
  margin: 0;
}

.hero-copy {
  max-width: 680px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--surface);
  color: var(--text);
  font-weight: 720;
  box-shadow: 0 10px 24px rgba(33, 47, 39, 0.06);
}

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

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.device-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 184, 107, 0.34), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(93, 132, 196, 0.22), transparent 30%),
    linear-gradient(145deg, #ffffff 0%, #eef5ef 100%);
  box-shadow: var(--shadow);
  padding: 28px;
}

.app-preview {
  border: 1px solid rgba(221, 230, 223, 0.82);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  padding: 20px;
  backdrop-filter: blur(18px);
}

.preview-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.preview-label {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-title {
  margin-top: 3px;
  font-size: 24px;
  font-weight: 860;
  line-height: 1.15;
}

.preview-badge {
  flex: 0 0 auto;
  border: 1px solid rgba(45, 125, 92, 0.18);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.source-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 720;
}

.library-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.library-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(221, 230, 223, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px;
}

.cover,
.now-art {
  overflow: hidden;
  border-radius: 13px;
  background-color: #e8eee9;
}

.cover {
  width: 52px;
  height: 52px;
}

.cover-one {
  background:
    linear-gradient(135deg, rgba(34, 74, 101, 0.92), rgba(233, 164, 92, 0.86)),
    repeating-linear-gradient(90deg, transparent 0 7px, rgba(255, 255, 255, 0.2) 7px 9px);
}

.cover-two {
  background:
    radial-gradient(circle at 28% 30%, rgba(255, 255, 255, 0.8) 0 10%, transparent 11%),
    linear-gradient(135deg, #6b8f71, #d8b45d 52%, #8a6470);
}

.cover-three {
  background:
    linear-gradient(145deg, rgba(83, 103, 160, 0.92), rgba(219, 118, 95, 0.86)),
    repeating-linear-gradient(135deg, transparent 0 10px, rgba(255, 255, 255, 0.16) 10px 18px);
}

.track-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.track-title {
  font-weight: 800;
}

.track-meta {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

.play-dot {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.meter {
  height: 8px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 99px;
  background: #dbe5dd;
}

.meter span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.mini-player {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  border: 1px solid rgba(45, 125, 92, 0.16);
  border-radius: 20px;
  background: #f7fbf8;
  padding: 12px;
}

.now-art {
  width: 48px;
  height: 48px;
  background:
    radial-gradient(circle at 34% 32%, rgba(255, 255, 255, 0.76) 0 12%, transparent 13%),
    linear-gradient(135deg, #2d7d5c, #ecb35d 56%, #5367a0);
}

.now-copy .meter {
  margin-top: 8px;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-header p {
  margin-top: 12px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 22px;
  box-shadow: 0 12px 34px rgba(33, 47, 39, 0.05);
}

.card p,
.faq p,
.legal-body p,
.legal-body li {
  color: var(--muted);
}

.card h3,
.faq h3 {
  margin-bottom: 9px;
}

.notice {
  border: 1px solid #f2d99d;
  border-radius: 18px;
  background: var(--warning-soft);
  padding: 18px 20px;
  color: #6f5420;
}

.page-hero {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 62px 0 34px;
}

.page-hero h1 {
  font-size: clamp(38px, 6vw, 62px);
}

.page-hero p {
  max-width: 740px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.legal-body {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 70px;
}

.legal-section {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.legal-section h2 {
  margin-bottom: 14px;
  font-size: 25px;
}

.legal-section p + p,
.legal-section ul + p,
.legal-section p + ul {
  margin-top: 12px;
}

.legal-section ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 20px;
}

.contact-box {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-soft);
  padding: 24px;
}

.contact-box strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 46px;
  }

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

  .device-card {
    border-radius: 22px;
    padding: 18px;
  }

  .section,
  .page-hero {
    padding-top: 42px;
  }
}

@media (max-width: 520px) {
  .nav,
  .hero,
  .section,
  .page-hero,
  .legal-body,
  .footer-inner {
    width: min(100% - 28px, 1120px);
  }

  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
