/* ======================================================================
   Spytrap — light theme
   ====================================================================== */
:root {
  --bg: #f4f3ef;
  --surface: #ffffff;
  --surface-2: #faf9f6;
  --border: #e7e3db;
  --ink: #17141c;
  --text-hi: #1d1a22;
  --text-mid: #5c5763;
  --text-lo: #948f9c;
  --amber: #ff9d00;
  --amber-ink: #b96b00;
  --red: #ef3a2c;
  --green: #119360;
  --maxw: 1180px;
  --r: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 12px 34px rgba(23, 20, 28, .07);
  --shadow-lg: 0 30px 70px rgba(23, 20, 28, .12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: var(--bg); color: var(--text-hi); line-height: 1.62;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 88% 0%, rgba(255, 157, 0, .10), transparent 60%),
    radial-gradient(50% 40% at 6% 18%, rgba(255, 157, 0, .05), transparent 60%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.center { text-align: center; }
em { font-style: normal; color: var(--amber-ink); font-weight: 600; }

.eyebrow { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--amber-ink); display: inline-block; margin-bottom: 14px; }
.eyebrow.center { display: block; }
h2 { font-size: clamp(30px, 4.6vw, 50px); font-weight: 700; letter-spacing: -.03em; line-height: 1.04; color: var(--ink); }
.lead { color: var(--text-mid); font-size: clamp(16px, 2vw, 19px); max-width: 560px; margin-top: 14px; }
.center .lead { margin-left: auto; margin-right: auto; }
.section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }

