@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #ffffff;
  color: #0d1b2a;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

p {
  line-height: 1.65;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

/* ─── Page layout ───────────────────────────────── */
.page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 24px 32px;
  gap: 26px;
}

/* ─── Site header ───────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: min(100%, 1120px);
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0d1b2a;
  text-decoration: none;
}

.site-brand__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  overflow: hidden;
  flex: 0 0 auto;
}

.site-brand__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.site-brand__name {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
}

.site-brand__label {
  font-size: 12px;
  color: #6b7d94;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #41536a;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  background: #f1f5f9;
  color: #0d1b2a;
}

/* ─── Hero text ─────────────────────────────────── */
.hero-intro {
  width: min(100%, 900px);
  text-align: center;
  padding-top: 18px;
}

.hero-kicker {
  margin-bottom: 10px;
  color: #6b7d94;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.hero-intro h1 {
  max-width: 820px;
  margin: 0 auto;
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: 0;
  color: #0d1b2a;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #41536a;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 600;
}

/* ─── Screenshots — desktop row ─────────────────── */
.screenshots-wrap { width: 100%; margin-top: 2px; }

.screenshots-clip { /* only used on mobile */ }

.sc-nav  { display: none; }
.sc-dots { display: none; }
.sc-btn  { display: none; }

.screenshots {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.screenshot {
  height: min(34vh, 260px);
  width: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  cursor: zoom-in;
  transition: transform 0.2s, box-shadow 0.2s;
}
.screenshot:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* ─── Stats ─────────────────────────────────────── */
.stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 8px;
}

.stats--google-play {
  margin: 8px 0 2px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.stat__value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  color: #0d1b2a;
}

.stat__label {
  font-size: 12px;
  color: #8a99ac;
  text-align: center;
}

.stat__divider {
  width: 1px;
  height: 32px;
  background: #e2e8f0;
}

/* ─── Content sections ──────────────────────────── */
.content-section {
  width: min(100%, 980px);
  padding-top: 8px;
}

.section-kicker {
  margin-bottom: 8px;
  color: #6b7d94;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.content-section h2,
.download-section h2 {
  margin-bottom: 16px;
  color: #0d1b2a;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0;
}

.app-description {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 48px;
  align-items: center;
  border-top: 1px solid #e2e8f0;
  padding-top: 34px;
}

.app-description__text > p:last-of-type {
  color: #41536a;
  font-size: 16px;
}

.app-highlights {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.app-highlight {
  position: relative;
  padding-left: 18px;
}

.app-highlight::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1f6fb2;
}

.app-highlight h3 {
  margin-bottom: 4px;
  color: #0d1b2a;
  font-size: 16px;
  line-height: 1.3;
}

.app-highlight p {
  color: #41536a;
  font-size: 14px;
  line-height: 1.55;
}

.phone-slider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.phone-slider__device {
  position: relative;
  width: 320px;
  aspect-ratio: 9 / 20;
  padding: 12px;
  border: 1px solid #0d1b2a;
  border-radius: 44px;
  background: #0d1b2a;
  box-shadow: 0 24px 60px rgba(13, 27, 42, 0.18);
}

.phone-slider__speaker {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 2;
  width: 58px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  transform: translateX(-50%);
}

.phone-slider__screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background: #111827;
}

