/* ============================================================
   REVANU AI — Marketing Site (explee-blueprint edition)
   Brand tokens from the Revanu product: near-black bg,
   purple #8b7cff accent, teal #5eead4 success, Geist fonts.
   Edit the :root block to retheme the whole site.
   ============================================================ */

/* ---------- Self-hosted fonts (same files as the product) ---------- */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../assets/fonts/gyByhwUxId8gMEwSGFWfOw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../assets/fonts/gyByhwUxId8gMEwcGFU.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../assets/fonts/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../assets/fonts/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Brand tokens ---------- */
:root {
  color-scheme: dark;
  --bg: #060608;
  --bg-2: #0b0b10;
  --panel: #101016;
  --panel-2: #16161e;
  --line: rgba(244, 245, 249, .08);
  --line-2: rgba(244, 245, 249, .14);
  --ink: #f4f5f9;
  --muted: #9ba0b4;
  --dim: #6a6f83;
  --accent: #8b7cff;
  --accent-soft: rgba(139, 124, 255, .13);
  --accent-line: rgba(139, 124, 255, .4);
  --ok: #5eead4;
  --ok-soft: rgba(94, 234, 212, .12);
  --bad: #ff7a92;
  --radius: 14px;
  --font: 'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22, .8, .35, 1);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font); line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #060608; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
.container { max-width: 1160px; margin-inline: auto; padding-inline: 24px; }
.center { text-align: center; }
.mono { font-family: var(--mono); }

#progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 300;
  background: linear-gradient(90deg, var(--accent), var(--ok)); box-shadow: 0 0 10px var(--accent); }

/* ---------- Scroll reveal (JS adds .visible; GSAP overrides) ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
html.gsap-on .reveal { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Typography ---------- */
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 600; }
h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; }
.sec { padding: clamp(70px, 9vw, 120px) 0; }
.sec-sub { color: var(--muted); font-size: 1.05rem; max-width: 640px; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: #0b0718; border: none; cursor: pointer;
  font-weight: 600; font-size: .98rem; padding: 13px 24px; border-radius: 11px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  box-shadow: 0 0 0 1px var(--accent-line), 0 8px 26px rgba(139, 124, 255, .22); }
.btn:hover { transform: translateY(-2px); background: #a89dff;
  box-shadow: 0 0 0 1px var(--accent-line), 0 14px 38px rgba(139, 124, 255, .38); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; border-radius: 13px; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px;
  border-radius: 11px; border: 1px solid var(--line-2); background: transparent;
  color: var(--muted); font-weight: 500; cursor: pointer; transition: color .2s, border-color .2s; }
.btn-ghost:hover { color: var(--ink); border-color: var(--accent-line); }

/* ---------- Navbar ---------- */
.nav { position: sticky; top: 0; z-index: 120; background: rgba(6, 6, 8, .8);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 30px; padding-block: 15px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-word { font-weight: 700; letter-spacing: .12em; font-size: 1.02rem; }
.brand-word span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); font-size: .93rem; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-burger { display: none; margin-left: auto; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0;
  border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-mobile { display: none; flex-direction: column; gap: 2px; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); }
.nav-mobile a { padding: 12px 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.nav-mobile .btn { margin-top: 14px; justify-content: center; }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-mobile.open { display: flex; }
  .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(70px, 11vh, 130px) 0 60px; text-align: center; overflow: hidden; }
#particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { max-width: 820px; margin-inline: auto; }
.rotate-slot { display: inline-block; position: relative; color: var(--accent); min-width: 4.2ch; text-align: center; }
.rotate-slot .rw { display: inline-block; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; margin: 26px 0 30px;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 999px;
  padding: 9px 18px; color: var(--muted); font-size: .88rem; }
.hero-pill b { color: var(--ink); font-weight: 600; }

.hero-input-wrap { position: relative; max-width: 560px; margin: 0 auto; }
.hero-input { display: flex; align-items: center; gap: 8px; background: var(--panel);
  border: 1px solid var(--line-2); border-radius: 16px; padding: 8px 8px 8px 22px;
  transition: border-color .25s, box-shadow .25s; }
.hero-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero-input input { flex: 1; min-width: 0; background: none; border: none; outline: none;
  color: var(--ink); font-size: 1.05rem; font-family: inherit; padding: 10px 0; }
