:root {
  --bg: #050507;
  --bg-soft: rgba(18, 18, 24, 0.72);
  --bg-solid: #101018;
  --surface: rgba(10, 10, 13, 0.94);
  --panel: rgba(18, 18, 24, 0.86);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f6f5f2;
  --muted: #a3a0ac;
  --soft: #d6d1dc;
  --sidebar-width: 248px;
  --topbar-height: 64px;
  --topbar-title-slot: 180px;
  --topbar-action-slot: 150px;
  --topbar-search-min: 220px;
  --topbar-search-max: 640px;
  --accent: #ff2f8f;
  --accent-strong: #ff4ca0;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #050507;
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

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

.login-page {
  height: 100vh;
  min-height: 100vh;
  display: grid;
  grid-template-rows: var(--topbar-height) 1fr;
  isolation: isolate;
}

.topbar {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  align-items: center;
  min-height: var(--topbar-height);
  gap: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: #0d0d11;
}

.brand {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}

.brand-logo {
  width: 132px;
  height: 32px;
  object-fit: contain;
}

.topbar-main {
  min-height: 64px;
  display: grid;
  grid-template-columns: var(--topbar-title-slot) minmax(220px, 1fr) var(--topbar-action-slot);
  align-items: center;
  gap: 14px;
  padding: 10px 24px;
}

.topbar-title-slot {
  width: var(--topbar-title-slot);
  min-width: 0;
}

.search-shell {
  position: relative;
  width: 100%;
  min-width: 0;
}

.public-search-input {
  width: min(50%, var(--topbar-search-max));
  min-width: var(--topbar-search-min);
  max-width: var(--topbar-search-max);
  min-height: 44px;
  display: block;
  padding: 8px 42px 8px 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background-color: #0a0a0c;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%238c8c92' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' d='M11.5 11.5 15 15M7 12.5A5.5 5.5 0 1 0 7 1.5a5.5 5.5 0 0 0 0 11Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px center;
  box-shadow: none;
  outline: 0;
  color: var(--text);
  box-sizing: border-box;
  justify-self: center;
  margin: 0 auto;
  font-size: 16px;
  line-height: normal;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  -webkit-appearance: none;
  appearance: none;
}

.public-search-input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.public-search-input:focus {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.public-search-input::-webkit-search-decoration,
.public-search-input::-webkit-search-cancel-button,
.public-search-input::-webkit-search-results-button,
.public-search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  right: auto;
  width: 50%;
  min-width: var(--topbar-search-min);
  max-width: var(--topbar-search-max);
  transform: translateX(-50%);
  z-index: 30;
  display: grid;
  gap: 22px;
  max-height: min(70vh, 760px);
  overflow: auto;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(9, 9, 13, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) rgba(255, 255, 255, 0.04);
}

.search-dropdown[hidden] {
  display: none;
}

.search-dropdown::-webkit-scrollbar {
  width: 10px;
}

.search-dropdown::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

.search-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.04);
}

.search-dropdown-empty {
  padding: 8px 2px 0;
  color: var(--muted);
}

.search-group {
  display: grid;
  gap: 10px;
}

.search-group-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.42);
}

.search-group-list {
  display: grid;
  gap: 8px;
}

.search-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  justify-items: start;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.search-item:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.search-item-cover,
.search-item-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  justify-self: start;
}

.search-item-cover {
  background: rgba(255, 255, 255, 0.05);
}

.search-item-cover-fallback {
  display: block;
}

.search-item-avatar {
  align-self: center;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #6e7488, #3f4351);
  color: transparent;
}

