:root {
  --bg-card:#ffffff;
  --brand-50:#ecfdf3; --brand-100:#d1fadf; --brand-200:#a6f4c5;
  --brand-500:#16d645; --brand-600:#12b13a; --brand-700:#027a48; --brand-800:#055d3a;
  --ink-50:#fafafa; --ink-100:#f4f4f5; --ink-200:#e4e4e7; --ink-300:#d4d4d8;
  --ink-400:#a1a1aa; --ink-500:#6b6b74; --ink-600:#52525b; --ink-700:#3f3f46;
  --ink-800:#27272a; --ink-900:#18181b;
  --amber-50:#fffbeb; --amber-600:#d97706; --amber-700:#b45309;
  --rose-50:#fff1f2; --rose-600:#e11d48; --rose-700:#be123c;
  --blue-50:#eff6ff; --violet-50:#f5f3ff;
  --text-on-brand:#18181b;
  --gradient-brand: linear-gradient(135deg, #039855 0%, #10b981 60%, #16d645 110%);
  --gradient-hero:  linear-gradient(160deg, #042e1f 0%, #045a35 35%, #027a48 70%, #0a9b5a 110%);
  --shadow-card:    0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.04);
  --shadow-elev:    0 24px 48px -16px rgba(15,23,42,.18), 0 8px 16px -4px rgba(15,23,42,.06);
  --shadow-glow:    0 16px 50px -12px rgba(22,214,69,.55);
  --r-sm:8px; --r-md:12px; --r-lg:18px; --r-xl:28px;
}
:root[data-theme="dark"] {
  --bg-card:#101a15;
  --ink-50:#17231c; --ink-100:#202d25; --ink-200:#34443a; --ink-300:#526158;
  --ink-400:#9aa79f; --ink-500:#b5c0b9; --ink-600:#cbd4ce; --ink-700:#dce3de;
  --ink-800:#edf1ee; --ink-900:#f8faf8;
  --brand-50:#0b2c1b; --brand-100:#103d25; --brand-200:#176039;
  --brand-700:#4ade80; --brand-800:#86efac;
  --amber-50:#34230a; --amber-700:#fbbf24; --rose-50:#3a121c; --rose-700:#fb7185;
  --blue-50:#14243d; --violet-50:#251b3f;
}
*,*::before,*::after { box-sizing: border-box; }
html,body { margin:0; padding:0; }
body {
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink-800);
  background:var(--bg-card);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
.marketing-skip { position: fixed; z-index: 99999; top: var(--space-3, 8px); left: var(--space-3, 8px); transform: translateY(-160%); padding: 8px 12px; border-radius: var(--r-sm); background: var(--bg-card); color: var(--ink-900); box-shadow: var(--shadow-elev); font-weight: 700; }
.marketing-skip:focus-visible { transform: translateY(0); outline: 3px solid var(--brand-700); outline-offset: 2px; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.marketing-state {
  width: min(680px, calc(100% - 32px)); margin: 20px auto; padding: 18px 20px;
  border: 1px solid var(--ink-200); border-radius: var(--r-md);
  background: var(--ink-50); color: var(--ink-700); text-align: left;
}
.marketing-state strong { display: block; color: var(--ink-900); margin-bottom: 4px; }
.marketing-state p { margin: 0; font-size: 14px; }
.hero__demo-wrap--state { display: grid; place-items: center; min-height: 360px; }
.notfound { padding: 112px 0 128px; text-align: center; }
.notfound__code { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-700); margin-bottom: 16px; }
.notfound h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 16px; text-wrap: balance; }
.notfound p { max-width: 460px; margin: 0 auto 32px; font-size: 17px; line-height: 1.55; }
.notfound__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── Shared ─── */
/* Hard cap on horizontal scroll — a single overflowing element used to
   blow out the whole page (massive sideways drag on the landing page).
   overflow-x: clip prevents that without breaking position: sticky on
   the nav (which overflow: hidden would do). */
html, body { overflow-x: clip; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) {
  .container { padding: 0 16px; }
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  padding: 12px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600;
  border: 1px solid transparent;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gradient-brand);
  color: var(--text-on-brand);
  /* Match the border color to the gradient's darkest stop instead of
     transparent — a transparent 1px border was rendering as a hairline
     sliver of the parent (white) on the right edge of some browsers. */
  border-color: #039855;
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,.25);
  text-shadow: 0 1px 0 rgba(255,255,255,.2);
}
.btn--primary:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--brand-700); outline-offset: 3px; }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn--ghost {
  background: transparent; color: var(--ink-800);
  border-color: var(--ink-200);
}
.btn--ghost:hover { border-color: var(--ink-400); background: var(--ink-50); }
.btn--white {
  background:var(--bg-card); color: var(--brand-700);
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.25);
}
.btn--white:hover { transform: translateY(-1px); }
.btn--lg { padding: 16px 28px; font-size: 16px; }
/* Mobile: every .btn (incl. hero CTAs with .btn--lg) shrinks.
   This sits AFTER the desktop .btn--lg so its !important-free
   override actually wins — the prior position got swallowed by
   cascade order. */
@media (max-width: 720px) {
  .btn        { padding: 10px 18px; font-size: 14px; }
  .btn--lg    { padding: 12px 20px; font-size: 15px; }
}
@media (max-width: 420px) {
  .btn        { padding: 9px 16px; font-size: 13.5px; }
  .btn--lg    { padding: 10px 16px; font-size: 14px; }
}

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--brand-700);
  margin-bottom: 16px;
}
.eyebrow--light { color: rgba(167, 243, 208, .9); }

h1 { font-size: clamp(38px, 6vw, 70px); line-height: 1.04; letter-spacing: -0.025em; font-weight: 800; margin: 0 0 20px; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.022em; font-weight: 800; margin: 0 0 16px; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; }
p  { margin: 0 0 12px; color: var(--ink-600); }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink-600); max-width: 640px; }

/* ─── Nav ─── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid var(--ink-100);
}
:root[data-theme="dark"] .nav { background: rgba(10,20,15,.88); }
:root[data-theme="dark"] .nav__brand img,
:root[data-theme="dark"] .footer__brand img { filter: brightness(0) invert(1); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 64px; min-width: 0; }
.nav__brand { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; }
/* The browser default (a 1px blue "auto" ring) was the only focus cue on the
   nav and footer links; match the buttons' brand-700 outline. */
.nav a:focus-visible, .footer a:focus-visible, main a:not(.btn):focus-visible {
  outline: 3px solid var(--brand-700); outline-offset: 3px; border-radius: 6px;
}
.nav__brand img { height: 30px; width: auto; display: block; }
[data-brand-image][hidden] { display:none; }
.brand-fallback { color:var(--ink-900); font-size:21px; font-weight:800; letter-spacing:-.04em; line-height:1; }
.nav__links { display: flex; gap: 28px; margin-left: 24px; }
.nav__links a { color: var(--ink-600); font-size: 14px; font-weight: 500; transition: color .15s; }
.nav__links a:hover { color: var(--ink-900); }
.nav__spacer { flex: 1; }
.nav__actions { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.nav__signin { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--ink-700); padding: 8px 12px; }
.nav__signin:hover { color: var(--ink-900); }
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__inner { gap: 12px; height: 56px; }
  .nav__brand img { height: 26px; }
  .nav__actions { gap: 6px; }
  /* Compact nav CTAs — full-size pills don't fit alongside the logo
     on phones (which is what blows the layout out and forces the
     horizontal scroll on the page). */
  .nav__signin { font-size: 13px; padding: 6px 8px; }
  .nav .btn { padding: 8px 14px; font-size: 13px; }
}
@media (max-width: 380px) {
  /* Tiny phones: hide standalone Sign in link — the primary CTA still
     takes existing users to the signup → login funnel. */
  .nav__signin { display: none; }
}

