/* ===== BASE STYLES ===== */
:root {
  --graphite: #2A2D34;
  --teal: #0FB9B1;
  --concrete-gray: #FFFFFF;
  --midnight-blue: #111827;
  --copper: #B87333;
}

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

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--midnight-blue);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  padding-top: 70px; /* Space for fixed navbar */
}

img {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== NAVIGATION BAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

/* dropdown container */
.nav-dropdown {
  position: relative;
}

/* hidden dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 8px;
  list-style: none;
  padding: 0.4rem 0;
  margin: 0;
  min-width: 200px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  display: none;
  z-index: 1000;
}

/* dropdown items */
.dropdown-menu li a {
  display: block;
  padding: 0.5rem 0.9rem;
  text-decoration: none;
  color: var(--graphite);
  font-size: 0.9rem;
}

/* hover effects */
.dropdown-menu li a:hover {
  background: #f5f7f7;
  color: var(--teal);
}

/* show dropdown */
.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.nav-logo-image {
  height: 46px;
  width: auto;
  display: block;
}

.nav-logo-text {
  color: var(--midnight-blue);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav-logo:hover {
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--midnight-blue);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--teal);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--teal);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-github {
  background: var(--teal);
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.nav-github::after {
  display: none;
}

.nav-github:hover {
  background: var(--copper);
  color: white !important;
}

/* Hamburger menu for mobile */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--graphite);
  margin: 3px 0;
  transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(180deg, #62ddd7 0%, var(--teal) 42%, var(--graphite) 100%);
  color: white;
  padding: 3rem 2rem 2rem;
  text-align: center;
  min-height: 62vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.hero-content {
  max-width: 900px;
  margin-top: 0;
}

.logo {
  width: min(280px, 58vw);
  max-width: 100%;
  height: auto;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.hero-subtitle {
  font-size: 1.38rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  font-weight: 400;
}

.hero-hook {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  opacity: 0.85;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--concrete-gray);
  color: var(--midnight-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: rgba(230, 232, 235, 0.16);
  color: white;
  border: 2px solid var(--concrete-gray);
}

.btn-secondary:hover {
  background: rgba(230, 232, 235, 0.28);
  transform: translateY(-2px);
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 5rem 0;
  overflow-x: clip;
}

.section-alt {
  background: var(--concrete-gray);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  color: #111827;
}

.section-intro {
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2rem;
  color: #2A2D34;
}

.pipeline-showcase {
  padding-top: 2.25rem;
  background:
    radial-gradient(circle at 1px 1px, rgba(17, 24, 39, 0.08) 1px, transparent 0);
  background-size: 22px 22px;
  background-color: #fcfcf7;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.pipeline-showcase-header {
  margin-bottom: 2.5rem;
}

.pipeline-kicker {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.9rem;
}

.pipeline-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  min-width: 0;
  overflow: hidden;
}

.showcase-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.showcase-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.showcase-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--midnight-blue);
}

.document-viewer-shell {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #f5f6f8;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.document-toolbar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.document-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d8dde3;
}

.document-dot:first-child {
  background: #ff8c7a;
}

.document-dot:nth-child(2) {
  background: #f5c86a;
}

.document-dot:nth-child(3) {
  background: #76d2a3;
}

.document-toolbar-title {
  margin-left: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--graphite);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.document-viewer {
  height: 100%;
  overflow-y: auto;
  padding: 1rem;
  background: linear-gradient(180deg, #f7f9fb 0%, #eef3f6 100%);
  display: flex;
  flex-direction: column;
}

.document-page {
  display: block;
  width: 100%;
  border-radius: 16px;
  background: white;
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.12);
}

.document-pdf {
  height: 560px;
  min-height: unset;
  border: 0;
  background: white;
  display: block;
  width: 100%;
}

.document-note {
  margin-top: 1rem;
  background: white;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
  padding: 1rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--graphite);
}

.pipeline-connector {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--midnight-blue);
  /* padding: 0.75rem 0; */
  padding: 5rem 0;
}

.connector-copy {
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  color: var(--graphite);
  background: white;
  border: 1px solid rgba(15, 185, 177, 0.25);
  border-radius: 20px;
  padding: 0.4rem 1.1rem;
  box-shadow: 0 4px 12px rgba(15, 185, 177, 0.1);
}

