/* ==========================================================================
   Use My Track — Spotify landing
   Mobile-first. Desktop layout from 1024px (design: 390px mobile, 1440px desktop).
   ========================================================================== */

:root {
  --bg: #0B0D0C;
  --bg-deep: #040405;
  --text: #FFFFFF;
  --muted: #A3ADA7;
  --surface: #1E2421;
  --card: #141816;
  --track: #2E3632;
  --accent: #1ED760;
  --on-accent: #000000;
  --on-accent-muted: #0B3A1C;
  --accent-soft: rgba(30, 215, 96, 0.14);
  --shadow-glow: 0 0 120px -20px rgba(30, 215, 96, 0.28);

  --font-display: "Dela Gothic One", "Onest", system-ui, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad-x: 20px;
  --section-y: 64px;

  color-scheme: dark;
}

@media (min-width: 720px) {
  :root { --pad-x: 40px; --section-y: 88px; }
}

@media (min-width: 1024px) {
  :root { --pad-x: clamp(40px, 5.56vw, 80px); --section-y: 112px; }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
b { font-weight: 700; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Breakpoint helper for content that exists only in the desktop design */
@media (max-width: 1023.98px) { .d-only { display: none !important; } }

.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.accent { color: var(--accent); }
.muted  { color: var(--muted); }
.text   { color: var(--text); }

.i-track { stroke: var(--track); }

/* ---------- Typography ---------- */

.h1, .h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.h1 {
  font-size: 38px;
  line-height: 1.04;
  text-transform: uppercase;
}

/* --m / --d: mobile and desktop (at 1440px) font size in px, set per section */
.h2 {
  --m: 32;
  --d: 58;
  font-size: calc(var(--m) * 1px);
  line-height: 1.06;
}

.h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.lead { font-size: 16px; line-height: 1.5; }

.label-caps {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .h1 { font-size: clamp(44px, 3.61vw, 52px); line-height: 1.05; }
  .h2 {
    font-size: clamp(calc(var(--d) * 0.72px), calc(var(--d) * 100vw / 1440), calc(var(--d) * 1px));
    line-height: 1.04;
  }
  .h3 { font-size: 24px; letter-spacing: -0.02em; }
  .eyebrow { font-size: 15px; }
  .lead { font-size: 18px; }
  .label-caps { font-size: 14px; }
}

/* ---------- Buttons & small components ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.btn:hover { opacity: 0.88; }
.btn:active { transform: scale(0.98); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn--primary   { background: var(--accent); color: var(--on-accent); }
.btn--secondary { background: var(--surface); color: var(--text); }
.btn--dark      { background: #000; color: var(--accent); }
.btn--lg { height: 56px; padding: 0 32px; }
.btn--md { height: 52px; padding: 0 24px; font-size: 16px; }
.btn--pill {
  min-height: 0;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--surface);
}

.icon-circle {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.icon-circle svg { width: 20px; height: 20px; }

.callout {
  border-radius: 22px;
  background: var(--accent);
  color: var(--on-accent);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.callout p { font-size: 18px; line-height: 1.4; font-weight: 700; }

.callout__play {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #000;
  color: var(--accent);
  display: grid;
  place-items: center;
}
.callout__play svg { width: 22px; height: 22px; }

.section-head { display: flex; flex-direction: column; gap: 12px; }

.section {
  padding-block: var(--section-y);
  border-top: 1px solid var(--surface);
}

@media (min-width: 1024px) {
  .chip { font-size: 14px; padding: 7px 12px; }
  .chips { gap: 8px; }
  .icon-circle { width: 56px; height: 56px; }
  .icon-circle svg { width: 24px; height: 24px; }
  .callout { border-radius: 28px; padding: 36px 40px; }
  .callout p { font-size: 24px; letter-spacing: -0.01em; max-width: 960px; }
  .section-head { gap: 16px; }
  .section-head--row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
  }
}

/* ---------- Header ---------- */

.header { background: #000; }

.header__inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo { display: inline-flex; flex-shrink: 1; min-width: 0; }
/* 668×90 source: 24px tall on phones, 30px on desktop; shrinks on very narrow screens */
.logo img { width: 178px; height: auto; }

.header__actions { display: flex; align-items: center; gap: 10px; }

/* On small phones the header keeps the logo + language switch;
   the hero "Choose a package" button sits right below. */
.header__cta { display: none; }
@media (min-width: 540px) { .header__cta { display: inline-flex; } }

.lang {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--surface);
}
.lang__btn {
  min-width: 40px;
  height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.lang__btn:hover { color: var(--text); }
.lang__btn[aria-current="page"] { background: var(--accent); color: var(--on-accent); }

@media (min-width: 1024px) {
  .header__inner { height: 84px; }
  .logo img { width: 223px; }
  .header__actions { gap: 12px; }
  .header__cta { font-size: 15px; padding: 11px 20px; }
}

/* Links to the rest of usemytrack.com, as in its own header. From 1024px they
   sit in the bar; below that they fold into the menu under the burger. */
.header__nav { display: none; }
.header__nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.header__nav a:hover { color: var(--text); }

/* Outlined, so it reads as secondary next to the filled "Choose a package" */
.header__dashboard { display: none; color: var(--text); box-shadow: inset 0 0 0 1px var(--track); }

.header__burger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
}
.header__burger span {
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
/* Bars are 2px tall with a 4px gap: 6px between centres */
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.header__menu { border-top: 1px solid var(--surface); }
.header__menu-inner {
  display: flex;
  flex-direction: column;
  padding-top: 4px;
  padding-bottom: 20px;
}
.header__menu-inner a:not(.btn) {
  padding: 14px 0;
  border-bottom: 1px solid var(--surface);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
.header__menu-dashboard { margin-top: 20px; height: 52px; font-size: 16px; }

@media (min-width: 1024px) {
  .header__nav { display: flex; gap: 28px; margin-inline: auto; }
  .header__dashboard { display: inline-flex; font-size: 15px; padding: 11px 20px; }
  .header__burger, .header__menu { display: none; }
}

/* ---------- 1. Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #000;
}

.hero__rings span {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid var(--surface);
}
.hero__rings span:nth-child(1) { right: -160px; top: -40px; width: 420px; height: 420px; }
.hero__rings span:nth-child(2) { right: -90px; top: 30px; width: 280px; height: 280px; }

.hero__inner {
  padding-top: 24px;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero__content { display: flex; flex-direction: column; gap: 20px; }

.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.badge__dot {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  display: grid;
  place-items: center;
}
.badge__dot svg { width: 8px; height: 8px; }

.hero__lead {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  color: var(--muted);
}

.hero__ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.hero__ctas .btn { width: 100%; }
.hero__ctas .btn--secondary { height: 52px; font-size: 16px; font-weight: 600; }

.dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.dots li:not(:last-child)::after { content: "·"; margin-left: 10px; }

.hero__media {
  height: 300px;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 50%;
}

@media (min-width: 720px) and (max-width: 1023.98px) {
  .hero__media { height: 420px; }
}

@media (min-width: 1024px) {
  .hero__rings { display: none; }

  .hero__inner {
    min-height: 700px;
    padding-top: 56px;
    padding-bottom: 72px;
  }
  .hero__content { max-width: 540px; gap: 26px; }

  .badge { gap: 8px; padding: 8px 14px 8px 10px; font-size: 15px; }
  .badge__dot { width: 20px; height: 20px; }
  .badge__dot svg { width: 10px; height: 10px; }

  .hero__lead {
    gap: 12px;
    padding: 18px 22px;
    border-radius: 16px;
    font-size: 19px;
    background: rgba(8, 10, 9, 0.72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .hero__ctas { flex-direction: row; gap: 12px; margin-top: 6px; }
  .hero__ctas .btn { width: auto; height: 58px; }
  .hero__ctas .btn--secondary { padding: 0 28px; font-size: 17px; }

  .dots { justify-content: flex-start; gap: 6px 10px; font-size: 14px; }

  /* The picture sits in the right column, behind the text and with softened
     edges. Its right edge follows the container; between 1024 and 1440px it
     narrows (cropped from both sides) before it would slide under the copy. */
  .hero__media {
    position: absolute;
    z-index: -1;
    top: 48px;
    right: calc(max(0px, (100% - 1440px) / 2) + var(--pad-x) - 6px);
    width: clamp(360px, calc(100% - 2 * var(--pad-x) - 596px), 680px);
    height: 600px;
    background: none;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%),
      linear-gradient(180deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%),
      linear-gradient(180deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
    mask-composite: intersect;
  }
  .hero__media img { object-position: 50% 0; }
}

/* ---------- 2. Problem ---------- */

.problem .h2 { --m: 30; --d: 54; line-height: 1.08; }

.problem__grid { display: flex; flex-direction: column; gap: 28px; }
.problem__intro { display: flex; flex-direction: column; gap: 16px; }

.problem__item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--surface);
}
.problem__item:last-child { border-bottom: 1px solid var(--surface); }
.problem__item > div { display: flex; flex-direction: column; gap: 6px; }
.problem__item p { font-size: 15px; color: var(--muted); }

.problem__callout { margin-top: 28px; }

@media (min-width: 1024px) {
  .problem__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
  }
  .problem__intro { grid-column: 1 / span 5; gap: 24px; }
  .problem__list { grid-column: 7 / span 6; }
  .problem__item { gap: 28px; padding: 28px 0; }
  .problem__item > div { gap: 8px; }
  .problem__item p { font-size: 17px; }
  .problem__callout { margin-top: 80px; }
}