/* ─── Hero ─── */
.hero {
  position: relative; overflow: hidden;
  padding: 28px 0 40px;
  /* Green-tinted dot grid + soft spotlight blobs on the left side —
     same family as the in-app shell background (the dotted-canvas under
     every page in the product). */
  background:
    radial-gradient(circle at 1px 1px, rgba(16, 185, 129, 0.14) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, #ffffff 0%, #f6fbf7 100%);
}
:root[data-theme="dark"] .hero {
  background:
    radial-gradient(circle at 1px 1px, rgba(74,222,128,.16) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, #0c1711 0%, #101a15 100%);
}
/* Soft spotlight orb in the top-left of the hero — mirrors the body::before
   decoration the app uses, but scoped to this section. */
.hero::before {
  content: '';
  position: absolute;
  top: -180px; left: -160px;
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.18), transparent 62%);
  filter: blur(28px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -200px; left: 10%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.12), transparent 65%);
  filter: blur(32px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
/* Royal-green slanted panel that fills the right ~46% of the hero. Edge
   stays well clear of the headline. Skew is gentle so the diagonal feels
   intentional, not loud. */
.hero__panel {
  position: absolute;
  top: -20px; right: -80px; bottom: -20px;
  width: 52%;
  /* Same gradient stack as the auth-aside on /login and /signup so the
     marketing hero and the auth pages read as one continuous brand
     surface. */
  background:
    radial-gradient(ellipse 80% 60% at 110% 110%, rgba(34, 197, 94, 0.45), transparent 60%),
    linear-gradient(150deg, #042e1f 0%, #045a35 45%, #027a48 80%, #0a9b5a 130%);
  transform: skewX(-6deg);
  transform-origin: top right;
  box-shadow: -30px 0 60px -20px rgba(4, 90, 53, 0.30);
  overflow: hidden;
}
/* Aurora blooms — same animated radial gradients .auth-aside uses. */
.hero__panel::before {
  content: "";
  position: absolute; inset: -30%;
  background:
    radial-gradient(ellipse 45% 35% at 25% 30%, rgba(134, 239, 172, 0.28), transparent 55%),
    radial-gradient(ellipse 35% 30% at 75% 70%, rgba(74, 222, 128, 0.22), transparent 60%),
    radial-gradient(ellipse 30% 25% at 60% 20%, rgba(255, 255, 255, 0.10), transparent 60%);
  animation: aurora-shift 30s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes aurora-shift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(3%, -2%, 0) scale(1.08); }
  100% { transform: translate3d(-2%, 3%, 0) scale(1.04); }
}
/* Square grid lives on a separate non-skewed element so the lines stay
   vertical/horizontal even though the panel underneath is skewed. */
.hero__grid-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 52%;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: 0 0;
  mask-image: linear-gradient(120deg, transparent 0%, #000 18%, #000 100%);
  -webkit-mask-image: linear-gradient(120deg, transparent 0%, #000 18%, #000 100%);
}
@media (max-width: 980px) { .hero__grid-bg { display: none; } }
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 540px);
  gap: 48px; align-items: center;
  min-height: 580px;
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__panel { display: none; }
}
/* 981-1240px: the copy column is a fixed 540px but the demo window starts at
   ~51% of the viewport, so on a 1024 laptop the subhead ran underneath the
   window ("Quote with the same" touched it). Let the column follow the panel. */
