/* Chronos NZ onboarding funnel — shared styles (/welcome pages).
   LIGHT theme (Chronos white / black / gray). Owner: white background. */

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

:root {
  --bg: #ffffff; --panel: #ffffff; --panel-2: #f6f6f7;
  --line: rgba(0,0,0,0.10); --line-strong: rgba(0,0,0,0.16);
  --ink: #0a0a0a; --ink-2: #4a4a52; --ink-3: #8a8a92;
  --accent: #0a0a0a; --on-accent: #ffffff;
  --sans: 'Satoshi', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,0.04), 0 6px 24px rgba(0,0,0,0.06);
  /* brand channel colors */
  --li: #0a66c2; --gmail: #ea4335; --email: #111827;
}

html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--sans);
  line-height: 1.55; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased;
  min-height: 100vh; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Chrome ─────────────────────────────────────────────────────────────── */
.nz-top {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center;
  justify-content: space-between; padding: 18px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.8) 70%, transparent);
  backdrop-filter: blur(6px);
}
.nz-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.16em; font-size: 14px; }
.nz-brand img { width: 26px; height: 26px; border-radius: 7px; }
.nz-steps { display: flex; gap: 18px; font-size: 12px; color: var(--ink-3); letter-spacing: 0.06em; }
.nz-steps .on { color: var(--ink); }
.nz-steps .done { color: var(--ink-2); }

.nz-wrap { max-width: 1180px; margin: 0 auto; padding: 12px 28px 120px; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.nz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: #fff; color: var(--ink);
  padding: 12px 22px; font-size: 14px; font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.nz-btn:hover { border-color: rgba(0,0,0,0.28); transform: translateY(-1px); box-shadow: var(--shadow); }
.nz-btn-primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.nz-btn-primary:hover { background: #222; }
.nz-btn-big { padding: 18px 42px; font-size: 17px; border-radius: 999px; box-shadow: 0 10px 40px rgba(0,0,0,0.18); }
.nz-btn-ghost { background: transparent; border-color: var(--line); color: var(--ink-3); font-weight: 500; }
.nz-btn-ghost:hover { color: var(--ink-2); border-color: var(--line-strong); }
.nz-btn[disabled] { opacity: 0.45; pointer-events: none; }

/* ── Hero / analyze (page 1) ────────────────────────────────────────────── */
.nz-hero { text-align: center; padding: 9vh 0 40px; }
.nz-hero h1 { font-size: clamp(34px, 5.4vw, 58px); font-weight: 750; letter-spacing: -0.03em; line-height: 1.06; }
.nz-hero p.sub { margin: 18px auto 0; max-width: 620px; color: var(--ink-2); font-size: 17px; }
.nz-urlform { margin: 38px auto 0; display: flex; gap: 10px; max-width: 620px; }
.nz-urlform input {
  flex: 1; background: #fff; border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--ink); font-size: 16px; padding: 16px 24px; outline: none; font-family: inherit;
}
.nz-urlform input:focus { border-color: rgba(0,0,0,0.35); box-shadow: 0 0 0 3px rgba(0,0,0,0.05); }
.nz-urlform input::placeholder { color: var(--ink-3); }

.nz-error {
  display: none; margin: 18px auto 0; max-width: 620px; text-align: left;
  border: 1px solid rgba(200,50,50,0.3); background: rgba(220,60,60,0.06);
  color: #b91c1c; border-radius: 12px; padding: 12px 18px; font-size: 14px;
}

/* ── Analysis card ──────────────────────────────────────────────────────── */
.nz-analysis {
  display: none; margin: 30px auto 0; max-width: 720px; text-align: left;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 30px; box-shadow: var(--shadow);
}
.nz-analysis .co { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; min-height: 30px; }
.nz-analysis .ol { color: var(--ink-2); margin-top: 6px; min-height: 22px; }
.nz-analysis ul { list-style: none; margin-top: 16px; display: grid; gap: 9px; }
.nz-analysis li { color: var(--ink); font-size: 15px; padding-left: 20px; position: relative; opacity: 0; transform: translateY(4px); transition: opacity 0.25s ease, transform 0.25s ease; }
.nz-analysis li.in { opacity: 1; transform: none; }
.nz-analysis li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); opacity: 0.85; }
.nz-analysis .icp-label { margin-top: 22px; font-size: 11px; letter-spacing: 0.14em; color: var(--ink-3); text-transform: uppercase; }
.nz-analysis .icp { color: var(--ink-2); margin-top: 6px; font-size: 15px; }
.nz-scanline { display: inline-block; width: 9px; height: 18px; background: var(--accent); vertical-align: -3px; animation: nzBlink 0.85s steps(1) infinite; }
@keyframes nzBlink { 50% { opacity: 0; } }

