/* ============ NewCo — shared styles ============ */

:root {
  --primary: #1E2761;
  --primary-dark: #12173A;
  --secondary: #4A5590;
  --accent-bg: #F0F4FB;
  --link: #2563EB;
  --link-hover: #1D4ED8;
  --bg: #FAFBFC;
  --card: #FFFFFF;
  --text: #1A1F3A;
  --muted: #6B7280;
  --muted-dark: #4B5563;
  --border: #E5E7EB;
  --border-strong: #D1D5DB;
  --success: #10B981;
  --warm: #FEF3C7;
  /* Accent palette */
  --accent-teal: #0891B2;
  --accent-teal-bg: #E0F7FA;
  --accent-purple: #7C3AED;
  --accent-purple-bg: #F3E8FF;
  --accent-green: #10B981;
  --accent-green-bg: #D1FAE5;
  --accent-amber: #D97706;
  --accent-amber-bg: #FEF3C7;
  --accent-rose: #E11D48;
  --accent-rose-bg: #FFE4E6;
}

/* ============ Icon Badges ============ */
.icon-badge {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge.navy { background: var(--accent-bg); color: var(--primary); }
.icon-badge.teal { background: var(--accent-teal-bg); color: var(--accent-teal); }
.icon-badge.purple { background: var(--accent-purple-bg); color: var(--accent-purple); }
.icon-badge.green { background: var(--accent-green-bg); color: var(--accent-green); }
.icon-badge.amber { background: var(--accent-amber-bg); color: var(--accent-amber); }
.icon-badge.rose { background: var(--accent-rose-bg); color: var(--accent-rose); }
.icon-badge.dark-teal { background: rgba(8, 145, 178, 0.15); color: #67E8F9; }
.icon-badge.dark-amber { background: rgba(217, 119, 6, 0.15); color: #FCD34D; }
.icon-badge.dark-purple { background: rgba(124, 58, 237, 0.15); color: #C4B5FD; }

/* Small inline icon for pipeline steps */
.step-icon {
  width: 24px; height: 24px;
  margin-bottom: 14px;
  opacity: 0.95;
  color: #93BBFF;
}
.pipeline-step.output .step-icon { color: var(--secondary); }

/* Icon inline in text */
.inline-icon {
  width: 16px; height: 16px;
  display: inline-block;
  vertical-align: -3px;
  margin-right: 4px;
}


* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: 'Fraunces', 'Cambria', Georgia, serif;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: 56px; letter-spacing: -0.02em; }
h2 { font-size: 40px; margin-bottom: 20px; }
h3 { font-size: 24px; margin-bottom: 12px; }
h4 { font-size: 18px; margin-bottom: 8px; }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.15s ease;
}
a:hover { color: var(--link-hover); border-bottom-color: var(--link-hover); }

strong { color: var(--primary); font-weight: 600; }

/* ============ Navigation ============ */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-brand {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.nav-brand a { color: var(--primary); border: none; }
.nav-brand a:hover { color: var(--secondary); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--muted-dark);
  font-size: 15px;
  font-weight: 500;
  border: none;
  padding: 6px 0;
  position: relative;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active {
  color: var(--primary);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -19px;
  left: 0; right: 0;
  height: 2px;
  background: var(--primary);
}
.nav-cta {
  padding: 8px 18px;
  background: var(--primary);
  color: white !important;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}
.nav-cta:hover { background: var(--primary-dark); color: white; }

/* ============ Hero ============ */
.hero {
  background: linear-gradient(135deg, #FAFBFC 0%, #F0F4FB 100%);
  padding: 100px 32px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(30,39,97,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: white;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: 72px;
  line-height: 1.05;
  max-width: 900px;
  margin-bottom: 24px;
}
.hero-subheading {
  font-family: 'Fraunces', 'Cambria', Georgia, serif;
  font-size: 48px;
  color: var(--secondary);
  line-height: 1.15;
  max-width: 1000px;
  margin-top: 4px;
  margin-bottom: 32px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.015em;
}
.hero-sub {
  font-size: 20px;
  color: var(--muted-dark);
  line-height: 1.55;
  max-width: 720px;
  margin-bottom: 36px;
}
@media (max-width: 900px) {
  .hero-subheading { font-size: 30px; }
}
.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.15s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: white !important;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  border-color: transparent;
}
.btn-outline {
  background: white;
  color: var(--primary) !important;
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-arrow::after {
  content: ' →';
  transition: transform 0.15s;
  display: inline-block;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ============ Sections ============ */
section { padding: 80px 32px; }
.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 800px; margin: 0 auto; }

.section-eyebrow {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title { font-size: 42px; margin-bottom: 16px; }
.section-lede {
  font-size: 20px;
  color: var(--muted-dark);
  max-width: 800px;
  line-height: 1.55;
  margin-bottom: 40px;
}

.section-alt { background: white; }
.section-dark { background: var(--primary); color: white; }
.section-dark .section-title,
.section-dark h2, .section-dark h3, .section-dark h4 { color: white; }
.section-dark .section-lede,
.section-dark p { color: #C7D0DA; }
.section-dark strong { color: white; }
.section-dark a { color: #93BBFF; }
.section-dark a:hover { color: white; }
.section-dark .section-eyebrow { color: #93BBFF; }

/* ============ Cards ============ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.15s ease;
}
.card-link {
  display: block;
  color: var(--text);
  border-bottom: none;
}
.card-link:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(30,39,97,0.08);
  color: var(--text);
}
.card-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card p { color: var(--muted-dark); font-size: 15px; }
.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--link);
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
}
.card-link:hover .card-arrow { gap: 8px; color: var(--link-hover); }

/* ============ Grids ============ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ============ Stats ============ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item .stat-num {
  font-family: 'Fraunces', serif;
  font-size: 40px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
}
.stat-item .stat-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}

/* ============ Comparison table ============ */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.compare-col {
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
}
.compare-col.negative { background: #F9FAFB; }
.compare-col.positive {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.compare-col.positive h3,
.compare-col.positive h4,
.compare-col.positive .compare-label { color: white; }
.compare-col.positive .compare-item { color: #C7D0DA; }
.compare-col.positive .compare-fine { color: #93BBFF; }
.compare-col.positive a { color: #93BBFF; }
.compare-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.compare-col h3 { font-size: 26px; font-style: italic; margin-bottom: 16px; font-weight: 500; }
.compare-item {
  padding: 10px 0;
  font-size: 15px;
  color: var(--muted-dark);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.compare-col.positive .compare-item { border-color: rgba(255,255,255,0.1); }
.compare-item:last-child { border: none; }
.compare-item strong { display: block; font-size: 17px; margin-bottom: 2px; }
.compare-fine {
  margin-top: 16px;
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
}

/* ============ Callout box ============ */
.callout {
  background: var(--primary);
  color: white;
  padding: 40px;
  border-radius: 12px;
  margin: 32px 0;
}
.callout h3 { color: white; margin-bottom: 12px; }
.callout p { color: #C7D0DA; }
.callout strong { color: white; }

.callout-light {
  background: var(--accent-bg);
  color: var(--text);
  padding: 32px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  margin: 24px 0;
}

/* ============ Pull quote ============ */
.pull-quote {
  border-left: 4px solid var(--primary);
  padding: 24px 32px;
  margin: 32px 0;
  background: var(--accent-bg);
  border-radius: 0 12px 12px 0;
}
.pull-quote p {
  font-family: 'Fraunces', 'Cambria', Georgia, serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.4;
  color: var(--text);
  margin: 0 0 12px 0;
}
.pull-quote cite {
  font-size: 15px;
  color: var(--muted-dark);
  font-style: normal;
  font-weight: 500;
}

/* ============ Hero proof strip ============ */
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  max-width: 1000px;
}
.hero-proof span {
  font-size: 14px;
  color: var(--muted-dark);
  letter-spacing: 0.01em;
}
.hero-proof strong {
  color: var(--primary);
  font-weight: 600;
}

/* ============ Attrition stat row ============ */
.attrition-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.attrition-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
}
.attrition-stat.emphasis {
  background: var(--primary);
  border-color: var(--primary);
}
.attrition-num {
  font-family: 'Fraunces', 'Cambria', Georgia, serif;
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.attrition-num span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 8px;
  color: var(--secondary);
}
.attrition-stat.emphasis .attrition-num { color: #ffffff; }
.attrition-stat.emphasis .attrition-num span { color: #B9C6E8; }
.attrition-label {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted-dark);
}
.attrition-stat.emphasis .attrition-label {
  border-top-color: rgba(255,255,255,0.18);
  color: #C7D0DA;
}
@media (max-width: 820px) {
  .attrition-row { grid-template-columns: 1fr; }
}

/* ============ Before / After grid ============ */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ba-col {
  border-radius: 14px;
  padding: 28px;
  border: 1px solid var(--border);
}
.ba-col.before {
  background: #FAFAFA;
  border-color: var(--border);
}
.ba-col.after {
  background: var(--accent-bg);
  border-color: var(--secondary);
}
.ba-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.ba-col.before .ba-label { color: var(--muted); }
.ba-col.after .ba-label { color: var(--primary); }
.ba-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.ba-row:last-child { border-bottom: none; }
.ba-row.headline {
  padding: 14px 0 16px;
  border-bottom: 2px solid var(--border-strong);
  align-items: baseline;
}
.ba-row.headline .ba-v { font-size: 20px; line-height: 1.3; }
.ba-col.after .ba-row.headline .ba-v strong { color: var(--primary); }
.ba-k {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-dark);
  line-height: 1.4;
}
.ba-v {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}
.ba-col.before .ba-v { color: var(--muted-dark); }
.ba-col.after .ba-v { color: var(--text); font-weight: 500; }
@media (max-width: 820px) {
  .ba-grid { grid-template-columns: 1fr; }
  .ba-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ============ Magnet visualization ============ */
.magnet-viz {
  background: linear-gradient(180deg, #0a0e1f 0%, #12173A 100%);
  border-radius: 16px;
  padding: 28px;
  overflow: hidden;
}
.magnet-viz canvas {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
}
.magnet-viz-caption {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 15px;
  line-height: 1.55;
  color: #C7D0DA;
  text-align: center;
}
.magnet-viz-caption strong {
  color: #ffffff;
  font-weight: 600;
  margin-right: 6px;
}

/* Keynote link chip in the partner block */
a.partner-tag {
  border-bottom: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}
a.partner-tag:hover {
  background: var(--accent-rose);
  color: #fff !important;
  border-color: var(--accent-rose);
}

/* ============ Fold flow (Ingest→Fold→Sample→Discover) ============ */
.fold-flow-header {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-top: 32px;
  margin-bottom: -8px;
}
.fold-punchline {
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  font-size: 16px;
  color: var(--text);
  line-height: 1.55;
}
.fold-punchline strong {
  color: var(--accent-purple);
  font-weight: 600;
  margin-right: 8px;
}

/* ============ Tagline banner ============ */
.tagline-banner {
  text-align: center;
  padding: 48px 24px;
  margin: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tagline-banner p {
  font-family: 'Fraunces', 'Cambria', Georgia, serif;
  font-size: 32px;
  font-style: italic;
  line-height: 1.3;
  color: var(--primary);
  margin: 0;
  letter-spacing: -0.01em;
}

/* ============ Layer diagram ============ */
.layers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 32px 0;
}
.layer {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  position: relative;
}
.layer-num {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  color: var(--accent-bg);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.layer h4 { font-size: 17px; margin-bottom: 8px; }
.layer p { font-size: 13.5px; color: var(--muted-dark); line-height: 1.5; }

/* ============ Item rows (numbered content) ============ */
.item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.item:last-child { border: none; }
.item-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 700;
}
.item h3 { font-size: 22px; margin-bottom: 8px; }
.item p { color: var(--muted-dark); }

/* ============ "See also" nav ============ */
.see-also {
  background: var(--accent-bg);
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.see-also-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.see-also-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.see-also-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.see-also-card {
  background: white;
  border-radius: 10px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: all 0.15s;
}
.see-also-card:hover {
  border-color: var(--primary);
  color: var(--text);
  transform: translateX(4px);
}
.see-also-card .card-eyebrow { color: var(--secondary); margin-bottom: 4px; }
.see-also-card .card-title {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
}

/* ============ Table ============ */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
th {
  background: var(--accent-bg);
  font-weight: 600;
  color: var(--primary);
  font-size: 13px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
tbody tr:hover { background: #FAFBFC; }

/* ============ Footer ============ */
footer {
  background: var(--primary-dark);
  color: #C7D0DA;
  padding: 60px 32px 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand h3 {
  color: white;
  font-family: 'Fraunces', serif;
  font-size: 24px;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 14px; }
.footer-col h4 {
  color: white;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: #C7D0DA;
  font-size: 14px;
  border: none;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: #93A0B4;
}

/* ============ Pipeline Flow ============ */
.pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: stretch;
  margin: 40px 0;
}
.pipeline-step {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pipeline-step.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.pipeline-step.active .pipeline-tag { color: #93BBFF; }
.pipeline-step.active h4 { color: white; }
.pipeline-step.active p { color: #C7D0DA; }
.pipeline-step.output {
  background: var(--accent-bg);
  border-color: var(--secondary);
  border-style: dashed;
  border-width: 2px;
}
.pipeline-step.output .pipeline-tag { color: var(--secondary); }
.pipeline-step.output h4 { color: var(--primary); }
.pipeline-step.output p { color: var(--muted-dark); }
.pipeline-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
}
.pipeline-step h4 {
  font-size: 16px;
  margin-bottom: 10px;
  font-family: 'Fraunces', serif;
  line-height: 1.2;
}
.pipeline-step p {
  font-size: 13px;
  color: var(--muted-dark);
  line-height: 1.5;
  margin: 0;
}
.pipeline-step .pipeline-tech {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.4;
}
.pipeline-step.output .pipeline-tech {
  border-top-color: rgba(0,0,0,0.08);
}
.pipeline-step.active .pipeline-tech { color: #93BBFF; }
.pipeline-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 22px;
  padding: 0 2px;
  font-weight: 300;
}

@media (max-width: 900px) {
  .pipeline {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .pipeline-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
    font-size: 24px;
  }
}

/* ============ Qdrant + Partners ============ */
.built-on {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}
.built-on .qdrant-mark {
  height: 22px;
  width: auto;
  display: block;
}

.partner-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: linear-gradient(135deg, #FFF5F7 0%, #FFFBFC 100%);
  border-radius: 16px;
  border: 1px solid #FFE4E6;
  margin: 40px 0;
}
.partner-logo-wrap {
  text-align: center;
}
.partner-logo {
  max-width: 260px;
  height: auto;
  margin-bottom: 16px;
}
.partner-tag {
  display: inline-block;
  padding: 5px 12px;
  background: white;
  color: #9E0D38;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid #FFC5D0;
  border-radius: 100px;
}
.partner-block h3 {
  color: var(--primary);
  font-size: 26px;
  margin-bottom: 12px;
}
.partner-block p {
  color: var(--muted-dark);
  font-size: 15px;
  line-height: 1.6;
}
.partner-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
.partner-benefits li {
  list-style: none;
  padding: 10px 0;
  font-size: 14px;
  color: var(--muted-dark);
  border-bottom: 1px solid #FCE7F3;
  position: relative;
  padding-left: 24px;
}
.partner-benefits li::before {
  content: '✓';
  color: #DC244C;
  font-weight: 700;
  position: absolute;
  left: 0;
}

/* Case study card */
.case-study {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  padding: 40px;
  background: var(--primary);
  color: white;
  border-radius: 16px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}
.case-study::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(147,187,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.case-study .big-stat {
  font-family: 'Fraunces', serif;
  font-size: 72px;
  font-weight: 700;
  color: #93BBFF;
  line-height: 1;
  z-index: 1;
  position: relative;
}
.case-study .big-stat-label {
  font-size: 13px;
  color: #C7D0DA;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 8px;
}
.case-study h3 {
  color: white;
  font-size: 26px;
  margin-bottom: 10px;
}
.case-study p { color: #C7D0DA; }
.case-study strong { color: white; }

/* Folding pipeline (technical) */

@media (max-width: 900px) {
  .partner-block { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; }
  .partner-benefits { grid-template-columns: 1fr; }
  .case-study { grid-template-columns: 1fr; padding: 32px 24px; }
  .case-study .big-stat { font-size: 56px; }
}

/* ============ IP / Patent section ============ */

/* PCT Timeline */

/* Confidence metrics */
.metric-card.amber .metric-num { color: var(--accent-amber); }
.metric-card.green .metric-num { color: var(--accent-green); }
.metric-card.purple .metric-num { color: var(--accent-purple); }

@media (max-width: 900px) {
  .pct-timeline { grid-template-columns: 1fr; gap: 24px; }
  .pct-timeline::before { display: none; }
}
/* ============ VSD Slide Gallery ============ */
.slide-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0;
}
.slide-gallery .slide-figure {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.slide-gallery .slide-figure:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(30,39,97,0.10);
  border-color: var(--secondary);
}
.slide-gallery img {
  width: 100%;
  display: block;
  border-bottom: 1px solid var(--border);
}
.slide-caption {
  padding: 16px 20px;
}
.slide-caption .caption-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 4px;
}
.slide-caption .caption-title {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}
.slide-caption p {
  font-size: 13px;
  color: var(--muted-dark);
  margin: 0;
  line-height: 1.5;
}
.slide-figure.wide { grid-column: span 2; }

/* Video / shorts embed */
.shorts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.short-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
}
.short-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(30,39,97,0.10);
}
.short-embed {
  position: relative;
  padding-bottom: 177.78%; /* 9:16 shorts aspect ratio */
  height: 0;
  overflow: hidden;
  background: var(--primary);
}
.short-embed iframe,
.short-embed video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
  object-fit: cover;
  background: var(--primary);
}
.short-placeholder {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, #12173A 100%);
  color: var(--ice-blue);
  padding: 20px;
  text-align: center;
}
.short-placeholder svg { width: 48px; height: 48px; opacity: 0.6; margin-bottom: 12px; }
.short-placeholder .placeholder-label {
  font-size: 12px;
  color: #93BBFF;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}
/* Clickable YouTube link overlay */
.short-yt-link {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: block;
  z-index: 2;
  border: none;
  background: transparent;
}
.short-yt-link img.yt-thumb {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background: var(--primary);
}
.short-yt-link .yt-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(220, 36, 76, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.2s, background 0.2s;
}
.short-yt-link:hover .yt-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(220, 36, 76, 1);
}
.short-yt-link .yt-play svg {
  width: 30px; height: 30px;
  fill: white;
  margin-left: 4px;
}
.short-yt-link .yt-badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  backdrop-filter: blur(8px);
  z-index: 3;
}

.short-caption {
  padding: 14px 18px;
}
.short-caption h5 {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 4px;
  font-weight: 600;
}
.short-caption p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 900px) {
  .slide-gallery, .shorts-grid { grid-template-columns: 1fr; }
  .slide-figure.wide { grid-column: span 1; }
}

/* ============ Big Statement Section ============ */
.big-statement {
  padding: 100px 32px;
  background: linear-gradient(135deg, #1E2761 0%, #12173A 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.big-statement::before,
.big-statement::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}
.big-statement::before {
  top: -100px; left: -100px;
  background: rgba(147, 187, 255, 0.12);
}
.big-statement::after {
  bottom: -100px; right: -100px;
  background: rgba(220, 36, 76, 0.08);
}
.big-statement .container { position: relative; z-index: 1; }
.big-statement .huge-stat {
  font-family: 'Fraunces', serif;
  font-size: 160px;
  font-weight: 700;
  color: #93BBFF;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.big-statement h2 {
  color: white;
  font-size: 44px;
  line-height: 1.15;
  max-width: 900px;
  margin: 0 auto 24px;
}
.big-statement p {
  color: #C7D0DA;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}
.big-statement .statement-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.06);
  color: #93BBFF;
  border: 1px solid rgba(147,187,255,0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .big-statement .huge-stat { font-size: 100px; }
  .big-statement h2 { font-size: 32px; }
  .big-statement { padding: 60px 24px; }
}

.footer-col a { overflow-wrap: anywhere; }

/* ============ Utility ============ */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.text-muted { color: var(--muted-dark); }
.small { font-size: 14px; }
.tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-bg);
  color: var(--primary);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  margin-right: 6px;
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero { padding: 60px 24px; }
  .hero-title { font-size: 44px; }
  .hero-sub { font-size: 18px; }
  section { padding: 60px 24px; }
  h1 { font-size: 40px; }
  h2, .section-title { font-size: 32px; }
  .grid-2, .grid-3, .grid-4, .compare, .layers, .stat-row, .see-also-cards, .footer-inner {
    grid-template-columns: 1fr;
  }
  .layers { gap: 12px; }
  .nav-inner { padding: 12px 16px; }
  /* Keep navigation on mobile — wrap instead of hiding */
  .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    justify-content: flex-end;
  }
  .nav-links a { font-size: 13px; }
  .nav-cta { padding: 6px 12px; font-size: 13px; }
}