@media (min-width: 981px) and (max-width: 1240px) {
  .hero__grid { grid-template-columns: minmax(0, 46%); }
  .hero__title { font-size: clamp(40px, 4.8vw, 54px); }
}
.hero__copy { max-width: 580px; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px;
  background: var(--brand-50); border: 1px solid var(--brand-200);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: var(--brand-700);
  margin-bottom: 22px;
}
.hero__pill__chip { padding: 2px 10px; background: var(--gradient-brand); color: var(--text-on-brand); border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.hero__title em { font-style: normal; color: var(--brand-700); }
.hero__sub { font-size: 19px; line-height: 1.55; color: var(--ink-600); margin: 0 0 36px; max-width: 540px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__trustline { display: flex; gap: 16px; align-items: center; font-size: 13px; color: var(--ink-500); }
.hero__trustline strong { color: var(--ink-800); font-weight: 700; }
/* Phones: three fragments with bare dots between them wrapped into an
   orphaned "14 days / free." column. Stack them as one tidy list instead. */
@media (max-width: 640px), (min-width: 981px) and (max-width: 1240px) {
  .hero__trustline { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 14px; }
  .hero__trustline [aria-hidden="true"] { display: none; }
}

/* Hero illustration: single product window with an animated 5-scene
   story that cycles every 25s. Centered (no 3D tilt) so the content
   reads cleanly — story moves the eye, not perspective. */
/* Absolute wrapper that occupies the same visible region as the green
   panel so the demo can be truly centered within it (rather than
   centered inside the right grid column, which sits left of the
   green's visual center). */
.hero__demo-wrap {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 52%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 32px;
  z-index: 1;
  pointer-events: none;
}
.hero__demo-wrap > * { pointer-events: auto; }
/* ─── Mobile hero: "rotate clockwise" — what was on the left (copy) is
   now on top; the green slanted panel that was on the right wraps around
   the demo below it. Slanted top edge gives the diagonal that the
   desktop hero gets from skewX on the panel. */
@media (max-width: 980px) {
  /* Reverse the natural DOM order (demo-wrap appears before grid in
     markup, so without flex it'd render above the copy on mobile).
     Flex column with explicit orders puts copy on top, demo below. */
  .hero {
    display: flex;
    flex-direction: column;
  }
  .hero__grid     { order: 1; }
  .hero__demo-wrap { order: 2; }
  .hero__demo-wrap {
    position: relative; width: 100vw;
    /* Break out of the .container's horizontal padding to go full-bleed. */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 90px 18px 56px;
    margin-top: 32px;
    /* Same gradient stack as the desktop .hero__panel. */
    background:
      radial-gradient(ellipse 80% 60% at 110% 110%, rgba(34, 197, 94, 0.45), transparent 60%),
      linear-gradient(150deg, #042e1f 0%, #045a35 45%, #027a48 80%, #0a9b5a 130%);
    /* Slanted top edge — clip-path gives a clean diagonal cut between
       the white copy area above and the green panel below, no skew
       transforms needed. Right corner sits higher than the left, so
       the slant rises toward the right edge of the screen. */
    clip-path: polygon(0 7%, 100% 0%, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 7%, 100% 0%, 100% 100%, 0 100%);
    display: flex; justify-content: center;
    box-shadow: 0 -10px 30px -16px rgba(4, 30, 18, .25);
  }
  .hero__demo {
    max-width: 100%;
    gap: 14px;
  }
  .hero__caption { min-height: 48px; }
  .hero__caption__title { font-size: 11px; letter-spacing: .1em; }
  .hero__caption__body { font-size: 13.5px; line-height: 1.45; }
}
/* Mobile + reduced-motion: kill the aurora-shift animation entirely
   (it's a wide blurred gradient on the panel — expensive on phones)
   and freeze scenes on the first one. */
@media (max-width: 980px), (prefers-reduced-motion: reduce) {
  .hero__panel::before { animation: none; }
}
@media (max-width: 640px) {
  .hero__demo-wrap { display: none; }
  .hero { min-height: 0; }
  .hero__grid { min-height: 0; padding-top: 64px; padding-bottom: 56px; }
}
.hero__demo {
  position: relative;
  width: 100%;
  max-width: 520px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.hero__win {
  position: relative;
  width: 100%;
  background:var(--bg-card);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -20px rgba(4, 30, 18, 0.55),
    0 14px 28px -10px rgba(4, 30, 18, 0.35);
}
.hero__win:focus-visible { outline: 3px solid var(--brand-700); outline-offset: 3px; }
/* Caption strip under the demo. The label fades with the active scene
   so the viewer reads "what they're looking at" without thinking. */
.hero__caption {
  width: 100%;
  color: rgba(255,255,255,.92);
  text-align: center;
  min-height: 56px;
}
.hero__caption__title {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: #a6f4c5;
  margin-bottom: 6px;
}
.hero__caption__body {
  font-size: 15px; line-height: 1.5;
  color: rgba(255,255,255,.78);
  max-width: 480px; margin: 0 auto;
}
.hero__pause {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: var(--r-sm);
  background: rgba(4,46,31,.5);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.hero__pause:hover { background: rgba(4,46,31,.72); }
.hero__pause:focus-visible { outline: 3px solid #a6f4c5; outline-offset: 3px; }
.hero__demo.is-paused *,
.hero__demo.is-paused *::before,
.hero__demo.is-paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .hero__pause { display: none; } }
.hero__scenes {
  position: relative;
  height: 380px;
  background: var(--bg-card);
}
@media (max-width: 980px) {
  /* Keep fixed product grids readable and pan them inside the window. */
  .hero__win { overflow-x: auto; overscroll-behavior-inline: contain; }
  .hero__scenes { height: 360px; min-width: 520px; }
}
.scene {
  position: absolute; inset: 0;
  padding: 14px;
  opacity: 0;
  animation: sceneCycle 40s infinite ease-in-out;
}
/* Each scene is visible from 2% to 19% of the 40s cycle, i.e. from 0.8s in.
   Start the whole cycle 0.8s "in" so scene 1 is on screen at first paint (the
   hero window used to open blank for ~0.4s and the first fold read as empty),
   and so each scene lands on the 8s beat the JS caption already uses. */
.scene--1 { animation-delay: -0.8s; }
.scene--2 { animation-delay:  7.2s; }
.scene--3 { animation-delay: 15.2s; }
.scene--4 { animation-delay: 23.2s; }
.scene--5 { animation-delay: 31.2s; }
/* Pure crossfade — no translate, no drop. Tighter fade windows so the
   content swap matches the title-bar + caption JS fade (~250ms). */
@keyframes sceneCycle {
  0%, 1%    { opacity: 0; }
  2%, 19%   { opacity: 1; }
  20%, 100% { opacity: 0; }
}

/* Scene labels — small stage tag on the titlebar that fades with each scene */
.scene-label {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 8px 12px;
  background: var(--ink-50);
  border-bottom: 1px solid var(--ink-100);
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; color: var(--ink-600);
  z-index: 5;
}
.scene-label__dots { display: flex; gap: 6px; }
.scene-label__dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-300); }
.scene-label__dots span:nth-child(1) { background: #ef4444; }
.scene-label__dots span:nth-child(2) { background: #eab308; }
.scene-label__dots span:nth-child(3) { background: #22c55e; }
.scene-label__step {
  margin-left: auto;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  background: var(--brand-50); color: var(--brand-700);
  padding: 2px 8px; border-radius: 999px;
}
/* Scene-name + caption fade — pure opacity, no transform. */
#scene-name {
  display: inline-block;
  transition: opacity .25s ease;
}
#scene-name.fade-out { opacity: 0; }
#scene-caption-title, #scene-caption-body {
  transition: opacity .25s ease;
}
.caption-fade { opacity: 0 !important; }
.hero__scenes-inner { position: absolute; top: 36px; left: 0; right: 0; bottom: 0; }

/* SCENE 1: Pipeline kanban with one card pulsing in Discovery */
.s1 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; height: 100%; }
.s1__col { background: var(--ink-50); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; }
.s1__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-600); }
.s1__head .b { font-size: 9px; padding: 1px 6px; background: var(--ink-200); border-radius: 9px; color: var(--ink-700); }
.s1__card { background:var(--bg-card); border-radius: 6px; padding: 8px; margin-bottom: 6px; box-shadow: 0 1px 2px rgba(15,23,42,.06); border: 1px solid var(--ink-100); }
.s1__card.v { background: var(--violet-50); }
.s1__card.b { background: var(--blue-50); }
.s1__card.g { background: var(--brand-50); }
.s1__card.a { background: var(--amber-50); }
.s1__card.pulse { animation: pulseHilite 3s ease-in-out infinite; }
@keyframes pulseHilite {
  0%, 100% { box-shadow: 0 1px 2px rgba(15,23,42,.06), 0 0 0 0 rgba(22,214,69,0); }
  50%      { box-shadow: 0 4px 14px -2px rgba(22,214,69,.35), 0 0 0 3px rgba(22,214,69,.15); }
}
.s1__t { font-size: 11px; font-weight: 700; color: var(--ink-900); margin-bottom: 3px; }
.s1__chips { display: flex; gap: 4px; flex-wrap: wrap; }
.s1__chip { font-size: 9px; padding: 1px 5px; border-radius: 4px; background: var(--brand-50); color: var(--brand-700); font-weight: 600; }
.s1__chip.muted { background: var(--ink-100); color: var(--ink-600); }

/* SCENE 2: Convert to Project — card flying across with arrow + confirmation */
.s2 { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 16px; padding: 20px; }
.s2__flow { display: flex; align-items: center; gap: 18px; width: 100%; max-width: 480px; }
.s2__card { flex: 1; background:var(--bg-card); border: 1px solid var(--ink-200); border-radius: 10px; padding: 14px; box-shadow: var(--shadow-card); }
/* No internal slide animation — would jolt back when the loop restarts.
   The parent .scene fade carries the transition between scenes. */
.s2__card.lead { background: var(--bg-card); }
.s2__card.proj { border-color: var(--brand-200); background: var(--brand-50); }
.s2__arrow { color: var(--brand-700); font-size: 24px; font-weight: 800; animation: arrowPulse 3.2s ease-in-out infinite; }
@keyframes arrowPulse { 0%, 100% { transform: translateX(0); opacity: .55; } 50% { transform: translateX(6px); opacity: 1; } }
.s2__lbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-500); margin-bottom: 6px; }
.s2__t { font-size: 14px; font-weight: 700; color: var(--ink-900); margin-bottom: 4px; }
.s2__chips { display: flex; gap: 6px; }
.s2__chip { font-size: 10px; padding: 2px 8px; border-radius: 4px; background: var(--ink-100); color: var(--ink-700); font-weight: 600; }
.s2__chip.brand { background: var(--brand-100); color: var(--brand-700); }
.s2__toast {
  background: var(--ink-900); color: #fff;
  padding: 8px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 10px 30px -10px rgba(4,30,18,.4);
}
.s2__toast .check { color: var(--brand-500); font-weight: 800; }
/* Dark theme remaps --ink-900 to near-white, so this "dark" toast became a white
   pill with white text (1.05:1). Pin it to the deep forest in both themes. */