.search-item-avatar-fallback {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.search-item-body {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.search-item-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-item-match {
  color: #2f9fff;
}

.search-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.search-item-tags {
  color: var(--soft);
}

.login-cta {
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  width: 100%;
  max-width: var(--topbar-action-slot);
  justify-self: end;
  box-shadow: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.login-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: none;
}

.shell {
  min-height: 0;
  height: calc(100vh - var(--topbar-height));
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  gap: 0;
  padding: 0;
  background: #000;
}

.sidebar {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 14px 16px 18px;
  border-right: 1px solid var(--line);
  background: #010101;
}

.store-links {
  display: grid;
  gap: 16px;
  align-content: start;
  justify-items: center;
  min-height: 139px;
  margin-top: 16px;
}

.store-link {
  min-height: 0;
  width: 192px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  transition:
    transform 160ms ease,
    filter 160ms ease;
}

.store-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.store-link img {
  width: 192px;
  height: 58px;
  max-width: none;
  object-fit: fill;
}

.sidebar-artists {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  flex: 1;
  margin-top: 18px;
}

.sidebar-section-title {
  margin: 0;
  padding: 0 12px;
  color: #f4efe6;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.sidebar-section-title-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0 12px;
  color: #f4efe6;
  text-decoration: none;
  transition: none;
}

.sidebar-section-title-link:hover {
  color: #f4efe6;
}

.sidebar-section-title-arrow {
  width: 6px;
  height: 10px;
  flex: 0 0 auto;
  opacity: 0.88;
  transition: transform 160ms ease, opacity 160ms ease, filter 160ms ease;
}

.sidebar-section-title-link:hover .sidebar-section-title-arrow {
  transform: translateX(3px);
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(216, 192, 137, 0.32));
}

.sidebar-artists-list {
  min-height: 0;
  height: 100%;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 6px;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 25, 132, 0.52) rgba(255, 255, 255, 0.04);
}

.sidebar-artists-list::-webkit-scrollbar {
  width: 10px;
}

.sidebar-artists-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

.sidebar-artists-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 25, 132, 0.82), rgba(255, 25, 132, 0.52));
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.04);
}

.sidebar-artist {
  border: 0;
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.sidebar-artist:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-artist.active {
  background: rgba(255, 255, 255, 0.14);
}

.sidebar-artist-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  background: linear-gradient(145deg, #6e7488, #3f4351);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.sidebar-artist-fallback {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #6e7488, #3f4351);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.sidebar-artist-body {
  min-width: 0;
  display: block;
}

.sidebar-artist-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 500;
}

.hero {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  display: block;
  height: 100%;
  min-height: 0;
  position: relative;
  overflow: hidden;
  background: #000;
}

.hero[hidden] {
  display: none;
}

.hero::before {
  content: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(360px, 440px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 1.5vw, 24px);
  padding: clamp(18px, 3.5vw, 44px) clamp(20px, 3vw, 40px) 72px clamp(24px, 3vw, 52px);
}

.hero-copy {
  min-width: 0;
  width: var(--hero-copy-width, 480px);
  max-width: var(--hero-copy-width, 480px);
  margin-left: 0;
}

.hero-logo {
  width: var(--hero-logo-width, clamp(88px, 8vw, 120px));
  height: auto;
  margin-bottom: var(--hero-logo-gap, clamp(54px, 7vh, 104px));
}

.hero-copy h1 {
  width: var(--hero-title-width, min(100%, 360px));
  max-width: 100%;
  margin: 0;
  color: #ffffff;
  font-family: "Google Sans", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 56px;
  font-weight: 500;
  font-style: normal;
  line-height: 62px;
  letter-spacing: 0;
}

.hero-copy p {
  width: var(--hero-subtitle-width, min(100%, 320px));
  max-width: 100%;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Google Sans", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0;
}

.hero-visual {
  position: relative;
  justify-self: end;
  align-self: center;
  pointer-events: none;
  width: var(--hero-visual-size, min(100%, 840px));
  height: var(--hero-visual-size, min(100%, 840px));
  max-width: 100%;
  aspect-ratio: 1;
  background-image: url("./assets/login/landing-background.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.landing-links {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 24px;
  width: min(100% - 48px, 760px);
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
  line-height: 1.25;
}

.landing-links a {
  transition: color 160ms ease;
}

.landing-links a:hover {
  color: rgba(255, 255, 255, 0.88);
}

.login-page.doc-mode .hero {
  display: none;
}

.login-page.doc-mode .landing-links {
  display: none;
}

.login-page.doc-mode .legal-document {
  grid-column: 2;
}

.legal-document {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 48px) 28px;
  background: #000;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 25, 132, 0.52) rgba(255, 255, 255, 0.04);
}

