:root {
  /* Brand */
  --indigo: #09009B;
  --indigo-deep: #05006A;
  --indigo-vivid: #3A2EDB;
  --lilac: #8B7FFF;
  --mist: #F2F0FF;
  --lavender: #E4E0FF;

  /* Neutrals */
  --ink: #0B0822;
  --paper: #FFFFFF;
  --paper-soft: #FAFAFB;
  --paper-warm: #F5F3F9;

  /* Accents */
  --amber: #F59E0B;
  --amber-soft: #FCD34D;
  --green: #10B981;
  --coral: #F87171;

  --muted: #6B6680;
  --line: rgba(11, 8, 34, 0.08);
  --line-strong: rgba(11, 8, 34, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--indigo); color: #fff; }
::-moz-selection { background: var(--indigo); color: #fff; }

:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 3px;
}
.btn-primary:focus-visible, .btn-amber:focus-visible, .nav-cta:focus-visible {
  outline-offset: 4px;
}

img { max-width: 100%; display: block; }
.serif { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; letter-spacing: -0.015em; }
.mono { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 0.82em; letter-spacing: 0; }
h1, h2, h3 {
  font-family: 'Instrument Serif', Georgia, serif; font-weight: 400;
  letter-spacing: -0.02em; line-height: 1.05; color: var(--ink);
}
h1 em, h2 em, h3 em { font-style: italic; }
.eyebrow {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--indigo);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ''; display: inline-block; width: 18px; height: 1px;
  background: currentColor; opacity: 0.55; flex-shrink: 0;
  vertical-align: middle; margin-right: 10px;
}
/* Suppress accent line when eyebrow is nested inside another labeled component */
.hero-eyebrow .eyebrow::before,
.breadcrumb .eyebrow::before,
.case-badge::before,
.feature-tag::before,
.timeline-phase::before { content: none; }
.hero-eyebrow .eyebrow { padding: 0; background: transparent; gap: 0; }
.section-dark .eyebrow, .cta-section .eyebrow, .testi-main .eyebrow { color: var(--amber); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 960px; margin: 0 auto; padding: 0 32px; }

/* ===== NAV ===== */
nav.site-nav {
  position: sticky; top: 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
  padding: 14px 0;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
nav.site-nav::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  opacity: 0.6; pointer-events: none;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 48px; width: auto; }
.logo-wordmark { font-family: 'Geist', sans-serif; font-weight: 700; font-size: 24px; letter-spacing: -0.025em; color: var(--indigo); line-height: 1; }
.footer-brand .logo-wordmark { color: var(--ink); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500;
  opacity: 0.72; transition: opacity 0.25s ease, color 0.25s ease;
  position: relative; padding: 6px 0;
}
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--indigo); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.2,0,0,1);
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after { transform: scaleX(1); }
.nav-links a:hover { opacity: 1; color: var(--indigo); }
.nav-links a.active { opacity: 1; color: var(--indigo); }
.nav-cta {
  background: var(--indigo); color: #fff !important;
  padding: 10px 18px; border-radius: 4px;
  font-size: 14px; font-weight: 500; opacity: 1 !important;
  transition: all 0.2s;
  border: 1px solid var(--indigo);
}
.nav-cta:hover { background: var(--indigo-deep); border-color: var(--indigo-deep); color: #fff !important; }

/* ===== BUTTONS ===== */
.btn-primary {
  background: linear-gradient(180deg, var(--indigo-vivid) 0%, var(--indigo) 55%, var(--indigo-deep) 100%);
  background-size: 100% 200%; background-position: 0 0;
  color: #fff;
  padding: 15px 26px; border-radius: 6px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background-position 0.4s cubic-bezier(0.2,0,0,1), transform 0.2s cubic-bezier(0.2,0,0,1), box-shadow 0.3s cubic-bezier(0.2,0,0,1);
  border: 1px solid var(--indigo-deep); cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.16) inset,
    0 1px 2px rgba(11,8,34,0.08),
    0 6px 14px -8px rgba(9,0,155,0.35);
}
.btn-primary:hover {
  background-position: 0 100%;
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 2px 4px rgba(11,8,34,0.1),
    0 14px 30px -10px rgba(9,0,155,0.55);
}
.btn-primary:active { transform: translateY(0); transition-duration: 0.06s; }
.btn-primary .arrow { transition: transform 0.25s cubic-bezier(0.2,0,0,1); display: inline-block; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-secondary {
  color: var(--ink); padding: 15px 2px 13px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  position: relative; transition: color 0.25s cubic-bezier(0.2,0,0,1);
  border-bottom: 1px solid var(--line-strong);
}
.btn-secondary::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--indigo); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.2,0,0,1);
}
.btn-secondary:hover { color: var(--indigo); border-color: transparent; }
.btn-secondary:hover::after { transform: scaleX(1); }
.btn-amber {
  background: linear-gradient(180deg, var(--amber-soft) 0%, var(--amber) 60%, #D97706 100%);
  background-size: 100% 200%; background-position: 0 0;
  color: var(--ink);
  padding: 15px 26px; border-radius: 6px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background-position 0.4s cubic-bezier(0.2,0,0,1), transform 0.2s cubic-bezier(0.2,0,0,1), box-shadow 0.3s cubic-bezier(0.2,0,0,1);
  border: 1px solid #D97706; cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 1px 2px rgba(11,8,34,0.06),
    0 6px 14px -8px rgba(245,158,11,0.5);
}
.btn-amber:hover {
  background-position: 0 100%;
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.45) inset,
    0 14px 28px -10px rgba(245,158,11,0.6);
}
.btn-amber:active { transform: translateY(0); transition-duration: 0.06s; }

/* ===== HERO ===== */
.hero {
  padding: 100px 0 100px; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 1100px 700px at 88% -12%, var(--lavender) 0%, transparent 58%),
    radial-gradient(ellipse 800px 560px at 6% 105%, var(--mist) 0%, transparent 52%),
    radial-gradient(circle 360px at 65% 110%, rgba(245,158,11,0.08) 0%, transparent 70%),
    var(--paper);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.04 0 0 0 0 0.03 0 0 0 0 0.13 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.45'/></svg>");
  opacity: 0.35; mix-blend-mode: multiply;
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--paper));
}
.hero > * { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px; padding: 7px 14px 7px 12px;
  background: rgba(255,255,255,0.7); border: 1px solid var(--line);
  border-radius: 100px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 4px 14px -6px rgba(11,8,34,0.08);
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--indigo);
  box-shadow: 0 0 0 4px rgba(9,0,155,0.14);
  animation: heroPulse 2.4s cubic-bezier(0.4,0,0.2,1) infinite;
}
@keyframes heroPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(9,0,155,0.12); }
  50% { box-shadow: 0 0 0 7px rgba(9,0,155,0.04); }
}
.hero h1 {
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.98; letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero h1 em { font-style: italic; font-weight: 300; color: var(--indigo); }
.hero h1 .underline { position: relative; display: inline-block; }
.hero h1 .underline::after {
  content: ''; position: absolute; left: 0; bottom: 0.06em; width: 100%; height: 0.14em;
  background: var(--amber); opacity: 0.8; z-index: -1; border-radius: 2px;
}
.hero-sub {
  font-size: 20px; line-height: 1.5; color: var(--muted);
  max-width: 560px; margin-bottom: 36px;
}
.hero-sub strong { color: var(--ink); font-weight: 500; }
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-proof { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-proof-item { font-size: 13px; color: var(--muted); }
.hero-proof-item strong { display: block; color: var(--ink); font-family: 'Instrument Serif', serif; font-size: 22px; font-weight: 500; margin-bottom: 2px; }

.hero-visual { position: relative; }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 72px 0 60px; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 800px 400px at 90% 0%, var(--mist) 0%, transparent 55%),
    var(--paper);
}
.page-hero .eyebrow { display: block; margin-bottom: 18px; }
.page-hero h1 {
  font-size: clamp(42px, 5.5vw, 78px);
  line-height: 1.02; letter-spacing: -0.03em;
  margin-bottom: 24px; max-width: 960px;
}
.page-hero h1 em { font-style: italic; font-weight: 300; color: var(--indigo); }
.page-hero .lede { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 640px; }
.page-hero .lede strong { color: var(--ink); font-weight: 500; }
.page-hero-ctas { margin-top: 36px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.breadcrumb {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--muted); margin-bottom: 32px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--indigo); }
.breadcrumb span { color: var(--amber); margin: 0 10px; }

/* ===== ICP BAND ===== */
.icp-band {
  background: var(--ink); color: var(--paper); padding: 72px 0; position: relative;
  background-image: radial-gradient(ellipse 800px 500px at 100% 0%, rgba(58,46,219,0.25) 0%, transparent 60%);
}
.icp-band::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber) 30%, var(--indigo-vivid) 70%, transparent);
  opacity: 0.8;
}
.icp-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: center; }
.icp-label { color: var(--amber); font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px; }
.icp-title { font-size: clamp(32px,3.5vw,46px); line-height: 1.05; letter-spacing: -0.025em; color: var(--paper); }
.icp-title em { font-style: italic; color: var(--amber-soft); font-weight: 300; }
.icp-body { font-size: 17px; color: rgba(255,255,255, 0.72); line-height: 1.6; }
.icp-body p + p { margin-top: 16px; }
.icp-body strong { color: var(--paper); font-weight: 500; }

/* ===== TWO PILLARS SPLIT ===== */
.pillars-section { padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillars-grid { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); }
.pillar-col {
  padding: 72px 56px; position: relative;
  transition: background 0.3s;
  background: var(--paper);
}
.pillar-col:not(:last-child) { border-right: 1px solid var(--line); }
.pillar-col.p1 { background: linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%); }
.pillar-col.p2 { background: linear-gradient(180deg, var(--paper) 0%, rgba(245,158,11,0.06) 100%); }
.pillar-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em;
  padding: 6px 12px; border-radius: 100px;
  margin-bottom: 24px;
}
.pillar-badge.p1 { background: var(--indigo); color: #fff; }
.pillar-badge.p2 { background: var(--amber); color: var(--ink); }
.pillar-col h3 { font-family: 'Instrument Serif', serif; font-size: clamp(32px,3.5vw,44px); letter-spacing: -0.025em; line-height: 1.05; font-weight: 400; margin-bottom: 16px; }
.pillar-col h3 em { font-style: italic; color: var(--indigo); font-weight: 300; }
.pillar-col p.lede { font-size: 17px; color: var(--muted); line-height: 1.55; margin-bottom: 28px; max-width: 460px; }
.pillar-price {
  font-family: 'Instrument Serif', serif; font-size: 28px;
  color: var(--ink); letter-spacing: -0.02em; margin-bottom: 28px;
  padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
.pillar-price .unit { font-size: 13px; font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; color: var(--muted); margin-left: 8px; text-transform: uppercase; letter-spacing: 0.1em; }
.pillar-list { list-style: none; margin-bottom: 32px; }
.pillar-list li { padding: 7px 0; font-size: 14px; display: flex; gap: 12px; line-height: 1.5; }
.pillar-list li::before { content: '→'; color: var(--amber); flex-shrink: 0; font-weight: 500; }
.pillar-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--ink); padding-bottom: 4px; transition: gap 0.2s;
}
.pillar-link:hover { gap: 14px; color: var(--indigo); border-color: var(--indigo); }