.hero-input input::placeholder { color: var(--dim); }
.hero-input .go { width: 48px; height: 48px; border-radius: 12px; border: none; cursor: pointer;
  background: var(--accent); color: #0b0718; display: flex; align-items: center; justify-content: center;
  transition: transform .2s, background .2s; flex-shrink: 0; }
.hero-input .go:hover { transform: scale(1.06); background: #a89dff; }
.input-dd { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 10;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px;
  overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); text-align: left; }
.input-dd[hidden] { display: none; }
.input-dd button { display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 13px 16px; background: none; border: none; cursor: pointer; color: var(--ink);
  font-size: .95rem; transition: background .15s; text-align: left; }
.input-dd button:hover { background: var(--panel-2); }
.input-dd img { width: 20px; height: 20px; border-radius: 5px; background: #fff; padding: 2px; }
.input-dd .dd-domain { font-family: var(--mono); font-size: .8rem; color: var(--dim); margin-left: auto; }
.no-site { display: inline-block; margin-top: 14px; color: var(--dim); font-size: .9rem;
  background: none; border: none; cursor: pointer; text-decoration: underline dotted; }
.no-site:hover { color: var(--muted); }
.hero-desc { max-width: 620px; margin: 34px auto 0; color: var(--muted); font-size: 1.06rem; line-height: 1.7; }
.hero-desc b { color: var(--ok); font-weight: 500; }
.hero-desc em { color: var(--accent); font-style: normal; }

/* ---------- Autopilot strip (sample workspaces, tagged demo) ---------- */
.autopilot { padding: 54px 0 90px; position: relative; z-index: 2; }
.strip-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--dim); text-align: center; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; gap: 10px; }
.demo-tag { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; color: var(--ok);
  border: 1px solid rgba(94, 234, 212, .35); border-radius: 5px; padding: 2px 7px; }
.ap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 760px; margin-inline: auto; }
@media (max-width: 680px) { .ap-grid { grid-template-columns: 1fr; } }
.ap-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; text-align: left; transition: border-color .3s, transform .3s; }
.ap-card:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.ap-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.ap-logo { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; overflow: hidden; }
.ap-logo .gen-logo { display: block; }

/* generated company logos (sample data) + real-favicon overlay (live data) */
.co-cell { display: inline-flex; align-items: center; gap: 10px; }
.co-cell > span:last-child { min-width: 0; }
.co-logo { position: relative; flex: none; display: inline-flex; border-radius: 8px; overflow: hidden; }
.co-logo .gen-logo { display: block; width: 100%; height: 100%; }
.co-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 8px; background: var(--panel-2); }
.ap-head b { font-size: .95rem; }
.ap-status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; color: var(--muted); background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.ap-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); font-style: normal;
  animation: pulse-dot 1.8s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 0 rgba(94,234,212,.5) } 50% { box-shadow: 0 0 0 5px rgba(94,234,212,0) } }
.ap-domain { font-family: var(--mono); font-size: .74rem; color: var(--dim); margin-bottom: 8px; }
.ap-desc { font-size: .84rem; color: var(--muted); line-height: 1.5; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ap-stats { display: flex; gap: 16px; font-family: var(--mono); font-size: .76rem; color: var(--dim); }
.ap-stats span { display: inline-flex; align-items: center; gap: 5px; }
.ap-stats .hot { color: var(--ok); }

/* ============================================================
   WORKSPACE — the full-screen demo takeover
   ============================================================ */
#workspace { position: fixed; inset: 0; z-index: 400; background: var(--bg); display: none;
  grid-template-columns: 262px 1fr; grid-template-rows: auto 1fr; overflow: hidden; }
