/* ══════════════════════════════════════════════════════════════════════════
   RECONNAISSANCE AI — MARKETING SITE
   Clean bold sans aesthetic. Alternating dark/light sections.
   Bright purple accent (#7c5cff) on white and near-black.
   High-fidelity product mockups.
   ═════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Geist+Mono:wght@400;500;600&display=swap');

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
html { overflow-x: clip; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }
::selection { background: var(--accent); color: #fff; }

/* ── Design tokens ─────────────────────────────────────────────────────── */
:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', 'SF Mono', Menlo, Consolas, monospace;

  /* Light palette */
  --paper:         #ffffff;
  --paper-2:       #fafaf9;
  --paper-3:       #f5f4f1;
  --ink:           #0b0a12;
  --ink-2:         #2a2836;
  --ink-3:         #525060;
  --ink-4:         #7c7a88;
  --ink-5:         #b0aeba;
  --rule:          #e8e6e1;
  --rule-strong:   #d5d2ca;
  --rule-soft:     rgba(11,10,18,0.06);

  /* Dark palette */
  --night:         #0a0814;
  --night-2:       #120d22;
  --night-3:       #1a1430;
  --night-card:    #16112a;
  --night-elev:    #1d1735;
  --night-rule:    rgba(255,255,255,0.08);
  --night-rule-2:  rgba(255,255,255,0.12);
  --night-ink:     #f4f2fb;
  --night-ink-2:   rgba(244,242,251,0.72);
  --night-ink-3:   rgba(244,242,251,0.5);
  --night-ink-4:   rgba(244,242,251,0.35);

  /* Accents */
  --accent:        #7c5cff;          /* brand purple — bright */
  --accent-2:      #9d83ff;          /* hover / glow */
  --accent-3:      #5b3ddc;          /* dark mode emphasis */
  --accent-soft:   rgba(124,92,255,0.12);
  --accent-softer: rgba(124,92,255,0.06);
  --accent-ring:   rgba(124,92,255,0.28);

  --green:         #22d3a0;
  --green-soft:    rgba(34,211,160,0.14);
  --amber:         #f59e0b;
  --amber-soft:    rgba(245,158,11,0.16);
  --blue:          #60a5fa;
  --blue-soft:     rgba(96,165,250,0.16);
  --red:           #ef4444;
  --red-soft:      rgba(239,68,68,0.14);

  /* Layout */
  --nav-height: 68px;
  --page-pad: clamp(20px, 4vw, 56px);
  --section-pad: clamp(72px, 9vw, 128px);
  --section-pad-sm: clamp(48px, 6vw, 80px);
  --max-w: 1280px;
  --max-prose: 680px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(11,10,18,0.05);
  --shadow-md: 0 6px 20px rgba(11,10,18,0.07), 0 2px 4px rgba(11,10,18,0.04);
  --shadow-lg: 0 22px 48px rgba(11,10,18,0.10), 0 6px 14px rgba(11,10,18,0.05);
  --shadow-glow: 0 0 0 1px var(--accent-ring), 0 20px 48px rgba(124,92,255,0.25);
}

/* ══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY PRIMITIVES
   ═════════════════════════════════════════════════════════════════════ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.on-dark .eyebrow { color: var(--accent-2); }

.display {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
}
.display-xl {
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.display-lg {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.display-md {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.display em {
  font-style: normal;
  color: var(--accent);
}
.on-dark .display,
.on-dark .display em { color: var(--night-ink); }
.on-dark .display em { color: var(--accent-2); }

.lead {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 58ch;
  font-weight: 400;
}
.on-dark .lead { color: var(--night-ink-2); }

.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.on-dark .mono-label { color: var(--night-ink-3); }

/* ══════════════════════════════════════════════════════════════════════════
   LAYOUT PRIMITIVES
   ═════════════════════════════════════════════════════════════════════ */
.frame {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}
.section {
  padding: var(--section-pad) 0;
  position: relative;
  isolation: isolate;
}
.section-sm { padding: var(--section-pad-sm) 0; }
.section-bg-light { background: var(--paper); }
.section-bg-muted { background: var(--paper-2); }
.section-bg-sand  { background: var(--paper-3); }

/* Accent / divider — subtle purple band used to separate major chapters
   (e.g. Sales → Marketing on the features page). */
.section-bg-accent {
  background:
    radial-gradient(ellipse 50% 80% at 50% 50%, rgba(124,92,255,0.10), rgba(124,92,255,0.04) 70%, transparent 100%),
    linear-gradient(180deg, #f7f3ff 0%, #f0eafe 100%);
  position: relative;
  isolation: isolate;
}
.section-bg-accent::before,
.section-bg-accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(124,92,255,0.28) 50%, transparent 100%);
  pointer-events: none;
}
.section-bg-accent::before { top: 0; }
.section-bg-accent::after  { bottom: 0; }

/* Dark section — night background with a subtle dot-grid + top radial glow */
.section-bg-dark {
  background: var(--night);
  color: var(--night-ink);
  overflow: hidden;
}
.section-bg-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(124,92,255,0.22), transparent 70%),
    radial-gradient(circle at 85% 100%, rgba(124,92,255,0.08), transparent 50%);
  pointer-events: none;
  z-index: -1;
}
.section-bg-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7) 30%, rgba(0,0,0,0.7) 70%, transparent);
}
.section-bg-dark.on-dark { /* marker class for typography nesting */ }

/* ══════════════════════════════════════════════════════════════════════════
   NAV — adaptive: transparent at top, gains backdrop on scroll.
   Light pages use light text; pages with a dark hero add .nav-on-dark.
   ═════════════════════════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: transparent;
  transition: background 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
/* Scrolled state — light theme (default) */
.nav.is-scrolled {
  background: rgba(255,255,255,0.75);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 rgba(11,10,18,0.04);
}
/* Pages with a dark hero */
.nav-on-dark .nav-brand,
.nav-on-dark .nav-link,
.nav-on-dark .nav-dropdown-trigger {
  color: rgba(244,242,251,0.78);
}
.nav-on-dark .nav-brand { color: var(--night-ink); }
.nav-on-dark .nav-link:hover,
.nav-on-dark .nav-link[aria-current="page"],
.nav-on-dark .nav-dropdown-trigger:hover {
  color: var(--night-ink);
  background: rgba(255,255,255,0.06);
}
.nav-on-dark .nav-brand-mark {
  background: url("https://behrjfrstnvtsifqmhdq.supabase.co/storage/v1/object/public/image/logo2.png") center / contain no-repeat;
}
.nav-on-dark .btn-link { color: rgba(244,242,251,0.72); }
.nav-on-dark .btn-link:hover { color: var(--night-ink); }
.nav-on-dark .nav-mobile-toggle { color: var(--night-ink); }
.nav-on-dark .nav-mobile-toggle:hover { background: rgba(255,255,255,0.08); }

