:root {
  --background: #080a0b;
  --foreground: #f8f1e7;
  --muted: #cdbfae;
  --felt: #087650;
  --felt-dark: #06392f;
  --brass: #d7aa56;
  --chalk: #f8f1e7;
  --wine: #7b273a;
  --blue: #2476a8;
  --surface: rgba(17, 19, 20, 0.84);
  --surface-strong: rgba(24, 26, 27, 0.96);
  --line: rgba(248, 241, 231, 0.15);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 6%, rgba(215, 170, 86, 0.2), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(36, 118, 168, 0.22), transparent 30rem),
    linear-gradient(145deg, rgba(6, 57, 47, 0.92), rgba(8, 10, 11, 0.96) 44%, #140d11 100%);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

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

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 34px;
}

.hero {
  display: grid;
  min-height: 660px;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  gap: 42px;
  align-items: center;
  padding: 28px 0 46px;
}

.hero-copy {
  display: grid;
  gap: 22px;
  align-content: center;
}

.eyebrow {
  margin: 0;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: 4.85rem;
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--chalk);
  font-size: 2.45rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: #fffaf1;
  font-size: 1.2rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1.17rem;
  line-height: 1.65;
}

.hero-actions,
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.secondary-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(248, 241, 231, 0.24);
  border-radius: 8px;
  background: rgba(248, 241, 231, 0.06);
  color: #fffaf1;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.secondary-link:hover,
.secondary-link:focus-visible,
.store-badge:hover,
.store-badge:focus-visible {
  border-color: rgba(215, 170, 86, 0.78);
  transform: translateY(-1px);
}

.hero-device {
  position: relative;
  display: grid;
  min-height: 560px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 16px;
}

.hero-device::before {
  content: "";
  position: absolute;
  inset: 13% -3% 9%;
  border: 1px solid rgba(215, 170, 86, 0.28);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(8, 118, 80, 0.18), transparent 62%),
    rgba(248, 241, 231, 0.03);
}

.hero-device .phone-frame {
  position: relative;
  z-index: 1;
}

.hero-device .phone-frame:nth-child(1) {
  transform: translateY(28px) rotate(-5deg);
}

.hero-device .phone-frame:nth-child(2) {
  transform: translateY(-18px);
}

.hero-device .phone-frame:nth-child(3) {
  transform: translateY(36px) rotate(5deg);
}

.phone-frame {
  position: relative;
  aspect-ratio: 9 / 18.6;
  min-height: 0;
  overflow: hidden;
  border: 8px solid #0a0d0e;
  border-radius: 34px;
  background: #0b0d0f;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 2;
  width: 34%;
  height: 18px;
  border-radius: 0 0 16px 16px;
  background: #0a0d0e;
  transform: translateX(-50%);
}

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

.phone-frame.emerald {
  outline: 1px solid rgba(71, 226, 157, 0.36);
}

.phone-frame.amber {
  outline: 1px solid rgba(215, 170, 86, 0.4);
}

.phone-frame.rose {
  outline: 1px solid rgba(232, 97, 119, 0.38);
}

.phone-frame.blue {
  outline: 1px solid rgba(72, 167, 221, 0.38);
}

.phone-frame.violet {
  outline: 1px solid rgba(197, 188, 224, 0.25);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-inline: calc(50% - 50vw);
  padding: 42px max(24px, calc((100vw - var(--max)) / 2));
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(123, 39, 58, 0.24), rgba(8, 118, 80, 0.2)),
    rgba(248, 241, 231, 0.035);
}

.feature-band p:not(.eyebrow) {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.feature-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: 330px;
}

.feature-details span,
.tag-row span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(248, 241, 231, 0.15);
  border-radius: 999px;
  background: rgba(248, 241, 231, 0.07);
  color: #f8ead6;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.apps-section {
  padding: 74px 0 0;
}

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

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

.app-card {
  display: grid;
  min-height: 440px;
  grid-template-columns: minmax(155px, 0.42fr) minmax(0, 0.58fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), transparent 36%),
    var(--surface);
  box-shadow: var(--shadow);
}

.app-card.emerald {
  --accent: #28ce8c;
  --accent-glow: rgba(40, 206, 140, 0.24);
}

.app-card.amber {
  --accent: #e8be68;
  --accent-glow: rgba(232, 190, 104, 0.24);
}

.app-card.rose {
  --accent: #e86177;
  --accent-glow: rgba(232, 97, 119, 0.24);
}

.app-card.blue {
  --accent: #48a7dd;
  --accent-glow: rgba(72, 167, 221, 0.24);
}

.app-card.violet {
  --accent: #b79cff;
  --accent-glow: rgba(183, 156, 255, 0.22);
}

.app-card-media {
  display: grid;
  min-height: 100%;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 24%, var(--accent-glow), transparent 52%),
    rgba(255, 255, 255, 0.035);
}

.app-card-media .phone-frame {
  width: min(210px, 100%);
}

.app-card-body {
  display: grid;
  gap: 16px;
  align-content: center;
  padding: 24px;
}

.app-heading {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.app-heading p {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 14px;
  object-fit: cover;
  background: var(--surface-strong);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.app-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
  transition:
    transform 160ms ease,
    filter 160ms ease;
}

.app-store-badge {
  min-height: 40px;
}

.app-store-badge img {
  display: block;
  width: 134px;
  height: 40px;
}

.google-play-badge img {
  display: block;
  width: 154px;
  height: auto;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  margin-top: 78px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer span {
  color: #fffaf1;
  font-weight: 900;
}

.site-footer a {
  text-decoration-color: rgba(215, 170, 86, 0.55);
  text-underline-offset: 4px;
}

@media (min-width: 1280px) {
  h1 {
    font-size: 5.35rem;
  }
}

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

  .hero-device {
    min-height: 480px;
  }

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

  .feature-details {
    justify-content: flex-start;
    max-width: none;
  }

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

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 24px, var(--max));
    padding-top: 18px;
  }

  .hero {
    padding-top: 18px;
  }

  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-device {
    min-height: 360px;
    gap: 10px;
  }

  .hero-device .phone-frame:nth-child(1) {
    transform: translateY(18px) rotate(-4deg);
  }

  .hero-device .phone-frame:nth-child(2) {
    transform: translateY(-10px);
  }

  .hero-device .phone-frame:nth-child(3) {
    transform: translateY(20px) rotate(4deg);
  }

  .phone-frame {
    border-width: 6px;
    border-radius: 24px;
  }

  .feature-band {
    padding-block: 34px;
  }

  .apps-section {
    padding-top: 54px;
  }

  .app-card {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .app-card-media {
    min-height: 350px;
  }

  .app-card-media .phone-frame {
    width: min(180px, 62%);
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 2.56rem;
  }

  .hero-actions,
  .store-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .secondary-link,
  .google-play-badge {
    width: 100%;
  }

  .app-store-badge {
    width: 100%;
    justify-content: flex-start;
    background: transparent;
  }

  .google-play-badge {
    justify-content: flex-start;
  }

  .app-heading {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .app-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
  }

  .hero-device {
    min-height: 300px;
  }
}
