/* LaneMemo — relationship journal / client storybook */

:root {
  --bg: #FCFBF8;
  --ink: #1F2937;
  --primary: #7C5CFC;
  --secondary: #14B8A6;
  --warn: #F59E0B;
  --risk: #DC2626;
  --line: #E7E5E4;
  --muted: #64748B;
  --bg-soft: #F5F4F0;
  --primary-soft: rgba(124, 92, 252, 0.1);
  --secondary-soft: rgba(20, 184, 166, 0.1);
  --announce-bg: #C4B5FD;
  --announce-ink: #F5F3FF;
  --announce-gradient: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 38%, #C4B5FD 100%);
  --header-gradient: linear-gradient(180deg, #C4B5FD 0%, #DDD6FE 35%, #EDE9FE 72%, #F5F3FF 100%);
  --header-line: rgba(124, 92, 252, 0.35);
  --header-shadow: 0 1px 0 rgba(91, 33, 182, 0.18), 0 10px 28px rgba(124, 92, 252, 0.14);

  --display: "Literata", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --container-max: 1160px;
  --gutter: clamp(16px, 4vw, 28px);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(31, 41, 55, 0.04);
  --shadow: 0 2px 8px rgba(31, 41, 55, 0.06), 0 12px 32px rgba(31, 41, 55, 0.05);
  --shadow-lg: 0 8px 24px rgba(31, 41, 55, 0.08), 0 24px 48px rgba(31, 41, 55, 0.06);

  --announce-h: 38px;
  --header-h: 64px;
  --site-top-h: calc(var(--announce-h) + var(--header-h));
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: #6344e8; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { padding-left: 1.25rem; }
[hidden] { display: none !important; }

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

p { color: var(--muted); }

/* ── Base ── */
.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--site-top-h);
}

.site-shell main { flex: 1; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.text-accent { color: var(--primary); }

.muted { color: var(--muted); }

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 58ch;
}

.text-link {
  font-weight: 600;
  color: var(--primary);
}

.text-link:hover { text-decoration: underline; }

/* ── Announce bar + header ── */
.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 var(--gutter);
  background: var(--announce-gradient);
  border-bottom: 1px solid rgba(124, 92, 252, 0.45);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--announce-ink);
}

.announce-bar a {
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
}

.announce-bar a:hover { text-decoration: underline; }

.site-header {
  position: fixed;
  top: var(--announce-h);
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--header-gradient);
  border-bottom: 1px solid var(--header-line);
  box-shadow: var(--header-shadow);
  /* no backdrop-filter blur */
}

.header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex-shrink: 0;
  text-decoration: none;
}

.brand:hover { color: var(--ink); opacity: 0.88; }

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  flex-shrink: 0;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-text span {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.nav-main {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 0.84rem;
  font-weight: 500;
  color: #475569;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--primary-soft);
  border-color: rgba(124, 92, 252, 0.18);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.header-actions .nav-link { font-size: 0.84rem; }

@media (max-width: 1180px) {
  .brand-text span { display: none; }
}

@media (max-width: 960px) {
  .nav-main { display: none; }
  .header-actions .nav-link { display: none; }
}

/* ── Buttons ── */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.2;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
  white-space: nowrap;
}

.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: #6344e8;
  border-color: #6344e8;
  color: #fff;
}

.btn-secondary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: #d6d3d1;
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
  padding: 8px 14px;
}

.btn-ghost:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.btn-sm {
  font-size: 0.8125rem;
  padding: 8px 14px;
}

.btn-lg {
  font-size: 0.9375rem;
  padding: 14px 26px;
}

.btn-full { width: 100%; }

/* ── Home hero ── */
.home-hero {
  padding: 56px 0 48px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.hero-centered {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.hero-centered .eyebrow { margin-bottom: 20px; }

.hero-centered .lead,
.hero-centered .hero-subtitle {
  margin-inline: auto;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--ink);
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 54ch;
  margin: 0 auto;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 100px;
}

.hero-stat strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-stat span {
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-dossier {
  margin-top: 48px;
}

.dossier-frame {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dossier-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 20px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}

.dossier-tab-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.dossier-tab strong {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--ink);
}

.dossier-tab-meta {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-left: auto;
}

.client-dossier {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  padding: 20px;
}

.dossier-col { min-width: 0; }

.dossier-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: var(--muted);
  font-size: 1.1rem;
  align-self: center;
}

