/* VOGSY review microsite — polished-pro with Mariano Martene brand accents.
   Calm dark canvas, software-factory green accent, readable cards, subtle
   motion. Mobile-first. */
:root {
  --bg: #07100b;
  --bg-raise: #0c1b12;
  --line: #1c3a28;
  --ink: #e7f5ec;
  --ink-dim: #8fb3a0;
  --faint: #5a7c69;
  --hot: #39ff14;
  --hot-soft: rgba(57, 255, 20, 0.14);
  --glow: 57, 255, 20;
  --no: #ff6b6b;
  --no-glow: 255, 107, 107;
  --amber: #ffc24b;
  --display: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--mono);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(var(--glow), 0.06), transparent 60%),
    var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

a { color: var(--hot); }

/* ---------- top bar / brand ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 16, 11, 0.86); backdrop-filter: blur(8px);
}
.brand {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-family: var(--mono); font-weight: 700; font-size: 15px;
  text-decoration: none; color: var(--ink); letter-spacing: 0.02em;
}
.brand .path { color: var(--ink); }
.brand .dot { color: var(--hot); text-shadow: 0 0 10px rgba(var(--glow), 0.7); }
.brand:hover .path { color: #fff; }
.topbar .tag-right { font-size: 11px; color: var(--faint); letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- layout ---------- */
.wrap {
  flex: 1; width: 100%; max-width: 620px; margin: 0 auto;
  padding: 22px 18px 120px; display: flex; flex-direction: column; gap: 18px;
}
.screen { display: none; flex-direction: column; gap: 18px; }
.screen.active { display: flex; }

.kicker {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--hot); font-weight: 700;
}
.lede { font-size: 14px; color: var(--ink-dim); line-height: 1.6; }

/* ---------- gate ---------- */
#gate-screen { gap: 14px; margin-top: 8vh; align-items: stretch; }
#gate-screen h1 { font-family: var(--display); font-size: 28px; font-weight: 700; color: #fff; line-height: 1.15; }
.gate-form { display: flex; gap: 10px; margin-top: 6px; }
.gate-form input {
  flex: 1; padding: 14px 14px; font-family: var(--mono); font-size: 15px;
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink); outline: none;
}
.gate-form input:focus { border-color: rgba(var(--glow), 0.6); box-shadow: 0 0 0 3px var(--hot-soft); }
.gate-err { font-size: 12.5px; color: var(--no); min-height: 16px; }

/* ---------- progress hud ---------- */
.hud { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--ink-dim); }
.hud .counts b { color: var(--hot); }
.hud .counts .skip { color: var(--no); }
.bar { width: 100%; height: 5px; border-radius: 99px; background: var(--bg-raise); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--hot); box-shadow: 0 0 10px rgba(var(--glow), 0.6); transition: width 0.25s ease; }

/* ---------- card ---------- */
.card-zone { position: relative; min-height: 460px; touch-action: pan-y; }
.card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-raise), rgba(12, 27, 18, 0.6));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  cursor: grab; user-select: none; will-change: transform;
}
.card:active { cursor: grabbing; }
.card.anim { transition: transform 0.26s ease, opacity 0.26s ease; }
.card.fly-keep { transform: translateX(140%) rotate(10deg) !important; opacity: 0; }
.card.fly-skip { transform: translateX(-140%) rotate(-10deg) !important; opacity: 0; }

.stamp {
  position: absolute; top: 18px; font-family: var(--display); font-weight: 700;
  font-size: 15px; letter-spacing: 0.12em; padding: 7px 12px; border: 2.5px solid;
  border-radius: 8px; opacity: 0; pointer-events: none; text-transform: uppercase;
}
.stamp.keep { right: 18px; color: var(--hot); border-color: var(--hot); transform: rotate(8deg); }
.stamp.skip { left: 18px; color: var(--no); border-color: var(--no); transform: rotate(-8deg); }

