:root {
  --bg: #f5f1e8;
  --ink: #13110f;
  --muted: #5d564e;
  --surface: rgba(255, 252, 247, 0.84);
  --surface-strong: #fffaf2;
  --line: rgba(19, 17, 15, 0.12);
  --accent: #1db954;
  --accent-deep: #0f6b31;
  --accent-soft: #d8f7e3;
  --berry: #8f294f;
  --gold: #f0b446;
  --shadow: 0 24px 60px rgba(31, 21, 11, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(29, 185, 84, 0.18), transparent 30%),
    radial-gradient(circle at right 20%, rgba(143, 41, 79, 0.14), transparent 24%),
    linear-gradient(180deg, #f8f3ea 0%, #f3eee4 100%);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

img {
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(245, 241, 232, 0.82);
  border-bottom: 1px solid rgba(19, 17, 15, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.top-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--berry), var(--accent-deep));
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 14px;
}

.top-nav {
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-weight: 500;
}

main {
  padding-bottom: 64px;
}

.hero,
.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 42px 0 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.hero-grid-brand {
  align-items: stretch;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
}

.hero-copy,
.hero-panel,
.snapshot-card,
.feature-card,
.info-card,
.content-card,
.pricing-card,
.review-card,
.compatibility-card,
.sources-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(28px, 4vw, 52px);
}

.hero-home .hero-copy {
  background:
    linear-gradient(140deg, rgba(255, 250, 242, 0.96), rgba(255, 250, 242, 0.88)),
    linear-gradient(135deg, rgba(29, 185, 84, 0.08), rgba(143, 41, 79, 0.06));
}

.hero-home .hero-grid {
  align-items: stretch;
}

.hero-home .hero-copy,
.hero-home .hero-panel {
  height: 100%;
}

.hero-home .hero-panel {
  display: flex;
  flex-direction: column;
}

.brand-apple {
  background:
    linear-gradient(135deg, rgba(18, 23, 32, 0.96), rgba(42, 49, 62, 0.94)),
    linear-gradient(135deg, rgba(164, 174, 192, 0.14), rgba(255, 255, 255, 0.06));
  color: #f7f9ff;
}

.brand-youtube {
  background:
    linear-gradient(135deg, rgba(34, 10, 12, 0.96), rgba(92, 17, 25, 0.94)),
    linear-gradient(135deg, rgba(255, 53, 70, 0.2), rgba(255, 255, 255, 0.04));
  color: #fff6f7;
}

.brand-tidal {
  background:
    linear-gradient(135deg, rgba(8, 10, 12, 0.98), rgba(24, 28, 34, 0.96)),
    linear-gradient(135deg, rgba(95, 116, 140, 0.14), rgba(255, 255, 255, 0.04));
  color: #f8fbff;
}

.hero-spotify .hero-copy {
  background:
    linear-gradient(135deg, rgba(9, 18, 12, 0.96), rgba(14, 46, 23, 0.92)),
    linear-gradient(135deg, rgba(29, 185, 84, 0.4), rgba(15, 107, 49, 0.2));
  color: #f7fff9;
}

.hero-panel,
.snapshot-card {
  padding: 28px;
}

.snapshot-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}

.hero-spotify .snapshot-card {
  background:
    linear-gradient(135deg, rgba(9, 18, 12, 0.96), rgba(14, 46, 23, 0.92)),
    linear-gradient(135deg, rgba(29, 185, 84, 0.4), rgba(15, 107, 49, 0.2));
  color: #f7fff9;
}

.brand-apple.snapshot-card,
.brand-youtube.snapshot-card,
.brand-tidal.snapshot-card {
  color: inherit;
}