.connector-arrow {
  font-size: 3rem;
  color: var(--teal);
  line-height: 1;
}

.kg-shell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.kg-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.kg-toolbar-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.kg-graph-stats {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--midnight-blue);
}

.kg-controls {
  display: flex;
  gap: 0.5rem;
}

.kg-control-btn {
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: white;
  color: var(--midnight-blue);
  border-radius: 10px;
  min-width: 42px;
  height: 42px;
  padding: 0 0.9rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.kg-control-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.08);
  border-color: rgba(15, 185, 177, 0.5);
}

.kg-toolbar-note {
  font-size: 0.86rem;
  color: rgba(42, 45, 52, 0.76);
}

.kg-stage {
  position: relative;
  height: 620px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background:
    radial-gradient(circle at top left, rgba(15, 185, 177, 0.12), transparent 34%),
    radial-gradient(circle at bottom right, rgba(15, 185, 177, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fafb 100%);
  cursor: grab;
  touch-action: none;
}

.kg-viewport {
  position: relative;
  width: 1600px;
  height: 1000px;
  margin: 0;
  transform-origin: top left;
  transform: translate(0px, 0px) scale(1);
  transition: transform 0.2s ease;
}

.kg-stage.dragging {
  cursor: grabbing;
}

.kg-stage.dragging .kg-viewport {
  transition: none;
}

.kg-edges,
[data-kg-nodes] {
  position: absolute;
  inset: 0;
}

.kg-edges {
  width: 100%;
  height: 100%;
}

.kg-edges line {
  stroke: rgba(17, 24, 39, 0.18);
  stroke-width: 3;
  stroke-linecap: round;
}

/* Wide invisible hit-area for easy hover — must not use stroke:none or transparent */
.kg-edges .kg-edge-hit {
  stroke: rgba(0, 0, 0, 0.001);
  stroke-width: 16;
  stroke-linecap: round;
  cursor: crosshair;
  pointer-events: stroke;
}

/* Visible stroke — pointer events off so they fall through to hit layer */
.kg-edges .kg-edge-visual {
  pointer-events: none;
}

.kg-node {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  width: 112px;
  height: 112px;
  padding: 0.8rem;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--midnight-blue);
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(17, 24, 39, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, outline-color 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow-wrap: anywhere;
}

.kg-node:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 16px 28px rgba(17, 24, 39, 0.16);
}

.kg-node.selected {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  z-index: 3;
}

.kg-node-core {
  background: #ffc48d;
  width: 128px;
  height: 128px;
}

.kg-node-metric {
  background: #b7d7ff;
}

.kg-node-product {
  background: #a6f0e8;
}

.kg-node-theme {
  background: #f5b8d7;
}

.kg-node-minor {
  width: 96px;
  height: 96px;
  font-size: 0.72rem;
}

.kg-detail-panel {
  background: white;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  padding: 1rem 1.1rem;
}

.kg-detail-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.kg-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.kg-detail-header h3 {
  font-size: 1.1rem;
  color: var(--midnight-blue);
}

.kg-detail-header span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--graphite);
  background: #f3f6f8;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
}

.kg-detail-panel p:last-child {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--graphite);
}

/* ===== PROBLEM SECTION ===== */
.problem-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.problem-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--teal);
}

.problem-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #2A2D34;
}

.problem-visual-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  color: var(--graphite);
  letter-spacing: -0.5px;
}

.problem-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1rem, 4vw, 3rem);
  background: linear-gradient(135deg, #f0f7f7 0%, #e0f2f1 100%);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.doc-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
  width: min(100%, 580px);
  min-width: 0;
}

.problem-doc-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.problem-doc-image {
  width: 100%;
  max-width: 170px;
  aspect-ratio: 8.5 / 11;
  object-fit: contain;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
}

.problem-arrow {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #2f4f4f;
  line-height: 1;
  flex-shrink: 0;
}

.problem-graph-panel {
  background: #ffffff;
  padding: clamp(0.75rem, 2vw, 1rem);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  width: min(100%, 282px);
  flex-shrink: 1;
}

.problem-graph-link {
  display: block;
}

.problem-graph-image {
  width: 100%;
  display: block;
}