/* Scrolled state — dark theme (pages with dark hero) */
.nav-on-dark.is-scrolled {
  background: rgba(10,8,20,0.55);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: none;
}
.nav-inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--page-pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: url("https://behrjfrstnvtsifqmhdq.supabase.co/storage/v1/object/public/image/logo2.png") center / contain no-repeat;
  font-size: 0;
  color: transparent;
  flex-shrink: 0;
}
.nav-brand-mark .dot { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 150ms var(--ease-out), background 150ms var(--ease-out);
}
.nav-link:hover { color: var(--ink); background: var(--rule-soft); }
.nav-link[aria-current="page"] { color: var(--ink); background: var(--rule-soft); }

.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 150ms var(--ease-out), background 150ms var(--ease-out);
}
.nav-dropdown-trigger svg { width: 10px; height: 10px; transition: transform 200ms var(--ease-out); }
.nav-dropdown-trigger:hover,
.nav-dropdown:hover .nav-dropdown-trigger { color: var(--ink); background: var(--rule-soft); }
.nav-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -8px;
  margin-top: 6px;
  min-width: 320px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 180ms var(--ease-out);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-item {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  transition: background 150ms var(--ease-out);
}
.nav-dropdown-item:hover { background: var(--paper-3); }
.nav-dropdown-item-title { font-weight: 600; font-size: 14px; color: var(--ink); }
.nav-dropdown-item-desc { font-size: 12.5px; color: var(--ink-4); margin-top: 2px; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  letter-spacing: -0.005em;
  transition: background 150ms var(--ease-out), color 150ms var(--ease-out), transform 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(124,92,255,0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
}
.btn-ghost:hover {
  background: var(--paper-3);
  border-color: var(--ink-3);
}
.on-dark .btn-ghost,
.cta-card .btn-ghost,
.nav-on-dark .btn-ghost {
  color: var(--night-ink);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.02);
}
.on-dark .btn-ghost:hover,
.cta-card .btn-ghost:hover,
.nav-on-dark .btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
  color: var(--night-ink);
}
.btn-link {
  background: transparent;
  color: var(--ink-3);
  padding: 8px 10px;
}
.btn-link:hover { color: var(--ink); }
.btn-lg { padding: 13px 22px; font-size: 15px; border-radius: 11px; }
.btn-xl { padding: 16px 28px; font-size: 16px; border-radius: 12px; }

.btn-arrow::after {
  content: "→";
  display: inline-block;
  margin-left: 2px;
  transition: transform 180ms var(--ease-out);
}
.btn-arrow:hover::after { transform: translateX(3px); }

