:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-soft: #eef3ff;
  --line: #d7dfeb;
  --text: #101928;
  --muted: #5b6678;
  --accent: #2f7df6;
  --accent-strong: #1d63c9;
  --shadow: 0 10px 30px rgba(16, 25, 40, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 1040px;
  --phone-ratio: 1206 / 2622;
  --phone-hero-max: 340px;
  --phone-gallery-max: 300px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
  background: radial-gradient(circle at 12% 10%, #ffffff 0%, #f4f7fc 48%),
    radial-gradient(circle at 90% 0%, #eaf2ff 0%, transparent 42%), var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding: 24px 16px 56px;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  letter-spacing: -0.01em;
}

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

main,
header,
footer {
  position: relative;
  z-index: 1;
}

.bg-glow {
  display: none;
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto 44px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  color: var(--text);
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: block;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  line-height: 1;
}

.status {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.hero {
  max-width: var(--max-width);
  margin: 0 auto 72px;
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 14px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--accent-strong);
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.1;
  max-width: 16ch;
}

.hero-lede {
  font-size: 1rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 6px 16px rgba(47, 125, 246, 0.22);
}

.btn.primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.btn.ghost {
  background: var(--surface);
  color: var(--text);
}

.btn.ghost:hover {
  border-color: #b9c6dc;
}

.hero-media {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.device-frame {
  width: min(var(--phone-hero-max), 100%);
  padding: 10px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.device-frame video {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: var(--phone-ratio);
  max-height: min(68vh, 620px);
  object-fit: cover;
  display: block;
  border: 1px solid #dbe4f1;
  background: #e9eff8;
}

.device-frame img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: var(--phone-ratio);
  max-height: min(68vh, 620px);
  object-fit: cover;
  display: block;
  border: 1px solid #dbe4f1;
  background: #e9eff8;
}

.caption {
  font-size: 0.9rem;
  color: var(--muted);
}

.section-title {
  max-width: var(--max-width);
  margin: 0 auto 16px;
  display: grid;
  gap: 8px;
}

.section-title h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.section-title p {
  color: var(--muted);
}

.section-block {
  max-width: var(--max-width);
  margin: 0 auto 72px;
  display: grid;
  gap: 16px;
}

.screens {
  max-width: var(--max-width);
  margin: 0 auto 72px;
}

.screens-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 78%);
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x mandatory;
}

.screens-stack .screens-grid {
  grid-auto-flow: column;
}

.screen-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  scroll-snap-align: start;
  box-shadow: 0 4px 14px rgba(16, 25, 40, 0.06);
  max-width: var(--phone-gallery-max);
}

.screen-card img {
  width: 100%;
  aspect-ratio: var(--phone-ratio);
  max-height: min(60vh, 520px);
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #dbe4f1;
  background: #eef3fb;
}

.screen-card figcaption {
  color: var(--muted);
  font-size: 0.88rem;
}

.feature-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(16, 25, 40, 0.06);
  display: grid;
  gap: 12px;
}

.feature-card p {
  color: var(--muted);
}

.cta {
  max-width: var(--max-width);
  margin: 0 auto 72px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid #ced9ec;
  display: grid;
  gap: 14px;
  align-items: center;
}

.cta-actions {
  display: flex;
  justify-content: flex-start;
}

.footer {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-link {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-link:hover {
  color: var(--accent);
}

.policy {
  max-width: var(--max-width);
  margin: 0 auto 72px;
  display: grid;
  gap: 18px;
}

.policy-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(16, 25, 40, 0.06);
  display: grid;
  gap: 14px;
}

.policy-card h2 {
  font-size: 1.06rem;
}

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

.policy-card ul {
  padding-left: 20px;
  display: grid;
  gap: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: fade-up 0.45s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 760px) {
  body {
    padding: 32px 24px 72px;
  }

  .nav {
    margin-bottom: 56px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    margin-bottom: 80px;
  }

  .device-frame {
    width: min(360px, 100%);
  }

  .screens-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

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

  .screen-card {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .cta {
    grid-template-columns: 1.2fr auto;
    padding: 26px;
  }

  .footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1100px) {
  .screens-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .screens-stack .screens-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .screen-card {
    max-width: 250px;
  }
}