#workspace.open { display: grid; }
@media (max-width: 900px) { #workspace { grid-template-columns: 1fr; } .ws-side { display: none !important; } }

/* Banner (replaces explee's credits banner) */
.ws-banner { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px;
  padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.ws-banner .bicon { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft);
  border: 1px solid var(--accent-line); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.ws-banner b { font-size: .93rem; font-weight: 600; display: block; }
.ws-banner small { color: var(--dim); font-size: .78rem; display: block; }
.ws-banner .btn { margin-left: auto; white-space: nowrap; }
.ws-close { background: none; border: 1px solid var(--line-2); color: var(--muted); width: 36px; height: 36px;
  border-radius: 9px; cursor: pointer; font-size: .95rem; transition: color .2s, border-color .2s; flex-shrink: 0; }
.ws-close:hover { color: var(--ink); border-color: var(--accent-line); }
@media (max-width: 720px) { .ws-banner .btn { display: none; } }

/* Sidebar — terminal-style accumulating log */
.ws-side { border-right: 1px solid var(--line); overflow-y: auto; padding: 18px 16px 40px; background: var(--bg-2); }
.ws-side::-webkit-scrollbar { width: 5px; }
.ws-side::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }
.ws-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.side-step { font-family: var(--mono); font-size: .72rem; color: var(--dim); margin: 16px 0 8px; }
.side-step.done { color: var(--muted); }
.side-step .ok { color: var(--ok); }
.side-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 8px; }
.side-card .sc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.side-card .sc-head img { width: 22px; height: 22px; border-radius: 6px; background: #fff; padding: 2px; }
.side-card .sc-head b { font-size: .84rem; line-height: 1.25; }
.side-card .sc-head .mono { margin-left: auto; font-size: .68rem; color: var(--dim); }
.side-card p { font-size: .76rem; color: var(--muted); line-height: 1.5; }
.side-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px;
  font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.side-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.side-camp { display: flex; align-items: center; gap: 8px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: .78rem; }
.side-camp.active { border-color: var(--accent-line); }
.side-camp .cnt { margin-left: auto; font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.side-live[hidden] { display: none; }
.side-live { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .72rem;
  color: var(--ok); margin-top: 18px; }
.side-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); font-style: normal;
  animation: pulse-dot 1.4s ease-in-out infinite; }
.side-type { font-family: var(--mono); font-size: .72rem; color: var(--dim); margin-top: 6px; min-height: 17px; }
.side-type::after { content: "▌"; color: var(--accent); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0 } }

/* Main pane + stepper */
.ws-main { overflow-y: auto; padding: 22px clamp(16px, 3vw, 40px) 60px; }
.ws-main::-webkit-scrollbar { width: 6px; }
.ws-main::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }
.stepper { display: flex; align-items: center; gap: 0; margin-bottom: 30px; min-height: 34px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
.stepper::-webkit-scrollbar { height: 0; }
.st { display: flex; align-items: center; flex-shrink: 0; }
.st .dot { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2);
  color: var(--dim); font-family: var(--mono); font-size: .74rem; display: flex;
  align-items: center; justify-content: center; background: var(--bg-2); transition: all .3s; }
.st.active .dot { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.st.done .dot { border-color: var(--ok); color: var(--ok); }
.st .lbl { display: none; margin-left: 9px; font-size: .82rem; font-weight: 500; white-space: nowrap;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 13px; }
.st.active .lbl { display: inline-flex; align-items: center; gap: 7px; border-color: var(--accent-line); }
.st.active .lbl::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: pulse-dot 1.6s ease-in-out infinite; }
.st-line { width: clamp(24px, 6vw, 90px); height: 1px; background: var(--line-2); flex-shrink: 1; }
.st-next { margin-left: auto; text-align: center; display: none; }
@media (min-width: 1150px) { .st-next { display: block; } }
.st-next .nx-label { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; color: var(--dim);
  text-transform: uppercase; margin-bottom: 6px; }
.st-next .nx-items { display: flex; gap: 18px; color: var(--dim); font-size: .74rem; }
.st-next .nx-items span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.st-next .nx-items i { width: 22px; height: 22px; border-radius: 50%; border: 1px dashed var(--line-2);
  font-style: normal; font-family: var(--mono); font-size: .66rem; display: flex; align-items: center; justify-content: center; }

/* Step panes */
.pane { display: none; }
.pane.on { display: block; }

/* Step 1 — company research card */
.found-card { max-width: 460px; margin: 8vh auto 0; background: var(--panel); border: 1px solid var(--line-2);
  border-radius: 18px; padding: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.found-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.found-head img { width: 40px; height: 40px; border-radius: 10px; background: #fff; padding: 3px; }
.found-head b { display: block; font-size: 1.02rem; }
.found-head .mono { font-size: .76rem; color: var(--dim); }
.found-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 9px; padding: 6px 12px;
  font-size: .78rem; color: var(--ink); }
.found-badge .ok { color: var(--ok); }
.found-card p { color: var(--muted); font-size: .9rem; line-height: 1.65; margin-bottom: 16px; }
.found-chips { display: flex; gap: 8px; margin-bottom: 16px; }
.found-chips .chip { font-size: .76rem; padding: 7px 11px; }
.found-people { display: flex; align-items: center; }
.fp-ava { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--panel);
  background: linear-gradient(135deg, var(--accent-soft), var(--panel-2)); color: var(--accent);
  font-size: .66rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-left: -8px; }
