@font-face {
  font-family: Jakarta;
  src: url("fonts/plus-jakarta-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0a090b;
  --text: #f7f3ef;
  --muted: #c6bdc3;
  --quiet: #a79ca5;
  --line: rgb(246 226 237 / .16);
  --accent: #ffa69d;
  --head-height: 66px;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 80px);
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-family: Jakarta, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
[hidden] { display: none !important; }
main, section, article { scroll-margin-top: calc(var(--head-height) + 20px); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure { margin: 0; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--wrap)); margin-inline: auto; }
.icon-bank { position: absolute; overflow: hidden; pointer-events: none; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }

.skip-link { position: fixed; z-index: 5; inset: 12px auto auto 12px; padding: 12px 20px; border-radius: 8px; background: var(--text); color: var(--bg); opacity: 0; pointer-events: none; }
.skip-link:focus { opacity: 1; pointer-events: auto; }

.header { position: sticky; z-index: 4; top: 0; border-bottom: 1px solid rgb(246 226 237 / .09); background: rgb(10 9 11 / .92); backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: calc(var(--head-height) - 1px); gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; font-size: 16px; font-weight: 700; line-height: 1.12; }
.brand img { border-radius: 9px; }
.brand small { display: block; margin-top: 5px; font: 700 9px/1 Jakarta, sans-serif; letter-spacing: .17em; color: var(--muted); }
.navigation { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); font-size: 13px; color: var(--muted); }
.navigation a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.navigation a:hover, .footer a:hover { color: var(--text); }
.navigation .preview-link { gap: 7px; color: #d6c5ff; font-weight: 700; }
.navigation .preview-link::before { content: ""; width: 5px; height: 5px; flex: none; border-radius: 50%; background: #c3a5ff; box-shadow: 0 0 9px rgb(195 165 255 / .65); }
.navigation .preview-link:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 7px; }
.header-download { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 39px; padding-inline: 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); white-space: nowrap; font-size: 12px; }
.header-download:hover { border-color: var(--accent); color: var(--accent); }
.a-menu-toggle { display: none; }