.problem-visual img {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.problem-visual img:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.visual-placeholder {
  background: linear-gradient(135deg, var(--concrete-gray) 0%, #f5f6f8 100%);
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  color: var(--teal);
}

.visual-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.visual-arrow {
  font-size: 2rem;
  margin: 1rem 0;
}

.visual-caption {
  font-size: 1rem;
  margin-top: 1rem;
  color: #2A2D34;
  font-weight: 600;
}

/* ===== HOW IT WORKS SECTION ===== */
.architecture-diagram {
  margin-bottom: 3rem;
}

.architecture-flow {
  background: linear-gradient(145deg, #f7f9fb 0%, #ffffff 100%);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
  padding: 1.25rem;
  overflow-x: auto;
}

.flow-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(220px, 1fr));
  gap: 1.5rem;
  min-width: 1320px;
}

.flow-stage {
  position: relative;
}

.flow-stage:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(100% + 0.25rem);
  width: 1rem;
  height: 2px;
  background: rgba(15, 185, 177, 0.6);
}

.flow-index {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dfe5ea;
  color: var(--midnight-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 0.75rem;
}

.flow-card {
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 12px;
  padding: 1rem;
  min-height: 190px;
}

.flow-card h4 {
  font-size: 1.2rem;
  color: var(--midnight-blue);
  margin-bottom: 0.65rem;
  text-align: center;
  line-height: 1.25;
}

.flow-card p {
  font-size: 1.02rem;
  color: var(--graphite);
  line-height: 1.45;
  text-align: center;
}

.flow-stage-accent .flow-index {
  background: linear-gradient(135deg, #d96b18 0%, #ff9d3a 100%);
  color: #fff;
}

.flow-stage-accent .flow-card {
  border-color: rgba(15, 185, 177, 0.65);
  box-shadow: 0 8px 20px rgba(15, 185, 177, 0.15);
}

.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.step {
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.step-number {
  background: linear-gradient(135deg, var(--teal) 0%, var(--graphite) 100%);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #111827;
}

.step p {
  color: rgba(17, 24, 39, 0.72);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.step code {
  display: block;
  background: #111827;
  color: #E6E8EB;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  overflow-x: auto;
}

.tech-stack {
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tech-stack h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #111827;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.badge {
  background: linear-gradient(135deg, var(--teal) 0%, var(--graphite) 100%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ===== EXAMPLES SECTION ===== */
.examples-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}

.example-card {
  background: white;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.example-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.example-card-header {
  padding: 1.5rem 2rem 0.75rem;
  text-align: left;
}

.example-card-header h3 {
  font-size: 1.3rem;
  color: #111827;
  margin: 0;
}

.example-card-content {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  align-items: center;
  padding: 1rem 2rem 2rem;
  gap: 2rem;
}

.example-visual {
  width: 100%;
  max-width: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  margin: 0 auto;
}

.example-card-body {
  flex: 1;
}


.example-graph {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.example-triples h4 {
  font-size: 1.1rem;
  margin-top: auto;
  margin-bottom: 0.75rem;
  color: #2A2D34;
}

.example-triples ul {
  list-style: none;
}

.example-triples li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #E6E8EB;
  font-size: 0.95rem;
}

.example-triples li:last-child {
  border-bottom: none;
}

.subject {
  color: var(--teal);
  font-weight: 600;
}

.predicate {
  color: rgba(17, 24, 39, 0.72);
  font-style: italic;
}

.object {
  color: var(--copper);
  font-weight: 600;
}

.query-examples {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.query-examples h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #111827;
  text-align: center;
}

.query-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.query-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--concrete-gray);
  border-radius: 8px;
  border-left: 4px solid var(--teal);
}

.query-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.query-item strong {
  color: #111827;
}

.query-item em {
  color: #2A2D34;
  font-style: normal;
}

.sources {
  display: block;
  font-size: 0.85rem;
  color: rgba(17, 24, 39, 0.72);
  margin-top: 0.5rem;
}

/* ===== DEMO SECTION ===== */
.demo-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

.video-placeholder {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.demo-quickstart {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.demo-quickstart h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #111827;
}

.showcase-panel {
  margin-top: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.showcase-copy {
  margin: 0;
  padding: 1.25rem 1.5rem 0.75rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--graphite);
  text-align: center;
}

.showcase-copy a {
  color: var(--teal);
  font-weight: 600;
}

.showcase-trigger {
  width: 100%;
  background: none;
  border: none;
  border-top: 1px solid #E6E8EB;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--midnight-blue);
  cursor: pointer;
  text-align: left;
}

.showcase-trigger:hover {
  background: #f7f9fb;
}

.showcase-chevron {
  font-size: 1.1rem;
  color: var(--teal);
  font-style: normal;
  line-height: 1;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.showcase-panel.open .showcase-chevron {
  transform: rotate(180deg);
}

.showcase-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}

.showcase-panel.open .showcase-body {
  max-height: 1400px;
  padding: 0.5rem 1.5rem 1.5rem;
}

.showcase-poster-link {
  display: block;
  width: min(100%, 900px);
  margin: 0 auto;
}

.showcase-poster {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #E6E8EB;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
}

.code-block {
  position: relative;
  background: #111827;
  color: #E6E8EB;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.copy-code-btn {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.copy-code-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
}

.copy-code-btn.copied {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--midnight-blue);
}

.code-block code {
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== ABOUT US SECTION ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.team-member {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.member-photo-placeholder {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--graphite) 100%);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

.member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: block;
  object-fit: cover;
}

.team-member h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #111827;
}

.member-role {
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 1rem;
}

.member-bio {
  color: rgba(17, 24, 39, 0.72);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.member-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.member-links a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.member-links a:hover {
  color: #2A2D34;
}

.course-info {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.course-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #111827;
}

.course-info p {
  color: #2A2D34;
  margin-bottom: 0.5rem;
}

.course-info a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}

.course-info a:hover {
  color: var(--graphite);
  text-decoration: underline;
}

/* ===== FOOTER ===== */
footer {
  background: #111827;
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-info p {
  margin-bottom: 0.5rem;
  opacity: 0.8;
  line-height: 1.6;
}

.footer-links h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  display: block;
  padding: 0.25rem 0;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .demo-container {
    grid-template-columns: 1fr;
  }


  .problem-content {
    grid-template-columns: 1fr;
  }


  .problem-visual {
    gap: 1.5rem;
  }

  .doc-group {
    width: min(100%, 480px);
  }

  .problem-doc-image {
    max-width: 140px;
  }

  .problem-graph-panel {
    width: min(100%, 240px);
  }
}

@media (max-width: 900px) {
  body {
    padding-top: 60px;
  }

  .nav-container {
    height: 60px;
  }

  .nav-logo-image {
    height: 40px;
  }

  .nav-logo-text {
    font-size: 1.2rem;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 60px;
    flex-direction: column;
    background-color: var(--concrete-gray);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .logo {
    width: min(240px, 70vw);
  }

  .hero-tagline {
    font-size: 1.3rem;
  }

  .hero-subtitle {
    font-size: 1.18rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .container {
    padding: 0 1rem;
  }

  .flow-track {
    min-width: 1140px;
    gap: 1rem;
  }

  .flow-card {
    min-height: 170px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .problem-visual-title {
    font-size: 1.2rem;
    margin-top: 1.5rem;
  }

  .problem-visual {
    flex-direction: column;
    padding: 1.25rem;
    align-items: stretch;
  }

  .doc-group {
    width: 100%;
  }

  .problem-arrow {
    transform: rotate(90deg);
    align-self: center;
  }

  .problem-graph-panel {
    width: min(100%, 320px);
    align-self: center;
  }

  .example-card-header {
    padding: 1.25rem 1rem 0.5rem;
  }

  .example-card-content {
    grid-template-columns: 1fr;
    padding: 0.75rem 1rem 1.5rem;
    gap: 1rem;
  }

  .example-visual {
    max-width: 300px;
  }

  .showcase-card {
    padding: 1rem;
    border-radius: 20px;
  }

  .showcase-card-header,
  .kg-toolbar,
  .kg-detail-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .document-pdf {
    height: 400px;
  }

  .kg-stage {
    height: 420px;
  }

  .kg-viewport {
    margin: 0;
    transform-origin: top left;
  }
}

/* ===== RESULTS SECTION ===== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.metric-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--teal);
}

.metric-card .metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  display: block;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.metric-card .metric-label {
  font-size: 0.85rem;
  color: var(--graphite);
  font-weight: 500;
  line-height: 1.3;
}

.results-section-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--midnight-blue);
  margin: 2.5rem 0 1rem;
  text-align: center;
}

.results-table-wrapper {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
}

.results-table th {
  background: #2A2D34;
  color: white;
  padding: 0.9rem 1.2rem;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.results-table td {
  padding: 0.75rem 1.2rem;
  border-bottom: 1px solid #E6E8EB;
  color: var(--graphite);
}

.results-table tr:last-child td {
  border-bottom: none;
}

.results-table tr:hover td {
  background: #f7f9fb;
}

.results-note {
  font-size: 0.875rem;
  color: #7a5c00;
  background: #fff8e1;
  border-left: 4px solid #f0b429;
  padding: 0.75rem 1rem;
  border-radius: 0 6px 6px 0;
  margin-bottom: 3rem;
}

.contributions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.contribution-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contribution-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--midnight-blue);
}

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

.contribution-card li {
  padding: 0.35rem 0 0.35rem 1.6rem;
  font-size: 0.92rem;
  color: var(--graphite);
  position: relative;
  line-height: 1.4;
}

.built-card li::before {
  content: "✅";
  position: absolute;
  left: 0;
}

.reused-card li::before {
  content: "🔌";
  position: absolute;
  left: 0;
}

/* ===== SCOPE GRID (Problem Section) ===== */
.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.scope-card {
  background: #f7f9fb;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.scope-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--midnight-blue);
}

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

.scope-card li {
  padding: 0.3rem 0 0.3rem 1.6rem;
  font-size: 0.88rem;
  color: var(--graphite);
  position: relative;
  line-height: 1.4;
}

.scope-card.did li::before {
  content: "✅";
  position: absolute;
  left: 0;
  font-size: 0.8rem;
}

.scope-card.didnt li::before {
  content: "❌";
  position: absolute;
  left: 0;
  font-size: 0.8rem;
}

/* ===== LIMITATIONS ACCORDION ===== */
.limitations-accordion {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
}

.limitation-row {
  border-bottom: 1px solid #E6E8EB;
}

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

.limitation-trigger {
  width: 100%;
  background: none;
  border: none;
  border-left: 4px solid var(--midnight-blue);
  padding: 1.35rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.limitation-trigger:hover {
  background: #f7f9fb;
}

.limitation-trigger h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--midnight-blue);
  margin: 0;
}

.limitation-chevron {
  font-size: 1.1rem;
  font-weight: 1000;
  color: var(--teal);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  font-style: normal;
  line-height: 1;
}

.limitation-row.open .limitation-chevron {
  transform: rotate(180deg);
}

.limitation-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.75rem;
  font-size: 0.88rem;
  color: var(--graphite);
  line-height: 1.7;
}

.limitation-row.open .limitation-body {
  max-height: 600px;
  padding: 1.5rem 1.75rem 1.5rem;
}

/* ===== NEXT STEPS SECTION ===== */
.next-steps-list {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-top: 1rem;
}

.next-step-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 1.75rem;
  border-bottom: 1px solid #E6E8EB;
}

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

.next-step-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  flex-shrink: 0;
  width: 1.2rem;
}

.next-step-row strong {
  color: var(--midnight-blue);
  font-weight: 700;
  margin-right: 0.4rem;
  white-space: nowrap;
}

.next-step-row span {
  font-size: 0.92rem;
  color: var(--graphite);
  line-height: 1.6;
}

/* ===== API ACCESS ===== */
.api-doc-link {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: white;
  background: var(--teal);
  border-radius: 8px;
  text-decoration: none;
}

.api-doc-link:hover {
  opacity: 0.9;
}

.api-button-wrapper {
  text-align: center;
  margin-top: 0.2rem;
  margin-bottom: 2.5rem;
}

.api-list {
  list-style: none;
  padding: 0;
  margin-top: 0.6rem;
}

.api-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  color: var(--graphite);
}

.api-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* teal bullets */
.api-list-teal li::before {
  color: var(--teal);
}

/* copper bullets */
.api-list-copper li::before {
  color: var(--copper);
}

/* ===== DEMO VIDEOS ===== */
.demo-videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.demo-video-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  min-width: 0;
}

