/* Capture Revenue OS, landing styles. Hand written, system fonts, no external requests.
   Palette and type pulled from the Flow ABM demo (cream paper, serif display, dark teal),
   with a confident hero card and one saturated band borrowed from Prime Sales Signals. */

:root {
  /* Paper and surfaces (from the demo) */
  --paper: #f6f2ea;         /* cream page background */
  --paper-2: #efe9de;       /* tinted band on cream */
  --surface: #fffdf8;       /* card face */
  --surface-2: #f3eee5;     /* inset panels inside cards */

  /* Ink */
  --ink: #16202c;           /* primary text */
  --ink-2: #47505c;         /* secondary text */
  --ink-3: #636b75;         /* field labels, meta */

  /* Lines */
  --line: #e2dbcf;
  --line-strong: #cfc7b9;

  /* Teal accent (from the demo) */
  --teal: #0c6f78;
  --teal-hover: #095a62;
  --teal-soft: #dcefef;
  --teal-bright: #33b8b0;

  /* Status tints (from the demo), used only inside honest example mockups */
  --ok: #2c6a46;
  --ok-soft: #e0efe5;

  /* Lime signal accent (from PSS), used sparingly */
  --signal: #d8ff3e;
  --signal-deep: #a9d400;

  /* On the saturated teal band */
  --on-teal: #fffdf8;
  --on-teal-2: #cfe8e6;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgb(22 32 44 / .05), 0 6px 20px rgb(22 32 44 / .06);
  --shadow-lift: 0 2px 4px rgb(22 32 44 / .04), 0 24px 48px rgb(22 32 44 / .10);
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap.narrow { max-width: 760px; }

/* Accessibility helpers */
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--teal);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 10;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

a { color: var(--teal-hover); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.accent { color: var(--teal); }

/* Header / footer */
.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(246, 242, 234, 0.9);
  backdrop-filter: saturate(140%) blur(8px);
  z-index: 5;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.site-nav { display: flex; align-items: center; gap: 10px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.98rem;
}
.site-nav a:hover { color: var(--teal-hover); }
.site-nav .nav-cta {
  color: #fff;
  background: var(--teal);
  padding: 0 20px;
  border-radius: 999px;
}
.site-nav .nav-cta:hover { background: var(--teal-hover); color: #fff; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 30px;
  padding-bottom: 30px;
}
.footer-contact { margin: 0; }
.footer-contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--teal-hover); }

/* Buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 650;
  font-size: 1.04rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--teal-hover); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: var(--surface);
  color: var(--teal-hover);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--teal); }
.btn-block { width: 100%; margin-top: auto; }

/* Buttons sitting on the saturated teal band */
.band .btn-primary { background: var(--surface); color: var(--teal-hover); }
.band .btn-primary:hover { background: #fff; }
.band .btn-ghost { background: transparent; color: var(--on-teal); border-color: rgba(255, 253, 248, 0.55); }
.band .btn-ghost:hover { border-color: var(--on-teal); }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  letter-spacing: -0.015em;
  font-weight: 600;
  margin: 0 0 16px;
  max-width: 24ch;
  line-height: 1.08;
}
.section-lead {
  font-size: 1.18rem;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0 0 44px;
}
.prose {
  font-size: 1.22rem;
  color: var(--ink-2);
  max-width: 62ch;
  margin: 0;
}

/* Saturated band (borrowed from PSS, in the demo's teal) */
.band {
  background: var(--teal);
  color: var(--on-teal);
  border: 0;
}
.band .section-title { color: var(--on-teal); }
.band .prose, .band .section-lead { color: var(--on-teal-2); }
.band .hi { color: var(--signal); font-weight: 600; }

/* Hero */
.hero { padding: 64px 0 80px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
.hero-title {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 20px;
  max-width: 15ch;
}
.hero-sub {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--ink-2);
  max-width: 48ch;
  margin: 0 0 32px;
}
@media (min-width: 960px) {
  .hero .wrap { grid-template-columns: 1.04fr 0.96fr; column-gap: 56px; }
}

