/* ============================================================
   CLIPR — sections, app mockups, scroll story, footer
   ============================================================ */

/* shared app-mockup chrome (mirrors the real Clipr desktop app) */
.app {
  background: var(--ink);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 50px 120px -40px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
}
.app__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: #0c0d11;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.app__dot { width: 10px; height: 10px; border-radius: 50%; background: #2a2d34; }
.app__title { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); margin-left: 6px; letter-spacing: 0.04em; }
.app__body { display: flex; min-height: 0; }
.app__side {
  width: 168px; flex: none;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 14px 10px;
  display: flex; flex-direction: column; gap: 3px;
}
.app__brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 14px; }
.app__brand svg { width: 24px; height: 24px; }
.app__brand img {
  width: 24px; height: 24px; flex: none;
  border-radius: 6px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(200,255,102,0.28));
}
.app__brand b { font-family: var(--font-mono); font-size: 13px; line-height: 1.1; }
.app__brand small { display: block; font-size: 9.5px; color: var(--muted-2); font-weight: 400; margin-top: 1px; }
.navi {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px;
  font-size: 12.5px; color: var(--muted);
}
.navi.is-active { background: rgba(255,255,255,0.05); color: var(--white); }
.navi svg { width: 15px; height: 15px; opacity: 0.8; }
.navi.is-active svg { color: var(--lime); opacity: 1; }
.navi__count { margin-left: auto; font-size: 10px; font-family: var(--font-mono); color: var(--muted-2); background: rgba(255,255,255,0.06); border-radius: 5px; padding: 1px 6px; }
.app__main { flex: 1; padding: 18px 20px; min-width: 0; }
.app__banner {
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; color: var(--lime-2);
  background: rgba(150,200,60,0.07);
  border: 1px solid rgba(180,242,79,0.18);
  border-radius: 9px;
  padding: 9px 13px;
  margin-bottom: 16px;
}
.app__kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; color: var(--muted-2); text-transform: uppercase; }
.app__h { font-size: 18px; font-weight: 700; margin-top: 4px; letter-spacing: -0.01em; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  padding: 4px 9px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}
.badge::before { content:""; width:5px; height:5px; border-radius:50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.badge--lime { color: var(--lime); border-color: rgba(200,255,102,0.3); }
.badge--amber { color: #e9b949; border-color: rgba(233,185,73,0.3); }

.appcard {
  background: #101218;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 11px;
  padding: 14px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.3s var(--ease), background 0.25s var(--ease);
  cursor: pointer;
}
.appcard:hover {
  border-color: rgba(200,255,102,0.45);
  background: #121521;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(200,255,102,0.15), 0 0 24px -8px rgba(200,255,102,0.35);
}
.appcard.is-hi { border-color: rgba(200,255,102,0.45); box-shadow: 0 0 0 1px rgba(200,255,102,0.15), 0 0 30px -8px rgba(200,255,102,0.3); }
.appcard__ic { width: 22px; height: 22px; color: var(--lime); margin-bottom: 26px; }
.appcard__t { font-size: 13px; font-weight: 600; }
.appcard__s { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* embedded ORIGINAL app mockups (hero Capture + S1 Home) */
.desktop .app, .reveal-shot .app { width: 100%; border: none; border-radius: 0; box-shadow: none; }
.app__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }

/* capture screen */
.capwrap { display: flex; gap: 12px; align-items: stretch; }
.capframe { flex: 1; min-width: 0; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; background: #0b0d13; overflow: hidden; }
.capframe__bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #0e1118; border-bottom: 1px solid rgba(255,255,255,0.05); }
.capframe__d { width: 7px; height: 7px; border-radius: 50%; background: #272b33; flex: none; }
.capframe__url { flex: 1; height: 8px; border-radius: 5px; background: rgba(255,255,255,0.06); margin-left: 6px; }
.capframe__body { padding: 15px 14px; display: flex; flex-direction: column; gap: 10px; }
.sk { height: 9px; border-radius: 5px; background: rgba(255,255,255,0.07); width: 100%; }
.sk--lg { height: 14px; width: 52%; background: rgba(255,255,255,0.12); }
.sk--sh { width: 68%; }
.sk--blk { height: 48px; border-radius: 8px; background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.06); }
.bufpanel { width: 118px; flex: none; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 13px; background: #101218; }
.bufpanel__n { font-family: var(--font-mono); font-size: 21px; font-weight: 700; margin-top: 7px; line-height: 1; }
.bufpanel__n span { font-size: 11px; color: var(--muted-2); font-weight: 400; }
.bufbar { height: 5px; border-radius: 4px; background: rgba(255,255,255,0.08); margin-top: 11px; overflow: hidden; }
.bufbar i { display: block; height: 100%; width: 22%; background: var(--lime); border-radius: 4px; box-shadow: 0 0 10px rgba(200,255,102,0.5); }
.capactions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.capbtn {
  font-family: var(--font-mono); font-size: 11px; padding: 8px 12px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1); color: var(--silver); background: rgba(255,255,255,0.02);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
  cursor: pointer;
}
.capbtn:hover { border-color: rgba(200,255,102,0.4); color: var(--white); background: rgba(200,255,102,0.06); transform: translateY(-1px); }
.capbtn--lime { background: var(--lime); color: #0a0e06; border-color: var(--lime); font-weight: 600; }
.capbtn--lime:hover { background: var(--lime-2); color: #0a0e06; }

/* home screen */
.homegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.homegrid .appcard__ic { margin-bottom: 16px; }
.statuscard { border: 1px solid rgba(255,255,255,0.07); border-radius: 11px; padding: 14px 15px; background: #101218; }
.statusline { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--silver); margin-top: 11px; }
.reveal-shot__app { width: 100%; }

/* ============================================================
   SCROLL STORY — pinned sections
   ============================================================ */
.story { position: relative; }
.story__panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}
.story__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.story__grid.flip { grid-template-columns: 1.08fr 0.92fr; }
.story__grid.flip .story__copy { order: 2; }

.story__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--lime);
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 10px;
  border: 1px solid rgba(200,255,102,0.25);
  border-radius: 999px;
  background: rgba(200,255,102,0.05);
  text-transform: uppercase;
}
.story__num::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}
.story__title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.story__title .accent { color: var(--lime); }
.story__body {
  margin-top: 22px;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--silver);
  max-width: 44ch;
  line-height: 1.65;
}
.story__list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.story__li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: var(--silver); line-height: 1.5; }
.story__li svg {
  flex: none;
  width: 22px; height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(200,255,102,0.1);
  border: 1px solid rgba(200,255,102,0.22);
  color: var(--lime);
  box-sizing: border-box;
  margin-top: -1px;
}
.story__li b { color: var(--white); font-weight: 600; }