/* ── Journal panels ── */
.journal-panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.journal-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}

.journal-panel-body {
  padding: 14px;
  font-size: 0.875rem;
}

.journal-panel-accent {
  border-color: rgba(124, 92, 252, 0.25);
  background: linear-gradient(180deg, rgba(124, 92, 252, 0.04) 0%, var(--bg) 40%);
}

.journal-panel-accent .journal-panel-head {
  background: var(--primary-soft);
  border-bottom-color: rgba(124, 92, 252, 0.15);
}

.journal-badge {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 3px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

.journal-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.journal-card h3 {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.journal-card p {
  font-size: 0.8125rem;
  line-height: 1.55;
  margin: 0;
}

.journal-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

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

.principle-entry {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.principle-num {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.principle-entry h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.principle-entry p {
  font-size: 0.9rem;
  margin: 0;
}

/* ── Dossier notes ── */
.dossier-note { font-size: 0.875rem; }

.note-date {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.note-excerpt {
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 12px;
}

.note-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.note-bullets li {
  position: relative;
  padding: 6px 0 6px 16px;
  font-size: 0.8125rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.note-bullets li:last-child { border-bottom: none; }

.note-bullets li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--primary);
  font-weight: 700;
}

.extracted-fields { display: flex; flex-direction: column; gap: 10px; }

.extract-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 0.8125rem;
}

.extract-row > span:first-child {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  min-width: 100px;
}

.extract-row strong {
  font-weight: 600;
  color: var(--ink);
}

.extract-pulse {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(20, 184, 166, 0); }
}

.memory-spine {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.spine-entry {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
}

.spine-entry:last-child { border-bottom: none; }

.spine-date {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--muted);
}

.spine-entry strong {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.8125rem;
}

.spine-meeting strong { color: var(--ink); }
.spine-email strong { color: var(--muted); }
.spine-feedback strong { color: var(--warn); }
.spine-renewal strong { color: var(--secondary); }
.spine-growth strong { color: var(--primary); }

/* ── Memo tags ── */
.memo-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.memo-risk {
  color: var(--risk);
  background: rgba(220, 38, 38, 0.1);
}

.memo-warn {
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
}

.memo-growth {
  color: var(--primary);
  background: var(--primary-soft);
}

.memo-positive {
  color: #047857;
  background: rgba(20, 184, 166, 0.12);
}

.memo-neutral {
  color: var(--muted);
  background: var(--bg-soft);
}

/* ── Product flow ── */
.product-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.flow-col { min-width: 0; }

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--muted);
  font-size: 1.1rem;
  align-self: center;
}