.nav-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-mobile-toggle:hover { background: var(--rule-soft); }
.nav-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 12px var(--page-pad) 20px;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow-md);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  padding: 12px 10px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav-mobile-menu a:hover { background: var(--paper-3); color: var(--ink); }
.nav-mobile-menu .nav-mobile-section {
  margin-top: 14px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.nav-mobile-menu-cta {
  margin-top: 12px;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO (dark)
   ═════════════════════════════════════════════════════════════════════ */
.hero {
  /* Extend up behind the nav so the dark bg reaches the very top of the
     viewport and the sticky nav floats over it. */
  margin-top: calc(var(--nav-height) * -1);
  padding: calc(var(--section-pad) + var(--nav-height)) 0 var(--section-pad-sm);
  min-height: calc(88vh + var(--nav-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
/* First frame (hero-inner) grows so logo-strip gets pushed to the bottom.
   No display override here — lets hero-inner stay as a grid. */
.hero > .frame:first-of-type { flex: 1; display: grid; align-content: center; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  width: 100%;
}
.hero-copy { max-width: 640px; }
.hero-eyebrow { margin-bottom: 28px; }
.hero-headline {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: var(--night-ink);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent-2);
  position: relative;
  display: inline-block;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.65;
  color: var(--night-ink-2);
  margin-bottom: 36px;
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero-trust {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--night-ink-3);
}
.hero-trust .sep { color: var(--night-ink-4); }
.hero-trust strong { color: var(--night-ink); font-weight: 500; }
.hero-visual {
  position: relative;
  perspective: 1400px;
}

/* ══════════════════════════════════════════════════════════════════════════
   LOGO STRIP (placeholder — honest, no fabricated logos)
   ═════════════════════════════════════════════════════════════════════ */
.logo-strip {
  padding: 40px 0 56px;
  border-top: 1px solid var(--night-rule);
}
.logo-strip-label {
  text-align: center;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--night-ink-3);
}
.logo-strip-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: center;
  justify-items: center;
}
.logo-strip-item {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  width: 100%;
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--night-rule);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--night-ink-3);
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTION HEADERS
   ═════════════════════════════════════════════════════════════════════ */
.section-head {
  max-width: 720px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head-center { margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; }
.section-head-center .eyebrow { display: inline-flex; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head .display-lg { margin-bottom: 16px; }

/* ══════════════════════════════════════════════════════════════════════════
   METRICS STRIP
   ═════════════════════════════════════════════════════════════════════ */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
}
.on-dark .metrics { background: var(--night-rule); border-color: var(--night-rule); }
.metric {
  padding: 32px 28px;
  background: var(--paper);
}
.on-dark .metric { background: var(--night-2); }
.metric-value {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 10px;
}
.on-dark .metric-value { color: var(--night-ink); }
.metric-value em {
  font-style: normal;
  color: var(--accent);
  font-size: 0.6em;
  vertical-align: 0.1em;
  margin-left: 2px;
}
.on-dark .metric-value em { color: var(--accent-2); }
.metric-label {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-3);
}
.on-dark .metric-label { color: var(--night-ink-2); }

/* ══════════════════════════════════════════════════════════════════════════
   MX — metrics grid v2 (featured cell + source attribution)
   ═════════════════════════════════════════════════════════════════════ */
.mx-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.mx-cell {
  padding: 32px 28px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.mx-featured {
  background: linear-gradient(135deg, #4B2BA6 0%, #7c5cff 100%);
  color: #fff;
  border-color: transparent;
}
.mx-num {
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  height: 56px;
  color: var(--ink);
}
.mx-featured .mx-num { color: #fff; font-size: 56px; }
.mx-num em {
  font-style: normal;
  font-size: 24px;
  color: var(--accent);
  font-weight: 500;
}
.mx-featured .mx-num em { color: rgba(255,255,255,0.85); }
.mx-label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.mx-featured .mx-label { color: rgba(255,255,255,0.86); }
.mx-source-row {
  margin-top: auto;
}
.mx-source {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}
.mx-featured .mx-source {
  color: rgba(255,255,255,0.7);
  border-top-color: rgba(255,255,255,0.22);
}
@media (max-width: 980px) {
  .mx-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .mx-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════════════
   HW — how-it-works cards with mini-mockup per step
   ═════════════════════════════════════════════════════════════════════ */
.hw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 980px) {
  .hw-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .hw-grid { grid-template-columns: 1fr; }
}
.hw-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.hw-card:hover {
  transform: translateY(-2px);
  border-color: var(--rule-strong);
}
.hw-mockup {
  height: 130px;
  background: linear-gradient(135deg, #faf8ff 0%, #f0e9ff 100%);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}
.hw-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hw-stepnum {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 10px;
}
.hw-title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hw-copy {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
}

/* mini-mockup contents */
.hw-signals {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 180px;
}
.hw-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ink-2);
  width: fit-content;
}
.hw-pill::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.hw-green { color: #0d9474; }
.hw-green::before { background: #0d9474; }
.hw-amber { color: #b45309; }
.hw-amber::before { background: #b45309; }
.hw-blue { color: #1e40af; }
.hw-blue::before { background: #1e40af; }

.hw-brief {
  width: 100%;
  max-width: 180px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hw-brief-title {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.hw-bar {
  height: 4px;
  background: var(--rule);
  border-radius: 2px;
  overflow: hidden;
}
.hw-bar > span {
  display: block;
  height: 100%;
  background: var(--accent);
}
.hw-brief-meta {
  font-size: 9px;
  color: var(--ink-4);
  font-family: var(--font-mono);
  margin-top: 3px;
  letter-spacing: 0.06em;
}

.hw-email {
  width: 100%;
  max-width: 180px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 10px;
  font-size: 10px;
  color: var(--ink-3);
  line-height: 1.5;
  text-align: left;
}
.hw-email-subject {
  font-weight: 500;
  color: var(--ink);
  font-size: 10.5px;
  margin-bottom: 6px;
}

.hw-funnel {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
  max-width: 180px;
  justify-content: center;
}
.hw-funnel-stage {
  flex: 1;
  text-align: center;
}
.hw-funnel-bar {
  border-radius: 4px;
  margin-bottom: 6px;
  background: var(--accent);
}
.hw-fb-1 { height: 36px; }
.hw-fb-2 { height: 28px; opacity: 0.75; }
.hw-fb-3 { height: 20px; background: #22d3a0; }
.hw-funnel-num {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink);
}
.hw-funnel-label {
  font-size: 9px;
  color: var(--ink-4);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════════════════
   PILLAR ROW — copy on one side, mockup on the other
   ═════════════════════════════════════════════════════════════════════ */
.pillar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.pillar-reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.pillar-reverse .pillar-copy { order: 2; }
.pillar-reverse .pillar-visual { order: 1; }

.pillar-copy { max-width: 560px; }
.pillar-eyebrow { margin-bottom: 22px; }
.pillar-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 20px;
}
.on-dark .pillar-title { color: var(--night-ink); }
.pillar-title em { font-style: normal; color: var(--accent); }
.on-dark .pillar-title em { color: var(--accent-2); }

.pillar-body {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-3);
  margin-bottom: 28px;
  max-width: 52ch;
}
.on-dark .pillar-body { color: var(--night-ink-2); }

.pillar-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pillar-check {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}
.on-dark .pillar-check { color: var(--night-ink-2); }
.pillar-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-top: 1px;
  flex-shrink: 0;
}
.on-dark .pillar-check-icon { background: rgba(124,92,255,0.18); color: var(--accent-2); }
.pillar-check-icon svg { width: 11px; height: 11px; }

.pillar-visual {
  position: relative;
  perspective: 1200px;
}

/* ══════════════════════════════════════════════════════════════════════════
   MOCKUP CHROME — shared card shell used by every mockup
   ═════════════════════════════════════════════════════════════════════ */
.mk {
  position: relative;
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  transition: transform 500ms var(--ease-out);
}
.mk-light {
  background: var(--paper);
  border: 1px solid var(--rule);
}
.mk-dark {
  background: linear-gradient(180deg, var(--night-card) 0%, var(--night-2) 100%);
  border: 1px solid var(--night-rule-2);
  color: var(--night-ink);
  box-shadow: 0 30px 60px rgba(0,0,0,0.55), 0 0 0 1px var(--night-rule);
}
.mk-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(circle at 20% 0%, rgba(124,92,255,0.14), transparent 50%);
  pointer-events: none;
}
.mk-lift { transform: translateY(0) rotate(0); }
.pillar-visual:hover .mk-lift { transform: translateY(-4px); }

/* Header row (avatar, title, subtitle, live pill) */
.mk-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.mk-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.mk-avatar.indigo { background: linear-gradient(135deg, #6c47ff, #9d83ff); }
.mk-head-text { flex: 1; min-width: 0; }
.mk-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: inherit;
}
.mk-sub {
  font-size: 13px;
  color: var(--ink-4);
  margin-top: 1px;
}
.mk-dark .mk-sub { color: var(--night-ink-3); }

.mk-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.mk-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34,211,160,0.18);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}
.mk-timer {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--night-ink-3);
  letter-spacing: 0.03em;
}

.mk-divider {
  height: 1px;
  background: var(--rule);
  margin: 20px -28px;
}
.mk-dark .mk-divider { background: var(--night-rule); }

.mk-section-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 14px;
}
.mk-dark .mk-section-label { color: var(--night-ink-3); }

/* Chip pills (colored) */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
}
.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.9;
}
.chip-green { color: var(--green); background: var(--green-soft); }
.chip-amber { color: var(--amber); background: var(--amber-soft); }
.chip-purple { color: var(--accent); background: var(--accent-soft); }
.chip-blue  { color: var(--blue);  background: var(--blue-soft); }
.chip-red   { color: var(--red);   background: var(--red-soft); }
.mk-dark .chip-purple { color: var(--accent-2); background: rgba(124,92,255,0.18); }

.chip-plain {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--paper-3);
  color: var(--ink-2);
}
.mk-dark .chip-plain {
  background: rgba(255,255,255,0.06);
  color: var(--night-ink-2);
  border: 1px solid var(--night-rule);
}

/* ══════════════════════════════════════════════════════════════════════════
   MOCKUP — SIGNAL FEED (pillar ① AI Research & Signals, dark)
   ═════════════════════════════════════════════════════════════════════ */
.mk-signal-feed {
  padding: 22px 24px;
}
.mk-signal-feed .mk-feed-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.mk-signal-main {
  padding: 22px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--night-rule-2);
  border-radius: 14px;
  margin-bottom: 12px;
}
.mk-signal-main .mk-head { margin-bottom: 18px; }
.mk-signal-main .mk-title { font-size: 16px; }

.mk-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.mk-brief-label { margin-bottom: 10px; }
.mk-brief-bars { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.mk-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.mk-bar > span {
  display: block;
  height: 100%;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}
.mk-bar.filled > span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  width: 72%;
}
.mk-stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--night-rule);
}

