/* ─── Design tokens ──────────────────────────────────────────── */
:root {
  /* Icon-derived palette */
  --blue:       #3885ff;  /* icon gradient top  (0.22, 0.52, 1.0) */
  --blue-deep:  #1438b3;  /* icon gradient bottom (0.08, 0.22, 0.70) */
  --blue-mid:   #2460e8;  /* blend — hover, active */
  --blue-dim:   #1a2d60;  /* low-saturation — subtle fills */
  --blue-glow:  rgba(56, 133, 255, 0.15);

  /* Surface — deep navy, not pure black */
  --bg:         #080a12;
  --bg-raised:  #0d1020;
  --bg-card:    #10131f;
  --border:     #1c2040;
  --border-dim: #12162a;

  /* Text */
  --text:       #eeeef8;
  --text-sub:   #9898c0;
  --text-muted: #52527a;

  /* Layout */
  --max:        660px;
  --r-card:     12px;
  --r-btn:      8px;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

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

/* ─── Nav ────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dim);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 24px;
  gap: 8px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.nav-brand:hover { text-decoration: none; color: var(--text); }
.nav-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 20px;
  font-size: 14px;
}
.nav-links a { color: var(--text-muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ─── Main container ─────────────────────────────────────────── */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 64px 0 60px;
  text-align: center;
}
.hero-icon-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
}
.hero-icon-wrap::before {
  content: "";
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 21px;
  display: block;
  position: relative;
}
.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text);
}
.hero p {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.65;
  max-width: 440px;
  margin: 0 auto 32px;
}

/* ─── CTA ────────────────────────────────────────────────────── */
.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r-btn);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  transition: filter 0.15s, opacity 0.15s;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.1); text-decoration: none; }
.btn-primary {
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  box-shadow: 0 2px 16px rgba(20, 56, 179, 0.4);
}
.trial-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
.trial-note span {
  margin: 0 5px;
  opacity: 0.4;
}

/* ─── Feature list ───────────────────────────────────────────── */
.hero-shot-link, .shot-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.hero-shot-link:hover, .shot-link:hover { text-decoration: none; }

.hero-shot {
  margin: 8px 0 44px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--bg-card);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.hero-shot-link:hover .hero-shot {
  border-color: var(--blue);
  transform: translateY(-1px);
}
.hero-shot img { width: 100%; height: auto; display: block; }

.shot-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 8px 0 52px;
}
.shot {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.shot-link:hover .shot {
  border-color: var(--blue);
  transform: translateY(-1px);
}
.shot img { width: 100%; height: auto; display: block; }
.shot-caption {
  padding: 11px 14px 13px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.45;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 100;
}
.lightbox:target {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.lightbox img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 2;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--r-btn);
  font-size: 13px;
  line-height: 1;
}
.lightbox-close:hover {
  text-decoration: none;
  border-color: var(--blue);
}

.features {
  margin: 8px 0 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  gap: 1px;
  background: var(--border);
}
.feature {
  background: var(--bg-card);
  padding: 20px 22px;
}
.feature h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 5px;
  color: var(--text);
}
.feature p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ─── Controllers ────────────────────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 48px;
}
.tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 13px;
  color: var(--text-sub);
  letter-spacing: -0.01em;
}

/* ─── Metadata strip ─────────────────────────────────────────── */
.meta-strip {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border-dim);
  padding-top: 20px;
}
.meta-item {
  flex: 1;
  padding: 0 20px;
  border-right: 1px solid var(--border-dim);
}
.meta-item:first-child { padding-left: 0; }
.meta-item:last-child  { padding-right: 0; border-right: none; }
.meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.meta-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  letter-spacing: -0.01em;
}

/* ─── Prose (privacy / terms) ────────────────────────────────── */
.prose {
  padding-top: 48px;
}
.prose h1 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.prose .meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 44px;
}
.prose h2 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 36px 0 10px;
}
.prose p {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 14px;
}
.prose ul {
  margin: 0 0 14px;
  padding-left: 20px;
}
.prose li {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 6px;
}
.prose hr {
  border: none;
  border-top: 1px solid var(--border-dim);
  margin: 40px 0;
}

/* ─── Support page ───────────────────────────────────────────── */
.support-section {
  padding-top: 48px;
}
.support-section h1 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.support-section .meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 24px;
  margin-bottom: 12px;
}
.support-card h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.support-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.support-card a { color: var(--blue); }
.support-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 24px;
  line-height: 1.6;
}
.support-note a { color: var(--text-muted); text-decoration: underline; }

/* ─── Footer ─────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border-dim);
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-links {
  margin-left: auto;
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-links a:hover { color: var(--text-sub); text-decoration: none; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .shot-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .meta-strip { flex-direction: column; gap: 16px; }
  .meta-item { border-right: none; padding: 0; }
  footer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { margin-left: 0; }
}