.eyebrow,
.panel-kicker,
.feature-tag,
.micro-note {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow,
.panel-kicker,
.feature-tag {
  color: var(--berry);
}

.hero-spotify .eyebrow,
.hero-spotify .micro-note,
.hero-spotify .panel-kicker,
.brand-apple .eyebrow,
.brand-apple .micro-note,
.brand-apple .panel-kicker,
.brand-youtube .eyebrow,
.brand-youtube .micro-note,
.brand-youtube .panel-kicker,
.brand-tidal .eyebrow,
.brand-tidal .micro-note,
.brand-tidal .panel-kicker {
  color: #c8f6d8;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.94;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.35rem;
}

.hero-text,
.section-heading p,
.content-card p,
.info-card p,
.pricing-card p,
.review-card p,
.compatibility-card p {
  color: var(--muted);
}

.hero-spotify .hero-text,
.hero-spotify .micro-note,
.hero-spotify .snapshot-list dd,
.brand-apple .hero-text,
.brand-apple .micro-note,
.brand-apple .snapshot-list dd,
.brand-youtube .hero-text,
.brand-youtube .micro-note,
.brand-youtube .snapshot-list dd,
.brand-tidal .hero-text,
.brand-tidal .micro-note,
.brand-tidal .snapshot-list dd {
  color: rgba(247, 255, 249, 0.82);
}

.hero-text {
  max-width: 62ch;
  margin: 18px 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--berry), #bf4f7d);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.hero-spotify .button-primary {
  background: linear-gradient(135deg, var(--accent), #46d878);
  color: #07210f;
}

.hero-spotify .button-secondary {
  color: #f7fff9;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.micro-note {
  margin: 20px 0 0;
}

.checklist,
.snapshot-list,
.sources-card {
  display: grid;
  gap: 12px;
}

.featured-brand-list {
  display: grid;
  gap: 12px;
}

.checklist span,
.checklist a {
  display: block;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 18px;
  font-weight: 500;
}

.featured-brand-link {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background 140ms ease;
}

.featured-brand-link strong {
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.featured-brand-link span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.featured-brand-link:hover,
.featured-brand-link:focus-visible {
  background: #fffaf2;
  border-color: rgba(143, 41, 79, 0.24);
  transform: translateY(-1px);
}

.snapshot-list {
  flex: 1;
  margin: 18px 0 0;
}

.snapshot-list div {
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.snapshot-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.snapshot-list dt {
  margin-bottom: 6px;
  color: #c8f6d8;
  font-size: 0.85rem;
  font-weight: 700;
}

.brand-apple .snapshot-list dt,
.brand-youtube .snapshot-list dt,
.brand-tidal .snapshot-list dt {
  color: #d8e4ff;
}

.snapshot-list dd {
  margin: 0;
}

.section {
  padding-top: 24px;
}

.section-heading {
  max-width: 980px;
  margin-bottom: 22px;
}

.section-heading.narrow {
  max-width: 700px;
}

.no-wrap-desktop {
  white-space: nowrap;
}

.feature-card {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
}

.feature-card p,
.feature-card .feature-arrow,
.sources-card a,
.info-card a {
  color: var(--muted);
}

.feature-arrow {
  white-space: nowrap;
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  align-content: start;
}

.service-card p:last-child {
  color: var(--muted);
}

.grid-three,
.contact-grid,
.pricing-grid,
.review-layout,
.pricing-compare {
  display: grid;
  gap: 18px;
}

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

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

.pricing-grid,
.pricing-compare {
  grid-template-columns: repeat(4, minmax(200px, 1fr));
}

.review-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.review-layout .content-card {
  grid-column: 1 / -1;
}

.info-card,
.content-card,
.pricing-card,
.review-card,
.compatibility-card {
  padding: 24px;
}

.pricing-card-note {
  background: #f2ece1;
}

.pricing-card-note-full {
  margin-top: 18px;
}

.pricing-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.pricing-grid,
.pricing-compare {
  align-items: stretch;
}

.pricing-card,
.pricing-compare-card {
  min-width: 0;
  overflow-wrap: anywhere;
}

.pricing-card-note a {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.pricing-compare {
  margin-top: 18px;
}

.pricing-compare-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.pricing-compare-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.pricing-compare-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.pricing-compare-card-featured {
  background:
    linear-gradient(135deg, rgba(25, 25, 30, 0.96), rgba(56, 56, 66, 0.92)),
    linear-gradient(135deg, rgba(165, 76, 117, 0.26), rgba(93, 48, 74, 0.18));
  color: #fff8fc;
}

.pricing-compare-card-featured .comparison-label {
  color: #f1c9db;
}

.pricing-compare-card-featured p:last-child {
  color: rgba(255, 248, 252, 0.82);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: start;
}

.price {
  margin: 14px 0 6px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.price span {
  display: inline-block;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}

.price-text {
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.step-list {
  margin: 0 0 18px;
  padding-left: 20px;
}

.step-list li + li {
  margin-top: 10px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.spec-grid div {
  padding: 16px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.spec-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.review-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.review-score {
  margin: 0;
  color: var(--accent-deep);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.comparison-grid {
  display: grid;
  gap: 18px;
}

.comparison-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.comparison-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.comparison-card-featured {
  background:
    linear-gradient(135deg, rgba(9, 18, 12, 0.96), rgba(14, 46, 23, 0.92)),
    linear-gradient(135deg, rgba(29, 185, 84, 0.4), rgba(15, 107, 49, 0.2));
  color: #f7fff9;
}

.comparison-card-featured p {
  color: rgba(247, 255, 249, 0.82);
}

.comparison-label,
.faq-group-kicker {
  margin: 0 0 10px;
  color: var(--berry);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comparison-card-featured .comparison-label {
  color: #c8f6d8;
}

.comparison-table-wrap {
  overflow-x: auto;
  margin-bottom: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.comparison-table {
  min-width: 880px;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, minmax(0, 1fr));
}

.comparison-row > div {
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.comparison-row > div:last-child {
  border-right: 0;
}

.comparison-row:last-child > div {
  border-bottom: 0;
}

.comparison-head {
  background: #f2ece1;
  font-weight: 700;
}

.comparison-head > div {
  color: var(--ink);
}

.comparison-row .is-strong {
  color: var(--accent-deep);
  font-weight: 700;
}

.sources-card {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 24px;
}

.sources-card a,
.info-card a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.faq-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.search-field {
  display: grid;
  gap: 8px;
  width: min(680px, 100%);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.search-field input {
  min-height: 56px;
  padding: 0 18px;
  color: var(--ink);
  background: rgba(255, 252, 247, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  font: inherit;
}

.faq-stats {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-chip {
  min-height: 42px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.filter-chip.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--berry), #bf4f7d);
  border-color: transparent;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-empty {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.faq-empty p {
  color: var(--muted);
}

.faq-group {
  padding: 18px;
  background: rgba(255, 252, 247, 0.55);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.faq-group + .faq-group {
  margin-top: 6px;
}

.faq-group-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.faq-group-head h3 {
  font-size: 1.6rem;
}

.faq-group-count {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.faq-group-items {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item[open] {
  border-color: rgba(29, 185, 84, 0.28);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-number {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-radius: 12px;
  font-weight: 700;
}

.faq-question-wrap {
  display: grid;
  gap: 6px;
}

.faq-category {
  color: var(--berry);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.faq-question {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.faq-answer {
  padding: 0 20px 20px 90px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
}

.faq-answer p + p {
  margin-top: 12px;
}

.faq-source {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 700;
}

.faq-source a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 980px) {
  .hero-grid,
  .two-column,
  .grid-three,
  .service-grid,
  .comparison-grid,
  .contact-grid,
  .pricing-grid,
  .review-layout,
  .sources-card {
    grid-template-columns: 1fr;
  }

  .feature-card {
    flex-direction: column;
    align-items: start;
  }

  h1 {
    max-width: none;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .faq-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .faq-stats {
    white-space: normal;
  }

  .faq-group-head {
    flex-direction: column;
    align-items: start;
  }

  .no-wrap-desktop {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: start;
    gap: 12px;
  }

  .hero,
  .section {
    width: min(100%, calc(100% - 20px));
  }

  .hero-copy,
  .hero-panel,
  .snapshot-card,
  .feature-card,
  .info-card,
  .content-card,
  .pricing-card,
  .review-card,
  .compatibility-card,
  .sources-card {
    border-radius: 22px;
  }

  .button {
    width: 100%;
  }

  .faq-item summary {
    grid-template-columns: 1fr;
  }

  .faq-answer {
    padding: 0 20px 20px;
  }
}


.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible,
.task-card:hover,
.task-card:focus-visible {
  color: var(--ink);
}

.breadcrumb-sep {
  color: rgba(19, 17, 15, 0.35);
}

.static-link {
  cursor: default;
}

.quick-task-grid,
.homepage-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.task-card {
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.task-card:hover,
.task-card:focus-visible {
  background: #fffaf2;
  border-color: rgba(143, 41, 79, 0.24);
  transform: translateY(-1px);
}

.related-link-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .quick-task-grid,
  .homepage-service-grid,
  .related-link-list {
    grid-template-columns: 1fr;
  }
}
