:root {
  --tlf-bg: hsl(var(--background));
  --tlf-surface: hsl(var(--card));
  --tlf-surface-soft: hsl(var(--muted));
  --tlf-border: hsl(var(--border));
  --tlf-border-soft: hsl(var(--input));
  --tlf-text: hsl(var(--foreground));
  --tlf-muted: hsl(var(--muted-foreground));
  --tlf-cyan: hsl(var(--primary));
  --tlf-blue: #58b8f8;
  --tlf-purple: hsl(var(--accent));
  --tlf-green: #59c466;
  --tlf-youtube: #ff332c;
  --tlf-footer-height: 88px;
}

html {
  background: var(--tlf-bg);
}

/* background:
  radial-gradient(circle at 51% 8%, hsl(var(--primary) / 0.14), transparent 21rem),
  radial-gradient(circle at 62% 67%, hsl(var(--secondary) / 0.18), transparent 26rem),
  radial-gradient(circle at 39% 31%, hsl(var(--accent) / 0.12), transparent 27rem),
  var(--tlf-bg); */
.tlf-body {
  min-width: 320px;
  color: var(--tlf-text);
  font-family: Archivo, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tlf-main {
  width: 100%;
  padding: 0 18px;
}

.tlf-main > .rounded,
.tlf-main > .tlf-flash {
  max-width: 1040px;
  margin: 16px auto 0;
}

.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;
}

.tlf-home {
  position: relative;
  min-height: calc(100vh - var(--tlf-footer-height));
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.tlf-home__content {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  padding: 64px 0 20px;
  text-align: center;
}

.tlf-home__topbar {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.tlf-home__topbar-link {
  color: var(--tlf-muted);
  font-weight: 600;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.tlf-home__topbar-link:hover {
  color: var(--tlf-text);
}

.tlf-home__topbar-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--tlf-cyan);
  color: #06181a;
  font-weight: 800;
}

.tlf-home__topbar form {
  display: inline;
}

@media (max-width: 520px) {
  .tlf-home__topbar {
    top: 14px;
    right: 14px;
    gap: 12px;
    font-size: 13px;
  }
}

.tlf-glow {
  position: absolute;
  width: 44rem;
  height: 44rem;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.2;
  pointer-events: none;
}

.tlf-glow--teal {
  top: -12rem;
  left: 24%;
  background: #4a5a1f;
}

.tlf-glow--purple {
  right: 8%;
  bottom: 4rem;
  background: #3a4718;
}

.tlf-logo,
.tlf-mini-logo {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
}

.tlf-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  align-items: center;
  gap: 7px;
  border-radius: 20px;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-glow-primary);
}

.tlf-logo span,
.tlf-mini-logo span {
  display: block;
  width: 32px;
  height: 4px;
  border-radius: 10px;
  background: #f7fbfb;
}

.tlf-logo i,
.tlf-mini-logo i {
  position: absolute;
  right: 21px;
  bottom: 21px;
  width: 12px;
  height: 12px;
  border: 4px solid #f7fbfb;
  border-top: 0;
  border-left: 0;
  border-radius: 0 0 12px 12px;
}

.tlf-brand {
  margin: 0;
  font-size: clamp(48px, 5.4vw, 72px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  color: #f6f7f7;
}

.tlf-brand span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tlf-tagline,
.tlf-subtagline {
  margin: 0;
  font-weight: 500;
}

.tlf-tagline {
  margin-top: 16px;
  color: var(--tlf-muted);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.22;
}

.tlf-subtagline {
  color: var(--tlf-cyan);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.18;
}

.tlf-youtube {
  color: var(--tlf-youtube);
}

.tlf-spotify,
.tlf-green {
  color: var(--tlf-green);
}

.tlf-cyan {
  color: var(--tlf-cyan);
}

.tlf-purple {
  color: #d9ff52;
}

.tlf-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.tlf-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--tlf-border);
  border-radius: 999px;
  background: rgba(20, 20, 25, 0.78);
  color: var(--tlf-muted);
  font-size: 14px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.tlf-pill__icon {
  margin-right: 8px;
  font-size: 16px;
  line-height: 1;
}