/* ---------- 3. How it works ---------- */

.how__grid { display: flex; flex-direction: column; gap: 28px; }
.how__intro { display: flex; flex-direction: column; gap: 14px; }

.steps { counter-reset: step; }

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: 40px 1fr;
  column-gap: 16px;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  font-size: 14px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.step::after {
  content: "";
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
  width: 2px;
  background: var(--track);
}
.step:first-child::before { background: var(--accent); color: var(--on-accent); }
.step:last-child::before { box-shadow: inset 0 0 0 2px var(--accent); }
.step:last-child::after { display: none; }

.step__body {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0 28px;
}
.step:last-child .step__body { padding-bottom: 0; }
.step__body p { font-size: 15px; color: var(--muted); }
.step__body > .chip { align-self: flex-start; }

.how__cta .btn { width: 100%; }

@media (min-width: 1024px) {
  .how__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    column-gap: 24px;
    row-gap: 0;
  }
  .how__intro { grid-column: 1 / span 5; grid-row: 1; gap: 24px; }
  .how__intro .lead { font-size: 19px; }
  .how__cta { grid-column: 1 / span 5; grid-row: 2; padding-top: 36px; }
  .how__cta .btn { width: auto; height: 60px; padding: 0 36px; }
  .steps { grid-column: 7 / span 6; grid-row: 1 / span 2; }

  .step { grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: 48px 1fr; column-gap: 28px; }
  .step::before { width: 48px; height: 48px; font-size: 16px; }
  .step__body { gap: 10px; padding: 10px 0 36px; }
  .step__body p { font-size: 17px; }
}

