/* MONOSPIRE · Business Operating System
   Premium landing page styles */

:root {
  --forest: #09231C;
  --jade-dark: #10382D;
  --jade: #20C997;
  --mint: #8FE3C1;
  --gold: #D9B86C;
  --ivory: #F7F5EF;
  --ivory-2: #ECEDE7;
  --text: #14211D;
  --muted: #697871;
  --dark: #071611;
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(9, 35, 28, 0.08);
  --shadow-lg: 0 12px 48px rgba(9, 35, 28, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ivory);
  overflow-x: hidden;
  cursor: none;
}

body.no-custom-cursor { cursor: auto; }
body.preloader-active { overflow: hidden; }
body.system-mode { --grid-opacity: 1; }

@media (max-width: 768px), (pointer: coarse) {
  body { cursor: auto; }
  .cursor, .live-activity, .pulse-indicator, .system-mode-toggle { display: none !important; }
}

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 10000;
  padding: 12px 20px; background: var(--jade); color: var(--forest);
  font-weight: 600; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.mono { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }

.container {
  width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px;
}

.section { padding: 120px 0; position: relative; }
.section-dark { background: var(--forest); color: var(--ivory); }
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 48px;
}
.section-headline.light { color: var(--ivory); }
.section-headline-sm {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 16px;
}
.section-label { font-size: 0.875rem; color: var(--muted); margin-bottom: 32px; }
.accent { color: var(--jade); }
.accent-text { color: var(--jade); }
.muted { color: var(--muted); }
.light { color: var(--ivory-2); }

.demo-badge {
  display: inline-block; padding: 4px 10px; margin-bottom: 16px;
  background: rgba(32, 201, 151, 0.12); color: var(--jade-dark);
  border: 1px solid rgba(32, 201, 151, 0.3); border-radius: 4px; font-size: 0.65rem;
}
.section-dark .demo-badge { background: rgba(32, 201, 151, 0.15); color: var(--mint); border-color: rgba(143, 227, 193, 0.3); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 28px; font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius-sm); border: none; cursor: pointer;
  transition: var(--transition); font-weight: 500;
}
.btn-sm { padding: 10px 18px; font-size: 0.7rem; }
.btn-primary { background: var(--jade); color: var(--forest); }
.btn-primary:hover { background: var(--mint); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary { background: transparent; color: var(--text); border: 1.5px solid var(--text); }
.btn-secondary:hover { background: var(--text); color: var(--ivory); }
.btn-secondary.light { color: var(--ivory); border-color: var(--ivory); }
.btn-secondary.light:hover { background: var(--ivory); color: var(--forest); }
.btn-outline { background: transparent; color: var(--jade-dark); border: 1.5px solid var(--jade); }
.btn-outline:hover { background: var(--jade); color: var(--forest); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); }