.tlf-home-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 22px auto 0;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(217, 255, 82, 0.28);
  border-radius: 999px;
  background: rgba(8, 13, 16, 0.72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.tlf-home-cta p {
  margin: 0;
  color: #d6eef0;
  font-size: 15px;
  font-weight: 700;
}

.tlf-home-cta div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.tlf-home-cta a,
.tlf-legal a {
  color: var(--tlf-cyan);
  text-decoration: none;
}

.tlf-home-cta__primary,
.tlf-home-cta__secondary {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 800;
}

.tlf-home-cta__primary {
  background: var(--gradient-primary);
  color: #041010 !important;
}

.tlf-home-cta__secondary {
  border: 1px solid var(--tlf-border-soft);
  color: var(--tlf-cyan);
}

.tlf-home-cta a:hover,
.tlf-legal a:hover {
  color: #e8ff7a;
}

.tlf-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  width: min(100%, 500px);
  margin: 32px auto 0;
  color: var(--tlf-muted);
}

.tlf-step {
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.tlf-step__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  font-size: 24px;
  font-weight: 800;
  transition: transform 180ms ease;
}

.tlf-step__icon:hover {
  transform: scale(1.08);
}

.tlf-step__icon--youtube {
  border: 1px solid rgba(255, 51, 44, 0.55);
  background: rgba(255, 51, 44, 0.1);
  color: var(--tlf-youtube);
}

.tlf-step__icon--tracklist {
  border: 1px solid rgba(217, 255, 82, 0.48);
  background: rgba(217, 255, 82, 0.1);
}

.tlf-step__icon--spotify {
  border: 1px solid rgba(89, 196, 102, 0.46);
  background: rgba(89, 196, 102, 0.1);
  color: var(--tlf-green);
}

.tlf-step__asset {
  width: 28px;
  height: 28px;
}

.tlf-step__arrow {
  padding-top: 17px;
  color: #5e5b68;
  font-size: 22px;
}

.tlf-back-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 54px;
  color: var(--tlf-muted);
  font-size: clamp(16px, 1vw, 22px);
  font-weight: 700;
  text-decoration: none;
}

.tlf-back-link,
.tlf-legal .tlf-back-link,
.tlf-developers .tlf-back-link {
  color: var(--tlf-muted);
}

.tlf-legal {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 38px 0 120px;
  color: var(--tlf-muted);
  font-size: clamp(16px, 1vw, 22px);
  line-height: 1.48;
}

