/* Atmosia — cinematic dark design system */
:root {
  --bg-base: #0A0F1A;
  --bg-elevated: #141B2B;
  --bg-card: #1A2235;
  --bg-glass: rgba(20, 27, 43, 0.65);
  --fg-primary: #F4F1EA;
  --fg-secondary: #A8B0C2;
  --fg-tertiary: #5B6479;
  --fg-faint: #3A4152;
  --brand-gold: #BA8E59;
  --brand-gold-bright: #D4A877;
  --brand-gold-dim: rgba(186, 142, 89, 0.14);
  --brand-navy: #1F283D;
  --brand-navy-deep: #141B2B;
  --brand-navy-light: #3E4A7D;
  --brand-green: #A9D5AE;
  --brand-green-bright: #C4EAC8;
  --brand-green-dim: rgba(169, 213, 174, 0.14);
  /* primary uses gold now */
  --brand-primary: var(--brand-gold);
  --brand-primary-bright: var(--brand-gold-bright);
  --brand-primary-dim: var(--brand-gold-dim);
  --accent-blue: #8FB8E8;
  --accent-violet: #C4A9E8;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-gold: rgba(186, 142, 89, 0.3);
  --border-green: rgba(169, 213, 174, 0.28);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --hue: 32;
}

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

html, body {
  background: var(--bg-base);
  color: var(--fg-primary);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background-image:
    radial-gradient(1200px 800px at 20% -10%, rgba(186, 142, 89, 0.07), transparent 60%),
    radial-gradient(1000px 700px at 80% 10%, rgba(143, 184, 232, 0.04), transparent 60%),
    radial-gradient(900px 600px at 50% 80%, rgba(169, 213, 174, 0.035), transparent 60%);
}

::selection { background: var(--brand-gold); color: var(--bg-base); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Typography */
.display {
  font-size: clamp(3rem, 7.2vw, 6.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}
.display .space-mobile { display: none; }
.h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; }
.h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.serif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-tertiary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 12px var(--brand-green);
}

.text-secondary { color: var(--fg-secondary); }
.text-tertiary { color: var(--fg-tertiary); }
.text-green { color: var(--brand-green); }

/* Section rhythm */
section {
  padding: 96px 0;
  position: relative;
}
.section-header { margin-bottom: 56px; max-width: 760px; }
.section-header .eyebrow { margin-bottom: 20px; }
.section-header p { margin-top: 18px; color: var(--fg-secondary); font-size: 1.125rem; max-width: 620px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all 200ms var(--ease-out);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-green);
  color: #0A1511;
  border-color: var(--brand-green-bright);
  box-shadow: 0 0 0 0 rgba(169, 213, 174, 0.0), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary:hover {
  background: var(--brand-green-bright);
  box-shadow: 0 0 40px rgba(169, 213, 174, 0.35), inset 0 1px 0 rgba(255,255,255,0.5);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--fg-primary);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
  background: var(--brand-green-dim);
}
.btn-ghost { color: var(--fg-secondary); padding: 8px 0; }
.btn-ghost:hover { color: var(--brand-green); gap: 14px; }

/* Arrow that slides on hover */
.arrow { transition: transform 200ms var(--ease-out); }
.btn:hover .arrow, a:hover .arrow { transform: translateX(3px); }

/* Cards + surfaces */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.card-glow {
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 16px 32px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 9, 15, 0.6);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out), background 200ms var(--ease-out);
}
.nav.scrolled { border-bottom-color: var(--border-subtle); background: rgba(7, 9, 15, 0.85); }
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 500;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--accent-blue) 100%);
  position: relative;
  box-shadow: 0 0 20px rgba(169, 213, 174, 0.3);
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 5px;
  background: var(--bg-base);
}
.logo-mark::before {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--accent-blue) 100%);
  z-index: 1;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 0.9375rem;
  color: var(--fg-secondary);
}
.nav-links a { transition: color 200ms; }
.nav-links a:hover { color: var(--fg-primary); }
.nav-cta { display: flex; gap: 12px; align-items: center; }

@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero-mesh {
  position: absolute;
  inset: -10% -10% -10% -10%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}
.hero-mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from 180deg at 30% 40%, rgba(169, 213, 174, 0.18), transparent 25%, rgba(42, 53, 95, 0.35) 50%, transparent 75%, rgba(196, 169, 232, 0.12)),
    conic-gradient(from 45deg at 75% 60%, rgba(143, 184, 232, 0.12), transparent 30%, rgba(169, 213, 174, 0.14) 60%, transparent);
  filter: blur(80px);
  animation: meshRotate 40s linear infinite;
}
.hero-mesh::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 20%, var(--bg-base) 80%);
}
@keyframes meshRotate {
  0%   { transform: rotate(0deg) scale(1.1); }
  50%  { transform: rotate(180deg) scale(1.3); }
  100% { transform: rotate(360deg) scale(1.1); }
}
.reduced-motion .hero-mesh::before { animation: none; }

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
  opacity: 0.4;
  z-index: 0;
}

.hero-inner { position: relative; z-index: 2; text-align: center; }

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--fg-secondary);
  margin-bottom: 32px;
}
.hero-chip-badge {
  background: var(--brand-green-dim);
  color: var(--brand-green);
  padding: 3px 10px;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1000px;
  margin: 0 auto;
}
.hero h1 em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--brand-green);
  letter-spacing: -0.02em;
}
.hero-sub {
  margin: 28px auto 0;
  max-width: 640px;
  font-size: 1.1875rem;
  color: var(--fg-secondary);
  line-height: 1.55;
}
.hero-ctas {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.8125rem;
  color: var(--fg-tertiary);
  font-family: 'JetBrains Mono', monospace;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brand-green);
}

/* Dashboard mockup in hero */
.hero-stage {
  margin: 96px auto 0;
  max-width: 1200px;
  position: relative;
  perspective: 2400px;
  padding: 0 16px;
}

/* Platform dashboard — faithful to app.atmosia.ca */
.dashboard {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0F1626;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    0 30px 80px -20px rgba(0,0,0,0.7);
  transform: rotateX(6deg) translateY(0);
  transform-origin: 50% 100%;
  transition: transform 900ms var(--ease-out);
}

.dashboard-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 640px;
}