/* PRELOADER */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--dark); display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; max-width: 420px; width: 100%; padding: 24px; }
.preloader-logo-wrap { margin-bottom: 40px; }
.preloader-symbol { width: 80px; height: 80px; margin: 0 auto 24px; }
.pl-core { animation: pl-pulse 1.5s ease infinite; }
.pl-line { stroke-dasharray: 30; stroke-dashoffset: 30; animation: pl-draw 0.8s ease forwards; }
.pl-line-2 { animation-delay: 0.3s; }
.pl-branch { animation: pl-fade 0.4s ease forwards; }
.pl-branch-1 { animation-delay: 0.8s; } .pl-branch-2 { animation-delay: 0.9s; }
.pl-branch-3 { animation-delay: 1s; } .pl-branch-4 { animation-delay: 1.1s; }
.pl-m { animation: pl-fade 0.6s ease 1.4s forwards; stroke-dasharray: 120; stroke-dashoffset: 120; animation: pl-draw-m 0.8s ease 1.4s forwards; }
@keyframes pl-pulse { 0%,100% { opacity: 1; r: 3; } 50% { opacity: 0.6; r: 4; } }
@keyframes pl-draw { to { stroke-dashoffset: 0; } }
@keyframes pl-fade { to { opacity: 1; } }
@keyframes pl-draw-m { to { stroke-dashoffset: 0; opacity: 1; } }
.preloader-name { display: block; font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: var(--ivory); letter-spacing: 0.15em; }
.preloader-tag { display: block; font-family: var(--font-mono); font-size: 0.65rem; color: var(--mint); letter-spacing: 0.2em; margin-top: 8px; }
.preloader-status { color: var(--mint); margin-bottom: 24px; font-size: 0.7rem; }
.preloader-systems { list-style: none; text-align: left; }
.preloader-systems li { color: var(--ivory-2); font-size: 0.7rem; padding: 6px 0; opacity: 0; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s; }
.preloader-systems li.visible { opacity: 1; transform: translateY(0); }
.preloader-systems .connected { color: var(--jade); }
.preloader-ready { color: var(--jade); font-size: 0.85rem; margin-top: 24px; animation: pl-pulse-text 1s ease infinite; }
@keyframes pl-pulse-text { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

@media (prefers-reduced-motion: reduce) {
  .preloader-systems li { opacity: 1; transform: none; transition: none; }
  .pl-line, .pl-m, .pl-branch { animation: none; stroke-dashoffset: 0; opacity: 1; }
}

/* CURSOR */
.cursor {
  position: fixed; width: 24px; height: 24px; border: 1.5px solid var(--jade);
  border-radius: 50%; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}
.cursor.hover-system { width: 48px; height: 48px; background: rgba(32, 201, 151, 0.15); }
.cursor.hover-node { width: 40px; height: 40px; border-color: var(--gold); }
.cursor.hover-cta { width: 56px; height: 56px; background: rgba(32, 201, 151, 0.25); border-color: var(--jade); }
.cursor-label {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 0.6rem; color: var(--jade);
  white-space: nowrap; margin-top: 4px; opacity: 0; transition: opacity 0.2s;
}
.cursor.hover-system .cursor-label, .cursor.hover-node .cursor-label, .cursor.hover-cta .cursor-label { opacity: 1; }

/* FLOATING UI */
.live-activity {
  position: fixed; bottom: 24px; left: 24px; z-index: 100;
  background: var(--forest); color: var(--mint); padding: 12px 16px;
  border-radius: var(--radius-sm); max-width: 260px; font-size: 0.65rem;
  box-shadow: var(--shadow-lg); opacity: 0.9;
}
.live-activity-label { display: block; margin-bottom: 8px; color: var(--jade); }
.live-activity-list { list-style: none; }
.live-activity-list li {
  padding: 4px 0; border-top: 1px solid rgba(143, 227, 193, 0.15);
  animation: activity-in 0.4s ease;
}
@keyframes activity-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

.pulse-indicator, .system-mode-toggle {
  position: fixed; z-index: 100; padding: 8px 14px;
  background: var(--forest); color: var(--mint); border: 1px solid rgba(32, 201, 151, 0.3);
  border-radius: 100px; font-size: 0.65rem; cursor: pointer;
  transition: var(--transition);
}
.pulse-indicator { bottom: 24px; right: 24px; display: flex; align-items: center; gap: 8px; }
.system-mode-toggle { bottom: 72px; right: 24px; }
.pulse-indicator:hover, .system-mode-toggle:hover { border-color: var(--jade); color: var(--jade); }
body.system-mode .system-mode-toggle { background: var(--jade); color: var(--forest); }
.pulse-dot, .status-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--jade); animation: status-pulse 2s ease infinite;
}
@keyframes status-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.system-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: 0;
  background-image:
    linear-gradient(rgba(32, 201, 151, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 201, 151, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  transition: opacity 0.5s ease;
}
body.system-mode .system-grid { opacity: 1; }
body.system-mode [data-system-label]::after {
  content: attr(data-system-label);
  position: absolute; top: 8px; right: 8px;
  font-family: var(--font-mono); font-size: 0.6rem; color: var(--jade); opacity: 0.7;
}

/* HEADER */
.site-header {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 1000; width: calc(100% - 32px); max-width: 1240px;
  background: rgba(247, 245, 239, 0.85); backdrop-filter: blur(16px);
  border: 1px solid rgba(9, 35, 28, 0.08); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: var(--transition);
}
.site-header.scrolled { top: 8px; background: rgba(247, 245, 239, 0.95); }
.header-nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); }
.logo.light { color: var(--ivory); }
.logo-symbol { width: 28px; height: 28px; color: var(--jade-dark); }
.logo.light .logo-symbol { color: var(--jade); }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.12em; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.06em;
  text-decoration: none; color: var(--muted); transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-status { color: var(--jade-dark); font-size: 0.6rem; display: flex; align-items: center; gap: 6px; }
.mobile-menu-btn {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px;
}
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); transition: var(--transition); }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .header-status { display: none; }
  .mobile-menu-btn { display: flex; }
  body.menu-open .nav-links {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--ivory);
    padding: 20px; border-top: 1px solid rgba(9,35,28,0.08);
  }
}