.tlf-legal h1 {
  margin: 0 0 10px;
  color: var(--tlf-text);
  font-size: clamp(40px, 2.7vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.tlf-updated {
  margin: 0 0 62px;
  font-size: clamp(16px, 1vw, 22px);
}

.tlf-legal section {
  margin-top: 46px;
}

.tlf-legal h2,
.tlf-legal h3 {
  color: #ebebee;
  font-weight: 800;
  letter-spacing: 0;
}

.tlf-legal h2 {
  margin: 0 0 28px;
  font-size: clamp(24px, 1.5vw, 32px);
}

.tlf-legal h3 {
  margin: 30px 0 14px;
  font-size: clamp(19px, 1.25vw, 27px);
}

.tlf-legal p {
  margin: 0 0 18px;
}

.tlf-legal ul {
  margin: 0;
  padding-left: 24px;
  list-style: disc;
}

.tlf-legal li + li {
  margin-top: 9px;
}

.tlf-developers {
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: 72px 0 120px;
}

.tlf-panel {
  border: 1px solid var(--tlf-border);
  border-radius: 24px;
  background: rgba(18, 18, 23, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.012);
}

.tlf-dev-hero {
  padding: 38px;
}

.tlf-dev-heading {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.tlf-dev-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  border: 1px solid rgba(217, 255, 82, 0.45);
  border-radius: 14px;
  background: rgba(217, 255, 82, 0.14);
  color: var(--tlf-cyan);
  font-size: 24px;
  font-weight: 900;
}

.tlf-dev-heading h1 {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0;
  color: var(--tlf-text);
  font-size: clamp(34px, 2.1vw, 48px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
}

.tlf-dev-heading h1 span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  background: #d9ff52;
  color: #08080a;
  font-size: 15px;
  font-weight: 900;
}

.tlf-dev-heading p {
  margin: 10px 0 0;
  color: var(--tlf-muted);
  font-size: clamp(17px, 1.1vw, 24px);
}

.tlf-notify {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid rgba(217, 255, 82, 0.31);
  border-radius: 16px;
  background: rgba(217, 255, 82, 0.065);
}

.tlf-notify p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: #e4e6e9;
  font-size: clamp(16px, 1vw, 21px);
  font-weight: 700;
}

.tlf-notify p span {
  color: var(--tlf-cyan);
}

.tlf-notify form {
  display: flex;
  gap: 12px;
  width: min(100%, 680px);
}

.tlf-notify input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  outline: none;
  background: #070708;
  color: var(--tlf-text);
  font-size: 18px;
}

.tlf-notify button {
  min-width: 132px;
  border: 0;
  border-radius: 14px;
  background: #d9ff52;
  color: #0d1618;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.tlf-dev-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  margin-top: 28px;
}

.tlf-dev-grid .tlf-panel {
  min-height: 154px;
  padding: 28px;
}

.tlf-dev-grid h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--tlf-text);
  font-size: clamp(21px, 1.3vw, 29px);
  font-weight: 800;
  letter-spacing: 0;
}

.tlf-dev-grid h2 span {
  color: var(--tlf-cyan);
}

.tlf-dev-grid p,
.tlf-dev-grid li {
  color: var(--tlf-muted);
  font-size: clamp(16px, 1vw, 21px);
  line-height: 1.45;
}

.tlf-dev-grid ul {
  margin: 0;
  padding-left: 19px;
  list-style: disc;
}

.tlf-dev-grid li + li {
  margin-top: 8px;
}

.tlf-playlist-result {
  width: min(100%, 1320px);
  margin: 46px auto 0;
  text-align: left;
}

.tlf-result-error {
  width: min(100%, 760px);
  margin: 36px auto 0;
  padding: 22px 26px;
  border: 1px solid rgba(255, 72, 86, 0.42);
  border-radius: 18px;
  background: rgba(91, 14, 25, 0.55);
  color: #ffd6dc;
  font-size: 18px;
  text-align: center;
}

.tlf-result {
  margin-top: 72px;
}

.tlf-result__header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.tlf-result__header h2 {
  margin: 0;
  color: var(--tlf-text);
  font-size: clamp(32px, 2vw, 48px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
}

.tlf-result__header p {
  margin: 8px 0 0;
  color: var(--tlf-muted);
  font-size: 18px;
}

.tlf-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid var(--tlf-border);
  border-radius: 14px;
  background: rgba(11, 11, 14, 0.72);
  color: var(--tlf-text);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.tlf-result__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 32px;
  align-items: start;
}

.tlf-tracklist-card {
  padding: 36px;
}

.tlf-tracklist-card__title {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--tlf-border);
}