/* ===== CRO BAND ===== */
.cro-band { padding: 100px 0; background: var(--paper-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cro-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.cro-head h2 { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 20px; }
.cro-head h2 em { font-style: italic; font-weight: 300; color: var(--indigo); }
.cro-head p { font-size: 17px; color: var(--muted); line-height: 1.6; }
.cro-pains { display: flex; flex-direction: column; }
.cro-pain { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cro-pain:last-child { border-bottom: none; }
.cro-pain-icon {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; color: #fff; background: var(--indigo);
  font-size: 12px; letter-spacing: 0.1em;
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
  font-weight: 500;
}
.cro-pain-title { font-family: 'Instrument Serif', serif; font-size: 20px; letter-spacing: -0.015em; margin-bottom: 6px; }
.cro-pain-body { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ===== THESIS ===== */
.thesis { padding: 120px 0; position: relative; }
.thesis-head { max-width: 780px; margin-bottom: 64px; }
.thesis h2 { font-size: clamp(42px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.03em; }
.thesis h2 em { font-style: italic; color: var(--indigo); font-weight: 300; }
.thesis-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.step { padding: 48px 40px; position: relative; background: var(--paper); transition: background 0.2s; }
.step:hover { background: var(--paper-soft); }
.step:not(:last-child) { border-right: 1px solid var(--line); }
.step-num {
  font-family: 'Instrument Serif', serif; font-size: 72px; font-weight: 300;
  line-height: 1; color: var(--indigo); margin-bottom: 20px; letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-vivid) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.step-title { font-family: 'Instrument Serif', serif; font-size: 30px; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 14px; line-height: 1.1; }
.step-duration { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px; color: var(--amber); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
.step-body { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 24px; }
.step-body strong { color: var(--ink); font-weight: 500; }
.step-detail { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px; letter-spacing: 0.06em; color: var(--ink); padding-top: 18px; border-top: 1px solid var(--line); line-height: 1.9; }
.step-detail span { display: block; }
.step-detail span::before { content: '→ '; color: var(--amber); }

/* ===== STACK ===== */
.stack-section { background: var(--paper-warm); padding: 120px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stack-head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; margin-bottom: 64px; align-items: end; }
.stack-head h2 { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.05; letter-spacing: -0.03em; }
.stack-head h2 em { font-style: italic; color: var(--indigo); font-weight: 300; }
.stack-head-sub { font-size: 17px; color: var(--muted); line-height: 1.6; max-width: 480px; }
.stack-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.stack-layers { display: flex; flex-direction: column; gap: 10px; }
.layer { padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; display: flex; align-items: center; gap: 18px; transition: all 0.2s; position: relative; }
.layer:hover { border-color: var(--indigo); transform: translateX(-4px); box-shadow: 0 8px 24px -12px rgba(9,0,155,0.25); }
.layer-num { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px; color: var(--muted); min-width: 22px; }
.layer-content { flex: 1; }
.layer-title { font-family: 'Instrument Serif', serif; font-size: 18px; letter-spacing: -0.015em; margin-bottom: 3px; }
.layer-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }
.layer:nth-child(1) { border-left: 3px solid var(--amber); }
.layer:nth-child(2) { border-left: 3px solid var(--lilac); }
.layer:nth-child(3) { border-left: 3px solid var(--indigo-vivid); }
.layer:nth-child(4) { border-left: 3px solid var(--indigo); }
.layer:nth-child(5) { border-left: 3px solid var(--ink); }

.stack-methodology {
  padding: 44px 40px; color: var(--paper); border-radius: 8px;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-deep) 60%, #000028 100%);
}
.stack-methodology::before {
  content: 'X'; position: absolute; right: -30px; bottom: -100px;
  font-family: 'Instrument Serif', serif; font-size: 340px;
  color: var(--amber); opacity: 0.15; line-height: 1; font-weight: 300;
}
.methodology-label { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px; color: var(--amber); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
.methodology-title { font-family: 'Instrument Serif', serif; font-size: 34px; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 22px; font-weight: 400; color: var(--paper); }
.methodology-title em { font-style: italic; font-weight: 300; color: var(--amber-soft); }
.methodology-body { font-size: 15px; line-height: 1.6; color: rgba(255,255,255, 0.78); margin-bottom: 26px; }
.methodology-letters { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 22px; position: relative; z-index: 1; }
.ml { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-family: 'Instrument Serif', serif; font-size: 22px; font-weight: 400; background: rgba(255,255,255, 0.06); border: 1px solid rgba(255,255,255, 0.14); border-radius: 4px; transition: all 0.2s; color: #fff; }
.ml:hover { background: rgba(245, 158, 11, 0.16); border-color: var(--amber); }
.ml.accent { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.methodology-foot { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px; color: rgba(255,255,255, 0.6); letter-spacing: 0.04em; line-height: 1.8; position: relative; z-index: 1; }

/* ===== PROOF ===== */
.proof { padding: 120px 0 80px; }
.proof-head { margin-bottom: 60px; max-width: 700px; }
.proof-head h2 { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 16px; }
.proof-head h2 em { font-style: italic; font-weight: 300; color: var(--indigo); }
.proof-head .eyebrow { margin-bottom: 20px; display: block; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); margin-bottom: 80px; }
.metric { padding: 40px 0 32px; border-bottom: 1px solid var(--ink); }
.metric:not(:last-child) { border-right: 1px solid var(--line); padding-right: 32px; }
.metric:not(:first-child) { padding-left: 32px; }
.metric-value {
  font-family: 'Instrument Serif', serif; font-size: 68px; line-height: 1; letter-spacing: -0.04em;
  color: var(--ink); font-weight: 400; margin-bottom: 10px;
  font-feature-settings: 'tnum', 'lnum', 'ss01';
}
.metric-value sub { font-size: 0.42em; color: var(--amber); vertical-align: baseline; margin-right: 4px; font-weight: 500; }
.metric-label { font-size: 14px; color: var(--muted); line-height: 1.4; }

.testimonials { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; margin-bottom: 60px; }
.testi-main {
  color: var(--paper); padding: 52px 44px; border-radius: 12px; position: relative;
  background:
    radial-gradient(ellipse 600px 300px at 100% 0%, rgba(58,46,219,0.55) 0%, transparent 60%),
    linear-gradient(135deg, var(--indigo) 0%, var(--indigo-deep) 70%, #07003F 100%);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 24px 60px -22px rgba(9,0,155,0.45),
    0 4px 12px -4px rgba(11,8,34,0.12);
}
.testi-main::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.4'/></svg>");
  opacity: 0.06; mix-blend-mode: overlay;
}
.testi-main::before { content: '"'; position: absolute; top: 14px; left: 36px; font-family: 'Instrument Serif', serif; font-size: 180px; line-height: 1; color: var(--amber); opacity: 0.3; }
.testi-quote { font-family: 'Instrument Serif', serif; font-size: 24px; font-weight: 300; font-style: italic; line-height: 1.35; letter-spacing: -0.015em; margin-bottom: 32px; margin-top: 40px; position: relative; }
.testi-attr { display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.15); }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--amber); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: 'Instrument Serif', serif; font-size: 18px; font-weight: 500; }
.testi-name { font-weight: 500; font-size: 14px; color: #fff; }
.testi-role { font-size: 13px; color: rgba(255,255,255, 0.6); }

.testi-side { display: flex; flex-direction: column; gap: 20px; }
.testi-card { padding: 26px; background: var(--mist); border-left: 2px solid var(--indigo); border-radius: 4px; }
.testi-card-quote { font-family: 'Instrument Serif', serif; font-size: 16px; font-style: italic; line-height: 1.5; margin-bottom: 14px; color: var(--ink); }
.testi-card-attr { font-size: 12px; color: var(--muted); }
.testi-card-attr strong { color: var(--ink); font-weight: 500; }

/* ===== LOGOS ===== */
.logos-bar { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-soft); }
.logos-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.logos-label { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); white-space: nowrap; }
.logos-list { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; flex: 1; justify-content: flex-end; }
.logos-list span { font-family: 'Instrument Serif', serif; font-size: 18px; font-weight: 500; color: var(--ink); opacity: 0.55; transition: opacity 0.2s; letter-spacing: -0.01em; cursor: default; }
.logos-list span:hover { opacity: 1; color: var(--indigo); }
.logos-list img {
  height: 64px;
  width: 132px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  box-sizing: border-box;
  opacity: 0.92;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.logos-list img:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 8, 34, 0.06);
}

/* ===== HOW / FAQ ===== */
.how { padding: 120px 0; }
.how-head { max-width: 760px; margin-bottom: 64px; }
.how-head h2 { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.05; letter-spacing: -0.03em; }
.how-head h2 em { font-style: italic; font-weight: 300; color: var(--indigo); }
.how-head .eyebrow { display: block; margin-bottom: 20px; }
.how-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.how-item { padding-top: 28px; border-top: 2px solid var(--ink); }
.how-item-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.how-item-num { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 12px; color: var(--amber); font-weight: 500; }
.how-item-title { font-family: 'Instrument Serif', serif; font-size: 26px; letter-spacing: -0.02em; font-weight: 400; line-height: 1.15; }
.how-item-body { font-size: 15px; color: var(--muted); line-height: 1.6; max-width: 460px; }

/* ===== CTA ===== */
.cta-section {
  color: var(--paper); padding: 140px 0; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 700px 500px at 90% 100%, rgba(245,158,11,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 800px 600px at 10% 0%, rgba(58,46,219,0.45) 0%, transparent 55%),
    linear-gradient(135deg, var(--indigo) 0%, var(--indigo-deep) 60%, #030020 100%);
}
.cta-section::before {
  content: ''; position: absolute; top: -260px; right: -260px; width: 760px; height: 760px;
  border: 1px solid rgba(255,255,255, 0.05); border-radius: 50%;
  background: radial-gradient(circle at center, transparent 60%, rgba(255,255,255,0.02) 100%);
}
.cta-section::after {
  content: ''; position: absolute; top: -140px; right: -140px; width: 520px; height: 520px;
  border: 1px solid rgba(255,255,255, 0.08); border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.4'/></svg>");
  background-size: 200px; background-position: center;
}
.cta-inner { position: relative; z-index: 1; max-width: 820px; }
.cta-section .eyebrow { color: var(--amber); display: block; margin-bottom: 22px; }
.cta-section h2 { font-size: clamp(44px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 36px; color: var(--paper); }
.cta-section h2 em { font-style: italic; color: var(--amber); font-weight: 300; }
.cta-section .sub { font-size: 19px; line-height: 1.55; color: rgba(255,255,255, 0.75); margin-bottom: 44px; max-width: 640px; }
.cta-buttons { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.cta-section .btn-primary { background: var(--amber); color: var(--ink); border-color: var(--amber); box-shadow: 0 8px 24px -10px rgba(245,158,11,0.6); }
.cta-section .btn-primary:hover { background: var(--amber-soft); border-color: var(--amber-soft); }
.cta-section .btn-secondary { color: var(--paper); border-color: rgba(255,255,255, 0.35); }
.cta-section .btn-secondary:hover { color: var(--amber); border-color: var(--amber); }

/* ===== FOOTER ===== */
footer.site-footer { padding: 64px 0 36px; border-top: 1px solid var(--line); background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 18px; }
.footer-tagline { font-family: 'Instrument Serif', serif; font-size: 16px; font-style: italic; color: var(--muted); max-width: 300px; line-height: 1.5; }
.footer-col h4 { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 16px; font-weight: 500; }
.footer-col a { display: block; color: var(--ink); text-decoration: none; font-size: 14px; margin-bottom: 10px; opacity: 0.75; transition: all 0.2s; }
.footer-col a:hover { opacity: 1; color: var(--indigo); }
.footer-bottom { padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted); }

/* ===== SECTION UTILS ===== */
.section { padding: 120px 0; }
.section-alt { background: var(--paper-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-mist { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--ink); color: var(--paper); background-image: radial-gradient(ellipse 800px 500px at 100% 0%, rgba(58,46,219,0.25) 0%, transparent 60%); }
.section-dark h2 { color: var(--paper); }
.section-dark h2 em { color: var(--amber-soft); }
.section-dark p { color: rgba(255,255,255, 0.7); }
.section-dark .eyebrow { color: var(--amber); }
.section-head { max-width: 820px; margin-bottom: 60px; }
.section-head .eyebrow { display: block; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 16px; }
.section-head h2 em { font-style: italic; color: var(--indigo); font-weight: 300; }
.section-head p { font-size: 17px; color: var(--muted); line-height: 1.6; max-width: 640px; }
.section-dark .section-head h2 em { color: var(--amber-soft); }

/* ===== FEATURE GRID ===== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-card {
  background: var(--paper); padding: 36px 30px;
  transition: transform 0.4s cubic-bezier(0.2,0,0,1), box-shadow 0.4s cubic-bezier(0.2,0,0,1), border-color 0.25s ease;
  border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 1px 2px rgba(11,8,34,0.03);
  position: relative;
}
.feature-card:hover {
  border-color: var(--line-strong); transform: translateY(-5px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 4px 10px -4px rgba(11,8,34,0.08),
    0 24px 50px -22px rgba(9,0,155,0.28);
}
.feature-num {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px; color: #fff;
  background: var(--indigo); letter-spacing: 0.14em;
  padding: 4px 10px; border-radius: 3px; display: inline-block;
  margin-bottom: 22px; font-weight: 500;
}
.feature-title { font-family: 'Instrument Serif', serif; font-size: 22px; letter-spacing: -0.015em; line-height: 1.2; font-weight: 400; margin-bottom: 12px; }
.feature-body { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.feature-tag { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 10px; letter-spacing: 0.08em; padding: 4px 9px; background: var(--mist); color: var(--indigo); border-radius: 3px; text-transform: uppercase; font-weight: 500; }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding: 8px 0 0; }
.timeline::before { content: ''; position: absolute; left: 32px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-left: 80px; padding-bottom: 48px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: 24px; top: 8px; width: 18px; height: 18px; background: var(--paper); border: 2px solid var(--indigo); border-radius: 50%; z-index: 1; }
.timeline-item.active::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 6px rgba(245,158,11,0.2); }
.timeline-month { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px; letter-spacing: 0.16em; color: var(--amber); text-transform: uppercase; margin-bottom: 6px; font-weight: 500; }
.timeline-phase { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 10px; color: var(--indigo); background: var(--mist); padding: 3px 8px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.14em; display: inline-block; margin-bottom: 10px; font-weight: 500; }
.timeline-title { font-family: 'Instrument Serif', serif; font-size: 26px; letter-spacing: -0.02em; line-height: 1.15; font-weight: 400; margin-bottom: 10px; }
.timeline-body { font-size: 15px; color: var(--muted); line-height: 1.6; max-width: 680px; }
.timeline-body ul { padding-left: 18px; margin-top: 12px; }
.timeline-body li { padding: 3px 0; }

/* ===== INTEGRATIONS ===== */
.integrations { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.integration {
  background: var(--paper); aspect-ratio: 2/1; display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Instrument Serif', serif; font-weight: 500; color: var(--ink); opacity: 0.92;
  transition: transform 0.3s cubic-bezier(0.2,0,0,1), box-shadow 0.3s cubic-bezier(0.2,0,0,1), border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
  padding: 0 12px; text-align: center; font-size: 15px; letter-spacing: -0.01em;
  border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 1px 2px rgba(11,8,34,0.03);
}
.integration:hover {
  opacity: 1; border-color: var(--line-strong); background: var(--paper);
  color: var(--indigo); transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 12px 24px -10px rgba(9,0,155,0.2);
}
.integration-logo { width: 22px; height: 22px; object-fit: contain; filter: grayscale(100%); opacity: 0.65; transition: filter 0.25s ease, opacity 0.25s ease; flex-shrink: 0; }
.integration:hover .integration-logo { filter: none; opacity: 1; }

/* ===== COMPARISON ===== */
.compare-wrap { overflow-x: auto; border-radius: 8px; border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; background: var(--paper); }
.compare th, .compare td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.compare thead th { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 500; border-bottom: 2px solid var(--ink); background: var(--paper-soft); }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; }
.compare td:first-child { font-weight: 500; }
.compare thead th.hi { background: var(--indigo); color: #fff; }
.compare td.hi { background: rgba(9,0,155,0.05); font-weight: 500; }
.compare .check { color: var(--green); font-weight: 600; font-size: 18px; }
.compare .partial { color: var(--amber); font-weight: 500; font-size: 13px; }
.compare .cross { color: var(--muted); font-size: 16px; opacity: 0.5; }
.compare tr:last-child td { border-bottom: none; }

/* ===== TEAM ===== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-card { padding: 28px 0; border-top: 1px solid var(--line); }
.team-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-vivid) 100%); color: var(--amber); display: flex; align-items: center; justify-content: center; font-family: 'Instrument Serif', serif; font-size: 24px; font-weight: 500; margin-bottom: 22px; }
.team-name { font-family: 'Instrument Serif', serif; font-size: 20px; letter-spacing: -0.015em; margin-bottom: 3px; }
.team-role { font-size: 13px; color: var(--indigo); font-weight: 500; margin-bottom: 12px; }
.team-bio { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ===== CASE STUDIES ===== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
  padding: 36px 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  display: flex; flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.2,0,0,1), box-shadow 0.4s cubic-bezier(0.2,0,0,1), border-color 0.25s ease;
  text-decoration: none; color: inherit;
  box-shadow: 0 1px 2px rgba(11,8,34,0.03);
}
.case-card:hover {
  border-color: var(--line-strong); transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 4px 10px -4px rgba(11,8,34,0.08),
    0 24px 50px -22px rgba(9,0,155,0.28);
}
.case-badge { display: inline-block; font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 10px; color: var(--indigo); background: var(--mist); padding: 4px 9px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; margin-bottom: 18px; align-self: flex-start; }
.case-logo { font-family: 'Instrument Serif', serif; font-size: 22px; font-weight: 500; margin-bottom: 22px; color: var(--ink); letter-spacing: -0.015em; min-height: 48px; display: flex; align-items: center; }
.case-logo img { max-height: 44px; max-width: 180px; width: auto; height: auto; object-fit: contain; object-position: left center; opacity: 0.92; transition: opacity 0.25s ease; }
.case-card:hover .case-logo img { opacity: 1; }
.case-headline { font-family: 'Instrument Serif', serif; font-size: 22px; letter-spacing: -0.02em; font-weight: 400; line-height: 1.2; margin-bottom: 14px; }
.case-body { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 26px; flex: 1; }
.case-metrics { display: flex; gap: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.case-metric-value { font-family: 'Instrument Serif', serif; font-size: 28px; letter-spacing: -0.02em; color: var(--indigo); line-height: 1; margin-bottom: 4px; font-weight: 500; }
.case-metric-label { font-size: 10px; color: var(--muted); font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; letter-spacing: 0.1em; text-transform: uppercase; }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pricing-card { padding: 40px 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; display: flex; flex-direction: column; }
.pricing-card.featured {
  background: linear-gradient(160deg, var(--indigo) 0%, var(--indigo-deep) 100%);
  color: var(--paper); border-color: var(--indigo);
  box-shadow: 0 24px 60px -20px rgba(9,0,155,0.35);
  position: relative; transform: scale(1.02);
}
.pricing-card.featured::before { content: 'MOST POPULAR'; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--amber); color: var(--ink); padding: 4px 12px; font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 10px; font-weight: 500; letter-spacing: 0.14em; border-radius: 3px; }
.pricing-name { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; font-weight: 500; }
.pricing-price { font-family: 'Instrument Serif', serif; font-size: 44px; letter-spacing: -0.025em; line-height: 1; margin-bottom: 8px; font-weight: 400; }
.pricing-price .unit { font-size: 14px; color: var(--muted); margin-left: 8px; font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; }
.pricing-card.featured .pricing-price .unit { color: rgba(255,255,255,0.6); }
.pricing-sub { font-size: 13px; color: var(--muted); margin-bottom: 26px; line-height: 1.5; }
.pricing-card.featured .pricing-sub { color: rgba(255,255,255, 0.7); }
.pricing-list { list-style: none; padding: 22px 0; border-top: 1px solid var(--line); margin-bottom: 26px; flex: 1; }
.pricing-card.featured .pricing-list { border-top-color: rgba(255,255,255, 0.15); }
.pricing-list li { padding: 7px 0; font-size: 14px; display: flex; gap: 10px; line-height: 1.5; }
.pricing-list li::before { content: '→'; color: var(--amber); flex-shrink: 0; font-weight: 500; }
.pricing-card.featured .btn-primary { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.pricing-card.featured .btn-primary:hover { background: var(--amber-soft); border-color: var(--amber-soft); }

/* ===== FAQ ===== */
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); padding: 32px 0; display: grid; grid-template-columns: 80px 1fr 2fr; gap: 40px; align-items: start; }
.faq-num { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px; color: var(--amber); letter-spacing: 0.12em; padding-top: 6px; font-weight: 500; }
.faq-q { font-family: 'Instrument Serif', serif; font-size: 22px; letter-spacing: -0.015em; line-height: 1.2; font-weight: 400; }
.faq-a { font-size: 15px; color: var(--muted); line-height: 1.6; }
.faq-a strong { color: var(--ink); font-weight: 500; }

/* ===== SPICED-X LETTERS ===== */
.letter-row { display: grid; grid-template-columns: 160px 1fr 1.6fr; gap: 48px; padding: 44px 0; border-top: 1px solid var(--line); align-items: start; }
.letter-row:first-child { border-top: 2px solid var(--ink); }
.letter-big { font-family: 'Instrument Serif', serif; font-size: 100px; line-height: 0.9; letter-spacing: -0.04em; color: var(--ink); font-weight: 300; }
.letter-big.accent {
  background: linear-gradient(135deg, var(--amber) 0%, #D97706 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.letter-title-col .letter-tag { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px; letter-spacing: 0.16em; color: var(--indigo); text-transform: uppercase; margin-bottom: 14px; display: block; font-weight: 500; }
.letter-title-col .letter-title { font-family: 'Instrument Serif', serif; font-size: 28px; letter-spacing: -0.02em; line-height: 1.15; font-weight: 400; margin-bottom: 14px; }
.letter-body-col .letter-body { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.letter-example { padding: 16px 20px; background: var(--mist); border-left: 3px solid var(--indigo); border-radius: 4px; font-size: 13px; color: var(--ink); font-style: italic; font-family: 'Instrument Serif', serif; line-height: 1.5; }

/* ===== FORM ===== */
.form-card { background: var(--paper-warm); padding: 40px; border-radius: 8px; border: 1px solid var(--line); }
.form-card--embed { padding: 32px; background: var(--paper); }
.form-card--embed iframe { color-scheme: light; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.form-row input, .form-row textarea, .form-row select { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); background: var(--paper); border-radius: 4px; font-family: inherit; font-size: 15px; color: var(--ink); transition: border-color 0.2s; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(9,0,155,0.1); }
.form-row textarea { resize: vertical; min-height: 120px; }

/* ===== MOCKUP ===== */
.mockup {
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 4px 10px -4px rgba(11,8,34,0.08),
    0 24px 50px -18px rgba(11,8,34,0.18),
    0 60px 120px -40px rgba(9,0,155,0.35);
  transition: transform 0.5s cubic-bezier(0.2,0,0,1), box-shadow 0.5s cubic-bezier(0.2,0,0,1);
}
.mockup:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 6px 14px -6px rgba(11,8,34,0.1),
    0 32px 60px -22px rgba(11,8,34,0.22),
    0 80px 140px -44px rgba(9,0,155,0.42);
}
.mockup-bar { background: var(--paper-soft); padding: 10px 14px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.red { background: #E56F5F; }
.mockup-dot.amber { background: #E8BE4D; }
.mockup-dot.green { background: #6DAE7D; }
.mockup-url { margin-left: 16px; font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px; color: var(--muted); background: #fff; padding: 3px 10px; border-radius: 4px; border: 1px solid var(--line); }
.mockup-body { padding: 24px; }
.mockup-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.mockup-title { font-family: 'Instrument Serif', serif; font-size: 17px; letter-spacing: -0.015em; }
.mockup-chip { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 10px; padding: 4px 10px; background: var(--mist); color: var(--indigo); border-radius: 3px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
.mockup-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.mockup-stat { padding: 12px 14px; background: var(--paper-soft); border-radius: 6px; border: 1px solid var(--line); }
.mockup-stat-label { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 9px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.mockup-stat-value { font-family: 'Instrument Serif', serif; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
.mockup-stat-value.good { color: var(--green); }
.mockup-deal { padding: 12px 14px; background: var(--paper-soft); border: 1px solid var(--line); border-radius: 6px; display: grid; grid-template-columns: 1fr auto auto 48px; gap: 12px; align-items: center; margin-bottom: 6px; font-size: 12px; }
.mockup-deal-name { font-family: 'Instrument Serif', serif; font-size: 13px; font-weight: 500; }
.mockup-deal-amount { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px; color: var(--ink); font-weight: 500; }
.mockup-deal-stage { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 9px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 7px; background: var(--mist); border-radius: 3px; }
.mockup-deal-health { width: 44px; height: 5px; background: var(--line); border-radius: 3px; position: relative; overflow: hidden; }
.mockup-deal-health::after { content: ''; position: absolute; inset: 0; background: var(--indigo); width: 60%; }
.mockup-deal-health.good::after { background: var(--green); width: 85%; }
.mockup-deal-health.warn::after { background: var(--amber); width: 45%; }
.mockup-deal-health.bad::after { background: var(--coral); width: 22%; }

/* ===== RULES ===== */
.rules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.rule { padding: 32px 36px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: start; }
.rule:not(:nth-last-child(-n+2)) { border-bottom: 1px solid var(--line); }
.rule:nth-last-child(1), .rule:nth-last-child(2) { border-bottom: none; }
.rule:nth-child(odd) { border-right: 1px solid var(--line); }
.rule-num { font-family: 'Instrument Serif', serif; font-size: 36px; line-height: 1; color: var(--amber); font-weight: 300; letter-spacing: -0.03em; }
.rule-title { font-family: 'Instrument Serif', serif; font-size: 20px; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 8px; font-weight: 400; }
.rule-body { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes orbitPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.85; } }
.hero h1, .page-hero h1 { animation: fadeIn 0.8s cubic-bezier(0.2, 0, 0, 1) both; }
.hero-sub, .page-hero .lede { animation: fadeIn 0.8s cubic-bezier(0.2, 0, 0, 1) 0.15s both; }
.hero-ctas, .page-hero-ctas { animation: fadeIn 0.8s cubic-bezier(0.2, 0, 0, 1) 0.3s both; }
.hero-proof { animation: fadeIn 0.8s cubic-bezier(0.2, 0, 0, 1) 0.45s both; }
.hero-visual { animation: fadeIn 0.8s cubic-bezier(0.2, 0, 0, 1) 0.3s both; }
.hero-eyebrow, .breadcrumb { animation: fadeIn 0.8s cubic-bezier(0.2, 0, 0, 1) both; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .icp-grid { grid-template-columns: 1fr; gap: 24px; }
  .icp-title { font-size: 32px; }
  .thesis-steps { grid-template-columns: 1fr; }
  .step:not(:last-child) { border-right: none; border-bottom: 1px solid var(--line); }
  .stack-head, .stack-visual { grid-template-columns: 1fr; gap: 32px; }
  .testimonials { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:not(:last-child) { border-right: none; }
  .metric:not(:first-child) { padding-left: 0; }
  .metric:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 24px; }
  .metric:nth-child(even) { padding-left: 24px; }
  .how-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero h1 { font-size: 52px; }
  .nav-links { display: none; }
  .nav-links .nav-cta { display: inline-flex; }
  .nav-links { display: flex; gap: 0; }
  .nav-links > a:not(.nav-cta) { display: none; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-col { padding: 48px 32px; }
  .pillar-col:not(:last-child) { border-right: none; border-bottom: 1px solid var(--line); }
  .cro-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid, .feature-grid.cols-2 { grid-template-columns: 1fr; }
  .integrations { grid-template-columns: repeat(3, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-item { grid-template-columns: 1fr; gap: 12px; }
  .letter-row { grid-template-columns: 80px 1fr; gap: 20px; }
  .letter-body-col { grid-column: 1 / -1; }
  .letter-big { font-size: 64px; }
  .timeline::before { left: 16px; }
  .timeline-item { padding-left: 48px; }
  .timeline-item::before { left: 8px; }
  .rules-grid { grid-template-columns: 1fr; }
  .rule { border-right: none !important; }
  .rule:not(:last-child) { border-bottom: 1px solid var(--line) !important; }
}
@media (max-width: 560px) {
  .container, .container-narrow { padding: 0 20px; }
  .hero, .page-hero { padding: 56px 0 40px; }
  .hero h1 { font-size: 42px; }
  .page-hero h1 { font-size: 36px; }
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: none !important; padding-left: 0 !important; padding-right: 0 !important; }
  .metric-value { font-size: 52px; }
  .step { padding: 36px 24px; }
  .step-num { font-size: 60px; }
  .methodology-letters { grid-template-columns: repeat(7, 1fr); gap: 3px; }
  .ml { font-size: 16px; }
  .team-grid { grid-template-columns: 1fr; }
  .integrations { grid-template-columns: repeat(2, 1fr); }
  .rule { padding: 24px 20px; grid-template-columns: 40px 1fr; gap: 14px; }
}

/* ===== SIGNAL → SYSTEM ===== */
.signal-system { padding: 120px 0; background: var(--paper); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.signal-system::before { content: ''; position: absolute; top: -160px; right: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(9, 0, 155, 0.05) 0%, rgba(9, 0, 155, 0) 70%); pointer-events: none; }
.signal-head { max-width: 820px; margin-bottom: 56px; position: relative; z-index: 1; }
.signal-head .eyebrow { display: block; margin-bottom: 20px; }
.signal-head h2 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 18px; }
.signal-head h2 em { font-style: italic; font-weight: 300; color: var(--indigo); }
.signal-sub { font-size: 17px; color: var(--muted); line-height: 1.6; max-width: 640px; }

.signal-stage { display: grid; grid-template-columns: 1fr 0.85fr 1.15fr; gap: 32px; align-items: stretch; margin-bottom: 40px; position: relative; z-index: 1; }
.signal-col { display: flex; flex-direction: column; gap: 14px; position: relative; }
.col-label { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; font-weight: 500; }

.signal-card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; transition: all 0.25s; }
.signal-card:hover { border-color: var(--line-strong); box-shadow: 0 8px 24px -14px rgba(9, 0, 155, 0.22); transform: translateY(-1px); }
.card-head { display: flex; align-items: center; gap: 10px; font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.card-head .card-time { margin-left: auto; color: var(--ink); font-weight: 500; }

.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.6); animation: rec-pulse 1.8s ease-out infinite; }
@keyframes rec-pulse { 0% { box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.55); } 70% { box-shadow: 0 0 0 8px rgba(248, 113, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(248, 113, 113, 0); } }

.participants { display: flex; margin-bottom: 14px; }
.participants .avatar { width: 28px; height: 28px; border-radius: 50%; font-family: 'Instrument Serif', serif; font-size: 11px; display: flex; align-items: center; justify-content: center; color: #fff; margin-left: -6px; border: 2px solid var(--paper); font-weight: 500; }
.participants .avatar:first-child { margin-left: 0; }
.avatar.a1 { background: var(--indigo); }
.avatar.a2 { background: var(--indigo-vivid); }
.avatar.a3 { background: var(--amber); color: var(--ink); }
.avatar.more { background: var(--paper-warm); color: var(--muted); font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 9.5px; border: 1px dashed var(--line-strong); }

.waveform { display: flex; gap: 3px; align-items: center; height: 30px; margin-bottom: 12px; }
.waveform span { flex: 1; background: var(--indigo); border-radius: 2px; opacity: 0.7; animation: wave 1.2s ease-in-out infinite; height: 20%; }
.waveform span:nth-child(odd) { background: var(--indigo-vivid); }
.waveform span:nth-child(1) { animation-delay: 0s; }
.waveform span:nth-child(2) { animation-delay: 0.08s; }
.waveform span:nth-child(3) { animation-delay: 0.16s; }
.waveform span:nth-child(4) { animation-delay: 0.24s; }
.waveform span:nth-child(5) { animation-delay: 0.32s; }
.waveform span:nth-child(6) { animation-delay: 0.4s; }
.waveform span:nth-child(7) { animation-delay: 0.48s; }
.waveform span:nth-child(8) { animation-delay: 0.56s; }
.waveform span:nth-child(9) { animation-delay: 0.64s; }
.waveform span:nth-child(10) { animation-delay: 0.72s; }
.waveform span:nth-child(11) { animation-delay: 0.8s; }
.waveform span:nth-child(12) { animation-delay: 0.88s; }
.waveform span:nth-child(13) { animation-delay: 0.96s; }
.waveform span:nth-child(14) { animation-delay: 1.04s; }
.waveform span:nth-child(15) { animation-delay: 1.12s; }
.waveform span:nth-child(16) { animation-delay: 0.08s; }
.waveform span:nth-child(17) { animation-delay: 0.16s; }
.waveform span:nth-child(18) { animation-delay: 0.24s; }
.waveform span:nth-child(19) { animation-delay: 0.32s; }
.waveform span:nth-child(20) { animation-delay: 0.4s; }
@keyframes wave { 0%, 100% { height: 20%; } 50% { height: 100%; } }

.caption { font-family: 'Instrument Serif', serif; font-size: 13px; font-style: italic; color: var(--ink); line-height: 1.45; padding: 10px 12px; background: var(--paper-warm); border-left: 2px solid var(--indigo); border-radius: 4px; }

.integration-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.crm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 10px; letter-spacing: 0.05em; padding: 5px 9px; background: var(--paper-warm); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; }
.crm-chip { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 10px; letter-spacing: 0.05em; padding: 5px 9px; background: var(--mist); color: var(--indigo); border: 1px solid var(--lavender); border-radius: 4px; font-weight: 500; }
.crm-row { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.crm-label { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); min-width: 64px; }

.deal-card .card-head .stage-pill { margin-left: auto; background: var(--mist); color: var(--indigo); padding: 2px 8px; border-radius: 3px; letter-spacing: 0.08em; font-size: 9.5px; font-weight: 500; }
.deal-title { font-family: 'Instrument Serif', serif; font-size: 18px; letter-spacing: -0.015em; margin-bottom: 14px; color: var(--ink); }
.deal-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.deal-meta > div { display: flex; flex-direction: column; gap: 3px; }
.deal-meta span { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 9px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.deal-meta strong { font-family: 'Instrument Serif', serif; font-size: 15px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }

/* Center orbital hub */
.signal-hub { align-items: center; justify-content: center; min-height: 480px; position: relative; }
.hub-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; }
.hub-ring.r1 { width: 150px; height: 150px; border: 1px dashed var(--lavender); animation: ring-rot 28s linear infinite; }
.hub-ring.r2 { width: 260px; height: 260px; border: 1px dashed var(--line-strong); animation: ring-rot 44s linear infinite reverse; }
.hub-ring.r3 { width: 380px; height: 380px; border: 1px dashed var(--line); animation: ring-rot 60s linear infinite; }
@keyframes ring-rot { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hub-orb { width: 118px; height: 118px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--indigo-vivid), var(--indigo) 55%, var(--indigo-deep) 100%); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; position: relative; z-index: 2; box-shadow: 0 20px 50px -12px rgba(9, 0, 155, 0.45), 0 0 0 6px rgba(9, 0, 155, 0.06), 0 0 0 14px rgba(9, 0, 155, 0.03); animation: orb-glow 3.2s ease-in-out infinite; }
@keyframes orb-glow {
  0%, 100% { box-shadow: 0 20px 50px -12px rgba(9, 0, 155, 0.45), 0 0 0 6px rgba(9, 0, 155, 0.06), 0 0 0 14px rgba(9, 0, 155, 0.03); }
  50% { box-shadow: 0 20px 50px -12px rgba(9, 0, 155, 0.6), 0 0 0 10px rgba(9, 0, 155, 0.1), 0 0 0 24px rgba(9, 0, 155, 0.04); }
}
.orb-mark { font-family: 'Instrument Serif', serif; font-size: 14px; letter-spacing: -0.01em; font-weight: 500; }
.orb-sub { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.75; }

.signal-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; top: 50%; left: 50%; margin-top: -4px; margin-left: -4px; pointer-events: none; }
.signal-dot.d1 { background: var(--amber); box-shadow: 0 0 12px var(--amber); animation: flow-in-a 3.4s ease-in-out infinite; }
.signal-dot.d2 { background: var(--indigo-vivid); box-shadow: 0 0 12px var(--indigo-vivid); animation: flow-in-b 3.8s ease-in-out 0.7s infinite; }
.signal-dot.d3 { background: var(--green); box-shadow: 0 0 12px var(--green); animation: flow-out-a 3.2s ease-in-out 1.1s infinite; }
.signal-dot.d4 { background: var(--indigo-vivid); box-shadow: 0 0 12px var(--indigo-vivid); animation: flow-out-b 3.6s ease-in-out 1.8s infinite; }
@keyframes flow-in-a  { 0% { transform: translate(-170px, -90px) scale(1); opacity: 0; } 18% { opacity: 1; } 82% { opacity: 1; } 100% { transform: translate(0, 0) scale(0.3); opacity: 0; } }
@keyframes flow-in-b  { 0% { transform: translate(-160px,  95px) scale(1); opacity: 0; } 18% { opacity: 1; } 82% { opacity: 1; } 100% { transform: translate(0, 0) scale(0.3); opacity: 0; } }
@keyframes flow-out-a { 0% { transform: translate(0, 0) scale(0.3); opacity: 0; } 18% { opacity: 1; } 82% { opacity: 1; } 100% { transform: translate(165px, -95px) scale(1); opacity: 0; } }
@keyframes flow-out-b { 0% { transform: translate(0, 0) scale(0.3); opacity: 0; } 18% { opacity: 1; } 82% { opacity: 1; } 100% { transform: translate(160px,  92px) scale(1); opacity: 0; } }

/* Right output panel */
.output-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.output-tabs .tab { background: none; border: none; font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 10px 14px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.2s; font-weight: 500; }
.output-tabs .tab:hover { color: var(--ink); }
.output-tabs .tab.active { color: var(--indigo); border-bottom-color: var(--indigo); }

.output-panel { display: none; }
.output-panel.active { display: block; animation: panel-fade 0.3s ease-out; }
@keyframes panel-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.spiced-head { padding: 18px 20px; background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-deep) 100%); color: #fff; border-radius: 10px 10px 0 0; display: flex; align-items: center; gap: 16px; }
.spiced-score { display: flex; align-items: center; gap: 14px; flex: 1; }
.score-num { font-family: 'Instrument Serif', serif; font-size: 42px; line-height: 1; letter-spacing: -0.03em; font-weight: 400; color: var(--amber-soft); animation: score-tick 7s ease-in-out infinite; }
@keyframes score-tick { 0%, 100% { opacity: 1; transform: scale(1); } 47% { opacity: 0.55; transform: scale(0.98); } 52% { opacity: 1; transform: scale(1.06); } 58% { transform: scale(1); } }
.score-bar { flex: 1; height: 5px; background: rgba(255,255,255, 0.14); border-radius: 3px; overflow: hidden; max-width: 110px; }
.score-fill { width: 72%; height: 100%; background: linear-gradient(90deg, var(--amber), var(--amber-soft)); border-radius: 3px; animation: score-fill 7s ease-in-out infinite; }
@keyframes score-fill { 0%, 45% { width: 64%; } 58%, 100% { width: 72%; } }
.score-trend { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 10px; letter-spacing: 0.08em; color: var(--amber-soft); white-space: nowrap; }
.score-label { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 9px; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255, 0.6); text-align: right; max-width: 70px; line-height: 1.4; }

.spiced-rows { border: 1px solid var(--line); border-top: none; border-radius: 0 0 10px 10px; background: var(--paper); }
.srow { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--line); }
.srow:first-child { border-top: none; }
.srow .letter { width: 28px; height: 28px; border-radius: 4px; font-family: 'Instrument Serif', serif; font-size: 14px; font-weight: 500; display: flex; align-items: center; justify-content: center; background: var(--mist); color: var(--indigo); flex-shrink: 0; }
.srow .letter.x { background: var(--amber); color: var(--ink); }
.srow-content { flex: 1; min-width: 0; }
.srow-title { font-family: 'Instrument Serif', serif; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 2px; }
.srow-text { font-size: 12px; color: var(--muted); line-height: 1.4; }
.srow-pill { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; white-space: nowrap; font-weight: 500; }
.srow-pill.ok { background: rgba(16, 185, 129, 0.1); color: var(--green); }
.srow-pill.warn { background: rgba(245, 158, 11, 0.14); color: #B45309; }
.srow-pill.miss { background: rgba(248, 113, 113, 0.14); color: #B91C1C; }

.risk-head { padding: 14px 18px; background: var(--paper-warm); border: 1px solid var(--line); border-radius: 10px 10px 0 0; display: flex; align-items: center; gap: 14px; }
.risk-level { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; font-weight: 500; }
.risk-level.medium { background: rgba(245, 158, 11, 0.14); color: #B45309; }
.risk-meta { font-size: 13px; color: var(--muted); }
.risk-list { border: 1px solid var(--line); border-top: none; border-radius: 0 0 10px 10px; background: var(--paper); }
.risk-item { display: flex; gap: 14px; padding: 16px 18px; border-top: 1px solid var(--line); }
.risk-item:first-child { border-top: none; }
.risk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); margin-top: 6px; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.15); }
.risk-item.warn .risk-dot { background: var(--amber); box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15); }
.risk-title { font-family: 'Instrument Serif', serif; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 4px; }
.risk-text { font-size: 13px; color: var(--muted); line-height: 1.5; }

.next-list { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.next-item { display: grid; grid-template-columns: 32px 1fr auto; gap: 14px; padding: 16px 18px; border-top: 1px solid var(--line); align-items: start; }
.next-item:first-child { border-top: none; }
.next-num { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.08em; padding-top: 2px; }
.next-title { font-family: 'Instrument Serif', serif; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 4px; }
.next-text { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 6px; }
.next-owner { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 9.5px; letter-spacing: 0.1em; color: var(--indigo); text-transform: uppercase; }
.next-auto { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 8px; border-radius: 3px; background: var(--mist); color: var(--indigo); white-space: nowrap; font-weight: 500; }

/* Flow caption strip */
.signal-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: center; padding: 26px 36px; background: var(--paper-warm); border: 1px solid var(--line); border-radius: 12px; position: relative; z-index: 1; }
.flow-step { display: flex; align-items: center; gap: 14px; }
.flow-num { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px; letter-spacing: 0.14em; color: var(--amber); font-weight: 500; }
.flow-label { font-family: 'Instrument Serif', serif; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 2px; }
.flow-text { font-size: 13px; color: var(--muted); line-height: 1.4; }
.flow-arrow { font-family: 'Instrument Serif', serif; font-size: 22px; color: var(--indigo); opacity: 0.45; }

@media (max-width: 1024px) {
  .signal-system { padding: 80px 0; }
  .signal-stage { grid-template-columns: 1fr; gap: 24px; }
  .signal-hub { min-height: 340px; order: -1; }
  .signal-flow { grid-template-columns: 1fr; gap: 14px; padding: 22px 24px; }
  .flow-arrow { display: none; }
  .flow-step { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .rec-dot, .waveform span, .hub-ring, .hub-orb,
  .signal-dot.d1, .signal-dot.d2, .signal-dot.d3, .signal-dot.d4,
  .score-num, .score-fill { animation: none !important; }
  .signal-dot { opacity: 0.4; }
}

/* ===== SPEED-MC² METHODOLOGY ===== */
.speed-prose { max-width: 780px; margin: 0 auto; }
.speed-prose > p { font-size: 17px; color: var(--muted); line-height: 1.65; margin-bottom: 20px; }
.speed-prose > p strong { color: var(--ink); font-weight: 500; }
.speed-prose > p:last-child { margin-bottom: 0; }
.speed-prose-h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 28px;
}
.speed-prose-h2 em { font-style: italic; color: var(--indigo); }
.speed-prose-h2.with-eyebrow { margin-top: 14px; }
.speed-prose .eyebrow { display: block; margin-bottom: 4px; }

.speed-chip-label {
  display: block;
  margin-top: 40px; margin-bottom: 14px;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.speed-chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.speed-chip {
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 12px; letter-spacing: 0.04em;
  color: var(--ink);
  font-weight: 500;
}
.speed-chip-brand {
  background: var(--indigo);
  color: #fff;
  border-color: var(--indigo);
}

/* Seven-discipline card grid */
.speed-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.speed-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.speed-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -20px rgba(9,0,155,0.18);
}
.speed-card h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 22px; line-height: 1.2; letter-spacing: -0.02em;
  font-weight: 400; color: var(--ink);
}
.speed-card p {
  font-size: 14.5px; line-height: 1.6; color: var(--muted);
}
.speed-card-accent {
  background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 70%);
  border-color: var(--lavender);
}
.card-letter {
  font-family: 'Instrument Serif', serif;
  font-size: 72px; line-height: 0.9; letter-spacing: -0.04em;
  color: var(--indigo);
  font-weight: 300;
  display: inline-flex; align-items: baseline; gap: 2px;
}
.card-letter.accent {
  background: linear-gradient(135deg, var(--amber) 0%, #D97706 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.card-letter sup {
  font-size: 0.45em;
  font-weight: 400;
  top: -0.55em;
  position: relative;
  letter-spacing: 0;
}

/* Four principles stack */
.speed-principles {
  display: flex; flex-direction: column;
  gap: 0;
  margin-top: 36px;
  border-top: 2px solid var(--ink);
}
.speed-principle {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.speed-principle:last-child { border-bottom: none; }
.speed-principle h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 22px; line-height: 1.25; letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
}
.speed-principle p {
  font-size: 15.5px; line-height: 1.65; color: var(--muted);
}

/* Comparison table */
.speed-compare-intro {
  max-width: 780px;
  font-size: 16px; color: var(--muted); line-height: 1.6;
  margin-bottom: 32px;
}
.speed-compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.speed-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 780px;
}
.speed-compare thead th {
  text-align: left;
  padding: 16px 18px;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line-strong);
}
.speed-compare thead th.highlight {
  color: var(--indigo);
  background: var(--mist);
}
.speed-compare tbody th,
.speed-compare tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
}
.speed-compare tbody tr:last-child th,
.speed-compare tbody tr:last-child td { border-bottom: none; }
.speed-compare th[scope="row"] {
  font-family: 'Instrument Serif', serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.01em;
  background: var(--paper-soft);
  white-space: nowrap;
}
.speed-compare tbody td { color: var(--muted); }
.speed-compare tbody td.highlight {
  background: var(--mist);
  color: var(--ink);
  font-weight: 500;
}

/* Dark close section tweaks (reuses .cta-section) */
.cta-section .speed-sub-second { margin-top: 14px; }
.speed-closing-mantra {
  margin-top: 32px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
  max-width: 720px;
  margin-left: auto; margin-right: auto;
  text-align: center;
}

/* Trust ribbon */
.speed-trust {
  padding: 28px 0;
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
}
.speed-trust p {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 12px; letter-spacing: 0.04em; line-height: 1.55;
  color: var(--muted);
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .speed-cards { grid-template-columns: repeat(2, 1fr); }
  .card-letter { font-size: 64px; }
}
@media (max-width: 768px) {
  .speed-cards { grid-template-columns: 1fr; }
  .speed-card { padding: 26px 22px; }
  .speed-prose-h2 { font-size: 28px; }
  .speed-chip-row { gap: 8px; }
  .speed-chip { font-size: 11px; padding: 7px 12px; }
  .speed-compare thead th,
  .speed-compare tbody th,
  .speed-compare tbody td { padding: 12px 14px; }
}

/* ==========================================================================
   WORLD-CLASS POLISH LAYER
   Editorial micro-details: scrollbar, scroll-reveal, link affordance,
   selection, hairlines, refined cursor states.
   ========================================================================== */

/* Custom scrollbar (Webkit) — slim, ink, with paper track */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb {
  background: var(--line-strong); border-radius: 8px;
  border: 3px solid var(--paper);
}
::-webkit-scrollbar-thumb:hover { background: var(--muted); }
html { scrollbar-color: var(--line-strong) var(--paper); scrollbar-width: thin; }

/* Animated underline utility for inline body links */
.link {
  color: var(--indigo); text-decoration: none; position: relative;
  background-image: linear-gradient(var(--indigo), var(--indigo));
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size 0.3s cubic-bezier(0.2,0,0,1);
  padding-bottom: 1px;
}
.link:hover { background-size: 100% 2px; }

/* Editorial first-letter drop cap utility (apply with .has-dropcap on long-form prose) */
.has-dropcap > p:first-of-type::first-letter {
  font-family: 'Instrument Serif', serif; font-weight: 300;
  font-size: 4.4em; line-height: 0.85; float: left;
  margin: 0.08em 0.12em -0.08em 0; color: var(--indigo);
  letter-spacing: -0.04em;
}

/* Hairline divider — for editorial section separation */
.hairline {
  border: 0; height: 1px; max-width: 60px; margin: 0;
  background: linear-gradient(90deg, var(--ink), transparent);
}
.hairline.center { margin: 0 auto; }

/* Scroll reveal — opt-in via .reveal; respects reduced motion */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.8s cubic-bezier(0.2,0,0,1), transform 0.8s cubic-bezier(0.2,0,0,1);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Premium hover for any clickable card with [data-hover="lift"] */
[data-hover="lift"] { transition: transform 0.4s cubic-bezier(0.2,0,0,1), box-shadow 0.4s cubic-bezier(0.2,0,0,1); }
[data-hover="lift"]:hover { transform: translateY(-4px); }

/* Refined italic-em used inside heads, with lift in baseline */
h1 em, h2 em, .hero h1 em, .page-hero h1 em, .section-head h2 em {
  font-style: italic; font-weight: 300;
  letter-spacing: -0.02em;
}

/* Numeric tabular figures everywhere they appear in stats */
.metric-value, .case-metric-value, .pricing-price, .step-num, .pillar-price,
.mockup-stat-value, .mockup-deal-amount {
  font-feature-settings: 'tnum', 'lnum';
  font-variant-numeric: tabular-nums lining-nums;
}

/* Sharper amber highlight under hero h1 .underline (refined) */
.hero h1 .underline::after {
  background: linear-gradient(90deg, var(--amber-soft), var(--amber) 70%, #D97706);
  height: 0.16em; opacity: 0.85; bottom: 0.04em;
  border-radius: 3px;
}

/* Pricing card "featured" — softer outer glow */
.pricing-card.featured {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 8px 20px -8px rgba(11,8,34,0.14),
    0 32px 70px -22px rgba(9,0,155,0.45);
}

/* Logo bar images — refined hover */
.logos-list img {
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2,0,0,1), box-shadow 0.3s ease, border-color 0.25s ease;
}
.logos-list img:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 12px 24px -10px rgba(11,8,34,0.12);
}