/* ── The show: rails + feed ─────────────────────────────────────────────── */
/* v4 NO-SCROLL: screen 3 fits the viewport; ONLY the contacts list scrolls. */
.nz-show { display: none; margin-top: 20px; grid-template-columns: 320px 1fr; gap: 30px; align-items: stretch; max-height: calc(100vh - 130px); overflow: hidden; }
.nz-show > div:last-child { display: flex; flex-direction: column; min-height: 0; max-height: calc(100vh - 130px); }
@media (max-width: 900px) { .nz-show { grid-template-columns: 1fr; max-height: none; overflow: visible; } }

.nz-rail { display: grid; gap: 12px; position: sticky; top: 84px; }
.nz-chan {
  display: flex; align-items: center; gap: 12px; background: var(--panel); min-width: 0;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px;
  transition: border-color 0.35s ease, background 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}
.nz-chan > span:last-child { min-width: 0; }
.nz-chan .ds { overflow: hidden; text-overflow: ellipsis; }
.nz-chan .ic { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); font-size: 17px; overflow: hidden; }
.nz-chan .ic svg { width: 22px; height: 22px; display: block; }
.nz-chan .nm { font-weight: 650; font-size: 15px; }
.nz-chan .ds { color: var(--ink-3); font-size: 12.5px; margin-top: 1px; }
.nz-chan.lit { border-color: rgba(0,0,0,0.28); background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,0.10); }
.nz-chan.dim { opacity: 0.4; }
.nz-chan.picked { border-color: var(--accent); background: #fff; }

.nz-rail-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-top: 10px; }
.nz-others { display: flex; flex-wrap: wrap; gap: 8px; }
.nz-others a {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px;
  font-size: 12.5px; color: var(--ink-2); background: #fff;
}
.nz-others a svg { width: 15px; height: 15px; }
.nz-others a:hover { border-color: var(--line-strong); color: var(--ink); box-shadow: var(--shadow); }
/* Left-rail "Company info" dropdown (inbox): editable company summary + personality. */
.nz-railinfo { display: block; }
.nz-railinfo-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-family: inherit; font-size: 13px; font-weight: 650; color: var(--ink); cursor: pointer; }
.nz-railinfo-toggle:hover { border-color: var(--line-strong); }
.nz-railinfo-panel { margin-top: 8px; }
.nz-railinfo-panel[hidden] { display: none; }
.nz-railinfo-note { font-size: 11px; line-height: 1.45; color: var(--ink-3); margin-bottom: 8px; }
.nz-railinfo-panel textarea { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-family: inherit; font-size: 12.5px; line-height: 1.45; padding: 9px 11px; resize: vertical; outline: none; }
.nz-railinfo-panel textarea:focus { border-color: rgba(0,0,0,0.3); box-shadow: 0 0 0 3px rgba(0,0,0,0.05); }

.nz-review { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.nz-review .stars { color: #f5a623; letter-spacing: 3px; font-size: 12px; }
.nz-review .txt { font-size: 13.5px; color: var(--ink-2); margin-top: 7px; }
.nz-review .who { font-size: 12px; color: var(--ink-3); margin-top: 8px; display: flex; align-items: center; gap: 8px; }
.nz-review .who .nz-avatar { width: 26px; height: 26px; }

/* Contacts strip */
.nz-match { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.nz-match b { color: var(--ink); }
.nz-contacts { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; overflow-y: auto; max-height: 32vh; flex: 0 0 auto; align-content: flex-start; padding-right: 4px; }
.nz-feed { overflow: hidden; flex: 1 1 auto; min-height: 0; }
.nz-chip {
  display: flex; align-items: center; gap: 10px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px 7px 8px; cursor: pointer;
  opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.2s ease; box-shadow: var(--shadow);
}
.nz-chip:hover { border-color: var(--line-strong); }
.nz-chip.in { opacity: 1; transform: none; }
.nz-chip .cn { font-size: 13px; font-weight: 600; }
.nz-chip .ct { font-size: 11.5px; color: var(--ink-3); max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Match counter (climbing number) */
.nz-counter { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.nz-counter .n { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.nz-counter .l { font-size: 13px; color: var(--ink-3); }
.nz-counter .dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22,163,74,0.5); animation: nzPulse 1.4s infinite; }
@keyframes nzPulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,0.5); } 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }

.nz-avatar { display: inline-flex; border-radius: 50%; overflow: hidden; flex: none; border: 1px solid var(--line-strong); background: var(--panel-2); }
.nz-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nz-initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--ink-2); font-weight: 700; letter-spacing: 0.04em; font-size: 13px; }