.tlf-mini-logo {
  width: 56px;
  height: 56px;
  align-items: center;
  gap: 4px;
  border-radius: 14px;
  background: linear-gradient(135deg, #d9ff52, #e8ff7a);
}

.tlf-mini-logo span {
  width: 25px;
  height: 3px;
}

.tlf-mini-logo i {
  right: 14px;
  bottom: 14px;
  width: 9px;
  height: 9px;
  border-width: 3px;
}

.tlf-tracklist-card h3,
.tlf-spotify-card h3 {
  margin: 0;
  color: var(--tlf-text);
  font-size: clamp(23px, 1.4vw, 31px);
  font-weight: 800;
  letter-spacing: 0;
}

.tlf-tracklist-card p,
.tlf-spotify-card p {
  margin: 4px 0 0;
  color: var(--tlf-muted);
  font-size: 18px;
}

.tlf-track-list {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.tlf-track-list li {
  display: grid;
  grid-template-columns: 42px 58px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 86px;
  gap: 20px;
  padding: 0 22px;
  border: 1px solid var(--tlf-border);
  border-radius: 15px;
  background: rgba(17, 17, 22, 0.62);
}

.tlf-track-list__number {
  color: var(--tlf-muted);
  font-size: 18px;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.tlf-track-list__play {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: rgba(217, 255, 82, 0.18);
  color: var(--tlf-cyan);
  font-size: 26px;
}

.tlf-track-list__meta {
  min-width: 0;
}

.tlf-track-list__meta strong,
.tlf-track-list__meta small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tlf-track-list__meta strong {
  color: #e8e8eb;
  font-size: 21px;
  font-weight: 800;
}

.tlf-track-list__meta small {
  margin-top: 3px;
  color: var(--tlf-muted);
  font-size: 16px;
}

.tlf-track-list__time {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(217, 255, 82, 0.15);
  color: var(--tlf-cyan);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 18px;
  font-weight: 800;
}

.tlf-result__side {
  display: grid;
  gap: 24px;
}

.tlf-spotify-card {
  padding: 30px;
}

.tlf-spotify-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tlf-spotify-card h3 span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--tlf-green);
  color: #06250b;
  font-size: 20px;
}

.tlf-spotify-card p {
  margin: 50px 0 24px;
  text-align: center;
}

.tlf-spotify-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 13px;
  background: var(--tlf-green);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.tlf-rating-card {
  padding: 24px;
}

.tlf-like-button,
.tlf-rating-card button {
  border: 1px solid var(--tlf-border-soft);
  border-radius: 12px;
  background: #050506;
  color: #f1f1f2;
  font-weight: 800;
  cursor: pointer;
}

.tlf-like-button {
  min-height: 48px;
  padding: 0 18px;
  font-size: 17px;
}

.tlf-rating-card > div {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--tlf-border-soft);
  color: var(--tlf-muted);
  font-size: 16px;
}

.tlf-rating-card > div button {
  min-height: 42px;
  padding: 0 16px;
  font-size: 16px;
}

.tlf-misses {
  margin-top: 20px;
  color: var(--tlf-muted);
}

.tlf-misses summary {
  cursor: pointer;
  color: #e1e1e4;
  font-weight: 700;
}

.tlf-misses ul {
  margin: 12px 0 0;
  padding-left: 20px;
  list-style: disc;
}