.demo-video-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--midnight-blue);
  padding: 1.25rem 1.5rem 0.75rem;
}

.demo-video-card p {
  font-size: 0.88rem;
  color: var(--graphite);
  padding: 0 1.5rem 1.25rem;
  line-height: 1.6;
}

.loom-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.loom-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.loom-placeholder {
  background: #f7f9fb;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: var(--graphite);
  font-size: 0.9rem;
  font-style: italic;
}

/* ===== USE CASES ===== */
.use-cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}
.use-case-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--teal);
  min-width: 0;
}

.use-case-card.api {
  border-top-color: var(--copper);
}

.use-case-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--midnight-blue);
  margin-bottom: 0.5rem;
}

.use-case-card .use-case-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  background: #e0f7f6;
  color: var(--teal);
}

.use-case-card.api .use-case-tag {
  background: #fdf0e0;
  color: var(--copper);
}

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

.use-case-card li {
  font-size: 0.9rem;
  color: var(--graphite);
  padding: 0.3rem 0 0.3rem 1.4rem;
  position: relative;
  line-height: 1.5;
}

.use-case-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.use-case-card.api li::before {
  color: var(--copper);
}

/* ===== KG LEGEND ===== */
.kg-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  padding: 0.4rem 0 0.2rem;
}

.kg-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--graphite);
}

