:root {
  --bg-0: #f3f5f8;
  --bg-1: #ffffff;
  --bg-2: #e8edf4;
  --text: #12161e;
  --muted: #4f5a6c;
  --line: rgba(146, 160, 183, 0.38);
  --glass: rgba(255, 255, 255, 0.62);
  --accent: #0a84ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 92% -8%, #dde8fb 0%, rgba(221, 232, 251, 0) 62%),
    radial-gradient(760px 460px at 2% 12%, #eef2f8 0%, rgba(238, 242, 248, 0) 60%),
    linear-gradient(170deg, var(--bg-1), var(--bg-0) 58%, #eef2f7 100%);
  font-family: "Avenir Next", "Segoe UI", "SF Pro Text", "Helvetica Neue", sans-serif;
  line-height: 1.5;
  padding: 1.1rem;
}

.bg-aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 440px at 16% 84%, rgba(74, 131, 224, 0.14), rgba(74, 131, 224, 0)),
    radial-gradient(640px 360px at 88% 8%, rgba(160, 183, 224, 0.16), rgba(160, 183, 224, 0));
  z-index: -1;
}

.site-header,
main,
.site-footer {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.site-header {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border-radius: 1rem;
  margin-top: 0.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand img {
  border-radius: 0.7rem;
  box-shadow: 0 10px 20px rgba(74, 98, 128, 0.2);
}

nav {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

nav a {
  color: #2d3b50;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

main {
  margin-top: 1.25rem;
}

section {
  margin-bottom: 1rem;
}

.hero {
  padding: clamp(1.1rem, 2.3vw, 1.9rem);
  border-radius: 1.35rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.05rem;
  align-items: center;
}

.hero-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.hero-app-icon {
  width: clamp(116px, 14vw, 164px);
  aspect-ratio: 1 / 1;
  border-radius: 1.35rem;
  padding: 0.6rem;
  display: grid;
  place-items: center;
}

.hero-app-icon img {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(81, 104, 134, 0.28);
}

.eyebrow {
  margin: 0;
  color: #2f80d7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  font-weight: 700;
}

h1 {
  margin: 0.3rem 0 0.65rem;
  font-size: clamp(1.95rem, 4.5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  letter-spacing: -0.02em;
}

h3 {
  margin: 0;
  font-size: 1.03rem;
}

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

.lead {
  margin: 0 0 1rem;
  max-width: 72ch;
  font-size: clamp(1.02rem, 1.45vw, 1.12rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.cta,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.56rem 0.95rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.cta {
  color: #f8fbff;
  background: linear-gradient(130deg, #007aff, #3f9cff);
  box-shadow: 0 10px 24px rgba(29, 119, 220, 0.24);
}

.cta-small {
  padding: 0.45rem 0.82rem;
  font-size: 0.85rem;
}

.download-btn {
  min-width: 138px;
  text-align: center;
}

.is-disabled {
  opacity: 0.72;
  filter: saturate(0.5);
  cursor: not-allowed;
}

.ghost {
  color: #223144;
  border-color: rgba(123, 145, 175, 0.45);
  background: rgba(255, 255, 255, 0.54);
}

.chip-row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-row li {
  padding: 0.3rem 0.66rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(250, 252, 255, 0.72);
  color: #2c3b4e;
  font-size: 0.85rem;
}

.panel {
  padding: clamp(1rem, 2vw, 1.5rem);
}

.grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.card {
  padding: 0.85rem;
  border-radius: 1rem;
}

.card p {
  margin-bottom: 0.2rem;
}

.section-note {
  margin: 0.5rem 0 0.9rem;
  font-size: 0.9rem;
}

code {
  font-family: "Menlo", "Consolas", monospace;
  font-size: 0.9em;
  color: #2a5f97;
}

.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 31vw);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.2rem 0.15rem 0.35rem;
}

.shots::-webkit-scrollbar {
  height: 9px;
}

.shots::-webkit-scrollbar-track {
  background: rgba(209, 220, 236, 0.55);
  border-radius: 999px;
}

.shots::-webkit-scrollbar-thumb {
  background: rgba(127, 151, 182, 0.66);
  border-radius: 999px;
}

.screenshot {
  scroll-snap-align: start;
  border-radius: 1.25rem;
  padding: 0.85rem;
  margin: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto;
  gap: 0.7rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.8), rgba(245, 250, 255, 0.62));
  position: relative;
  overflow: hidden;
}

.screenshot::before {
  content: "Add screenshot";
  position: absolute;
  inset: 0.85rem 0.85rem 3.6rem;
  border-radius: 1rem;
  border: 1px dashed rgba(133, 154, 181, 0.5);
  display: grid;
  place-items: center;
  color: rgba(80, 101, 128, 0.62);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.screenshot.has-image::before {
  display: none;
}

.screenshot img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  height: auto;
  object-fit: cover;
  border-radius: 1rem;
  background: #f8fafd;
  border: 1px solid rgba(134, 155, 185, 0.25);
  box-shadow: 0 12px 28px rgba(93, 117, 150, 0.18);
  position: relative;
  z-index: 1;
}

.screenshot figcaption {
  margin-top: 0.8rem;
  color: #203145;
  font-weight: 600;
  text-align: center;
}

.faq {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}

.faq article {
  border-radius: 1rem;
  padding: 0.82rem;
}

.glass {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(249, 252, 255, 0.64)),
    var(--glass);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(200, 217, 240, 0.3),
    0 12px 34px rgba(95, 117, 146, 0.14);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
}

.policy-wrap {
  margin-top: 1rem;
  padding: clamp(1.1rem, 2.6vw, 1.7rem);
  border-radius: 1.1rem;
}

.policy-wrap h1 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.policy-wrap h2 {
  margin-top: 1.15rem;
  margin-bottom: 0.4rem;
}

.policy-wrap h3 {
  margin-top: 0.85rem;
  margin-bottom: 0.25rem;
}

.policy-wrap ul {
  margin-top: 0.3rem;
}

.site-footer {
  margin-top: 1.2rem;
  padding: 0.8rem 0.2rem 0.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-links a {
  color: #2e4460;
  text-decoration: none;
}

.footer-links span {
  color: #2e4460;
}

.reveal {
  animation: rise-in 0.7s cubic-bezier(.2, .62, .2, 1) both;
}

.delay-1 {
  animation-delay: 0.09s;
}

.delay-2 {
  animation-delay: 0.16s;
}

.delay-3 {
  animation-delay: 0.24s;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  body {
    padding: 0.75rem;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.65rem;
  }

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

  .hero-app-icon {
    width: 110px;
  }

  .shots {
    grid-auto-columns: minmax(86vw, 86vw);
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