:root[data-theme="dark"] .s2__toast { background: rgb(4 46 31); border: 1px solid rgba(255,255,255,.18); }
:root[data-theme="dark"] .s4__sc.b { color: #93c5fd; }

/* SCENE 3: PAR Forecast — IRR climbing, stats, sparkline */
.s3 { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.s3__head { display: flex; justify-content: space-between; align-items: baseline; }
.s3__title { font-size: 14px; font-weight: 800; color: var(--ink-900); }
.s3__chip { font-size: 10px; font-weight: 700; padding: 2px 8px; background: var(--brand-50); color: var(--brand-700); border-radius: 6px; text-transform: uppercase; letter-spacing: .05em; }
.s3__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.s3__stat { background: var(--ink-50); padding: 12px; border-radius: 8px; }
.s3__stat .lbl { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-500); }
.s3__stat .num { font-size: 22px; font-weight: 800; color: var(--ink-900); margin-top: 4px; letter-spacing: -0.015em; line-height: 1; }
.s3__stat .delta { font-size: 10px; color: var(--brand-700); font-weight: 600; margin-top: 4px; }
.s3__chart { height: 110px; background: linear-gradient(180deg, rgba(22,214,69,.18), rgba(22,214,69,0) 100%); border-radius: 8px; position: relative; overflow: hidden; }
.s3__chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.s3__chart path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: drawLine 5s ease-out forwards; animation-delay: 0.5s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* SCENE 4: ESPM Scorecard */
.s4 { padding: 18px 22px; }
.s4__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.s4__title { font-size: 14px; font-weight: 800; color: var(--ink-900); }
.s4__sub { font-size: 11px; color: var(--ink-500); }
.s4__grid { display: grid; gap: 6px; }
.s4__row { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: var(--ink-50); border-radius: 6px; }
.s4__lbl { font-size: 12px; color: var(--ink-700); font-weight: 500; }
.s4__sc { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 5px; text-transform: uppercase; letter-spacing: .04em; }
.s4__sc.a { background: var(--brand-50); color: var(--brand-700); }
.s4__sc.b { background: rgba(59,130,246,.10); color: #1d4ed8; }
.s4__sc.c { background: var(--amber-50); color: var(--amber-700); }

/* SCENE 5: Project in Development — roadmap with active stage */
.s5 { padding: 18px 22px; }
.s5__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.s5__title { font-size: 14px; font-weight: 800; color: var(--ink-900); }
.s5__status { font-size: 10px; font-weight: 700; padding: 3px 10px; background: var(--brand-50); color: var(--brand-700); border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.s5__row { display: grid; grid-template-columns: 100px 1fr; gap: 12px; align-items: center; margin-bottom: 8px; }
.s5__row .n { font-size: 11px; color: var(--ink-700); font-weight: 500; }
.s5__track { position: relative; height: 22px; background: var(--ink-100); border-radius: 5px; }
.s5__bar { position: absolute; top: 3px; bottom: 3px; border-radius: 3px; background: color-mix(in srgb, var(--c) 60%, #000); color: #fff; font-size: 10px; font-weight: 700; padding: 0 8px; display: flex; align-items: center; line-height: 1; }
.s5__bar.is-next { background: color-mix(in srgb, var(--c) 18%, var(--bg-card)); color: var(--ink-900); box-shadow: inset 0 0 0 1px var(--c); }
.s5__bar.active { box-shadow: 0 0 0 2px rgba(22,214,69,.35); animation: barPulse 3.2s ease-in-out infinite; }
@keyframes barPulse { 0%, 100% { box-shadow: 0 0 0 2px rgba(22,214,69,.0); } 50% { box-shadow: 0 0 0 4px rgba(22,214,69,.35); } }
.s5__check { font-size: 11px; color: inherit; font-weight: 600; margin-left: auto; }
.s5__today { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--brand-600); z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .scene { animation: none; opacity: 0; }
  .scene--1 { opacity: 1; }
  .hero__demo *,
  .hero__demo *::before,
  .hero__demo *::after { animation-play-state: paused !important; }
}

.mock-titlebar { display: flex; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--ink-100); background: var(--ink-50); align-items: center; }
.mock-titlebar span.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-300); }
.mock-titlebar span.dot:nth-child(1) { background: #ef4444; }
.mock-titlebar span.dot:nth-child(2) { background: #eab308; }
.mock-titlebar span.dot:nth-child(3) { background: #22c55e; }
.mock-titlebar .tt { font-size: 11px; font-weight: 600; color: var(--ink-500); margin-left: 8px; }

/* Kanban */
.mock-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; background: var(--bg-card); }
.mock-col { background: var(--ink-50); border-radius: 8px; padding: 8px; min-height: 200px; }
.mock-col__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-600); }
.mock-col__badge { font-size: 9px; padding: 1px 6px; background: var(--ink-200); border-radius: 9px; color: var(--ink-700); }
.mock-card { background:var(--bg-card); border-radius: 6px; padding: 8px; margin-bottom: 6px; box-shadow: 0 1px 2px rgba(15,23,42,.06); border: 1px solid var(--ink-100); }
.mock-card.v   { background: var(--violet-50); }
.mock-card.b   { background: var(--blue-50); }
.mock-card.a   { background: var(--amber-50); }
.mock-card.g   { background: var(--brand-50); }
.mock-card__title { font-size: 11px; font-weight: 700; color: var(--ink-900); margin-bottom: 3px; line-height: 1.2; }
.mock-card__chips { display: flex; gap: 4px; flex-wrap: wrap; }
.mock-chip { font-size: 9px; padding: 1px 5px; border-radius: 4px; background: var(--brand-50); color: var(--brand-700); font-weight: 600; }
.mock-chip.muted { background: var(--ink-100); color: var(--ink-600); }

/* Roadmap mini-gantt */
.mock-road { padding: 12px 14px; background:var(--bg-card); }
.mock-road__head { display:flex; align-items:baseline; justify-content:space-between; margin-bottom: 10px; }
.mock-road__title { font-size: 12px; font-weight: 700; color: var(--ink-900); }
.mock-road__sub { font-size: 10px; color: var(--ink-500); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.mock-road__row { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: center; margin-bottom: 6px; }
.mock-road__row .n { font-size: 10px; color: var(--ink-700); font-weight: 500; }
.mock-road__track { position: relative; height: 16px; background: var(--ink-100); border-radius: 4px; }
.mock-road__bar { position: absolute; top: 2px; bottom: 2px; border-radius: 3px; color: #fff; font-size: 9px; font-weight: 700; padding: 0 5px; display: flex; align-items: center; line-height: 1; }

/* PAR forecast mini */
.mock-fore { padding: 12px 14px; background:var(--bg-card); }
.mock-fore__head { display:flex; align-items:baseline; justify-content:space-between; margin-bottom: 10px; }
.mock-fore__title { font-size: 12px; font-weight: 700; color: var(--ink-900); }
.mock-fore__chip { font-size: 9px; font-weight: 700; padding: 2px 8px; background: var(--brand-50); color: var(--brand-700); border-radius: 6px; text-transform: uppercase; letter-spacing: .05em; }
.mock-fore__stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.mock-fore__stat { padding: 8px; background: var(--ink-50); border-radius: 6px; }
.mock-fore__stat .lbl { font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-500); }
.mock-fore__stat .num { font-size: 16px; font-weight: 800; color: var(--ink-900); letter-spacing: -0.015em; margin-top: 2px; line-height: 1; }
.mock-fore__chart { position: relative; height: 56px; background: linear-gradient(180deg, rgba(22,214,69,.18), rgba(22,214,69,0) 100%); border-radius: 6px; overflow: hidden; }
.mock-fore__chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__floating {
  position: absolute;
  background:var(--bg-card); border: 1px solid var(--ink-200); border-radius: 12px;
  padding: 12px 16px; box-shadow: 0 14px 30px -10px rgba(4, 30, 18, 0.45);
  display: flex; align-items: center; gap: 12px;
  z-index: 4;
}
.hero__floating--a { top: -20px; right: -10px; }
.hero__floating--b { bottom: -16px; left: -28px; }
.hero__floating .num { font-size: 20px; font-weight: 800; color: var(--ink-900); letter-spacing: -0.015em; line-height: 1; }
.hero__floating .lbl { font-size: 11px; color: var(--ink-500); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }
.hero__floating .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); display:flex; align-items:center; justify-content:center; font-size: 16px; flex-shrink:0; }
@media (max-width: 980px) { .hero__floating { display: none; } }