.fp-ava:first-child { margin-left: 0; }
.found-people small { margin-left: 10px; color: var(--dim); font-size: .78rem; }

/* Step 3 — skeletons → campaign cards */
.camp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.skel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px; min-height: 170px; }
.skel .ln { height: 12px; border-radius: 6px; margin-bottom: 12px;
  background: linear-gradient(90deg, var(--panel-2) 25%, #1d1d27 50%, var(--panel-2) 75%);
  background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { 0% { background-position: 200% 0 } 100% { background-position: -200% 0 } }
.camp-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  transition: border-color .3s; }
.camp-card:hover { border-color: var(--accent-line); }
.camp-card .cc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.camp-card .cc-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft);
  border: 1px solid var(--accent-line); display: flex; align-items: center; justify-content: center; font-size: .9rem; }
.camp-card b { font-size: .95rem; }
.camp-card .cc-n { margin-left: auto; font-family: var(--mono); font-size: .8rem; color: var(--ok); }
.camp-card p { font-size: .82rem; color: var(--muted); line-height: 1.55; }

/* Steps 4/5 — data tables */
.ws-table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; display: block; overflow-x: auto; }
.ws-table table { width: 100%; border-collapse: collapse; min-width: 720px; }
.ws-table th { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim); text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line);
  background: var(--bg-2); position: sticky; top: 0; }
.ws-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: .85rem; vertical-align: top; }
.ws-table tr:last-child td { border-bottom: none; }
.ws-table tr { transition: background .15s; }
.ws-table tbody tr:hover { background: var(--panel-2); }
.td-co b { display: block; font-size: .87rem; }
.td-co .mono { font-size: .72rem; color: var(--dim); }
.td-desc { color: var(--muted); font-size: .8rem; max-width: 320px; }
.up { color: var(--ok); } .down { color: var(--bad); }
.td-size { font-family: var(--mono); color: var(--muted); }
.pv-ava { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-soft), var(--panel-2));
  color: var(--accent); font-size: .62rem; font-weight: 700; display: inline-flex; align-items: center;
  justify-content: center; margin-right: 9px; vertical-align: middle; }

/* Step 6 — verification + email preview */
.outreach { display: grid; grid-template-columns: minmax(280px, 340px) 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .outreach { grid-template-columns: 1fr; } }
.verify-col { display: flex; flex-direction: column; gap: 10px; max-height: 62vh; overflow-y: auto; padding-right: 4px; }
.verify-col::-webkit-scrollbar { width: 5px; }
.verify-col::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }
.v-card { background: var(--panel); border: 1px solid var(--line); border-radius: 13px; padding: 12px; }
.v-card.sel { border-color: var(--accent-line); }
.v-head { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.v-head .pv-ava { margin-right: 0; }
.v-head b { font-size: .84rem; display: block; }
.v-head small { color: var(--dim); font-size: .72rem; display: block; }
.v-state { margin-left: auto; }
.spin { width: 14px; height: 14px; border: 2px solid var(--line-2); border-top-color: var(--accent);
  border-radius: 50%; animation: spin 0.8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg) } }
.v-provs { display: flex; flex-wrap: wrap; gap: 5px; }
.prov { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: .66rem;
  color: var(--dim); background: var(--panel-2); border: 1px solid var(--line); border-radius: 7px; padding: 4px 8px; }