.legal-document[hidden] {
  display: none;
}

.legal-document::-webkit-scrollbar {
  width: 8px;
}

.legal-document::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

.legal-document::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 25, 132, 0.82), rgba(255, 25, 132, 0.52));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.legal-document::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 25, 132, 0.96), rgba(255, 25, 132, 0.64));
}

.legal-document::-webkit-scrollbar-corner {
  background: transparent;
}

.legal-document-inner {
  width: min(100%, 640px);
  margin: 0 auto;
  padding-right: 24px;
}

.legal-document-backbar {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 0;
  padding: clamp(24px, 4vw, 56px) 0 28px;
  background: #000;
}

.legal-document-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-family: "Google Sans", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.25px;
  transition: color 160ms ease;
}

.legal-document-kicker:hover {
  color: rgba(255, 255, 255, 0.78);
}

.legal-document-kicker:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.legal-document-back-arrow {
  width: 6px;
  height: 10px;
  flex: 0 0 auto;
  opacity: 0.72;
  transform: scaleX(-1);
  transition: transform 160ms ease, opacity 160ms ease;
}

.legal-document-kicker:hover .legal-document-back-arrow {
  opacity: 1;
  transform: scaleX(-1) translateX(3px);
}

.legal-document-title {
  margin: 0;
  color: #ffffff;
  font-family: "Google Sans", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 56px;
  font-weight: 500;
  font-style: normal;
  line-height: 62px;
  letter-spacing: 0;
}

.legal-document-meta {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-family: "Google Sans", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  white-space: pre-line;
}

.legal-document-body {
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.94);
  font-family: "Google Sans", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
}

.legal-document-body > p,
.legal-document-body > h2 {
  margin: 0 0 22px;
}

.legal-document-body > h2 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0;
}

.legal-document-body > p:last-child,
.legal-document-body > h2:last-child {
  margin-bottom: 0;
}

.legal-document-body .legal-bullet {
  padding-left: 0;
  text-indent: 0;
}

.mobile-page {
  display: none;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 24px;
}

.login-modal.is-open {
  display: grid !important;
}

.login-modal[hidden] {
  display: none !important;
}

.login-modal:not(.is-open) {
  display: none !important;
}

.login-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.login-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: rgba(12, 12, 16, 0.96);
  box-shadow: var(--shadow);
}

.login-modal-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 2px;
}

.login-modal-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.login-modal-title {
  font-size: 22px;
  font-weight: 700;
}

.login-modal-subtitle {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.login-field input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: 0;
}