/* ─── Logos / social proof ─── */
.logos { padding: 50px 0 30px; }
.logos__title { text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-500); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 28px; }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px; opacity: .65; }
.logos__row span { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-500); }

/* ─── Launch video ─── */
.demo {
  padding: 90px 0;
  background: var(--ink-50);
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
}
.demo__frame {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-elev);
  /* Matches the film's own background, so the frame never flashes white
     before the poster paints. */
  background: #042e1f;
}
.demo__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.demo__fallback { color: #fff; padding: 24px; text-align: center; font-size: 15px; }
.demo__fallback a { color: var(--brand-500); }
@media (max-width: 860px) {
  .demo { padding: 64px 0; }
  .demo__frame { border-radius: var(--r-lg); }
}
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
/* AI connector: copy beside a real screenshot of the in-chat card. */
.ai-connect { padding: 96px 0 24px; }
.ai-connect__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.ai-connect__copy .lead { margin: 12px 0 20px; }
.ai-connect__list { list-style: none; margin: 0 0 28px; padding: 0; }
.ai-connect__list li { position: relative; padding: 0 0 10px 26px; font-size: 15px; line-height: 1.55; color: var(--ink-600); }
.ai-connect__list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-500, #16d645); }
.ai-connect__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ai-connect__note { margin: 16px 0 0; font-size: 13px; color: var(--ink-500); }
.ai-connect__shot { margin: 0; border: 1px solid var(--ink-200); border-radius: var(--r-lg, 16px); overflow: hidden;
  box-shadow: 0 2px 6px rgba(16,24,16,.05), 0 24px 56px -28px rgba(22,214,69,.35); }
.ai-connect__shot img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .ai-connect__inner { grid-template-columns: 1fr; gap: 32px; } .ai-connect { padding-top: 64px; } }
/* Security: six verifiable mechanisms. Hairline-separated rows in two columns
   (no cards, no icons); the bold lead-in becomes the row title. */
.security { padding: 80px 0 24px; }
.security__list {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1040px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px;
}
.security__list li { padding: 20px 0 22px; border-top: 1px solid var(--ink-200); font-size: 15px; line-height: 1.6; color: var(--ink-600); }
.security__list strong { display: block; margin-bottom: 4px; font-size: 16px; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink-900); font-weight: 700; }
@media (max-width: 800px) { .security__list { grid-template-columns: 1fr; } .security { padding-top: 56px; } }
.section__head .lead { margin: 0 auto; }

/* ─── Bento sections (alternating image/text) ─── */
.bento { padding: 50px 0 90px; background: var(--ink-50); border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); }
.bento__row {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center;
  padding: 64px 0;
}
.bento__row + .bento__row { border-top: 1px solid var(--ink-200); }
.bento__row[hidden] { display: none; }
.bento__row.flip { grid-template-columns: 1.1fr 1fr; }
.bento__row.flip .bento__visual { order: -1; }
@media (max-width: 900px) {
  .bento__row, .bento__row.flip { grid-template-columns: 1fr; }
  .bento__row.flip .bento__visual { order: 0; }
}
.bento__copy h2 { font-size: 32px; line-height: 1.1; margin-bottom: 14px; }
.bento__copy ul { margin: 18px 0 0; padding: 0; list-style: none; }
.bento__copy li { padding-left: 28px; position: relative; font-size: 15px; color: var(--ink-700); line-height: 1.55; margin-bottom: 10px; }
.bento__copy li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-50);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3 3 7-7' stroke='%23027a48' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: center;
}
.bento__par-cta { margin-top: 24px; }
.bento__par-cta .btn { margin-bottom: 10px; }
.bento__par-cta p { font-size: 13px; color: var(--ink-500); max-width: 460px; margin: 0; }
.bento__visual {
  background:var(--bg-card);
  border: 1px solid var(--ink-200);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  min-height: 280px;
}
/* Corner tag on the quoting-methodology visual only -- it now sits next to
   a signup CTA, so the sample numbers need a label. Scoped to this one
   instance (bento__visual--par) rather than the shared .bento__visual, so
   the other bento rows are untouched. Extra top padding makes room so the
   tag sits fully inside the card -- .bento__visual gets overflow:hidden
   below 720px, which would clip a tag positioned outside the border. */
/* #514 residual: the tag was scoped to bento__visual--par only, so the OTHER
   money mockups on this public page carried unlabelled IRR / NPV / revenue
   figures. Any visual can now opt in with --sample; --par keeps its own
   selector so its existing larger inset is unchanged. */
.bento__visual--par,
.bento__visual--sample { position: relative; padding-top: 54px; }
.bento__visual--sample .bento__sample-tag,
.bento__visual--par .bento__sample-tag {
  position: absolute; top: 16px; right: 20px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ink-100);
  border: 1px solid var(--ink-200);
  color: var(--ink-600);
  font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
/* Proofs reflow at their content breakpoint instead of shrinking or
   pushing horizontal scroll onto the page. */