.kg-legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.kg-legend-dot-core {
  background: #ffc48d;
}

.kg-legend-dot-metric {
  background: #b7d7ff;
}

.kg-legend-dot-product {
  background: #a6f0e8;
}

.kg-legend-dot-theme {
  background: #f5b8d7;
}

/* ===== KG LOADING SPINNER ===== */
.kg-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafb 100%);
  border-radius: inherit;
  z-index: 10;
}

.kg-loading-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(15, 185, 177, 0.18);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: kg-spin 0.75s linear infinite;
}

@keyframes kg-spin {
  to {
    transform: rotate(360deg);
  }
}

.kg-loading-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--graphite);
}

/* ===== EDGE RELATION TOOLTIP ===== */
.kg-edge-tooltip {
  position: fixed;
  background: var(--midnight-blue);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  pointer-events: none;
  white-space: nowrap;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.12s ease;
}

.kg-edge-tooltip.visible {
  opacity: 1;
}

/* ===== KG DETAIL — TRIPLE LIST ===== */
.kg-triple-count {
  font-size: 0.78rem;
  color: var(--graphite);
  margin-bottom: 0.45rem;
  line-height: 1;
}

.kg-triple-legend {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  padding: 0.25rem 6px 0.35rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px dashed rgba(17, 24, 39, 0.1);
  opacity: 0.7;
}

