/* ==========================================================================
   LeadStream by REVO Media — design system
   Palette: deep harbor navy base, stream-blue → current-teal data gradient
   Type: Bricolage Grotesque (display) · Inter (body) · IBM Plex Mono (data)
   ========================================================================== */

:root {
  --ink-deep: #070D1A;      /* page */
  --ink: #0B1424;           /* raised band */
  --surface: #0E1930;       /* cards */
  --surface-2: #12203C;     /* hover / featured */
  --line: rgba(140, 170, 210, 0.14);
  --line-strong: rgba(140, 170, 210, 0.28);
  --text: #EAF1FB;
  --muted: #92A6C3;
  --stream: #57C4FF;        /* data / flow */
  --current: #7EE8C7;       /* verified / success */
  --stream-grad: linear-gradient(92deg, #57C4FF, #7EE8C7);
  --font-display: "Bricolage Grotesque", "Inter", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --container: 1160px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink-deep);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--font-mono); }

::selection { background: rgba(87, 196, 255, 0.35); }

/* ---------- Type scale ---------- */

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.015em; }

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.3rem);
  font-weight: 800;
  line-height: 1.04;
  font-variation-settings: "opsz" 96;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.12;
  max-width: 21ch;
}

h3 { font-size: 1.18rem; font-weight: 700; line-height: 1.3; }

.section-sub {
  color: var(--muted);
  font-size: 1.075rem;
  max-width: 58ch;
  margin-top: 18px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--stream);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.eyebrow .tick {
  width: 22px; height: 1px;
  background: var(--stream-grad);
  display: inline-block;
}

.eyebrow-center { justify-content: center; }

.section-head { margin-bottom: 56px; }

section { padding: 110px 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 28px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--stream-grad);
  color: #05101E;
  box-shadow: 0 8px 28px rgba(87, 196, 255, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(87, 196, 255, 0.32); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--stream); background: rgba(87, 196, 255, 0.06); }

.btn-sm { padding: 10px 18px; font-size: 0.86rem; border-radius: 8px; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--stream);
  outline-offset: 3px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 13, 26, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand { display: flex; align-items: baseline; gap: 9px; text-decoration: none; }
.brand-mark { width: 26px; height: 26px; align-self: center; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand-by {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }

.nav-cta { display: flex; gap: 10px; }

/* ---------- Hero ---------- */

.hero { padding: 96px 0 0; position: relative; }

.hero-inner { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.hero-copy { max-width: 780px; }

.hero-copy h1 em.stream-word {
  font-style: normal;
  background: var(--stream-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  white-space: nowrap;
}

.hero-copy h1 em.stream-word::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.02em;
  height: 3px;
  border-radius: 2px;
  background: var(--stream-grad);
  opacity: 0.85;
  transform-origin: left;
  animation: currentUnderline 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

@keyframes currentUnderline {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero-sub {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 56ch;
  margin: 26px 0 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-proof {
  display: flex;
  gap: 26px;
  list-style: none;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-proof li {
  color: var(--muted);
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-proof li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--current);
}

/* ---------- Flow band (signature) ---------- */

.flow-band {
  position: relative;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 300px at 18% 50%, rgba(87, 196, 255, 0.07), transparent 65%),
    radial-gradient(700px 300px at 82% 50%, rgba(126, 232, 199, 0.06), transparent 65%),
    var(--ink);
}

#flowCanvas { display: block; width: 100%; height: 360px; }

.flow-labels {
  position: absolute;
  inset: 22px 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: var(--container);
  margin: 0 auto;
  left: 0; right: 0;
  padding: 0 28px;
  pointer-events: none;
}

.flow-label { display: flex; flex-direction: column; gap: 3px; }
.flow-label:nth-child(2) { align-items: center; text-align: center; }
.flow-label:nth-child(3) { align-items: flex-end; text-align: right; }
.flow-label .mono {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--stream);
}
.flow-label span:last-child { font-size: 0.85rem; color: var(--muted); }

.flow-counters {
  position: absolute;
  bottom: 18px; left: 0; right: 0;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  gap: 34px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  pointer-events: none;
}
.flow-counters b { color: var(--text); font-weight: 500; }

/* ---------- Problem ---------- */

.problem { background: var(--ink-deep); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  background: var(--surface);
}
.problem-card h3 { margin-bottom: 12px; }
.problem-card p { color: var(--muted); font-size: 0.95rem; }

.problem-turn {
  margin-top: 44px;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 62ch;
}
.problem-turn strong { color: var(--text); font-weight: 600; }

/* ---------- Search modes ---------- */

.modes { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.modes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mode-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  background: var(--surface);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  overflow: hidden;
}

.mode-card:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
  transform: translateY(-3px);
}

.mode-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--stream-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.mode-card:hover::before { transform: scaleX(1); }

.mode-num {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--stream);
  display: block;
  margin-bottom: 14px;
}

.mode-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.mode-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.55; }