/* ---------- 4. Video ---------- */

.video__grid { display: flex; flex-direction: column; gap: 20px; }
.video__intro { display: flex; flex-direction: column; gap: 14px; }

.video__player {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  border: 1px solid var(--surface);
  background: var(--card);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}
.video__player iframe { display: block; width: 100%; height: 100%; border: 0; }

.video__cta { width: 100%; height: 56px; }

@media (min-width: 1024px) {
  .video__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: 1fr auto auto 1fr;
    column-gap: 24px;
    row-gap: 0;
  }
  .video__intro { grid-column: 1 / span 5; grid-row: 2; gap: 24px; }
  .video__intro .h2 { --d: 52; }
  .video__intro .lead { font-size: 19px; }
  .video__cta { grid-column: 1 / span 5; grid-row: 3; justify-self: start; width: auto; margin-top: 24px; padding: 0 32px; }
  .video__player { grid-column: 7 / span 6; grid-row: 1 / span 4; align-self: center; border-radius: 28px; }
}

/* ---------- 5. Community ---------- */

.community { background: var(--bg-deep); }

.community__grid { display: flex; flex-direction: column; gap: 20px; }
.community__intro { display: flex; flex-direction: column; gap: 20px; }

.stat {
  padding: 16px;
  border-radius: 18px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat__n { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.stat__l { font-size: 13px; line-height: 1.4; color: var(--muted); }

.community__media {
  height: 480px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-deep);
}
.community__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}

.community__tg { width: 100%; height: 52px; font-size: 16px; }
.community__tg svg { width: 18px; height: 18px; }

@media (min-width: 720px) and (max-width: 1023.98px) {
  .community__media { height: 560px; }
}