.mk-side-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mk-side-card {
  padding: 14px 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--night-rule);
  border-radius: 12px;
}
.mk-side-card-name { font-size: 13.5px; font-weight: 600; color: var(--night-ink); margin-bottom: 6px; }
.mk-side-card-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--night-ink-2); }
.mk-side-card-meta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.mk-side-card-meta.amber::before { background: var(--amber); }
.mk-side-card-meta.blue::before  { background: var(--blue);  }

/* ══════════════════════════════════════════════════════════════════════════
   MOCKUP — SEQUENCE TIMELINE (pillar ② Multichannel Sequences, light)
   ═════════════════════════════════════════════════════════════════════ */
.mk-sequence .mk-seq-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.mk-seq-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
}

.mk-timeline {
  position: relative;
  padding-left: 8px;
}
.mk-timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 12px;
  bottom: 12px;
  width: 1.5px;
  background: var(--rule-strong);
  border-radius: 1px;
}
.mk-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  padding-bottom: 18px;
}
.mk-timeline-item:last-child { padding-bottom: 0; }
.mk-timeline-dot {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  display: grid;
  place-items: center;
  z-index: 1;
  margin-top: 2px;
}
.mk-timeline-dot svg { width: 11px; height: 11px; }
.mk-timeline-dot.done { background: var(--accent); color: #fff; }

.mk-timeline-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.mk-day {
  font-size: 13px;
  color: var(--ink-4);
  font-weight: 500;
}
.chip-channel {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--accent-soft);
  color: var(--accent);
}
.chip-channel.linkedin { background: var(--blue-soft); color: var(--blue); }

.mk-seq-card {
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--paper);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
.mk-seq-card.emphasized { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-softer); }
.mk-seq-card .mk-hi {
  background: var(--accent-soft);
  color: var(--accent-3);
  padding: 1px 7px;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
}
.mk-seq-footer {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mk-seq-footer::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.mk-seq-banner {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--green-soft);
  border: 1px solid rgba(34,211,160,0.25);
  border-radius: 10px;
  font-size: 13.5px;
  color: #0f8a68;
}
.mk-seq-banner .tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #0f8a68;
  opacity: 0.85;
}

/* ══════════════════════════════════════════════════════════════════════════
   MOCKUP — LIVE CALL (pillar ③ Live-Call Assistant, dark)
   ═════════════════════════════════════════════════════════════════════ */
.mk-call .mk-call-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}
.mk-call-timer-row {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 10px;
}
.mk-transcript {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--night-rule);
}
.mk-transcript-line {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 12px 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--night-ink-2);
}
.mk-transcript-line + .mk-transcript-line { border-top: 1px solid var(--night-rule); }
.mk-transcript-speaker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--night-ink-4);
  padding-top: 3px;
}
.mk-tips { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.mk-tip {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  border: 1px solid var(--night-rule);
  background: rgba(124,92,255,0.08);
  color: var(--night-ink);
}
.mk-tip-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.mk-tip-icon svg { width: 11px; height: 11px; }
.mk-tip.queued {
  background: rgba(255,255,255,0.025);
  color: var(--night-ink-3);
}
.mk-tip.queued .mk-tip-icon {
  background: transparent;
  border: 1.5px solid var(--night-ink-4);
  color: var(--night-ink-4);
}

/* ══════════════════════════════════════════════════════════════════════════
   MOCKUP — PIPELINE (pillar ④ Pipeline Management, light)
   ═════════════════════════════════════════════════════════════════════ */
.mk-pipeline {
  padding: 22px 24px;
}
.mk-pipe-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.mk-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mk-col {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 12px;
}
.mk-col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mk-col-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  font-weight: 500;
}
.mk-deal {
  padding: 11px 12px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
}
.mk-deal:last-child { margin-bottom: 0; }
.mk-deal-name { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.mk-deal-val { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); }
.mk-deal-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 11px;
  color: var(--ink-4);
}
.mk-deal-row .auto {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
}
.mk-deal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.mk-deal-dot.green { background: var(--green); }
.mk-deal-dot.blue  { background: var(--blue); }
.mk-deal-dot.purple { background: var(--accent); }

.mk-activity {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--green-soft);
  border-radius: 8px;
  font-size: 12.5px;
  color: #0f8a68;
}
.mk-activity-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

/* ══════════════════════════════════════════════════════════════════════════
   MOCKUP — BRAND VOICE + PERSONAS (marketing pillar ⑤)
   ═════════════════════════════════════════════════════════════════════ */