/* visual side */
.story__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
}

/* S1 — blur to clarity */
.reveal-shot {
  position: relative; width: 100%; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 90px -34px rgba(0,0,0,0.9), 0 0 70px -24px rgba(80,120,255,0.3);
}
.reveal-shot > img { width: 100%; transition: filter 0.1s linear; }
.reveal-veil {
  position: absolute; inset: 0;
  background: rgba(8,9,13,0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.reveal-scan {
  position: absolute; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  box-shadow: 0 0 24px 4px rgba(200,255,102,0.6);
  top: 0;
}

/* S2 — snip flowing into AI response */
.snipstage { position: relative; width: 100%; }
.snipstage__shot {
  width: 100%; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 90px -34px rgba(0,0,0,0.9), 0 0 60px -26px rgba(80,120,255,0.25);
}
.snipstage__shot > img { width: 100%; }
.snipstage__box {
  position: absolute;
  border: 1.5px solid var(--lime);
  border-radius: 5px;
  box-shadow: inset 0 0 24px rgba(200,255,102,0.12);
}
.snipstage__box .c { position:absolute; width:8px;height:8px;border:2px solid var(--lime);background:#0a0e06;border-radius:2px; }
.snipstage__box .c1{top:-4px;left:-4px} .snipstage__box .c2{top:-4px;right:-4px}
.snipstage__box .c3{bottom:-4px;left:-4px} .snipstage__box .c4{bottom:-4px;right:-4px}

.ai-reply {
  position: absolute;
  right: 5%; bottom: -7%;
  width: 55%;
  background: rgba(14,16,23,0.9);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 15px 16px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 50px -26px rgba(0,0,0,0.85);
}
.ai-reply__head { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; }
.ai-reply__avatar { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #8b6cf0, #4c7df0); flex: none; display: grid; place-items: center; color: #fff; }
.ai-reply__name { font-family: var(--font-mono); font-size: 11px; font-weight: 600; }
.ai-reply__ctx { display: flex; align-items: center; gap: 7px; font-size: 10px; color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.01em; margin-bottom: 11px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.ai-reply__ctx b { color: var(--silver); font-weight: 600; }
.ai-reply__clipr { width: 15px; height: 15px; border-radius: 4px; flex: none; background: url(assets/logo.png) center/contain no-repeat; }
.ai-reply__thumb { border-radius: 8px; overflow: hidden; border: 1px solid rgba(200,255,102,0.3); margin-bottom: 10px; }
.ai-reply__thumb > img { width: 100%; }
.ai-reply__line { height: 7px; border-radius: 4px; background: rgba(255,255,255,0.1); margin-bottom: 7px; }
.ai-reply__line.w1 { width: 96%; } .ai-reply__line.w2 { width: 78%; } .ai-reply__line.w3 { width: 60%; background: rgba(200,255,102,0.25); }

/* code-editor mockup (S2) */
.codewin { background: #0c0f16; font-family: var(--font-mono); }
.codewin__bar { display: flex; align-items: center; gap: 7px; padding: 9px 13px; background: #0a0c12; border-bottom: 1px solid rgba(255,255,255,0.06); }
.codewin__dot { width: 9px; height: 9px; border-radius: 50%; background: #2a2d34; }
.codewin__file { display: flex; align-items: center; gap: 7px; margin-left: 8px; font-size: 11.5px; color: var(--silver); }
.codewin__logo { width: 15px; height: 15px; display: grid; place-items: center; flex: none; }
.codewin__logo svg { width: 100%; height: 100%; }
.codewin__tag { margin-left: auto; font-size: 9.5px; letter-spacing: 0.12em; color: var(--muted-2); text-transform: uppercase; }
.codewin__body { padding: 14px 12px 8px; font-size: 12.5px; line-height: 1.95; }
.codeln { display: flex; align-items: center; gap: 13px; white-space: pre; color: #c2ccd8; }
.codeln--err { background: rgba(255,80,80,0.08); border-radius: 5px; }
.gut { width: 18px; text-align: right; color: #3a414e; font-size: 11px; flex: none; user-select: none; }
.tk-kw { color: #c08bff; }
.tk-vr { color: #7fd1ff; }
.tk-fn { color: #c8ff66; }
.tk-cm { color: #5b6472; font-style: italic; }
.tk-er { color: #ff6b6b; text-decoration: underline wavy #ff5b5b; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tk-ok { color: #c8ff66; }
.err-tip { margin: 4px 12px 14px; background: rgba(255,70,70,0.1); border: 1px solid rgba(255,90,90,0.3); color: #ff9b9b; font-family: var(--font-mono); font-size: 10.5px; border-radius: 7px; padding: 7px 10px; }
.ai-reply__code { font-family: var(--font-mono); font-size: 11px; background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border); border-radius: 7px; padding: 7px 9px; margin-bottom: 9px; color: #c2ccd8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-reply__code--fix { border-color: rgba(200,255,102,0.4); background: rgba(200,255,102,0.07); margin-bottom: 0; margin-top: 9px; }

/* S3 — voice into many apps */
.voicehub { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.voicehub__mic {
  position: relative; z-index: 3;
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 38% 32%, #1a1d26, #0c0d12);
  border: 1px solid rgba(200,255,102,0.4);
  box-shadow: 0 0 50px -6px rgba(200,255,102,0.5);
  color: var(--lime);
}
.voicehub__pulse { position:absolute; inset:0; border-radius:50%; border:1px solid rgba(200,255,102,0.4); animation: vpulse calc(2.6s / var(--motion, 1)) ease-out infinite; }
@keyframes vpulse { 0%{transform:scale(1);opacity:.8} 100%{transform:scale(2.4);opacity:0} }
.voicehub__wave { display:flex; gap:3px; align-items:center; justify-content:center; height:30px; width:130px; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); }
.voicehub__wave span { width:3px; background: var(--lime); border-radius:3px; height:20%; box-shadow: 0 0 6px rgba(200,255,102,0.6); }
.app-chip {
  position: absolute;
  display: flex; align-items: center; gap: 9px;
  background: rgba(14,16,23,0.82);
  border: 1px solid var(--glass-border);
  border-radius: 11px;
  padding: 9px 12px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  font-size: 12px;
  box-shadow: 0 18px 44px -20px rgba(0,0,0,0.7);
  will-change: transform, opacity;
  transition: border-color 0.25s var(--ease), box-shadow 0.3s var(--ease);
  cursor: default;
}
.app-chip:hover {
  border-color: rgba(200,255,102,0.45);
  box-shadow: 0 18px 44px -20px rgba(0,0,0,0.7), 0 0 24px -8px rgba(200,255,102,0.4);
}
.app-chip__logo { width: 20px; height: 20px; border-radius: 5px; flex: none; display:grid; place-items:center; font-family: var(--font-mono); font-weight:700; font-size:11px; }
.app-chip__txt { font-family: var(--font-mono); font-size: 11.5px; color: var(--silver); }
.app-chip__txt .caret { color: var(--lime); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* S4 — connected workflow node diagram */
.nodemap { position: relative; width: 100%; aspect-ratio: 1/1; max-width: 460px; }
.nodemap svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nodering { fill: none; stroke: rgba(200,255,102,0.13); stroke-width: 1; }
.nodeflow { fill: none; stroke: #d6ff8a; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 4 168; filter: drop-shadow(0 0 5px rgba(200,255,102,0.9)); animation: nodeflow calc(2.6s / var(--motion, 1)) linear infinite; }
@keyframes nodeflow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -172; } }
@media (prefers-reduced-motion: reduce) { .nodeflow { display: none; } }
.node {
  position: absolute;
  transform: translate(-50%, -50%);
  background: rgba(14,16,23,0.85);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 11px 14px;
  display: flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 600;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  white-space: nowrap;
  box-shadow: 0 16px 40px -18px rgba(0,0,0,0.7);
  transition: border-color 0.25s var(--ease), box-shadow 0.3s var(--ease);
  cursor: default;
}
.node:hover {
  border-color: rgba(200,255,102,0.55);
  box-shadow: 0 16px 40px -18px rgba(0,0,0,0.7), 0 0 28px -8px rgba(200,255,102,0.4);
}
.node svg { width: 16px; height: 16px; color: var(--lime); transition: transform 0.3s var(--ease); }
.node:hover svg { transform: scale(1.15) rotate(6deg); }
.node--center {
  background: radial-gradient(circle at 38% 30%, rgba(200,255,102,0.18), rgba(14,16,23,0.9));
  border-color: rgba(200,255,102,0.5);
  box-shadow: 0 0 50px -8px rgba(200,255,102,0.45);
  padding: 16px 20px;
  font-family: var(--font-mono);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
  text-align: center;
  padding: 180px 0 120px;
  position: relative;
}
.final__title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(30px, 5.2vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.final__title .accent { color: var(--lime); }
.final__title .dim { color: var(--muted-2); }
.final__sub { margin: 26px auto 0; max-width: 52ch; color: var(--silver); font-size: clamp(16px,1.6vw,19px); }

/* waitlist form */
.waitlist {
  margin: 44px auto 0;
  display: flex;
  gap: 10px;
  max-width: 480px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 8px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.waitlist:focus-within { border-color: rgba(200,255,102,0.5); box-shadow: 0 0 40px -10px rgba(200,255,102,0.4); }
.waitlist input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--white); font-family: var(--font-sans); font-size: 15px;
  padding: 0 14px;
}
.waitlist input::placeholder { color: var(--muted-2); }
.waitlist.is-done { justify-content: center; padding: 18px; color: var(--lime); font-family: var(--font-mono); font-size: 14px; gap: 10px; align-items: center; }
.waitlist.is-error { border-color: rgba(255,120,120,0.55); box-shadow: 0 0 40px -12px rgba(255,90,90,0.4); }
.waitlist.is-loading { opacity: 0.85; }
.waitlist input:disabled { opacity: 0.6; cursor: not-allowed; }
.waitlist .btn:disabled { opacity: 0.7; cursor: progress; }

/* status line — collapsed until a state message appears */
.waitlist__status {
  min-height: 18px; margin-top: 12px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.02em;
}
.waitlist__status.is-error { color: #ff9a9a; }
.waitlist__status.is-idle { color: transparent; }

.final__meta { margin-top: 18px; font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); letter-spacing: 0.03em; }
.final__meta b { color: var(--silver); font-weight: 500; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 56px 0 48px;
  position: relative;
  z-index: 1;
  background: rgba(6,7,11,0.6);
}
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand { max-width: 280px; }
.footer__brand .brand { margin-bottom: 14px; }
.footer__tag { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer__col a { display: block; width: fit-content; font-size: 14px; color: var(--silver); margin-bottom: 11px; transition: color 0.2s, transform 0.25s var(--ease); position: relative; }
.footer__col a:hover { color: var(--lime); transform: translateX(2px); }
.footer__bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted-2);
}

/* ============================================================
   CURSOR GLOW
   ============================================================ */
.cursor-glow {
  position: fixed;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,255,102,0.10), rgba(120,150,255,0.05) 40%, transparent 68%);
  pointer-events: none;
  z-index: 4;
  /* positioned via GPU transform from JS (translate3d) — no layout thrash */
  top: 0; left: 0;
  transform: translate3d(-1000px, -1000px, 0);
  mix-blend-mode: screen;
  transition: opacity 0.4s;
  will-change: transform;
}

/* reveal helpers */
.reveal { opacity: 0; transform: translateY(28px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  /* tighten the app sidebar so mockups don't crowd at laptop/tablet widths */
  .app__side { width: 150px; }
  .app__main { padding: 16px 18px; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .story__grid, .story__grid.flip { grid-template-columns: 1fr; gap: 40px; }
  .story__grid.flip .story__copy { order: 0; }
  .story__panel { min-height: auto; padding: 80px 0; }
  .story__visual { aspect-ratio: auto; height: auto; display: block; }
  .floatcard--voice { left: -2%; top: 8%; }
  .floatcard--ctx { right: -2%; bottom: 14%; }
  .ai-reply { position: relative; right: 0; bottom: 0; width: 100%; margin-top: 16px; }
  /* node/voice visuals need an explicit height once the aspect box is gone */
  .voicehub { height: 360px; }
  .nodemap { margin: 0 auto; }

  /* hero stage flattens once the two-up desktop layout no longer fits: the
     window drops into normal flow, centered and full width, no perspective —
     this avoids the floating window being clipped at the right edge */
  .stage { aspect-ratio: auto; height: auto; max-width: 560px; margin: 48px auto 0; }
  .desktop {
    position: relative; left: auto; top: auto;
    transform: none !important;
    width: 100%;
  }
  .snipbox { display: none; }
}

/* phones — collapse the desktop app chrome to a focused, single-column view
   so nothing overflows the viewport */
@media (max-width: 640px) {
  .app__side { display: none; }
  .app__main { padding: 16px 16px; }
  .app__h { font-size: 16px; }
  .homegrid { grid-template-columns: 1fr; }
  .capwrap { flex-direction: column; }
  .bufpanel { width: 100%; }
  .app__banner { font-size: 11px; }
  .stage { max-width: 460px; margin-top: 40px; }
  .voicehub { height: 320px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 116px 0 60px; }
  .floatcard { display: none; }
  .waitlist { flex-direction: column; }
  .waitlist .btn { width: 100%; }
  .footer__top { flex-direction: column; }
  .footer__cols { gap: 36px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ============================================================
   Recording indicator (hero recorder mock)
   ============================================================ */
.recdot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #ff5a4d;
  box-shadow: 0 0 10px rgba(255,90,77,0.85);
  margin-right: 8px;
  vertical-align: middle;
  animation: recpulse 1.4s ease-in-out infinite;
}
@keyframes recpulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.82); }
}

/* ============================================================
   Privacy — local-first section
   ============================================================ */
.privacy { padding: 120px 0 40px; }
.privacy__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.privacy__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--lime);
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(200,255,102,0.28);
  background: rgba(200,255,102,0.05);
  margin-bottom: 22px;
}
.privacy__badge svg { color: var(--lime); }
.privacy__title {
  font-family: var(--font-mono);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.02; letter-spacing: -0.025em; font-weight: 700;
  color: var(--white); margin-bottom: 18px;
}
.privacy__title .accent { color: var(--lime); }
.privacy__sub {
  font-size: 16px; line-height: 1.6; color: var(--muted);
  max-width: 600px; margin: 0 auto;
}
.privacy__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  max-width: 880px; margin: 0 auto;
}
.privacy__card {
  background: var(--bg-3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 28px 28px 30px;
}
.privacy__card h3 {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 18px;
}
.privacy__list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.privacy__list li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 14.5px; line-height: 1.45; color: var(--white);
}
.privacy__list li svg { flex: 0 0 auto; margin-top: 1px; }
.privacy__yes svg { color: var(--lime); }
.privacy__no  { color: var(--muted) !important; }
.privacy__no svg { color: #ff5a4d; }
.privacy__only {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: var(--lime); margin-top: 20px; letter-spacing: 0.01em;
}
.privacy__note {
  font-size: 13px; line-height: 1.55; color: var(--muted-2);
  margin-top: 8px;
}
.privacy__foot {
  max-width: 720px; margin: 40px auto 0; text-align: center;
  font-size: 14px; line-height: 1.6; color: var(--muted-2);
}
.privacy__foot b { color: var(--muted); }
@media (max-width: 720px) {
  .privacy__grid { grid-template-columns: 1fr; }
}