/* HERO */
.hero { padding-top: calc(var(--header-h) + 80px); padding-bottom: 100px; min-height: 100vh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.eyebrow { color: var(--jade-dark); margin-bottom: 20px; }
.hero-headline { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.04em; margin-bottom: 24px; }
.hero-sub { font-size: 1.125rem; color: var(--muted); max-width: 480px; margin-bottom: 32px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { color: var(--muted); font-size: 0.65rem; }
.hero-visual { position: relative; min-height: 480px; }
#business-core-canvas { width: 100%; height: 480px; border-radius: var(--radius); background: var(--ivory-2); border: 1px solid rgba(9,35,28,0.06); }
.core-open-btn { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 2; }
.business-status-card {
  position: absolute; top: 24px; right: -20px; width: 220px;
  background: var(--forest); color: var(--ivory); padding: 20px;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); z-index: 3;
}
.business-status-card h3 { font-size: 0.7rem; color: var(--mint); margin-bottom: 12px; }
.status-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 0.65rem; }
.status-healthy { color: var(--jade); display: flex; align-items: center; gap: 6px; }
.status-metrics { display: grid; gap: 10px; }
.status-metrics div { display: flex; justify-content: space-between; font-size: 0.8rem; }
.status-metrics dt { color: var(--muted); font-size: 0.6rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .business-status-card { position: relative; right: auto; top: auto; width: 100%; margin-top: 16px; }
}

/* SECTION 01 · PROBLEM */
.fragmented-tools { display: flex; flex-wrap: wrap; gap: 12px; margin: 48px 0; }
.tool-chip {
  padding: 12px 20px; background: var(--ivory-2); border: 1px dashed rgba(105,120,113,0.4);
  border-radius: var(--radius-sm); color: var(--muted); font-size: 0.7rem;
  animation: chip-float 4s ease-in-out infinite;
}
.tool-chip:nth-child(odd) { animation-delay: -1s; }
.tool-chip:nth-child(3n) { animation-delay: -2s; }
@keyframes chip-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.problem-statement { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; color: var(--muted); line-height: 1.4; }

/* SECTION 02 · IDEA */
.convergence-flow { text-align: center; margin-top: 48px; }
.convergence-nodes { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 24px; }
.convergence-nodes span {
  padding: 10px 20px; border: 1px solid rgba(143,227,193,0.3);
  border-radius: 100px; font-size: 0.7rem; color: var(--mint);
}
.convergence-arrow { font-size: 1.5rem; color: var(--jade); margin: 16px 0; }
.convergence-core {
  display: inline-block; padding: 20px 48px; background: var(--jade);
  color: var(--forest); font-weight: 600; border-radius: var(--radius-sm); font-size: 0.85rem;
}
.convergence-result { color: var(--mint); margin-top: 24px; font-size: 0.8rem; }

/* SECTION 03 · CORE DIAGRAM */
.core-diagram {
  position: relative; width: 100%; max-width: 600px; height: 600px; margin: 0 auto;
}
.core-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 120px; height: 120px; background: var(--forest); color: var(--jade);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; text-align: center; z-index: 2; box-shadow: 0 0 40px rgba(32,201,151,0.3);
}
.core-node {
  position: absolute; width: 90px; height: 90px; background: var(--ivory);
  border: 1.5px solid var(--jade); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; transition: var(--transition); cursor: default;
}
.core-node:hover { background: var(--jade); color: var(--forest); transform: scale(1.08); box-shadow: var(--shadow); }
.core-node[data-node="people"] { top: 5%; left: 50%; transform: translateX(-50%); }
.core-node[data-node="work"] { top: 20%; right: 10%; }
.core-node[data-node="money"] { top: 50%; right: 0; transform: translateY(-50%); }
.core-node[data-node="customers"] { bottom: 20%; right: 10%; }
.core-node[data-node="data"] { bottom: 5%; left: 50%; transform: translateX(-50%); }
.core-node[data-node="systems"] { bottom: 20%; left: 10%; }
.core-node[data-node="automation"] { top: 50%; left: 0; transform: translateY(-50%); }
.core-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* KANBAN */
.kanban-board {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  background: var(--ivory-2); padding: 24px; border-radius: var(--radius); position: relative;
  overflow-x: auto;
}
.kanban-col h3 { font-size: 0.65rem; color: var(--muted); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(9,35,28,0.08); }
.kanban-cards { list-style: none; display: flex; flex-direction: column; gap: 8px; min-height: 120px; }
.kanban-card {
  padding: 12px; background: var(--ivory); border-radius: var(--radius-sm);
  font-size: 0.85rem; border: 1px solid rgba(9,35,28,0.06);
  animation: card-in 0.5s ease;
}
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) { .kanban-board { grid-template-columns: 1fr; } }

