/* Stage Proof home page: a dark stage lit by one green spotlight.
   Self-contained; the other pages keep style.css. */
:root {
  --bg: #060807;
  --surface: #0f1311;
  --surface-2: #161b18;
  --line: #1f2723;
  --text: #eef3ef;
  --muted: #a7b6ad;
  --dim: #7d8a82;
  --accent: #2ec27e;
  --accent-hi: #8ff5c0;
  --accent-soft: rgba(46, 194, 126, .12);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --max: 1160px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); }
img, video { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left)); }
em.hl, h1 em, h2 em { font-style: normal; background: linear-gradient(180deg, var(--accent-hi), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-block; font: 600 .78rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #5fe3a1; padding: .6rem .9rem; border: 1px solid rgba(95, 227, 161, .35); border-radius: 999px; background: rgba(46, 194, 126, .06); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; } }

/* Nav */
.site-nav { position: sticky; top: 0; z-index: 20; background: rgba(6, 8, 7, .72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid rgba(255, 255, 255, .05); }
.site-nav .container { display: flex; align-items: center; gap: 2rem; height: 64px; }
.logo { display: flex; align-items: center; gap: .65rem; color: var(--text); font-weight: 700; font-size: 1.1rem; margin-right: auto; }
.logo:hover { color: var(--text); }
.logo img { width: 34px; height: 34px; border-radius: 8px; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 1.6rem; list-style: none; }
.nav-links a { color: var(--muted); font-size: .95rem; }
.nav-links a:hover { color: var(--text); }
.nav-cta { background: var(--accent); color: #04140b !important; font-weight: 700; padding: .5rem 1rem; border-radius: 999px; font-size: .92rem; }
.nav-cta:hover { background: var(--accent-hi); }
@media (max-width: 760px) { .nav-links li:not(.keep) { display: none; } .site-nav .container { gap: 1rem; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 5rem 0 6rem; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(42% 70% at 72% 0%, rgba(78, 232, 152, .34), rgba(46, 194, 126, .07) 60%, transparent 85%), radial-gradient(50% 30% at 72% 100%, rgba(46, 194, 126, .16), transparent 70%); pointer-events: none; }
.hero .beam { position: absolute; left: 72%; top: -40px; width: 900px; height: 900px; transform: translateX(-50%); background: linear-gradient(rgba(150, 255, 200, .18), rgba(46, 194, 126, .05) 65%, transparent); clip-path: polygon(43% 0, 57% 0, 100% 100%, 0 100%); filter: blur(20px); pointer-events: none; animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .75; } }
.hero .container { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); font-weight: 800; letter-spacing: -.045em; line-height: .98; margin-top: 1.6rem; text-wrap: balance; }
.hero .lead { margin-top: 1.6rem; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--muted); max-width: 34rem; }
.badges { margin-top: 2.4rem; display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; }
.badges img { height: 54px; }
.badges span { color: var(--dim); font-size: .95rem; }
.hero-phones { position: relative; height: 640px; }
@media (max-width: 900px) { .hero .container { grid-template-columns: minmax(0, 1fr); } .hero-phones { height: 560px; } }

/* Device frame */
.device { position: absolute; border-radius: 48px; padding: 8px; background: linear-gradient(145deg, #5b6166, #1c1f22 30%, #0d0f10 70%, #3a3f43); box-shadow: 0 0 0 2px #000 inset, 0 40px 90px rgba(0, 0, 0, .8), 0 0 120px rgba(46, 194, 126, .2); }
.device .screen { border-radius: 40px; overflow: hidden; position: relative; background: #000; }
.device .screen img, .device .screen video { width: 100%; height: auto; }
.device .screen::after { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 30%; height: 3.4%; border-radius: 999px; background: #000; }
.hero-phones .front { width: 290px; left: 6%; top: 0; z-index: 2; }
.hero-phones .back { width: 256px; left: 48%; top: 52px; transform: rotate(5deg); opacity: .92; }
@media (max-width: 520px) { .hero-phones .front { width: 240px; left: 0; } .hero-phones .back { width: 210px; left: 40%; } .hero-phones { height: 480px; } }

/* Section scaffolding */
section { position: relative; }
.section { padding: 6rem 0; }
.section-head { max-width: 46rem; display: grid; gap: 1rem; }
.section-head h2, .row h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; }
.section-head p, .row p { color: var(--muted); font-size: 1.12rem; max-width: 36rem; }

/* Feature cards */
.cards { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
@media (max-width: 900px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 2rem 2rem 0; display: grid; grid-template-rows: auto auto auto 1fr; min-height: 520px; }
.card .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 1.3rem; }
.ic svg { width: 24px; height: 24px; fill: none; stroke: #5fe3a1; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.55rem; letter-spacing: -.02em; }
.card p { margin-top: .5rem; color: var(--muted); }
.card .peek { margin-top: 1.6rem; align-self: end; border-radius: 26px 26px 0 0; border: 6px solid #1c1f22; border-bottom: 0; overflow: hidden; height: 260px; }
.card .peek img { width: 100%; }

/* Alternating rows */
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; align-items: center; padding: 5rem 0; border-top: 1px solid var(--line); }
.row.flip .text { order: 2; }
.row .text { display: grid; gap: 1.1rem; align-content: center; }
.row .text .ic { margin-bottom: .2rem; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; }
.row ul { list-style: none; display: grid; gap: .55rem; color: var(--muted); }
.row li { padding-left: 1.4rem; position: relative; }
.row li::before { content: ""; position: absolute; left: 0; top: .6em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(46, 194, 126, .7); }
.beta { font: 600 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #5fe3a1; border: 1px solid rgba(95, 227, 161, .4); padding: .3rem .5rem; border-radius: 6px; vertical-align: middle; }
.shots { display: flex; gap: 1.2rem; justify-content: safe center; align-items: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: 1rem .2rem 1.6rem; scrollbar-width: thin; }
.shots .device { position: relative; flex: 0 0 auto; width: 230px; border-radius: 40px; }
.shots .device .screen { border-radius: 33px; }
.shots .device:nth-child(2) { margin-top: 2.4rem; }
.shots .device:nth-child(3) { margin-top: 1rem; }
@media (max-width: 900px) { .row { grid-template-columns: minmax(0, 1fr); gap: 2rem; } .row.flip .text { order: 0; } .shots { justify-content: flex-start; } }

/* Why + audience */
.why { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
@media (max-width: 900px) { .why { grid-template-columns: minmax(0, 1fr); } }
.why div { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem; }
.why h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.why p { color: var(--muted); }
.why strong { color: var(--text); }
.audience { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.audience span { padding: .6rem 1rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }

/* Newsletter + CTA */
.newsletter-section { padding: 3rem 0; }
.cta { text-align: center; padding: 7rem 0 6rem; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 70% at 50% 0%, rgba(78, 232, 152, .28), transparent 75%); pointer-events: none; }
.cta .container { position: relative; display: grid; justify-items: center; gap: 1.2rem; }
.cta img.icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6), 0 0 80px rgba(46, 194, 126, .25); }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.cta p { color: var(--muted); font-size: 1.15rem; }
.cta .badges { justify-content: center; margin-top: .6rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.4rem 0 3rem; color: var(--dim); font-size: .9rem; }
.footer-content { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.footer-brand { color: var(--text); font-weight: 700; }
.footer-brand span { color: var(--accent); }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-links a { color: var(--dim); }
.footer-links a:hover { color: var(--text); }
.footer-copy { margin-top: 1rem; }