.feature-frame {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

/* ── Memory workspace ── */
.memory-workspace {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.workspace-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.workspace-head strong {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
}

.workspace-head span {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
}

/* ── Timeline ── */
.relationship-timeline {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0 16px;
}

.timeline-rail {
  width: 2px;
  margin-left: 11px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 2px;
  min-height: 100%;
}

.timeline-entries {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-entry {
  position: relative;
  padding: 12px 0 12px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-entry:last-child { border-bottom: none; }

.timeline-entry::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--primary);
  transform: translateX(-50%);
  margin-left: -8px;
}

.timeline-date {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.timeline-kind {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.timeline-entry p {
  font-size: 0.875rem;
  margin: 0;
  color: var(--ink);
}

.timeline-meeting .timeline-kind { color: var(--primary); background: var(--primary-soft); }
.timeline-email .timeline-kind { color: var(--muted); background: var(--bg-soft); }
.timeline-feedback .timeline-kind { color: #b45309; background: rgba(245, 158, 11, 0.12); }
.timeline-decision .timeline-kind { color: var(--secondary); background: var(--secondary-soft); }
.timeline-renewal .timeline-kind { color: #047857; background: rgba(20, 184, 166, 0.12); }

/* ── Stakeholder map ── */
.stakeholder-map {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.map-center {
  text-align: center;
  padding: 20px;
  background: var(--primary-soft);
  border: 1px solid rgba(124, 92, 252, 0.2);
  border-radius: var(--radius);
}

.map-center span {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.map-center em {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-style: normal;
  color: var(--muted);
}

.stakeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.stakeholder-node {
  padding: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.stakeholder-node strong {
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
}

.node-role {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.stakeholder-node p {
  font-size: 0.8125rem;
  margin: 0 0 10px;
}

.node-decision { border-color: rgba(124, 92, 252, 0.3); }
.node-champion { border-color: rgba(20, 184, 166, 0.35); }
.node-risk { border-color: rgba(220, 38, 38, 0.25); }
.node-influencer { border-color: var(--line); }

/* ── Briefs ── */
.prep-brief,
.brief-sections {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prep-section,
.brief-block {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.prep-section:last-child,
.brief-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.prep-section p,
.brief-block p {
  font-size: 0.875rem;
  margin: 0;
}

.mini-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mini-list li {
  position: relative;
  padding: 5px 0 5px 14px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.mini-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* ── Renewal / opportunity ── */
.renewal-row,
.opportunity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}

.renewal-row:last-child,
.opportunity-row:last-child { border-bottom: none; }

.renewal-row strong,
.opportunity-row strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.renewal-row p,
.opportunity-row span {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0;
}

.renewal-metric {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
}

.renewal-warn .renewal-metric { color: #b45309; }
.renewal-risk .renewal-metric { color: var(--risk); }
.renewal-positive .renewal-metric { color: #047857; }

.opportunity-row {
  flex-wrap: wrap;
}

.opp-high { border-left: 3px solid var(--primary); padding-left: 12px; }

/* ── Signals ── */
.signal-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.signal-card {
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.signal-card h3 {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.signal-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.signal-card li {
  padding: 6px 0;
  font-size: 0.8125rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.signal-card li:last-child { border-bottom: none; }

.signal-positive { border-color: rgba(20, 184, 166, 0.3); background: linear-gradient(180deg, var(--secondary-soft) 0%, var(--bg) 50%); }
.signal-risk { border-color: rgba(220, 38, 38, 0.25); background: linear-gradient(180deg, rgba(220, 38, 38, 0.04) 0%, var(--bg) 50%); }
.signal-growth { border-color: rgba(124, 92, 252, 0.25); background: linear-gradient(180deg, var(--primary-soft) 0%, var(--bg) 50%); }

/* ── Teams ── */
.teams-hub {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.team-hub-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.team-hub-card:hover {
  border-color: rgba(124, 92, 252, 0.35);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
}

.team-hub-card strong {
  font-family: var(--display);
  font-size: 1.125rem;
  color: var(--ink);
}

.team-hub-card p {
  font-size: 0.875rem;
  margin: 0;
}

.team-hub-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 4px;
}

.team-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.team-chip:hover {
  background: var(--primary-soft);
  border-color: rgba(124, 92, 252, 0.3);
  color: var(--primary);
  text-decoration: none;
}

.team-dossier {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.team-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}

.team-row:last-child { border-bottom: none; }

.team-row span {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  flex-shrink: 0;
}

.team-row strong {
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

/* ── Integrations ── */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.int-card {
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.int-card h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.int-card p {
  font-size: 0.875rem;
  margin-bottom: 14px;
}

.source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.source-strip span {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 8px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

.capture-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.capture-strip span {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  color: var(--ink);
}

/* ── Security ── */
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.security-card {
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.security-card h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.security-card p {
  font-size: 0.875rem;
  margin: 0;
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.plan-card {
  position: relative;
  padding: 28px 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.plan-card h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.plan-card > p:not(.plan-price) {
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.plan-featured {
  border-color: rgba(124, 92, 252, 0.4);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, var(--primary-soft) 0%, var(--bg) 35%);
}

.plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.plan-price {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
}

.plan-price span {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
}

.plan-note {
  margin: -12px 0 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.plan-features li {
  position: relative;
  padding: 6px 0 6px 18px;
  font-size: 0.875rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.plan-features li:last-child { border-bottom: none; }

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.75rem;
}

/* ── About ── */
.about-journal-hero {
  padding: 48px 0 40px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.about-journal-intro {
  max-width: 640px;
}

.about-lane-section {
  padding: 56px 0;
}

.lane-atlas {
  position: relative;
}

.lane-path {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 80px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
  transform: translateX(-50%);
  opacity: 0.35;
}

.lane-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.lane-step {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: center;
  gap: 0;
}

.lane-left .lane-card { grid-column: 1; }
.lane-left .lane-marker { grid-column: 2; }
.lane-right .lane-marker { grid-column: 2; }
.lane-right .lane-card { grid-column: 3; }

.lane-marker {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0 auto;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--bg);
  border: 2px solid rgba(124, 92, 252, 0.35);
  border-radius: 50%;
  z-index: 1;
}

.lane-card {
  padding: 20px 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.lane-card h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.lane-card p {
  font-size: 0.9rem;
  margin: 0;
}

.lane-atlas-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.lane-atlas-metrics div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.lane-atlas-metrics strong {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
}

.lane-atlas-metrics span {
  font-size: 0.8125rem;
  color: var(--muted);
}

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

.origin-card {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.origin-card p {
  font-size: 0.9rem;
  margin: 0;
}

.about-journal-footer {
  padding: 56px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.journal-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.journal-cta-panel h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.journal-cta-panel p {
  font-size: 0.9rem;
  margin: 0;
}

/* ── Auth ── */
.auth-page {
  overflow: hidden;
}

.auth-journal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.auth-journal-visual {
  display: flex;
  flex-direction: column;
  padding: 40px 48px;
  background: linear-gradient(145deg, #6b4fd4 0%, #8b6cf7 40%, #a78bfa 100%);
  color: #fff;
  /* warm purple gradient — not teal */
}

.auth-journal-brand {
  color: #fff;
  margin-bottom: 48px;
}

.auth-journal-brand:hover { color: #fff; opacity: 0.9; }

.auth-journal-brand .brand-text span {
  color: rgba(255, 255, 255, 0.7);
}

.auth-journal-brand .logo-mark {
  background: transparent;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.auth-journal-copy h1 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: #fff;
  margin-bottom: 16px;
}

.auth-journal-copy p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  max-width: 36ch;
}

.auth-journal-story {
  margin-top: 32px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
}

.auth-story-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-story-row:last-child { border-bottom: none; }

.auth-story-row span {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
}

.auth-story-row strong {
  color: #fff;
  font-weight: 600;
}

.auth-journal-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.auth-journal-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.auth-journal-stat strong {
  font-family: var(--display);
  font-size: 1.25rem;
  color: #fff;
}

.auth-journal-stat span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.auth-journal-foot {
  margin-top: auto;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
}

.auth-journal-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px var(--gutter);
  background: var(--bg);
}

.auth-journal-wrap {
  width: 100%;
  max-width: 400px;
}

.auth-journal-wrap h2 {
  font-family: var(--display);
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.auth-journal-card {
  margin-top: 28px;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.auth-footer-note {
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}

/* ── Page layouts ── */
.page-hero {
  padding: 48px 0 40px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  /* simple gradient only — no radial blur */
}

.page-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 52ch;
}

.page-showcase {
  padding: 40px 0 56px;
  background: var(--bg);
}

.page-body {
  padding: 56px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumb span:not(:last-child) { color: var(--line); }

.section,
.is-alt {
  padding: 56px 0;
}

.section.alt,
.is-alt {
  background: var(--bg-soft);
}

.section.tight {
  padding: 40px 0;
}

.section-head {
  margin-bottom: 36px;
  max-width: 640px;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
}

.section-head p {
  margin-top: 12px;
  font-size: 1rem;
}

.section-inline-title {
  font-family: var(--display);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 56ch;
}

.pain-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pain-item {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pain-item .kicker {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.pain-item h3 {
  font-family: var(--display);
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.pain-item p {
  font-size: 0.875rem;
  margin: 0;
}

.memory-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.flow-step {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow-num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 50%;
}

.flow-step strong {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.flow-step p {
  font-size: 0.8125rem;
  margin: 0;
}

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

.cap-card {
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.cap-card:hover {
  border-color: rgba(124, 92, 252, 0.3);
  box-shadow: var(--shadow-sm);
}

.cap-card h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.cap-card p {
  font-size: 0.875rem;
  margin: 0;
}

.case-study { margin-top: 0; }

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

.case-study-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.case-study-stat strong {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--ink);
}

.case-study-stat span {
  font-size: 0.8125rem;
  color: var(--muted);
}

.sub-cta,
.home-cta {
  text-align: center;
  padding: 36px 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.sub-cta h3,
.home-cta h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.sub-cta p,
.home-cta p {
  font-size: 1rem;
  margin-bottom: 0;
}

.sub-cta .btn-row,
.home-cta .btn-row {
  justify-content: center;
  margin-top: 20px;
}

.spec-callout {
  padding: 24px 28px;
  background: var(--primary-soft);
  border: 1px solid rgba(124, 92, 252, 0.2);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.65;
}

.spec-callout strong { color: var(--primary); }

/* ── Footer ── */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
}

.footer-wrap { /* container child */ }

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}

.footer-top .brand { margin-bottom: 0; }

.footer-tagline {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 36ch;
  margin-top: 12px;
}

.footer-cta { margin-top: 16px; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  padding: 4px 0;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--primary);
  text-decoration: none;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-meta {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ── Forms ── */
.form,
.site-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group,
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label,
.form-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-field input,
.form-field select {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9375rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: rgba(124, 92, 252, 0.5);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-divider {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
  position: relative;
  margin: 4px 0;
}

.form-divider::before,
.form-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--line);
}

.form-divider::before { left: 0; }
.form-divider::after { right: 0; }

.form-success {
  font-size: 0.875rem;
  color: #047857;
  text-align: center;
  padding: 8px;
  background: var(--secondary-soft);
  border-radius: var(--radius-sm);
}

/* ── UI alerts ── */
.ui-alert {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  border: 1px solid var(--line);
}

.ui-alert strong {
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--ink);
}

.ui-alert-ok {
  background: var(--secondary-soft);
  border-color: rgba(20, 184, 166, 0.25);
}

.ui-alert-info {
  background: var(--primary-soft);
  border-color: rgba(124, 92, 252, 0.2);
}

.ui-alert-warn {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
}

/* ── Modals ── */
body.modal-open { overflow: hidden; }

.site-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.site-modal[hidden] { display: none !important; }

.site-modal:not([hidden]) { display: flex; }

.site-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 41, 55, 0.4);
  /* no backdrop-filter blur */
}

.site-modal-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.site-modal-wide { max-width: 640px; }

.site-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.site-modal-close:hover {
  background: var(--line);
  color: var(--ink);
}

.site-modal-panel h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin-bottom: 8px;
  padding-right: 32px;
}

.site-modal-lead {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.demo-lifecycle {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.lifecycle-step {
  padding: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.lifecycle-step span {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 6px;
}

.lifecycle-step strong {
  display: block;
  font-size: 0.84rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.lifecycle-step p {
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.45;
}

.meeting-detail-body {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.meeting-detail-body .mini-list {
  margin-top: 14px;
  padding-left: 18px;
}

.demo-workspace {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 8px;
  padding: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.demo-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 4px;
}

.demo-cell {
  padding: 10px 12px;
  font-size: 0.8125rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.demo-tag {
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
}

.demo-arrow {
  display: flex;
  align-items: center;
  color: var(--muted);
  align-self: center;
}

.demo-timeline {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-timeline span {
  padding: 8px 12px;
  font-size: 0.8125rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

/* ── Product flow extras ── */
.comms-stack,
.extraction-lane,
.profile-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comms-row,
.extract-step,
.profile-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
}

.comms-row:last-child,
.extract-step:last-child,
.profile-row:last-child { border-bottom: none; }

.comms-row span,
.extract-step span,
.profile-row span {
  font-family: var(--mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

.comms-row strong,
.extract-step strong,
.profile-row strong {
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

/* ── Demo running state ── */
.is-running {
  opacity: 0.6;
  pointer-events: none;
}

/* ── Responsive: 960px ── */
@media (max-width: 960px) {
  .client-dossier,
  .product-flow,
  .demo-workspace {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dossier-arrow,
  .flow-arrow,
  .demo-arrow {
    display: none;
  }

  .journal-principles,
  .signal-cards,
  .journal-origin,
  .pricing-grid,
  .integration-grid,
  .cap-grid,
  .memory-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .memory-grid { grid-template-columns: 1fr; }

  .case-study-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .lane-step {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }

  .lane-left .lane-card,
  .lane-right .lane-card { grid-column: 2; }
  .lane-left .lane-marker,
  .lane-right .lane-marker { grid-column: 1; }

  .lane-path { left: 20px; transform: none; }

  .teams-hub,
  .security-grid,
  .pain-list {
    grid-template-columns: 1fr;
  }

  .auth-journal {
    grid-template-columns: 1fr;
  }

  .auth-journal-visual {
    padding: 32px var(--gutter);
  }

  .auth-journal-foot { margin-top: 24px; }
}

/* ── Responsive: 900px ── */
@media (max-width: 900px) {
  .journal-principles,
  .signal-cards,
  .journal-origin,
  .pricing-grid,
  .integration-grid,
  .cap-grid,
  .memory-flow,
  .case-study-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    gap: 16px;
  }

  .journal-cta-panel {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-top {
    flex-direction: column;
  }

  .lane-atlas-metrics {
    gap: 20px;
  }
}