/* WORKFLOWS */
.workflow-pipeline { display: flex; flex-direction: column; align-items: center; gap: 0; margin-bottom: 48px; }
.workflow-step {
  padding: 14px 32px; background: rgba(32,201,151,0.1); border: 1px solid rgba(32,201,151,0.3);
  border-radius: var(--radius-sm); font-size: 0.7rem; color: var(--mint); min-width: 200px; text-align: center;
}
.workflow-step.highlight { background: var(--jade); color: var(--forest); }
.workflow-connector { color: var(--jade); padding: 8px 0; font-size: 1.25rem; }
.workflow-builder-mini { background: rgba(7,22,17,0.5); padding: 32px; border-radius: var(--radius); position: relative; }
.wf-blocks { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.wf-block {
  padding: 10px 16px; background: var(--jade-dark); color: var(--mint);
  border-radius: var(--radius-sm); font-size: 0.65rem; cursor: grab;
}
.wf-canvas { display: flex; flex-direction: column; align-items: center; gap: 0; }
.wf-node { padding: 12px 24px; background: var(--forest); border: 1px solid var(--jade); border-radius: var(--radius-sm); font-size: 0.7rem; color: var(--mint); }
.wf-arrow { color: var(--jade); padding: 6px 0; }

/* AUTOMATION */
.automation-flow { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.auto-step { padding: 24px; background: var(--ivory-2); border-radius: var(--radius); min-width: 160px; text-align: center; }
.auto-step span { display: block; color: var(--jade-dark); margin-bottom: 8px; font-size: 0.65rem; }
.auto-step p { font-size: 0.9rem; color: var(--muted); }
.auto-arrow { color: var(--jade); font-size: 1.5rem; }

/* TEAM */
.team-dashboard { background: var(--ivory-2); padding: 24px; border-radius: var(--radius); overflow-x: auto; position: relative; }
.team-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.team-table th { text-align: left; padding: 12px; color: var(--muted); font-size: 0.6rem; border-bottom: 1px solid rgba(9,35,28,0.1); }
.team-table td { padding: 12px; border-bottom: 1px solid rgba(9,35,28,0.05); }
.workload-bar { height: 6px; background: rgba(9,35,28,0.08); border-radius: 3px; overflow: hidden; min-width: 80px; }
.workload-bar div { height: 100%; background: var(--jade); border-radius: 3px; transition: width 1s ease; }

/* ORG GRAPH */
.org-graph { text-align: center; margin-bottom: 32px; }
.org-level { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.org-node {
  padding: 16px 28px; background: rgba(32,201,151,0.1); border: 1px solid rgba(32,201,151,0.3);
  border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); font-size: 0.7rem; color: var(--mint);
}
.org-node:hover, .org-node.active { background: var(--jade); color: var(--forest); }
.org-connector { color: var(--jade); padding: 12px 0; }
.org-detail { background: var(--ivory-2); padding: 24px; border-radius: var(--radius); max-width: 400px; }
.org-detail h3 { margin-bottom: 16px; color: var(--jade-dark); }
.org-detail dl div { margin-bottom: 12px; }
.org-detail dt { color: var(--muted); font-size: 0.6rem; margin-bottom: 4px; }

/* CUSTOMER JOURNEY */
.lifecycle-track { display: flex; align-items: center; flex-wrap: wrap; gap: 0; justify-content: center; margin-top: 32px; }
.lifecycle-step {
  padding: 12px 16px; background: var(--ivory-2); border-radius: var(--radius-sm);
  font-size: 0.65rem; color: var(--muted); transition: var(--transition);
}
.lifecycle-step.active { background: var(--jade-dark); color: var(--mint); }
.lifecycle-step.highlight { background: var(--jade); color: var(--forest); }
.lifecycle-line { width: 24px; height: 2px; background: var(--jade); opacity: 0.4; }

/* CRM */
.crm-workspace { background: var(--ivory-2); border-radius: var(--radius); padding: 24px; position: relative; }
.crm-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.crm-tab {
  padding: 8px 16px; background: transparent; border: 1px solid rgba(9,35,28,0.1);
  border-radius: var(--radius-sm); font-size: 0.6rem; cursor: pointer; color: var(--muted); transition: var(--transition);
}
.crm-tab.active, .crm-tab:hover { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.crm-list { list-style: none; }
.crm-list li { padding: 12px 0; border-bottom: 1px solid rgba(9,35,28,0.06); display: flex; justify-content: space-between; font-size: 0.9rem; }

/* FINANCE */
.finance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; position: relative; }
.finance-card {
  padding: 24px; background: var(--ivory-2); border-radius: var(--radius);
  border: 1px solid rgba(9,35,28,0.06);
}
.finance-card span { display: block; color: var(--muted); font-size: 0.6rem; margin-bottom: 8px; }
.finance-card strong { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; display: block; margin-bottom: 4px; }
.finance-change { font-size: 0.8rem; color: var(--muted); }
.finance-change.positive { color: var(--jade-dark); }
.finance-card.gold-accent { border-color: var(--gold); }
.finance-card.gold-accent strong { color: var(--gold); }

/* PULSE */
.pulse-viz { display: flex; align-items: center; gap: 64px; flex-wrap: wrap; justify-content: center; position: relative; }
.pulse-center {
  width: 180px; height: 180px; border-radius: 50%;
  border: 3px solid var(--jade); display: flex; flex-direction: column;
  align-items: center; justify-content: center; position: relative;
}
.pulse-center::before {
  content: ''; position: absolute; inset: -12px; border-radius: 50%;
  border: 1px solid rgba(32,201,151,0.2); animation: pulse-ring 2s ease infinite;
}
@keyframes pulse-ring { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.5; } }
.pulse-score { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--jade); line-height: 1.2; letter-spacing: 0.06em; }
.pulse-dimensions { display: flex; flex-direction: column; gap: 12px; min-width: 280px; }
.pulse-dim { display: grid; grid-template-columns: 100px 1fr 32px; align-items: center; gap: 12px; font-size: 0.65rem; color: var(--mint); }
.pulse-bar { height: 6px; background: rgba(143,227,193,0.15); border-radius: 3px; overflow: hidden; }
.pulse-bar div { height: 100%; background: var(--jade); border-radius: 3px; transition: width 1.5s ease; }