.mk-voice .mk-voice-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.mk-voice-meter {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mk-voice-row {
  display: grid;
  grid-template-columns: 110px 1fr 40px;
  gap: 10px;
  align-items: center;
  font-size: 12.5px;
  color: var(--ink-3);
}
.mk-voice-track {
  position: relative;
  height: 6px;
  border-radius: 4px;
  background: var(--rule);
  overflow: hidden;
}
.mk-voice-track > span {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--accent);
  border-radius: 4px;
}
.mk-voice-val {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
  text-align: right;
}
.mk-personas {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mk-persona {
  padding: 14px;
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-radius: 10px;
}
.mk-persona-role {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.mk-persona-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.mk-persona-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.mk-persona-tag {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink-3);
}

/* ══════════════════════════════════════════════════════════════════════════
   MOCKUP — SIGNAL-DRIVEN CONTENT (marketing pillar ⑥, dark)
   ═════════════════════════════════════════════════════════════════════ */
.mk-content .mk-content-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.mk-flow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--night-rule-2);
  border-radius: 12px;
  margin-bottom: 16px;
}
.mk-flow-step {
  flex: 1;
  font-size: 13px;
  color: var(--night-ink-2);
}
.mk-flow-step strong { display: block; color: var(--night-ink); font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.mk-flow-arrow {
  color: var(--night-ink-4);
  font-size: 18px;
}
.mk-post {
  padding: 14px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--night-rule);
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--night-ink-2);
}
.mk-post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--night-ink-3);
  margin-bottom: 10px;
}
.mk-post-meta .chip-channel { background: var(--blue-soft); color: var(--blue); }

.mk-calendar {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.mk-cal-day {
  aspect-ratio: 1;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--night-rule);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: var(--night-ink-3);
  font-family: var(--font-mono);
}
.mk-cal-day.scheduled { background: rgba(124,92,255,0.16); color: var(--accent-2); border-color: rgba(124,92,255,0.3); }
.mk-cal-day.published { background: rgba(34,211,160,0.14); color: var(--green); border-color: rgba(34,211,160,0.28); }

/* ══════════════════════════════════════════════════════════════════════════
   MOCKUP — BATTLE CARD (marketing pillar ⑦, light)
   ═════════════════════════════════════════════════════════════════════ */
.mk-battle .mk-battle-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.mk-battle-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.mk-battle-title em {
  font-style: normal;
  color: var(--accent);
}
.mk-battle-refresh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--paper-3);
  border: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}
.mk-weakness {
  padding: 16px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  margin-bottom: 10px;
}
.mk-weakness:last-child { margin-bottom: 0; }
.mk-weakness-head {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
.mk-weakness-num {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}
.mk-weakness-title { font-size: 14px; font-weight: 600; color: var(--ink); flex: 1; }
.mk-weakness-quote {
  position: relative;
  padding: 12px 14px 12px 18px;
  background: var(--paper-3);
  border-left: 3px solid var(--red);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
  font-style: italic;
}
.mk-weakness-src {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mk-weakness-src strong { color: var(--ink-2); font-weight: 600; }

/* ══════════════════════════════════════════════════════════════════════════
   MOCKUP — ABM ACCOUNT HUB (marketing pillar ⑧, dark)
   ═════════════════════════════════════════════════════════════════════ */
.mk-abm .mk-abm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.mk-abm-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mk-abm-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 13px 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--night-rule);
  border-radius: 10px;
}
.mk-abm-ava {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #6c47ff, #9d83ff);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
}
.mk-abm-body .name { font-size: 13.5px; font-weight: 600; color: var(--night-ink); }
.mk-abm-body .meta { font-size: 11.5px; color: var(--night-ink-3); margin-top: 2px; }
.mk-abm-score {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-2);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mk-abm-score::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.mk-seo-chart {
  margin-top: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--night-rule);
  border-radius: 10px;
}
.mk-seo-head { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 12px; color: var(--night-ink-3); }
.mk-seo-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}
.mk-seo-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), rgba(124,92,255,0.3));
  border-radius: 4px 4px 0 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   HOME — 4 PILLAR TEASER CARDS
   ═════════════════════════════════════════════════════════════════════ */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.teaser {
  padding: 28px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--paper);
  transition: border-color 180ms var(--ease-out), transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.teaser:hover {
  border-color: var(--accent-ring);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.teaser-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.teaser-icon svg { width: 20px; height: 20px; }
.teaser-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}
.teaser-copy {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.teaser-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.teaser-link::after { content: "→"; transition: transform 180ms var(--ease-out); }
.teaser:hover .teaser-link::after { transform: translateX(3px); }

/* Dual positioning section */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.duo-card {
  padding: 32px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--paper);
}
.duo-card.sales {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  border: 1px solid rgba(124,92,255,0.18);
}
.duo-card.marketing {
  background: linear-gradient(135deg, #dbeafe 0%, #a5c8f7 100%);
  border: 1px solid rgba(37,99,235,0.22);
}
.duo-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.duo-card.sales .duo-kicker { color: var(--accent); }
.duo-card.marketing .duo-kicker { color: #2563eb; }
.duo-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.duo-copy {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.duo-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.duo-list li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 22px;
  position: relative;
}
.duo-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 600;
}
.duo-card.marketing .duo-list li::before { color: #2563eb; }

/* Pill-shaped CTA inside duo cards (override default .btn-ghost rounded-rect) */
.duo-card .btn-ghost {
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 11px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}
.duo-card .btn-ghost:hover {
  background: var(--paper-2);
  border-color: var(--rule-strong);
}

/* ══════════════════════════════════════════════════════════════════════════
   SWITCHER — sticky sales/marketing toggle on /features
   ═════════════════════════════════════════════════════════════════════ */
.switcher-wrap {
  position: sticky;
  top: var(--nav-height);
  z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.switcher {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px var(--page-pad);
  display: flex;
  justify-content: center;
  gap: 4px;
}
.switcher a {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: -0.005em;
  transition: all 150ms var(--ease-out);
}
.switcher a:hover { color: var(--ink); background: var(--paper-3); }
.switcher a.active { background: var(--ink); color: #fff; }

/* ══════════════════════════════════════════════════════════════════════════
   CTA — big call-to-action card (dark)
   ═════════════════════════════════════════════════════════════════════ */
.cta-card {
  padding: clamp(48px, 7vw, 96px) clamp(32px, 5vw, 72px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 0%, rgba(124,92,255,0.3), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(124,92,255,0.18), transparent 55%),
    linear-gradient(180deg, var(--night-card) 0%, var(--night) 100%);
  border: 1px solid var(--night-rule-2);
  color: var(--night-ink);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.7;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.6) 70%, transparent);
  pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-card .eyebrow { color: var(--accent-2); margin-bottom: 20px; justify-content: center; }
.cta-card .eyebrow::before { background: var(--accent-2); }
.cta-title {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 18px;
  max-width: 16ch;
  margin-inline: auto;
}
.cta-title em { font-style: normal; color: var(--accent-2); }
.cta-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--night-ink-2);
  max-width: 48ch;
  margin: 0 auto 32px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.cta-trust {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  color: var(--night-ink-3);
}
.cta-trust span { display: inline-flex; align-items: center; gap: 6px; }
.cta-trust span::before {
  content: "✓";
  color: var(--green);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════════════════
   PAGE HEADER (features, pricing, etc)
   ═════════════════════════════════════════════════════════════════════ */
.page-header {
  padding: calc(var(--section-pad) + 16px) 0 var(--section-pad-sm);
  text-align: center;
}
.page-header .eyebrow { justify-content: center; margin-bottom: 22px; }
.page-header h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 auto 20px;
  max-width: 18ch;
}
.page-header h1 em { font-style: normal; color: var(--accent); }
.page-header p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 56ch;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════════════════════
   PRICING
   ═════════════════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pricing-grid-4 .price-card { padding: 28px 22px; }
.pricing-grid-4 .price-amount { font-size: 2.5rem; }

.price-credits {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.price-credits strong {
  color: var(--accent);
  font-weight: 700;
}

.credit-note {
  margin-top: 32px;
  padding: 16px 20px;
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-radius: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-3);
}
.credit-note strong { color: var(--ink-2); }
.credit-note-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  font-style: italic;
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: 34px 28px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 18px;
  transition: border-color 180ms var(--ease-out), transform 180ms var(--ease-out);
  min-width: 0;
  overflow-wrap: break-word; /* only break long strings (URLs), never mid-word */
}
.price-amount { white-space: nowrap; } /* "Custom", "$249" never break */
.price-card:hover { border-color: var(--rule-strong); }
.price-card.featured {
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 5px var(--accent-softer), var(--shadow-lg);
  position: relative;
  transform: translateY(-6px);
}
.price-card.featured::before {
  content: "Most popular";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
}
.price-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;      /* if amount + unit can't fit one line, unit drops below */
  gap: 8px;
  margin-bottom: 8px;
}
.price-amount {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
}
.price-unit { font-size: 13px; color: var(--ink-4); }
.price-tag {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.price-cta { margin-bottom: 24px; }
.price-divider { height: 1px; background: var(--rule); margin: 0 0 20px; }
.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.price-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}
.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.55;
}
.price-list li strong { color: var(--ink); font-weight: 600; }