@media (max-width: 720px) {
  .bento__visual { padding: 14px; min-height: 0; overflow: hidden; }
  .b-kanban,
  .b-gantt,
  .b-parpage,
  .b-fcsheet { min-width: 0; }
  .b-kanban { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-parpage__tabs { flex-wrap: wrap; }
  .b-parpage__tab.muted { width: 100%; margin-left: 0; }
  .b-parpage__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-parpage__row { grid-template-columns: 1fr; }
  .b-kanban__pill, .b-kanban__sub, .b-kanban__card,
  .b-kanban__title, .b-kanban__chip, .b-kanban__empty { font-size: 11px; }
}
/* .bento__visual's own 720px rule (above) shorthands padding back to 14px
   on every side, including top -- this comes after it in source order so
   the extra top clearance for the sample tag survives on narrow screens
   too, at the same specificity. */
@media (max-width: 720px) {
  .bento__visual--par { padding-top: 46px; }
  .bento__visual--par .bento__sample-tag,
  .bento__visual--sample .bento__sample-tag { top: 12px; right: 12px; }
}

.more-workflows { margin-top: 36px; border-block: 1px solid var(--ink-200); }
.more-workflows summary {
  min-height: 56px; padding: 16px 4px; cursor: pointer;
  color: var(--ink-800); font-weight: 700; letter-spacing: -.01em;
}
.more-workflows summary::marker { color: var(--brand-700); }
.more-workflows summary:focus-visible { outline: 3px solid var(--brand-700); outline-offset: 3px; }
.more-workflows__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding: 8px 4px 32px; }
.more-workflows__grid article { min-width: 0; }
.more-workflows__grid h3 { font-size: 15px; }
.more-workflows__grid p { font-size: 13px; line-height: 1.55; margin: 0; }
@media (max-width: 900px) { .more-workflows__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .more-workflows__grid { grid-template-columns: 1fr; gap: 16px; } }

.pricing__price .amt,
.s3__stat .num,
.b-kanban__count,
.b-kanban__sub,
.b-kanban__chip.is-money,
.b-parpage__kpi .num,
.b-parpage__scen-row .v,
.b-dr__url,
.b-dr__row .meta,
.b-dr__stat .num,
.b-quote__card .num,
.b-quote__card .sub {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

/* Bento sample visuals */
/* Faithful kanban mockup matching /leads. 4 columns with stage pill
   headers, per-card stripe accent + chips + owner avatar, sub-line $/MW. */
.b-kanban {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: var(--ink-50);
  padding: 8px;
  border-radius: 8px;
}
.b-kanban__col {
  background:var(--bg-card);
  border-radius: 6px;
  padding: 8px;
  border-top: 2px solid var(--c, var(--ink-200));
  display: flex; flex-direction: column;
}
.b-kanban__head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 4px; }
.b-kanban__pill {
  display: inline-flex; align-items: center;
  padding: 1px 8px;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  color: color-mix(in srgb, var(--c) 55%, var(--ink-900));
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
  border-radius: 999px;
  font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}
.b-kanban__count { font-size: 10px; font-weight: 600; color: var(--ink-500); }
.b-kanban__sub { font-size: 9px; color: var(--ink-500); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.b-kanban__card {
  background:var(--bg-card);
  border: 1px solid var(--ink-100);
  border-radius: 4px;
  padding: 6px 7px;
  margin-bottom: 4px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  position: relative;
}
.b-kanban__title { font-size: 10px; font-weight: 700; color: var(--ink-900); margin-bottom: 4px; padding-right: 16px; line-height: 1.2; }
.b-kanban__chips { display: flex; flex-wrap: wrap; gap: 3px; margin-bottom: 4px; }
.b-kanban__chip {
  font-size: 8px; font-weight: 600;
  padding: 1px 5px;
  background: var(--ink-100); color: var(--ink-700);
  border-radius: 3px;
  white-space: nowrap;
}
.b-kanban__chip.is-money { background: var(--brand-50); color: var(--brand-700); }
.b-kanban__chip.is-due { background: rgba(217,119,6,.10); color: var(--amber-700); }
.b-kanban__chip.is-overdue { background: var(--rose-50); color: var(--rose-700); }
.b-kanban__owner {
  position: absolute; top: 6px; right: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand-100); color: var(--brand-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 700;
}
.b-kanban__empty { font-size: var(--fs-2xs); color: var(--ink-600); font-style: normal; padding: 16px 4px; text-align: center; }
.b-kanban__convert {
  display: block; width: 100%;
  margin-top: 4px;
  padding: 4px 6px;
  background: var(--gradient-brand);
  color: var(--text-on-brand);
  border: 1px solid #027a48;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
  box-shadow: 0 2px 6px -2px rgba(22,214,69,.45);
  cursor: pointer;
  line-height: 1.2;
}

/* Faithful project Gantt — matches the .dash-gantt CSS we ship to the
   real /project roadmap surface (label column + months header + bars
   with title + progress sub-line). */
.b-gantt { font-size: 11px; border: 1px solid var(--ink-100); border-radius: 6px; overflow: hidden; }
.b-gantt__head { display: grid; grid-template-columns: 96px 1fr; background: var(--ink-50); border-bottom: 1px solid var(--ink-100); }
.b-gantt__head-lbl { padding: 6px 10px; font-size: 9px; font-weight: 700; color: var(--ink-500); text-transform: uppercase; letter-spacing: .06em; }
.b-gantt__head-months { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); border-left: 1px solid var(--ink-100); }
.b-gantt__head-months > div { padding: 6px 4px; font-size: 9px; font-weight: 600; color: var(--ink-500); text-transform: uppercase; letter-spacing: .04em; }
.b-gantt__head-months > div + div { border-left: 1px dashed var(--ink-100); }
.b-gantt__today { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--brand-500); opacity: 0.7; }
.b-gantt__row { display: grid; grid-template-columns: 96px 1fr; align-items: stretch; min-height: 64px; border-bottom: 1px solid var(--ink-100); }
.b-gantt__row:last-child { border-bottom: 0; }
.b-gantt__row-lbl { padding: 12px 10px; font-size: 11px; color: var(--ink-700); font-weight: 500; display: flex; align-items: center; }
.b-gantt__row-track { position: relative; border-left: 1px solid var(--ink-100); padding: 10px 0; min-height: 64px; }
.b-gantt__bar {
  position: absolute; top: 10px; bottom: 10px;
  padding: 5px 8px;
  background: color-mix(in srgb, var(--c) 10%, #fff);
  color: var(--c);
  border: 1px solid color-mix(in srgb, var(--c) 28%, transparent);
  border-radius: 3px;
  font-size: 9px;
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  overflow: hidden;
  /* Single-line text everywhere so narrow bars truncate cleanly instead
     of wrapping the date sub-line into a 3rd row that gets clipped. */
  white-space: nowrap;
}
.b-gantt__bar-title { font-size: 10px; font-weight: 700; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; }
.b-gantt__bar-sub { font-size: 9px; opacity: .75; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; }

.b-funnel { display: flex; flex-direction: column; gap: 14px; }
.b-funnel__top { display:flex; align-items:baseline; gap:12px; font-size:12px; margin-bottom: 6px; }
.b-funnel__top .nm { font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-600); flex:1; }
.b-funnel__top .n  { font-weight:600; color:var(--ink-900); }
.b-funnel__top .v  { color:var(--ink-500); }
.b-funnel__bar { height: 8px; background: var(--ink-100); border-radius: 999px; overflow: hidden; }
.b-funnel__bar > div { height: 100%; border-radius: 999px; }

/* Faithful PAR forecast page mockup — tabs, KPI strip, scenario list,
   cumulative cash-flow line with a dashed comparison overlay. Same
   shape as the real /forecast surface. */