/* INTELLIGENCE FLOW */
.intel-flow { display: flex; flex-direction: column; align-items: center; gap: 0; }
.intel-step { padding: 16px 40px; background: var(--ivory-2); border: 1px solid rgba(9,35,28,0.08); border-radius: var(--radius-sm); font-size: 0.7rem; min-width: 200px; text-align: center; }
.intel-step.highlight { background: var(--jade); color: var(--forest); border-color: var(--jade); }
.intel-arrow { color: var(--jade); padding: 8px 0; }

/* AI */
.ai-interface { background: rgba(7,22,17,0.6); border-radius: var(--radius); padding: 32px; position: relative; max-width: 640px; }
.ai-chat { margin-bottom: 20px; }
.ai-msg { margin-bottom: 16px; padding: 16px; border-radius: var(--radius-sm); }
.ai-msg.user { background: rgba(32,201,151,0.1); }
.ai-msg.assistant { background: var(--forest); }
.ai-msg span { display: block; font-size: 0.6rem; color: var(--mint); margin-bottom: 8px; }
.ai-msg p { font-size: 0.95rem; line-height: 1.5; }
.ai-actions { display: flex; gap: 8px; margin-top: 12px; }
.ai-input-wrap { display: flex; gap: 8px; }
.ai-input { flex: 1; padding: 12px 16px; background: var(--dark); border: 1px solid rgba(32,201,151,0.3); border-radius: var(--radius-sm); color: var(--ivory); font-size: 0.75rem; }
.ai-input:focus { outline: 2px solid var(--jade); outline-offset: 2px; }

/* INSIGHTS */
.insights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; position: relative; }
.insight-card { padding: 24px; background: var(--ivory-2); border-radius: var(--radius); border-left: 3px solid var(--jade); }
.insight-card span { display: block; font-size: 0.6rem; color: var(--jade-dark); margin-bottom: 8px; }
.insight-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.insight-card.gold-accent { border-left-color: var(--gold); }

/* DASHBOARD */
.dashboard-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 48px; position: relative; }
.dash-card { padding: 20px; background: var(--ivory-2); border-radius: var(--radius-sm); }
.dash-card span { display: block; font-size: 0.6rem; color: var(--muted); margin-bottom: 4px; }
.dash-card strong { font-family: var(--font-display); font-size: 1.5rem; }
.dash-card.gold-accent { border: 1px solid var(--gold); }
.activity-timeline h3 { margin-bottom: 16px; color: var(--muted); }
.activity-timeline ul { list-style: none; border-left: 2px solid var(--jade); padding-left: 24px; }
.activity-timeline li { padding: 12px 0; position: relative; font-size: 0.9rem; color: var(--muted); }
.activity-timeline li::before {
  content: ''; position: absolute; left: -29px; top: 18px;
  width: 10px; height: 10px; background: var(--jade); border-radius: 50%;
}

/* OPS CENTER */
.ops-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.ops-panel {
  padding: 24px; background: rgba(32,201,151,0.08); border: 1px solid rgba(32,201,151,0.2);
  border-radius: var(--radius); font-size: 0.7rem; color: var(--mint);
  display: flex; flex-direction: column; gap: 8px; transition: var(--transition);
}
.ops-panel:hover { background: rgba(32,201,151,0.15); transform: translateY(-2px); }
.ops-panel span:last-child { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--jade); }