/* Example product card in the hero (PSS finding card, demo surfaces) */
.demo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.demo-note { color: var(--ink-3); font-size: 0.82rem; }
.demo-acct {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 20px 10px;
}
.demo-acct .name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.stage-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-hover);
  font-size: 0.82rem;
  font-weight: 650;
}
.demo-block { padding: 12px 20px; }
.demo-block + .demo-block { border-top: 1px solid var(--line); }
.demo-block.inset { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.k {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 7px;
}
.demo-block q {
  quotes: "\201C" "\201D";
  display: block;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink);
}
.demo-block .src { margin: 8px 0 0; font-size: 0.85rem; color: var(--ink-3); }
.demo-block .why { margin: 0; font-size: 0.97rem; line-height: 1.5; color: var(--ink-2); }

/* Signal to pipeline flow inside the card */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.flow li {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.85rem;
  font-weight: 600;
}
.flow li.on {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.flow li.on::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  margin-right: 8px;
}
.flow .sep { border: 0; background: none; color: var(--line-strong); padding: 0; min-height: 0; }

/* Module cards */
.cards {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, 1fr);
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--line-strong);
}
.card-title { font-size: 1.3rem; margin: 0; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }
.card-see {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.93rem;
  color: var(--ink-3);
}

/* Journey steps */
.steps {
  list-style: none;
  margin: 0 0 52px;
  padding: 0;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.step { position: relative; padding-top: 8px; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--teal);
  color: var(--teal-hover);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
/* connecting line behind the numbered steps */
.steps::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--line-strong);
  z-index: 0;
}
.step-title { font-size: 1.2rem; margin: 0 0 8px; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--ink-2); }

/* Board mockup (honest example data) */
.board {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.board-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 0.88rem;
  color: var(--ink-3);
}
.board-dots { display: inline-flex; gap: 6px; }
.board-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.board-bar .tag { margin-left: auto; }
.board-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.col { background: var(--surface); padding: 14px; display: grid; gap: 10px; align-content: start; }
.col-h {
  margin: 0 0 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
}
.col-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}
.col-card b { font-size: 0.9rem; font-weight: 650; color: var(--ink); }
.col-card span { display: block; margin-top: 3px; font-size: 0.78rem; color: var(--ink-3); }
.col-empty { font-size: 0.82rem; color: var(--ink-3); padding: 4px 2px; }
.board-note { margin: 14px 0 0; font-size: 0.9rem; color: var(--ink-3); }

/* Pricing */
.price-note {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 16px;
  margin: 0 0 36px;
}
.plans {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow);
}
.plan-feature {
  border-color: var(--teal);
  box-shadow: inset 3px 0 0 var(--teal), var(--shadow-lift);
}
.plan-name { font-size: 1.3rem; margin: 0; letter-spacing: -0.01em; }
.plan-price {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 2px 0 0;
}
.plan-price .per {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0;
}
.plan-list { margin: 0; font-size: 0.9rem; color: var(--ink-3); }
.plan-for { margin: 6px 0 18px; color: var(--ink-2); }

/* FAQ */
.faq { margin: 0; }
.faq-item {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 600; font-family: var(--serif); font-size: 1.2rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.faq dd { margin: 0; color: var(--ink-2); }

/* Closing */
.closing { text-align: center; }
.closing-line {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 auto 32px;
  max-width: 24ch;
}
.closing .cta-row { justify-content: center; }

/* 404 */
.notfound { text-align: center; padding: 120px 0; }
.notfound h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin: 0 0 16px; letter-spacing: -0.02em; }
.notfound p { color: var(--ink-2); font-size: 1.2rem; margin: 0 0 32px; }

/* Responsive */
@media (max-width: 1000px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .plans { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .board-cols { grid-template-columns: 1fr 1fr; }
  .col:nth-child(1), .col:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .hero { padding: 44px 0 48px; }
  .section { padding: 52px 0; }
  .cards { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .board-cols { grid-template-columns: 1fr; }
  .col { border-bottom: 1px solid var(--line); }
  .cta-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .card:hover { transform: none; }
  .btn-primary:hover { transform: none; }
}