.login-field input:focus {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.login-modal-actions {
  display: grid;
  gap: 10px;
}

.login-submit {
  min-height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-weight: 700;
}

.login-error {
  margin: 0;
  min-height: 18px;
  color: #ff8ea7;
  font-size: 13px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1200px) {
  .hero {
    height: 100%;
    min-height: 0;
  }

  .hero-layout {
    display: block;
    padding: 0;
  }

  .hero-copy {
    position: absolute;
    left: var(--hero-copy-left, 8.8%);
    top: var(--hero-copy-top, 47%);
    transform: translateY(-50%);
    width: var(--hero-copy-width, min(34%, 460px));
    max-width: var(--hero-copy-width, 460px);
    margin-left: 0;
  }

  .hero-logo {
    width: var(--hero-logo-width, clamp(88px, 8%, 120px));
    margin-bottom: var(--hero-logo-gap, 7.5%);
  }

  .hero-copy h1 {
    font-size: 56px;
    font-weight: 500;
    line-height: 62px;
  }

  .hero-copy p {
    font-size: 16px;
    line-height: 22px;
    width: var(--hero-subtitle-width, min(100%, 320px));
  }

  .hero-visual {
    position: absolute;
    right: var(--hero-visual-right, 4.2%);
    top: var(--hero-visual-top, 10.5%);
    width: var(--hero-visual-size, 52%);
    height: var(--hero-visual-size, 52%);
    max-width: 840px;
    max-height: 840px;
    aspect-ratio: 1;
  }

  .legal-document-inner {
    margin: 0 auto;
  }
}

@media (min-width: 921px) {
  .hero-layout {
    display: block;
    padding: 0;
  }

  .hero-copy {
    position: absolute;
    left: var(--hero-copy-left, 8.8%);
    top: var(--hero-copy-top, 47%);
    transform: translateY(-50%);
    width: var(--hero-copy-width, min(34%, 460px));
    max-width: var(--hero-copy-width, 460px);
  }

  .hero-logo {
    width: var(--hero-logo-width, clamp(85px, 7.3%, 104px));
    margin-bottom: var(--hero-logo-gap, 7.5%);
  }

  .hero-visual {
    position: absolute;
    right: var(--hero-visual-right, 4.2%);
    top: var(--hero-visual-top, 10.5%);
    width: var(--hero-visual-size, 52%);
    height: var(--hero-visual-size, 52%);
    max-width: 840px;
    max-height: 840px;
    aspect-ratio: 1;
  }
}

@media (max-width: 920px) {
  html,
  body {
    overflow: auto;
  }

  .login-page {
    grid-template-rows: auto 1fr;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand {
    border-right: 0;
  }

  .shell {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    padding: 0;
  }

  .topbar-main {
    grid-template-columns: minmax(0, 1fr) var(--topbar-action-slot);
    padding: 10px 12px;
  }

  .topbar-title-slot {
    display: none;
  }

  .search-shell {
    width: 100%;
    min-width: 0;
  }

  .public-search-input {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .search-dropdown {
    left: 0;
    width: 100%;
    min-width: 0;
    max-width: none;
    transform: none;
  }

  .sidebar {
    order: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    align-items: start;
    gap: 18px;
    padding: 14px 16px 18px;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .sidebar-artists {
    grid-column: 1 / -1;
    max-height: 280px;
    margin-top: 0;
  }

  .hero {
    height: auto;
    min-height: 620px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 12px;
    padding: 30px 16px 72px;
  }

  .hero-copy {
    width: min(100%, 560px);
    margin: 0;
    text-align: center;
  }

  .hero-logo {
    margin: 0 auto 42px;
  }

  .hero-copy h1,
  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    width: min(100%, 500px);
    opacity: 0.72;
  }

  .landing-links {
    bottom: 18px;
    gap: 10px 18px;
    font-size: 13px;
  }

  .legal-document {
    padding: 26px 16px 20px;
  }

  .legal-document-inner {
    width: min(100%, 560px);
    margin-left: 0;
    padding-right: 0;
  }

  .legal-document-title {
    font-size: 40px;
    line-height: 46px;
  }

  .legal-document-meta,
  .legal-document-body {
    font-size: 16px;
    line-height: 22px;
  }
}

@media (max-width: 640px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  .brand {
    justify-self: start;
    min-height: auto;
    padding: 10px 12px;
  }

  .topbar-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .topbar-title-slot {
    display: none;
  }

  .search-shell {
    width: 100%;
    min-width: 0;
    order: 2;
  }

  .public-search-input {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .login-cta {
    justify-self: start;
  }

  .search-dropdown {
    left: 0;
    width: 100%;
    min-width: 0;
    max-width: none;
    transform: none;
    border-radius: 24px;
  }

  .sidebar {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px 16px 28px;
  }

  .store-link {
    min-height: 0;
    width: 180px;
    height: 54px;
  }

  .store-link img {
    width: 180px;
    height: 54px;
  }

  .hero {
    height: auto;
    min-height: 560px;
  }

  .hero-logo {
    width: 124px;
    margin-bottom: 36px;
  }

  .hero-copy h1 {
    font-size: 40px;
    font-weight: 500;
    line-height: 46px;
  }

  .hero-copy p {
    margin-top: 18px;
    font-size: 17px;
    line-height: 22px;
  }

  .hero-visual {
    width: min(100%, 420px);
    opacity: 0.64;
  }

  .landing-links {
    width: min(100% - 24px, 440px);
    gap: 8px 14px;
  }

  .legal-document {
    padding: 22px 14px 18px;
  }

  .legal-document-title {
    font-size: 34px;
    line-height: 40px;
  }

  .legal-document-meta,
  .legal-document-body {
    font-size: 15px;
    line-height: 22px;
  }
}