/* Billing cycle toggle */
.cycle-toggle {
  display: inline-flex;
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto 40px;
}
.cycle-toggle button {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  border-radius: 999px;
  transition: all 180ms var(--ease-out);
}
.cycle-toggle button.active { background: var(--ink); color: #fff; }
.cycle-save {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  background: var(--green-soft);
  color: #0d9474;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
}

/* Feature comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
}
.compare-table th,
.compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table thead th {
  font-weight: 600;
  background: var(--paper-3);
  font-size: 13px;
  color: var(--ink-2);
}
.compare-table thead th:not(:first-child) {
  text-align: center;
}
.compare-table tbody td:not(:first-child) {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-3);
}
.compare-table tbody td:first-child {
  color: var(--ink);
  font-weight: 500;
}
.compare-table .check { color: var(--accent); font-size: 15px; }
.compare-table .dash  { color: var(--ink-5); }

/* ══════════════════════════════════════════════════════════════════════════
   FAQ
   ═════════════════════════════════════════════════════════════════════ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-item:first-child { border-top: 1px solid var(--rule); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-align: left;
}
.faq-q::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-4);
  transition: transform 200ms var(--ease-out);
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.65;
  transition: max-height 260ms var(--ease-out), padding 200ms var(--ease-out);
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 0 22px; }

/* ══════════════════════════════════════════════════════════════════════════
   BLOG
   ═════════════════════════════════════════════════════════════════════ */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}
.blog-filter {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  background: var(--paper-3);
  border: 1px solid var(--rule);
  transition: all 150ms var(--ease-out);
}
.blog-filter:hover { color: var(--ink); border-color: var(--rule-strong); }
.blog-filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
  transition: opacity 180ms var(--ease-out);
}
/* Painterly placeholders — atmospheric oil-painting feel.
   Brand palette: lavender/purple base + warm cream highlights. */
.blog-card-img {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background-color: #c4b5fd;
}

/* Painterly noise grain — brushstroke texture overlay */
.blog-card-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='250'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.55;
  pointer-events: none;
  z-index: 2;
}

/* Soft directional light wash — adds painterly atmosphere */
.blog-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,243,217,0.18) 0%, transparent 55%, rgba(75,43,166,0.12) 100%);
  z-index: 1;
  pointer-events: none;
}

/* — Card A · Cold Email Personalization (lamplight at a desk) — */
.blog-card-img.a {
  background:
    radial-gradient(ellipse 55% 50% at 72% 38%, rgba(255,236,200,0.85) 0%, transparent 60%),
    radial-gradient(ellipse 35% 35% at 75% 35%, rgba(255,217,168,0.7) 0%, transparent 55%),
    radial-gradient(ellipse 80% 70% at 25% 75%, rgba(124,92,255,0.4) 0%, transparent 70%),
    linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
}