/* Form polish */
.form-row input, .form-row textarea, .form-row select {
  transition: border-color 0.2s ease, box-shadow 0.25s ease, background 0.2s ease;
}
.form-row input:hover, .form-row textarea:hover, .form-row select:hover {
  border-color: var(--muted);
}

/* Subtle nav scroll-state hook (apply via JS by toggling .scrolled on body) */
body.scrolled nav.site-nav {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(11,8,34,0.18);
}

/* ==========================================================================
   EARLY-ACCESS LANDING PAGE COMPONENTS
   Stat strip, prose-block, chat-prompt, capabilities-table, how-prompt.
   ========================================================================== */

/* ==========================================================================
   MIRA HERO MOCKUP — compact dashboard variant for the homepage hero.
   Shows the most demoable single moment: live forecast metrics + Mira's
   recommended next action + at-risk deals strip. Anonymized accounts.
   ========================================================================== */
.mira-screen-hero {
  padding: 16px;
  margin-bottom: 0;
  max-width: 560px;
  margin-left: auto;
  border-radius: 16px;
}
.mira-screen-hero .mira-screen-body { padding: 18px; }
.mira-screen-hero .mira-screen-chrome { padding: 8px 12px; }
.mira-screen-hero .mira-screen-url { font-size: 10px; padding: 3px 10px; }
.mira-screen-hero .mira-screen-tag { font-size: 9px; padding: 3px 9px; }