/* PROJECTS */
.project-card { background: var(--ivory-2); padding: 32px; border-radius: var(--radius); position: relative; border: 1px solid rgba(9,35,28,0.06); }
.project-card h3 { margin-bottom: 24px; color: var(--jade-dark); }
.project-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.project-meta dt { font-size: 0.6rem; color: var(--muted); margin-bottom: 4px; }
.project-meta dd { font-size: 0.95rem; font-weight: 500; }

/* DOCUMENTS */
.docs-workspace { background: var(--ivory-2); padding: 32px; border-radius: var(--radius); position: relative; }
.docs-list { list-style: none; }
.docs-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid rgba(9,35,28,0.06); font-size: 0.85rem;
}
.docs-link { color: var(--jade-dark); font-size: 0.75rem; }

/* KNOWLEDGE */
.knowledge-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 32px; }
.knowledge-item {
  padding: 20px; background: var(--ivory-2); border-radius: var(--radius-sm);
  text-align: center; font-size: 0.65rem; color: var(--muted);
  border: 1px solid rgba(9,35,28,0.06); transition: var(--transition); cursor: default;
}
.knowledge-item:hover { border-color: var(--jade); color: var(--jade-dark); }
.search-input, .unified-search input {
  width: 100%; padding: 16px 20px; background: var(--ivory-2);
  border: 1.5px solid rgba(9,35,28,0.1); border-radius: var(--radius);
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--text);
}
.search-input:focus, .unified-search input:focus { outline: 2px solid var(--jade); outline-offset: 2px; border-color: var(--jade); }

/* OS MAP */
.os-layers { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 500px; margin: 0 auto; }
.os-layer {
  width: 100%; padding: 14px; text-align: center;
  background: rgba(32,201,151,0.05); border: 1px solid rgba(32,201,151,0.15);
  border-radius: var(--radius-sm); font-size: 0.65rem; color: var(--mint);
  transition: var(--transition);
}
.os-layer:hover { background: rgba(32,201,151,0.12); }
.os-core {
  margin-top: 16px; padding: 20px 48px; background: var(--jade);
  color: var(--forest); border-radius: var(--radius-sm); font-weight: 600;
}

/* INTEGRATIONS */
.integration-nodes { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 20px; margin: 48px 0 16px; }
.int-node {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 24px 16px; background: var(--ivory-2); border-radius: var(--radius);
  border: 1px solid rgba(9,35,28,0.06); transition: var(--transition);
}
.int-node svg { width: 32px; height: 32px; color: var(--jade-dark); }
.int-node:hover { border-color: var(--jade); transform: translateY(-2px); }
.int-node span { font-size: 0.6rem; color: var(--muted); }
.integration-note { text-align: center; color: var(--muted); font-size: 0.65rem; }

/* SEARCH */
.unified-search { position: relative; max-width: 600px; }
.search-results { list-style: none; margin-top: 12px; }
.search-results li { padding: 12px 16px; background: var(--ivory-2); border-radius: var(--radius-sm); margin-bottom: 8px; font-size: 0.85rem; cursor: default; }
.search-results li:hover { background: rgba(32,201,151,0.1); }
.search-results .result-type { font-size: 0.6rem; color: var(--jade-dark); margin-right: 8px; }

/* COMMAND */
.command-preview { text-align: center; max-width: 480px; margin: 0 auto; }
.command-kbd { margin-bottom: 24px; }
.command-kbd kbd {
  padding: 6px 12px; background: rgba(32,201,151,0.15); border: 1px solid rgba(32,201,151,0.3);
  border-radius: 6px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--mint);
}
.command-list { list-style: none; text-align: left; }
.command-list li {
  padding: 12px 16px; border-bottom: 1px solid rgba(143,227,193,0.1);
  font-size: 0.7rem; color: var(--mint); cursor: default;
}

/* CANVAS SECTIONS */
#automation-map-canvas, #monospire-graph-canvas, #final-core-canvas {
  width: 100%; height: 400px; border-radius: var(--radius);
  background: var(--ivory-2); border: 1px solid rgba(9,35,28,0.06);
}
.section-dark #automation-map-canvas, .section-dark #monospire-graph-canvas, .section-dark #final-core-canvas {
  background: rgba(7,22,17,0.5); border-color: rgba(32,201,151,0.15);
}

