/* Pipelume · public site
   Tokens match the Figma file "Pipelume – Brand & CRM Design". */
:root {
  --ink: #14122b;
  --violet: #6c4dff;
  --violet-dark: #4b33c9;
  --violet-tint: #eeeaff;
  --cyan: #22d3ee;
  --amber: #ffb938;
  --mint: #1fc98a;
  --rose: #ff5c7a;
  --slate: #55587a;
  --mist: #f6f5ff;
  --line: #e4e2f5;
  --white: #ffffff;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 24px;
  --shadow: 0 12px 32px rgba(20, 18, 43, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
}
img, svg { max-width: 100%; }
a { color: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.03em; margin: 0; }
.eyebrow { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet); margin: 0 0 12px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark { width: 40px; height: 40px; flex: none; }
.wordmark { font-family: var(--font-head); font-weight: 800; font-size: 28px; letter-spacing: -0.03em; color: var(--ink); }
.wordmark span { color: var(--violet); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: 12px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: background 0.15s, transform 0.15s;
}
.btn-primary { background: var(--violet); color: var(--white); }
.btn-primary:hover { background: var(--violet-dark); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { background: var(--mist); }
.btn:active { transform: translateY(1px); }

/* Header */
.site-header { background: var(--white); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.nav-links { display: none; gap: 36px; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--slate); }
.nav-links a:hover { color: var(--ink); }
.nav .btn { padding: 11px 20px; font-size: 15px; }

/* Hero */
.hero { background: var(--mist); padding: 56px 0 64px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--violet-tint); color: var(--violet-dark);
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  padding: 7px 14px; border-radius: 100px; margin-bottom: 24px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); display: inline-block; flex: none; }
.hero h1 { font-size: clamp(40px, 8vw, 64px); line-height: 1.08; margin-bottom: 20px; }
.lead { font-size: 19px; line-height: 1.6; color: var(--slate); margin: 0 0 28px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.fine { font-size: 14px; color: var(--slate); margin: 0; }

/* Preview card */
.preview { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.preview-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.preview-head h2 { font-size: 20px; letter-spacing: -0.02em; }
.tag { background: var(--mist); color: var(--slate); font-weight: 500; font-size: 13px; padding: 6px 12px; border-radius: 100px; }
.stage { margin-bottom: 18px; }
.stage-top { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.stage-top span:first-child { color: var(--slate); font-weight: 500; }
.stage-top span:last-child { font-family: var(--font-head); font-weight: 700; }
.bar-track { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
.bar { height: 100%; border-radius: 5px; }
.w100 { width: 100%; } .w65 { width: 65%; } .w44 { width: 44%; } .w19 { width: 19%; }
.c-violet { background: var(--violet); } .c-cyan { background: var(--cyan); }
.c-amber { background: var(--amber); } .c-mint { background: var(--mint); }
.notice { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--mist); border-radius: 14px; padding: 14px 16px; font-size: 14px; font-weight: 500; margin-top: 6px; }
.notice small { color: var(--slate); font-weight: 400; font-size: 13px; white-space: nowrap; }
.notice-text { display: inline-flex; align-items: center; gap: 10px; }

/* Sections */
.section { padding: 72px 0; }
.section-mist { background: var(--mist); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(30px, 5vw, 44px); line-height: 1.12; margin-bottom: 12px; }
.section-head p { font-size: 18px; color: var(--slate); margin: 0; }
.grid { display: grid; gap: 20px; }
.card { border-radius: var(--radius); padding: 32px; }
.card-mist { background: var(--mist); }
.card-white { background: var(--white); border: 1px solid var(--line); }
.card h3 { font-size: 22px; letter-spacing: -0.02em; margin: 16px 0 10px; }
.card p { margin: 0; color: var(--slate); font-size: 16px; line-height: 1.55; }
.icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--violet-tint); color: var(--violet);
  font-family: var(--font-head); font-weight: 800; font-size: 15px;
}
.icon-solid { background: var(--violet); color: var(--white); }

/* Two journeys */
.lanes { display: grid; gap: 20px; }
.lane { border-radius: 36px; padding: 36px 32px; }
.lane-public { background: var(--violet-tint); }
.lane-cem { background: var(--ink); color: var(--white); }
.lane-tag { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: 0.12em; padding: 8px 16px; border-radius: 100px; margin-bottom: 20px; }
.lane-public .lane-tag { background: var(--violet); color: var(--white); }
.lane-cem .lane-tag { background: var(--amber); color: var(--ink); }
.lane h3 { font-size: 30px; margin-bottom: 24px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; counter-increment: step; }
.steps li::before {
  content: counter(step);
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 19px;
  background: var(--violet); color: var(--white);
}
.lane-cem .steps li::before { background: var(--amber); color: var(--ink); }
.steps strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.25; }
.steps span { display: block; font-size: 16px; margin-top: 2px; color: var(--slate); }
.lane-cem .steps span { color: var(--violet-tint); }

/* Waitlist CTA */
.cta-wrap { padding: 72px 0; }
.cta { background: var(--ink); color: var(--white); border-radius: 32px; padding: 48px 28px; text-align: center; }
.cta h2 { font-size: clamp(30px, 6vw, 48px); line-height: 1.1; margin-bottom: 14px; }
.cta > p { color: var(--violet-tint); font-size: 18px; margin: 0 auto 28px; max-width: 32em; }
.waitlist { display: grid; gap: 12px; max-width: 520px; margin: 0 auto; text-align: left; }
.waitlist label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--violet-tint); }
.waitlist input, .waitlist select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--white); border: 2px solid transparent; border-radius: 12px; padding: 14px 16px;
}
.waitlist input:focus, .waitlist select:focus { outline: 3px solid var(--cyan); outline-offset: 2px; }
.waitlist .btn { width: 100%; margin-top: 4px; }
.consent { font-size: 13px; color: var(--violet-tint); text-align: center; margin: 4px 0 0; }
.consent a { color: var(--white); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--slate); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* Simple pages (thanks, privacy) */
.page { padding: 56px 0 80px; }
.page .container { max-width: 760px; }
.page h1 { font-size: clamp(34px, 6vw, 48px); line-height: 1.1; margin-bottom: 16px; }
.page h2 { font-size: 24px; margin: 36px 0 10px; }
.page p, .page li { color: var(--slate); font-size: 17px; line-height: 1.65; }
.page ul { padding-left: 22px; }
.draft-note { background: var(--violet-tint); color: var(--violet-dark); border-radius: 14px; padding: 14px 18px; font-size: 15px; margin-bottom: 28px; }

/* Larger screens */
@media (min-width: 700px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .lanes { grid-template-columns: 1fr 1fr; }
  .cta { padding: 64px 48px; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .hero { padding: 80px 0; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .section { padding: 96px 0; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Honest pipeline illustration (no demo data) */
.flow { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.flow li { display: flex; align-items: center; gap: 12px; background: var(--mist); border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.flow-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.badge-s { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 100px; background: var(--violet-tint); color: var(--violet-dark); margin-right: 6px; }
.badge-s.warn { background: #fff4de; color: #8a5a00; }
.cta p .btn { margin-top: 4px; }