/* — Card B · Signal-Based Selling (control room glow) — */
.blog-card-img.b {
  background:
    radial-gradient(ellipse 45% 55% at 50% 35%, rgba(255,233,200,0.55) 0%, transparent 65%),
    radial-gradient(circle 70px at 25% 60%, rgba(255,224,180,0.6) 0%, transparent 70%),
    radial-gradient(circle 55px at 75% 65%, rgba(255,217,168,0.55) 0%, transparent 70%),
    linear-gradient(170deg, #ede9fe 0%, #c4b5fd 50%, #a78bfa 100%);
}

/* — Card C · Selling to Engineers (workshop sparks) — */
.blog-card-img.c {
  background:
    radial-gradient(ellipse 32% 28% at 45% 55%, rgba(255,200,140,0.85) 0%, transparent 60%),
    radial-gradient(circle 38px at 55% 50%, rgba(255,236,200,0.9) 0%, transparent 60%),
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(157,131,255,0.45) 0%, transparent 70%),
    linear-gradient(140deg, #e9d5ff 0%, #c4b5fd 100%);
}

/* — Card D · SDR Tech Stack (atmospheric, deeper purple) — */
.blog-card-img.d {
  background:
    radial-gradient(ellipse 50% 45% at 30% 50%, rgba(255,217,168,0.55) 0%, transparent 65%),
    radial-gradient(circle 50px at 70% 45%, rgba(255,200,140,0.5) 0%, transparent 70%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(75,43,166,0.35) 0%, transparent 70%),
    linear-gradient(155deg, #c4b5fd 0%, #a78bfa 100%);
}

/* — Card E · Product-Led Sales (glowing object center) — */
.blog-card-img.e {
  background:
    radial-gradient(circle 95px at 50% 50%, rgba(255,243,217,0.95) 0%, rgba(255,217,168,0.55) 35%, transparent 70%),
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255,200,140,0.4) 0%, transparent 70%),
    linear-gradient(135deg, #ddd6fe 0%, #b794ff 50%, #9d83ff 100%);
}

/* — Card F · Reddit / community (campfire crowd) — */
.blog-card-img.f {
  background:
    radial-gradient(ellipse 28% 38% at 50% 70%, rgba(255,210,150,0.95) 0%, rgba(255,180,110,0.5) 40%, transparent 70%),
    radial-gradient(ellipse 55% 45% at 50% 70%, rgba(245,168,122,0.55) 0%, transparent 80%),
    radial-gradient(ellipse 80% 70% at 50% 15%, rgba(124,92,255,0.4) 0%, transparent 80%),
    linear-gradient(180deg, #ede9fe 0%, #c4b5fd 60%, #a78bfa 100%);
}
.blog-card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.blog-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.3;
}
.blog-card-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}
.blog-card-meta {
  margin-top: auto;
  font-size: 12.5px;
  color: var(--ink-4);
  display: flex;
  gap: 10px;
  align-items: center;
}
.blog-card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-5); }

/* Blog post body */
.post {
  max-width: var(--max-prose);
  margin: 0 auto;
  padding-top: 48px;
}
.post h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin: 2em 0 0.7em;
}
.post h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
  margin: 1.6em 0 0.6em;
}
.post p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 1.2em;
}
.post a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post strong { font-weight: 600; color: var(--ink); }
.post blockquote {
  padding: 14px 22px;
  margin: 1.6em 0;
  border-left: 3px solid var(--accent);
  background: var(--paper-3);
  font-style: italic;
  color: var(--ink-2);
  border-radius: 0 8px 8px 0;
}
.post ul, .post ol { margin: 0 0 1.4em 1.4em; }
.post li { margin-bottom: 0.5em; color: var(--ink-2); line-height: 1.65; }
.post pre, .post code {
  font-family: var(--font-mono);
  font-size: 13.5px;
}
.post code {
  background: var(--paper-3);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--accent-3);
}
.post pre {
  padding: 18px 20px;
  background: var(--night);
  color: var(--night-ink);
  border-radius: 10px;
  overflow-x: auto;
  margin: 1.4em 0;
}
.post pre code { background: none; padding: 0; color: inherit; }

/* ══════════════════════════════════════════════════════════════════════════
   DOCS
   ═════════════════════════════════════════════════════════════════════ */
.docs-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  padding-top: 48px;
  padding-bottom: var(--section-pad-sm);
}
.docs-nav {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  height: calc(100vh - var(--nav-height) - 48px);
  overflow-y: auto;
  padding-right: 12px;
}
.docs-nav-section {
  margin-bottom: 26px;
}
.docs-nav-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 10px;
}
.docs-nav-list { list-style: none; display: flex; flex-direction: column; }
.docs-nav-list a {
  padding: 7px 10px;
  margin-left: -10px;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--ink-3);
  transition: all 150ms var(--ease-out);
}
.docs-nav-list a:hover { color: var(--ink); background: var(--paper-3); }
.docs-nav-list a.active { color: var(--accent); background: var(--accent-softer); font-weight: 500; }

.docs-content {
  max-width: 740px;
}
.docs-content h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 16px;
}
.docs-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-3);
  margin-bottom: 32px;
}
.docs-content h2 {
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 2.4em 0 0.6em;
  padding-top: 1em;
  border-top: 1px solid var(--rule);
}
.docs-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 1.2em; }
.docs-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin: 1.6em 0 0.6em;
}
.docs-content p, .docs-content li {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--ink-2);
}
.docs-content p { margin-bottom: 1.1em; }
.docs-content ul, .docs-content ol { margin: 0 0 1.3em 1.4em; }
.docs-content li { margin-bottom: 0.4em; }
.docs-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.docs-content strong { font-weight: 600; color: var(--ink); }
.docs-content pre {
  padding: 16px 20px;
  background: var(--night);
  color: var(--night-ink);
  border-radius: 10px;
  overflow-x: auto;
  margin: 1.2em 0;
  font-family: var(--font-mono);
  font-size: 13px;
}
.docs-content code {
  font-family: var(--font-mono);
  font-size: 13.5px;
  background: var(--paper-3);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--accent-3);
}
.docs-content pre code { background: none; padding: 0; color: inherit; }

.callout {
  padding: 16px 20px;
  margin: 1.4em 0;
  border-radius: 10px;
  border: 1px solid var(--rule);
  background: var(--paper-3);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
  border-left: 3px solid var(--accent);
}
.callout-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.callout.warning { border-left-color: var(--amber); background: var(--amber-soft); }
.callout.success { border-left-color: var(--green); background: var(--green-soft); }

/* ══════════════════════════════════════════════════════════════════════════
   API PAGE
   ═════════════════════════════════════════════════════════════════════ */
