@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-latin-800.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --background: #f7f8fc;
  --surface: #ffffff;
  --text: #171b2a;
  --muted: #596176;
  --accent: #3155d9;
  --accent-hover: #2443b0;
  --coral: #ff5a36;
  --border: #e1e5ef;
  --spotify: #1db954;
  --spotify-text: #102819;
  font-family: "Plus Jakarta Sans", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--background);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.6; }
a { color: inherit; text-underline-offset: 0.25em; }
a:focus-visible { outline: 3px solid var(--accent-hover); outline-offset: 5px; }
::selection { color: var(--surface); background: var(--accent); }
h1, h2, h3, p { overflow-wrap: anywhere; }
.site-shell { width: min(100% - 80px, 1280px); margin-inline: auto; }
.skip-link { position: absolute; top: 16px; left: 16px; z-index: 10; padding: 12px 20px; border-radius: 12px; color: var(--surface); background: var(--accent); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; flex-shrink: 0; align-items: center; gap: 13px; border-radius: 14px; text-decoration: none; }
.brand-logo { display: block; flex-shrink: 0; width: 44px; height: 44px; }
.brand-name { font-size: 1rem; line-height: 1.15; font-weight: 800; letter-spacing: -0.025em; }
.header-submit { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-size: 0.875rem; font-weight: 600; text-align: center; text-decoration: none; transition: color 180ms ease, border-color 180ms ease, background 180ms ease; }
.header-submit:hover { color: var(--accent); border-color: var(--accent); background: #eef1ff; }

.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 36px; padding: 58px 48px 62px; border: 1px solid #e2e7f7; border-radius: 28px; background: radial-gradient(ellipse at 100% 0%, #ffdacc 0%, transparent 48%), radial-gradient(ellipse at 80% 100%, #d9e0ff 0%, transparent 50%), #eef2ff; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; top: -150px; right: -95px; border: 64px solid rgb(255 255 255 / 40%); border-radius: 50%; pointer-events: none; }
.hero-copy { min-width: 0; }
.eyebrow { margin: 0 0 20px; color: var(--accent-hover); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.hero .eyebrow::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--coral); }
h1 { margin: 0; font-size: clamp(2.5rem, 5.5vw, 5rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; word-spacing: 0.08em; }
h1 span { color: var(--accent); }
.hero-description { max-width: 510px; color: var(--muted); margin: 24px 0 0; font-size: 1.0625rem; line-height: 1.7; }
.hero-stat { flex: 0 0 226px; margin: 0; padding: 26px 24px; border: 1px solid rgb(255 255 255 / 90%); border-radius: 22px; background: rgb(255 255 255 / 90%); box-shadow: 0 12px 40px rgb(36 67 176 / 8%); }
.hero-stat strong { display: block; white-space: nowrap; color: var(--accent); font-size: 3.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.hero-stat span { display: block; max-width: 150px; margin-top: 10px; color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
.hero-stat:empty { display: none; }

.collection { margin-top: 48px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 25px; }
.section-heading h2 { margin: 0; font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.035em; }
.section-heading p { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font-size: 0.875rem; }
.playlist-count { display: inline-grid; place-items: center; min-width: 31px; min-height: 29px; padding: 2px 8px; border-radius: 9px; color: var(--accent-hover); background: #e9edff; font-size: 0.8125rem; font-weight: 800; }
.playlist-count:empty { display: none; }
.playlist-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.playlist-card { min-width: 0; display: flex; flex-direction: column; padding: 12px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: 0 3px 12px rgb(23 27 42 / 3%); transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
.playlist-card:focus-within { border-color: var(--accent); box-shadow: 0 10px 28px rgb(49 85 217 / 12%); }
.playlist-artwork { overflow: hidden; border-radius: 12px; aspect-ratio: 1; background: #eef0f5; }
.playlist-cover { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform 240ms ease; }
.playlist-details { flex: 1; display: flex; flex-direction: column; align-items: stretch; padding: 18px 5px 6px; }
.playlist-details h3 { margin: 0 0 8px; font-size: 1rem; line-height: 1.4; font-weight: 800; letter-spacing: -0.015em; }
.playlist-followers { margin: auto 0 18px; color: var(--muted); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.spotify-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 12px; border-radius: 999px; color: var(--spotify-text); background: var(--spotify); font-size: 0.875rem; line-height: 1.35; font-weight: 600; text-align: center; text-decoration: none; transition: background 180ms ease; }
.spotify-link:hover { background: #1ed760; }
.play-symbol { flex: 0 0 18px; display: grid; place-items: center; width: 18px; height: 18px; padding-left: 2px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 0.5rem; }
.data-note { margin: 23px 0 0; color: var(--muted); font-size: 0.8125rem; }

.submission { display: flex; justify-content: space-between; align-items: center; gap: 36px; margin-top: 56px; padding: 42px 44px; border-radius: 24px; color: var(--surface); background: linear-gradient(115deg, #3155d9, #253b9c); }
.submission > div { min-width: 0; }
.submission .eyebrow { margin-bottom: 12px; color: var(--surface); }
.submission h2 { max-width: 560px; margin: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.035em; }
.submission p:last-child { margin: 14px 0 0; color: var(--surface); font-size: 0.9375rem; }
.submit-button { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 25px; border-radius: 999px; color: var(--text); background: var(--surface); font-weight: 600; text-align: center; text-decoration: none; transition: background 180ms ease, transform 180ms ease; }
.submit-button:hover { background: #e9edff; transform: translateY(-2px); }
.submission a:focus-visible { outline-color: var(--surface); }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 32px; padding: 26px 0 34px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.8125rem; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 26px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-weight: 600; text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.noscript-message { padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.noscript-message a { color: var(--accent-hover); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .playlist-card:hover { transform: translateY(-5px); border-color: #c6cfee; box-shadow: 0 14px 32px rgb(23 27 42 / 10%); }
  .playlist-card:hover .playlist-cover { transform: scale(1.04); }
}

@media (max-width: 1099px) {
  .site-shell { width: calc(100% - 64px); }
  .playlist-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .hero { gap: 24px; padding: 44px 32px; }
  .hero-stat { flex-basis: 200px; padding: 24px 20px; }
  .hero-stat strong { font-size: 3rem; }
}

@media (max-width: 959px) {
  .hero { flex-direction: column; align-items: flex-start; }
  h1 { font-size: clamp(2.5rem, 7vw, 4.25rem); }
  .hero-stat { flex-basis: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 16px 20px; }
  .hero-stat strong { font-size: 2.5rem; }
  .hero-stat span { max-width: none; margin: 0; }
}

@media (max-width: 799px) {
  .site-shell { width: calc(100% - 48px); }
  .site-header { min-height: 96px; }
  .hero { padding: 38px 30px; border-radius: 24px; }
  .collection { margin-top: 36px; }
  .playlist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .submission { align-items: flex-start; flex-direction: column; gap: 24px; margin-top: 40px; padding: 32px; }
}

@media (max-width: 479px) {
  .site-shell { width: calc(100% - 32px); }
  .site-header { min-height: 88px; gap: 10px; }
  .wordmark { gap: 9px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-name { font-size: 0.8125rem; }
  .header-submit { padding: 9px 12px; font-size: 0.75rem; }
  .hero { gap: 26px; padding: 30px 20px; border-radius: 20px; }
  .hero::before { width: 240px; height: 240px; top: -130px; right: -130px; border-width: 44px; }
  .eyebrow { font-size: 0.6875rem; letter-spacing: 0.07em; margin-bottom: 18px; }
  .hero .eyebrow::before { width: 6px; height: 6px; margin-right: 7px; }
  h1 { font-size: clamp(2rem, 8.8vw, 2.625rem); letter-spacing: -0.035em; }
  .hero-description { font-size: 1rem; margin-top: 20px; line-height: 1.6; }
  .desktop-break { display: none; }
  .hero-stat { width: 100%; padding: 16px; gap: 6px 14px; border-radius: 16px; }
  .hero-stat strong { font-size: 2.25rem; }
  .hero-stat span { flex: 1 1 105px; font-size: 0.75rem; }
  .section-heading { gap: 12px; margin-bottom: 20px; }
  .section-heading h2 { max-width: 65%; font-size: 1.375rem; }
  .section-heading p { gap: 6px; font-size: 0.75rem; }
  .playlist-count { min-width: 25px; min-height: 26px; padding-inline: 6px; font-size: 0.75rem; }
  .playlist-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .playlist-details { padding: 18px 7px 7px; }
  .playlist-details h3 { font-size: 1.125rem; }
  .submission { padding: 28px 24px; border-radius: 20px; }
  .submission h2 { font-size: 1.875rem; }
  .submit-button { width: 100%; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 4px; margin-top: 26px; padding: 24px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .playlist-card:hover, .playlist-card:hover .playlist-cover, .submit-button:hover { transform: none; }
}