.db-sidebar {
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 16px 12px 12px;
  background: #0B111E;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.8125rem;
  position: relative;
  min-height: 100%;
}
.db-sb-brand { padding: 2px 8px 14px; }
.db-sb-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  letter-spacing: 0.28em;
  color: var(--brand-gold);
  font-weight: 500;
}
.db-sb-switcher {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
  color: var(--fg-primary);
  font-size: 0.8125rem;
  margin-bottom: 14px;
}
.db-sb-switcher .chev { color: var(--fg-tertiary); font-size: 0.6875rem; }
.db-sb-section { display: flex; flex-direction: column; gap: 1px; margin-bottom: 10px; }
.db-sidebar .label {
  font-size: 0.6875rem;
  color: var(--fg-tertiary);
  padding: 6px 10px 6px;
  letter-spacing: 0.02em;
}
.db-sidebar .item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px;
  border-radius: 5px;
  color: var(--fg-secondary);
  transition: background 120ms;
  cursor: default;
  font-size: 0.8125rem;
}
.db-sidebar .item:hover { background: rgba(255,255,255,0.03); }
.db-sidebar .item.active {
  background: rgba(255,255,255,0.05);
  color: var(--fg-primary);
}
.db-sidebar .item i {
  width: 14px; height: 14px;
  background: transparent;
  opacity: 0.75;
  flex-shrink: 0;
  position: relative;
}
.db-sidebar .item.active i { opacity: 1; }
.db-sb-user {
  margin-top: auto;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 8px 4px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.db-sb-user .av {
  width: 28px; height: 28px; border-radius: 50%;
  background: #2A3350;
  color: var(--fg-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6875rem; font-weight: 600;
  flex-shrink: 0;
}
.db-sb-user .who { flex: 1; min-width: 0; }
.db-sb-user .nm { font-size: 0.75rem; color: var(--fg-primary); font-weight: 500; }
.db-sb-user .em { font-size: 0.6875rem; color: var(--fg-tertiary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-sb-user .out { color: var(--fg-tertiary); font-size: 0.875rem; cursor: pointer; }

.db-main {
  padding: 0;
  display: flex; flex-direction: column;
  background: #0F1626;
  overflow: hidden;
}
.db-topbar {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--fg-tertiary);
  font-size: 0.9375rem;
}
.db-topbar .spacer { flex: 1; }
.db-tb-toggle, .db-tb-icon { opacity: 0.7; cursor: pointer; }

.db-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px;
  padding: 20px 24px 18px;
}
.db-header h4 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; color: var(--fg-primary); }
.db-header .sub { font-size: 0.8125rem; color: var(--fg-secondary); margin-top: 4px; }
.db-sync-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--fg-primary);
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.db-sync-btn:hover { background: rgba(255,255,255,0.03); }

.db-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 24px 12px;
}
.db-kpis:nth-of-type(2), .db-kpis:nth-of-type(3) { grid-template-columns: repeat(3, 1fr); }
.db-kpi {
  padding: 14px 16px 16px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  background: rgba(255,255,255,0.015);
  min-height: 104px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.db-kpi-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 8px;
}
.db-kpi .lbl {
  font-size: 0.6875rem;
  color: var(--fg-tertiary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.db-kpi .chip {
  width: 26px; height: 26px;
  border-radius: 5px;
  background: rgba(80, 150, 200, 0.12);
  color: #7FB3D9;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.db-kpi .chip svg { width: 14px !important; height: 14px !important; display: block; flex-shrink: 0; }
.db-kpi .val {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--fg-primary);
  letter-spacing: -0.02em;
  margin: 6px 0 2px;
  line-height: 1.1;
}
.db-kpi .val-dash { color: var(--fg-tertiary); font-weight: 500; }
.db-kpi .sub-txt {
  font-size: 0.75rem;
  color: var(--fg-tertiary);
  margin-top: 2px;
}

.db-action-items {
  margin: 4px 24px 12px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  background: rgba(255,255,255,0.015);
}
.db-ai-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px;
}
.db-ai-title {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--fg-primary);
  font-size: 0.9375rem; font-weight: 500;
}
.db-ai-title .pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  font-size: 0.6875rem; color: var(--fg-secondary);
}
.dot-orange { width: 8px; height: 8px; border-radius: 50%; background: #E8A55A; display: inline-block; }
.db-ai-head .chev { color: var(--fg-tertiary); }
.db-ai-body {
  padding: 0 16px 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.db-ai-cat {
  font-size: 0.6875rem;
  color: #E8A55A;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.db-ai-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 6px;
}
.db-ai-icon { color: #E8A55A; font-size: 0.875rem; margin-top: 1px; }
.db-ai-row .ttl { font-size: 0.8125rem; color: var(--fg-primary); display: flex; align-items: center; gap: 8px; }
.db-ai-row .pill-sm {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px;
  background: rgba(255,255,255,0.08);
  font-size: 0.625rem; color: var(--fg-secondary);
}
.db-ai-row .sub { font-size: 0.75rem; color: var(--fg-tertiary); margin-top: 3px; }

.db-bottom {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 4px 24px 20px;
}
.db-bottom-card {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  background: rgba(255,255,255,0.015);
  padding: 14px 16px;
  min-height: 100px;
}
.db-bottom-card h6 {
  font-size: 0.9375rem; font-weight: 500;
  color: var(--fg-primary);
  margin-bottom: 12px;
}
.db-ra-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; color: var(--fg-secondary);
}
.db-ra-row .txt { flex: 1; color: var(--fg-primary); }
.db-ra-row .tag-sm { font-size: 0.6875rem; color: var(--fg-tertiary); }
.dot-green { width: 7px; height: 7px; border-radius: 50%; background: #5FBF7F; display: inline-block; }
.db-wr-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8125rem; color: var(--fg-secondary);
}
.db-wr-row .mono { font-family: 'JetBrains Mono', monospace; color: var(--fg-tertiary); font-size: 0.75rem; }
.db-lt-empty { color: var(--fg-tertiary); font-size: 1.25rem; font-weight: 500; }

/* Icon glyphs for sidebar (simple unicode — readable) */
.db-sidebar .item i.ic-dash,
.db-sidebar .item i.ic-speakers,
.db-sidebar .item i.ic-sponsors,
.db-sidebar .item i.ic-agenda,
.db-sidebar .item i.ic-waitlist,
.db-sidebar .item i.ic-attendees,
.db-sidebar .item i.ic-tickets,
.db-sidebar .item i.ic-checkin,
.db-sidebar .item i.ic-budget,
.db-sidebar .item i.ic-mous,
.db-sidebar .item i.ic-integrations,
.db-sidebar .item i.ic-content,
.db-sidebar .item i.ic-web,
.db-sidebar .item i.ic-faqs,
.db-sidebar .item i.ic-social,
.db-sidebar .item i.ic-comms {
  width: 14px; height: 14px;
  background: none;
  border-radius: 0;
  opacity: 0.7;
  position: relative;
}
.db-sidebar .item i::before {
  content: '';
  position: absolute; inset: 0;
  background: currentColor;
  opacity: 0.85;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.db-sidebar .item i.ic-dash::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><rect x='2' y='2' width='5' height='5' rx='1' fill='black'/><rect x='9' y='2' width='5' height='5' rx='1' fill='black'/><rect x='2' y='9' width='5' height='5' rx='1' fill='black'/><rect x='9' y='9' width='5' height='5' rx='1' fill='black'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><rect x='2' y='2' width='5' height='5' rx='1' fill='black'/><rect x='9' y='2' width='5' height='5' rx='1' fill='black'/><rect x='2' y='9' width='5' height='5' rx='1' fill='black'/><rect x='9' y='9' width='5' height='5' rx='1' fill='black'/></svg>"); }
.db-sidebar .item i.ic-speakers::before,
.db-sidebar .item i.ic-attendees::before,
.db-sidebar .item i.ic-waitlist::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='5' r='3' fill='black'/><path d='M2 14c0-3 3-5 6-5s6 2 6 5' fill='black'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='5' r='3' fill='black'/><path d='M2 14c0-3 3-5 6-5s6 2 6 5' fill='black'/></svg>"); }
.db-sidebar .item i.ic-sponsors::before,
.db-sidebar .item i.ic-budget::before,
.db-sidebar .item i.ic-tickets::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><rect x='2' y='4' width='12' height='9' rx='1' fill='black'/><rect x='6' y='2' width='4' height='2' fill='black'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><rect x='2' y='4' width='12' height='9' rx='1' fill='black'/><rect x='6' y='2' width='4' height='2' fill='black'/></svg>"); }
.db-sidebar .item i.ic-agenda::before,
.db-sidebar .item i.ic-content::before,
.db-sidebar .item i.ic-mous::before,
.db-sidebar .item i.ic-faqs::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><rect x='3' y='2' width='10' height='12' rx='1' fill='black'/><rect x='5' y='5' width='6' height='1' fill='white'/><rect x='5' y='8' width='6' height='1' fill='white'/><rect x='5' y='11' width='4' height='1' fill='white'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><rect x='3' y='2' width='10' height='12' rx='1' fill='black'/><rect x='5' y='5' width='6' height='1' fill='white'/><rect x='5' y='8' width='6' height='1' fill='white'/><rect x='5' y='11' width='4' height='1' fill='white'/></svg>"); }
.db-sidebar .item i.ic-checkin::before,
.db-sidebar .item i.ic-integrations::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='6' fill='none' stroke='black' stroke-width='1.5'/><path d='m5.5 8 2 2 3-4' stroke='black' stroke-width='1.5' fill='none'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='6' fill='none' stroke='black' stroke-width='1.5'/><path d='m5.5 8 2 2 3-4' stroke='black' stroke-width='1.5' fill='none'/></svg>"); }
.db-sidebar .item i.ic-web::before,
.db-sidebar .item i.ic-comms::before,
.db-sidebar .item i.ic-social::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='6' fill='none' stroke='black' stroke-width='1.2'/><path d='M2 8h12M8 2c2 2 2 10 0 12M8 2c-2 2-2 10 0 12' stroke='black' stroke-width='1' fill='none'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='6' fill='none' stroke='black' stroke-width='1.2'/><path d='M2 8h12M8 2c2 2 2 10 0 12M8 2c-2 2-2 10 0 12' stroke='black' stroke-width='1' fill='none'/></svg>"); }
.db-sidebar .item i::before { color: currentColor; }

/* ===== Pricing — matches lifecycle phase cards ===== */
.pricing { padding: 120px 0; }

.pricing-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  position: relative;
  margin-top: 56px;
}
.pricing-track::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 20%, var(--border-strong) 80%, transparent);
  pointer-events: none;
  z-index: 0;
}