@media (max-width: 1100px) {
  :root {
    --tlf-footer-height: 88px;
  }

  .tlf-home__content {
    padding-top: 76px;
  }

  .tlf-result__grid,
  .tlf-dev-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {
  :root {
    --tlf-footer-height: 112px;
  }

  .tlf-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .tlf-home__content {
    padding-top: 52px;
  }

  .tlf-logo {
    width: 78px;
    height: 78px;
    border-radius: 20px;
    margin-bottom: 28px;
  }

  .tlf-logo span {
    width: 30px;
    height: 4px;
  }

  .tlf-logo i {
    right: 20px;
    bottom: 20px;
    width: 12px;
    height: 12px;
    border-width: 4px;
  }

  .tlf-brand {
    font-size: 43px;
  }

  .tlf-badges {
    gap: 10px;
    margin-top: 22px;
  }

  .tlf-pill {
    min-height: 44px;
    padding: 0 18px;
  }

  .tlf-steps {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 32px;
  }

  .tlf-step__arrow {
    display: none;
  }

  .tlf-legal,
  .tlf-developers {
    padding-top: 42px;
  }

  .tlf-dev-hero,
  .tlf-dev-grid .tlf-panel,
  .tlf-tracklist-card,
  .tlf-spotify-card,
  .tlf-rating-card {
    padding: 22px;
    border-radius: 18px;
  }

  .tlf-dev-heading,
  .tlf-notify form,
  .tlf-result__header {
    flex-direction: column;
    align-items: stretch;
  }

  .tlf-track-list li {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px;
  }

  .tlf-track-list__play {
    display: none;
  }

  .tlf-track-list__meta strong {
    font-size: 17px;
  }

  .tlf-track-list__time {
    font-size: 14px;
  }

  .tlf-rating-card > div {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------- */
/* Pricing component (rendered inside the Developers / API page)              */
/* -------------------------------------------------------------------------- */
.tlf-pricing-panel {
  margin-top: 28px;
  padding: 38px;
}

.tlf-pricing__intro h2 {
  margin: 0;
  color: var(--tlf-text);
  font-size: clamp(26px, 1.8vw, 36px);
  font-weight: 800;
}

.tlf-pricing__intro p {
  margin: 10px 0 0;
  color: var(--tlf-muted);
  font-size: clamp(15px, 1vw, 19px);
}

.tlf-pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.tlf-pricing__grid--single {
  grid-template-columns: minmax(0, 420px);
}

.tlf-pricing__card {
  border: 1px solid var(--tlf-border);
  border-radius: 18px;
  background: rgba(9, 9, 12, 0.6);
  padding: 28px;
}

.tlf-pricing__card--featured {
  border-color: rgba(217, 255, 82, 0.45);
  background: rgba(217, 255, 82, 0.06);
}

.tlf-pricing__card h3 {
  margin: 0;
  color: var(--tlf-text);
  font-size: 20px;
  font-weight: 800;
}

.tlf-pricing__price {
  margin: 14px 0 0;
  color: var(--tlf-text);
  font-size: 34px;
  font-weight: 800;
}

.tlf-pricing__price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--tlf-muted);
}

.tlf-pricing__card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.tlf-pricing__card li {
  position: relative;
  padding-left: 22px;
  color: var(--tlf-muted);
  font-size: 15px;
}

.tlf-pricing__card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--tlf-cyan);
  font-weight: 800;
}

.tlf-pricing__cta {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  padding: 11px 20px;
  border: 0;
  border-radius: 12px;
  background: var(--tlf-cyan);
  color: #06181a;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

/* -------------------------------------------------------------------------- */
/* Auth pages (sign in / sign up)                                             */
/* -------------------------------------------------------------------------- */
.tlf-auth {
  display: flex;
  justify-content: center;
  padding: 64px 20px 96px;
}

.tlf-auth__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  width: min(100%, 940px);
  overflow: hidden;
  border: 1px solid var(--tlf-border);
  border-radius: 24px;
  background: rgba(18, 18, 23, 0.9);
}

.tlf-auth__form {
  padding: 44px;
}

.tlf-auth__form h1 {
  margin: 0;
  color: var(--tlf-text);
  font-size: clamp(26px, 2vw, 34px);
  font-weight: 800;
}

.tlf-auth__subtitle {
  margin: 8px 0 26px;
  color: var(--tlf-muted);
  font-size: 15px;
}

.tlf-auth__google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  border: 1px solid var(--tlf-border);
  border-radius: 12px;
  background: #ffffff;
  color: #1f2328;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.tlf-auth__google:hover {
  background: #f3f4f6;
}

.tlf-auth__divider {
  position: relative;
  margin: 22px 0;
  text-align: center;
}

.tlf-auth__divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--tlf-border);
}

.tlf-auth__divider span {
  position: relative;
  padding: 0 12px;
  background: rgba(18, 18, 23, 0.9);
  color: var(--tlf-muted);
  font-size: 13px;
}

.tlf-auth__fields {
  display: grid;
  gap: 16px;
}