.prov .ok { color: var(--ok); } .prov .no { color: var(--dim); }
.v-mail { font-family: var(--mono); font-size: .7rem; color: var(--muted); margin-top: 8px;
  border-top: 1px solid var(--line); padding-top: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.v-tag { font-size: .62rem; border-radius: 5px; padding: 2px 6px; border: 1px solid rgba(94,234,212,.35); color: var(--ok); }
.v-tag.warn { border-color: var(--line-2); color: var(--dim); }
.v-none { font-family: var(--mono); font-size: .7rem; color: var(--dim); margin-top: 8px;
  border-top: 1px solid var(--line); padding-top: 8px; }

.mail-pane { background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; }
.mail-person { display: flex; align-items: center; gap: 11px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.mail-person b { display: block; font-size: .92rem; }
.mail-person small { color: var(--dim); font-size: .76rem; }
.mail-meta { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.mail-meta .row { display: flex; gap: 10px; padding: 3px 0; }
.mail-meta .k { font-family: var(--mono); font-size: .72rem; color: var(--dim); width: 38px; flex-shrink: 0; padding-top: 2px; }
.mail-meta b { color: var(--ink); font-weight: 600; }
.mail-body { padding: 18px; font-size: .9rem; color: var(--muted); line-height: 1.7; white-space: pre-wrap; min-height: 220px; }
.mail-body::after { content: "▌"; color: var(--accent); animation: caret 1s steps(1) infinite; }
.mail-body.done::after { content: ""; }
.mail-foot { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.mail-foot .note { color: var(--dim); font-size: .76rem; }
.mail-foot .btn { margin-left: auto; }

/* Outreach-ready overlay card (replaces explee's signup/paywall) */
.ready-card { max-width: 480px; margin: 6vh auto 0; background: var(--panel); border: 1px solid var(--accent-line);
  border-radius: 20px; padding: 34px; text-align: center; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.ready-card .rc-ic { width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 16px;
  background: var(--accent-soft); border: 1px solid var(--accent-line); display: flex;
  align-items: center; justify-content: center; color: var(--accent); }
.ready-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.ready-card p { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.ready-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.ready-stats div { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 8px; }
.ready-stats b { display: block; font-size: 1.25rem; font-weight: 650; }
.ready-stats span { font-size: .68rem; color: var(--dim); font-family: var(--mono); }
.ready-actions { display: flex; gap: 10px; margin-top: 12px; }
.ready-actions .btn-ghost { flex: 1; justify-content: center; white-space: nowrap; }
.ready-hint { display: block; margin-top: 14px; font-size: .72rem; color: var(--dim); font-family: var(--mono); }
@media (max-width: 520px) { .ready-actions { flex-direction: column; } }

/* post-run review: stepper becomes navigation */
.stepper.nav .st { cursor: pointer; }
.stepper.nav .st .dot { transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.stepper.nav .st:hover .dot { border-color: var(--accent); color: var(--accent); transform: scale(1.1); }
.st-summary .dot { border-color: var(--ok); color: var(--ok); }
.st-summary.active .dot { border-color: var(--ok); color: var(--ok); box-shadow: 0 0 0 4px rgba(94, 234, 212, .12); }
.st-summary.active .lbl { border-color: rgba(94, 234, 212, .3); }
.st-summary.active .lbl::before { background: var(--ok); }

/* ---------- Pipeline section ---------- */
.pipe-visual { max-width: 760px; margin: 40px auto 0; background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; }
.pipe-row { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 10px; align-items: center;
  padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: .88rem; }
.pipe-row:last-child { border-bottom: none; }
.pipe-row.head { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim); background: var(--bg-2); }
.pipe-status { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .8rem; }
.pipe-status i { width: 7px; height: 7px; border-radius: 50%; font-style: normal; }
.pipe-status.s-work i { background: var(--ok); animation: pulse-dot 1.8s ease-in-out infinite; }
.pipe-status.s-scale i { background: var(--accent); animation: pulse-dot 1.8s ease-in-out infinite; }
.pipe-status.s-pause i { background: var(--dim); }
.pipe-n { font-family: var(--mono); font-size: .82rem; color: var(--ink); text-align: right; }

/* ---------- Three cards ---------- */
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
@media (max-width: 860px) { .three { grid-template-columns: 1fr; } }
.three-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px;
  transition: border-color .3s, transform .3s; }
.three-card:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.three-card h3 { font-size: 1.45rem; letter-spacing: -.02em; margin-bottom: 40px; font-weight: 600; }
.three-card h3 em { color: var(--accent); font-style: normal; }
.three-card p { color: var(--muted); font-size: .9rem; }

/* ---------- Testimonials (render only when real quotes exist) ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 40px; }
.quote-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.quote-card p { color: var(--muted); font-size: .9rem; font-style: italic; margin-bottom: 18px; }
.quote-card b { font-size: .88rem; display: block; }
.quote-card small { color: var(--dim); font-size: .78rem; }

/* ---------- Big CTA card ---------- */
.cta-card { max-width: 620px; margin-inline: auto; background: var(--panel); border: 1px solid var(--line-2);
  border-radius: 22px; padding: clamp(34px, 5vw, 54px); text-align: center; position: relative; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; inset: -60% -20% auto; height: 120%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent); pointer-events: none; }
.cta-card h2, .cta-card p, .cta-card .btn { position: relative; }
.cta-card p { color: var(--muted); margin: 12px 0 26px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 640px; margin: 44px auto 0; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 4px; font-weight: 500; font-size: 1rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  transition: color .2s; }
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "⌄"; color: var(--dim); transition: transform .25s; font-size: 1.05rem; }
.faq[open] summary::after { transform: rotate(180deg); color: var(--accent); }
.faq p { padding: 0 4px 20px; color: var(--muted); font-size: .92rem; line-height: 1.7; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 70px 0 0; position: relative; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 60px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h4 { font-size: .8rem; font-weight: 600; margin-bottom: 14px; color: var(--ink); }
.foot-grid a { display: block; color: var(--dim); font-size: .86rem; padding: 5px 0; transition: color .2s; }
.foot-grid a:hover { color: var(--ink); }
.foot-brand p { color: var(--dim); font-size: .86rem; margin-top: 10px; max-width: 240px; }
.foot-legal { border-top: 1px solid var(--line); padding: 22px 0; display: flex; gap: 20px;
  flex-wrap: wrap; color: var(--dim); font-size: .8rem; position: relative; z-index: 2; }
.foot-legal a { color: var(--dim); text-decoration: underline dotted; }
.foot-legal a:hover { color: var(--muted); }
.watermark { font-weight: 800; font-size: clamp(90px, 22vw, 300px); letter-spacing: -.04em; line-height: .8;
  text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(244, 245, 249, .05);
  user-select: none; pointer-events: none; transform: translateY(18%); }

/* ---------- Booking fallback modal (Calendly setup hint) ---------- */
.modal { position: fixed; inset: 0; z-index: 500; display: flex; align-items: center;
  justify-content: center; padding: 18px; background: rgba(3, 3, 6, .82);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal[hidden] { display: none; }
.modal-card { background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px;
  width: min(560px, 100%); padding: 30px; position: relative; box-shadow: 0 40px 90px rgba(0, 0, 0, .7);
  animation: modal-up .35s var(--ease); }
@keyframes modal-up { from { opacity: 0; transform: translateY(24px) } to { opacity: 1; transform: none } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer;
  transition: color .2s, border-color .2s; }
.modal-close:hover { color: var(--ink); border-color: var(--accent-line); }
.modal-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.modal-card > p { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.modal-card code { font-family: var(--mono); background: var(--panel-2); border: 1px solid var(--line);
  padding: 2px 7px; border-radius: 6px; font-size: .82em; color: var(--ink); }

/* input shake on invalid submit */
.shake { animation: shake .4s ease; }
@keyframes shake { 0%,100% { transform: translateX(0) } 25% { transform: translateX(-6px) } 75% { transform: translateX(6px) } }

/* ============================================================
   v6.1 — overlap fix + animation polish
   ============================================================ */

/* STACKING FIX: GSAP leaves inline transforms on hero children,
   which creates sibling stacking contexts — the description could
   paint above the autocomplete dropdown. Pin the input wrap (and
   its dropdown) above everything else in the hero. */
.hero-input-wrap { position: relative; z-index: 40; }
.hero-desc { position: relative; z-index: 1; }
.input-dd { background: rgba(16, 16, 22, .97);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .75), 0 0 0 1px rgba(139, 124, 255, .12);
  transform-origin: top center; animation: dd-in .18s var(--ease); }
@keyframes dd-in { from { opacity: 0; transform: translateY(-6px) scale(.985); } }

/* Aurora — slow-rotating soft gradient behind the headline */
.aurora { position: absolute; left: 50%; top: -14%; width: min(920px, 120vw); height: 620px;
  transform: translateX(-50%); pointer-events: none; z-index: 0; opacity: .55;
  filter: blur(70px); border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(139, 124, 255, .16), rgba(94, 234, 212, .09), transparent 55%,
    rgba(139, 124, 255, .13), transparent 85%, rgba(139, 124, 255, .16));
  animation: aurora-spin 28s linear infinite; }
@keyframes aurora-spin { to { transform: translateX(-50%) rotate(360deg); } }

/* Hero input breathes gently until it gets focus */
.hero-input { animation: input-breathe 3.8s ease-in-out infinite; }
.hero-input:focus-within { animation: none; }
@keyframes input-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139, 124, 255, 0), 0 12px 40px rgba(0, 0, 0, .35); }
  50% { box-shadow: 0 0 0 6px rgba(139, 124, 255, .07), 0 12px 48px rgba(139, 124, 255, .14); }
}

/* Subtle shine sweep across primary buttons */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .34), transparent);
  transform: skewX(-16deg); animation: btn-shine 5s ease-in-out infinite; pointer-events: none; }
