/* Jukebox marketing site — shared tokens, reset, fonts, nav/footer.
   Design tokens lifted 1:1 from docs prototype "Jukebox - App Store Landing". */

/* ---- Fonts (self-hosted, same packages as src/web) ---- */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('./fonts/geist-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('./fonts/geist-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('./fonts/geist-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('./fonts/geist-cyrillic-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('./fonts/geist-vietnamese-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('./fonts/geist-mono-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('./fonts/geist-mono-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('./fonts/geist-mono-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('./fonts/geist-mono-cyrillic-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('./fonts/geist-mono-vietnamese-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('./fonts/space-grotesk-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('./fonts/space-grotesk-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('./fonts/space-grotesk-vietnamese-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}

/* ---- Tokens ---- */
:root {
  --bg: #08080F;
  --fg: rgb(242, 240, 247);
  --muted: rgb(160, 159, 180);
  --muted-dim: rgb(110, 108, 133);
  --card: rgb(20, 20, 31);
  --card-dark: rgb(12, 12, 22);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.24);
  --pink: oklch(0.68 0.2 350);
  --pink-link: oklch(0.72 0.19 350);
  --pink-link-hover: oklch(0.82 0.15 350);
  --amber: oklch(0.8 0.15 75);
  --cyan: oklch(0.75 0.13 210);

  --font-body: Geist, Helvetica, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'Geist Mono', monospace;
}

/* ---- Reset ---- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
}
h1, h2, h3, p { margin: 0; }
a { color: var(--pink-link); text-decoration: none; }
a:hover { color: var(--pink-link-hover); text-decoration: underline; }
::selection { background: oklch(0.68 0.2 350 / 0.35); }
img, svg { max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
}

/* ---- Layout shell ---- */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.container {
  width: 100%;
  max-width: 1160px;
  padding-left: 32px;
  padding-right: 32px;
}

/* ---- Nav ---- */
.nav {
  width: 100%;
  max-width: 1160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.nav-link {
  font-size: 15px;
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 999px;
}
.nav-link:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}
.nav-cta {
  font-size: 15px;
  font-weight: 500;
  color: rgb(20, 4, 26);
  background: var(--pink);
  padding: 10px 20px;
  border-radius: 999px;
}
.nav-cta:hover {
  background: oklch(0.75 0.19 350);
  text-decoration: none;
}

/* ---- Buttons ---- */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fg);
  background: #000;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 22px;
}
.btn-store:hover {
  border-color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}
.btn-store-mark {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  font-size: 26px;
  line-height: 1;
}
.btn-store-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.btn-store-eyebrow {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.btn-store-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.btn-secondary {
  font-size: 16px;
  font-weight: 500;
  color: var(--fg);
  background: rgb(30, 30, 45);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 15px 26px;
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgb(38, 38, 56);
  text-decoration: none;
}

/* ---- Footer ---- */
.footer {
  width: 100%;
  max-width: 1160px;
  padding: 24px 32px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  border-top: 1px solid var(--border);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.footer-links a,
.footer-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.footer-links a:hover { color: var(--fg); }
.footer-tag { color: var(--muted-dim); }

/* ---- Legal / prose pages (privacy, terms) ---- */
.legal {
  width: 100%;
  max-width: 720px;
  padding: 24px 32px 96px;
}
.legal-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted-dim);
  text-transform: uppercase;
}
.legal-title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.legal-updated {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted-dim);
}
.legal-intro {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}
.legal section {
  margin-top: 44px;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.legal p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.legal ul {
  margin: 12px 0 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.legal li + li { margin-top: 6px; }
.legal a { color: var(--pink-link); }
.legal strong { color: var(--fg); font-weight: 600; }

@media (max-width: 640px) {
  .nav { padding: 20px 20px; }
  .container, .footer, .legal { padding-left: 20px; padding-right: 20px; }
  .legal { padding-top: 12px; padding-bottom: 64px; }
}