/* Message feed (inbox look) */
.nz-feed { display: grid; gap: 14px; }
.nz-msg {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; opacity: 0; transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
  box-shadow: var(--shadow);
}
.nz-msg.in { opacity: 1; transform: none; }
.nz-msg.hot { border-color: rgba(0,0,0,0.28); box-shadow: 0 10px 34px rgba(0,0,0,0.10); }
.nz-msg .hd { display: flex; align-items: center; gap: 12px; }
.nz-msg .nm { font-weight: 650; font-size: 14.5px; }
.nz-msg .tt { color: var(--ink-3); font-size: 12.5px; }
.nz-msg .lk { font-size: 12px; color: var(--ink-3); border-bottom: 1px solid var(--line-strong); }
.nz-msg .lk:hover { color: var(--ink-2); }
.nz-badge {
  margin-left: auto; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 10px 4px 8px; color: var(--ink-2);
  flex: none; display: inline-flex; align-items: center; gap: 6px;
}
.nz-badge svg { width: 13px; height: 13px; }
.nz-msg .sj { margin-top: 12px; font-size: 13px; color: var(--ink); font-weight: 650; }
.nz-msg .bd { margin-top: 8px; color: var(--ink-2); font-size: 14px; white-space: pre-wrap; }
.nz-msg .fr { margin-top: 10px; font-size: 11.5px; color: var(--ink-3); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
/* per-card Send button */
.nz-msg .send { flex: none; }
.nz-send-btn {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--on-accent); border-radius: 999px;
  padding: 8px 16px; font-size: 12.5px; font-weight: 650;
}
.nz-send-btn:hover { background: #222; }
.nz-send-btn svg { width: 13px; height: 13px; }

/* Send bar */
.nz-sendbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none;
  justify-content: center; padding: 22px; pointer-events: none;
  background: linear-gradient(0deg, rgba(255,255,255,0.96), transparent);
}
.nz-sendbar .nz-btn { pointer-events: auto; }

/* ── Sign-in overlay — a MODAL over a dimmed launch page (owner 2026-09-08:
   "a pop-up on top of launch, I should see the launch in the background,
   grayed out a bit"). NOT an opaque full page. openAuth() sets display:flex. ── */
.nz-overlay {
  position: fixed; inset: 0; z-index: 60; display: none; overflow-y: auto;
  align-items: flex-start; justify-content: center;
  background: rgba(12,14,20,0.55); backdrop-filter: blur(4px);
}
/* Wider + compact so the whole card fits on screen without scrolling (owner
   2026-09-15: "I want to see all of it in one place... make it a little wider"). */
.nz-overlay .inner {
  max-width: 560px; width: calc(100% - 32px); margin: min(5vh, 44px) auto 44px;
  padding: 0; position: relative;
}
/* Modal-over-launch: no side review rails, single centered card. */
.nz-ov-grid { display: block; }
.nz-ov-side { display: none !important; }
.nz-ov-center {
  text-align: center; background: #fff; border: 1px solid var(--line-strong);
  border-radius: 20px; padding: 26px 30px 22px; box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.nz-ov-center h2 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 750; letter-spacing: -0.03em; line-height: 1.1; }
.nz-ov-center .sub { color: var(--ink-2); margin-top: 7px; font-size: 13.5px; }