/* --- Deal header with auto-update pulse --- */
.mira-deal-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.mira-deal-head-main { flex: 1; min-width: 0; }
.mira-deal-name {
  font-family: 'Instrument Serif', serif; font-size: 18px;
  letter-spacing: -0.015em; color: var(--ink); margin-bottom: 6px;
}
.mira-deal-meta-row {
  display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline;
}
.mira-deal-cell {
  display: inline-flex; align-items: baseline; gap: 5px;
  font-size: 11px;
}
.mira-deal-cell-key {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted); font-weight: 500;
}
.mira-deal-cell-val {
  font-family: 'Instrument Serif', serif; font-size: 13px;
  color: var(--ink); letter-spacing: -0.01em;
  font-feature-settings: 'tnum', 'lnum';
}
.mira-deal-diff {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 9px;
  letter-spacing: 0.04em; padding: 1px 6px; border-radius: 100px;
  font-weight: 500;
}
.mira-diff-up {
  background: rgba(16,185,129,0.12); color: #047857;
  border: 1px solid rgba(16,185,129,0.25);
}
.mira-diff-pull {
  background: rgba(123,92,255,0.12); color: #6845E0;
  border: 1px solid rgba(123,92,255,0.25);
}
.mira-deal-pulse {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 100px;
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.25);
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: #047857; font-weight: 500; flex-shrink: 0;
}
.mira-deal-pulse-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #10B981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
  animation: heroPulse 2.4s cubic-bezier(0.4,0,0.2,1) infinite;
}