.pcard {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 200ms var(--ease-out), transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
  outline: none;
}
.pcard:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.pcard:focus-visible { box-shadow: 0 0 0 2px var(--brand-gold); }
.pcard .phase-num {
  color: var(--brand-gold);
}
.pcard-fee {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--fg-tertiary);
  letter-spacing: 0.02em;
  margin: -10px 0 16px;
  font-variant-numeric: tabular-nums;
}
.pcard .phase-pills {
  flex: 1;
  margin-bottom: 20px;
}

/* Select-state footer chip inside each card */
.pcard-select-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  border-radius: 10px;
  border: 1px dashed var(--border-strong);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-tertiary);
  margin-top: auto;
  transition: all 180ms var(--ease-out);
}
.pcard:hover .pcard-select-state {
  color: var(--fg-secondary);
  border-color: var(--fg-tertiary);
}
.pcard.is-selected .pcard-select-state {
  border: 1px solid var(--brand-gold);
  border-style: solid;
  background: var(--brand-gold-dim);
  color: var(--brand-gold);
}
.pcard.is-selected .pcard-select-state::before {
  content: '';
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--brand-gold);
  position: relative;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 2px var(--bg-card);
}
.pcard.is-selected .pcard-select-state::after {
  content: 'Selected';
}
.pcard.is-selected .pcard-select-state { font-size: 0; }
.pcard.is-selected .pcard-select-state::after { font-size: 0.75rem; }

/* Selected card — strong gold accent */
.pcard.is-selected {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 1px var(--brand-gold), 0 0 60px -20px rgba(186, 142, 89, 0.5);
}
.pcard.is-selected .phase-num {
  background: var(--brand-gold-dim);
  border-color: var(--brand-gold);
}

/* Featured card subtle ambient treatment — no longer "always pulsing" since selection drives the spotlight */
.pcard-featured .phase-num {
  background: var(--brand-gold-dim);
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}
.pcard-popular {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-gold);
  background: var(--bg-base);
  padding: 4px 12px;
  border: 1px solid var(--brand-gold);
  border-radius: 100px;
  white-space: nowrap;
  z-index: 2;
}

/* Action bar that appears after selection */
.pricing-action {
  margin-top: 32px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}
