:root {
  color-scheme: light;
  --ink: #142033;
  --muted: #5f6b7a;
  --line: rgba(255, 255, 255, 0.58);
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(255, 255, 255, 0.88);
  --blue: #1462ff;
  --red: #e8213c;
  --navy: #0f2d5c;
  --shadow: 0 24px 70px rgba(23, 48, 89, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 18% 14%, rgba(20, 98, 255, 0.2), transparent 30rem),
    radial-gradient(circle at 84% 22%, rgba(232, 33, 60, 0.18), transparent 26rem),
    linear-gradient(140deg, #f7fbff 0%, #eef5ff 45%, #ffffff 100%);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 45, 92, 0.18);
}

.brand span {
  overflow-wrap: anywhere;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  padding: 9px 15px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 650;
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow: 0 8px 24px rgba(30, 64, 111, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding: 28px 0 14px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

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

.button.primary {
  background: rgba(20, 98, 255, 0.92);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.74);
}

.button.app-store {
  display: inline-flex;
  min-width: 136px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  padding: 8px 18px;
  background: rgba(20, 32, 51, 0.94);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
  line-height: 1.05;
}

.button-kicker {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.icon-stage {
  justify-self: center;
  width: min(100%, 330px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 44px;
  padding: 22px;
  background: var(--panel);
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  box-shadow: var(--shadow);
}

.icon-stage img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 34px;
}

.section {
  padding: 52px 0;
}

.screenshot-showcase {
  --screenshot-gap: clamp(14px, 2.6vw, 30px);
  position: relative;
  width: min(100vw, 1120px);
  margin: 0 auto 8px;
  overflow: hidden;
}

.screenshot-showcase::before,
.screenshot-showcase::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(18vw, 150px);
  content: "";
  pointer-events: none;
}

.screenshot-showcase::before {
  left: 0;
  background: linear-gradient(90deg, #f0f7ff 0%, rgba(240, 247, 255, 0) 100%);
}

.screenshot-showcase::after {
  right: 0;
  background: linear-gradient(270deg, #f7f2fb 0%, rgba(247, 242, 251, 0) 100%);
}

.screenshot-viewport {
  overflow: hidden;
}

/* Two identical tracks create a continuous marquee without a visible loop reset. */
.screenshot-rail {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 0;
  padding: 26px 0 34px;
  animation: screenshot-drift 42s linear infinite;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform;
}

.screenshot-track {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: var(--screenshot-gap);
  padding-right: var(--screenshot-gap);
}

.screenshot-track img {
  width: clamp(156px, 18vw, 236px);
  aspect-ratio: 1;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 22px 54px rgba(23, 48, 89, 0.16);
  transform: translateZ(0);
  backface-visibility: hidden;
}

@keyframes screenshot-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .screenshot-rail {
    animation: none;
    transform: translate3d(-18%, 0, 0);
  }
}

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

.card,
.policy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  box-shadow: 0 14px 34px rgba(23, 48, 89, 0.1);
}

.card {
  padding: 22px;
}

.card h2,
.card h3,
.policy h1,
.policy h2 {
  margin: 0;
  letter-spacing: 0;
}

.card p,
.policy p,
.policy li {
  color: var(--muted);
}

.policy {
  max-width: 860px;
  margin: 40px auto 72px;
  padding: clamp(24px, 4vw, 44px);
}

.policy h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.04;
}

.policy h2 {
  margin-top: 32px;
}

.policy-icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(15, 45, 92, 0.16);
}

.footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
}

.centered-footer {
  text-align: center;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 18px;
  }

  .icon-stage {
    justify-self: start;
    width: min(78vw, 280px);
  }

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

  .screenshot-showcase {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }
}