.company { font-family: var(--display); font-weight: 700; font-size: 25px; color: #fff; line-height: 1.1; }
.company a { color: #fff; text-decoration: none; border-bottom: 1px dashed rgba(var(--glow), 0.4); }
.company a:hover { color: var(--hot); }
.what { font-size: 14px; color: var(--ink); line-height: 1.5; }

.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.fact { font-size: 12px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-dim); background: rgba(0,0,0,0.2); }
.fact b { color: var(--ink); font-weight: 600; }

.card-head { display: flex; flex-direction: column; gap: 9px; }
.what { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* --- "Why now" hero: the centerpiece of the card --- */
.why {
  background: rgba(var(--glow), 0.06);
  border: 1px solid rgba(var(--glow), 0.28);
  border-left: 3px solid var(--hot);
  border-radius: 12px; padding: 14px 15px;
  display: flex; flex-direction: column; gap: 9px;
}
.why-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.why-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--hot);
}
.sig-date {
  font-size: 11px; color: var(--ink-dim); white-space: nowrap;
  border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px;
}
.sig-type { font-family: var(--display); font-weight: 700; font-size: 16.5px; color: #fff; line-height: 1.2; }
.sig-desc { font-size: 13.5px; line-height: 1.6; color: var(--ink); }
.sources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.sources a {
  font-size: 12px; text-decoration: none; color: var(--hot);
  border: 1px solid rgba(var(--glow), 0.4); border-radius: 7px; padding: 4px 9px;
  display: inline-flex; align-items: center; gap: 5px;
}
.sources a::before { content: "↗"; opacity: 0.8; }
.sources a:hover { background: var(--hot-soft); }

/* --- decision-maker block (Big Sister tenant; the give) --- */
.dm {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: 12px; padding: 12px 15px;
  display: flex; flex-direction: column; gap: 6px;
}
.dm-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber);
}
.dm-who { font-size: 14px; line-height: 1.3; }
.dm-name { font-family: var(--display); font-weight: 700; color: #fff; }
.dm-title { color: var(--ink-dim); }
.dm-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.dm-links a {
  font-size: 12px; text-decoration: none; color: var(--amber);
  border: 1px solid rgba(255, 194, 75, 0.4); border-radius: 7px; padding: 4px 9px;
  display: inline-flex; align-items: center; gap: 5px;
}
.dm-links a:hover { background: rgba(255, 194, 75, 0.12); }

/* --- expandable full profile --- */
.more { border-top: 1px solid var(--line); padding-top: 4px; }
.more > summary {
  list-style: none; cursor: pointer; padding: 8px 2px; font-size: 12.5px;
  color: var(--ink-dim); display: flex; align-items: center; gap: 7px;
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary::before { content: "▸"; color: var(--hot); transition: transform 0.15s; }
.more[open] > summary::before { transform: rotate(90deg); }
.more > summary:hover { color: var(--ink); }
.more .more-close { display: none; }
.more[open] .more-open { display: none; }
.more[open] .more-close { display: inline; }
.more-body { display: flex; flex-direction: column; gap: 10px; padding: 6px 2px 4px; }
.more-row { display: flex; flex-direction: column; gap: 3px; }
.more-k { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.more-v { font-size: 13px; line-height: 1.5; color: var(--ink); }
.more-v .who { font-weight: 700; color: #fff; }
.more-v .title { color: var(--ink-dim); }

.caveat { font-size: 12.5px; color: var(--amber); line-height: 1.55; border-left: 3px solid rgba(255, 194, 75, 0.5); padding-left: 11px; }
.caveat b { font-weight: 700; }

/* ---------- CTA toggle ---------- */
.cta-row { display: flex; }
.cta {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px; font-family: var(--mono); font-size: 13px; font-weight: 600;
  background: transparent; color: var(--ink-dim); border: 1px dashed var(--line);
  border-radius: 10px; cursor: pointer; transition: all 0.14s;
}
.cta:hover { border-color: rgba(var(--glow), 0.5); color: var(--ink); }
.cta .box { width: 16px; height: 16px; border: 2px solid var(--faint); border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.cta.on { color: var(--hot); border-color: var(--hot); border-style: solid; background: var(--hot-soft); }
.cta.on .box { border-color: var(--hot); background: var(--hot); color: #07100b; }

/* ---------- action buttons ---------- */
.actions { display: flex; gap: 12px; align-items: stretch; }
.btn {
  flex: 1; padding: 15px 12px; font-family: var(--display); font-weight: 700;
  font-size: 15px; letter-spacing: 0.03em; border-radius: 12px; cursor: pointer;
  border: 1.5px solid; background: transparent; transition: all 0.12s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn small { font-family: var(--mono); font-size: 10px; font-weight: 400; opacity: 0.6; }
.btn:active { transform: scale(0.97); }
.btn-skip { color: var(--no); border-color: rgba(var(--no-glow), 0.5); }
.btn-skip:hover { background: rgba(var(--no-glow), 0.1); }
.btn-keep { color: var(--hot); border-color: rgba(var(--glow), 0.55); }
.btn-keep:hover { background: var(--hot-soft); }
.btn-primary { color: #07100b; background: var(--hot); border-color: var(--hot); }
.btn-undo {
  flex: 0 0 auto; padding: 15px 16px; font-family: var(--mono); font-size: 11px;
  font-weight: 600; color: var(--amber); border-color: rgba(255, 194, 75, 0.45);
}
.btn-undo:disabled { opacity: 0.3; cursor: default; }

.hint { font-size: 11px; color: var(--faint); text-align: center; }
.hint b { color: var(--ink-dim); }
.dl-row { text-align: center; }
.dl-row a { font-size: 11px; color: var(--ink-dim); text-decoration: none; border-bottom: 1px dashed var(--line); padding-bottom: 1px; }
.dl-row a:hover { color: var(--hot); border-color: rgba(var(--glow), 0.5); }
.save-state { font-size: 11px; color: var(--faint); text-align: center; min-height: 14px; }
.save-state.err { color: var(--no); }

/* ---------- done ---------- */
#done-screen { align-items: center; text-align: center; gap: 16px; margin-top: 6vh; }
#done-screen h2 { font-family: var(--display); font-size: 26px; color: #fff; }
.done-stats { display: flex; gap: 30px; }
.done-stat { display: flex; flex-direction: column; gap: 4px; }
.done-stat .num { font-family: var(--display); font-weight: 700; font-size: 34px; }
.done-stat.keep .num { color: var(--hot); }
.done-stat.skip .num { color: var(--no); }
.done-stat.dm .num { color: var(--amber); }
.done-stat label { font-size: 11px; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.done-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-ghost { padding: 11px 18px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-dim); background: transparent; cursor: pointer; font-family: var(--mono); font-size: 12px; }

/* ---------- mascot: PIXL ---------- */
/* PIXL lives bottom-right; his speech bubble is anchored right above him with a
   little tail, so it reads as PIXL talking — not a detached toast. */
#pet-wrap {
  position: fixed; right: 22px; bottom: 30px; z-index: 60;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  cursor: pointer; user-select: none;
}
#pet-bubble {
  position: absolute; bottom: calc(100% + 14px); right: -4px;
  width: max-content; max-width: min(280px, calc(100vw - 44px)); text-align: left;
  padding: 11px 14px; border-radius: 13px;
  background: var(--bg-raise); border: 1px solid rgba(var(--glow), 0.4);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55); font-size: 12.5px; line-height: 1.45; color: var(--ink);
  opacity: 0; transform: translateY(8px) scale(0.96); transform-origin: bottom right;
  transition: opacity 0.2s, transform 0.2s; pointer-events: none;
}
/* tail pointing down at PIXL */
#pet-bubble::after {
  content: ""; position: absolute; right: 20px; bottom: -6px; width: 12px; height: 12px;
  background: var(--bg-raise);
  border-right: 1px solid rgba(var(--glow), 0.4); border-bottom: 1px solid rgba(var(--glow), 0.4);
  transform: rotate(45deg);
}
#pet-bubble.show { opacity: 1; transform: translateY(0) scale(1); }

#pet-sprite { position: relative; display: grid; animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
#pet-sprite.excited { animation: hop 0.45s ease-in-out 2; }
@keyframes hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px) rotate(-5deg); } }
#pet-name { font-size: 9px; letter-spacing: 0.1em; color: var(--ink-dim); }
.pet-hidden { display: none !important; }

/* face: mouth moves while talking, eyes twinkle (overlays on the pixel grid) */
.pet-mouth { position: absolute; background: var(--bg); border-radius: 0 0 3px 3px; transform-origin: top center; }
#pet-sprite.talking .pet-mouth { animation: pet-talk 0.26s ease-in-out infinite; }
@keyframes pet-talk { 0%, 100% { height: 4px; } 45% { height: 13px; } }
.pet-twinkle {
  position: absolute; width: 6px; height: 6px; pointer-events: none; opacity: 0;
  background:
    linear-gradient(to right, transparent 43%, #fff 43%, #fff 57%, transparent 57%),
    linear-gradient(to bottom, transparent 43%, #fff 43%, #fff 57%, transparent 57%);
  filter: drop-shadow(0 0 2px var(--hot));
  animation: pet-twinkle 5s ease-in-out infinite;
}
.pet-twinkle.d { animation-delay: 2.4s; }
@keyframes pet-twinkle {
  0%, 82%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
  88% { opacity: 1; transform: scale(1) rotate(90deg); }
  94% { opacity: 0.4; transform: scale(0.7) rotate(140deg); }
}
#pet-sprite.talking .pet-twinkle { animation-duration: 1.6s; }

/* ---------- root easter egg (served at /) ---------- */
body.egg .egg-wrap {
  flex: 1; width: 100%; max-width: 560px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 24px; padding: 40px 22px 100px;
}
body.egg #pet-wrap { position: relative; right: auto; bottom: auto; margin-top: 74px; }
body.egg #pet-bubble {
  right: auto; left: 50%; text-align: center; transform-origin: bottom center;
  transform: translate(-50%, 8px) scale(0.96);
}
body.egg #pet-bubble.show { transform: translate(-50%, 0) scale(1); }
body.egg #pet-bubble::after { right: auto; left: 50%; margin-left: -6px; }
.egg-code { font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: 0.06em; }
.egg-code b { color: var(--no); }
.egg-h { font-family: var(--display); font-weight: 700; font-size: 30px; color: #fff; line-height: 1.15; }
.egg-sub { font-size: 14px; color: var(--ink-dim); line-height: 1.65; max-width: 440px; }
.egg-cta {
  font-family: var(--mono); font-size: 13px; color: var(--hot); text-decoration: none;
  border: 1px solid rgba(var(--glow), 0.5); border-radius: 10px; padding: 11px 18px; transition: all 0.14s;
}
.egg-cta:hover { background: var(--hot-soft); }

footer { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; text-align: center; padding: 10px; font-size: 11px; color: var(--faint); background: linear-gradient(transparent, rgba(7,16,11,0.95) 45%); pointer-events: none; }
footer a { pointer-events: auto; text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .company { font-size: 22px; }
  .btn { font-size: 14px; }
  #pet-wrap { right: 12px; }
}

/* ---------- Oxceed tenant: intent badge, lead type, signal tiers ---------- */
.company-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.intent {
  flex: 0 0 auto; font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; color: var(--hot);
  border: 1px solid rgba(var(--glow), 0.45); background: var(--hot-soft);
  border-radius: 999px; padding: 4px 10px; white-space: nowrap; margin-top: 3px;
}
.lead-type {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 600;
}
.tiers { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.tier {
  font-size: 12px; line-height: 1.4; color: var(--ink);
  border-left: 3px solid rgba(var(--glow), 0.55); padding: 3px 0 3px 10px;
}
.tier b {
  display: inline-block; min-width: 22px; color: var(--hot); font-weight: 700;
  font-family: var(--mono);
}
.oxceed-why { border-color: rgba(var(--glow), 0.28); }
.oxceed-why .why-label { color: var(--hot); }