.mode-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--current);
  border: 1px solid rgba(126, 232, 199, 0.35);
  border-radius: 99px;
  padding: 3px 10px;
}

.mode-card.is-signal { background: linear-gradient(160deg, rgba(126, 232, 199, 0.05), transparent 55%), var(--surface); }

/* ---------- How it works ---------- */

.how-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.how-step {
  padding: 34px 28px 38px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  position: relative;
}
.how-step:last-child { border-right: none; }

.how-num {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--stream);
  margin-bottom: 40px;
  position: relative;
}
.how-num::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 100%;
  height: 1px;
  background: var(--line);
}

.how-step h3 { margin-bottom: 12px; font-size: 1.3rem; }
.how-step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Dashboard mock ---------- */

.platform { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.dash {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--ink-deep);
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(87, 196, 255, 0.04);
}

.dash-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.dash-chrome > span:not(.dash-url) {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.dash-url {
  margin-left: 14px;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.dash-body { display: grid; grid-template-columns: 180px 1fr; min-height: 420px; }

.dash-side {
  border-right: 1px solid var(--line);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--surface);
}
.dash-side-title {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 10px;
}
.dash-side-item {
  font-size: 0.84rem;
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 7px;
}
.dash-side-item.is-active {
  color: var(--text);
  background: rgba(87, 196, 255, 0.1);
  border: 1px solid rgba(87, 196, 255, 0.25);
}

.dash-main { padding: 24px; display: flex; flex-direction: column; gap: 20px; position: relative; }

.dash-lead {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  background: var(--surface);
  flex-wrap: wrap;
}
.dash-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--stream-grad);
  color: #05101E;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.dash-lead-info { display: flex; flex-direction: column; }
.dash-lead-info strong { font-size: 0.98rem; }
.dash-lead-info span { color: var(--muted); font-size: 0.82rem; }
.dash-lead-fields {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.72rem;
}
.ok { color: var(--current); }