/* --- MEDDPICC scoring grid --- */
.mira-meddpicc {
  margin-bottom: 12px; padding: 12px 14px;
  background: var(--paper-soft); border: 1px solid var(--line); border-radius: 10px;
}
.mira-meddpicc-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 6px;
}
.mira-meddpicc-label {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted);
  font-weight: 500;
}
.mira-meddpicc-pct {
  font-family: 'Instrument Serif', serif; font-size: 20px; line-height: 1;
  letter-spacing: -0.02em; color: var(--ink);
  font-feature-settings: 'tnum', 'lnum';
}
.mira-meddpicc-bar {
  height: 4px; background: var(--line); border-radius: 100px; overflow: hidden;
  margin-bottom: 12px;
}
.mira-meddpicc-bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #F59E0B 100%);
  border-radius: 100px;
}
.mira-meddpicc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
}
.mira-letter {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 4px; border-radius: 6px;
  background: var(--paper); border: 1px solid var(--line);
}
.mira-letter-l {
  font-family: 'Instrument Serif', serif; font-size: 16px; line-height: 1;
  letter-spacing: -0.02em; font-weight: 400;
}
.mira-letter-n {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 8px;
  letter-spacing: 0.04em; color: var(--muted); text-align: center; line-height: 1.1;
}
.mira-letter-ok { background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.25); }
.mira-letter-ok .mira-letter-l { color: #047857; }
.mira-letter-warn { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.3); }
.mira-letter-warn .mira-letter-l { color: #B45309; }
.mira-letter-bad { background: rgba(248,113,113,0.08); border-color: rgba(248,113,113,0.3); }
.mira-letter-bad .mira-letter-l { color: #B91C1C; }

/* --- ICP fit + AI risk dual stat --- */
.mira-dual-stat {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px;
}
.mira-dual-cell {
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper);
}
.mira-dual-label {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted);
  margin-bottom: 4px; font-weight: 500;
}
.mira-dual-value {
  font-family: 'Instrument Serif', serif; font-size: 22px; line-height: 1;
  letter-spacing: -0.025em; margin-bottom: 4px;
  font-feature-settings: 'tnum', 'lnum';
}
.mira-dual-good { color: #10B981; }
.mira-dual-warn { color: #F59E0B; }
.mira-dual-sub {
  font-size: 10px; color: var(--muted); line-height: 1.3;
  font-family: 'Geist Mono', ui-monospace, monospace; letter-spacing: 0.04em;
}

/* --- Transcript justification block (risk evidence) --- */
.mira-evidence {
  margin-bottom: 12px; padding: 10px 14px;
  background: linear-gradient(180deg, rgba(245,158,11,0.06) 0%, rgba(245,158,11,0.02) 100%);
  border: 1px solid rgba(245,158,11,0.22);
  border-left: 3px solid #F59E0B;
  border-radius: 8px;
}
.mira-evidence-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
}
.mira-evidence-icon {
  font-family: 'Instrument Serif', serif; font-size: 22px; line-height: 0.6;
  color: #F59E0B; font-weight: 400;
}
.mira-evidence-label {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: #B45309; font-weight: 500;
}
.mira-evidence-quote {
  font-family: 'Instrument Serif', serif; font-size: 13px; font-style: italic;
  letter-spacing: -0.01em; color: var(--ink); line-height: 1.45;
  margin-bottom: 4px;
}
.mira-evidence-cite {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 9px;
  letter-spacing: 0.06em; color: var(--muted); margin: 0;
}

/* --- Mira auto-update list --- */
.mira-update-list {
  list-style: none; padding: 0; margin: 0 0 10px;
  display: flex; flex-direction: column; gap: 4px;
}
.mira-update-list li {
  font-size: 12px; line-height: 1.45; color: var(--ink);
  padding-left: 16px; position: relative;
}
.mira-update-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: #10B981; font-weight: 600; font-size: 11px;
}
.mira-update-list li strong { font-weight: 600; }

