:root {
  color-scheme: dark;
  --bg: #060913;
  --panel: rgba(14, 22, 36, .88);
  --panel-strong: rgba(16, 25, 40, .98);
  --line: rgba(226, 232, 240, .14);
  --text: #f8fafc;
  --muted: #9fb0c7;
  --blue: #0b7ee8;
  --red: #f0061c;
  --green: #41d17d;
  --purple: #7c3cff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 14% 0%, rgba(11, 126, 232, .26), transparent 32%),
    radial-gradient(circle at 86% 6%, rgba(240, 6, 28, .23), transparent 30%),
    linear-gradient(180deg, #0c1321 0%, var(--bg) 420px);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  min-height: 100vh;
}

a {
  color: inherit;
}

.topbar {
  align-items: center;
  background: rgba(6, 9, 19, .78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 84px;
  padding: 0 clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-logo {
  height: 48px;
  object-fit: contain;
  width: 48px;
}

nav {
  display: flex;
  gap: 12px;
}

nav a {
  align-items: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  text-decoration: none;
}

main {
  margin: 0 auto;
  max-width: 1240px;
  padding: clamp(18px, 3vw, 38px) clamp(18px, 4vw, 52px);
}

.hero {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  min-height: 340px;
}

.hero-copy,
.hero-panel,
.app-card {
  background: linear-gradient(180deg, rgba(17, 24, 39, .94), rgba(8, 13, 24, .98));
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .36);
}

.hero-copy {
  border-radius: 28px;
  overflow: hidden;
  padding: clamp(26px, 4vw, 42px);
  position: relative;
}

.hero-copy::after {
  background: linear-gradient(180deg, var(--blue), var(--red));
  bottom: 0;
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 5px;
}

.hero-logo {
  height: 88px;
  margin-bottom: 14px;
  object-fit: contain;
  width: 88px;
}

.eyebrow {
  color: #ff9aa5;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1;
  margin: 0;
  max-width: 760px;
}

.subtitle {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.45;
  margin: 18px 0 0;
  max-width: 650px;
}

.hero-panel {
  border-radius: 28px;
  display: grid;
  gap: 10px;
  padding: 20px;
}

.device-line {
  align-items: center;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(226, 232, 240, .10);
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px;
}

.device-line span {
  color: var(--text);
  font-size: 17px;
  font-weight: 900;
}

.device-line strong {
  color: #67d8ff;
  font-size: 13px;
  font-weight: 950;
}

.section-head {
  margin: 36px 0 18px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  margin: 0;
}

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

.app-card {
  align-items: center;
  border-radius: 24px;
  display: grid;
  gap: 18px;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  min-height: 184px;
  overflow: hidden;
  padding: 22px;
  position: relative;
}

.app-card::before {
  background: linear-gradient(180deg, var(--blue), var(--red));
  bottom: 18px;
  content: "";
  left: 0;
  position: absolute;
  top: 18px;
  width: 4px;
}

.app-mark {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  color: #fff;
  display: flex;
  font-size: 26px;
  font-weight: 950;
  height: 88px;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
  width: 128px;
}

.logo-box img {
  display: block;
  height: 100%;
  max-height: 64px;
  max-width: 104px;
  object-fit: contain;
  width: 100%;
}

.text-mark,
.wide-mark {
  letter-spacing: 0;
}

.wide-mark {
  font-size: 14px;
}

.android .app-mark {
  color: var(--green);
}

.lg .app-mark {
  color: #ff4b58;
}

.samsung .app-mark {
  color: #67d8ff;
}

.roku .app-mark {
  color: #b699ff;
}

.windows .app-mark {
  color: #4fc3ff;
}

.platform {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.app-card h3 {
  font-size: 25px;
  line-height: 1.1;
  margin: 0;
}

.app-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 10px 0 0;
}

.download-button,
.secondary-button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  text-decoration: none;
  white-space: nowrap;
}

.download-button {
  background: linear-gradient(135deg, #ff2740, #bd061b);
  box-shadow: 0 18px 38px rgba(229, 9, 34, .32);
  color: white;
}

.secondary-button {
  background: rgba(56, 189, 248, .13);
  border: 1px solid rgba(56, 189, 248, .24);
  color: #67d8ff;
}

.windows {
  grid-template-columns: 128px minmax(0, 1fr) auto auto;
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 14px;
  justify-content: space-between;
  margin: 34px auto 0;
  max-width: 1240px;
  padding: 28px clamp(22px, 4vw, 52px);
}

@media (max-width: 980px) {
  .hero,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .app-card,
  .windows {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .download-button,
  .secondary-button {
    grid-column: 2;
    width: fit-content;
  }

  .app-mark {
    border-radius: 20px;
    height: 78px;
    width: 112px;
  }
}

@media (max-width: 640px) {
  .topbar {
    min-height: 74px;
    padding: 0 14px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-logo {
    height: 42px;
    width: 42px;
  }

  nav a {
    min-height: 40px;
    padding: 0 13px;
  }

  main {
    padding: 18px 14px 28px;
  }

  .hero-copy,
  .hero-panel,
  .app-card {
    border-radius: 22px;
  }

  .hero-copy {
    padding: 26px 20px;
  }

  .hero-logo {
    height: 92px;
    width: 92px;
  }

  .app-card,
  .windows {
    align-items: start;
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .app-mark {
    height: 78px;
    width: 112px;
  }

  .download-button,
  .secondary-button {
    grid-column: auto;
    width: 100%;
  }

  footer {
    align-items: stretch;
    flex-direction: column;
  }
}