.phone-slider__track {
  height: 100%;
  display: flex;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.phone-slider__track img {
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  object-fit: cover;
  display: block;
}

.phone-slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.phone-slider__btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: #fff;
  color: #6b7d94;
  font-size: 22px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.phone-slider__btn:hover {
  border-color: #0d1b2a;
  color: #0d1b2a;
}

.phone-slider__dots {
  display: flex;
  gap: 6px;
}

.phone-slider__dot {
  width: 7px;
  height: 7px;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: #d0d8e4;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.phone-slider__dot.active {
  background: #0d1b2a;
  transform: scale(1.25);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.faq-grid article {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.feature-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.feature-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f0f7ff;
  color: #1f6fb2;
}

.feature-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3,
.faq-grid h3 {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.3;
  color: #0d1b2a;
}

.faq-grid h3 {
  margin-bottom: 8px;
}

.feature-card p,
.faq-grid p,
.download-section p {
  color: #41536a;
  font-size: 15px;
}

.faq-preview {
  border-top: 1px solid #e2e8f0;
  padding-top: 34px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.download-section {
  width: min(100%, 760px);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 4px;
  text-align: center;
}

.download-section p {
  max-width: 640px;
  margin-bottom: 6px;
}

.download-section--compact {
  margin-top: -8px;
}

/* ─── Shared track landing ──────────────────────── */
.track-page {
  gap: 34px;
}

.track-hero {
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
  padding-top: 18px;
}

.track-cover {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #f8fafc;
  box-shadow: 0 24px 60px rgba(13, 27, 42, 0.12);
}

.track-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.track-info h1 {
  max-width: 680px;
  margin-bottom: 12px;
  color: #0d1b2a;
  font-size: 42px;
  line-height: 1.14;
  letter-spacing: 0;
}

.track-album {
  margin-bottom: 10px;
  color: #6b7d94;
  font-size: 15px;
  font-weight: 600;
}

.track-description {
  max-width: 640px;
  color: #41536a;
  font-size: 17px;
}

.track-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.primary-button,
.secondary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.primary-button {
  border: 1px solid #0d1b2a;
  background: #0d1b2a;
  color: #fff;
  box-shadow: 0 10px 24px rgba(13, 27, 42, 0.2);
}

.secondary-button {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0d1b2a;
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.secondary-button:hover {
  border-color: #0d1b2a;
}

.track-note {
  max-width: 580px;
  margin-top: 14px;
  color: #8a99ac;
  font-size: 13px;
  line-height: 1.5;
}

.track-download,
.track-screenshots {
  border-top: 1px solid #e2e8f0;
  padding-top: 34px;
}

/* ─── Google Play badge ─────────────────────────── */
.gplay-badge {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.15s;
}
.gplay-badge:hover { opacity: 0.85; }
.gplay-badge img { display: block; }

/* ─── Lightbox ──────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img {
  max-height: 90vh;
  max-width: 90vw;
  border-radius: 20px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.lightbox__close:hover { background: rgba(255,255,255,0.25); }

/* ─── Footer ────────────────────────────────────── */
.footer {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #8a99ac;
}

.footer__link {
  color: #8a99ac;
  text-decoration: none;
}
.footer__link:hover { color: #0d1b2a; }

.footer__sep { opacity: 0.5; }

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 600px) {
  html {
    scroll-padding-top: 132px;
  }

  .site-header {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 18px;
  }

  .site-brand__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 6px;
  }

  .site-nav a {
    min-height: 32px;
    padding: 0 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 13px;
  }

  .page {
    justify-content: flex-start;
    padding: 24px 18px 24px;
    gap: 22px;
  }

  .hero-intro {
    text-align: left;
    padding-top: 0;
  }

  .hero-kicker {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .hero-intro h1 {
    font-size: 28px;
  }

  .hero-tags {
    justify-content: flex-start;
    gap: 6px;
    margin-top: 14px;
  }

  .hero-tags span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }

  /* slider */
  .screenshots-wrap { margin-bottom: 0; }

  .screenshots-clip {
    overflow: hidden;
    width: 100%;
    margin-bottom: 12px;
    touch-action: pan-y;
  }

  .screenshots {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }

  .screenshot {
    flex: 0 0 auto;
    width: 42vw;
    height: calc(42vw * 16 / 9);
    aspect-ratio: 9 / 16;
    transition: none;
    transform: none !important;
    box-shadow: none;
  }

  /* nav row: [‹] dots [›] */
  .sc-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .sc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    font-size: 22px;
    color: #6b7d94;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.15s, color 0.15s;
  }
  .sc-btn:hover { border-color: #0d1b2a; color: #0d1b2a; }

  .sc-dots {
    display: flex;
    gap: 6px;
  }
  .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    background: #d0d8e4;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
  }
  .dot.active { background: #0d1b2a; transform: scale(1.3); }

  .stats { gap: 14px; }
  .stats--google-play {
    width: 100%;
    justify-content: center;
  }
  .stat__value { font-size: 18px; }
  .stat__label { font-size: 11px; }
  .stat__divider { height: 24px; }

  .app-description {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 24px;
  }

  .phone-slider__device {
    width: min(320px, 78vw);
  }

  .content-section {
    padding-top: 0;
  }

  .section-kicker {
    margin-bottom: 6px;
    font-size: 12px;
  }

  .content-section h2,
  .download-section h2 {
    margin-bottom: 12px;
    font-size: 23px;
  }

  .feature-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feature-card,
  .faq-grid article {
    padding: 15px;
  }

  .feature-card__head {
    gap: 9px;
    margin-bottom: 9px;
  }

  .feature-icon {
    width: 34px;
    height: 34px;
  }

  .feature-icon svg {
    width: 19px;
    height: 19px;
  }

  .feature-card h3,
  .faq-grid h3 {
    font-size: 16px;
  }

  .feature-card p,
  .faq-grid p,
  .download-section p {
    font-size: 14px;
  }

  .faq-preview {
    display: block;
    padding-top: 24px;
  }

  .download-section {
    align-items: center;
    text-align: center;
  }

  .track-page {
    gap: 26px;
  }

  .track-hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 0;
  }

  .track-cover {
    width: min(100%, 320px);
    margin: 0 auto;
    border-radius: 20px;
  }

  .track-info h1 {
    font-size: 30px;
  }

  .track-description {
    font-size: 15px;
  }

  .track-actions {
    flex-direction: column;
    margin-top: 20px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .track-download,
  .track-screenshots {
    padding-top: 24px;
  }

  .footer {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .site-header {
    padding-inline: 14px;
  }
  .site-nav a {
    font-size: 12px;
    padding: 0 8px;
  }
  .hero-intro h1 { font-size: 25px; }
  .screenshot { width: 52vw; height: calc(52vw * 16 / 9); }
  .stats { gap: 10px; }
  .stat__value { font-size: 15px; }
  .stat__label { font-size: 10px; }
  .stat__divider { height: 20px; }
}
