:root {
  --bg: #070707;
  --bg-raise: #121212;
  --bg-card: #161616;
  --text: #f4f4f4;
  --muted: #a3a3a3;
  --faint: #6f6f6f;
  --line: rgba(255, 255, 255, 0.08);
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --max: 1000px;
  --nav-h: 76px;
  --font: "SF Pro Display", "SF Pro Text", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; }

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 28px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.28s ease, backdrop-filter 0.28s ease, -webkit-backdrop-filter 0.28s ease;
}

.nav.is-scrolled {
  background: #070707;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.wordmark { height: 26px; width: auto; }

.nav-end {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

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

.lang-menu {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.lang-menu select {
  appearance: none;
  -webkit-appearance: none;
  field-sizing: content;
  width: auto;
  padding: 7px 28px 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #161616 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c8c8c8' d='M1.2 1.4 6 6.2 10.8 1.4'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

html:not([data-lang="zh-Hans"]) .zh { display: none !important; }
html[data-lang="zh-Hans"] .en { display: none !important; }

.loc { display: none !important; }

html[data-lang="zh-Hant"] .en,
html[data-lang="zh-Hant"] .zh,
html[data-lang="zh-HK"] .en,
html[data-lang="zh-HK"] .zh,
html[data-lang="ja"] .en,
html[data-lang="ja"] .zh,
html[data-lang="ko"] .en,
html[data-lang="ko"] .zh,
html[data-lang="de"] .en,
html[data-lang="de"] .zh,
html[data-lang="es"] .en,
html[data-lang="es"] .zh { display: none !important; }

html[data-lang="zh-Hant"] .loc,
html[data-lang="zh-HK"] .loc,
html[data-lang="ja"] .loc,
html[data-lang="ko"] .loc,
html[data-lang="de"] .loc,
html[data-lang="es"] .loc { display: inline !important; }

html:not([data-lang="en"]) .marquee.zh { display: block !important; }
html[data-lang="en"] .marquee.zh { display: none !important; }
html:not([data-lang="en"]) .marquee.en { display: none !important; }

html[data-i18n-wait] body { visibility: hidden; }

.sound-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  margin: 0 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 560;
  cursor: pointer;
}

.btn-light {
  background: var(--white);
  color: #111;
}

.btn-light:hover { background: #ececec; }

.btn-ghost {
  background: #2a2a2a;
  color: var(--text);
}

.btn-ghost:hover { background: #343434; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero {
  padding: calc(var(--nav-h) + 112px) 0 48px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 42% at 50% 0%, rgba(255, 255, 255, 0.08), transparent 70%);
}

.app-icon {
  width: 156px;
  height: 156px;
  margin: 8px auto 48px;
  border-radius: 36px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.38);
}

.hero h1 span {
  background-image: linear-gradient(180deg, #ffffff 0%, #f4f4f4 55%, #c6c6ca 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1, h2, h3 { font-weight: 560; letter-spacing: -0.03em; margin: 0; }

h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.22;
  font-weight: 500;
}

.lede {
  max-width: 460px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.hero .btn { margin-top: 28px; }

.hero-media {
  width: min(var(--max), calc(100% - 40px));
  margin: 56px auto 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #111;
}

.hero-media video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.marquee {
  margin: 72px 0 28px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: drift 46s linear infinite;
}

.marquee-track img {
  height: 42px;
  width: auto;
  max-width: none;
  margin: 0 22px;
  opacity: 0.72;
}

.sound-name img {
  width: 22px;
  height: 22px;
  max-width: none;
  margin: 0;
  opacity: 0.9;
  object-fit: contain;
  flex: none;
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section { padding: 128px 0; }

.section-head { text-align: center; margin-bottom: 48px; }

h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.24;
  font-weight: 500;
}

.sub {
  margin: 14px auto 0;
  max-width: 560px;
  color: var(--muted);
}

.feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 18px;
}

.feature.reverse { grid-template-columns: 1.1fr 0.9fr; }
.feature.reverse .feature-copy { order: 2; }

.feature-copy { padding: 28px 36px; }

.rule {
  width: 36px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  margin-bottom: 22px;
}

h3 { font-size: 28px; font-weight: 520; }

.feature p, .audience p, .endure p, .price-card li {
  color: var(--muted);
  margin: 12px 0 0;
}

.feature-visual {
  border-radius: 18px;
  overflow: hidden;
  background: #0d0d0d;
  min-height: 280px;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.statement {
  padding: 72px 0 40px;
  text-align: center;
}

.statement p {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.03em;
  color: #8d8d8d;
}

.statement p:first-child { color: #5e5e5e; }
.statement p:last-child { color: var(--text); }

.shot {
  margin-top: 36px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.shot img { width: 100%; height: auto; }

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

.audience {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.audience img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.audience div { padding: 22px 22px 26px; }

.audience h3 { font-size: 20px; }

.pricing {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
}

.price-stack { display: grid; gap: 16px; }

.eyebrow {
  color: var(--faint);
  font-size: 14px;
  margin: 0;
}

.price {
  margin: 8px 0 0;
  font-size: 48px;
  letter-spacing: -0.04em;
  font-weight: 520;
}

.price span {
  font-size: 18px;
  color: var(--muted);
  letter-spacing: 0;
}

.price-card ul {
  list-style: none;
  padding: 8px 0 0;
  margin: 0 0 22px;
}

.price-card li {
  margin: 8px 0 0;
  padding-left: 22px;
  position: relative;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #d7d7d7;
}

.price-card .btn { margin-top: auto; width: 100%; }

.note {
  text-align: center;
  color: var(--faint);
  font-size: 14px;
  margin: 22px 0 0;
}

.endure-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.endure-band .light {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  pointer-events: none;
}

.endure-band .wrap { position: relative; }

.endure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.endure {
  background: rgba(10, 10, 10, 0.62);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(8px);
}

.endure .mark { font-size: 22px; margin: 0 0 8px; }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding: 22px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px 22px;
  flex-wrap: wrap;
  margin-left: auto;
}

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

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

.legal-page { padding: calc(var(--nav-h) + 72px) 0 96px; }

.legal {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  overflow-wrap: break-word;
}

.legal h1 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.28;
  text-align: center;
  margin-bottom: 28px;
}

html[data-page="about-icloud"] .legal h1,
html[data-page="about-volume"] .legal h1 {
  text-align: left;
}

.legal h2 {
  font-size: 18px;
  margin: 28px 0 8px;
  letter-spacing: -0.02em;
}

.legal p, .legal li { color: #cfcfcf; }

.legal ul, .legal ol { margin: 8px 0 0; padding-left: 18px; }

.legal a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 860px) {
  :root { --nav-h: 108px; }
  .nav {
    flex-wrap: wrap;
    padding: 14px 16px 12px;
  }
  .nav-end { display: contents; }
  .nav .btn-outline { order: 2; margin-left: auto; }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 18px;
    padding-top: 10px;
    font-size: 14px;
  }
  .feature,
  .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse .feature-copy { order: 0; }
  .feature-copy { padding: 8px 8px 4px; }
  .audience-grid,
  .pricing,
  .endure-grid { grid-template-columns: 1fr; }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 16px;
  }
  .footer-end { margin-left: 0; justify-content: flex-start; }
  .legal-page { padding: calc(var(--nav-h) + 36px) 0 56px; }
  .legal h1 { font-size: 30px; margin-bottom: 20px; }
  .legal h2 { margin-top: 22px; }
  .section { padding: 96px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}
