/* Spotted — shared styles */

:root {
  --canvas:    #06080B;
  --surface:   #0E141B;
  --surface2:  #161E28;
  --line:      #1E2A36;
  --ink:       #F2F6FA;
  --ink-dim:   #8A97A6;
  --ink-faint: #4C5866;
  --accent:    #2FE6FF;
  --accent-dim:#1FA9BD;
  --flag:      #FF4D5E;
  --lens:      #35E8C0;

  --max: 1080px;
  --prose: 720px;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img, svg { max-width: 100%; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 24px; }

/* ---------- eyebrow / mono ---------- */
.eyebrow {
  font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 8, 11, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand svg, .brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand__word { font-size: 18px; letter-spacing: -0.01em; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: var(--ink-dim); font-size: 15px; font-weight: 500; }
.nav__links a:hover { color: var(--ink); text-decoration: none; }

@media (max-width: 640px) {
  .nav__links { gap: 18px; }
  .nav__links a.hide-sm { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary {
  background: var(--accent); color: #04141a;
  box-shadow: 0 4px 18px -8px rgba(47,230,255,.55);
}
.btn--primary:hover { box-shadow: 0 8px 26px -8px rgba(47,230,255,.7); }
.btn--ghost {
  background: var(--surface2); color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--accent-dim); color: var(--accent); }
.btn--ghost svg { opacity: .7; transition: transform .15s ease; }
.btn--ghost:hover svg { transform: translateX(3px); opacity: 1; }
.btn--lg { padding: 15px 26px; font-size: 16px; }

/* App Store badge (inline SVG-ish) */
.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--canvas);
  font-weight: 600;
}
.appstore:hover { text-decoration: none; transform: translateY(-1px); }
.appstore small { display: block; font-size: 11px; font-weight: 500; opacity: .7; letter-spacing: .02em; }
.appstore strong { display: block; font-size: 18px; line-height: 1.1; letter-spacing: -0.01em; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; text-align: center; }
.hero__glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 42% at 50% 30%, rgba(47,230,255,.16), transparent 70%),
    radial-gradient(40% 30% at 70% 60%, rgba(53,232,192,.08), transparent 70%);
}
.hero__inner { position: relative; z-index: 1; }
.markframe { position: relative; width: 148px; margin: 0 auto 30px; }
.hero__mark {
  display: block;
  width: 148px; height: 148px;
  border-radius: 34px;
  object-fit: cover;
  filter: drop-shadow(0 0 46px rgba(47,230,255,.38));
}
/* scanner reticle corners */
.markframe .corner {
  position: absolute; width: 18px; height: 18px;
  border: 2px solid var(--accent); opacity: .4;
  animation: reticle 4s ease-in-out infinite;
}
.corner.tl { top: -13px; left: -13px; border-right: 0; border-bottom: 0; border-top-left-radius: 4px; }
.corner.tr { top: -13px; right: -13px; border-left: 0; border-bottom: 0; border-top-right-radius: 4px; }
.corner.bl { bottom: -13px; left: -13px; border-right: 0; border-top: 0; border-bottom-left-radius: 4px; }
.corner.br { bottom: -13px; right: -13px; border-left: 0; border-top: 0; border-bottom-right-radius: 4px; }
@keyframes reticle { 0%, 100% { opacity: .22; } 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .markframe .corner { animation: none; opacity: .35; } }
.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.03; letter-spacing: -0.03em; font-weight: 900;
  margin: 18px auto 0; max-width: 14ch;
}
.hero__sub {
  color: var(--ink-dim); font-size: clamp(17px, 2.4vw, 21px);
  max-width: 52ch; margin: 22px auto 0; line-height: 1.55;
}
.hero__cta { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__cta .appstore, .hero__cta .btn { min-height: 62px; }
.hero__note {
  margin-top: 18px; color: var(--ink-faint); font-size: 13px;
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
}
.hero__note .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lens); box-shadow: 0 0 0 0 rgba(53,232,192,.55);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(53,232,192,.5); }
  70% { box-shadow: 0 0 0 7px rgba(53,232,192,0); }
  100% { box-shadow: 0 0 0 0 rgba(53,232,192,0); }
}
@media (prefers-reduced-motion: reduce) { .hero__note .dot { animation: none; } }

#features { scroll-margin-top: 84px; }

/* reticle corner brackets */
.reticle { position: relative; }
.reticle::before, .reticle::after {
  content: ""; position: absolute; width: 22px; height: 22px; opacity: .5;
}

/* ---------- features ---------- */
.section { padding: 40px 0; }
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  padding: 20px 0 8px;
}
@media (max-width: 800px) { .features { grid-template-columns: 1fr; } }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface2); border: 1px solid var(--line);
  margin-bottom: 18px; color: var(--accent);
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--ink-dim); font-size: 15px; }

/* ---------- safety strip ---------- */
.safety {
  margin: 28px 0;
  display: flex; align-items: center; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--flag);
  border-radius: 12px;
  padding: 18px 22px;
  color: var(--ink-dim); font-size: 15px;
}
.safety svg { flex: none; width: 20px; height: 20px; color: var(--flag); }
.safety b { color: var(--ink); font-weight: 600; }

/* ---------- footer ---------- */
.footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding: 36px 0;
}
.footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; color: var(--ink-dim); font-size: 14px; }
.footer__brand svg, .footer__brand img { width: 22px; height: 22px; border-radius: 6px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { color: var(--ink-dim); font-size: 14px; }
.footer__links a:hover { color: var(--ink); text-decoration: none; }

/* ---------- prose (privacy / terms / support) ---------- */
.prose-page { padding: 56px 0 40px; }
.prose { max-width: var(--prose); margin-inline: auto; }
.back {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-dim);
}
.back:hover { color: var(--accent); text-decoration: none; }
.prose h1 { font-size: clamp(30px, 5vw, 44px); letter-spacing: -0.02em; margin: 24px 0 6px; }
.prose h2 { font-size: 21px; letter-spacing: -0.01em; margin: 40px 0 10px; }
.prose h3 { font-size: 17px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-dim); }
.prose li { margin: 6px 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); }
.prose .meta { color: var(--ink-faint); font-size: 14px; margin: 0; }
.prose blockquote {
  margin: 22px 0; padding: 16px 20px;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--accent); border-radius: 10px;
  color: var(--ink-dim);
}
.prose blockquote strong { color: var(--ink); }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 40px 0; }
.prose .fineprint { color: var(--ink-faint); font-size: 13.5px; font-style: italic; }
.prose ul { padding-left: 22px; }

/* ---------- support ---------- */
.support-hero { text-align: center; padding: 72px 0 32px; }
.support-hero h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.02em; margin: 16px 0 12px; }
.support-hero p { color: var(--ink-dim); max-width: 46ch; margin: 0 auto 28px; }
.faq { max-width: var(--prose); margin: 20px auto 0; }
.faq details {
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); padding: 4px 20px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-dim); margin: 0 0 16px; font-size: 15px; }