.nz-trial {
  margin: 16px auto 0; max-width: 100%; background: var(--panel); border: 1px solid var(--line-strong);
  border-radius: 16px; padding: 16px 20px; text-align: left; box-shadow: var(--shadow);
}
.nz-trial .big { font-size: 18px; font-weight: 750; letter-spacing: -0.02em; }
.nz-trial ul { list-style: none; margin-top: 9px; display: grid; gap: 5px; }
.nz-trial li { color: var(--ink-2); font-size: 13px; padding-left: 20px; position: relative; line-height: 1.35; }
.nz-trial li::before { content: '✓'; position: absolute; left: 0; color: #16a34a; font-weight: 700; }
.nz-trial .fine { margin-top: 9px; color: var(--ink-3); font-size: 11.5px; line-height: 1.4; }

.nz-roi { margin: 22px auto 0; max-width: 560px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.nz-roi .cell { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 10px; box-shadow: var(--shadow); }
.nz-roi .n { font-size: 20px; font-weight: 750; }
.nz-roi .l { font-size: 11px; color: var(--ink-3); margin-top: 3px; letter-spacing: 0.04em; }
.nz-roi-note { margin-top: 8px; font-size: 11px; color: var(--ink-3); }

.nz-count {
  margin: 26px auto 0; display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 10px 20px;
  font-size: 13.5px; color: var(--ink-2);
}
.nz-count b { color: var(--ink); font-variant-numeric: tabular-nums; font-size: 16px; }

.nz-ov-ctas { margin-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.nz-ov-ctas > .nz-btn, .nz-ov-ctas > .nz-google-btn { width: 100%; max-width: 400px; }
.nz-google-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #fff; }
.nz-ov-or { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 400px; color: var(--ink-3); font-size: 12px; margin: 0; }
.nz-ov-or::before, .nz-ov-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.nz-authlink { font-size: 13px; }
.nz-skip { position: fixed; right: 26px; bottom: 22px; z-index: 70; }
.nz-secured { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--ink-3); letter-spacing: 0.02em; }
.nz-stripe-logo { width: 15px; height: 18px; flex: none; }
.nz-signup { margin: 14px auto 0; max-width: 400px; display: grid; gap: 9px; }
.nz-field { width: 100%; background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--ink); font-size: 15px; padding: 14px 16px; outline: none; font-family: inherit; }
.nz-field:focus { border-color: rgba(0,0,0,0.35); box-shadow: 0 0 0 3px rgba(0,0,0,0.05); }
.nz-field::placeholder { color: var(--ink-3); }

/* ── Launch page bits ───────────────────────────────────────────────────── */
.nz-qrow { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 6px 0 26px; }
.nz-q {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line); background: var(--panel); color: var(--ink-2);
  border-radius: 999px; padding: 10px 18px; font-size: 13.5px; box-shadow: var(--shadow);
}
.nz-q svg { width: 16px; height: 16px; }
.nz-q:hover { border-color: var(--line-strong); color: var(--ink); }

.nz-launchcard {
  max-width: 640px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; padding: 30px 34px; box-shadow: var(--shadow);
}
.nz-launchcard h2 { font-size: 24px; font-weight: 750; letter-spacing: -0.02em; }
.nz-lrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.nz-lrow:last-of-type { border-bottom: 0; }
.nz-lrow .lb { font-size: 14.5px; font-weight: 600; }
.nz-lrow .hint { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.nz-rec { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; margin-left: 8px; vertical-align: 2px; }

.nz-toggle { width: 52px; height: 30px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--accent); position: relative; flex: none; }
.nz-toggle::after { content: ''; position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: all 0.2s ease; }
.nz-toggle.off { background: var(--panel-2); }
.nz-toggle.off::after { right: 25px; background: var(--ink-3); }