.pricing-action.is-visible { opacity: 1; transform: translateY(0); }
.pricing-action-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px 16px 24px;
  border-radius: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  max-width: 560px;
  margin: 0 auto;
}
.pricing-action-summary {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.pricing-action-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-tertiary);
}
.pricing-action-plan {
  font-size: 0.9375rem;
  color: var(--fg-primary);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pricing-action-cta {
  flex-shrink: 0;
  height: 44px;
  padding: 0 22px;
}

/* Bottom strip */
.pricing-foot {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  font-size: 0.8125rem;
  color: var(--fg-tertiary);
  text-align: center;
  flex-wrap: wrap;
}
.pricing-compare {
  color: var(--fg-secondary);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pricing-compare:hover { color: var(--brand-gold); }

/* Responsive */
@media (max-width: 1023px) and (min-width: 768px) {
  .pricing-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-track::before { display: none; }
}
@media (max-width: 767px) {
  .pricing-track { grid-template-columns: 1fr; gap: 16px; }
  .pricing-track::before { display: none; }
  .pricing-foot { flex-direction: column; gap: 16px; }
}

body.reduced-motion .pcard-featured { animation: none; }

/* Callout pills floating around dashboard */
.callouts {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.callout {
  position: absolute;
  padding: 7px 12px 7px 10px;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--fg-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  animation: calloutIn 600ms var(--ease-out) forwards;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.callout::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 8px var(--brand-green);
}
@keyframes calloutIn {
  to { opacity: 1; transform: translateY(0); }
}
.callout-1 { top: 8%;  left: -2%;  animation-delay: 900ms; }
.callout-2 { top: 18%; right: -4%; animation-delay: 1100ms; }
.callout-3 { top: 52%; left: -6%;  animation-delay: 1300ms; }
.callout-4 { bottom: 24%; right: -2%; animation-delay: 1500ms; }
.callout-5 { bottom: 8%; left: 8%;  animation-delay: 1700ms; }
.callout-6 { top: 42%; right: -8%; animation-delay: 1900ms; }

.callout-line {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

@media (max-width: 900px) {
  .dashboard { transform: none; }
  .dashboard-body { grid-template-columns: 1fr; }
  .db-sidebar { display: none; }
  .db-kpis { grid-template-columns: repeat(2, 1fr); }
  .db-split { grid-template-columns: 1fr; }
  .callout { display: none; }
}

/* ---- LOGO MARQUEE ---- */
.marquee-section {
  padding: 60px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.marquee-label {
  text-align: center;
  color: var(--fg-tertiary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  padding-right: 56px;
  animation: marquee 55s linear infinite;
  flex-shrink: 0;
  align-items: center;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track-reverse { animation-direction: reverse; animation-duration: 65s; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
.sponsor-name {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--fg-tertiary);
  letter-spacing: -0.02em;
  transition: color 200ms, opacity 200ms;
  opacity: 0.6;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.sponsor-name:hover { color: var(--fg-primary); opacity: 1; }
.sponsor-name .glyph {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--brand-green);
  opacity: 0.7;
}

/* ---- LIFECYCLE TIMELINE ---- */
.lifecycle { padding: 140px 0; }
.lifecycle-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.lifecycle-track::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 20%, var(--border-strong) 80%, transparent);
}
.phase {
  padding: 28px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  position: relative;
}
.phase-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  color: var(--brand-green);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.phase-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-tertiary);
  margin-bottom: 10px;
}
.phase h3 {
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.phase-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.phase-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--fg-secondary);
  transition: all 200ms;
}
.phase-pill .tick {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  position: relative;
  flex-shrink: 0;
}
.phase-pill.on {
  background: var(--brand-green-dim);
  border-color: var(--border-green);
  color: var(--fg-primary);
}
.phase-pill.on .tick {
  background: var(--brand-green);
  border-color: var(--brand-green);
}
.phase-pill.on .tick::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(45deg, transparent 40%, var(--bg-base) 40%, var(--bg-base) 50%, transparent 50%),
                    linear-gradient(-45deg, transparent 40%, var(--bg-base) 40%, var(--bg-base) 50%, transparent 50%);
  /* simpler: just a checkmark via mask */
}
.phase-pill .n {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: var(--fg-tertiary);
}
.phase-pill.on .n { color: var(--brand-green); }

@media (max-width: 900px) {
  .lifecycle-track { grid-template-columns: 1fr; }
  .lifecycle-track::before { display: none; }
}

/* ---- AI AGENTS GRID ---- */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.agents-grid > .agent.featured {
  grid-column: span 2;
  grid-row: span 2;
}
.agent {
  padding: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: border-color 300ms var(--ease-out), background 300ms var(--ease-out);
  min-height: 168px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: default;
}
.agent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(169, 213, 174, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 300ms;
  pointer-events: none;
}
.agent:hover { border-color: var(--border-green); }
.agent:hover::before { opacity: 1; }

.agent-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(169, 213, 174, 0.3), rgba(143, 184, 232, 0.2));
  border: 1px solid var(--border-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--brand-green);
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
}
.agent-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.12), transparent 50%);
}
.agent h4 {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.agent p {
  font-size: 0.8125rem;
  color: var(--fg-tertiary);
  line-height: 1.5;
}
.agent-transcript {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--border-subtle);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: var(--fg-secondary);
  line-height: 1.55;
  min-height: 48px;
  opacity: 0.6;
  transition: opacity 300ms;
}
.agent:hover .agent-transcript { opacity: 1; }
.agent-transcript .you { color: var(--fg-tertiary); }
.agent-transcript .cursor::after {
  content: '▌';
  color: var(--brand-green);
  animation: blink 1s infinite;
  margin-left: 1px;
}
.agent.featured {
  background: linear-gradient(160deg, var(--bg-elevated) 0%, #0A1518 100%);
  border-color: var(--border-green);
}
.agent.featured h4 { font-size: 1.375rem; letter-spacing: -0.02em; }
.agent.featured p { font-size: 0.9375rem; color: var(--fg-secondary); max-width: 420px; }
.agent.featured .agent-icon { width: 44px; height: 44px; font-size: 0.9375rem; }
.agent.featured .agent-transcript { font-size: 0.8125rem; min-height: 90px; }

@media (max-width: 1100px) { .agents-grid { grid-template-columns: repeat(3, 1fr); } .agent.featured { grid-column: span 3; } }
@media (max-width: 700px)  { .agents-grid { grid-template-columns: repeat(2, 1fr); } .agent.featured { grid-column: span 2; grid-row: auto; } }

/* ---- FEATURE SHOWCASE (sticky split) ---- */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 80px 0;
  border-top: 1px solid var(--border-subtle);
}
.showcase-copy { position: sticky; top: 120px; }
.showcase-copy h3 {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.showcase-copy p {
  color: var(--fg-secondary);
  font-size: 1.0625rem;
  max-width: 480px;
  margin-bottom: 22px;
}
.showcase-badges {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.badge {
  padding: 5px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--fg-secondary);
  background: rgba(255,255,255,0.02);
}

.showcase-ui {
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.showcase-ui-chrome {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--fg-tertiary);
  gap: 12px;
}
.showcase-ui-chrome .live {
  margin-left: auto;
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.showcase-ui-chrome .live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 8px var(--brand-green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  50% { opacity: 0.4; }
}

/* showcase 1 — sponsor pipeline */
.kanban {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 16px;
  min-height: 440px;
}
.kanban-col {
  display: flex; flex-direction: column; gap: 6px;
}
.kanban-col h6 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-tertiary);
  padding: 6px 4px;
  display: flex;
  justify-content: space-between;
  font-weight: 500;
}
.kanban-card {
  padding: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: kanbanIn 500ms var(--ease-out) backwards;
}
.kanban-card.paid {
  border-color: var(--border-green);
  background: rgba(169, 213, 174, 0.04);
}
.kanban-card .co { font-weight: 500; font-size: 0.75rem; color: var(--fg-primary); }
.kanban-card .tier { color: var(--fg-tertiary); font-size: 0.6875rem; font-family: 'JetBrains Mono', monospace; }
.kanban-card .amount { font-size: 0.6875rem; color: var(--brand-green); font-family: 'JetBrains Mono', monospace; margin-top: 2px; }
.kanban-card .invoice-bar {
  height: 3px;
  background: var(--bg-base);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}
.kanban-card .invoice-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  background: var(--brand-green);
  transform-origin: left;
  animation: barFill 1200ms var(--ease-out) 600ms both;
}
@keyframes barFill {
  from { transform: scaleX(0); }
}
@keyframes kanbanIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.kanban-totals {
  padding: 14px 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.2);
  font-size: 0.8125rem;
}
.kanban-totals .tot-val {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--brand-green);
  font-weight: 400;
}

/* showcase 2 — speaker portal */
.portal {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 440px;
}
.portal-hdr {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(169, 213, 174, 0.3), rgba(42, 53, 95, 0.5));
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.375rem;
  color: var(--brand-green);
}
.portal-hdr .name { font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; }
.portal-hdr .role { font-size: 0.8125rem; color: var(--fg-tertiary); font-family: 'JetBrains Mono', monospace; }
.portal-tasks { display: flex; flex-direction: column; gap: 10px; }
.task {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: rgba(255,255,255,0.015);
  font-size: 0.875rem;
}
.task.done { border-color: var(--border-green); background: rgba(169, 213, 174, 0.04); }
.task .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  position: relative;
}
.task.done .check {
  background: var(--brand-green);
  border-color: var(--brand-green);
}
.task.done .check::after {
  content: '';
  position: absolute;
  left: 5px; top: 2px;
  width: 6px; height: 10px;
  border: solid var(--bg-base);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.task .status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: var(--fg-tertiary);
  padding: 3px 8px;
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
}
.task.done .status { color: var(--brand-green); border-color: var(--border-green); }
.task.progress .status { color: var(--accent-blue); border-color: rgba(143, 184, 232, 0.28); }

.upload-bar {
  margin-top: 4px;
  grid-column: 2 / 4;
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
}
.upload-bar > div {
  height: 100%;
  background: var(--accent-blue);
  width: 68%;
  animation: fillUp 3s ease-in-out infinite alternate;
}
@keyframes fillUp {
  from { width: 18%; }
  to { width: 92%; }
}

.bio-block {
  padding: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: rgba(255,255,255,0.015);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--fg-secondary);
}
.bio-block .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-tertiary);
  margin-bottom: 6px;
}