/* HEALTH */
.health-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; position: relative; }
.health-item { padding: 24px; background: var(--ivory-2); border-radius: var(--radius); text-align: center; }
.health-item span:first-child { display: block; font-size: 0.6rem; color: var(--muted); margin-bottom: 12px; }
.health-status { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.health-status.strong { color: var(--jade-dark); }
.health-status.healthy { color: var(--jade); }
.health-status.balanced { color: var(--muted); }
.health-status.optimized { color: var(--jade-dark); }
.health-status.monitoring { color: var(--gold); }

/* WORKSPACE UI */
.workspace-ui {
  display: grid; grid-template-columns: 180px 1fr 220px; gap: 0;
  background: var(--ivory-2); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(9,35,28,0.08); min-height: 360px; position: relative;
}
.ws-sidebar { background: var(--forest); padding: 20px 0; display: flex; flex-direction: column; }
.ws-sidebar span { padding: 10px 20px; font-size: 0.6rem; color: var(--muted); cursor: default; }
.ws-sidebar span.active { color: var(--jade); background: rgba(32,201,151,0.1); border-left: 2px solid var(--jade); }
.ws-main { padding: 24px; }
.ws-main h3 { font-size: 0.7rem; color: var(--muted); margin-bottom: 16px; }
.ws-cards { display: flex; flex-direction: column; gap: 8px; }
.ws-card { padding: 12px; background: var(--ivory); border-radius: var(--radius-sm); font-size: 0.85rem; }
.ws-right { padding: 20px; border-left: 1px solid rgba(9,35,28,0.08); font-size: 0.85rem; }
.ws-right h4 { font-size: 0.6rem; color: var(--jade-dark); margin: 16px 0 8px; }
.ws-right h4:first-child { margin-top: 0; }
.ws-right ul { list-style: none; }
.ws-right li { padding: 4px 0; color: var(--muted); font-size: 0.8rem; }
.ws-right p { color: var(--muted); font-size: 0.8rem; }

@media (max-width: 768px) {
  .workspace-ui { grid-template-columns: 1fr; }
  .ws-sidebar { flex-direction: row; overflow-x: auto; padding: 12px; }
  .ws-sidebar span { white-space: nowrap; }
  .ws-right { border-left: none; border-top: 1px solid rgba(9,35,28,0.08); }
}

/* MOBILE MOCKUP */
.mobile-mockup { display: flex; justify-content: center; }
.mobile-screen {
  width: 280px; background: var(--forest); border-radius: 32px; padding: 32px 20px;
  border: 3px solid var(--jade-dark); position: relative;
}
.mobile-card {
  padding: 14px; background: rgba(32,201,151,0.1); border-radius: var(--radius-sm);
  margin-bottom: 8px; font-size: 0.65rem; color: var(--mint); text-align: center;
}

/* AUDIENCES */
.audience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.audience-card { padding: 32px; background: var(--ivory-2); border-radius: var(--radius); }
.audience-card.dark-card { background: var(--forest); color: var(--ivory); }
.audience-card p { color: var(--muted); margin-bottom: 20px; line-height: 1.6; }
.audience-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.audience-list li { padding: 8px 16px; background: var(--ivory); border-radius: var(--radius-sm); font-size: 0.65rem; }
.audience-flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.65rem; color: var(--mint); }
.transform-flow { display: flex; flex-direction: column; gap: 12px; font-size: 0.7rem; color: var(--muted); text-align: center; }

/* METHOD */
.method-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; list-style: none; counter-reset: method; }
.method-steps li { padding: 24px; background: var(--ivory-2); border-radius: var(--radius); position: relative; }
.method-num { display: block; color: var(--jade); font-size: 0.75rem; margin-bottom: 12px; }
.method-steps h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 8px; }
.method-steps p { font-size: 0.85rem; color: var(--muted); }

/* BEFORE / AFTER */
.split-screen {
  position: relative; height: 400px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(9,35,28,0.08);
}
.split-before, .split-after {
  position: absolute; inset: 0; padding: 48px; display: flex; flex-direction: column; justify-content: center;
}
.split-before { background: var(--ivory-2); clip-path: inset(0 50% 0 0); z-index: 2; }
.split-after { background: var(--forest); color: var(--ivory); }
.split-before h3, .split-after h3 { margin-bottom: 24px; font-size: 0.75rem; }
.split-before ul, .split-after ul { list-style: none; }
.split-before li, .split-after li { padding: 8px 0; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; }
.split-after li { color: var(--mint); }
.split-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 4px;
  background: var(--jade); cursor: ew-resize; z-index: 3;
  transform: translateX(-50%);
}
.split-handle::after {
  content: '◀ ▶'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--jade); color: var(--forest); padding: 8px 4px; border-radius: 4px;
  font-size: 0.6rem; white-space: nowrap;
}
.split-handle:focus { outline: 2px solid var(--jade); outline-offset: 2px; }

/* STORIES */
.story-flow { text-align: center; }
.story-step { padding: 16px 32px; background: var(--ivory-2); border-radius: var(--radius-sm); font-size: 0.7rem; display: inline-block; margin: 8px 0; }
.story-step.highlight { background: var(--jade); color: var(--forest); }
.story-arrow { color: var(--jade); font-size: 1.25rem; }