@media (min-width: 1024px) {
  .community__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: 1fr auto auto 1fr;
    column-gap: 24px;
    row-gap: 0;
  }
  .community__intro { grid-column: 1 / span 5; grid-row: 2; gap: 24px; }
  .community__tg {
    grid-column: 1 / span 5;
    grid-row: 3;
    justify-self: start;
    width: auto;
    height: 54px;
    margin-top: 24px;
    padding: 0 26px;
  }
  .community__media { grid-column: 7 / span 6; grid-row: 1 / span 4; height: 640px; border-radius: 32px; }

  .stat { padding: 20px; border-radius: 20px; gap: 6px; }
  .stat__n { font-size: 34px; }
  .stat__l { font-size: 14px; }
}

/* ---------- 6. Trust ---------- */

.trust__head { display: flex; flex-direction: column; gap: 14px; }

.compare {
  margin-top: 24px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--card);
  display: flex;
  flex-direction: column;
}
.compare__col { padding: 22px 20px; display: flex; flex-direction: column; }
.compare__col--no {
  background: var(--bg);
  border-top: 1px solid var(--surface);
  color: var(--muted);
}
.compare__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; }
.compare__head h3 { font-size: 19px; font-weight: 800; line-height: 1.3; }
.compare__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #000;
}
.compare__icon svg { width: 14px; height: 14px; }
.compare__col--no .compare__icon { background: var(--surface); color: var(--muted); }
.compare__col--no .compare__icon svg { width: 12px; height: 12px; }
.compare li { font-size: 16px; line-height: 1.45; padding: 12px 0; border-top: 1px solid var(--surface); }

.trust__callout { margin-top: 24px; }
.trust__callout p { font-size: 20px; line-height: 1.35; letter-spacing: -0.01em; }

@media (min-width: 1024px) {
  .trust .h2 { --d: 60; }
  .trust__head { max-width: 980px; margin-inline: auto; align-items: center; text-align: center; gap: 18px; }
  .trust__head .lead { font-size: 19px; }

  .compare { margin-top: 48px; border-radius: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare__col { padding: 32px 36px; gap: 4px; }
  .compare__col--no { border-top: 0; border-left: 1px solid var(--surface); }
  .compare__head { gap: 12px; padding-bottom: 16px; }
  .compare__head h3 { font-size: 24px; }
  .compare__icon { width: 36px; height: 36px; }
  .compare__icon svg { width: 16px; height: 16px; }
  .compare__col--no .compare__icon svg { width: 14px; height: 14px; }
  .compare li { font-size: 18px; padding: 14px 0; }

  .trust__callout { margin-top: 48px; padding: 40px 48px; }
  .trust__callout p { font-size: 28px; letter-spacing: -0.015em; max-width: none; }
}

/* ---------- 7. Case studies ---------- */

.cases { margin-top: 24px; display: flex; flex-direction: column; gap: 20px; }

.cases__tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.cases__tab {
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.cases__tab:hover { color: var(--text); }
.cases__tab[aria-selected="true"] { background: var(--accent); color: var(--on-accent); }

.cases__card { padding: 20px; border-radius: 24px; background: var(--card); }

.case-panel { display: flex; flex-direction: column; gap: 24px; }
.case-panel:focus-visible { outline-offset: 8px; }

.case-panel__shot { position: relative; }
.case-panel__shot::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: radial-gradient(60% 60% at 50% 50%, rgba(30, 215, 96, 0.2), transparent 70%);
}
.case-panel__shot img {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}

.case-panel__info { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.case-panel__title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }

.case-listeners { display: flex; flex-direction: column; gap: 10px; }
.case-listeners .label-caps { font-size: 13px; }
.case-listeners__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; }
.case-listeners__before { font-size: 24px; font-weight: 600; color: var(--muted); }
.case-listeners__arrow { display: none; }
.case-listeners__after { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--accent); }
.case-listeners__more {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
}