.dash-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  flex: 1;
}
.dash-col {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dash-col-head {
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.dash-col-head b { color: var(--text); font-weight: 500; }
.dash-chip {
  height: 42px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.dash-chip.is-hot { border-color: rgba(87, 196, 255, 0.5); background: rgba(87, 196, 255, 0.1); }
.dash-chip.is-won { border-color: rgba(126, 232, 199, 0.5); background: rgba(126, 232, 199, 0.1); }

.dash-toast {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.82rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  animation: toastIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.2s both;
}
.dash-toast-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--current);
  box-shadow: 0 0 10px var(--current);
  animation: pulse 2s infinite;
}
.dash-toast-time { color: var(--muted); font-size: 0.68rem; }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.platform-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.platform-points li { color: var(--muted); font-size: 0.94rem; }
.platform-points strong { color: var(--text); display: block; margin-bottom: 6px; font-weight: 600; }

/* ---------- AI outreach ---------- */

.outreach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.check-list { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 13px; }
.check-list li {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 0.97rem;
  align-items: baseline;
}
.check-list li::before {
  content: "✓";
  color: var(--current);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.email-mock {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.email-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.email-tag {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: var(--current);
  align-self: flex-start;
  border: 1px solid rgba(126, 232, 199, 0.35);
  border-radius: 99px;
  padding: 3px 10px;
  margin-bottom: 6px;
}
.email-to, .email-subj { font-size: 0.86rem; color: var(--muted); }
.email-to strong, .email-subj strong { color: var(--text); font-weight: 500; }

.email-body {
  padding: 22px 24px;
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 190px;
  white-space: pre-wrap;
  line-height: 1.65;
}

.caret {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: var(--stream);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 0.9s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.email-foot {
  display: flex;
  gap: 10px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--line);
}
.btn-fake {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 8px;
  background: var(--stream-grad);
  color: #05101E;
}
.btn-fake.ghost { background: transparent; color: var(--muted); border: 1px solid var(--line-strong); }

/* ---------- Signals ---------- */

.signals { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.signals-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.signal-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 36px 34px;
}
.signal-label {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--stream);
  display: block;
  margin-bottom: 18px;
}
.signal-panel h3 { font-size: 1.5rem; margin-bottom: 14px; max-width: 18ch; }
.signal-panel > p { color: var(--muted); font-size: 0.96rem; }

.signal-feed {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feed-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--ink-deep);
}
.feed-row b { margin-left: auto; color: var(--stream); font-weight: 500; }
.feed-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--current);
  flex-shrink: 0;
  animation: pulse 2.2s infinite;
}

.signal-chips { margin-top: 26px; display: flex; flex-direction: column; gap: 8px; }
.chip {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--ink-deep);
}
.chip b { color: var(--current); font-weight: 500; }

/* ---------- Property ---------- */

.property-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.parcel-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.parcel {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.parcel.is-hit {
  border-color: rgba(126, 232, 199, 0.5);
  background: rgba(126, 232, 199, 0.07);
  display: flex;
  align-items: flex-end;
  padding: 8px;
}
.parcel.is-hit .mono { font-size: 0.55rem; letter-spacing: 0.12em; color: var(--current); }

.parcel-card {
  margin-top: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-2);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.parcel-card-label { font-size: 0.62rem; letter-spacing: 0.16em; color: var(--stream); }
.parcel-card strong { font-size: 0.95rem; }
.parcel-card .ok { font-size: 0.72rem; }

/* ---------- Use cases ---------- */

.cases { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 32px 30px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.case-card:hover { border-color: var(--line-strong); background: var(--surface-2); }
.case-card h3 { margin-bottom: 10px; }
.case-card p { color: var(--muted); font-size: 0.93rem; margin-bottom: 18px; }
.case-modes { font-size: 0.64rem; letter-spacing: 0.14em; color: var(--stream); }

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.price-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-card.is-featured {
  border-color: rgba(87, 196, 255, 0.45);
  background: linear-gradient(170deg, rgba(87, 196, 255, 0.06), transparent 45%), var(--surface-2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.price-badge {
  position: absolute;
  top: -11px;
  left: 32px;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  background: var(--stream-grad);
  color: #05101E;
  font-weight: 500;
  border-radius: 99px;
  padding: 4px 12px;
}

.price-flow {
  height: 4px;
  border-radius: 3px;
  background: rgba(140, 170, 210, 0.12);
  margin-bottom: 18px;
  overflow: hidden;
}
.flow-bar {
  display: block;
  height: 100%;
  width: calc(var(--fill) * 100%);
  border-radius: 3px;
  background: var(--stream-grad);
}

.price-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }

.price-amount { display: flex; align-items: baseline; gap: 4px; margin: 4px 0; }
.price-amount b {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.price-amount span { color: var(--muted); font-size: 0.95rem; }

.price-credits { font-size: 0.66rem; letter-spacing: 0.14em; color: var(--stream); margin-bottom: 4px; }

.price-rollover {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--current);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.price-card > p { color: var(--muted); font-size: 0.9rem; flex: 1; margin-bottom: 24px; }

.pricing-includes {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 44px;
  justify-content: center;
}
.pricing-includes li {
  font-size: 0.8rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 7px 16px;
  background: var(--surface);
}
.pricing-includes li::before { content: "✓ "; color: var(--current); }

.pricing-fine {
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 26px;
}

/* ---------- Single plan (Flow) ---------- */

.plan-solo {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(87, 196, 255, 0.4);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(170deg, rgba(87, 196, 255, 0.07), transparent 45%), var(--surface-2);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}

.plan-solo-offer {
  padding: 40px 38px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--line);
}

.plan-solo .price-badge {
  position: static;
  align-self: flex-start;
  margin-bottom: 8px;
}

.plan-solo .price-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
}

.plan-solo .price-amount { display: flex; align-items: baseline; gap: 4px; margin: 2px 0; }
.plan-solo .price-amount b {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.plan-solo .price-amount span { color: var(--muted); font-size: 1rem; }

.plan-solo .price-credits {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--stream);
  margin-bottom: 10px;
}

.plan-solo-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 22px;
}

.plan-solo-fine {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}

.plan-solo-features {
  padding: 40px 38px;
  display: flex;
  flex-direction: column;
}

.plan-solo-features-head {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 20px;
}

.plan-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.plan-feature-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 0.92rem;
  color: var(--text);
}
.plan-feature-list li::before {
  content: "✓";
  color: var(--current);
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.wallet-strip {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.wallet-strip > .mono {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--stream);
}
.wallet-bar {
  height: 8px;
  border-radius: 5px;
  background: rgba(140, 170, 210, 0.12);
  overflow: hidden;
}
.wallet-bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 5px;
  background: var(--stream-grad);
}
.wallet-note { font-size: 0.72rem; color: var(--muted); }