/* JOURNAL */
.journal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.journal-card {
  padding: 28px; background: var(--ivory-2); border-radius: var(--radius);
  cursor: default; transition: var(--transition);
}
.journal-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.journal-card span { display: block; font-size: 0.6rem; color: var(--jade-dark); margin-bottom: 12px; }
.journal-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; line-height: 1.4; }

/* CAREERS */
.roles-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.roles-list li { padding: 10px 20px; background: var(--ivory-2); border-radius: 100px; font-size: 0.7rem; color: var(--muted); }

/* ABOUT / MISSION */
.about-copy, .mission-sub { font-size: 1.25rem; color: var(--muted); max-width: 560px; line-height: 1.7; }
.section-dark .about-copy { color: var(--ivory-2); }
.mission-sub { text-align: left; }

/* CONTACT FORM */
.contact-form { max-width: 560px; display: flex; flex-direction: column; gap: 20px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.06em; color: var(--muted); }
.form-row input, .form-row select, .form-row textarea {
  padding: 14px 16px; background: var(--ivory-2); border: 1.5px solid rgba(9,35,28,0.1);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem; color: var(--text);
  transition: border-color 0.2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--jade);
  box-shadow: 0 0 0 3px rgba(32, 201, 151, 0.15);
}
.form-row input:invalid:not(:placeholder-shown) { border-color: #c0392b; }

/* FOOTER */
.site-footer { padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 2fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-tagline { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin: 16px 0; line-height: 1.4; color: var(--ivory-2); }
.footer-status { display: flex; align-items: center; gap: 8px; font-size: 0.6rem; color: var(--mint); }
.footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-nav h4 { font-size: 0.6rem; color: var(--mint); margin-bottom: 12px; }
.footer-nav a { display: block; color: var(--ivory-2); text-decoration: none; font-size: 0.85rem; padding: 4px 0; opacity: 0.7; transition: opacity 0.2s; }
.footer-nav a:hover { opacity: 1; color: var(--jade); }
.footer-social { display: flex; flex-direction: column; gap: 8px; }
.footer-social a { color: var(--ivory-2); text-decoration: none; font-size: 0.85rem; opacity: 0.7; }
.footer-social a:hover { opacity: 1; color: var(--jade); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(143,227,193,0.15); font-size: 0.75rem; color: var(--muted); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 80px 0; }
}

/* OVERLAYS */
.core-overlay {
  position: fixed; inset: 0; z-index: 9000; background: var(--dark);
  display: flex; align-items: center; justify-content: center;
}
.core-overlay[hidden] { display: none; }
#core-overlay-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.core-overlay-close {
  position: absolute; top: 24px; right: 24px; z-index: 2;
  width: 48px; height: 48px; background: rgba(32,201,151,0.15);
  border: 1px solid var(--jade); border-radius: 50%; color: var(--jade);
  font-size: 1.5rem; cursor: pointer; transition: var(--transition);
}
.core-overlay-close:hover { background: var(--jade); color: var(--forest); }
.core-overlay-label {
  position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%);
  font-size: 0.85rem; color: var(--mint); z-index: 2;
}

.pulse-overlay {
  position: fixed; inset: 0; z-index: 8500; background: rgba(7,22,17,0.92);
  display: flex; align-items: center; justify-content: center;
}
.pulse-overlay[hidden] { display: none; }
.pulse-scan { text-align: center; color: var(--mint); font-size: 0.85rem; line-height: 2; }

/* COMMAND PALETTE */
.command-palette {
  position: fixed; inset: 0; z-index: 9500; margin: 0; padding: 0;
  border: none; background: rgba(7,22,17,0.7); backdrop-filter: blur(8px);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 15vh;
}
.command-palette::backdrop { background: transparent; }
.command-palette:not([open]) { display: none; }
.command-palette-inner {
  width: 100%; max-width: 560px; background: var(--forest);
  border: 1px solid rgba(32,201,151,0.3); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.command-input {
  width: 100%; padding: 20px 24px; background: transparent; border: none;
  border-bottom: 1px solid rgba(32,201,151,0.2); color: var(--ivory);
  font-size: 0.85rem;
}
.command-input:focus { outline: none; }
.command-options { list-style: none; max-height: 320px; overflow-y: auto; }
.command-options li {
  padding: 14px 24px; font-size: 0.75rem; color: var(--mint); cursor: pointer;
  transition: background 0.15s;
}
.command-options li:hover, .command-options li.selected { background: rgba(32,201,151,0.15); color: var(--jade); }
.command-hint { padding: 12px 24px; font-size: 0.6rem; color: var(--muted); border-top: 1px solid rgba(32,201,151,0.1); }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* FOCUS STATES */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--jade); outline-offset: 2px;
}
