:root {
  --bg: #0a0e14;
  --bg-soft: #0f1520;
  --surface: #141b26;
  --surface-2: #1a2332;
  --border: rgba(110, 200, 255, 0.14);
  --text: #e8eef6;
  --text-soft: #b7c3d3;
  --muted: #7a8a9e;
  --blue: #6ec8ff;
  --blue-dim: rgba(110, 200, 255, 0.12);
  --gold: #e8b84a;
  --gold-dim: rgba(232, 184, 74, 0.1);
  --font: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 1120px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f7fb;
    --bg-soft: #eef3f9;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --border: rgba(20, 40, 70, 0.1);
    --text: #121821;
    --text-soft: #3a4a5c;
    --muted: #5a6b7c;
    --blue: #1a7fbf;
    --blue-dim: rgba(26, 127, 191, 0.08);
    --gold: #b8860b;
    --gold-dim: rgba(184, 134, 11, 0.08);
  }
}

* { box-sizing: border-box; }

html { color-scheme: dark light; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(110, 200, 255, 0.16), transparent 58%),
    radial-gradient(900px 480px at 95% 5%, rgba(232, 184, 74, 0.07), transparent 52%),
    linear-gradient(180deg, var(--bg-soft), var(--bg) 45%);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

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

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* ── Nav ── */

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand:hover { text-decoration: none; opacity: 0.92; }

.brand-mark {
  display: inline-block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-image: url("assets/logo.png");
  mask-image: url("assets/logo.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

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

.nav-links a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--blue-dim);
  text-decoration: none;
}

.nav-cta {
  color: var(--text) !important;
  background: var(--blue-dim);
  border-color: var(--border) !important;
}

/* ── Hero ── */

.hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px 48px;
  align-items: center;
  padding: 36px 0 72px;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.hero-copy .lead {
  margin: 0 0 24px;
  color: var(--text-soft);
  font-size: clamp(1.02rem, 1.8vw, 1.15rem);
  max-width: 34ch;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--blue-dim);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(180deg, rgba(110, 200, 255, 0.28), rgba(110, 200, 255, 0.14));
  color: var(--text);
  border-color: rgba(110, 200, 255, 0.35);
}
.btn-primary:hover { background: rgba(110, 200, 255, 0.22); }

.btn-ghost {
  background: transparent;
  color: var(--text-soft);
}
.btn-ghost:hover {
  color: var(--text);
  background: var(--blue-dim);
}

.btn-soon {
  opacity: 0.72;
  cursor: default;
  pointer-events: none;
}

.hero-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-shot {
  position: relative;
}

.hero-shot::before {
  content: "";
  position: absolute;
  inset: -20px -24px -28px -24px;
  background: radial-gradient(ellipse at 50% 60%, rgba(110, 200, 255, 0.12), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

/* ── Zoomable screenshots ── */

.shot-zoom {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(110, 200, 255, 0.06) inset;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.shot-media .shot-zoom {
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.32);
}
.shot-zoom:hover,
.shot-zoom:focus-visible {
  border-color: rgba(110, 200, 255, 0.4);
  transform: translateY(-2px);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(110, 200, 255, 0.12) inset;
  outline: none;
}
.shot-zoom img {
  width: 100%;
  border-radius: inherit;
  pointer-events: none;
}
.shot-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(10, 14, 20, 0.78);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s;
  pointer-events: none;
}
.shot-zoom:hover .shot-zoom-hint,
.shot-zoom:focus-visible .shot-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .shot-zoom-hint {
    opacity: 0.85;
    transform: none;
  }
}

/* ── Lightbox ── */

.lightbox {
  width: min(96vw, 1400px);
  max-width: 96vw;
  max-height: 94vh;
  margin: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #0a0e14;
  color: var(--text);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}
.lightbox::backdrop {
  background: rgba(4, 8, 14, 0.82);
  backdrop-filter: blur(6px);
}
.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.lightbox-caption {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}
.lightbox-close {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--blue-dim);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.lightbox-close:hover {
  border-color: rgba(110, 200, 255, 0.35);
}
.lightbox img {
  display: block;
  width: 100%;
  max-height: calc(94vh - 52px);
  object-fit: contain;
  background: #070a10;
}

/* ── Platforms ── */

.platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding: 18px 22px;
  margin-bottom: 56px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
}

.platforms-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 550;
}

.tag-accent {
  color: var(--gold);
  border-color: rgba(232, 184, 74, 0.25);
  background: var(--gold-dim);
}

/* ── Section headers ── */

.section-head {
  margin-bottom: 36px;
  text-align: center;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.02rem;
}

/* ── Features grid ── */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}

.feature {
  padding: 22px 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 85%, transparent);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--blue-dim);
  color: var(--blue);
  font-size: 1.1rem;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ── Screenshot rows ── */

.shots {
  display: flex;
  flex-direction: column;
  gap: 72px;
  margin-bottom: 80px;
}

.shot-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 36px 48px;
  align-items: center;
}

.shot-row.reverse {
  grid-template-columns: 1.25fr 1fr;
}
.shot-row.reverse .shot-copy { order: 2; }
.shot-row.reverse .shot-media { order: 1; }

.shot-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.shot-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.shot-copy .shot-tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── SEO blurb (readable for crawlers + humans) ── */

.seo-blurb {
  max-width: 720px;
  margin: 0 auto 64px;
  padding: 22px 24px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
}
.seo-blurb h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.seo-blurb p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* ── How it works ── */

.how {
  margin-bottom: 72px;
}

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.how-steps > li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 85%, transparent);
}

.how-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--blue-dim);
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 700;
}

.how-steps h3 {
  margin: 2px 0 6px;
  font-size: 1rem;
  font-weight: 650;
}

.how-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-teaser {
  text-align: center;
  margin-bottom: 56px;
}

/* ── Inner pages ── */

.page-hero {
  padding: 28px 0 36px;
  max-width: 640px;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.page-hero .lead {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* ── FAQ ── */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 56px;
  max-width: 760px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  padding: 0 18px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 500;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p {
  margin: 0 0 16px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.faq-item p + p { margin-top: -8px; }

/* ── Download rows ── */

.dl-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 56px;
}

.dl-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 22px 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.dl-copy {
  flex: 1 1 280px;
  min-width: 0;
}

.dl-copy h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dl-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.dl-action {
  flex-shrink: 0;
}

/* ── Trust band ── */

.trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 72px;
}

.trust-card {
  padding: 26px 24px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.trust-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 650;
}

.trust-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.trust-card ul {
  margin: 10px 0 0;
  padding-left: 1.15em;
  color: var(--muted);
  font-size: 0.92rem;
}
.trust-card li { margin-bottom: 4px; }

/* ── CTA ── */

.cta {
  text-align: center;
  padding: 44px 28px;
  margin-bottom: 56px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(110, 200, 255, 0.1), transparent 70%),
    color-mix(in srgb, var(--surface) 90%, transparent);
}

.cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta p {
  margin: 0 auto 22px;
  max-width: 46ch;
  color: var(--text-soft);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* ── Footer ── */

.site-footer {
  padding: 28px 0 48px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--blue); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

/* ── Responsive ── */

@media (max-width: 960px) {
  .hero,
  .shot-row,
  .shot-row.reverse {
    grid-template-columns: 1fr;
  }

  .shot-row.reverse .shot-copy,
  .shot-row.reverse .shot-media {
    order: unset;
  }

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

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

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

@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, var(--max)); }

  .hero { padding-bottom: 48px; }
  .hero-copy .lead { max-width: none; }

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

  .shots { gap: 52px; }

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