/* showcase 3 — content calendar */
.calendar {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 440px;
}
.cal-hdr {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--fg-tertiary);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}
.cal-day {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-subtle);
}
.cal-day:last-child { border-bottom: none; }
.cal-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--fg-tertiary);
}
.cal-date .d {
  display: block;
  font-size: 1.25rem;
  color: var(--fg-primary);
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
}
.cal-posts { display: flex; flex-direction: column; gap: 6px; }
.post {
  padding: 8px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
  font-size: 0.8125rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.post .plat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  color: var(--fg-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.post .plat::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--fg-tertiary);
  border-radius: 50%;
}
.post.tw .plat::before { background: var(--accent-blue); }
.post.li .plat::before { background: var(--accent-violet); }
.post.ig .plat::before { background: var(--brand-green); }
.post .body { color: var(--fg-secondary); }
.post.typing .body::after {
  content: '▌';
  color: var(--brand-green);
  animation: blink 1s infinite;
}
.post .imgph {
  height: 56px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 6px, rgba(255,255,255,0.01) 6px 12px);
  border-radius: 4px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  color: var(--fg-tertiary);
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .showcase-copy { position: static; order: 1; }
  .showcase-ui { order: 2; }
  .kanban { grid-template-columns: repeat(3, 1fr); overflow-x: auto; }
}

/* ---- INTEGRATIONS ---- */
.integrations-section { padding: 120px 0; }
.int-track {
  display: flex;
  gap: 12px;
  padding-right: 12px;
  align-items: center;
  animation: marquee 60s linear infinite;
  flex-shrink: 0;
}
.int-track.rev { animation-direction: reverse; animation-duration: 70s; }
.int-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--fg-secondary);
  white-space: nowrap;
  transition: all 200ms;
}
.int-chip:hover { border-color: var(--border-green); color: var(--fg-primary); }
.int-chip .dot {
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--brand-green);
  opacity: 0.7;
  flex-shrink: 0;
}
.int-chip .dot.blue { background: var(--accent-blue); }
.int-chip .dot.violet { background: var(--accent-violet); }
.int-chip .dot.amber { background: #E8C48F; }
.int-chip .dot.red { background: #E89E8F; }

.int-marquee + .int-marquee { margin-top: 12px; }
.integrations-foot {
  margin-top: 56px;
  text-align: center;
}

/* ---- CASE STUDY BLOCK ---- */
.casestudy {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  padding: 80px 56px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(42, 53, 95, 0.6), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(169, 213, 174, 0.15), transparent 60%),
    linear-gradient(180deg, #0B1228 0%, #07090F 100%);
}
.casestudy::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 70% 60%, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,0.25), transparent),
    radial-gradient(1px 1px at 85% 25%, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 15% 70%, rgba(255,255,255,0.15), transparent),
    radial-gradient(1px 1px at 55% 15%, rgba(255,255,255,0.3), transparent);
  background-size: 600px 600px;
  opacity: 0.6;
  pointer-events: none;
}
.casestudy-mountain {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 40%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(7, 9, 15, 0.6) 100%),
    linear-gradient(180deg, rgba(42, 53, 95, 0.3), rgba(42, 53, 95, 0.7));
  clip-path: polygon(0% 100%, 0% 60%, 10% 45%, 18% 55%, 28% 30%, 38% 48%, 48% 25%, 58% 40%, 70% 20%, 82% 35%, 92% 18%, 100% 42%, 100% 100%);
  opacity: 0.7;
}
.casestudy-inner { position: relative; z-index: 1; }
.casestudy-eyebrow {
  display: inline-flex;
  padding: 4px 12px;
  background: var(--brand-green-dim);
  border: 1px solid var(--border-green);
  border-radius: 100px;
  color: var(--brand-green);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.casestudy-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 720px;
}
.casestudy-title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--brand-green);
  font-weight: 400;
}
.casestudy-stats {
  display: flex;
  gap: 48px;
  margin: 40px 0 36px;
  flex-wrap: wrap;
}
.cs-stat { display: flex; flex-direction: column; gap: 4px; }
.cs-stat .num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--brand-green);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.cs-stat .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-tertiary);
}
.casestudy-quote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.3;
  max-width: 820px;
  color: var(--fg-primary);
  letter-spacing: -0.015em;
  margin-bottom: 32px;
  border-left: 2px solid var(--brand-green);
  padding-left: 24px;
}
.casestudy-quote + .cite {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  color: var(--fg-tertiary);
  letter-spacing: 0.04em;
}

@media (max-width: 700px) {
  .casestudy { padding: 48px 28px; }
  .casestudy-stats { gap: 24px; }
}

/* ---- AUDIENCE 2x2 ---- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.aud-tile {
  padding: 36px 32px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
  transition: all 300ms var(--ease-out);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.aud-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 100%, rgba(169, 213, 174, 0.12), transparent 50%);
  opacity: 0;
  transition: opacity 300ms;
  pointer-events: none;
}
.aud-tile::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  border-top: 40px solid transparent;
  border-left: 40px solid transparent;
  transition: all 300ms;
}
.aud-tile:hover { border-color: var(--border-green); transform: translateY(-2px); }
.aud-tile:hover::before { opacity: 1; }
.aud-tile:hover .aud-arrow { transform: translateX(4px) translateY(-4px); color: var(--brand-green); }

.aud-viz {
  position: absolute;
  top: 24px; right: 24px;
  width: 120px; height: 80px;
  opacity: 0.6;
  transition: opacity 300ms;
}
.aud-tile:hover .aud-viz { opacity: 1; }
.aud-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-tertiary);
  margin-bottom: 12px;
}
.aud-tile h3 {
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 340px;
}
.aud-tile p {
  color: var(--fg-secondary);
  font-size: 0.9375rem;
  margin-top: 12px;
  max-width: 380px;
}
.aud-arrow {
  align-self: flex-end;
  color: var(--fg-tertiary);
  transition: all 300ms;
  font-family: 'JetBrains Mono', monospace;
}

@media (max-width: 700px) {
  .audience-grid { grid-template-columns: 1fr; }
  .aud-tile { min-height: 200px; padding: 28px 24px; }
}

/* ---- CLOSING CTA ---- */
.closing {
  padding: 180px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 720px; height: 720px;
  transform: translate(-50%, -50%);
  background:
    conic-gradient(from 0deg, rgba(169, 213, 174, 0.25), rgba(143, 184, 232, 0.2), rgba(196, 169, 232, 0.2), rgba(169, 213, 174, 0.25));
  border-radius: 50%;
  filter: blur(80px);
  animation: auroraSpin 20s linear infinite;
  z-index: 0;
  opacity: 0.8;
}
.reduced-motion .closing::before { animation: none; }
@keyframes auroraSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.closing-inner { position: relative; z-index: 1; }
.closing h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  max-width: 900px;
  margin: 0 auto;
}
.closing h2 em { font-family: 'Instrument Serif', serif; font-style: italic; color: var(--brand-green); font-weight: 400; }
.closing-cta { margin-top: 48px; }
.closing-cta .btn-primary { padding: 18px 28px; font-size: 1rem; }
.closing-micro {
  margin-top: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  color: var(--fg-tertiary);
  letter-spacing: 0.02em;
}

