:root {
  --bg: #303645;
  --bg-deep: #11131a;
  --panel: #1b2029;
  --panel-soft: rgba(27, 32, 41, 0.8);
  --text: #f6f7fb;
  --muted: #aab2c3;
  --line: rgba(255, 255, 255, 0.08);
  --accent-red: #f33a38;
  --accent-green: #4cc45e;
  --accent-blue: #5b87ba;
  --accent-gold: #b69547;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top right, rgba(182, 149, 71, 0.18), transparent 24%),
    radial-gradient(circle at top left, rgba(243, 58, 56, 0.12), transparent 18%),
    linear-gradient(180deg, #353b4a 0%, #262c38 42%, #12151d 100%);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

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

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.hero,
.section,
.cta-card,
.feature-card,
.screenshot-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 32px;
  align-items: center;
  padding: 28px;
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(14, 16, 22, 0.9), rgba(36, 27, 20, 0.76)),
    rgba(17, 19, 26, 0.9);
  overflow: hidden;
}

.hero__copy {
  display: grid;
  gap: 18px;
}

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

.brand__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #14161d;
}

.brand__name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0;
  color: #cdb98f;
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.1;
}

p {
  line-height: 1.65;
  color: var(--muted);
  font-size: 1rem;
}

.hero__lede {
  max-width: 56ch;
  font-size: 1.08rem;
}

.hero__note {
  max-width: 48ch;
  font-size: 0.95rem;
}

.hero__media {
  position: relative;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: auto auto 14px 14px;
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(17, 19, 26, 0.05), rgba(17, 19, 26, 0.72)),
    linear-gradient(135deg, rgba(76, 196, 94, 0.5), rgba(243, 58, 56, 0.18));
  filter: blur(4px);
}

.hero__media img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.store-links--stacked {
  justify-content: flex-start;
}

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
}

.store-link--primary {
  background: linear-gradient(135deg, var(--accent-green), #7bc84c);
  color: #0b1110;
}

.store-link--primary:hover {
  filter: brightness(1.06);
}

.store-link--muted {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.section {
  margin-top: 28px;
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(27, 32, 41, 0.92), rgba(19, 23, 31, 0.92));
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 24px;
}

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

.feature-card {
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    var(--panel-soft);
}

.feature-card::before {
  content: "";
  width: 84px;
  height: 8px;
  border-radius: 999px;
}

.feature-card--red::before {
  background: var(--accent-red);
}

.feature-card--green::before {
  background: var(--accent-green);
}

.feature-card--blue::before {
  background: var(--accent-blue);
}

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

.screenshot-card {
  padding: 14px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(44, 50, 63, 0.92), rgba(21, 24, 32, 0.98));
}

.screenshot-card img {
  width: 100%;
  border-radius: 18px;
}

.section--cta {
  background:
    radial-gradient(circle at top right, rgba(243, 58, 56, 0.12), transparent 24%),
    radial-gradient(circle at bottom left, rgba(76, 196, 94, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(27, 32, 41, 0.92), rgba(17, 19, 26, 0.96));
}

.cta-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-radius: 26px;
  background: rgba(17, 19, 26, 0.48);
}

.cta-card > div {
  flex: 1 1 0;
}

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

  .hero__media {
    order: -1;
  }

  h1 {
    max-width: none;
  }

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

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

  .cta-card {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 10px;
    padding-bottom: 32px;
  }

  .hero,
  .section,
  .cta-card {
    padding: 18px;
    border-radius: 22px;
  }

  .hero {
    gap: 20px;
  }

  .brand__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .store-links {
    flex-direction: column;
    align-items: stretch;
  }

  .store-link {
    width: 100%;
  }

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