.case-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.case-metric {
  padding: 16px;
  border-radius: 20px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.case-metric__l { font-size: 14px; color: var(--muted); }
.case-metric__n { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.case-metric__delta {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.case-foot { margin-top: 24px; display: flex; flex-direction: column; gap: 20px; }
.case-foot p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.case-foot .btn { width: 100%; height: 56px; padding: 0 28px; font-size: 16px; }

@media (min-width: 1024px) {
  .case .lead { font-size: 19px; }

  .cases { margin-top: 40px; gap: 28px; }
  .cases__tab { padding: 11px 20px; font-size: 15px; }
  .cases__card { padding: 40px; border-radius: 32px; }

  .case-panel {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 40px;
    align-items: center;
  }
  .case-panel__shot { grid-column: span 7; }
  .case-panel__shot img { border-radius: 20px; }
  .case-panel__info { grid-column: span 5; gap: 28px; }

  .case-panel__title { font-size: 30px; }
  .case-listeners__before { font-size: 32px; }
  .case-listeners__arrow { display: block; align-self: center; width: 24px; height: 18px; color: var(--accent); }
  .case-listeners__after { font-size: 64px; }

  .case-metrics { gap: 12px; }
  .case-metric { padding: 20px; }
  .case-metric__n { font-size: 36px; }

  .case-foot { margin-top: 40px; flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
  .case-foot p { max-width: 760px; }
  .case-foot .btn { width: auto; flex-shrink: 0; }
}

/* ---------- 8. Who it's for ---------- */

.fit .h2 { --m: 28; --d: 40; line-height: 1.08; }

.fit__inner { display: flex; flex-direction: column; gap: 20px; }
.fit__grid { display: flex; flex-direction: column; gap: 16px; }

.fit-card {
  padding: 24px 20px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fit-card--yes { background: var(--card); }
.fit-card--no { border: 1.5px dashed var(--track); color: var(--muted); }
.fit-card > p { font-size: 15px; color: var(--muted); }

.checklist li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--surface);
  font-size: 15px;
  line-height: 1.45;
}
.checklist svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.fit-card--yes .checklist svg { color: var(--accent); }
.fit-card--no .checklist svg { width: 16px; height: 16px; margin-top: 3px; }

@media (min-width: 1024px) {
  .fit__inner { gap: 32px; }
  .fit__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .fit-card { padding: 40px; border-radius: 28px; gap: 24px; }
  .fit-card > p { font-size: 17px; }
  .checklist li { gap: 14px; padding: 14px 0; font-size: 17px; }
  .checklist svg { width: 20px; height: 20px; }
  .fit-card--no .checklist svg { width: 18px; height: 18px; }
}

/* ---------- 9. Pricing ---------- */

/* Cards come from the catalog cheapest first; mobile shows them from the
   biggest one down. */
.plans { margin-top: 20px; display: flex; flex-direction: column-reverse; gap: 20px; }
.plans:empty { display: none; }
.plans__status { margin-top: 20px; font-size: 16px; line-height: 1.5; color: var(--muted); }

.plan {
  position: relative;
  padding: 24px 20px;
  border-radius: 28px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.plan--featured { margin-top: 12px; box-shadow: inset 0 0 0 2px var(--accent); }

.plan__badge {
  position: absolute;
  top: -14px;
  left: 20px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.plan__head { display: flex; flex-direction: column; gap: 8px; }
.plan__name { font-size: 22px; font-weight: 700; line-height: 1.3; }
.plan__price { font-family: var(--font-display); font-size: 44px; line-height: 1; }
/* The ISO code after a peso price ("$379 MXN"): smaller and in the body font,
   or a four-digit price in the display face overflows the column. */
.plan__currency { margin-left: 0.3em; font-family: var(--font-body); font-size: 0.36em; font-weight: 800; letter-spacing: 0.04em; }

.plan__volume {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan__reach { font-size: 22px; font-weight: 600; line-height: 1.3; }
.plan__listeners { font-weight: 800; color: var(--accent); }
.plan__delivery { font-size: 14px; color: var(--muted); }

.plan__includes { display: flex; flex-direction: column; gap: 12px; }
.plan__includes .label-caps { font-size: 13px; }
.plan__features { display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.4; }
.plan__features li { display: flex; gap: 10px; }
.plan__features li::before { content: "+"; color: var(--accent); font-weight: 800; }

.plan__result {
  padding-top: 20px;
  border-top: 1px solid var(--surface);
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.plan__result b { color: var(--text); }

.plan .btn { margin-top: auto; width: 100%; height: 56px; }

.packages__note {
  margin-top: 28px;
  padding: 0 4px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
}
.packages__note svg { width: 22px; height: 22px; flex-shrink: 0; }

@media (min-width: 1024px) {
  .plans__status { margin-top: 48px; text-align: center; font-size: 18px; }
  .plans {
    margin-top: 48px;
    display: grid;
    /* --plan-cols is set by main.js from the number of packages. */
    grid-template-columns: repeat(var(--plan-cols, 3), minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
  }
  .plan { padding: 32px; }
  .plan--featured { margin-top: 0; }
  .plan__badge { left: 32px; }
  .plan__price { font-size: 56px; }

  .packages__note { margin-top: 48px; justify-content: center; align-items: center; gap: 14px; font-size: 20px; }
}

/* ---------- 10. Order ---------- */

.order .h2 { --m: 30; --d: 52; }

.order__grid { display: flex; flex-direction: column; gap: 28px; }
.order__intro { display: flex; flex-direction: column; gap: 20px; }

.numlist { counter-reset: n; display: flex; flex-direction: column; gap: 12px; }
.numlist li {
  counter-increment: n;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  line-height: 1.4;
}
.numlist li::before {
  content: counter(n);
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface);
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.numlist li:first-child::before { background: var(--accent); color: var(--on-accent); }

.order-card {
  padding: 20px;
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow-glow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.order-card__group { display: flex; flex-direction: column; gap: 10px; }
.order-card__group--field { gap: 8px; }

.summary {
  padding: 16px;
  border-radius: 16px;
  background: var(--surface);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name price" "meta meta";
  align-items: baseline;
  gap: 4px 16px;
}
.summary__name { grid-area: name; font-size: 19px; font-weight: 800; }
.summary__price { grid-area: price; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--accent); }
.summary__price .plan__currency { font-size: 0.6em; }
.summary__meta { grid-area: meta; font-size: 14px; color: var(--muted); white-space: pre-line; }

.field-label { font-size: 14px; font-weight: 600; }

.input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px solid var(--track);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  transition: border-color 0.15s ease;
}
.input::placeholder { color: var(--muted); opacity: 0.7; }
.input:focus { outline: none; border-color: var(--accent); }
.input[aria-invalid="true"] { border-color: #FF6B6B; }

.order-card__error { font-size: 14px; line-height: 1.45; color: #FF8A8A; }

.order-card__submit { display: flex; flex-direction: column; gap: 12px; }
.order-card__submit .btn { width: 100%; height: 56px; }
.order-card__hint { font-size: 13px; line-height: 1.45; color: var(--muted); text-align: center; }

@media (min-width: 1024px) {
  .order__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: center;
  }
  .order__intro { grid-column: 1 / span 5; gap: 24px; }
  .numlist { gap: 14px; margin-top: 8px; }
  .numlist li { gap: 14px; font-size: 17px; }
  .numlist li::before { width: 32px; height: 32px; font-size: 14px; }

  .order-card { grid-column: 7 / span 6; padding: 32px; border-radius: 32px; gap: 24px; }
  .order-card__group { gap: 14px; }
  .order-card__group--field { gap: 10px; }

  .summary {
    padding: 20px;
    border-radius: 20px;
    grid-template-areas: "name price" "meta price";
    align-items: center;
  }
  .summary__name { font-size: 22px; }
  .summary__price { font-size: 30px; }
  .summary__meta { font-size: 15px; }

  .field-label { font-size: 15px; }
  .input { height: 54px; padding: 0 18px; }
  .order-card__submit { gap: 14px; padding-top: 8px; }
  .order-card__submit .btn { height: 58px; }
  .order-card__hint { font-size: 14px; }
}

/* ---------- 11. FAQ ---------- */

.faq__list { margin-top: 24px; border-top: 1px solid var(--surface); }

.faq__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 0;
  border-bottom: 1px solid var(--surface);
}
.faq__item h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }

.faq__a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.faq__a b { color: var(--text); }

.link-accent { align-self: flex-start; font-weight: 700; color: var(--accent); text-decoration: none; }
.link-accent:hover { text-decoration: underline; }

@media (min-width: 1024px) {
  .faq__list { margin-top: 48px; }
  .faq__item {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    padding: 28px 0;
  }
  .faq__item h3 { grid-column: span 5; font-size: 22px; letter-spacing: -0.01em; }
  .faq__a { grid-column: 6 / span 7; font-size: 17px; }
}

/* ---------- 12. Contact ---------- */

.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.contact .h2 { --m: 30; --d: 48; max-width: 900px; line-height: 1.1; }
.contact .lead { max-width: 640px; font-size: 15px; }

.contact__actions { width: 100%; margin-top: 8px; display: flex; flex-direction: column; gap: 14px; }
.contact__btn { height: 56px; padding: 0 32px; gap: 12px; border-radius: 999px; }
.contact__btn svg { width: 22px; height: 22px; }

@media (min-width: 1024px) {
  .contact__inner { gap: 24px; }
  .contact .h2 { line-height: 1.08; }
  .contact .lead { font-size: 18px; }
  .contact__actions { width: auto; flex-direction: row; justify-content: center; }
}

/* ---------- 13. Final CTA ---------- */

.final { padding: 16px 16px 48px; }

.final__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 1360px;
  margin-inline: auto;
  padding: 48px 24px;
  border-radius: 32px;
  background: var(--accent);
  color: var(--on-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.final__ring {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.12);
}
.final__ring--1 { left: -90px; bottom: -110px; width: 240px; height: 240px; }
.final__ring--2 { right: -70px; top: -90px; width: 200px; height: 200px; }

.final .h2 { --m: 34; --d: 68; max-width: 1000px; line-height: 1.04; }

.final__text { display: flex; flex-direction: column; gap: 20px; max-width: 720px; }
.final__lead { font-size: 16px; line-height: 1.5; font-weight: 600; }
.final__sub { font-size: 15px; line-height: 1.5; color: var(--on-accent-muted); }

.final .btn { align-self: stretch; height: 58px; font-size: 17px; }
.final .btn svg { width: 18px; height: 18px; }

.final__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--on-accent-muted);
}
.final__trust li:not(:last-child)::after { content: "·"; margin: 0 8px; }

@media (max-width: 1023.98px) {
  .final__trust li:nth-child(2)::after { display: none; }
  .final__trust li:last-child { flex-basis: 100%; }
}

@media (min-width: 1024px) {
  .final { padding: 40px 40px 80px; }
  .final__card {
    min-height: 680px;
    padding: 96px 80px;
    border-radius: 40px;
    justify-content: center;
    gap: 28px;
  }
  .final__ring--1 { left: -120px; bottom: -160px; width: 420px; height: 420px; }
  .final__ring--2 { right: -80px; top: -140px; width: 360px; height: 360px; }
  .final__text { gap: 8px; }
  .final__lead { font-size: 20px; }
  .final__sub { font-size: 18px; }
  .final .btn { align-self: center; height: 64px; margin-top: 8px; padding: 0 40px; font-size: 18px; }
  .final__trust { font-size: 15px; }
  .final__trust li:not(:last-child)::after { margin: 0 12px; }
}

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--surface); }

.footer__inner {
  padding-top: 40px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__brand p { font-size: 15px; color: var(--muted); }
.footer__legal {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.footer__legal a { color: var(--text); text-decoration: none; }
.footer__legal a:hover { color: var(--accent); }

.footer__navs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav:last-child { grid-column: span 2; }
.footer__nav-title { margin-bottom: 2px; font-size: 13px; font-weight: 700; }
.footer__nav a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer__nav a:hover { color: var(--text); }

@media (min-width: 1024px) {
  .footer__inner {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    padding-top: 56px;
    padding-bottom: 64px;
  }
  .footer__brand { grid-column: span 4; gap: 16px; }
  .footer__brand p { max-width: 340px; font-size: 16px; }
  .footer__legal { font-size: 14px; }

  .footer__navs {
    grid-column: 6 / span 7;
    grid-template-columns: 2fr 2fr 3fr;
    column-gap: 24px;
  }
  .footer__nav { gap: 12px; }
  .footer__nav:last-child { grid-column: auto; }
  .footer__nav-title { margin-bottom: 4px; font-size: 14px; }
  .footer__nav a { font-size: 15px; }
}

/* ---------- 7a. Reviews (dashboard widget) ---------- */

/* The widget is an iframe from app.usemytrack.com with a transparent
   background; it sizes its own height and removes itself if it can't load. */
.reviews__widget { margin-top: 32px; }

@media (min-width: 1024px) {
  .reviews__widget { margin-top: 48px; }
}

/* ---------- 14. Other services ---------- */

.more__inner { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.more .h2 { --m: 28; --d: 48; text-align: center; max-width: 900px; line-height: 1.1; }

.more-card {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--surface);
}
.more-card__media { display: block; background: #000; }
.more-card__media img { display: block; width: 100%; height: auto; }
.more-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px; }
.more-card__body p { font-size: 15px; line-height: 1.6; }
.more-card__btn { margin-top: 10px; }

@media (min-width: 1024px) {
  .more__inner { gap: 48px; }
  .more-card__body { padding: 32px; }
}