.api-endpoint {
  margin-bottom: 48px;
  padding: 24px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--paper);
}
.api-method-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.api-method {
  padding: 4px 10px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.api-method.get { background: var(--blue-soft); color: var(--blue); }
.api-method.post { background: var(--accent-soft); color: var(--accent); }
.api-method.delete { background: var(--red-soft); color: var(--red); }
.api-method.put { background: var(--amber-soft); color: var(--amber); }
.api-path {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.api-desc {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.api-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: -1px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}
.api-tab {
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
}
.api-tab.active {
  color: var(--ink);
  background: var(--night);
  color: var(--night-ink);
  border-color: var(--night-rule-2);
}
.api-code {
  padding: 18px;
  background: var(--night);
  color: var(--night-ink);
  border-radius: 0 10px 10px 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre;
}

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═════════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--night);
  color: var(--night-ink-2);
  padding: 72px 0 32px;
  border-top: 1px solid var(--night-rule);
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--page-pad); }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--night-rule);
}
.footer-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: url("https://behrjfrstnvtsifqmhdq.supabase.co/storage/v1/object/public/image/logo2.png") center / contain no-repeat;
  font-size: 0;
  color: transparent;
  margin-bottom: 20px;
}
.footer-brand-copy {
  font-size: 14px;
  line-height: 1.65;
  color: var(--night-ink-3);
  margin-bottom: 24px;
  max-width: 32ch;
}
.footer-brand-social { display: flex; gap: 10px; }
.footer-brand-social a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--night-rule);
  color: var(--night-ink-3);
  display: grid;
  place-items: center;
  transition: all 180ms var(--ease-out);
}
.footer-brand-social a:hover { background: rgba(255,255,255,0.1); color: var(--night-ink); }
.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--night-ink);
  margin-bottom: 14px;
}
.footer-col-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col-list a {
  font-size: 13.5px;
  color: var(--night-ink-3);
  transition: color 150ms var(--ease-out);
}
.footer-col-list a:hover { color: var(--night-ink); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: var(--night-ink-4);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { color: var(--night-ink-2); }

/* ══════════════════════════════════════════════════════════════════════════
   CHANGELOG
   ═════════════════════════════════════════════════════════════════════ */
.cl-phase {
  margin-bottom: 64px;
}
.cl-phase-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.cl-phase-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cl-phase-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-4);
  margin-left: auto;
}
.cl-entry {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.cl-entry:last-child { border-bottom: none; }
.cl-aside { display: flex; flex-direction: column; gap: 8px; }
.cl-date { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-3); }
.cl-version {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.cl-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}
.cl-tag.feature { background: var(--accent-soft); color: var(--accent); }
.cl-tag.improve { background: var(--amber-soft); color: var(--amber); }
.cl-tag.fix { background: var(--green-soft); color: #0d9474; }
.cl-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 10px;
}
.cl-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 58ch;
}
.cl-body p + p { margin-top: 10px; }

/* ══════════════════════════════════════════════════════════════════════════
   ABOUT
   ═════════════════════════════════════════════════════════════════════ */
.about-narrative {
  max-width: var(--max-prose);
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--ink-2);
}
.about-narrative p { margin-bottom: 1.1em; }
.about-narrative strong { color: var(--ink); font-weight: 600; }
.about-pull {
  padding: 40px 0;
  margin: 48px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  text-align: center;
}
.about-pull-text {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  max-width: 22ch;
  margin: 0 auto 14px;
}
.about-pull em { font-style: normal; color: var(--accent); }
.about-pull-cite {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.principle {
  padding: 28px 24px;
  border: 1px solid var(--rule);
  border-radius: 14px;
}
.principle-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 10px;
}
.principle-copy {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ══════════════════════════════════════════════════════════════════════════
   SCROLL REVEAL + MOTION
   ═════════════════════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═════════════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  /* minmax(0,..) lets the column shrink below its intrinsic min-content
     so wide mockup cards don't overflow the viewport */
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-visual { max-width: 100%; margin: 0 auto; min-width: 0; }
  .hero-visual .mk,
  .hero-visual .mk-signal-feed,
  .hero-visual .mk-signal-main,
  .hero-visual .mk-side-card { min-width: 0; }
  .pillar, .pillar-reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .pillar-reverse .pillar-copy { order: initial; }
  .pillar-reverse .pillar-visual { order: initial; }
  .pillar-visual { min-width: 0; }
  .pillar-visual .mk,
  .pillar-visual .mk > *,
  .pillar-visual .mk-timeline-item > div,
  .pillar-visual .mk-seq-card { min-width: 0; }
  .teaser-grid { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid-4 { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: translateY(0); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .docs-shell { grid-template-columns: 1fr; }
  .docs-nav { position: static; height: auto; padding-right: 0; margin-bottom: 32px; }
  .logo-strip-row { grid-template-columns: repeat(3, 1fr); }
  .cl-entry { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-cta .btn-link { display: none; }
  .nav-mobile-toggle { display: flex; }
  /* Mobile nav: tighter layout, smaller brand, right-aligned CTA group */
  .nav-inner { gap: 12px; grid-template-columns: auto auto; justify-content: space-between; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn-accent { padding: 8px 14px; font-size: 13px; }
  .nav-brand-text { font-size: 15px; }
  .nav-brand-mark { width: 28px; height: 28px; }

  /* Hero typography for small screens */
  .hero { padding-top: calc(var(--nav-height) + 48px); }
  .hero-headline { font-size: clamp(2rem, 9vw, 2.75rem); line-height: 1.08; }
  .hero-sub { font-size: 15px; line-height: 1.6; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-trust { flex-wrap: wrap; row-gap: 6px; font-size: 12px; }

  /* Mockup: shrink padding + let chip text wrap when cramped */
  .mk { padding: 22px 20px; }
  .mk-signal-feed { padding: 18px 20px; }
  .mk-signal-main { padding: 18px; }
  .chip { white-space: normal; }
  .mk-stack-row { flex-wrap: wrap; }

  .blog-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .pricing-grid-4 { grid-template-columns: 1fr; }
  .logo-strip-row { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .mk-kanban { grid-template-columns: 1fr; }
  .mk-side-row { grid-template-columns: 1fr; }
  .mk-personas { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .cta-trust { gap: 14px; }
  .switcher a { padding: 8px 14px; font-size: 13px; }

  /* Section spacing tighter on mobile */
  :root { --section-pad: 72px; --section-pad-sm: 48px; }
  .display-lg { font-size: clamp(1.75rem, 7vw, 2.25rem); }
  .pillar-title { font-size: clamp(1.75rem, 7vw, 2.25rem); }
}

/* ── 4-step "How it works" grid — responsive variant of .teaser-grid ──── */
.teaser-grid.is-steps {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 980px) {
  .teaser-grid.is-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .teaser-grid.is-steps { grid-template-columns: 1fr; }
}