.hero {
  --hero-accent: #ffb3a1;
  position: relative;
  isolation: isolate;
  padding-block: clamp(32px, 4vw, 64px) clamp(38px, 5vw, 72px);
  overflow: clip;
  background: #110c11;
}
.hero-backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 58%, var(--bg)),
    linear-gradient(90deg, #100b10, rgb(16 11 16 / .8) 37%, rgb(16 11 16 / .26)),
    url("assets/editorial/record.webp") center 62% / cover no-repeat;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "copy visual" "shortcuts shortcuts";
  align-items: center;
  gap: clamp(24px, 3.4vw, 52px) clamp(20px, 4vw, 56px);
}
.hero-copy { grid-area: copy; }
.hero h1 { color: #fbf4ef; font-size: clamp(44px, 6.3vw, 92px); font-weight: 800; line-height: 1.09; letter-spacing: -.07em; }
.hero-version { display: inline-block; color: var(--hero-accent); }
.hero-status { display: block; }
.hero-lead { margin-top: 17px; color: #e0cfd4; font-size: clamp(15px, 1.45vw, 20px); line-height: 1.7; }
.hero-visual {
  grid-area: visual;
  position: relative;
  width: 100%;
  aspect-ratio: 1.36;
  background: radial-gradient(ellipse at 56% 57%, rgb(255 103 118 / .21), transparent 61%);
}
.hero-phone {
  position: absolute;
  top: 50%;
  width: var(--phone-width);
  aspect-ratio: 578 / 1205;
  filter: drop-shadow(0 15px 18px rgb(0 0 0 / .55));
  transform: translate(-50%, -50%) rotate(var(--phone-angle));
}
.hero-phone--library { --phone-width: 27%; --phone-angle: -10deg; left: 36%; }
.hero-phone--automix { --phone-width: 31%; --phone-angle: 9deg; left: 65%; }
.hero-phone::after {
  position: absolute;
  inset: 0;
  background: url("/3.0/scene-phone-frame.webp") center / 100% 100% no-repeat;
  content: "";
}
.hero-phone img {
  position: absolute;
  inset: 1% auto auto 2.08%;
  width: 94.81%;
  height: 97.93%;
  border-radius: 14.5% / 6.8%;
  object-fit: cover;
}
.hero-shortcuts { grid-area: shortcuts; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.5vw, 18px); }
.hero-shortcuts a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 12px clamp(14px, 1.7vw, 24px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(246 226 237 / .055);
  font-size: 15px;
  font-weight: 700;
  transition: background-color .16s, border-color .16s;
}
.hero-shortcuts a:hover { border-color: rgb(255 179 161 / .57); background: rgb(246 226 237 / .1); }
.hero-shortcuts .icon { color: var(--hero-accent); }
.hero-shortcuts .shortcut-arrow { color: var(--muted); font-size: 13px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 49px; padding: 10px 19px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; line-height: 1.35; font-weight: 700; white-space: nowrap; transition: background-color .16s, border-color .16s, color .16s; }
.primary { background: #f5eee7; color: #191018; }
.primary:hover { background: #fff; }
.secondary { border-color: rgb(255 238 242 / .36); background: rgb(10 9 11 / .38); color: var(--text); }
.secondary:hover { border-color: var(--accent); background: rgb(246 226 237 / .09); }
.hero-preview-link {
  min-height: 54px;
  margin-top: clamp(23px, 3vw, 36px);
  padding-inline: 23px;
  background: #ffb3a1;
  color: #261115;
  font-size: 15px;
  box-shadow: 0 8px 36px rgb(255 127 117 / .23);
}
.hero-preview-link:hover { background: #ffd4c8; }

.desktop-showcase { max-width: 1010px; margin-top: clamp(10px, 2vw, 25px); margin-bottom: clamp(42px, 7vw, 90px); }
.showcase-caption { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 9px; color: #d4c6cd; font-size: 12px; text-shadow: 0 2px 7px #000; }
.showcase-caption .icon { color: var(--accent); }
.desktop-frame { overflow: hidden; border: 1px solid rgb(247 213 226 / .38); border-radius: clamp(10px, 1.4vw, 19px); background: #131018; box-shadow: 0 34px 95px rgb(0 0 0 / .7), 0 0 62px rgb(215 57 66 / .12); }
.desktop-frame img { width: 100%; }

.section { padding-block: clamp(68px, 8.4vw, 120px); }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 12px; line-height: 1.5; letter-spacing: .12em; font-weight: 700; }
.eyebrow > span { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font: 11px/1 var(--mono); }
.eyebrow > span::after { width: 22px; height: 1px; background: var(--line); content: ""; }
.section h2, .mobile-stage h2 { margin-top: 16px; font-size: clamp(38px, 5.2vw, 78px); line-height: 1.14; font-weight: 800; letter-spacing: -.07em; }
.lyric-feature h2 span, .mobile-stage h2 span { color: #b5aab4; }
.section-lead { max-width: 27em; margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.85; }

.feature-section { border-top: 1px solid var(--line); }
.lyric-feature { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); align-items: center; gap: clamp(25px, 6vw, 95px); }
.lyric-figure {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: clamp(24px, 4.5vw, 61px);
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: radial-gradient(ellipse at 100% 88%, #4b1d2d, transparent 76%), #141016;
}
.lyric-figure::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-linear-gradient(110deg, transparent 0 17px, rgb(255 160 161 / .085) 18px, transparent 19px 25px);
  mask-image: linear-gradient(135deg, transparent 20%, #000 100%);
  content: "";
}
.lyric-art { display: grid; gap: 14px; line-height: 1.25; }
.lyric-art > span { color: #ae8a9e; opacity: .69; font-size: clamp(17px, 2.1vw, 30px); font-weight: 700; }
.lyric-art strong { color: #a78298; font-size: clamp(25px, 3.7vw, 54px); letter-spacing: -.06em; }
.lyric-art b { color: #fff0e9; text-shadow: 0 0 25px rgb(255 140 159 / .25); }
.lyric-progress { height: 1px; margin-top: 12px; background: rgb(255 227 246 / .19); }
.lyric-progress i { display: block; width: 64%; height: 100%; background: linear-gradient(90deg, #ffc2ac, #e56c85); }
.lyric-figure figcaption { display: flex; align-items: center; gap: 7px; margin-top: 12px; color: #d2b5c5; font-size: 11px; }
.feature-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(38px, 6vw, 87px); border-block: 1px solid var(--line); }
.feature-notes article { padding: 24px 22px; }
.feature-notes article:first-child { padding-left: 0; }
.feature-notes article + article { border-inline-start: 1px solid var(--line); }
.feature-notes .icon { color: var(--accent); font-size: 17px; }
.feature-notes h3 { margin-top: 11px; font-size: clamp(17px, 1.75vw, 23px); letter-spacing: -.035em; }
.feature-notes p { max-width: 25em; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.8; }

.mobile-section {
  --mobile-glow: 65 74 180;
  --mobile-accent: #c3c8ff;
  border-block: 1px solid var(--line);
  background: radial-gradient(ellipse at 33% 52%, rgb(var(--mobile-glow) / .26) 0%, transparent 59%), #0d0c13;
  overflow: clip;
}
.mobile-section[data-mobile-scene="discover"] { --mobile-glow: 41 133 146; --mobile-accent: #a8e6e6; }
.mobile-section[data-mobile-scene="playlists"] { --mobile-glow: 160 70 128; --mobile-accent: #ffc3dc; }
.mobile-section[data-mobile-scene="stats"] { --mobile-glow: 110 86 175; --mobile-accent: #ddc9ff; }
.mobile-section[data-mobile-scene="library"] { --mobile-glow: 48 126 115; --mobile-accent: #afe4d4; }
.mobile-stage { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: clamp(22px, 6vw, 83px); padding-block: clamp(68px, 8vw, 112px); }
.mobile-copy { grid-column: 2; grid-row: 1; }
.mobile-showcase { --phone: clamp(192px, 19vw, 254px); grid-column: 1; grid-row: 1; display: grid; position: relative; isolation: isolate; justify-items: center; min-width: 0; }
.mobile-showcase::before {
  position: absolute;
  z-index: -2;
  inset: -8% 0 0;
  pointer-events: none;
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 41px, rgb(220 214 255 / .13) 42px, transparent 43px 63px);
  mask-image: radial-gradient(ellipse, transparent 10%, #000 41%, transparent 72%);
  content: "";
}
.mobile-stage .eyebrow > span { color: var(--mobile-accent); }
.mobile-tabs { display: grid; max-width: 365px; margin-block: 23px 13px; border-top: 1px solid var(--line); }
.mobile-tabs button { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; min-height: 45px; padding: 7px 9px; text-align: start; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 14px; }
.mobile-tabs button:hover { background: rgb(223 218 255 / .05); color: var(--text); }
.mobile-tabs button[aria-selected="true"] { color: var(--text); background: rgb(223 218 255 / .085); }
.mobile-tabs button .icon { color: var(--mobile-accent); opacity: .52; }
.mobile-tabs button[aria-selected="true"] .icon { opacity: 1; }
.mobile-tab-number { color: var(--mobile-accent); font: 11px/1 var(--mono); }
.text-link, .inline-link { display: inline-flex; align-items: center; gap: 8px; min-height: 43px; color: var(--accent); font-size: 13px; font-weight: 700; }
.text-link { color: var(--mobile-accent); }
.text-link:hover, .inline-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.phone-panel { display: grid; justify-items: center; gap: 15px; min-width: 0; transform: translateX(17%); }
.phone-frame, .phone-back {
  overflow: hidden;
  aspect-ratio: 1080 / 2344;
  padding: 4px;
  border: 1px solid rgb(208 210 247 / .57);
  border-radius: clamp(23px, 2.5vw, 35px);
  background: #09090c;
  box-shadow: 0 24px 52px rgb(0 0 0 / .66), inset 0 0 0 1px rgb(250 234 252 / .11);
}
.phone-frame { position: relative; display: block; width: var(--phone); }
.phone-frame:hover { border-color: var(--mobile-accent); }
.phone-frame img, .phone-back img { width: 100%; height: 100%; object-fit: cover; border-radius: clamp(18px, 2.1vw, 30px); }
.phone-frame .zoom-icon { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; padding: 8px; border: 1px solid rgb(255 255 255 / .27); border-radius: 50%; color: #fff; background: rgb(15 12 23 / .83); }
.phone-back { position: absolute; z-index: -1; top: 9%; left: calc(50% - var(--phone) * .73); width: calc(var(--phone) * .86); transform: rotate(-13deg); opacity: .75; }
.phone-caption { color: #c8bfcd; font-size: 12px; text-align: center; }

.download-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 7vw, 101px); align-items: center; }
.download-copy .inline-link { margin-top: 12px; }
.download-grid { border-top: 1px solid var(--line); }
.download-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(11px, 2.1vw, 30px); padding-block: 19px; border-bottom: 1px solid var(--line); }
.download-icon { display: inline-grid; place-items: center; width: 47px; height: 47px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-size: 21px; }
.android-card .download-icon { color: #b4ddd5; }
.download-card h3 { font-size: clamp(22px, 2.55vw, 35px); line-height: 1.2; letter-spacing: -.05em; }
.download-card p { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.download-card .button { min-height: 42px; padding-inline: 13px; font-size: 12px; }

.footer { border-top: 1px solid var(--line); background: #0a090b; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 22px; padding-block: 34px 16px; }
.footer-inner p { margin-top: 10px; color: var(--quiet); font-size: 13px; }
.footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; color: var(--muted); font-size: 13px; }
.footer nav a { display: flex; align-items: center; min-height: 44px; }
.footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 12px; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }

dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; margin: auto; padding: 24px; border: 1px solid rgb(238 222 247 / .25); border-radius: 16px; background: #201a22; color: var(--text); box-shadow: 0 26px 75px rgb(0 0 0 / .58); }
dialog::backdrop { background: rgb(6 4 8 / .78); backdrop-filter: blur(5px); }
.dialog-close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgb(255 255 255 / .055); }
.dialog-close:hover { background: rgb(255 255 255 / .13); }
.dialog-close .icon { width: 19px; height: 19px; }
.package-dialog form { position: absolute; top: 14px; right: 14px; }
.package-dialog h2 { margin-top: 11px; font-size: clamp(22px, 5vw, 28px); line-height: 1.3; }
.package-options { display: grid; gap: 8px; margin-top: 19px; color: var(--muted); font-size: 14px; }
.package-choice { display: grid; gap: 6px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 9px; background: rgb(255 255 255 / .025); color: var(--text); overflow-wrap: anywhere; }
a.package-choice:hover { border-color: var(--accent); background: rgb(255 163 150 / .08); }
.package-choice small, .prototype-note { color: var(--muted); font-size: 12px; }
.is-unavailable strong { color: var(--quiet); }
.prototype-note { margin-top: 17px; line-height: 1.5; }
.sponsor-inline-action { justify-self: start; min-height: 40px; padding-inline: 12px; border: 1px solid var(--line); border-radius: 7px; background: #26202a; }
.package-options > a:not(.package-choice) { justify-self: start; color: var(--accent); padding-block: 5px; text-decoration: underline; }
.screenshot-dialog { width: min(470px, calc(100% - 26px)); padding: 14px; }
.screenshot-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.screenshot-header h2 { font-size: 17px; }
.screenshot-dialog > img { max-height: calc(100dvh - 125px); width: auto; margin-inline: auto; object-fit: contain; border-radius: 9px; }

@media (min-width: 761px) and (max-width: 860px) {
  .header-inner { gap: 12px; }
  .navigation { gap: 12px; }
}

@media (max-width: 760px) {
  :root { --head-height: 62px; }
  .header-inner { gap: 8px; }
  .brand { font-size: 15px; gap: 8px; }
  .brand img { width: 32px; height: 32px; border-radius: 8px; }
  .header-download { min-height: 38px; padding-inline: 10px; gap: 6px; }
  .navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 15px; border-bottom: 1px solid var(--line); background: #171219; box-shadow: 0 16px 28px rgb(0 0 0 / .3); }
  .navigation[data-expanded] { display: flex; }
  .navigation a { padding: 5px 3px; }
  .navigation a + a { border-top: 1px solid var(--line); }
  .a-menu-toggle { display: grid; place-content: center; gap: 5px; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #171219; }
  .a-menu-toggle span { width: 15px; height: 1.5px; border-radius: 2px; background: currentColor; }
  .a-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .a-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "shortcuts" "visual"; }
  .hero h1 { font-size: clamp(44px, 10.8vw, 72px); }
  .hero-lead { margin-top: 13px; }
  .hero-backdrop { background-position: center, center, 58% 100%; }
  .hero-visual { width: min(100%, 450px); justify-self: center; }
  .section-lead { font-size: 15px; }
  .lyric-feature, .mobile-stage, .download-section { grid-template-columns: 1fr; gap: 25px; }
  .feature-notes { grid-template-columns: 1fr; }
  .feature-notes article, .feature-notes article:first-child { padding: 18px 0; }
  .feature-notes article + article { border-inline-start: 0; border-top: 1px solid var(--line); }
  .mobile-section { background: radial-gradient(ellipse at 49% 74%, rgb(var(--mobile-glow) / .29), transparent 57%), #0d0c13; }
  .mobile-copy, .mobile-showcase { grid-column: auto; grid-row: auto; }
  .mobile-showcase { --phone: clamp(169px, 47vw, 236px); }
  .phone-back { left: calc(50% - var(--phone) * .67); }
  .mobile-tabs { max-width: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 15px; padding-block: 27px 14px; }
  .footer nav { gap: 0 16px; }
}

@media (max-width: 460px) {
  .hero { padding-bottom: 26px; }
  .hero-shortcuts a { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 7px; min-height: 66px; padding: 10px 5px; font-size: 13px; }
  .hero-shortcuts .shortcut-arrow { display: none; }
  .showcase-caption { font-size: 10px; gap: 4px; }
  .download-card { gap: 9px; }
  .download-card p { font-size: 11px; }
  .download-icon { width: 39px; height: 39px; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media (prefers-reduced-motion: no-preference) {
  [data-switched] .phone-panel:not([hidden]) { animation: scene-in .22s ease-out; }
  @keyframes scene-in { from { opacity: .56; } to { opacity: 1; } }
}