.mira-next-step-label {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.14em; color: #7B5CFF;
  font-weight: 500; margin: 6px 0 4px !important;
  padding-top: 8px; border-top: 1px solid rgba(123,92,255,0.18);
}

.mira-hero-metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-bottom: 14px;
}
.mira-hero-metric {
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--paper);
}
.mira-hero-metric-label {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted);
  margin-bottom: 4px; font-weight: 500;
}
.mira-hero-metric-value {
  font-family: 'Instrument Serif', serif; font-size: 22px; line-height: 1;
  letter-spacing: -0.025em; color: var(--ink);
  font-feature-settings: 'tnum', 'lnum';
}
.mira-hero-metric-good { color: #10B981; }

.mira-hero-rail {
  background: linear-gradient(180deg, #FAFAFB 0%, #F0EBFF 100%);
  border: 1px solid var(--lavender); border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
}
.mira-hero-rail-head {
  display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center;
  padding-bottom: 10px; margin-bottom: 10px;
  border-bottom: 1px solid rgba(123,92,255,0.18);
}
.mira-hero-rail-icon {
  width: 32px; height: 32px; border-radius: 50%; background: #05070D;
}
.mira-hero-rail-name {
  font-family: 'Instrument Serif', serif; font-size: 16px;
  letter-spacing: -0.015em; color: var(--ink);
}
.mira-hero-rail-sub {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 8px;
  text-transform: uppercase; letter-spacing: 0.14em; color: #7B5CFF; font-weight: 500;
}
.mira-hero-rail-time {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 9px;
  color: var(--muted); padding: 2px 8px; background: rgba(123,92,255,0.08);
  border-radius: 100px;
}
.mira-hero-rail-body p { font-size: 12.5px; line-height: 1.55; color: var(--ink); margin-bottom: 6px; }
.mira-hero-rail-body p:last-of-type { margin-bottom: 10px; }
.mira-hero-rail-body strong { font-weight: 600; }
.mira-hero-rail-detail { color: var(--muted); }
.mira-hero-rail-detail strong { color: var(--ink); }
.mira-hero-rail-buttons { display: flex; gap: 6px; }
.mira-hero-rail .mira-rail-btn {
  font-size: 11px; padding: 6px 10px;
}

.mira-hero-deals {
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: var(--paper);
}
.mira-hero-deals-head {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted);
  padding: 8px 12px; background: var(--paper-soft);
  border-bottom: 1px solid var(--line); font-weight: 500;
}
.mira-hero-deal {
  display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center;
  padding: 8px 12px; border-bottom: 1px solid var(--line);
}
.mira-hero-deal:last-child { border-bottom: 0; }
.mira-hero-deal-name { font-size: 12px; color: var(--ink); font-weight: 500; }
.mira-hero-deal-meta {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 9px;
  color: var(--muted); letter-spacing: 0.04em;
}

@media (max-width: 960px) {
  .mira-screen-hero { max-width: 100%; margin-left: 0; }
  .mira-hero-metrics { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   THE MIRA WORKSPACE — light-mode product UI mockups on dark editorial frames
   Two screens: Dashboard, Forecast Pipeline. Anonymized accounts.
   ========================================================================== */
.mira-workspace { background: var(--paper); }

.mira-screen {
  background: linear-gradient(180deg, #0A0820 0%, #05070D 100%);
  border-radius: 18px; padding: 24px; margin-bottom: 36px;
  position: relative; overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 32px 80px -32px rgba(9,0,155,0.45),
    0 8px 24px -8px rgba(11,8,34,0.2);
}
.mira-screen::before {
  content: ''; position: absolute; top: -120px; left: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(123,92,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.mira-screen > * { position: relative; z-index: 1; }

.mira-screen-chrome {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 10px 14px; background: var(--paper-soft); border-radius: 10px 10px 0 0;
  border: 1px solid var(--line); border-bottom: none;
}
.mira-screen-dots { display: flex; gap: 6px; }
.mira-dot { width: 10px; height: 10px; border-radius: 50%; }
.mira-dot-r { background: #E56F5F; }
.mira-dot-y { background: #E8BE4D; }
.mira-dot-g { background: #6DAE7D; }
.mira-screen-url {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px;
  color: var(--muted); background: #fff; padding: 4px 12px; border-radius: 6px;
  border: 1px solid var(--line); justify-self: center;
}
.mira-chrome-icon { width: 14px; height: 14px; border-radius: 3px; }
.mira-screen-tag {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: #A88BFF; padding: 4px 10px; background: rgba(123,92,255,0.12);
  border: 1px solid rgba(123,92,255,0.2); border-radius: 100px;
}

.mira-screen-body {
  background: var(--paper); border: 1px solid var(--line); border-top: none;
  border-radius: 0 0 10px 10px; padding: 24px;
}

/* --- Dashboard layout --- */
.mira-screen-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; }
.mira-screen-main { display: flex; flex-direction: column; gap: 20px; }

.mira-metric-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.mira-metric-card {
  padding: 14px 16px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px; min-height: 92px;
}
.mira-metric-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted);
  margin-bottom: 8px; font-weight: 500;
}
.mira-metric-icon {
  width: 22px; height: 22px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--ink); background: var(--paper-soft);
  border: 1px solid var(--line);
}
.mira-metric-icon-purple { background: rgba(123,92,255,0.12); border-color: rgba(123,92,255,0.25); color: #7B5CFF; }
.mira-metric-icon-green { background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.25); color: #10B981; }
.mira-metric-icon-amber { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.25); color: #F59E0B; }
.mira-metric-value {
  font-family: 'Instrument Serif', serif; font-size: 28px; line-height: 1;
  letter-spacing: -0.025em; color: var(--ink); margin-bottom: 4px;
  font-feature-settings: 'tnum', 'lnum';
}
.mira-metric-value-purple { color: #7B5CFF; }
.mira-metric-value-green { color: #10B981; }
.mira-metric-sub { font-size: 11px; color: var(--muted); }
.mira-metric-sub-good { color: #10B981; }
.mira-metric-bar {
  margin-top: 6px; height: 4px; background: var(--line); border-radius: 100px; overflow: hidden;
}
.mira-metric-bar span {
  display: block; height: 100%; background: linear-gradient(90deg, #7B5CFF, #C2A8FF);
  border-radius: 100px;
}
.mira-metric-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; padding: 2px 0;
}
.mira-metric-row-label { color: var(--ink); font-weight: 500; }
.mira-metric-row-value { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10px; }
.mira-row-good { color: #10B981; }

.mira-next-steps {
  border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px;
  background: var(--paper);
}
.mira-next-steps-head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.mira-next-steps-title {
  font-family: 'Instrument Serif', serif; font-size: 18px; color: var(--ink);
  letter-spacing: -0.015em;
}
.mira-tab-row { display: flex; gap: 6px; }
.mira-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 100px;
  background: var(--paper-soft); border: 1px solid var(--line);
  font-size: 11px; color: var(--muted); font-weight: 500;
  font-family: 'Geist', sans-serif;
}
.mira-tab-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.mira-tab-icon { font-size: 9px; }
.mira-tab-icon-purple { color: #7B5CFF; }
.mira-tab-active .mira-tab-icon-amber { color: var(--amber); }
.mira-tab-count {
  background: rgba(255,255,255,0.15); padding: 1px 6px; border-radius: 100px;
  font-size: 10px;
}
.mira-tab:not(.mira-tab-active) .mira-tab-count { background: var(--line); color: var(--ink); }

.mira-next-list { display: flex; flex-direction: column; gap: 6px; }
.mira-next-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 8px; background: var(--paper-soft);
  border: 1px solid var(--line);
}
.mira-next-row-title { font-size: 13px; color: var(--ink); font-weight: 500; line-height: 1.35; margin-bottom: 2px; }
.mira-next-row-meta { font-size: 11px; color: var(--muted); }
.mira-next-row-due {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10px;
  color: var(--muted); padding: 3px 8px; background: var(--mist);
  border-radius: 100px; flex-shrink: 0;
}
.mira-due-warn { background: rgba(248,113,113,0.12); color: #DC2626; }

/* --- Mira agent rail (dashboard) --- */
.mira-screen-rail {
  background: linear-gradient(180deg, #FAFAFB 0%, #F0EBFF 100%);
  border: 1px solid var(--lavender); border-radius: 12px; padding: 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.mira-rail-head {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center;
  padding-bottom: 14px; border-bottom: 1px solid rgba(123,92,255,0.18);
}
.mira-rail-icon { width: 36px; height: 36px; border-radius: 50%; background: #05070D; }
.mira-rail-title { font-family: 'Instrument Serif', serif; font-size: 18px; color: var(--ink); letter-spacing: -0.015em; }
.mira-rail-sub {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.14em; color: #7B5CFF; font-weight: 500;
}
.mira-rail-body p { font-size: 13.5px; line-height: 1.55; color: var(--ink); margin-bottom: 8px; }
.mira-rail-body p:last-of-type { margin-bottom: 12px; }
.mira-rail-body strong { color: var(--ink); font-weight: 600; }
.mira-rail-detail { color: var(--muted); font-size: 13px; }
.mira-rail-buttons { display: flex; gap: 6px; }
.mira-rail-btn {
  flex: 1; padding: 8px 12px; border-radius: 6px;
  font-family: 'Geist', sans-serif; font-size: 12px; font-weight: 500;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink); cursor: pointer;
}
.mira-rail-btn-primary { background: #7B5CFF; color: #fff; border-color: #7B5CFF; }
.mira-rail-foot {
  margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(123,92,255,0.18);
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted);
}

/* --- Forecast pipeline tabs --- */
.mira-pipeline-tabs {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 18px;
}
.mira-pipeline-tab {
  padding: 14px 16px; border-radius: 10px;
  background: var(--paper); border: 1px solid var(--line);
}
.mira-pipeline-tab-active {
  border-color: #7B5CFF; box-shadow: 0 0 0 3px rgba(123,92,255,0.12);
}
.mira-pipeline-tab-label {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted);
  margin-bottom: 6px; font-weight: 500;
}
.mira-pipeline-tab-value {
  font-family: 'Instrument Serif', serif; font-size: 24px; line-height: 1;
  letter-spacing: -0.02em; color: var(--ink);
  font-feature-settings: 'tnum', 'lnum';
}
.mira-tab-good { color: #10B981; }
.mira-pipeline-tab-count { font-size: 14px; color: var(--muted); }

/* --- Forecast pipeline grid --- */
.mira-pipeline-grid { display: grid; grid-template-columns: 2.6fr 1fr; gap: 16px; }

.mira-pipeline-table-wrap {
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper);
}
.mira-pipeline-table {
  width: 100%; border-collapse: collapse;
}
.mira-pipeline-table thead th {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted);
  padding: 10px 12px; text-align: left; font-weight: 500;
  background: var(--paper-soft); border-bottom: 1px solid var(--line);
}
.mira-pipeline-table tbody td {
  padding: 12px; font-size: 12.5px; color: var(--ink);
  border-bottom: 1px solid var(--line); vertical-align: middle;
}
.mira-pipeline-table tbody tr:last-child td { border-bottom: 0; }
.mira-pipeline-table tbody tr:hover td { background: var(--paper-soft); }
.mira-table-sub {
  font-size: 10px; color: var(--muted); margin-top: 2px;
  font-family: 'Geist Mono', ui-monospace, monospace; letter-spacing: 0.04em;
}
.mira-score-pill {
  display: inline-block; padding: 1px 7px; border-radius: 100px;
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10px;
  font-weight: 600; letter-spacing: 0.04em; margin-left: 4px;
}
.mira-score-pill-ok { background: rgba(16,185,129,0.14); color: #047857; }
.mira-score-pill-warn { background: rgba(245,158,11,0.16); color: #B45309; }
.mira-score-pill-bad { background: rgba(248,113,113,0.16); color: #B91C1C; }
.mira-stage {
  display: inline-block; padding: 4px 10px; border-radius: 6px;
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10px;
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em;
}
.mira-stage-solution { background: #BBF7D0; color: #065F46; }
.mira-stage-negotiation { background: #FED7AA; color: #9A3412; }
.mira-stage-discovery { background: #DBEAFE; color: #1E40AF; }
.mira-forecast-cat {
  display: inline-block; padding: 4px 10px; border-radius: 6px;
  background: var(--ink); color: #fff;
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10px;
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em;
}
.mira-risk {
  display: inline-block; padding: 4px 10px; border-radius: 6px;
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10px;
  font-weight: 600; letter-spacing: 0.04em;
}
.mira-risk-low { background: #BBF7D0; color: #065F46; }
.mira-risk-mid { background: #FEF08A; color: #854D0E; }
.mira-risk-high { background: #FECACA; color: #991B1B; }

.mira-pipeline-rail { display: flex; flex-direction: column; gap: 10px; }
.mira-rail-card {
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper);
}
.mira-rail-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.mira-rail-card-icon {
  width: 22px; height: 22px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.mira-rail-card-icon-amber { background: rgba(245,158,11,0.14); color: #B45309; }
.mira-rail-card-icon-purple { background: rgba(123,92,255,0.14); color: #7B5CFF; }
.mira-rail-card-title { font-family: 'Instrument Serif', serif; font-size: 16px; color: var(--ink); letter-spacing: -0.015em; }
.mira-rail-card-body { font-size: 12px; color: var(--muted); line-height: 1.5; margin-bottom: 6px; }
.mira-rail-card-stat {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10px;
  color: #7B5CFF; font-weight: 500;
}
.mira-rail-prompt {
  margin-top: auto; padding: 12px 14px; border-radius: 10px;
  background: linear-gradient(180deg, #F0EBFF 0%, #FAFAFB 100%);
  border: 1px solid var(--lavender);
  font-size: 12px; color: var(--ink); line-height: 1.5; text-align: center;
}

@media (max-width: 1024px) {
  .mira-screen-grid { grid-template-columns: 1fr; }
  .mira-pipeline-grid { grid-template-columns: 1fr; }
  .mira-metric-grid { grid-template-columns: repeat(2, 1fr); }
  .mira-pipeline-tabs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .mira-screen { padding: 16px; }
  .mira-screen-body { padding: 16px; }
  .mira-screen-chrome { grid-template-columns: auto 1fr; }
  .mira-screen-tag { display: none; }
  .mira-pipeline-table-wrap { overflow-x: auto; }
  .mira-pipeline-table { min-width: 720px; }
}

/* ==========================================================================
   MIRA IN ACTION — product showcase on early-access landing page
   Dark scene cards mimicking the Mira chat UI, with anonymized outputs.
   ========================================================================== */
.mira-action { background: var(--paper-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mira-scene {
  background: linear-gradient(180deg, #0A0820 0%, #05070D 100%);
  border-radius: 18px; padding: 36px 36px 30px; margin-bottom: 28px;
  position: relative; overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 24px 60px -28px rgba(9,0,155,0.4),
    0 4px 12px -4px rgba(11,8,34,0.18);
}
.mira-scene::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(123,92,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.mira-scene::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.4'/></svg>");
  opacity: 0.04; mix-blend-mode: overlay;
}
.mira-scene > * { position: relative; z-index: 1; }
.mira-scene-head {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start;
  margin-bottom: 24px; padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mira-scene-num {
  font-family: 'Instrument Serif', serif; font-size: 56px; line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #C2A8FF 0%, #7B5CFF 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.mira-scene-tag {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: #A88BFF; font-weight: 500; margin-bottom: 8px;
}
.mira-scene-title {
  font-family: 'Instrument Serif', serif; font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.02em; line-height: 1.18; color: #F4F4F7; font-weight: 400;
}

/* --- Chat layout --- */
.mira-chat { display: flex; flex-direction: column; gap: 14px; }
.mira-msg { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.mira-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Geist', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 0.02em;
}
.mira-avatar-user {
  background: rgba(255,255,255,0.08); color: #C2A8FF;
  border: 1px solid rgba(194,168,255,0.2);
}
.mira-avatar-mira {
  width: 36px; height: 36px; border-radius: 50%;
  background: #05070D; padding: 0;
}
.mira-bubble {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 14px 18px;
  color: #E4E4ED; font-size: 14.5px; line-height: 1.55;
  max-width: 760px;
}
.mira-bubble-agent {
  background: rgba(123,92,255,0.06);
  border-color: rgba(123,92,255,0.18);
  color: #F0EBFF;
  max-width: 100%;
}
.mira-bubble-agent p { margin-bottom: 12px; }
.mira-bubble-agent p:last-child { margin-bottom: 0; }
.mira-bubble-agent strong { color: #FFFFFF; font-weight: 500; }
.mira-bubble-agent em { color: #C2A8FF; font-style: italic; }

/* --- Output components inside agent bubble --- */
.mira-output-head { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mira-score {
  font-family: 'Instrument Serif', serif; font-size: 22px;
  letter-spacing: -0.015em; color: #FFFFFF;
}

.mira-fit-table {
  width: 100%; border-collapse: collapse; margin: 14px 0 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; overflow: hidden;
}
.mira-fit-table thead th {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: #A88BFF; font-weight: 500;
  padding: 10px 14px; text-align: left;
  background: rgba(123,92,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mira-fit-table tbody td {
  padding: 10px 14px; font-size: 13.5px;
  color: #E4E4ED; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mira-fit-table tbody tr:last-child td { border-bottom: 0; }
.mira-pill {
  display: inline-block; padding: 2px 9px; border-radius: 100px;
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10px;
  font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
}
.mira-pill-ok { background: rgba(16,185,129,0.18); color: #6EE7B7; border: 1px solid rgba(16,185,129,0.3); }
.mira-pill-bad { background: rgba(248,113,113,0.18); color: #FCA5A5; border: 1px solid rgba(248,113,113,0.3); }

.mira-feature-list, .mira-case-list { list-style: none; padding: 0; margin: 12px 0 16px; }
.mira-feature-list li, .mira-case-list li {
  display: grid; grid-template-columns: 28px 1fr; gap: 10px;
  padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,0.06);
  font-size: 14px; line-height: 1.55;
}
.mira-feature-list li:last-child, .mira-case-list li:last-child { border-bottom: 0; }
.mira-feature-rank {
  font-family: 'Instrument Serif', serif; font-size: 22px; line-height: 1;
  color: #C2A8FF;
}
.mira-case-list li {
  grid-template-columns: 1fr;
  padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,0.06);
}

.mira-stat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0;
}
.mira-stat-cell {
  padding: 16px 18px; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.mira-stat-cell-win { border-left: 3px solid #10B981; }
.mira-stat-cell-loss { border-left: 3px solid #F87171; }
.mira-stat-label {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: #A88BFF; margin-bottom: 6px; font-weight: 500;
}
.mira-stat-value {
  font-family: 'Instrument Serif', serif; font-size: 36px; line-height: 1;
  letter-spacing: -0.03em; color: #FFFFFF; margin-bottom: 4px;
  font-feature-settings: 'tnum', 'lnum';
}
.mira-stat-sub { font-size: 12px; color: #A0A0B5; }

.mira-bullet-list { list-style: none; padding: 0; margin: 8px 0 14px; }
.mira-bullet-list li {
  padding: 6px 0 6px 20px; font-size: 14px; color: #E4E4ED; line-height: 1.55;
  position: relative;
}
.mira-bullet-list li::before {
  content: '→'; position: absolute; left: 0; color: #A88BFF;
}

.mira-next, .mira-payback {
  margin-top: 14px; padding: 14px 16px;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.22);
  border-radius: 10px;
  display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: start;
}
.mira-next-label, .mira-payback-label {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: #FCD34D; font-weight: 500;
}
.mira-next-body, .mira-payback-body {
  font-size: 13.5px; line-height: 1.55; color: #F0EBFF;
}
.mira-payback-body strong { color: #FCD34D; }

@media (max-width: 768px) {
  .mira-scene { padding: 24px 22px 20px; }
  .mira-scene-head { grid-template-columns: 48px 1fr; gap: 14px; }
  .mira-scene-num { font-size: 40px; }
  .mira-stat-grid { grid-template-columns: 1fr; }
  .mira-next, .mira-payback { grid-template-columns: 1fr; gap: 8px; }
}

/* --- Methodology picker (contact page diagnostic) --- */
.method-pick {
  margin-top: 36px; padding: 24px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 4px 14px -8px rgba(11,8,34,0.05);
}
.method-pick-label {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--indigo); font-weight: 500; margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.method-pick-label::before {
  content: ''; display: inline-block; width: 18px; height: 1px;
  background: currentColor; opacity: 0.55;
}
.method-chip-row { gap: 8px; }
.method-chip-row .speed-chip {
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: default;
}
.method-chip-row .speed-chip:not(.speed-chip-brand):hover {
  background: var(--mist); border-color: var(--indigo); color: var(--indigo);
  transform: translateY(-1px);
}
.method-chip-row .method-chip-own {
  background: transparent; border-style: dashed; color: var(--muted);
}
.method-chip-row .method-chip-own:hover {
  border-style: solid; color: var(--ink);
}
.method-pick-foot {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted); line-height: 1.55;
}
@media (max-width: 640px) {
  .method-pick { padding: 18px 20px; }
  .method-chip-row .speed-chip { font-size: 11px; padding: 6px 11px; }
}

/* --- Hero launch note (Mira launch page) --- */
.hero-launch-note {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 32px; padding: 8px 16px;
  background: rgba(255,255,255,0.6); border: 1px solid var(--line);
  border-radius: 100px;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink); opacity: 0.85;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-launch-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber); flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(245,158,11,0.18);
  animation: heroPulse 2.4s cubic-bezier(0.4,0,0.2,1) infinite;
}

/* --- Stat strip (social proof band) --- */
.stat-strip {
  display: flex; align-items: center; justify-content: center; gap: 32px;
  margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.stat-strip-item { text-align: center; }
.stat-strip-value {
  font-family: 'Instrument Serif', serif; font-size: 30px; line-height: 1;
  letter-spacing: -0.025em; color: var(--ink); font-weight: 400;
  font-feature-settings: 'tnum', 'lnum';
  margin-bottom: 6px;
}
.stat-strip-label {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted);
}
.stat-strip-divider {
  width: 1px; height: 36px; background: var(--line); flex-shrink: 0;
}

/* --- Editorial prose block (problem narrative) --- */
.prose-block { font-size: 19px; line-height: 1.65; color: var(--ink); }
.prose-block p { margin-bottom: 22px; }
.prose-block p strong { color: var(--indigo); font-weight: 500; }
.prose-block .prose-callout {
  font-family: 'Instrument Serif', serif; font-size: 28px; line-height: 1.2;
  letter-spacing: -0.02em; font-weight: 400; color: var(--ink);
  padding: 18px 0; margin: 8px 0 24px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.prose-block .prose-pivot {
  font-family: 'Instrument Serif', serif; font-size: 24px;
  font-style: italic; font-weight: 300; color: var(--indigo);
  letter-spacing: -0.02em; margin-top: 8px;
}

/* --- Chat-prompt blocks (pillar 2 examples) --- */
.chat-stack { margin: 18px 0 22px; display: flex; flex-direction: column; gap: 10px; }
.chat-prompt {
  background: var(--paper-soft); border: 1px solid var(--line);
  border-left: 3px solid var(--indigo); border-radius: 6px;
  padding: 12px 14px;
}
.chat-prompt-q {
  font-family: 'Instrument Serif', serif; font-style: italic; font-size: 14.5px;
  line-height: 1.45; color: var(--ink); font-weight: 400;
  margin-bottom: 6px; letter-spacing: -0.01em;
}
.chat-prompt-a {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 12px;
  letter-spacing: 0.02em; color: var(--indigo); font-weight: 500;
  display: flex; align-items: baseline; gap: 8px;
}
.chat-arrow {
  font-family: 'Instrument Serif', serif; font-size: 16px; color: var(--amber);
  font-weight: 400; flex-shrink: 0;
}

/* --- Pillar punchline ('You don't open six tabs') --- */
.feature-pun {
  font-family: 'Instrument Serif', serif; font-size: 16px; line-height: 1.4;
  color: var(--ink); margin-top: 14px;
  padding-top: 14px; border-top: 1px solid var(--line);
  letter-spacing: -0.015em;
}
.feature-pun strong { font-weight: 500; }

/* --- How-it-works prompt sequence (Tuesday morning) --- */
.how-prompts {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  border-top: 2px solid var(--ink);
}
.how-prompt {
  display: grid; grid-template-columns: 80px 1fr; gap: 28px;
  padding: 36px 0; border-bottom: 1px solid var(--line);
  align-items: start;
}
.how-prompt:last-child { border-bottom: 0; }
.how-prompt-num {
  font-family: 'Instrument Serif', serif; font-size: 56px; line-height: 1;
  letter-spacing: -0.04em; font-weight: 300;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-vivid) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  font-feature-settings: 'tnum', 'lnum';
}
.how-prompt-body { max-width: 720px; }
.how-prompt-title {
  font-family: 'Instrument Serif', serif; font-size: 26px; line-height: 1.15;
  letter-spacing: -0.02em; font-weight: 400; color: var(--ink);
  margin-bottom: 18px;
}
.how-prompt-q {
  font-family: 'Instrument Serif', serif; font-style: italic; font-size: 18px;
  line-height: 1.45; color: var(--ink); font-weight: 400;
  padding: 16px 20px; background: var(--mist);
  border-left: 3px solid var(--indigo); border-radius: 4px;
  letter-spacing: -0.01em;
}
.how-prompt-arrow {
  font-family: 'Instrument Serif', serif; font-size: 24px; color: var(--amber);
  text-align: center; padding: 8px 0; font-weight: 300;
}
.how-prompt-a {
  font-size: 15.5px; line-height: 1.6; color: var(--ink);
  padding: 16px 20px; background: var(--paper); border: 1px solid var(--line);
  border-left: 3px solid var(--amber); border-radius: 4px;
}

/* --- Capabilities table (skim-friendly grid) --- */
.capabilities-wrap {
  border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; background: var(--paper);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 4px 14px -8px rgba(11,8,34,0.06);
}
.capabilities-table {
  width: 100%; border-collapse: collapse; background: var(--paper);
}
.capabilities-table thead th {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted); font-weight: 500; text-align: left;
  padding: 18px 22px; border-bottom: 2px solid var(--ink);
  background: var(--paper-soft);
}
.capabilities-table tbody td {
  font-family: 'Instrument Serif', serif; font-size: 16px;
  letter-spacing: -0.01em; color: var(--ink); font-weight: 400;
  padding: 16px 22px; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.capabilities-table tbody tr:last-child td { border-bottom: 0; }
.capabilities-table tbody tr:hover td { background: var(--mist); }

/* --- Responsive --- */
@media (max-width: 960px) {
  .how-prompt { grid-template-columns: 60px 1fr; gap: 18px; padding: 28px 0; }
  .how-prompt-num { font-size: 44px; }
  .how-prompt-title { font-size: 22px; }
  .how-prompt-q, .how-prompt-a { font-size: 14.5px; padding: 12px 14px; }
  .capabilities-table thead th,
  .capabilities-table tbody td { padding: 14px 16px; font-size: 14px; }
  .stat-strip { gap: 18px; }
  .stat-strip-divider { display: none; }
  .prose-block { font-size: 17px; }
  .prose-block .prose-callout { font-size: 22px; }
  .prose-block .prose-pivot { font-size: 20px; }
}
@media (max-width: 640px) {
  .capabilities-wrap { overflow-x: auto; }
  .capabilities-table { min-width: 560px; }
}

/* ===== TRIAL REASSURANCE (get-started page) ===== */
.trial-reassurance {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line);
}
.trial-reassurance-item {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
}
.trial-reassurance-mark {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Instrument Serif', serif; font-weight: 500; font-size: 16px;
  color: var(--indigo); background: var(--mist); border: 1px solid var(--lavender);
  flex-shrink: 0; margin-top: 2px;
  font-feature-settings: 'tnum', 'lnum';
}
.trial-reassurance-title {
  font-family: 'Instrument Serif', serif; font-weight: 500; font-size: 17px;
  letter-spacing: -0.015em; color: var(--ink); margin-bottom: 4px;
}
.trial-reassurance-body {
  font-size: 13.5px; color: var(--muted); line-height: 1.55;
}
@media (max-width: 960px) {
  .trial-reassurance { grid-template-columns: 1fr; gap: 18px; margin-top: 40px; padding-top: 28px; }
}

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