@media (max-width: 760px) {
  .plan-solo { grid-template-columns: 1fr; }
  .plan-solo-offer { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ---------- REVO upsell ---------- */

.revo { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.revo-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}
.revo-copy .btn { margin-top: 32px; }

.revo-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 30px 28px;
}
.revo-panel-label {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 22px;
}
.revo-track { display: flex; flex-direction: column; gap: 10px; }
.revo-stop {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--ink-deep);
}
.revo-stop b { font-size: 0.92rem; font-weight: 600; }
.revo-stop span { color: var(--muted); font-size: 0.8rem; }
.revo-stop.is-full {
  border-color: rgba(87, 196, 255, 0.45);
  background: linear-gradient(140deg, rgba(87, 196, 255, 0.08), rgba(126, 232, 199, 0.05)), var(--ink-deep);
}

/* ---------- Free leads CTA ---------- */

.free {
  position: relative;
  text-align: center;
  padding: 140px 0;
  overflow: hidden;
}
#freeCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}
.free-inner { position: relative; }
.free-inner h2 { max-width: none; font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
.free-inner .section-sub { margin-left: auto; margin-right: auto; margin-bottom: 40px; }
.free-fine {
  display: block;
  margin-top: 22px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* ---------- ICP freebie modal ---------- */

.icp-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.icp-modal[hidden] { display: none; }

.icp-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 16, 0.78);
  backdrop-filter: blur(6px);
}

.icp-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  animation: icpIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes icpIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.icp-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.icp-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--stream);
  margin-bottom: 2px;
}
.icp-panel-head strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.icp-close {
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
}
.icp-close:hover { color: var(--text); border-color: var(--stream); }
.icp-close:focus-visible { outline: 2px solid var(--stream); outline-offset: 2px; }

.icp-panel-body {
  overflow-y: auto;
  flex: 1;
  background: #fff;
}
.icp-panel-body iframe {
  display: block;
  min-height: 1509px;
}

body.icp-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .icp-panel { animation: none; }
}

/* ---------- Final demo CTA ---------- */

.demo {
  border-top: 1px solid var(--line);
  background: var(--ink);
  text-align: center;
  padding: 110px 0;
}
.demo-inner h2 { max-width: none; }
.demo-inner .section-sub { margin-left: auto; margin-right: auto; }
.demo-inner .section-sub em { color: var(--text); font-style: italic; }
.demo-actions { justify-content: center; margin-top: 38px; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); background: var(--ink-deep); padding: 70px 0 0; }

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 56px;
}
.footer-brand p { color: var(--muted); font-size: 0.88rem; margin-top: 14px; max-width: 30ch; }