@keyframes btn-shine { 0%, 74% { left: -70%; } 94%, 100% { left: 170%; } }
.btn > * { position: relative; z-index: 1; }

/* Rotating headline word — soft blur on the swap (driven by JS) */
.rotate-slot .rw { will-change: transform, opacity, filter; }

/* ============================================================
   v6.3 — watermark letter lights
   Each letter of the giant footer wordmark ignites in sequence:
   purple stroke + glow bloom, teal afterglow, back to faint
   outline. Runs only while the footer is on screen (.lit).
   ============================================================ */
.watermark .wm-l {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 245, 249, .05);
  text-shadow: 0 0 26px rgba(139, 124, 255, 0), 0 0 70px rgba(139, 124, 255, 0);
  animation: wm-light 6.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * .42s);
  animation-play-state: paused;
  will-change: text-shadow, transform;
}
.watermark.lit .wm-l { animation-play-state: running; }
@keyframes wm-light {
  0%, 52%, 100% {
    -webkit-text-stroke-color: rgba(244, 245, 249, .05);
    text-shadow: 0 0 26px rgba(139, 124, 255, 0), 0 0 70px rgba(139, 124, 255, 0);
    transform: translateY(0);
  }
  60% {
    -webkit-text-stroke-color: rgba(139, 124, 255, .9);
    text-shadow: 0 0 26px rgba(139, 124, 255, .5), 0 0 70px rgba(139, 124, 255, .28);
    transform: translateY(-1.2%);
  }
  70% {
    -webkit-text-stroke-color: rgba(94, 234, 212, .45);
    text-shadow: 0 0 20px rgba(94, 234, 212, .3), 0 0 70px rgba(139, 124, 255, 0);
    transform: translateY(0);
  }
  82% {
    -webkit-text-stroke-color: rgba(244, 245, 249, .05);
    text-shadow: 0 0 26px rgba(139, 124, 255, 0), 0 0 70px rgba(139, 124, 255, 0);
  }
}

