:root {
  --ink: #261d29;
  --muted: #716572;
  --paper: #fffaf7;
  --surface: #ffffff;
  --surface-soft: #fff1ee;
  --coral: #e4546c;
  --coral-dark: #b73555;
  --plum: #3b2238;
  --amber: #f5b84b;
  --line: #eadde2;
  --green: #2b8169;
  --shadow: 0 20px 60px rgba(66, 28, 49, 0.12);
  --radius: 28px;
  --content: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 178, 172, 0.22), transparent 28rem),
    linear-gradient(180deg, #fffaf7 0, #fff 32rem);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--coral-dark); text-underline-offset: 3px; }
a:hover { color: var(--coral); }
img, svg { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(228, 84, 108, 0.42); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--plum); color: #fff; border-radius: 12px; }
.skip-link:focus { top: 12px; }
.container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(234, 221, 226, 0.85);
  background: rgba(255, 250, 247, 0.9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: 20px; font-weight: 780; letter-spacing: -0.02em; white-space: nowrap; }
.brand img { width: 40px; height: 40px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 9px 12px; border-radius: 14px; color: #574953; font-size: 14px; font-weight: 650; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { background: #fff0ef; color: var(--coral-dark); }
.nav .nav-cta { margin-left: 8px; padding-inline: 18px; color: #fff; background: var(--plum); }
.nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] { color: #fff; background: var(--coral-dark); }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--surface-soft); color: var(--plum); cursor: pointer; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 21px; height: 2px; margin: 5px auto; border-radius: 2px; background: currentColor; }

main { overflow: clip; }
.hero { padding: 88px 0 78px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .8fr); align-items: center; gap: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--coral-dark); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--coral); }
h1, h2, h3 { margin-top: 0; line-height: 1.18; letter-spacing: -.035em; }
h1 { max-width: 880px; margin-bottom: 24px; font-size: clamp(42px, 6.2vw, 78px); }
h2 { margin-bottom: 18px; font-size: clamp(30px, 4.4vw, 48px); }
h3 { margin-bottom: 10px; font-size: 22px; }
.hero-lead { max-width: 680px; margin: 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; border: 1px solid transparent; border-radius: 16px; color: #fff; background: var(--coral); box-shadow: 0 10px 28px rgba(228, 84, 108, .23); font-weight: 760; text-decoration: none; }
.button:hover { color: #fff; background: var(--coral-dark); transform: translateY(-1px); }
.button.secondary { color: var(--plum); background: #fff; border-color: var(--line); box-shadow: none; }
.button.secondary:hover { color: var(--coral-dark); border-color: #d6bfc8; }
.button.ghost { color: var(--coral-dark); background: transparent; border-color: rgba(228,84,108,.25); box-shadow: none; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 26px; padding: 0; list-style: none; color: #61535d; font-size: 14px; }
.trust-row li::before { content: "✓"; margin-right: 7px; color: var(--green); font-weight: 850; }

.hero-art { position: relative; min-height: 520px; display: grid; place-items: center; }
.sound-orbit { position: absolute; inset: 6% 0; border: 1px solid rgba(228,84,108,.16); border-radius: 50%; transform: rotate(-11deg); }
.sound-orbit::before, .sound-orbit::after { content: ""; position: absolute; border: 1px solid rgba(228,84,108,.14); border-radius: 50%; }
.sound-orbit::before { inset: 13%; }
.sound-orbit::after { inset: 27%; }
.player-card { position: relative; width: min(100%, 430px); padding: 30px; border: 1px solid rgba(255,255,255,.7); border-radius: 38px; background: linear-gradient(145deg, #4e2842, #251a2b 72%); box-shadow: 0 34px 90px rgba(54,25,43,.26); color: #fff; transform: rotate(2.5deg); }
.player-top { display: flex; justify-content: space-between; align-items: center; color: #e5d1dc; font-size: 13px; }
.cover-placeholder { height: 230px; display: grid; place-items: center; margin: 24px 0; border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.2), transparent 28%), linear-gradient(135deg, #f6a889, #d94f6c 48%, #722d51); }
.cover-mark { width: 98px; height: 98px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.17); }
.cover-mark::before { content: ""; width: 0; height: 0; margin-left: 8px; border-top: 18px solid transparent; border-bottom: 18px solid transparent; border-left: 28px solid #fff; }
.player-card h3 { margin: 0; font-size: 25px; }
.player-card p { margin: 7px 0 0; color: #d9c7d0; }
.waveform { height: 58px; display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 24px; }
.waveform span { width: 5px; height: var(--h); border-radius: 9px; background: linear-gradient(#ffd1d4, #ff7280); }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 12px 16px; border: 1px solid rgba(234,221,226,.8); border-radius: 16px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); font-size: 14px; font-weight: 760; }
.float-chip.one { top: 14%; right: -4%; }
.float-chip.two { bottom: 13%; left: -5%; }
.float-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(228,84,108,.12); }

.section { padding: 88px 0; }
.section.tint { background: #fff5f2; }
.section.dark { color: #fff; background: var(--plum); }
.section.dark p, .section.dark .section-lead { color: #d9c9d3; }
.section-heading { max-width: 760px; margin-bottom: 38px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-lead { margin: 0; color: var(--muted); font-size: 18px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 28px rgba(71,38,55,.055); }
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 16px; color: var(--coral-dark); background: var(--surface-soft); font-size: 23px; font-weight: 800; }
.card-link { display: inline-flex; margin-top: 8px; font-weight: 760; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; align-items: start; }
.fact-list, .check-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.fact-list li, .check-list li { position: relative; padding: 15px 18px 15px 48px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.fact-list li::before, .check-list li::before { content: "✓"; position: absolute; left: 18px; top: 15px; color: var(--green); font-weight: 900; }
.meta-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.meta-item { padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.meta-item dt { color: var(--muted); font-size: 13px; }
.meta-item dd { margin: 5px 0 0; font-weight: 750; overflow-wrap: anywhere; }
.code-line { display: flex; align-items: center; gap: 10px; padding: 15px 18px; border-radius: 16px; background: #2c202d; color: #ffeef0; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.copy-button { flex: none; min-height: 38px; padding: 6px 12px; border: 1px solid #68495d; border-radius: 10px; color: #fff; background: #4c3144; cursor: pointer; }

.page-hero { padding: 68px 0 54px; }
.page-hero h1 { max-width: 900px; font-size: clamp(40px, 5.2vw, 66px); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: inherit; }
.breadcrumbs span::before { content: "/"; margin-right: 8px; color: #b7a7af; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; }
.prose { max-width: 790px; }
.prose h2 { margin-top: 58px; font-size: clamp(28px, 3.5vw, 40px); }
.prose h3 { margin-top: 34px; }
.prose p, .prose li { color: #514650; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.prose th, .prose td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--surface-soft); }
.side-card { position: sticky; top: 106px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.side-card h2 { font-size: 20px; }
.side-card ul { margin: 0; padding-left: 18px; }
.notice { margin: 24px 0; padding: 20px 22px; border-left: 4px solid var(--amber); border-radius: 0 16px 16px 0; background: #fff7df; color: #5c4b2c; }
.notice.info { border-color: var(--coral); background: var(--surface-soft); color: #5d3845; }
.notice.success { border-color: var(--green); background: #ecf8f4; color: #235c4e; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 14px; border: 1px solid #efd7dc; border-radius: 999px; color: #79334b; background: #fff; font-weight: 680; text-decoration: none; }
.rank-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: ranking; }
.rank-list li { counter-increment: ranking; }
.rank-link { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 15px; min-height: 76px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: #fff; text-decoration: none; }
.rank-link::before { content: counter(ranking, decimal-leading-zero); color: var(--coral); font-size: 20px; font-weight: 850; }
.rank-link strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-link small { color: var(--muted); }
.date-chip { color: var(--green); font-size: 13px; font-weight: 760; }

.screen-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.phone { max-width: 330px; margin-inline: auto; padding: 12px; border-radius: 38px; background: #251b27; box-shadow: var(--shadow); }
.phone-screen { min-height: 535px; padding: 24px 16px 18px; border-radius: 29px; overflow: hidden; background: #fff7f5; }
.phone-notch { width: 88px; height: 18px; margin: -17px auto 20px; border-radius: 0 0 13px 13px; background: #251b27; }
.mock-search { height: 38px; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(80,43,58,.08); }
.mock-banner { height: 128px; margin-top: 14px; border-radius: 19px; background: linear-gradient(135deg,#64344f,#e65b72); }
.mock-actions { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin: 16px 0; }
.mock-actions i { height: 32px; border-radius: 11px; background: #f6d8d9; }
.mock-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.mock-cards i { height: 105px; border-radius: 12px; background: linear-gradient(160deg,#e9c5bd,#b85069); }
.mock-filter { height: 34px; margin-bottom: 9px; border-radius: 12px; background: #fff; }
.mock-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mock-tags i { width: 52px; height: 24px; border-radius: 999px; background: #f5d7d9; }
.mock-player-cover { height: 265px; border-radius: 22px; background: linear-gradient(145deg,#f2aa91,#d44968 55%,#4b2941); }
.mock-progress { height: 5px; margin-top: 34px; border-radius: 5px; background: linear-gradient(90deg,var(--coral) 42%,#ead9df 42%); }
.mock-controls { width: 170px; height: 58px; margin: 23px auto; border-radius: 999px; background: #fff; }

.steps { display: grid; gap: 18px; counter-reset: steps; }
.step { position: relative; padding: 26px 28px 26px 82px; border: 1px solid var(--line); border-radius: 22px; background: #fff; counter-increment: steps; }
.step::before { content: counter(steps); position: absolute; left: 24px; top: 25px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: var(--coral); font-weight: 850; }
.step h3 { margin-bottom: 5px; }
.step p { margin: 0; }
details { margin: 12px 0; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
summary { min-height: 58px; display: flex; align-items: center; padding: 15px 20px; cursor: pointer; color: var(--ink); font-weight: 760; }
details > div { padding: 0 20px 20px; color: #514650; }

.cta-band { padding: 54px; border-radius: 34px; background: linear-gradient(135deg,var(--plum),#71364f); color: #fff; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { max-width: 700px; color: #e6d5df; }
.cta-band .button.secondary { border-color: transparent; }
.site-footer { padding: 58px 0 30px; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(3,1fr); gap: 38px; }
.footer-brand p { max-width: 340px; color: var(--muted); }
.footer-col h2 { margin-bottom: 14px; font-size: 15px; letter-spacing: 0; }
.footer-col a { display: block; margin: 8px 0; color: #655861; font-size: 14px; text-decoration: none; }
.footer-col a:hover { color: var(--coral-dark); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); color: #837780; font-size: 13px; }

@media (max-width: 1040px) {
  .nav a { padding-inline: 8px; }
  .hero-grid { gap: 38px; }
  .float-chip.one { right: 0; }
  .float-chip.two { left: 0; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 77px 16px auto; max-height: calc(100vh - 100px); display: none; padding: 14px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); overflow: auto; }
  .nav.is-open { display: grid; }
  .nav a { padding: 12px 14px; }
  .nav .nav-cta { margin: 6px 0 0; }
  .hero-grid, .split, .content-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 62px; }
  .hero-art { min-height: 480px; }
  .content-layout { gap: 30px; }
  .side-card { position: static; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--content)); }
  .header-inner { min-height: 68px; }
  .nav { top: 69px; }
  .hero, .section { padding-block: 62px; }
  .hero-grid { grid-template-columns: minmax(0,1fr); }
  .hero-art { min-height: 430px; }
  .player-card { width: min(92%, 390px); padding: 22px; border-radius: 30px; }
  .cover-placeholder { height: 190px; }
  .float-chip { font-size: 12px; }
  .card-grid, .screen-grid { grid-template-columns: 1fr; }
  .meta-grid { grid-template-columns: 1fr; }
  .page-hero { padding-top: 46px; }
  .rank-link { grid-template-columns: 40px minmax(0,1fr); }
  .rank-link small { grid-column: 2; }
  .prose table { display: block; overflow-x: auto; }
  .step { padding-left: 72px; }
  .cta-band { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 410px) {
  h1 { font-size: 39px; }
  .hero-actions .button, .button-row .button { width: 100%; }
  .hero-art { min-height: 395px; }
  .float-chip.one { top: 9%; }
  .float-chip.two { bottom: 6%; }
  .player-card { transform: none; }
  .code-line { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