.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.footer-links > div { display: flex; flex-direction: column; gap: 12px; }
.footer-head { font-size: 0.64rem; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 6px; }
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--text); }

.footer-legal {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  padding-bottom: 30px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-legal-links a { color: var(--muted); text-decoration: none; }
.footer-legal-links a:hover { color: var(--text); }

/* ---------- Legal pages (privacy / terms) ---------- */
.legal { padding: 110px 0 90px; }
.legal .container { max-width: 820px; }
.legal-head { margin-bottom: 30px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.legal-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.legal-updated { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.legal-intro { color: var(--muted); font-size: 1.02rem; line-height: 1.7; margin-bottom: 8px; }
.legal-body h2 { font-size: 1.3rem; margin: 42px 0 14px; scroll-margin-top: 90px; }
.legal-body h3 { font-size: 1.02rem; margin: 22px 0 8px; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 0.97rem; line-height: 1.72; }
.legal-body p { margin-bottom: 14px; }
.legal-body ul { margin: 0 0 16px 22px; display: flex; flex-direction: column; gap: 7px; }
.legal-body a { color: var(--stream); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-body strong { color: var(--text); font-weight: 600; }

/* ---------- Sub-pages (Tools / Market Profiler) ---------- */
.subpage { padding: 64px 0 30px; }
.subpage-hero { padding: 40px 0 52px; }
.subpage-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.05; max-width: 22ch; margin-bottom: 20px; }
.subpage-hero .section-sub { margin-top: 0; max-width: 60ch; }
.subpage-section { padding: 52px 0; border-top: 1px solid var(--line); }
.subpage-section > .container > .section-head { margin-bottom: 34px; }

.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tool-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.tool-card:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-3px); }
.tool-card-eyebrow { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.16em; color: var(--stream); margin-bottom: 14px; }
.tool-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.tool-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; flex: 1; margin-bottom: 22px; }
.tool-card .btn { align-self: flex-start; }

.mp-launch { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 30px 0 12px; }
.mp-soon {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.03em;
  color: var(--current);
  border: 1px solid rgba(126, 232, 199, 0.35);
  border-radius: 99px; padding: 13px 22px;
}
.mp-soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--current); box-shadow: 0 0 10px var(--current); }
.mp-note { font-size: 0.82rem; color: var(--muted); max-width: 48ch; }
.mp-note a { color: var(--stream); text-decoration: none; }
.mp-note a:hover { text-decoration: underline; }

@media (max-width: 760px) { .tools-grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-copy h1 em.stream-word::after { animation: none; }
  .dash-toast { animation: none; }
  .caret { animation: none; }
  .feed-dot, .dash-toast-dot { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .modes-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .how-step:nth-child(2) { border-right: none; }
  .how-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .outreach-grid, .property-grid, .revo-inner { grid-template-columns: 1fr; gap: 50px; }
  .nav-links { display: none; }
}

@media (max-width: 760px) {
  section { padding: 80px 0; }
  .hero { padding-top: 64px; }
  .problem-grid, .signals-grid, .cases-grid, .pricing-grid, .platform-points { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .how-step { border-right: none; border-bottom: 1px solid var(--line); }
  .how-step:last-child { border-bottom: none; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { flex-direction: row; flex-wrap: wrap; border-right: none; border-bottom: 1px solid var(--line); }
  .dash-side-title { width: 100%; }
  .dash-pipeline { grid-template-columns: repeat(2, 1fr); }
  .dash-lead-fields { margin-left: 0; }
  .dash-toast { position: static; margin-top: 4px; }
  .flow-labels { grid-template-columns: 1fr; gap: 4px; }
  .flow-label:nth-child(2), .flow-label:nth-child(3) { display: none; }
  .flow-counters { gap: 18px; flex-wrap: wrap; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .nav-cta .btn-ghost { display: none; }
  .brand-by { display: none; }
}
