:root {
  color-scheme: dark;
  --bg: #07120f;
  --deep: #101a17;
  --panel: #101a17;
  --panel-2: #16231f;
  --text: #f5f7f2;
  --muted: #b8c2bd;
  --line: rgba(255, 255, 255, 0.13);
  --gold: #f6ce64;
  --gold-2: #fff0a9;
  --green: #18b87a;
  --cyan: #4fc3c9;
  --danger: #f16e5d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 0%, rgba(79, 195, 201, 0.2), transparent 34%),
    radial-gradient(circle at 86% 10%, rgba(246, 206, 100, 0.18), transparent 28%),
    linear-gradient(150deg, #07120f 0%, #0d1714 46%, #10100f 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 72%);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 44px;
}

.site-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(7, 18, 15, 0.68);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.site-header__brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.site-header__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.site-header__meta span,
.hero__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(246, 206, 100, 0.24);
  border-radius: 999px;
  color: #f7e7a4;
  background: rgba(246, 206, 100, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.hero {
  min-height: calc(100vh - 128px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
  gap: 44px;
  align-items: center;
  padding: 22px 0 30px;
}

.hero__media {
  min-height: 540px;
  position: relative;
  order: 2;
}

.phone {
  position: absolute;
  width: 248px;
  height: 496px;
  border: 9px solid #1f2a26;
  border-radius: 36px;
  background: #0b0e0d;
  box-shadow: 0 30px 78px rgba(0, 0, 0, 0.48);
  overflow: hidden;
}

.phone::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  width: 72px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(-50%);
  z-index: 3;
}

.phone--front {
  right: 34px;
  top: 18px;
  transform: rotate(5deg);
  z-index: 2;
}

.phone--back {
  left: 24px;
  bottom: 0;
  opacity: 0.78;
  transform: rotate(-8deg) scale(0.94);
}

.phone__screen {
  height: 100%;
  padding: 54px 22px 24px;
  background: linear-gradient(180deg, #f7faf5 0%, #e7ece7 100%);
  color: #111b17;
}

.phone__screen--dark {
  background:
    linear-gradient(180deg, rgba(24, 184, 122, 0.22), rgba(246, 206, 100, 0.12)),
    #121917;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-icon {
  width: 94px;
  height: 94px;
  margin-top: 38px;
  border-radius: 22px;
  object-fit: cover;
  background: #004846;
  box-shadow: 0 18px 36px rgba(246, 206, 100, 0.22);
}

.status-pill {
  margin-top: 22px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  color: #d8efe5;
  font-size: 13px;
}

.hero-score {
  margin-top: 36px;
  font-size: 58px;
  font-weight: 800;
}

.stars {
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 2px;
}

.install-strip {
  width: 100%;
  height: 48px;
  margin-top: auto;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--green), #79d89f);
}

.mini-card {
  height: 136px;
  border-radius: 18px;
  background: linear-gradient(135deg, #101a17, #2a3d35);
}

.mini-card--gold {
  border: 1px solid rgba(246, 206, 100, 0.28);
}

.mini-line {
  height: 13px;
  width: 82%;
  margin-top: 28px;
  border-radius: 99px;
  background: #cbd5d0;
}

.mini-line--short {
  width: 58%;
  margin-top: 12px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.mini-grid span {
  height: 74px;
  border-radius: 16px;
  background: #d9dfda;
}

.hero__content {
  order: 1;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.brand__mark {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  flex: 0 0 auto;
  object-fit: cover;
  background: #004846;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.brand__eyebrow {
  margin: 0 0 2px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero__copy {
  max-width: 570px;
  margin: 26px 0 26px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
}

.device-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.device-switch__btn {
  min-width: 132px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
}

.device-switch__btn.is-active {
  color: #07120f;
  background: var(--gold);
}

.single-platform .device-switch {
  display: none;
}

.download-card {
  width: min(100%, 520px);
  margin-top: 26px;
  padding: 24px;
  border: 1px solid rgba(246, 206, 100, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), transparent),
    rgba(16, 26, 23, 0.9);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.download-card__top {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
}

.platform-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(24, 184, 122, 0.16);
  color: #54d89b;
}

.platform-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.download-card h2 {
  margin: 0;
  font-size: 22px;
}

.download-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

.download-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 16px;
}

.download-card__stats span {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
}

.download-card__stats strong {
  color: var(--text);
  font-size: 14px;
}

.primary-action,
.secondary-action {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 850;
}

.primary-action {
  color: #07120f;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(246, 206, 100, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.secondary-action {
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.primary-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(246, 206, 100, 0.24);
}

.secondary-action:hover {
  border-color: rgba(246, 206, 100, 0.35);
  background: rgba(255, 255, 255, 0.09);
}

.fine-print {
  font-size: 13px;
  line-height: 1.5;
}

.showcase,
.trust,
.details,
.steps {
  margin-top: 22px;
}

.showcase,
.trust {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent),
    rgba(16, 26, 23, 0.72);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2);
}

.section-head {
  max-width: 720px;
  margin-bottom: 18px;
}

.section-head p {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.08;
  text-wrap: balance;
}

.section-head > span {
  display: block;
  max-width: 680px;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.section-head--compact {
  margin-bottom: 16px;
}

.section-head--showcase {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.carousel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.carousel__viewport {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel__track {
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
}

.carousel__slide {
  min-width: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(246, 206, 100, 0.08));
}

.carousel__slide img {
  width: min(100%, 420px);
  max-height: min(76vh, 760px);
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.carousel__controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.carousel__dot {
  width: 9px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.carousel__dot.is-active {
  background: var(--gold);
}

.trust {
  text-align: center;
}

.trust .section-head {
  margin-left: auto;
  margin-right: auto;
}

.trust img {
  width: min(100%, 980px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.detail,
.step {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    rgba(255, 255, 255, 0.045);
}

.detail {
  padding: 18px;
}

.detail__label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.steps {
  padding: 24px 0 0;
}

.steps h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.step {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 18px;
}

.step span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #07120f;
  background: var(--cyan);
  font-weight: 900;
}

.step p {
  margin: 2px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 880px) {
  .app-shell {
    width: min(100% - 24px, 680px);
    padding-top: 18px;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 12px;
  }

  .hero__media {
    display: block;
    min-height: 270px;
    order: 2;
  }

  .hero__content {
    order: 1;
  }

  .phone {
    width: 150px;
    height: 300px;
    border-width: 6px;
    border-radius: 28px;
  }

  .phone--front {
    right: 20%;
    top: 4px;
  }

  .phone--back {
    left: 18%;
    bottom: 0;
  }

  .phone__screen {
    padding: 38px 14px 16px;
  }

  .app-icon {
    width: 62px;
    height: 62px;
    margin-top: 22px;
    border-radius: 16px;
    font-size: 23px;
  }

  .hero-score {
    margin-top: 22px;
    font-size: 40px;
  }

  .mini-card {
    height: 84px;
  }

  .mini-grid {
    gap: 8px;
    margin-top: 22px;
  }

  .mini-grid span {
    height: 46px;
  }

  .details,
  .steps__grid {
    grid-template-columns: 1fr;
  }

  .showcase,
  .trust {
    padding: 18px;
  }

  .carousel__slide {
    padding: 14px;
  }

  .carousel__slide img {
    width: min(100%, 340px);
    height: auto;
    max-height: none;
    aspect-ratio: auto;
  }

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

  .carousel__controls {
    flex-direction: row;
  }

  .carousel__dot {
    width: 34px;
    height: 8px;
  }
}

@media (max-width: 520px) {
  .app-shell {
    width: min(100% - 18px, 480px);
    padding-top: 10px;
    padding-bottom: 28px;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px 12px;
  }

  .site-header__brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .site-header__brand img {
    width: 40px;
    height: 40px;
  }

  .site-header__brand span {
    font-size: 19px;
    white-space: nowrap;
  }

  .site-header__meta {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 5px;
  }

  .site-header__meta span,
  .hero__badges span {
    min-height: 28px;
    padding: 0 9px;
    font-size: 11px;
  }

  .site-header__meta span:nth-child(2),
  .site-header__meta span:nth-child(3) {
    display: none;
  }

  .brand__mark {
    width: 50px;
    height: 50px;
    border-radius: 13px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1;
    white-space: nowrap;
    word-break: normal;
  }

  .hero__copy {
    font-size: 16px;
    margin: 18px 0 20px;
  }

  .hero {
    padding: 8px 0 22px;
  }

  .brand {
    align-items: flex-start;
    gap: 12px;
  }

  .brand__eyebrow {
    font-size: 11px;
  }

  .hero__badges {
    margin-top: 16px;
  }

  .device-switch,
  .download-card {
    width: 100%;
  }

  .device-switch__btn {
    min-width: 0;
  }

  .download-card__stats {
    grid-template-columns: 1fr;
  }

  .download-card {
    margin-top: 18px;
    padding: 18px;
  }

  .download-card__top {
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .primary-action,
  .secondary-action {
    height: 50px;
    font-size: 15px;
  }

  .hero__media {
    min-height: 248px;
    margin-top: 10px;
  }

  .phone {
    width: 142px;
    height: 284px;
  }

  .phone--front {
    right: 15%;
    top: 2px;
  }

  .phone--back {
    left: 14%;
    bottom: 0;
  }
  .showcase,
  .trust {
    margin-top: 18px;
    padding: 14px;
  }

  .section-head {
    margin-bottom: 14px;
  }

  .section-head p {
    font-size: 11px;
    line-height: 1.35;
  }

  .section-head h2 {
    font-size: clamp(20px, 7vw, 30px);
  }

  .section-head > span {
    font-size: 14px;
  }

  .carousel__slide {
    padding: 10px;
  }

  .carousel__slide img {
    width: min(100%, 320px);
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    border-radius: 10px;
  }

  .details {
    margin-top: 18px;
  }

  .steps {
    padding-top: 18px;
  }
}