.tlf-auth__fields label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.tlf-auth__fields label span {
  color: var(--tlf-muted);
  font-size: 13px;
  font-weight: 600;
}

.tlf-auth__fields input:not([type="submit"]) {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--tlf-border);
  border-radius: 12px;
  background: #070708;
  color: var(--tlf-text);
  font-size: 15px;
  outline: none;
}

.tlf-auth__fields input:not([type="submit"]):focus {
  border-color: var(--tlf-cyan);
}

.tlf-auth__submit:hover {
  background: #e8ff7a;
}

.tlf-auth__submit {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 4px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--tlf-cyan);
  color: #06181a;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.tlf-auth__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 22px;
  color: var(--tlf-muted);
  font-size: 14px;
}

.tlf-auth__links a {
  color: var(--tlf-cyan);
}

.tlf-auth__links a:hover {
  text-decoration: underline;
}

.tlf-auth__benefits {
  padding: 44px;
  background: linear-gradient(160deg, rgba(217, 255, 82, 0.08), rgba(217, 255, 82, 0.02));
  border-left: 1px solid var(--tlf-border);
}

.tlf-auth__benefits h2 {
  margin: 0 0 22px;
  color: var(--tlf-text);
  font-size: 20px;
  font-weight: 800;
}

.tlf-auth__benefits ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 20px;
}

.tlf-auth__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--tlf-muted);
  font-size: 15px;
  line-height: 1.5;
}

.tlf-auth__benefits li strong {
  color: var(--tlf-text);
}

.tlf-auth__benefit-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  border: 1px solid rgba(217, 255, 82, 0.32);
  background: rgba(217, 255, 82, 0.12);
  color: var(--tlf-cyan);
  font-weight: 800;
}

@media (max-width: 720px) {
  .tlf-pricing__grid,
  .tlf-pricing__grid--single {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .tlf-auth__form,
  .tlf-auth__benefits {
    padding: 32px 24px;
  }

  .tlf-auth__benefits {
    border-left: 0;
    border-top: 1px solid var(--tlf-border);
  }
}

/* ============================================================
   Homepage redesign (2026)
   Archivo / IBM Plex Mono typography, near-black canvas, lime accent.
   Scoped under .tf-home so the rest of the app is untouched.
   ============================================================ */
.tf-home {
  --tf-bg: #08080a;
  --tf-lime: #d9ff52;
  --tf-lime-hi: #e8ff7a;
  --tf-text: #f3f3f0;
  background: var(--tf-bg);
  color: var(--tf-text);
  font-family: Archivo, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.tf-home ::selection { background: var(--tf-lime); color: var(--tf-bg); }
.tf-mono { font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }

/* Equalizer wordmark in the header */
.tf-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 18px; }
.tf-eq span {
  width: 3px;
  height: 100%;
  background: var(--tf-lime);
  transform-origin: bottom;
  animation: tf-bar 1.1s ease-in-out infinite;
}
.tf-eq span:nth-child(2) { animation-delay: 0.18s; }
.tf-eq span:nth-child(3) { animation-delay: 0.36s; }

@keyframes tf-bar { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }
@keyframes tf-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .tf-eq span { animation: none; }
}

/* Native <details> FAQ accordion */
.tf-faq details { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.tf-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--tf-text);
  transition: color 140ms ease;
}
.tf-faq summary:hover { color: var(--tf-lime); }
.tf-faq summary::-webkit-details-marker { display: none; }
.tf-faq__sign::after { content: "+"; }
.tf-faq details[open] .tf-faq__sign::after { content: "\2013"; }
.tf-faq__answer {
  margin: 0;
  padding: 0 60px 26px 0;
  font-size: 16px;
  line-height: 1.65;
  color: #9a9aa4;
  animation: tf-in 220ms ease both;
}

/* Slim scrollbar inside the demo tracklist panel */
.tf-panel-scroll::-webkit-scrollbar { width: 6px; }
.tf-panel-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 999px; }