/* ---- FOOTER ---- */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(0,0,0,0.3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand p {
  color: var(--fg-tertiary);
  font-size: 0.875rem;
  margin-top: 16px;
  max-width: 260px;
}
.footer-col h6 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-tertiary);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--fg-secondary); font-size: 0.875rem; transition: color 200ms; }
.footer-col a:hover { color: var(--brand-green); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--fg-tertiary);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---- TWEAKS PANEL ---- */
.tweaks-panel {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 280px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 16px;
  z-index: 100;
  font-size: 0.8125rem;
  display: none;
  flex-direction: column;
  gap: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.tweaks-panel.active { display: flex; }
.tweaks-panel h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-tertiary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tweak-row { display: flex; flex-direction: column; gap: 6px; }
.tweak-row label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: var(--fg-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hue-swatches { display: flex; gap: 6px; }
.hue-swatch {
  width: 28px; height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform 200ms, border-color 200ms;
}
.hue-swatch:hover { transform: translateY(-1px); }
.hue-swatch.active { border-color: var(--fg-primary); box-shadow: 0 0 0 1px var(--fg-primary); }
.tweak-toggle {
  display: flex;
  gap: 4px;
  padding: 3px;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}
.tweak-toggle button {
  flex: 1;
  padding: 6px 8px;
  border-radius: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: var(--fg-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 150ms;
}
.tweak-toggle button.active {
  background: var(--brand-green);
  color: var(--bg-base);
}

/* Apply tweak hue override to key accents (only affects derived tokens via filter won't work; instead toggle classes) */
.hue-violet { --brand-green: #C4A9E8; --brand-green-bright: #D9C5EF; --brand-green-dim: rgba(196, 169, 232, 0.14); --border-green: rgba(196, 169, 232, 0.28); }
.hue-blue   { --brand-green: #8FB8E8; --brand-green-bright: #A9CBEF; --brand-green-dim: rgba(143, 184, 232, 0.14); --border-green: rgba(143, 184, 232, 0.28); }
.hue-amber  { --brand-green: #E8C48F; --brand-green-bright: #EFD3A9; --brand-green-dim: rgba(232, 196, 143, 0.14); --border-green: rgba(232, 196, 143, 0.28); }

/* Reduced motion */
.reduced-motion *, .reduced-motion *::before, .reduced-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }

/* Logo image */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-img {
  height: 34px;
  width: auto;
  display: block;
  filter: brightness(1);
}
.footer-brand .logo-img { height: 40px; }

/* Utility */
.inline-icon { display: inline-block; vertical-align: middle; }


/* ---- LOGO IMAGE OVERRIDE ---- */
.nav .logo-img { height: 30px; width: auto; display: block; }
.footer-brand .logo-img { height: 40px; width: auto; display: block; }
@media (max-width: 900px) {
  .nav-cta .btn-ghost { display: none; }
  .nav .logo-img { height: 26px; }
  .nav { padding: 14px 20px; }
}


/* ---- PRIMARY = GOLD (override green primary usage, keep mint + blue as secondaries) ---- */
/* The original palette used --brand-green as the PRIMARY brand color. We now promote gold
   to primary, but keep green available for secondary accents (speaker portal completion,
   "live" indicators, positive deltas, etc). */

.btn-primary {
  background: var(--brand-gold);
  color: #1a1106;
  border-color: var(--brand-gold-bright);
  box-shadow: 0 0 0 0 rgba(186, 142, 89, 0), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover {
  background: var(--brand-gold-bright);
  box-shadow: 0 0 40px rgba(186, 142, 89, 0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-secondary:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  background: var(--brand-gold-dim);
}
.btn-ghost:hover { color: var(--brand-gold); }

/* Nav accents */
.nav .hero-chip-badge, .hero-chip-badge {
  background: var(--brand-gold-dim);
  color: var(--brand-gold);
}

/* Eyebrow dot */
.eyebrow::before { background: var(--brand-gold); box-shadow: 0 0 12px var(--brand-gold); }

/* Hero headline emphasis */
.hero h1 em, .casestudy-title em, .closing h2 em { color: var(--brand-gold); }

/* Hero meta dots */
.hero-meta span::before { background: var(--brand-gold); }

/* Dashboard tweaks */
.db-countdown {
  background: var(--brand-gold-dim);
  border-color: var(--border-gold);
  color: var(--brand-gold);
}
.db-kpi .val em { color: var(--brand-gold); }
/* Keep green for positive deltas (money received) — feels right for finance signals */
.db-kpi .delta { color: var(--brand-green); }

/* Sidebar active */
.db-sidebar .item.active {
  background: var(--brand-gold-dim);
  color: var(--brand-gold);
  border-color: var(--border-gold);
}

/* Pipeline paid — KEEP green (money) */
/* Already set — no change */

/* Agent (Claude) messages — navy-tinted with gold accent */
.db-msg.agent {
  background: rgba(186, 142, 89, 0.08);
  color: var(--fg-primary);
  border: 1px solid var(--border-gold);
}
.db-msg.agent .name { color: var(--brand-gold); }
.db-msg.typing::after { color: var(--brand-gold); }

/* Callouts — gold glow */
.callout::before { background: var(--brand-gold); box-shadow: 0 0 8px var(--brand-gold); }

/* Sponsor marquee glyph */
.sponsor-name .glyph { color: var(--brand-gold); }

/* Lifecycle */
.phase-num { color: var(--brand-gold); }
.phase-pill.on {
  background: var(--brand-gold-dim);
  border-color: var(--border-gold);
}
.phase-pill.on .tick { background: var(--brand-gold); border-color: var(--brand-gold); }
.phase-pill.on .n { color: var(--brand-gold); }

/* AI agents grid */
.agents-grid .agent:hover { border-color: var(--border-gold); }
.agents-grid .agent::before {
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(186, 142, 89, 0.1), transparent 40%);
}
.agent-icon {
  background: linear-gradient(135deg, rgba(186, 142, 89, 0.28), rgba(31, 40, 61, 0.4));
  border-color: var(--border-gold);
  color: var(--brand-gold);
}
.agent.featured { border-color: var(--border-gold); background: linear-gradient(160deg, var(--bg-elevated) 0%, #1a1510 100%); }
.agent-transcript .cursor::after { color: var(--brand-gold); }

/* Showcase chrome */
.showcase-ui-chrome .live { color: var(--brand-green); } /* KEEP mint — live/active signal */

/* Kanban paid — keep mint (money = green) */
.kanban-card.paid { border-color: var(--border-green); }
.kanban-card.paid .amount { color: var(--brand-green); }
.kanban-card.paid .invoice-bar::after { background: var(--brand-green); }
.kanban-totals .tot-val { color: var(--brand-green); }
/* Non-paid amounts in kanban — gold */
.kanban-card .amount { color: var(--brand-gold); }

/* Speaker portal avatar — gold */
.avatar {
  background: linear-gradient(135deg, rgba(186, 142, 89, 0.35), rgba(31, 40, 61, 0.6));
  color: var(--brand-gold);
}
/* Task done — KEEP mint (completion = green, universal) */

/* Calendar typing cursor — gold */
.post.typing .body::after { color: var(--brand-gold); }
/* Keep the per-platform dots: tw=blue, li=violet, ig=green (brand recognition) */

/* Integrations chips */
.int-chip:hover { border-color: var(--border-gold); }
.int-chip .dot { background: var(--brand-gold); }
.int-chip .dot.blue { background: var(--accent-blue); }
.int-chip .dot.violet { background: var(--accent-violet); }
.int-chip .dot.amber { background: #E8C48F; }
.int-chip .dot.red { background: #E89E8F; }
/* New: green dot for green-accented integrations */
.int-chip .dot.green { background: var(--brand-green); }

/* Case study */
.casestudy {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(31, 40, 61, 0.8), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(186, 142, 89, 0.18), transparent 60%),
    linear-gradient(180deg, #1a2340 0%, #0A0F1A 100%);
}
.casestudy-mountain {
  background:
    linear-gradient(180deg, transparent 0%, rgba(10, 15, 26, 0.7) 100%),
    linear-gradient(180deg, rgba(31, 40, 61, 0.3), rgba(31, 40, 61, 0.75));
}
.casestudy-eyebrow {
  background: var(--brand-gold-dim);
  border-color: var(--border-gold);
  color: var(--brand-gold);
}
.cs-stat .num { color: var(--brand-gold); }
.casestudy-quote { border-left-color: var(--brand-gold); }

/* Audience tiles — gold hover */
.aud-tile:hover { border-color: var(--border-gold); }
.aud-tile::before { background: radial-gradient(circle at 100% 100%, rgba(186, 142, 89, 0.16), transparent 50%); }
.aud-tile:hover .aud-arrow { color: var(--brand-gold); }
/* SVG viz accent — swap currentColor green fills to gold */
.aud-viz svg [fill="var(--brand-green)"],
.aud-viz svg [stroke="var(--brand-green)"] { }
/* (SVGs used literal var refs; we override below) */
.aud-viz circle[fill="var(--brand-green)"] { fill: var(--brand-gold); }
.aud-viz rect[fill="var(--brand-green)"] { fill: var(--brand-gold); }
.aud-viz rect[stroke="var(--brand-green)"] { stroke: var(--brand-gold); }
.aud-viz circle[stroke="var(--brand-green)"] { stroke: var(--brand-gold); }

/* Closing CTA aurora — gold + navy + mint */
.closing::before {
  background: conic-gradient(from 0deg, rgba(186, 142, 89, 0.3), rgba(143, 184, 232, 0.18), rgba(169, 213, 174, 0.2), rgba(31, 40, 61, 0.3), rgba(186, 142, 89, 0.3));
}

/* Footer col hover */
.footer-col a:hover { color: var(--brand-gold); }

/* Tweaks panel button active */
.tweak-toggle button.active { background: var(--brand-gold); color: var(--bg-base); }

/* Dashboard glow — gold tint */
.dashboard {
  box-shadow:
    0 0 0 1px rgba(186, 142, 89, 0.16),
    0 30px 80px -20px rgba(0, 0, 0, 0.6),
    0 0 120px -20px rgba(186, 142, 89, 0.18);
}
.dashboard::before {
  background: linear-gradient(180deg, rgba(186, 142, 89, 0.05) 0%, transparent 30%);
}

/* Bio speaker avatar label */

/* Hue swatch — add gold as default instead of green */

/* Hero mesh tint toward navy + gold */
.hero-mesh::before {
  background:
    conic-gradient(from 180deg at 30% 40%, rgba(186, 142, 89, 0.18), transparent 25%, rgba(31, 40, 61, 0.5) 50%, transparent 75%, rgba(143, 184, 232, 0.1)),
    conic-gradient(from 45deg at 75% 60%, rgba(169, 213, 174, 0.1), transparent 30%, rgba(186, 142, 89, 0.14) 60%, transparent);
  filter: blur(80px);
}


/* Hue swatch override classes — gold is baseline (no class). These override primary accents. */
.hue-green  { --brand-gold: #A9D5AE; --brand-gold-bright: #C4EAC8; --brand-gold-dim: rgba(169, 213, 174, 0.14); --border-gold: rgba(169, 213, 174, 0.28); }
.hue-blue   { --brand-gold: #8FB8E8; --brand-gold-bright: #A9CBEF; --brand-gold-dim: rgba(143, 184, 232, 0.14); --border-gold: rgba(143, 184, 232, 0.28); }
.hue-violet { --brand-gold: #C4A9E8; --brand-gold-bright: #D9C5EF; --brand-gold-dim: rgba(196, 169, 232, 0.14); --border-gold: rgba(196, 169, 232, 0.28); }


/* ---- MORE GOLD + NAVY BACKGROUND ---- */
/* Swap base surfaces to navy, promote gold in more places where mint was used. */
:root {
  --bg-base: #141B2B;
  --bg-elevated: #1A2238;
  --bg-card: #212B45;
  --bg-glass: rgba(26, 34, 56, 0.7);
}

body {
  background-image:
    radial-gradient(1200px 800px at 20% -10%, rgba(186, 142, 89, 0.12), transparent 60%),
    radial-gradient(1000px 700px at 80% 10%, rgba(186, 142, 89, 0.07), transparent 60%),
    radial-gradient(900px 600px at 50% 80%, rgba(31, 40, 61, 0.5), transparent 60%);
}

/* Nav */
.nav { background: rgba(20, 27, 43, 0.72); }
.nav.scrolled { background: rgba(20, 27, 43, 0.9); }

/* Dashboard ambient glow stronger gold */
.dashboard { background: linear-gradient(180deg, var(--bg-elevated) 0%, #141B2B 100%); }

/* Success/money signals: switch mint → gold for deltas & paid states */
.db-kpi .delta { color: var(--brand-gold); }

.kanban-card.paid {
  border-color: var(--border-gold);
  background: rgba(186, 142, 89, 0.06);
}
.kanban-card.paid .amount { color: var(--brand-gold); }
.kanban-card.paid .invoice-bar::after { background: var(--brand-gold); }
.kanban-totals .tot-val { color: var(--brand-gold); }
.kanban-col h6[style*="color:var(--brand-green)"] { color: var(--brand-gold) !important; }

/* Pipeline "paid" column heading */
#dashboard .db-col-head[style*="color:var(--brand-green)"] { color: var(--brand-gold) !important; }

/* Speaker portal — task done switch to gold */
.task.done { border-color: var(--border-gold); background: rgba(186, 142, 89, 0.05); }
.task.done .check { background: var(--brand-gold); border-color: var(--brand-gold); }
.task.done .status { color: var(--brand-gold); border-color: var(--border-gold); }

/* Showcase live indicator — gold */
.showcase-ui-chrome .live { color: var(--brand-gold); }
.showcase-ui-chrome .live::before { background: var(--brand-gold); box-shadow: 0 0 8px var(--brand-gold); }

/* Logo-mark (old placeholder) in case still referenced — gold */
.logo-mark { background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-navy-light) 100%); box-shadow: 0 0 20px rgba(186, 142, 89, 0.35); }
.logo-mark::before { background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-navy-light) 100%); }

/* Hero chip badge keep gold (already set) */

/* Callouts — gold dot (already), but slightly brighter */
.callout::before { background: var(--brand-gold-bright); box-shadow: 0 0 10px var(--brand-gold); }

/* Case study heavier navy */
.casestudy {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(31, 40, 61, 0.95), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(186, 142, 89, 0.22), transparent 60%),
    linear-gradient(180deg, #1F283D 0%, #141B2B 100%);
}

/* Closing aurora — tilt more gold */
.closing::before {
  background: conic-gradient(from 0deg,
    rgba(186, 142, 89, 0.42),
    rgba(212, 168, 119, 0.28),
    rgba(31, 40, 61, 0.3),
    rgba(186, 142, 89, 0.36),
    rgba(143, 184, 232, 0.12),
    rgba(186, 142, 89, 0.42));
}

/* Footer slightly warmer */
.footer { background: rgba(10, 14, 24, 0.5); }

/* Sponsor marquee + integrations chip bg (use new navy elevated) */
.int-chip { background: var(--bg-elevated); }
.sponsor-name:hover { color: var(--brand-gold-bright); }

/* Agent transcript cursor gold */
.agent-transcript .cursor::after { color: var(--brand-gold); }

/* KPI em serif color stay gold (already) */

/* Phase pill on state already gold — reinforce text color brighter */
.phase-pill.on { color: var(--fg-primary); }

/* Selection — gold */
::selection { background: var(--brand-gold); color: var(--bg-base); }

/* Nav border subtle gold glow on scrolled */
.nav.scrolled { border-bottom-color: rgba(186, 142, 89, 0.14); }


/* ---- BASE = #1F283D ---- */
:root {
  --bg-base: #1F283D;
  --bg-elevated: #27324C;
  --bg-card: #2E3A57;
  --bg-glass: rgba(39, 50, 76, 0.7);
}
.nav { background: rgba(31, 40, 61, 0.72); }
.nav.scrolled { background: rgba(31, 40, 61, 0.92); }
.dashboard { background: linear-gradient(180deg, var(--bg-elevated) 0%, #1F283D 100%); }
.casestudy {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(46, 58, 87, 0.95), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(186, 142, 89, 0.22), transparent 60%),
    linear-gradient(180deg, #27324C 0%, #1F283D 100%);
}
.footer { background: rgba(20, 27, 43, 0.5); }


/* ---- FORCE GOLD ON HERO EM, CASE STUDY TEXT, CLOSING, PRIMARY BTNS ---- */
.hero-inner h1 em,
.hero-inner h1 .serif,
#casestudy .casestudy-inner .casestudy-title em,
#casestudy .casestudy-inner .casestudy-quote,
#casestudy .casestudy-inner .cs-stat .num,
.closing-inner h2 em { color: #BA8E59 !important; }

#nav .btn-primary,
.hero-ctas .btn-primary,
.closing-cta .btn-primary {
  background-color: #BA8E59 !important;
  border-color: #BA8E59 !important;
  color: #1F283D !important;
}
#nav .btn-primary:hover,
.hero-ctas .btn-primary:hover,
.closing-cta .btn-primary:hover {
  background-color: #D4A877 !important;
  border-color: #D4A877 !important;
}

/* ---- MOBILE RESPONSIVE — phones (≤ 640px) ---- */
@media (max-width: 640px) {
  /* Container: tighter padding so content doesn't get cut */
  .container { padding: 0 20px; }

  /* Nav: smaller logo + button so the row fits */
  .nav { padding: 12px 0; }
  .nav-inner { padding: 0 16px; gap: 12px; }
  .logo-img { height: 36px !important; width: auto !important; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn-primary { padding: 8px 14px; font-size: 0.85rem; }

  /* Hero: typography that fits in 390px */
  .hero { padding: 110px 0 72px; min-height: auto; }
  .display {
    font-size: clamp(1.5rem, 7vw, 2.25rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .display .break-desktop { display: none; }
  .display .space-mobile { display: inline; }
  .hero-inner { padding: 0 4px; }
  .hero-sub { font-size: 0.95rem; line-height: 1.5; padding: 0 4px; }
  .hero-chip { font-size: 0.75rem; padding: 6px 12px; }
  .hero-chip-badge { font-size: 0.625rem; padding: 2px 6px; }
  .hero-meta { flex-wrap: wrap; gap: 10px 16px; font-size: 0.75rem; }
  .hero-ctas { flex-direction: column; gap: 12px; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Hero dashboard preview — already 1-col + no sidebar from 900px block,
     here we tighten paddings + scale font so KPI tiles + tabs fit cleanly */
  .hero-stage { padding: 0 12px; margin-top: 56px; perspective: none; }
  .dashboard { border-radius: 10px; }
  .dashboard-body { min-height: auto; }
  .db-topbar { padding: 12px 16px; flex-wrap: wrap; gap: 8px; }
  .db-topbar .db-tb-icon { display: none; }
  .db-content { padding: 16px !important; gap: 14px !important; }
  .db-kpis { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .db-kpi { padding: 12px !important; }
  .db-kpi .lbl, .db-tile .lbl { font-size: 0.625rem !important; }
  .db-kpi .num, .db-tile .num { font-size: 1.5rem !important; }
  .db-kpi .sub, .db-tile .sub { font-size: 0.6875rem !important; }
  .db-row, .db-split { grid-template-columns: 1fr !important; gap: 10px !important; }
  .db-card { padding: 14px !important; }

  /* Section vertical rhythm */
  section { padding: 64px 0 !important; }
  .showcase, .integrations-section, .closing { padding: 56px 0 !important; }

  /* Showcases — stack happens at 900px; here we tighten the inner UI */
  .showcase { gap: 24px !important; }
  .showcase-copy h3 { font-size: clamp(1.75rem, 6.5vw, 2.5rem); line-height: 1.1; }
  .showcase-copy p { font-size: 0.95rem; line-height: 1.55; }
  .showcase-badges { gap: 6px; flex-wrap: wrap; }
  .showcase-badges .badge { font-size: 0.7rem; padding: 4px 10px; }
  .showcase-ui-chrome { padding: 8px 12px; font-size: 0.6875rem; }

  /* Speaker portal (Showcase 02) — make the task list breathable */
  .portal { padding: 16px; min-height: auto; gap: 12px; }
  .portal-hdr { gap: 10px; padding-bottom: 12px; }
  .avatar { width: 44px; height: 44px; font-size: 1.125rem; }
  .portal-hdr .name { font-size: 0.9rem; }
  .portal-hdr .role { font-size: 0.7rem; }
  .portal-tasks { gap: 8px; }
  .task { padding: 10px 12px; font-size: 0.8125rem; gap: 10px; flex-wrap: wrap; }
  .task .status { font-size: 0.6875rem; margin-left: auto; }
  .upload-bar { width: 100%; flex-basis: 100%; }
  .bio-block { padding: 14px; font-size: 0.8125rem; }

  /* Sponsor pipeline kanban inside the showcase */
  .kanban { grid-template-columns: 1fr !important; gap: 8px; }

  /* Footer + audience already collapse at 700px elsewhere — covered. */
}

/* ---- TABLET (641-900px) — small extras ---- */
@media (min-width: 641px) and (max-width: 900px) {
  .display { font-size: clamp(3rem, 7vw, 4.5rem); }
  .hero-stage { padding: 0 24px; }
  .portal { padding: 18px; }
  .task { font-size: 0.875rem; }
}

/* ---- CONTACT SECTION ---- */
.contact-section {
  padding: 100px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.contact-copy p {
  color: var(--fg-secondary);
  line-height: 1.7;
  font-size: 1.0625rem;
  max-width: 340px;
}
.contact-alts { margin-top: 28px; }
.contact-alt-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-green);
  font-size: 0.9375rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.contact-alt-link:hover { border-color: var(--brand-green); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-field { display: flex; flex-direction: column; gap: 6px; }
.contact-field label { font-size: 0.8125rem; font-weight: 500; color: var(--fg-secondary); }
.contact-field input,
.contact-field textarea {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--fg-primary);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}
.contact-field input:focus,
.contact-field textarea:focus { border-color: var(--brand-green); }
.contact-field textarea { min-height: 110px; }
.contact-form-footer { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.contact-submit { margin-top: 4px; }
.contact-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.contact-status { font-size: 0.875rem; margin: 0; }
.contact-status-ok { color: var(--brand-green); }
.contact-status-err { color: #f87171; }

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-copy p { max-width: 100%; }
}