.b-parpage { display: flex; flex-direction: column; gap: 12px; }
.b-parpage__tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--ink-100); padding-bottom: 8px; align-items: center; }
.b-parpage__tab {
  padding: 4px 10px;
  font-size: 11px; font-weight: 600;
  color: var(--ink-500);
  border-radius: 999px;
  border: 1px solid transparent;
}
.b-parpage__tab.is-active { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-200); }
.b-parpage__tab.muted { margin-left: auto; color: var(--ink-600); font-size: 10px; font-weight: 500; }
.b-parpage__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.b-parpage__kpi { padding: 10px; background: var(--ink-50); border-radius: 8px; }
.b-parpage__kpi .lbl { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-500); }
.b-parpage__kpi .num { font-size: 22px; font-weight: 800; color: var(--ink-900); margin-top: 4px; letter-spacing: -0.015em; line-height: 1; font-variant-numeric: tabular-nums; }
.b-parpage__kpi .delta { font-size: 10px; font-weight: 600; margin-top: 4px; }
.b-parpage__kpi .delta.up { color: var(--brand-700); }
.b-parpage__kpi .delta.muted { color: var(--ink-500); }
.b-parpage__row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; }
.b-parpage__scen { background: var(--ink-50); border-radius: 8px; padding: 10px; }
.b-parpage__scen-title { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-500); margin-bottom: 8px; }
.b-parpage__scen-row {
  display: grid; grid-template-columns: 10px 1fr auto; gap: 6px;
  align-items: center;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--ink-700);
  margin-bottom: 2px;
}
.b-kanban__convert:disabled,
.b-parpage__seek:disabled { cursor: default; opacity: .58; }
.b-parpage__scen-row.is-active { background:var(--bg-card); box-shadow: 0 1px 2px rgba(15,23,42,.05); }
.b-parpage__scen-row .dot { width: 8px; height: 8px; border-radius: 50%; }
.b-parpage__scen-row .nm { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-parpage__scen-row .v { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink-900); font-size: 10px; }
.b-parpage__seek {
  width: 100%; margin-top: 6px;
  padding: 5px 8px;
  background:var(--bg-card);
  border: 1px solid var(--ink-200);
  border-radius: 4px;
  font-size: 10px; font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
}
.b-parpage__chart { background:var(--bg-card); border: 1px solid var(--ink-100); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.b-parpage__chart-head { display: flex; align-items: baseline; justify-content: space-between; }
.b-parpage__chart-lbl { font-size: 10px; font-weight: 600; color: var(--ink-500); text-transform: uppercase; letter-spacing: .05em; }
.b-parpage__chart-pill { font-size: 9px; font-weight: 700; padding: 2px 8px; background: var(--brand-50); color: var(--brand-700); border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.b-parpage__chart svg { width: 100%; height: 110px; display: block; }

.b-par { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.b-par__stat { background: var(--ink-50); border-radius: 10px; padding: 14px; }
.b-par__stat .lbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-500); }
.b-par__stat .num { font-size: 22px; font-weight: 800; color: var(--ink-900); margin-top: 4px; letter-spacing: -0.015em; }
.b-par__stat .delta { font-size: 11px; color: var(--brand-700); font-weight: 600; margin-top: 2px; }
.b-par__chart { grid-column: 1 / -1; height: 96px; background:
  linear-gradient(180deg, rgba(22,214,69,.18), rgba(22,214,69,0) 100%);
  border-radius: 10px; position: relative; overflow: hidden;
}
.b-par__chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.b-roadmap { display: flex; flex-direction: column; gap: 8px; }
.b-roadmap__row { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; }
.b-roadmap__row .n { font-size: 12px; color: var(--ink-700); font-weight: 500; }
.b-roadmap__track { position: relative; height: 28px; background: var(--ink-100); border-radius: 6px; }
.b-roadmap__bar { position: absolute; top: 4px; bottom: 4px; border-radius: 4px; color:#fff; font-size:10px; font-weight:600; padding: 0 8px; display:flex; align-items:center; line-height:1; }

.b-cspm { display: flex; flex-direction: column; gap: 6px; }
.b-cspm__group { font-size: 10px; font-weight: 700; color: var(--ink-500); text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; padding: 0 4px; }
.b-cspm__group:first-child { margin-top: 0; }
.b-cspm__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; background: var(--ink-50); border-radius: 6px; }
.b-cspm__lbl { font-size: 12px; color: var(--ink-700); font-weight: 500; }
.b-cspm__score { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 10px; border-radius: 4px; }
.b-cspm__score--a { background: var(--brand-50); color: var(--brand-700); }
.b-cspm__score--b { background: rgba(59,130,246,.10); color: #1d4ed8; }
.b-cspm__score--c { background: var(--amber-50); color: var(--amber-700); }
.b-cspm__score--d { background: var(--rose-50); color: var(--rose-700); }
/* Stage badges (1/2/3) - "Stage X" label */
.b-cspm__score::before { content: 'Stage '; opacity: 0.7; font-weight: 600; }

/* Editable forecast spreadsheet mock */
.b-fcsheet { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; line-height: 1; border: 1px solid var(--ink-200); border-radius: 6px; overflow: hidden; }
.b-fcsheet__row { display: grid; grid-template-columns: 120px repeat(6, 1fr); border-bottom: 1px solid var(--ink-100); }
.b-fcsheet__row:last-child { border-bottom: 0; }
.b-fcsheet__row.head { background: var(--ink-50); font-weight: 700; color: var(--ink-500); text-transform: uppercase; letter-spacing: .04em; font-size: 9px; }
.b-fcsheet__row.head .b-fcsheet__cell { padding: 8px 6px; }
.b-fcsheet__row.group { background: var(--ink-100); }
.b-fcsheet__row.group .b-fcsheet__cell { padding: 5px 8px; font-weight: 700; color: var(--ink-700); text-transform: uppercase; letter-spacing: .04em; font-size: 9px; }
.b-fcsheet__cell { padding: 7px 6px; text-align: right; color: var(--ink-800); border-right: 1px solid var(--ink-100); }
.b-fcsheet__cell:first-child { text-align: left; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; color: var(--ink-700); font-size: 11px; }
.b-fcsheet__cell.edit { background: var(--brand-50); color: var(--brand-800); font-weight: 600; }
.b-fcsheet__cell.edit-focus { background: var(--brand-100); outline: 2px solid var(--brand-500); outline-offset: -2px; }
.b-fcsheet__cell.muted { color: var(--ink-600); }
.b-fcsheet__legend { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--brand-50); font-size: 11px; color: var(--brand-800); font-family: 'Plus Jakarta Sans', sans-serif; border-bottom: 1px solid var(--brand-200); }
.b-fcsheet__legend .swatch { width: 12px; height: 12px; border-radius: 2px; background: var(--brand-100); border: 1px solid var(--brand-300); }

/* Data room mock */
.b-dr { display: flex; flex-direction: column; gap: 10px; }
.b-dr__head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--ink-100); }
.b-dr__lock { width: 32px; height: 32px; border-radius: 8px; background: var(--brand-50); color: var(--brand-700); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.b-dr__title { font-size: 13px; font-weight: 700; color: var(--ink-900); line-height: 1.2; }
.b-dr__url { font-size: 10px; color: var(--ink-500); font-family: 'Geist Mono', ui-monospace, monospace; margin-top: 2px; }
.b-dr__chip { margin-left: auto; font-size: 10px; font-weight: 700; padding: 3px 8px; background: var(--brand-100); color: var(--brand-700); border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.b-dr__rows { display: flex; flex-direction: column; gap: 4px; }
.b-dr__row { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; background: var(--ink-50); border-radius: 6px; font-size: 12px; }
.b-dr__row .ic { color: var(--ink-500); display: flex; }
.b-dr__row .nm { color: var(--ink-800); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-dr__row .meta { font-size: 10px; color: var(--ink-500); font-family: 'Geist Mono', ui-monospace, monospace; }
.b-dr__stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding-top: 10px; border-top: 1px solid var(--ink-100); }
.b-dr__stat { text-align: center; }
.b-dr__stat .num { font-size: 16px; font-weight: 800; color: var(--ink-900); letter-spacing: -0.015em; }
.b-dr__stat .lbl { font-size: 9px; font-weight: 700; color: var(--ink-500); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }

.b-quote { display: flex; flex-direction: column; gap: 10px; }
.b-quote__head { display:flex; align-items:center; justify-content:space-between; padding-bottom: 10px; border-bottom: 1px solid var(--ink-100); margin-bottom: 4px; }
.b-quote__title { font-size:13px; font-weight: 700; color: var(--ink-900); }
.b-quote__chip { font-size: 10px; font-weight: 700; padding: 2px 8px; background: var(--brand-50); color: var(--brand-700); border-radius: 6px; }
.b-quote__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.b-quote__card { padding: 10px; border-radius: 8px; border: 1px solid var(--ink-200); background:var(--bg-card); }
.b-quote__card.active { border-color: var(--brand-400); background: var(--brand-50); box-shadow: 0 4px 12px -4px rgba(22, 214, 69, .25); }
.b-quote__card .nm { font-size: 11px; font-weight: 700; color: var(--ink-700); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.b-quote__card .num { font-size: 18px; font-weight: 800; color: var(--ink-900); letter-spacing: -0.015em; }
.b-quote__card .sub { font-size: 11px; color: var(--ink-500); margin-top: 2px; }

/* ─── Pricing ─── */
.pricing { padding: 100px 0; background:var(--bg-card); }
.pricing__card {
  max-width: 580px; margin: 0 auto;
  background: linear-gradient(180deg, #fff 0%, #f8fbf7 100%);
  border: 1px solid var(--brand-200);
  border-radius: var(--r-xl);
  padding: 48px 44px;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(22,214,69,.18), 0 8px 24px -8px rgba(15,23,42,.06);
}
:root[data-theme="dark"] .pricing__card { background: linear-gradient(180deg, #142019 0%, #101a15 100%); }
.pricing__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-brand);
  color: var(--text-on-brand); text-shadow: 0 1px 0 rgba(255,255,255,.2);
  padding: 6px 18px; border-radius: 999px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  box-shadow: 0 8px 18px -6px rgba(22,214,69,.45);
}
.pricing__name { text-align: center; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--brand-700); margin-bottom: 12px; }
.pricing__price { text-align: center; margin-bottom: 8px; }
.pricing__price .amt { font-size: 64px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink-900); line-height: 1; }
.pricing__price .per { font-size: 16px; font-weight: 500; color: var(--ink-500); margin-left: 4px; }
.pricing__trial { text-align: center; font-size: 15px; color: var(--ink-600); margin-bottom: 28px; }
.pricing__trial strong { color: var(--brand-700); }
.pricing__features { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.pricing__features li { padding-left: 30px; position: relative; font-size: 14.5px; color: var(--ink-700); line-height: 1.5; }
.pricing__features li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-100);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3 3 7-7' stroke='%23027a48' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: center;
}
.pricing__cta { display: flex; justify-content: center; }
.pricing__note { text-align: center; font-size: 12px; color: var(--ink-500); margin-top: 18px; }

/* ─── Testimonials ─── */
.testimonials { padding: 100px 0; background: var(--ink-50); border-top: 1px solid var(--ink-100); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote { background:var(--bg-card); border: 1px solid var(--ink-100); border-radius: var(--r-md); padding: 28px; box-shadow: var(--shadow-card); }
.quote__mark { font-size: 40px; line-height: 1; color: var(--brand-500); font-weight: 800; margin-bottom: 8px; }
.quote__text { font-size: 15.5px; line-height: 1.6; color: var(--ink-800); margin-bottom: 18px; }
.quote__who { display: flex; align-items: center; gap: 12px; }
.quote__av { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.quote__name { font-size: 14px; font-weight: 700; color: var(--ink-900); }
.quote__role { font-size: 12px; color: var(--ink-500); }

/* ─── Final CTA ─── */
.final {
  position: relative; overflow: hidden;
  padding: 110px 0;
  background: var(--gradient-hero);
  color: #fff; text-align: center;
}
.final::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(22,214,69,.20), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(16,185,129,.15), transparent 60%);
  pointer-events: none;
}
.final > * { position: relative; }
.final h2 { color: #fff; max-width: 720px; margin: 0 auto 18px; font-size: clamp(32px, 4vw, 48px); }
.final p { color: rgba(255,255,255,.78); max-width: 540px; margin: 0 auto 36px; font-size: 17px; }
.final__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── Footer ─── */
.footer { padding: 48px 0 36px; background:var(--bg-card); border-top: 1px solid var(--ink-100); }
.footer__row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer__brand { display: inline-flex; align-items: center; }
.footer__brand img { height: 24px; width: auto; display: block; }
.footer__brand .brand-fallback { font-size:18px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--ink-500); }
.footer__links a:hover { color: var(--ink-900); }
.footer__copy { font-size: 12px; color: var(--ink-600); margin-top: 12px; }

/* Static marketing demo values formerly embedded in marketing.tsx markup. */
.s5__bar--negotiation { left: 0%; width: 18%; --c: #d97706; }
.s5__bar--feasibility { left: 18%; width: 18%; --c: #3b82f6; }
.s5__bar--design { left: 36%; width: 22%; --c: #8b5cf6; }
.s5__bar--permitting { left: 58%; width: 18%; --c: #06b6d4; }
.s5__bar--construction { left: 76%; width: 18%; --c: #16d645; }
.b-kanban__col--new { --c: #71717a; }
.b-kanban__col--contacted { --c: #3b82f6; }
.b-kanban__col--discovery { --c: #8b5cf6; }
.b-kanban__col--ready { --c: #16d645; }
.b-gantt__today--preview { left: 46%; }
.b-parpage__dot--base { background: #16d645; }
.b-parpage__dot--incentives { background: #3b82f6; }
.b-parpage__dot--stressed { background: #8b5cf6; }
.b-fcsheet__cell--all-columns { grid-column: 1 / -1; }
.b-quote__footnote { font-size: var(--fs-2xs); color: var(--ink-500); margin-top: 8px; }
.b-dr__head-copy { flex: 1; min-width: 0; }
.b-dir { display: flex; flex-direction: column; gap: 6px; }
.b-dir__item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; }
.b-dir__item--featured { background: var(--brand-50); border: 1px solid var(--brand-200); }
.b-dir__avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--ink-200); color: var(--ink-700); display: flex; align-items: center; justify-content: center; font-size: var(--fs-2xs); font-weight: 700; }
.b-dir__avatar--org { border-radius: 6px; background: var(--brand-50); color: var(--brand-700); }
.b-dir__body { flex: 1; }
.b-dir__name { font-size: var(--fs-md); font-weight: 600; color: var(--ink-900); }
.b-dir__meta { font-size: var(--fs-2xs); color: var(--ink-500); }
.final__cta-sales { color: #fff; border-color: rgba(255,255,255,.3); }
.final__cta-sales:hover { color: #fff; border-color: rgba(255,255,255,.3); }