/* ===== buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; transition: transform .25s var(--ease), border-color .2s, color .2s, background .2s; border: 1px solid transparent; }
.btn.ghost { border-color: var(--border); color: var(--ink); background: var(--surface); box-shadow: var(--shadow); }
.btn.ghost:hover { border-color: var(--amber); color: var(--amber-ink); transform: translateY(-2px); }

/* store badges */
.store-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.store-row.center-row { justify-content: center; margin-top: 28px; }
.store-badge { display: inline-flex; align-items: center; gap: 12px; background: #16131a; color: #fff; border-radius: 14px; padding: 11px 20px 11px 16px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); box-shadow: 0 10px 26px rgba(23, 20, 28, .18); }
.store-badge:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(23, 20, 28, .26); }
.store-badge .sb-glyph { width: 26px; height: 26px; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge small { font-size: 10px; letter-spacing: .04em; opacity: .82; }
.store-badge b { font-size: 19px; font-weight: 600; }
.store-badge.disabled { opacity: .42; filter: grayscale(.5); cursor: not-allowed; pointer-events: none; }

/* ===== nav ===== */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, box-shadow .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(244, 243, 239, .82); backdrop-filter: blur(14px) saturate(140%); border-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: var(--shadow); }
.brand .wm { font-family: "Bungee", sans-serif; font-size: 20px; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a:not(.btn-play) { color: var(--text-mid); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links > a:not(.btn-play):hover { color: var(--ink); }
.btn-play { background: var(--ink); color: #fff; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .2s var(--ease); }
.btn-play:hover { transform: translateY(-2px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.on span:nth-child(2) { opacity: 0; }
.nav-toggle.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== hero ===== */
.hero { position: relative; padding: clamp(50px, 8vw, 96px) 0 clamp(70px, 9vw, 110px); overflow: hidden; }
.hero-bg { position: absolute; inset: -200px 0 auto 0; height: 700px; pointer-events: none; background: radial-gradient(46% 60% at 78% 30%, rgba(255, 157, 0, .12), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 9px; font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mid); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 8px 15px; margin-bottom: 24px; box-shadow: var(--shadow); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(17, 147, 96, .5); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(17, 147, 96, .45); } 70% { box-shadow: 0 0 0 9px rgba(17, 147, 96, 0); } 100% { box-shadow: 0 0 0 0 rgba(17, 147, 96, 0); } }
.hero-title { font-size: clamp(44px, 6.4vw, 78px); font-weight: 700; line-height: .98; letter-spacing: -.04em; color: var(--ink); }
.hero-title .hl { color: var(--amber); }
.hero .sub { font-size: clamp(17px, 2.1vw, 20px); color: var(--text-mid); max-width: 500px; margin: 24px 0 32px; }
.microtrust { margin-top: 18px; font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--text-lo); letter-spacing: .02em; }

.hero-device { position: relative; display: flex; justify-content: center; }
.device-glow { position: absolute; inset: 6% -6%; z-index: 0; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 157, 0, .22), transparent 70%); filter: blur(10px); }

/* phone device (shared) */
.device { position: relative; z-index: 1; width: clamp(280px, 30vw, 320px); aspect-ratio: 320 / 660; border-radius: 46px; padding: 12px; background: linear-gradient(160deg, #2c2933, #121016); border: 1px solid #34313c; box-shadow: var(--shadow-lg); transform-style: preserve-3d; }
.hero-d { transform: rotate(-2deg); }
.device-screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #000; }
.device-screen > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.scr { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.device-notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 98px; height: 26px; background: #000; border-radius: 14px; z-index: 3; }

/* ===== pinned tour ===== */
.scene { position: relative; }
.scene-pin { height: 100svh; min-height: 660px; display: flex; align-items: center; overflow: hidden; }
.scene-aura { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 50% at 72% 40%, rgba(255, 157, 0, .12), transparent 70%); }
.scene-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; width: 100%; position: relative; z-index: 2; }
.cap-stack { position: relative; min-height: 280px; margin-top: 20px; }
.cap { position: absolute; inset: 0; }
.cap-num { font-family: "Bungee", sans-serif; font-size: 14px; color: rgba(185, 107, 0, .6); }
.cap h3 { font-size: clamp(28px, 4.2vw, 46px); font-weight: 700; letter-spacing: -.025em; line-height: 1.04; margin: 12px 0 14px; color: var(--ink); }
.cap p { color: var(--text-mid); font-size: clamp(16px, 2vw, 19px); max-width: 420px; }
.scene-stage { display: flex; align-items: center; justify-content: center; gap: 24px; perspective: 1700px; }
.progress { width: 4px; height: 280px; background: var(--border); border-radius: 4px; position: relative; overflow: hidden; }
.progress span { position: absolute; top: 0; left: 0; width: 100%; height: 0; background: linear-gradient(180deg, var(--amber), var(--red)); border-radius: 4px; }
.no-motion .scene-pin { height: auto; padding: 80px 0; }
.no-motion .cap-stack { min-height: auto; display: grid; gap: 24px; }
.no-motion .cap { position: relative; }
.no-motion .scr { position: relative; display: none; }
.no-motion .scr:first-child { display: block; }
.no-motion .progress { display: none; }
.no-motion [data-h] { opacity: 1 !important; transform: none !important; filter: none !important; }

/* ===== story band (dark contrast) ===== */
.story { position: relative; background: #08070a; color: #f2ede3; overflow: hidden; padding: clamp(60px, 8vw, 110px) 0; }
.story-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(42% 60% at 32% 50%, rgba(255, 157, 0, .16), transparent 70%); }
.story-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.eyebrow.light { color: var(--amber); }
.story h2 { color: #fff; font-size: clamp(34px, 5vw, 62px); }
.lead.light { color: #b9b3ad; }
.story-art { display: flex; justify-content: center; }
.story-art img { width: 116%; max-width: 640px; mix-blend-mode: screen; }

/* ===== feature banner (CTA) ===== */
.feature-banner { display: block; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); transition: transform .3s var(--ease), box-shadow .3s; max-width: 900px; margin: 0 auto 30px; }
.feature-banner:hover { transform: translateY(-5px); box-shadow: 0 44px 84px rgba(23, 20, 28, .2); }
.feature-banner img { width: 100%; display: block; }

/* ===== features ===== */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px; }
.feat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 28px 24px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; transform-style: preserve-3d; }
.feat:hover { box-shadow: var(--shadow-lg); border-color: rgba(255, 157, 0, .35); }
.feat-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.feat-ic svg { width: 24px; height: 24px; }
.feat-ic.amber { background: rgba(255, 157, 0, .12); color: var(--amber-ink); }
.feat-ic.red { background: rgba(239, 58, 44, .1); color: var(--red); }
.feat-ic.green { background: rgba(17, 147, 96, .1); color: var(--green); }
.feat-ic.ink { background: rgba(23, 20, 28, .06); color: var(--ink); }
.feat h3 { font-size: 19px; margin-bottom: 8px; color: var(--ink); letter-spacing: -.01em; }
.feat p { color: var(--text-mid); font-size: 15px; }

/* ===== privacy band ===== */
.band { background: linear-gradient(180deg, #fff, var(--bg)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.band .btn { margin-top: 8px; }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 14px; color: var(--ink); font-size: 17px; font-weight: 500; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); transition: transform .25s var(--ease); }
.checks li:hover { transform: translateX(5px); }
.checks li svg { width: 24px; height: 24px; color: var(--green); flex: 0 0 auto; }

/* ===== final ===== */
.final { background: linear-gradient(180deg, var(--bg), #fff); }
.final h2 { font-size: clamp(34px, 5.4vw, 58px); }

/* ===== footer ===== */
footer { background: var(--surface); border-top: 1px solid var(--border); padding: 54px 0 40px; }
.foot-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-grid .brand .wm { font-size: 19px; }
.foot-tag { color: var(--text-lo); max-width: 320px; margin-top: 12px; font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 24px; align-content: flex-start; }
.foot-links a { color: var(--text-mid); font-size: 15px; transition: color .2s; }
.foot-links a:hover { color: var(--amber-ink); }
.copy { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border); font-family: "JetBrains Mono", monospace; font-size: 12.5px; color: var(--text-lo); }

/* ===== legal ===== */
.legal { padding: 64px 0 90px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -.03em; color: var(--ink); }
.legal .updated { color: var(--text-lo); font-family: "JetBrains Mono", monospace; font-size: 13px; margin: 8px 0 26px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--text-mid); font-size: 16.5px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; } .legal li { margin-bottom: 8px; }
.legal strong { color: var(--ink); } .legal a { color: var(--amber-ink); }
.callout { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--green); border-radius: 14px; padding: 18px 20px; margin: 22px 0; box-shadow: var(--shadow); }
.callout p { margin: 0; color: var(--ink); }

/* ===== responsive ===== */
@media (max-width: 960px) {
  .hero-grid, .band-grid { grid-template-columns: 1fr; }
  .hero-device { order: -1; }
  .scene-grid { grid-template-columns: 1fr; gap: 28px; }
  .scene-caps { order: 2; text-align: center; }
  .scene-pin { flex-direction: column; justify-content: center; }
  .cap-stack { min-height: 170px; }
  .cap p { margin: 0 auto; }
  .progress { display: none; }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 24px; }
  .features { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none !important; }
}