.nz-days { display: flex; gap: 6px; }
.nz-day { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink-3); font-size: 12px; font-weight: 650; }
.nz-day.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* exact numeric input (messages/day, send window) — matches the real launch page */
.nz-numbox { width: 78px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 15px;
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 9px 8px; color: var(--ink); background: #fff; outline: none; font-family: inherit; }
.nz-numbox:focus { border-color: rgba(0,0,0,0.35); box-shadow: 0 0 0 3px rgba(0,0,0,0.05); }
.nz-timebox { width: 116px; cursor: pointer; appearance: auto; -webkit-appearance: auto; text-align: left; }
.nz-window { display: flex; align-items: center; gap: 8px; }
.nz-plabel { display: block; font-size: 12px; font-weight: 650; color: var(--ink-2); margin: 0 0 6px; }
.nz-q.on { border-color: var(--accent); color: var(--ink); background: var(--panel-2); }
.nz-window .sep { color: var(--ink-3); }

.nz-slider { display: flex; align-items: center; gap: 14px; }
.nz-slider input[type=range] { accent-color: #0a0a0a; width: 180px; }
.nz-slider .v { font-variant-numeric: tabular-nums; font-weight: 700; min-width: 34px; text-align: right; }

.nz-personality { margin-top: 4px; }
.nz-personality textarea {
  width: 100%; min-height: 90px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; color: var(--ink); font-family: inherit; font-size: 14px; padding: 12px 14px;
  resize: vertical; outline: none;
}
.nz-personality textarea:focus { border-color: rgba(0,0,0,0.3); box-shadow: 0 0 0 3px rgba(0,0,0,0.05); }

/* Bottom activity ticker: a SHORT, non-blocking strip (owner: set place, must not
   cover the launch card). Compact avatar+name+channel pills; never intercepts clicks. */
.nz-ticker-wrap { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; overflow: hidden; height: 74px; display: flex; align-items: center; background: linear-gradient(0deg, var(--bg) 62%, transparent); pointer-events: none; }
.nz-ticker { display: flex; gap: 12px; width: max-content; animation: nzTicker 60s linear infinite; padding: 0 18px; }
.nz-ticker .nz-msg { opacity: 1; transform: none; width: auto; max-width: 300px; height: 52px; flex: none; pointer-events: none; overflow: hidden; padding: 8px 14px; display: flex; align-items: center; }
.nz-ticker .nz-msg .sj, .nz-ticker .nz-msg .bd, .nz-ticker .nz-msg .fr { display: none; }
.nz-ticker .nz-msg .hd { margin: 0; }
.nz-ticker .nz-msg .hd .tt { font-size: 11px; }
@keyframes nzTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.nz-marquee { display: flex; gap: 14px; overflow: hidden; margin: 30px auto 120px; max-width: 900px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.nz-marquee .track { display: flex; gap: 14px; width: max-content; animation: nzTicker 45s linear infinite; }
.nz-marquee .nz-review { width: 280px; flex: none; }

.nz-modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; background: rgba(10,10,12,0.35); }
.nz-modal .box { max-width: 440px; width: calc(100% - 40px); background: #fff; border: 1px solid var(--line-strong); border-radius: 18px; padding: 30px 32px; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,0.2); }
.nz-modal h3 { font-size: 20px; font-weight: 750; }
.nz-modal p { color: var(--ink-2); font-size: 14.5px; margin-top: 10px; }
.nz-modal .acts { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
/* In-page channel-connect modal (LinkedIn/Instagram credential entry). */
.nz-connect-form { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; text-align: left; }
.nz-connect-form .nz-field { font-size: 14px; padding: 12px 14px; }
.nz-connect-note { font-size: 11.5px; color: var(--ink-3); line-height: 1.4; margin-top: 2px; }

/* ── Connect-modal trust furniture (parity with campaigns-v2's LinkedIn modal:
   brand-lock, encrypted-sign-in banner, trust chips, "Secured by Unipile") ── */
.nz-cn-brandlock { position: relative; width: 56px; height: 56px; margin: 4px auto 12px; }
.nz-cn-brandlock svg { width: 100%; height: 100%; }
.nz-cn-brandlock .nz-cn-lockdot {
  position: absolute; right: -6px; bottom: -6px; width: 24px; height: 24px; border-radius: 50%;
  background: #0a0a0a; color: #fff; display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.nz-cn-brandlock .nz-cn-lockdot svg { width: 12px; height: 12px; }
.nz-cn-trust {
  display: flex; gap: 10px; text-align: left; align-items: flex-start;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; margin-top: 4px;
}
.nz-cn-trust > svg { width: 20px; height: 20px; flex: none; fill: #16a34a; margin-top: 1px; }
.nz-cn-trust .t { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.nz-cn-trust .s { font-size: 11.5px; color: var(--ink-2); line-height: 1.4; margin-top: 2px; }
.nz-cn-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; justify-content: center; }
.nz-cn-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; }
.nz-cn-chip svg { width: 12px; height: 12px; fill: none; stroke: #16a34a; stroke-width: 3; }
.nz-cn-secured { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; color: var(--ink-3); font-size: 11.5px; }
.nz-cn-secured > svg { width: 13px; height: 13px; }
.nz-cn-secured .ul { height: 15px; }
.nz-cn-secured .ul svg { height: 15px; width: auto; }

/* ── Paywall pricing cards (owner 2026-09-15: two cards, all info shown up front,
   no emojis, no slashes, Chronos logo, "Most popular" on the prominent card, one
   click straight to Stripe). ── */
.nz-modal.wide .box { max-width: 720px; width: calc(100% - 32px); text-align: center; }
.nz-modal .box h3:empty { display: none; margin: 0; }
.nz-pw-head { text-align: center; }
.nz-pw-logo { height: 30px; width: auto; display: inline-block; }
.nz-pw-title { font-size: 21px; font-weight: 750; letter-spacing: -0.02em; margin-top: 8px; }
.nz-pw-sub { color: var(--ink-2); font-size: 13.5px; line-height: 1.45; margin-top: 6px; max-width: 460px; margin-left: auto; margin-right: auto; }
.nz-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 20px; text-align: left; }
.nz-plans.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .nz-plans, .nz-plans.two { grid-template-columns: 1fr; } }
.nz-plan {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line-strong); border-radius: 16px; padding: 20px 18px 18px;
}
/* The "Most popular" card is the prominent one (accent border + soft tint + lift). */
.nz-plan.pop { border: 2px solid var(--accent); background: var(--panel-2); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.nz-plan-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: #0a0a0a; color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .03em;
  border-radius: 999px; padding: 4px 11px;
}
.nz-plan-name { font-size: 16px; font-weight: 750; }
.nz-plan-price { font-size: 27px; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; }
.nz-plan-price span { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; margin-top: 1px; }
.nz-plan-blurb { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; margin-top: 11px; }
.nz-plan-feats { list-style: none; margin: 12px 0 0; display: grid; gap: 6px; }
.nz-plan-feats li { font-size: 12px; color: var(--ink-2); padding-left: 20px; position: relative; line-height: 1.35; }
.nz-plan-feats li::before { content: '✓'; position: absolute; left: 0; color: #16a34a; font-weight: 800; }
/* margin-top:auto pins the CTA to the bottom so both cards' buttons align even
   when their blurbs differ in length (the feats ul above always adds a gap). */
.nz-plan-cta { margin-top: auto; width: 100%; }
.nz-plan-feats { margin-bottom: 16px; }
.nz-paywall-exit { margin-top: 18px; }
.nz-paywall-exit button { background: none; border: 0; color: var(--ink-3); font-size: 12.5px; cursor: pointer; text-decoration: underline; font-family: inherit; }

.nz-spin { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(0,0,0,0.18); border-top-color: #0a0a0a; border-radius: 50%; animation: nzSpin 0.8s linear infinite; vertical-align: -3px; }
.nz-btn-primary .nz-spin { border-color: rgba(255,255,255,0.35); border-top-color: #fff; }
@keyframes nzSpin { to { transform: rotate(360deg); } }

/* ── v5 Inbox page: fixed 100vh, ONLY the contact list scrolls ──────────── */
body.nz-fixed { height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }
body.nz-fixed .nz-top { flex: 0 0 auto; }
.nz-inbox-shell {
  display: grid; grid-template-columns: 300px minmax(0,1fr) 240px; gap: 22px;
  max-width: 1440px; margin: 0 auto; padding: 6px 24px 116px; width: 100%;
  flex: 1 1 auto; min-height: 0; overflow: hidden; align-items: stretch;
}
@media (max-width: 1150px) { .nz-inbox-shell { grid-template-columns: 270px 1fr; } .nz-reviews-side { display: none; } }
@media (max-width: 1000px) { body.nz-fixed { height: auto; overflow: auto; } .nz-inbox-shell { grid-template-columns: 1fr; overflow: visible; } }
.nz-rail-scroll { align-content: start; overflow-y: auto; max-height: 100%; padding-right: 4px; }
.nz-reviews-side { display: grid; gap: 12px; align-content: start; overflow-y: auto; max-height: 100%; padding-right: 2px; }
/* Inbox reviews auto-scroll (owner): a clipped flex column — fixed label on top,
   the review track slides up and loops on its own below it. */
.nz-inbox-shell .nz-reviews-side { display: flex; flex-direction: column; gap: 10px; overflow: hidden; padding-right: 0; }
.nz-inbox-shell .nz-reviews-side .nz-rail-label { flex: none; }
.nz-inbox-shell .nz-reviews-side .nz-rail-marquee { flex: 1 1 auto; min-height: 0; }

.nz-inbox-main { display: flex; flex-direction: column; min-height: 0; }
.nz-inbox { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(260px,320px) minmax(0,1fr); gap: 18px; }
@media (max-width: 1000px) { .nz-inbox { grid-template-columns: 1fr; } .nz-inbox-list { max-height: 42vh; } }

/* the contact inbox list — the only scrolling region (also auto-cycles) */
.nz-inbox-list { overflow-y: auto; min-height: 0; display: flex; flex-direction: column; gap: 8px; padding-right: 6px; }
.nz-inrow {
  display: flex; align-items: center; gap: 12px; text-align: left; width: 100%;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; flex: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.nz-inrow:hover { border-color: var(--line-strong); }
.nz-inrow.on { border-color: var(--accent); background: #fff; box-shadow: 0 8px 26px rgba(0,0,0,0.10); transform: translateX(2px); }
.nz-inrow .meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.nz-inrow .nm { font-size: 13.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nz-inrow .tt { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nz-inrow .chip { flex: none; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; }
.nz-inrow .chip svg { width: 20px; height: 20px; }

.nz-inbox-thread { min-height: 0; overflow-y: auto; display: flex; flex-direction: column; }
.nz-inbox-thread .nz-msg { opacity: 1; transform: none; }

/* ── v5 Analyze page (page 1): reviews both sides, prominent logo, no scroll ── */
.nz-login-top { padding: 8px 18px; font-size: 13px; }
/* Reviews pinned to the SCREEN EDGES (absolute, full height) so they never move
   when the analysis reveals; the center column stays centered between them. */
.nz-analyze-shell {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; margin: 0; padding: 10px 24px 24px;
  height: calc(100vh - 66px); overflow: hidden;
}
/* Rail width scales with the viewport so the two review columns stay pinned to the
   edges at ANY window size (full / half / part screen); the center width is capped
   responsively so it never overlaps them. Only truly narrow (mobile) hides them. */
.nz-analyze-shell .nz-reviews-side { position: absolute; top: 0; bottom: 0; width: clamp(150px, 15vw, 300px); z-index: 0; overflow: hidden; }
.nz-analyze-shell #reviewsLeft { left: 24px; }
.nz-analyze-shell #reviewsRight { right: 24px; }
@media (max-width: 760px) { .nz-analyze-shell .nz-reviews-side { display: none; } }
@media (max-width: 1000px) { .nz-analyze-shell { height: auto; overflow: auto; } body.nz-fixed { height: auto; overflow: auto; } }
.nz-analyze-center { position: relative; z-index: 1; width: 100%; max-width: min(760px, calc(70vw - 120px)); text-align: center; overflow-y: auto; max-height: 100%; padding: 1vh 6px 18px; display: flex; flex-direction: column; align-items: center; }
@media (max-width: 760px) { .nz-analyze-center { max-width: 760px; } }
.nz-biglogo { width: 62px; height: 62px; border-radius: 16px; box-shadow: var(--shadow); margin: 2vh 0 16px; }
.nz-analyze-center h1 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 760; letter-spacing: -0.03em; line-height: 1.06; }
.nz-analyze-center .nz-urlform { margin-top: 24px; width: 100%; max-width: 760px; }
.nz-trialmini { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.nz-trialmini b { color: var(--ink); }
.nz-analyze-center .nz-analysis { margin: 22px auto 0; width: 100%; max-width: 640px; }
.nz-advancing { margin-top: 16px; display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 14px; }
.nz-exit { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); background: #fff; font-size: 15px; z-index: 41; }
.nz-exit:hover { border-color: var(--line-strong); color: var(--ink); }

/* ── v6 Launch page: fixed no-scroll, reviews flank, horizontal 2-col config ── */
.nz-launch-shell {
  display: grid; grid-template-columns: 220px minmax(0,1fr) 220px; gap: 24px;
  max-width: 1240px; margin: 0 auto; padding: 8px 24px 104px; width: 100%;
  flex: 1 1 auto; min-height: 0; overflow: hidden; align-items: center;
}
@media (max-width: 1080px) { .nz-launch-shell { grid-template-columns: 1fr; align-items: start; } .nz-launch-shell .nz-reviews-side { display: none; } body.nz-fixed { height: auto; overflow: auto; } }
.nz-launch-shell .nz-reviews-side { align-content: center; overflow-y: auto; max-height: 100%; }
.nz-launch-center { min-width: 0; overflow-y: auto; max-height: 100%; display: flex; flex-direction: column; gap: 12px; }
.nz-launchcard { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px; box-shadow: var(--shadow); margin: 0; }
.nz-launchcard h2 { font-size: 21px; font-weight: 720; letter-spacing: -0.02em; }
.nz-launch-sub { color: var(--ink-2); font-size: 13px; margin-top: 4px; }
.nz-launch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 26px; margin-top: 12px; }
@media (max-width: 620px) { .nz-launch-grid { grid-template-columns: 1fr; } }
.nz-launch-col { display: flex; flex-direction: column; }
.nz-launch-col .nz-lrow { padding: 10px 0; }
.nz-col-h { font-size: 11px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--ink-3); font-weight: 700; padding: 4px 0; border-bottom: 1px solid var(--line); }
.nz-lctl { display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.nz-info { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink-3); font-size: 10px; font-style: italic; font-weight: 700; cursor: help; position: relative; }
.nz-info::after { content: attr(data-tip); position: absolute; top: 140%; left: 50%; transform: translateX(-50%); width: 220px; max-width: 46vw; background: #0a0a0a; color: #fff; font-size: 11.5px; font-style: normal; font-weight: 500; line-height: 1.35; text-align: left; padding: 8px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity 0.15s ease; z-index: 60; }
.nz-info:hover::after, .nz-info:focus::after { opacity: 1; }
.nz-launch-cta { display: flex; justify-content: center; margin-top: 14px; }
.nz-launch-center .nz-qrow { margin: 0; }

/* Full-width personality panel — lives in the space UNDER the send window
   (owner 2026-09-07). Two sections side-by-side, expandable, Rewrite under them. */
.nz-personality-wide { width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.nz-pw-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: transparent; border: 0; padding: 15px 20px; font-family: inherit; font-size: 14.5px; font-weight: 650; color: var(--ink); cursor: pointer; }
.nz-pw-toggle:hover { color: var(--ink-2); }
.nz-pw-panel { padding: 0 20px 18px; }
.nz-pw-panel[hidden] { display: none; }
.nz-pw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 720px) { .nz-pw-grid { grid-template-columns: 1fr; } }
.nz-pw-field { display: flex; flex-direction: column; }
.nz-pw-field textarea { width: 100%; min-height: 104px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-family: inherit; font-size: 14px; line-height: 1.5; padding: 12px 14px; resize: vertical; outline: none; }
.nz-pw-field textarea:focus { border-color: rgba(0,0,0,0.3); box-shadow: 0 0 0 3px rgba(0,0,0,0.05); }
.nz-pw-cta { display: flex; justify-content: flex-end; margin-top: 14px; }

/* Floating PEOPLE ticker: each pill is a real person; hovering generates their
   message on the spot into the pop above (lazy, cached — never bulk-generated). */
.nz-ticker { pointer-events: none; }
.nz-ticker.paused { animation-play-state: paused; }
.nz-tperson { pointer-events: auto; display: flex; align-items: center; gap: 9px; flex: none; height: 52px; padding: 7px 13px; background: var(--panel); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); cursor: pointer; transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; }
.nz-tperson:hover { border-color: rgba(0,0,0,0.28); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.10); }
.nz-tperson .tp-meta { display: flex; flex-direction: column; min-width: 0; }
.nz-tperson .tp-nm { font-weight: 650; font-size: 13px; line-height: 1.2; white-space: nowrap; }
.nz-tperson .tp-tt { font-size: 11px; color: var(--ink-3); white-space: nowrap; max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
.nz-tperson .tp-ch { width: 18px; height: 18px; flex: none; display: inline-flex; }
.nz-tperson .tp-ch svg { width: 18px; height: 18px; }

/* Hover preview popover (fades in above the floating person). */
.nz-hover-pop { position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%) translateY(10px); width: min(380px, 92vw); z-index: 40; opacity: 0; pointer-events: none; transition: opacity 0.18s ease, transform 0.18s ease; }
.nz-hover-pop.on { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.nz-hover-pop .nz-msg { width: 100%; max-width: none; height: auto; margin: 0; }

/* ── Analyze-page review rails (owner order 2026-09-07): the SAME fuller
   both-sides marquee as /ai-agents' prime rails — 6 cards per side, list
   duplicated in the track so translateY(-50%) loops seamlessly. Scoped to the
   analyze shell only; the other funnel steps keep their static reviews. */
.nz-analyze-shell .nz-reviews-side { overflow: hidden; max-height: none; padding-right: 0; }
.nz-rail-marquee { height: 100%; overflow: hidden; position: relative; }
.nz-rail-marquee::before, .nz-rail-marquee::after {
  content: ''; position: absolute; left: 0; right: 0; height: 56px; z-index: 2; pointer-events: none;
}
.nz-rail-marquee::before { top: 0; background: linear-gradient(180deg, var(--bg, #fff), transparent); }
.nz-rail-marquee::after { bottom: 0; background: linear-gradient(0deg, var(--bg, #fff), transparent); }
.nz-rail-track { display: grid; gap: 12px; animation: nzRailScroll 46s linear infinite; }
#reviewsRight .nz-rail-track { animation-duration: 58s; }
@keyframes nzRailScroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .nz-rail-track { animation: none; } }