.kg-triple-legend .kg-triple-head {
  font-weight: 700;
}

.kg-triple-legend .kg-triple-tail {
  font-weight: 600;
}

.kg-triple-legend .kg-triple-relation {
  font-style: italic;
}

.kg-triple-scroll {
  position: relative;
  max-height: 120px;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
  scrollbar-color: rgba(15, 185, 177, 0.9) rgba(15, 185, 177, 0.2);
  padding-right: 6px;
}

.kg-triple-scroll::-webkit-scrollbar {
  width: 10px;
}

.kg-triple-scroll::-webkit-scrollbar-track {
  background: rgba(15, 185, 177, 0.2);
  border-radius: 999px;
}

.kg-triple-scroll::-webkit-scrollbar-thumb {
  background: rgba(15, 185, 177, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
}

.kg-triple-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.kg-triple-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.3rem 0.4rem;
  font-size: 0.84rem;
  line-height: 1.45;
  padding-left: 6px;
}

.kg-triple-head {
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

.kg-triple-relation {
  color: rgba(42, 45, 52, 0.6);
  font-style: italic;
  flex-shrink: 0;
}

.kg-triple-tail {
  color: var(--copper);
  font-weight: 600;
}

.kg-triple-empty {
  font-size: 0.88rem;
  color: var(--graphite);
  line-height: 1.7;
}

/* ===== PDF FALLBACK LINK ===== */
.document-pdf-fallback {
  display: block;
  text-align: center;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.document-pdf-fallback:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ===== RESPONSIVE — INTERACTIVE SECTION ===== */
@media (max-width: 768px) {
  .contributions-grid,
  .scope-grid,
  .demo-videos-grid,
  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .kg-legend {
    gap: 0.4rem 0.9rem;
    justify-content: center;
  }

  .kg-toolbar {
    flex-wrap: wrap;
  }
}