/* ============================================================
   v6.4 — tagline pill: "Human-approved. AI-scaled. Built for
   growth." Three phrases rise in sequence, each in its own
   color, then a light sweep crosses the pill periodically.
   ============================================================ */
.hero-pill.tagline { position: relative; overflow: hidden; gap: 11px;
  font-size: .96rem; padding: 10px 22px; }
.tag-seg { display: inline-block; opacity: 0; transform: translateY(12px);
  animation: tag-in .65s var(--ease) forwards; font-weight: 600; letter-spacing: -.01em; }
.tag-seg.t1 { color: var(--ink); animation-delay: .55s; }
.tag-seg.t2 { color: var(--accent); animation-delay: .85s; }
.tag-seg.t3 { color: var(--ok); animation-delay: 1.15s; }
@keyframes tag-in { to { opacity: 1; transform: none; } }
/* periodic light sweep across the pill */
.hero-pill.tagline::after { content: ""; position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%; transform: skewX(-14deg); pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(244, 245, 249, .09), transparent);
  animation: pill-shine 5.5s ease-in-out infinite 2s; }
@keyframes pill-shine { 0%, 72% { left: -80%; } 92%, 100% { left: 180%; } }
/* soft breathing border glow */
.hero-pill.tagline { animation: pill-glow 4.6s ease-in-out infinite; }
@keyframes pill-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139, 124, 255, 0); border-color: var(--line-2); }
  50% { box-shadow: 0 0 26px rgba(139, 124, 255, .13); border-color: rgba(139, 124, 255, .3); }
}
