:root {
  color-scheme: light;
  --bg: #f4fbf9;
  --panel: #fff;
  --panel-alt: #f2fbf8;
  --ink: #14201f;
  --muted: #60716f;
  --line: #cce3dd;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --soft: #e6faf5;
  --premium: #0c1f1c;
  --aqua: #0891b2;
  --mint: #10b981;
  --rose: #e11d48;
  --sun: #f5c542;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.14), transparent 32%),
    radial-gradient(circle at top right, rgba(8, 145, 178, 0.08), transparent 28%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  border-radius: 8px;
  background: var(--premium);
  color: #fff;
  font-weight: 900;
  padding: 10px 14px;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(8, 145, 178, 0.72);
  outline-offset: 3px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid transparent;
  border-radius: 0 0 8px 8px;
  background: rgba(244, 251, 249, 0.82);
  padding: 16px 20px;
  backdrop-filter: blur(18px);
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #60716f;
  font-size: 14px;
  font-weight: 750;
}

.site-nav nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 10px;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease;
}

.site-nav nav a:hover,
.site-nav nav a[aria-current="page"],
.toolbar-link:hover {
  background: rgba(15, 118, 110, 0.08);
  color: var(--accent-dark);
}

.site-nav nav a[aria-current="page"] {
  border-color: rgba(15, 118, 110, 0.16);
  font-weight: 900;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 850;
}

.brand-logo {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.28);
}

.brand-mark.small .brand-logo {
  width: 28px;
  height: 28px;
}

.landing-page {
  background:
    radial-gradient(circle at 18% 12%, rgba(16, 185, 129, 0.2), transparent 30%),
    radial-gradient(circle at 88% 2%, rgba(8, 145, 178, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78) 40%, #f4fbf9),
    var(--bg);
}

.home-page {
  background:
    radial-gradient(circle at 16% 4%, rgba(16, 185, 129, 0.16), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(8, 145, 178, 0.1), transparent 25%),
    linear-gradient(180deg, #f6fbfa 0%, #f1faf7 28%, #071310 28%, #071310 29%, #f6fbfa 29%, #f6fbfa 100%);
}

.landing-hero,
.landing-section,
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 20px;
}

.home-page main {
  display: grid;
  gap: 24px;
}

.home-page .landing-section {
  padding-top: 58px;
  padding-bottom: 58px;
}

.home-page .landing-section + .landing-section {
  position: relative;
}

.home-page .landing-section + .landing-section::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: -12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 118, 110, 0.18), transparent);
}

.home-page .enterprise-hero {
  margin-top: 28px;
  margin-bottom: 0;
  padding-top: 68px;
  padding-bottom: 34px;
}

@keyframes sectionReveal {
  from {
    opacity: 0.48;
    transform: translateY(26px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sectionItemReveal {
  from {
    opacity: 0.5;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports (animation-timeline: view()) {
  .home-page .landing-section,
  .home-page .enterprise-hero {
    animation: sectionReveal both ease-out;
    animation-range: entry 0% cover 28%;
    animation-timeline: view();
  }

  .home-page .why-card,
  .home-page .solution-card-grid article,
  .home-page .partner-benefit-grid article,
  .home-page .company-summary,
  .home-page .contact-summary,
  .home-page .video-card {
    animation: sectionItemReveal both ease-out;
    animation-range: entry 4% cover 24%;
    animation-timeline: view();
  }
}

.home-page .section-intro,
.home-page .why-leyli-head,
.home-page .how-leyli-head,
.home-page .proof-capability-head,
.home-page .knowledge-solutions-head,
.home-page .platform-head {
  gap: 16px;
}

.home-page .section-intro p,
.home-page .why-leyli-head p,
.home-page .proof-capability-head p,
.home-page .knowledge-solutions-head p,
.home-page .platform-head p,
.home-page .technology-preview-section .section-intro p,
.home-page .homepage-roadmap-section .section-intro p,
.home-page .research-innovation-section .section-intro p {
  max-width: 760px;
  line-height: 1.72;
}

.home-page .why-leyli-head h2,
.home-page .how-leyli-head h2,
.home-page .proof-capability-head h2,
.home-page .knowledge-solutions-head h2,
.home-page .platform-head h2,
.home-page .technology-preview-section h2,
.home-page .homepage-roadmap-section h2,
.home-page .research-innovation-section h2 {
  font-size: clamp(34px, 4vw, 42px);
  line-height: 1.08;
}

.home-page .why-card-grid,
.home-page .how-process-grid,
.home-page .capability-proof-grid,
.home-page .solution-card-grid,
.home-page .platform-module-grid,
.home-page .technology-preview-grid,
.home-page .roadmap-matters-grid,
.home-page .research-card-grid,
.home-page .domain-adaptation-grid,
.home-page .enterprise-ai-grid,
.home-page .integration-card-grid,
.home-page .architecture-flow,
.home-page .hero-stat-grid,
.home-page .technology-preview-flow,
.home-page .product-roadmap-timeline {
  gap: 22px;
}

.home-page .why-card,
.home-page .how-process-step,
.home-page .capability-proof-grid article,
.home-page .solution-card-grid article,
.home-page .platform-module-grid article,
.home-page .technology-preview-grid article,
.home-page .product-roadmap-timeline article,
.home-page .roadmap-matters-grid article,
.home-page .research-card-grid article,
.home-page .domain-adaptation-grid article,
.home-page .enterprise-ai-grid article,
.home-page .integration-card-grid article {
  gap: 16px;
  padding: 26px;
}

.home-page .why-card,
.home-page .capability-proof-grid article,
.home-page .solution-card-grid article,
.home-page .platform-module-grid article {
  min-height: auto;
}

.home-page .ai-comparison,
.home-page .knowledge-demo-panel,
.home-page .proof-metrics-block,
.home-page .proof-takeaways,
.home-page .proof-capability-actions,
.home-page .engine-domain-panel,
.home-page .domain-adaptation-block,
.home-page .knowledge-solutions-closing,
.home-page .platform-flow-block,
.home-page .enterprise-ai-block,
.home-page .platform-integrations-block,
.home-page .enterprise-build-block,
.home-page .platform-closing,
.home-page .roadmap-matters-block,
.home-page .product-roadmap-statement,
.home-page .research-interest-block,
.home-page .research-collaboration-block,
.home-page .research-statement,
.home-page .technology-preview-statement {
  padding: 32px;
}

.home-page .why-card p,
.home-page .how-process-step p,
.home-page .capability-proof-grid p,
.home-page .solution-card-grid p,
.home-page .platform-module-grid p,
.home-page .technology-preview-grid span,
.home-page .research-card-grid p,
.home-page .roadmap-matters-grid p {
  line-height: 1.68;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1.14fr);
  gap: 18px 42px;
  align-items: center;
  min-height: 560px;
}

.surgical-page {
  background:
    radial-gradient(circle at 20% 10%, rgba(8, 145, 178, 0.18), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(16, 185, 129, 0.18), transparent 28%),
    linear-gradient(180deg, #f4fbf9, #fff 42%, #fff);
}

.surgical-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 42px;
  align-items: center;
  max-width: 1180px;
  min-height: 620px;
  margin: 0 auto;
  padding: 58px 20px;
}

.surgical-visual img {
  min-height: 430px;
}

.surgical-positioning,
.surgical-flow,
.surgical-scope {
  border-top: 1px solid rgba(15, 118, 110, 0.16);
}

.surgical-stats,
.flow-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.surgical-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.surgical-stats article,
.flow-grid article,
.scope-card {
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 42px rgba(15, 118, 110, 0.09);
  padding: 16px;
}

.surgical-stats strong {
  display: block;
  color: var(--accent-dark);
  font-size: 22px;
  margin-bottom: 6px;
}

.surgical-stats span,
.flow-grid span,
.scope-card span {
  color: var(--muted);
  line-height: 1.5;
}

.flow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-grid strong,
.scope-card strong {
  display: block;
  margin-bottom: 6px;
}

.surgical-scope {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 24px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title-block {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  max-width: 1040px;
}

.hero-title-block h1 {
  max-width: 980px;
  margin: 0;
  color: var(--premium);
  font-size: 52px;
  font-weight: 950;
  line-height: 1.04;
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.app-shell h1,
.app-shell h2,
.app-shell h3 {
  text-transform: uppercase;
}

.hero-copy p,
.section-intro p,
.platform-section p {
  color: #60716f;
  font-size: 18px;
  line-height: 1.6;
}

.hero-copy p {
  max-width: 620px;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.section-action-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  padding: 9px 11px;
  text-decoration: none;
  white-space: nowrap;
}

.technology-preview-section .section-action-link {
  border-color: rgba(118, 228, 209, 0.22);
  background: rgba(255, 255, 255, 0.065);
  color: #bdf9ef;
}

.section-action-link:hover,
.section-action-link:focus-visible {
  border-color: rgba(15, 118, 110, 0.32);
  transform: translateY(-1px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 850;
  padding: 12px 16px;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.primary-link {
  background:
    linear-gradient(135deg, var(--accent), var(--aqua));
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.22);
}

.secondary-link {
  border: 1px solid rgba(15, 118, 110, 0.22);
  background: var(--panel);
  color: var(--ink);
}

.primary-link:hover,
.secondary-link:hover {
  transform: translateY(-2px);
}

.primary-link:hover {
  box-shadow: 0 18px 34px rgba(15, 118, 110, 0.28);
}

.secondary-link:hover {
  border-color: rgba(15, 118, 110, 0.34);
  background: var(--soft);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(8, 145, 178, 0.6);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.13);
}

.launch-signal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.launch-signal span {
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
  padding: 7px 10px;
}

.hero-visual {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.9)),
    var(--panel);
  box-shadow: 0 24px 70px rgba(15, 118, 110, 0.15);
  overflow: hidden;
}

.landing-photo-card {
  border-color: rgba(15, 118, 110, 0.24);
  box-shadow:
    0 28px 90px rgba(15, 118, 110, 0.2),
    0 12px 28px rgba(8, 145, 178, 0.1);
}

.landing-photo,
.image-card img,
.industry-showcase img,
.demo-hero-strip img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.landing-photo {
  height: 100%;
  min-height: 360px;
}

.intro-video-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.58fr) minmax(0, 1.42fr);
  gap: 24px;
  align-items: center;
  border-top: 1px solid rgba(15, 118, 110, 0.16);
}

.video-card {
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 8px;
  background: var(--panel);
  box-shadow:
    0 24px 70px rgba(15, 118, 110, 0.13),
    0 8px 24px rgba(8, 145, 178, 0.08);
  overflow: hidden;
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0c1f1c;
}

.video-caption {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
}

.video-caption strong {
  color: var(--premium);
}

.video-caption span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.graph-orbit {
  position: absolute;
  inset: 28px 24px 92px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(8, 145, 178, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
}

.graph-node {
  position: absolute;
  display: inline-flex;
  border: 1px solid #0f766e;
  border-radius: 999px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.08);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  padding: 10px 12px;
}

.graph-node.main {
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--accent), var(--aqua));
  color: #fff;
}

.graph-node.n1 { left: 12%; top: 18%; }
.graph-node.n2 { right: 10%; top: 20%; }
.graph-node.n3 { left: 16%; bottom: 18%; }
.graph-node.n4 { right: 13%; bottom: 18%; }

.hero-panel {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 14px;
}

.glass-panel {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.83);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(16px);
}

.hero-panel p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 4px;
}

.trust-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.trust-metrics span,
.proof-strip article {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(15, 118, 110, 0.17);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.78));
  box-shadow: 0 14px 32px rgba(15, 118, 110, 0.07);
  padding: 13px;
}

.trust-metrics strong,
.proof-strip strong {
  color: var(--premium);
  font-size: 13px;
}

.trust-metrics span,
.proof-strip span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.enterprise-hero {
  position: relative;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 34px;
  min-height: auto;
  margin-top: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: #071310;
  box-shadow: 0 30px 90px rgba(7, 19, 16, 0.24);
  color: #f8fffd;
  overflow: hidden;
  padding: 72px 28px 34px;
}

.enterprise-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.42;
  pointer-events: none;
}

.enterprise-hero > * {
  position: relative;
  z-index: 1;
}

.enterprise-hero-copy {
  grid-column: auto;
  max-width: 900px;
  gap: 18px;
}

.enterprise-hero .eyebrow {
  color: #8fd8cd;
}

.beta-badge {
  width: fit-content;
  border: 1px solid rgba(143, 216, 205, 0.34);
  border-radius: 999px;
  background: rgba(143, 216, 205, 0.08);
  color: #c9f4eb;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.16em;
  line-height: 1;
  padding: 8px 12px;
  text-transform: uppercase;
}

.enterprise-hero-copy h1 {
  max-width: 780px;
  color: #f8fffd;
  font-size: 66px;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: none;
}

.enterprise-hero-copy p {
  max-width: 860px;
  margin: 0;
  color: #b8c8c5;
  font-size: 20px;
  line-height: 1.6;
}

.enterprise-hero-copy .hero-beta-message {
  max-width: 720px;
  border-left: 2px solid rgba(143, 216, 205, 0.5);
  color: #d4e3df;
  font-size: 15px;
  line-height: 1.65;
  margin-top: 4px;
  padding-left: 16px;
}

.enterprise-hero .hero-actions {
  margin-top: 4px;
}

.enterprise-hero .primary-link {
  background: #f8fffd;
  color: #071310;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.enterprise-hero .secondary-link {
  border-color: rgba(248, 255, 253, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: #f8fffd;
}

.architecture-flow {
  position: relative;
  display: block;
  max-width: 1040px;
  min-height: 460px;
  border: 1px solid rgba(143, 216, 205, 0.1);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 50%, rgba(143, 216, 205, 0.12), transparent 28%),
    radial-gradient(circle at 18% 24%, rgba(8, 145, 178, 0.1), transparent 24%),
    radial-gradient(circle at 86% 76%, rgba(31, 183, 166, 0.1), transparent 24%),
    rgba(255, 255, 255, 0.018);
  opacity: 0.78;
  overflow: hidden;
  transform: scale(0.96);
  transform-origin: left center;
}

.architecture-graph-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(143, 216, 205, 0.48);
}

.architecture-graph-lines path,
.architecture-graph-lines circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 0.58;
  vector-effect: non-scaling-stroke;
}

.architecture-graph-lines path {
  stroke-dasharray: 7 9;
  animation: architectureGraphFlow 8s linear infinite;
}

.architecture-graph-lines circle {
  opacity: 0.38;
}

.architecture-card {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  width: min(138px, 18%);
  aspect-ratio: 1 / 1;
  min-height: 0;
  border: 1px solid rgba(143, 216, 205, 0.14);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(248, 255, 253, 0.07), rgba(248, 255, 253, 0.025)),
    rgba(8, 20, 18, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 18px 42px rgba(0, 0, 0, 0.16);
  color: #f8fffd;
  padding: 18px;
  text-align: center;
  animation: architectureFloat 9s ease-in-out infinite;
  position: absolute;
  z-index: 1;
  transform: translate(-50%, -50%);
}

.architecture-card:nth-of-type(2n) {
  animation-delay: 0.8s;
}

.architecture-card:nth-of-type(3n) {
  animation-delay: 1.4s;
}

.architecture-card:not(:last-child)::after {
  display: none;
}

.architecture-node-data { left: 50%; top: 18%; }
.architecture-node-extraction { left: 82%; top: 28%; }
.architecture-node-graph {
  left: 50%;
  top: 50%;
  width: min(166px, 21%);
  border-color: rgba(143, 216, 205, 0.32);
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 216, 205, 0.18), transparent 60%),
    linear-gradient(145deg, rgba(248, 255, 253, 0.1), rgba(248, 255, 253, 0.035)),
    rgba(8, 20, 18, 0.82);
}

.architecture-node-graph .architecture-icon {
  width: 40px;
  height: 40px;
}

.architecture-node-graph strong {
  font-size: 13px;
}
.architecture-node-reasoning { left: 82%; top: 72%; }
.architecture-node-graphrag { left: 50%; top: 82%; }
.architecture-node-agents { left: 18%; top: 72%; }
.architecture-node-apps { left: 18%; top: 28%; }

.architecture-card:hover {
  border-color: rgba(143, 216, 205, 0.38);
  background:
    linear-gradient(145deg, rgba(143, 216, 205, 0.12), rgba(248, 255, 253, 0.04)),
    rgba(8, 20, 18, 0.78);
}

.architecture-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(143, 216, 205, 0.18);
  border-radius: 50%;
  background: rgba(143, 216, 205, 0.055);
  color: #8fd8cd;
}

.architecture-icon svg {
  width: 20px;
  height: 20px;
}

.architecture-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.architecture-card strong {
  max-width: 104px;
  font-size: 12px;
  line-height: 1.18;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hero-stat-grid article {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(248, 255, 253, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
}

.hero-stat-grid strong {
  color: #b8c8c5;
  font-size: 12px;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-stat-grid span {
  color: #f8fffd;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.why-leyli-section {
  display: grid;
  gap: 28px;
  padding-top: 34px;
}

.why-leyli-section h2,
.why-leyli-section h3 {
  text-transform: none;
}

.why-leyli-head {
  display: grid;
  gap: 12px;
  max-width: 880px;
}

.why-leyli-head h2 {
  margin: 0;
  color: var(--premium);
  font-size: 46px;
  font-weight: 950;
  line-height: 1.05;
}

.why-leyli-head p {
  max-width: 760px;
  margin: 0;
  color: #60716f;
  font-size: 18px;
  line-height: 1.6;
}

.why-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.why-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 292px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, #eef8f5);
  box-shadow: 0 16px 44px rgba(15, 118, 110, 0.1);
  padding: 22px;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.why-card:hover {
  border-color: rgba(15, 118, 110, 0.36);
  box-shadow: 0 22px 58px rgba(15, 118, 110, 0.14);
  transform: translateY(-3px);
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(15, 118, 110, 0.3);
  border-radius: 8px;
  background: #d8f4ee;
  color: #064e45;
}

.why-icon svg {
  width: 25px;
  height: 25px;
}

.why-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.why-card h3 {
  margin: 0;
  color: #071310;
  font-size: 21px;
  line-height: 1.15;
}

.why-card p {
  margin: 0;
  color: #263f3b;
  font-size: 15px;
  line-height: 1.62;
}

.ai-comparison {
  display: grid;
  gap: 16px;
  margin-top: 8px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 251, 249, 0.9));
  box-shadow: 0 20px 58px rgba(15, 118, 110, 0.1);
  padding: 22px;
}

.ai-comparison h3 {
  margin: 0;
  color: var(--premium);
  font-size: 28px;
  line-height: 1.2;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.comparison-grid article {
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 18px;
}

.comparison-grid .leyli-column {
  border-color: rgba(15, 118, 110, 0.26);
  background: rgba(230, 250, 245, 0.7);
}

.comparison-grid strong {
  display: block;
  color: var(--premium);
  font-size: 17px;
  margin-bottom: 12px;
}

.comparison-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comparison-grid li {
  position: relative;
  color: #60716f;
  font-size: 14px;
  line-height: 1.35;
  padding-left: 22px;
}

.comparison-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #94a3b8;
  transform: translateY(-50%);
}

.leyli-column li::before {
  background: var(--accent);
}

.trustworthy-knowledge {
  max-width: 760px;
  margin: 10px auto 0;
  color: var(--premium);
  font-size: 34px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
}

.homepage-architecture-section {
  display: grid;
  gap: 24px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 249, 0.92));
  box-shadow: 0 22px 64px rgba(15, 118, 110, 0.1);
  padding: 42px 28px;
}

.homepage-architecture-section h2 {
  text-transform: none;
}

.architecture-principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.architecture-principle-grid article {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(15, 118, 110, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  padding: 18px;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.architecture-principle-grid article:hover {
  border-color: rgba(15, 118, 110, 0.34);
  box-shadow: 0 18px 48px rgba(15, 118, 110, 0.12);
  transform: translateY(-3px);
}

.architecture-principle-grid span,
.homepage-roadmap-grid span {
  width: fit-content;
  border-radius: 999px;
  background: #ccfbf1;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  padding: 6px 9px;
  text-transform: uppercase;
}

.architecture-principle-grid strong,
.homepage-roadmap-grid strong {
  color: var(--premium);
  font-size: 17px;
  line-height: 1.24;
}

.architecture-principle-grid p,
.homepage-roadmap-grid p {
  margin: 0;
  color: #60716f;
  font-size: 13px;
  line-height: 1.52;
}

.architecture-value-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.architecture-value-line span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.architecture-value-line span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 8px;
  height: 1px;
  background: rgba(15, 118, 110, 0.38);
  transform: translateY(-50%);
}

.how-leyli-section {
  display: grid;
  gap: 22px;
  overflow: hidden;
  border: 1px solid rgba(248, 255, 253, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 10%, rgba(15, 118, 110, 0.28), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(20, 184, 166, 0.14), transparent 30%),
    linear-gradient(135deg, #071310, #0b1a17 54%, #06100e);
  box-shadow: 0 28px 80px rgba(6, 19, 16, 0.2);
  color: #f8fffd;
  padding: 42px 28px;
}

.how-leyli-section h2,
.how-leyli-section h3 {
  text-transform: none;
}

.how-leyli-head {
  display: grid;
  gap: 12px;
  max-width: 940px;
}

.how-leyli-head .eyebrow {
  color: #76e4d1;
}

.how-leyli-head h2 {
  margin: 0;
  color: #f8fffd;
  font-size: clamp(32px, 3.6vw, 40px);
  font-weight: 920;
  line-height: 1.08;
  letter-spacing: 0;
}

.how-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.how-process-step {
  position: relative;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 226px;
  border: 1px solid rgba(248, 255, 253, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 20px;
  animation: processReveal 0.8s ease both;
  animation-range: entry 0% cover 26%;
  animation-timeline: view();
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.how-process-step::after {
  content: "";
  position: absolute;
  inset: auto 20px -1px 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(118, 228, 209, 0.6), transparent);
}

.how-process-step:hover {
  border-color: rgba(118, 228, 209, 0.34);
  background: rgba(255, 255, 255, 0.075);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 54px rgba(0, 0, 0, 0.16);
  transform: translateY(-3px);
}

.process-number {
  color: rgba(248, 255, 253, 0.42);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.process-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(118, 228, 209, 0.24);
  border-radius: 8px;
  background: rgba(118, 228, 209, 0.1);
  color: #76e4d1;
}

.process-icon svg {
  width: 25px;
  height: 25px;
}

.process-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.how-process-step h3 {
  margin: 0 0 8px;
  color: #f8fffd;
  font-size: 22px;
  line-height: 1.15;
}

.how-process-step p {
  margin: 0;
  color: #c9d8d5;
  font-size: 15px;
  line-height: 1.58;
}

.process-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.process-chips span {
  border: 1px solid rgba(118, 228, 209, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #dff9f4;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 8px 10px;
}

.pipeline-shortcut {
  counter-reset: pipeline-step;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 30px;
  align-items: center;
}

.pipeline-shortcut span {
  position: relative;
  display: grid;
  align-items: center;
  align-content: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border: 1px solid rgba(118, 228, 209, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 18%, rgba(118, 228, 209, 0.16), transparent 45%),
    rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 42px rgba(0, 0, 0, 0.14);
  color: #f8fffd;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.22;
  padding: 18px 12px;
  text-align: center;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.pipeline-shortcut span:hover {
  border-color: rgba(118, 228, 209, 0.52);
  background:
    radial-gradient(circle at 50% 18%, rgba(118, 228, 209, 0.24), transparent 48%),
    rgba(255, 255, 255, 0.075);
  transform: translateY(-3px);
}

.pipeline-shortcut span::before {
  counter-increment: pipeline-step;
  content: "0" counter(pipeline-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 auto 8px;
  border: 1px solid rgba(118, 228, 209, 0.26);
  border-radius: 50%;
  background: rgba(118, 228, 209, 0.12);
  color: #76e4d1;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.pipeline-shortcut span:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -25px;
  top: 50%;
  width: 20px;
  height: 20px;
  background: transparent;
  color: rgba(118, 228, 209, 0.78);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  animation: pipelineArrowPulse 2.4s ease-in-out infinite;
}

.how-pipeline-statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(118, 228, 209, 0.18);
  border-radius: 8px;
  background: rgba(118, 228, 209, 0.08);
  padding: 18px;
}

.how-pipeline-statement p {
  margin: 0;
  color: #f8fffd;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.how-pipeline-statement .primary-link {
  background: #f8fffd;
  color: #071310;
}

.how-pipeline-statement .secondary-link {
  border-color: rgba(248, 255, 253, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fffd;
}

@keyframes processReveal {
  from {
    opacity: 0.42;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pipelineArrowPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: translateY(-50%) translateX(-2px);
  }

  50% {
    opacity: 1;
    transform: translateY(-50%) translateX(2px);
  }
}

@keyframes pipelineArrowDownPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: translateX(-50%) translateY(-2px);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(2px);
  }
}

@supports not (animation-timeline: view()) {
  .how-process-step {
    animation-duration: 0.7s;
  }
}

.proof-capability-section {
  display: grid;
  gap: 28px;
  overflow: hidden;
  border: 1px solid rgba(248, 255, 253, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 0%, rgba(20, 184, 166, 0.2), transparent 30%),
    radial-gradient(circle at 90% 8%, rgba(15, 118, 110, 0.16), transparent 28%),
    linear-gradient(135deg, #071310, #0a1715 58%, #06100e);
  color: #f8fffd;
  padding: 56px 28px;
}

.proof-capability-section h2,
.proof-capability-section h3 {
  text-transform: none;
}

.proof-capability-head {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.proof-capability-head .eyebrow,
.demo-workflow-copy .eyebrow {
  color: #76e4d1;
}

.proof-capability-head h2 {
  max-width: 960px;
  margin: 0;
  color: #f8fffd;
  font-size: 44px;
  font-weight: 950;
  line-height: 1.05;
}

.proof-capability-head p {
  max-width: 850px;
  margin: 0;
  color: #c9d8d5;
  font-size: 18px;
  line-height: 1.62;
}

.capability-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.capability-proof-grid article {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 240px;
  border: 1px solid rgba(248, 255, 253, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 20px;
  animation: processReveal 0.8s ease both;
  animation-range: entry 0% cover 24%;
  animation-timeline: view();
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.capability-proof-grid article:hover {
  border-color: rgba(118, 228, 209, 0.34);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-3px);
}

.proof-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(118, 228, 209, 0.24);
  border-radius: 8px;
  background: rgba(118, 228, 209, 0.1);
  color: #76e4d1;
}

.proof-icon svg {
  width: 25px;
  height: 25px;
}

.proof-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.capability-proof-grid h3 {
  margin: 0;
  color: #f8fffd;
  font-size: 20px;
  line-height: 1.16;
}

.capability-proof-grid p {
  margin: 0;
  color: #c9d8d5;
  font-size: 14px;
  line-height: 1.56;
}

.capability-proof-grid article > strong {
  width: fit-content;
  border: 1px solid rgba(118, 228, 209, 0.22);
  border-radius: 999px;
  background: rgba(118, 228, 209, 0.12);
  color: #dff9f4;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  margin-top: auto;
  padding: 8px 10px;
}

.knowledge-demo-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(118, 228, 209, 0.18);
  border-radius: 8px;
  background: rgba(118, 228, 209, 0.08);
  padding: 24px;
}

.demo-workflow-visual {
  display: grid;
  gap: 8px;
}

.demo-workflow-visual span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(248, 255, 253, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  color: #f8fffd;
  font-size: 13px;
  font-weight: 900;
  padding: 0 14px;
}

.demo-workflow-visual span:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 24px;
  top: calc(100% + 1px);
  width: 1px;
  height: 8px;
  background: rgba(118, 228, 209, 0.58);
}

.demo-workflow-copy {
  display: grid;
  gap: 10px;
}

.demo-workflow-copy h3 {
  margin: 0;
  color: #f8fffd;
  font-size: 34px;
  line-height: 1.08;
}

.demo-workflow-copy p {
  margin: 0;
  color: #c9d8d5;
  font-size: 16px;
  line-height: 1.62;
}

.proof-capability-statement {
  max-width: 900px;
  margin: 4px auto;
  color: #f8fffd;
  font-size: 34px;
  font-weight: 950;
  line-height: 1.14;
  text-align: center;
}

.proof-metrics-block,
.proof-takeaways,
.proof-capability-actions {
  border: 1px solid rgba(248, 255, 253, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 22px;
}

.proof-metrics-block {
  display: grid;
  gap: 16px;
}

.proof-metrics-block h3,
.proof-takeaways h3 {
  margin: 0;
  color: #f8fffd;
  font-size: 24px;
}

.proof-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.proof-metric-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(118, 228, 209, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 14px;
}

.proof-metric-grid strong {
  color: #f8fffd;
  font-size: 14px;
  line-height: 1.28;
}

.proof-metric-grid span {
  width: fit-content;
  border-radius: 999px;
  background: rgba(118, 228, 209, 0.12);
  color: #dff9f4;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 9px;
}

.proof-takeaways {
  display: grid;
  gap: 14px;
}

.proof-takeaways ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-takeaways li {
  position: relative;
  color: #d8e7e4;
  font-size: 15px;
  line-height: 1.42;
  padding-left: 24px;
}

.proof-takeaways li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #76e4d1;
  transform: translateY(-50%);
}

.proof-capability-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.proof-capability-actions .hero-actions {
  margin-top: 0;
}

.proof-capability-actions .primary-link {
  background: #f8fffd;
  color: #071310;
}

.proof-capability-actions .secondary-link {
  border-color: rgba(248, 255, 253, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fffd;
}

.proof-capability-actions p {
  margin: 0;
  color: #c9d8d5;
  font-size: 14px;
  line-height: 1.56;
}

.technology-page {
  color-scheme: dark;
  background:
    radial-gradient(circle at 18% 0%, rgba(15, 118, 110, 0.22), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(8, 145, 178, 0.16), transparent 28%),
    #071310;
  color: #f8fffd;
}

.technology-page .site-nav nav,
.technology-page .footer-about p,
.technology-page .footer-link-column a {
  color: #9fb3af;
}

.technology-page .brand-mark,
.technology-page .footer-brand,
.technology-page .footer-link-column strong {
  color: #f8fffd;
}

.technology-page .site-footer {
  border-color: rgba(184, 200, 197, 0.16);
  background: #091613;
}

.technology-page .site-nav {
  background: rgba(7, 19, 16, 0.82);
  border-color: rgba(248, 255, 253, 0.08);
}

.technology-page .site-nav nav a:hover,
.technology-page .site-nav nav a[aria-current="page"] {
  background: rgba(143, 216, 205, 0.1);
  color: #f8fffd;
}

.technology-page .site-nav nav a[aria-current="page"] {
  border-color: rgba(143, 216, 205, 0.22);
}

.technology-hero,
.technology-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 20px;
}

.technology-hero {
  display: grid;
  gap: 18px;
  min-height: 520px;
  align-content: center;
  border-bottom: 1px solid rgba(184, 200, 197, 0.14);
}

.technology-hero h1 {
  max-width: 980px;
  margin: 0;
  color: #f8fffd;
  font-size: 64px;
  font-weight: 950;
  line-height: 1.02;
  text-transform: none;
}

.technology-hero p {
  max-width: 820px;
  color: #b8c8c5;
  font-size: 20px;
  line-height: 1.6;
}

.technology-hero .primary-link {
  background: #f8fffd;
  color: #071310;
}

.hero-value-line {
  margin: -4px 0 0;
  color: #f8fffd;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.5;
}

.technology-hero .secondary-link {
  border-color: rgba(248, 255, 253, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: #f8fffd;
}

.technology-section {
  display: grid;
  gap: 24px;
}

.technology-page .section-intro h2,
.technology-page .technology-section h2,
.technology-page .technology-section h3 {
  color: #f8fffd;
  text-transform: none;
}

.technology-page .section-intro p {
  color: #b8c8c5;
}

.architecture-layer-stack {
  display: grid;
  gap: 12px;
  position: relative;
}

.architecture-layer-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border: 1px solid rgba(184, 200, 197, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    rgba(255, 255, 255, 0.045);
  background-size: 42px 42px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
  padding: 18px;
  transition:
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.architecture-layer-card:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 37px;
  bottom: -13px;
  width: 2px;
  height: 12px;
  background: #8fd8cd;
  box-shadow: 0 0 16px rgba(143, 216, 205, 0.62);
}

.architecture-layer-card:hover {
  border-color: rgba(143, 216, 205, 0.42);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.layer-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(143, 216, 205, 0.24);
  border-radius: 8px;
  background: rgba(143, 216, 205, 0.1);
  color: #8fd8cd;
  font-size: 12px;
  font-weight: 950;
}

.architecture-layer-card h3 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.architecture-layer-card h3 em,
.roadmap-grid span {
  display: inline-flex;
  border: 1px solid rgba(143, 216, 205, 0.26);
  border-radius: 999px;
  background: rgba(143, 216, 205, 0.1);
  color: #8fd8cd;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  text-transform: uppercase;
}

.architecture-layer-card p,
.architecture-layer-card small {
  display: block;
  color: #b8c8c5;
  line-height: 1.55;
}

.architecture-layer-card p {
  margin: 8px 0 0;
  font-size: 15px;
}

.architecture-layer-card small {
  margin-top: 8px;
  font-size: 12px;
}

.architecture-detail {
  margin-top: 12px;
}

.architecture-detail summary {
  width: fit-content;
  border: 1px solid rgba(143, 216, 205, 0.22);
  border-radius: 999px;
  background: rgba(143, 216, 205, 0.08);
  color: #dff9f4;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  padding: 7px 10px;
}

.architecture-detail summary::marker {
  color: #8fd8cd;
}

.architecture-detail[open] summary {
  background: rgba(143, 216, 205, 0.14);
}

.architecture-detail p {
  margin-top: 10px;
  border-left: 2px solid rgba(143, 216, 205, 0.34);
  color: #d8e7e4;
  font-size: 13px;
  padding-left: 12px;
}

.roadmap-layer {
  border-style: dashed;
}

.technology-card-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.technology-card-grid article,
.roadmap-grid article,
.biomedical-proof-section {
  border: 1px solid rgba(184, 200, 197, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
  padding: 18px;
}

.technology-card-grid h3,
.roadmap-grid h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.technology-card-grid p,
.roadmap-grid p {
  margin-top: 8px;
  color: #b8c8c5;
  font-size: 14px;
  line-height: 1.55;
}

.data-to-ai-section {
  border-top: 1px solid rgba(184, 200, 197, 0.14);
  border-bottom: 1px solid rgba(184, 200, 197, 0.14);
}

.data-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.data-flow span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 76px;
  border: 1px solid rgba(143, 216, 205, 0.22);
  border-radius: 8px;
  background: rgba(143, 216, 205, 0.08);
  color: #f8fffd;
  font-size: 14px;
  font-weight: 900;
}

.data-flow span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 8px;
  height: 2px;
  background: #8fd8cd;
  transform: translateY(-50%);
}

.data-to-ai-section p {
  max-width: 800px;
  margin: 0 auto;
  color: #f8fffd;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.22;
  text-align: center;
}

.biomedical-proof-section {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.biomedical-proof-section .primary-link {
  background: #f8fffd;
  color: #071310;
  white-space: nowrap;
}

.roadmap-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@keyframes architectureFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-4px);
  }
}

@keyframes architectureGraphFlow {
  to {
    stroke-dashoffset: -32;
  }
}

@keyframes flowPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(-50%) scaleX(0.7);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scaleX(1);
  }
}

@keyframes flowPulseVertical {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.7);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.landing-section {
  padding-top: 38px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 4px;
  padding-bottom: 28px;
}

.mvp-section {
  border-top: 1px solid rgba(15, 118, 110, 0.16);
}

.mvp-proof-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.mvp-proof-grid article {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78));
  box-shadow: 0 18px 45px rgba(15, 118, 110, 0.09);
  padding: 18px;
}

.mvp-proof-grid article > span {
  width: fit-content;
  border-radius: 999px;
  background: #ccfbf1;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  padding: 5px 8px;
}

.mvp-proof-grid strong {
  color: var(--premium);
  font-size: 17px;
  line-height: 1.25;
}

.mvp-proof-grid p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.demo-journey {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 35px rgba(15, 118, 110, 0.07);
  padding: 12px;
}

.demo-journey strong {
  color: var(--premium);
  margin-right: 4px;
}

.demo-journey span {
  border-radius: 999px;
  background: #fff;
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
}

.section-intro {
  display: grid;
  gap: 10px;
  max-width: 780px;
  margin-bottom: 22px;
}

.section-intro h2,
.platform-section h2 {
  font-size: 34px;
}

.service-grid,
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.visual-service-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.image-card {
  position: relative;
  min-height: 100%;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(15, 118, 110, 0.12);
  overflow: hidden;
}

.image-card img {
  height: 100%;
  min-height: 520px;
}

.image-card figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(15, 118, 110, 0.18);
  padding: 14px;
  backdrop-filter: blur(14px);
}

.image-card figcaption strong {
  color: var(--premium);
}

.image-card figcaption span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.service-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-grid article,
.industry-grid article,
.platform-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(15, 118, 110, 0.06);
}

.service-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.service-grid h3 {
  margin: 0;
  font-size: 17px;
}

.service-grid p,
.industry-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.industry-band {
  max-width: none;
  background:
    radial-gradient(circle at 86% 12%, rgba(8, 145, 178, 0.09), transparent 30%),
    linear-gradient(180deg, rgba(230, 250, 245, 0.96), rgba(247, 254, 252, 0.98)),
    #e6faf5;
  border-block: 1px solid #cce3dd;
}

.industry-band > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.industry-grid article {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.industry-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 22px;
}

.industry-showcase img {
  height: 330px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 8px;
  box-shadow: 0 20px 58px rgba(15, 118, 110, 0.14);
}

.knowledge-solutions-section {
  display: grid;
  gap: 30px;
  max-width: none;
  border-block: 1px solid rgba(248, 255, 253, 0.12);
  background:
    radial-gradient(circle at 12% 6%, rgba(20, 184, 166, 0.16), transparent 30%),
    radial-gradient(circle at 90% 14%, rgba(15, 118, 110, 0.16), transparent 28%),
    linear-gradient(135deg, #071310, #0b1a17 56%, #06100e);
  color: #f8fffd;
}

.knowledge-solutions-section > * {
  width: min(1180px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.knowledge-solutions-section h2,
.knowledge-solutions-section h3 {
  text-transform: none;
}

.knowledge-solutions-head {
  display: grid;
  gap: 12px;
}

.knowledge-solutions-head .eyebrow,
.engine-domain-panel .eyebrow,
.domain-adaptation-block .eyebrow {
  color: #76e4d1;
}

.knowledge-solutions-head h2 {
  max-width: 820px;
  margin: 0;
  color: #f8fffd;
  font-size: 48px;
  font-weight: 950;
  line-height: 1.03;
}

.knowledge-solutions-head p {
  max-width: 800px;
  margin: 0;
  color: #c9d8d5;
  font-size: 18px;
  line-height: 1.62;
}

.solution-domain-graph {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(248, 255, 253, 0.12);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 50%, rgba(118, 228, 209, 0.18), transparent 27%),
    radial-gradient(circle at 18% 24%, rgba(8, 145, 178, 0.12), transparent 24%),
    radial-gradient(circle at 82% 76%, rgba(20, 184, 166, 0.12), transparent 24%),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 74px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.solution-domain-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(118, 228, 209, 0.52);
}

.solution-domain-lines path,
.solution-domain-lines circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 0.55;
  vector-effect: non-scaling-stroke;
}

.solution-domain-lines path {
  stroke-dasharray: 7 9;
  animation: domainGraphFlow 7s linear infinite;
}

.solution-domain-lines circle {
  opacity: 0.4;
}

.domain-graph-node {
  position: absolute;
  z-index: 1;
  display: grid;
  gap: 6px;
  width: min(190px, 28%);
  border: 1px solid rgba(248, 255, 253, 0.14);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(248, 255, 253, 0.12), rgba(248, 255, 253, 0.045)),
    rgba(7, 19, 16, 0.76);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  padding: 16px;
  text-align: center;
  transform: translate(-50%, -50%);
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.domain-graph-node:hover {
  border-color: rgba(118, 228, 209, 0.42);
  background:
    linear-gradient(145deg, rgba(118, 228, 209, 0.14), rgba(248, 255, 253, 0.055)),
    rgba(7, 19, 16, 0.82);
  transform: translate(-50%, -50%) translateY(-3px);
}

.domain-graph-node span {
  color: #76e4d1;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.domain-graph-node strong {
  color: #f8fffd;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.1;
}

.domain-graph-node small {
  color: #c9d8d5;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.domain-graph-core {
  left: 50%;
  top: 50%;
  width: min(220px, 34%);
  border-color: rgba(118, 228, 209, 0.34);
  background:
    radial-gradient(circle at 50% 0%, rgba(118, 228, 209, 0.2), transparent 55%),
    linear-gradient(145deg, rgba(248, 255, 253, 0.16), rgba(248, 255, 253, 0.06)),
    rgba(7, 19, 16, 0.86);
}

.domain-graph-core strong {
  font-size: 22px;
}

.node-biomedical { left: 50%; top: 14%; }
.node-surgical { left: 84%; top: 50%; }
.node-legal { left: 50%; top: 86%; }
.node-enterprise { left: 16%; top: 50%; }

.solution-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.solution-groups {
  display: grid;
  gap: 26px;
}

.solution-group {
  display: grid;
  gap: 14px;
}

.solution-group > h3 {
  width: fit-content;
  margin: 0;
  border: 1px solid rgba(118, 228, 209, 0.2);
  border-radius: 999px;
  background: rgba(118, 228, 209, 0.09);
  color: #dff9f4;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.04em;
  padding: 9px 12px;
  text-transform: uppercase;
}

.solution-card-grid article {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 330px;
  border: 1px solid rgba(248, 255, 253, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 20px;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.solution-card-grid article:hover {
  border-color: rgba(118, 228, 209, 0.34);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-3px);
}

.solution-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(118, 228, 209, 0.24);
  border-radius: 8px;
  background: rgba(118, 228, 209, 0.1);
  color: #76e4d1;
}

.solution-icon svg {
  width: 25px;
  height: 25px;
}

.solution-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.solution-card-grid h3 {
  margin: 0;
  color: #f8fffd;
  font-size: 19px;
  line-height: 1.16;
}

.solution-card-grid p {
  margin: 0;
  color: #c9d8d5;
  font-size: 14px;
  line-height: 1.54;
}

.solution-status {
  width: fit-content;
  border: 1px solid rgba(248, 255, 253, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #b8c8c5;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  padding: 8px 10px;
}

.solution-status.active {
  border-color: rgba(118, 228, 209, 0.28);
  background: rgba(118, 228, 209, 0.12);
  color: #dff9f4;
}

.solution-card-grid strong {
  width: fit-content;
  align-self: end;
  border: 1px solid rgba(118, 228, 209, 0.18);
  border-radius: 999px;
  background: rgba(118, 228, 209, 0.1);
  color: #dff9f4;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  margin-top: auto;
  padding: 8px 10px;
}

.engine-domain-panel,
.domain-adaptation-block,
.knowledge-solutions-closing {
  border: 1px solid rgba(248, 255, 253, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 24px;
}

.engine-domain-panel {
  display: grid;
  gap: 22px;
}

.engine-domain-panel .section-intro,
.domain-adaptation-block .section-intro {
  max-width: 850px;
  margin-bottom: 0;
}

.engine-domain-panel .section-intro h2,
.domain-adaptation-block .section-intro h2 {
  color: #f8fffd;
}

.engine-domain-panel .section-intro p {
  color: #c9d8d5;
}

.engine-domain-map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.engine-domain-map::before,
.engine-domain-map::after {
  content: "";
  position: absolute;
  left: calc(50% - 28px);
  right: calc(50% - 28px);
  height: 1px;
  background: linear-gradient(90deg, rgba(118, 228, 209, 0.14), rgba(118, 228, 209, 0.8), rgba(118, 228, 209, 0.14));
  animation: solutionConnectorPulse 2.8s ease-in-out infinite;
}

.engine-domain-map::before {
  top: 35%;
}

.engine-domain-map::after {
  top: 68%;
  animation-delay: 1s;
}

.engine-stack,
.domain-stack {
  display: grid;
  gap: 8px;
}

.engine-stack strong,
.domain-stack strong {
  display: block;
  border: 1px solid rgba(118, 228, 209, 0.22);
  border-radius: 8px;
  background: rgba(118, 228, 209, 0.12);
  color: #f8fffd;
  font-size: 18px;
  padding: 14px;
}

.engine-stack span,
.domain-stack span {
  display: block;
  border: 1px solid rgba(248, 255, 253, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #d8e7e4;
  font-size: 13px;
  font-weight: 850;
  padding: 11px 13px;
}

.engine-domain-message {
  max-width: 520px;
  margin: 0 auto;
  color: #f8fffd;
  font-size: 24px;
  font-weight: 950;
  text-align: center;
}

.domain-adaptation-block {
  display: grid;
  gap: 20px;
}

.domain-adaptation-block .section-intro p {
  color: #c9d8d5;
}

.domain-adaptation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.domain-adaptation-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(118, 228, 209, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
}

.domain-adaptation-grid strong {
  color: #f8fffd;
  font-size: 17px;
}

.domain-adaptation-grid span {
  color: #c9d8d5;
  font-size: 13px;
  line-height: 1.52;
}

.custom-ontology-panel {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(118, 228, 209, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(118, 228, 209, 0.13), transparent 36%),
    rgba(255, 255, 255, 0.05);
  padding: 20px;
}

.custom-ontology-panel h3 {
  margin: 6px 0 8px;
  color: #f8fffd;
  font-size: 24px;
  line-height: 1.15;
}

.custom-ontology-panel p {
  max-width: 820px;
  margin: 0;
  color: #c9d8d5;
  line-height: 1.62;
}

.ontology-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ontology-chip-grid span {
  border: 1px solid rgba(248, 255, 253, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #dff9f4;
  font-size: 12px;
  font-weight: 850;
  padding: 8px 10px;
}

.custom-ontology-panel > strong {
  color: #f8fffd;
  font-size: 18px;
  line-height: 1.35;
}

.example-workflows-section {
  display: grid;
  gap: 20px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.workflow-grid article {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(248, 255, 253, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 18px;
}

.workflow-grid h3 {
  margin: 0;
  color: #f8fffd;
  font-size: 20px;
}

.workflow-flow {
  display: grid;
  gap: 8px;
}

.workflow-flow span {
  position: relative;
  border: 1px solid rgba(118, 228, 209, 0.16);
  border-radius: 8px;
  background: rgba(118, 228, 209, 0.08);
  color: #d8e7e4;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  padding: 11px 12px;
}

.workflow-flow span:not(:last-child)::after {
  content: "↓";
  display: block;
  color: #76e4d1;
  font-size: 14px;
  line-height: 1;
  margin-top: 8px;
  text-align: center;
}

.knowledge-solutions-closing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.knowledge-solutions-closing p {
  margin: 0;
  color: #f8fffd;
  font-size: 34px;
  font-weight: 950;
  line-height: 1.12;
}

.knowledge-solutions-closing .hero-actions {
  margin-top: 0;
}

.knowledge-solutions-closing .secondary-link {
  border-color: rgba(248, 255, 253, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fffd;
}

.knowledge-solutions-closing .primary-link {
  background: #f8fffd;
  color: #071310;
}

@keyframes solutionConnectorPulse {
  0%,
  100% {
    opacity: 0.28;
    transform: scaleX(0.65);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes domainGraphFlow {
  to {
    stroke-dashoffset: -32;
  }
}

.homepage-roadmap-section {
  display: grid;
  gap: 24px;
  overflow: hidden;
  border: 1px solid rgba(248, 255, 253, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 0%, rgba(20, 184, 166, 0.16), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(8, 145, 178, 0.12), transparent 28%),
    linear-gradient(135deg, #071310, #0b1a17 55%, #06100e);
  color: #f8fffd;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  padding: 44px 28px;
}

.homepage-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.homepage-roadmap-grid article {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(15, 118, 110, 0.17);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 38px rgba(15, 118, 110, 0.08);
  padding: 18px;
}

.homepage-roadmap-grid span {
  background: #ecfeff;
  color: #0e7490;
}

.homepage-roadmap-section .section-intro {
  max-width: 820px;
}

.homepage-roadmap-section .eyebrow {
  color: #76e4d1;
}

.homepage-roadmap-section h2 {
  color: #f8fffd;
  font-size: 42px;
  line-height: 1.06;
  text-transform: none;
}

.homepage-roadmap-section .section-intro p {
  color: #c9d8d5;
  font-size: 17px;
  line-height: 1.62;
}

.product-roadmap-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-roadmap-timeline::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 29px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(118, 228, 209, 0.54), transparent);
}

.product-roadmap-timeline article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 404px;
  border: 1px solid rgba(118, 228, 209, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.product-roadmap-timeline article::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 24px;
  width: 10px;
  height: 10px;
  border: 2px solid #76e4d1;
  border-radius: 999px;
  background: #071310;
  box-shadow: 0 0 0 6px rgba(118, 228, 209, 0.08);
}

.roadmap-stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-left: 24px;
}

.roadmap-stage-head span {
  color: #76e4d1;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.roadmap-stage-head strong {
  width: fit-content;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  padding: 8px 10px;
}

.product-roadmap-timeline h3,
.roadmap-matters-block h3 {
  margin: 0;
  color: #f8fffd;
  font-size: 24px;
  line-height: 1.12;
}

.product-roadmap-timeline ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-roadmap-timeline li {
  position: relative;
  color: #c9d8d5;
  font-size: 13px;
  line-height: 1.42;
  padding-left: 18px;
}

.product-roadmap-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(118, 228, 209, 0.8);
}

.roadmap-matters-block {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(248, 255, 253, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 24px;
}

.roadmap-matters-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.roadmap-matters-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(118, 228, 209, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
}

.roadmap-matters-grid strong {
  color: #f8fffd;
  font-size: 17px;
}

.roadmap-matters-grid p {
  margin: 0;
  color: #c9d8d5;
  font-size: 13px;
  line-height: 1.52;
}

.product-roadmap-statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(118, 228, 209, 0.18);
  border-radius: 8px;
  background: rgba(118, 228, 209, 0.08);
  padding: 22px;
}

.product-roadmap-statement p {
  margin: 0;
  color: #f8fffd;
  font-size: 30px;
  font-weight: 950;
  line-height: 1.12;
}

.product-roadmap-statement .hero-actions {
  margin-top: 0;
}

.product-roadmap-statement .primary-link {
  background: #f8fffd;
  color: #071310;
}

.product-roadmap-statement .secondary-link {
  border-color: rgba(248, 255, 253, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fffd;
}

.research-innovation-section {
  display: grid;
  gap: 24px;
  overflow: hidden;
  border: 1px solid rgba(248, 255, 253, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(20, 184, 166, 0.14), transparent 31%),
    radial-gradient(circle at 88% 8%, rgba(8, 145, 178, 0.1), transparent 28%),
    linear-gradient(135deg, #071310, #0a1815 54%, #06100e);
  color: #f8fffd;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  padding: 44px 28px;
}

.research-innovation-section .section-intro {
  max-width: 860px;
}

.research-innovation-section .eyebrow {
  color: #76e4d1;
}

.research-innovation-section h2,
.research-innovation-section h3 {
  color: #f8fffd;
  text-transform: none;
}

.research-innovation-section h2 {
  font-size: 42px;
  line-height: 1.06;
}

.research-innovation-section .section-intro p {
  color: #c9d8d5;
  font-size: 17px;
  line-height: 1.62;
}

.research-card-grid,
.research-chip-grid,
.research-collaboration-block {
  display: grid;
  gap: 12px;
}

.research-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.research-card-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 184px;
  border: 1px solid rgba(118, 228, 209, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.research-card-grid strong {
  color: #f8fffd;
  font-size: 18px;
  line-height: 1.18;
}

.research-card-grid p,
.research-collaboration-block p {
  margin: 0;
  color: #c9d8d5;
  font-size: 13px;
  line-height: 1.55;
}

.research-interest-block,
.research-collaboration-block,
.research-statement {
  border: 1px solid rgba(248, 255, 253, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 24px;
}

.research-interest-block h3,
.research-collaboration-block h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.12;
}

.research-chip-grid {
  display: flex;
  flex-wrap: wrap;
}

.research-chip-grid span {
  border: 1px solid rgba(118, 228, 209, 0.2);
  border-radius: 999px;
  background: rgba(118, 228, 209, 0.1);
  color: #dff9f4;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
}

.research-collaboration-block {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
}

.research-collaboration-block .hero-actions {
  margin-top: 0;
}

.research-collaboration-block .primary-link {
  background: #f8fffd;
  color: #071310;
}

.research-collaboration-block .secondary-link {
  border-color: rgba(248, 255, 253, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fffd;
}

.research-statement {
  background: rgba(118, 228, 209, 0.08);
}

.research-statement p {
  max-width: 860px;
  margin: 0 auto;
  color: #f8fffd;
  font-size: 30px;
  font-weight: 950;
  line-height: 1.12;
  text-align: center;
}

.why-card,
.how-process-step,
.capability-proof-grid article,
.solution-card-grid article,
.platform-module-grid article,
.technology-preview-grid article,
.product-roadmap-timeline article,
.roadmap-matters-grid article,
.research-card-grid article,
.technology-card-grid article,
.roadmap-grid article,
.company-summary,
.contact-summary {
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease;
}

.why-card:hover,
.how-process-step:hover,
.capability-proof-grid article:hover,
.solution-card-grid article:hover,
.technology-preview-grid article:hover,
.product-roadmap-timeline article:hover,
.roadmap-matters-grid article:hover,
.research-card-grid article:hover,
.technology-card-grid article:hover,
.roadmap-grid article:hover,
.company-summary:hover,
.contact-summary:hover {
  transform: translateY(-3px);
}

.technology-preview-section,
.company-contact-section,
.design-partner-section {
  display: grid;
  gap: 22px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 249, 0.92));
  box-shadow: 0 18px 52px rgba(15, 118, 110, 0.08);
  padding: 34px 28px;
}

.technology-preview-section {
  overflow: hidden;
  border-color: rgba(248, 255, 253, 0.12);
  background:
    radial-gradient(circle at 12% 0%, rgba(20, 184, 166, 0.16), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(8, 145, 178, 0.12), transparent 28%),
    linear-gradient(135deg, #071310, #0b1a17 54%, #06100e);
  color: #f8fffd;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  padding: 44px 28px;
}

.technology-preview-section h2,
.company-contact-section h2 {
  text-transform: none;
}

.technology-preview-section .section-intro {
  max-width: 780px;
}

.technology-preview-section .eyebrow {
  color: #76e4d1;
}

.technology-preview-section h2 {
  color: #f8fffd;
  font-size: 42px;
  line-height: 1.06;
}

.technology-preview-section .section-intro p {
  color: #c9d8d5;
  font-size: 17px;
  line-height: 1.62;
}

.technology-preview-flow {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
}

.technology-preview-flow article {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 76px;
  border: 1px solid rgba(118, 228, 209, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #f8fffd;
  padding: 10px;
  text-align: center;
}

.technology-preview-flow article:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 8px;
  height: 1px;
  background: rgba(118, 228, 209, 0.58);
  transform: translateY(-50%);
  animation: solutionConnectorPulse 2.6s ease-in-out infinite;
}

.technology-preview-flow span {
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.technology-preview-flow strong {
  width: fit-content;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  color: #cffafe;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  margin-top: 7px;
  padding: 6px 8px;
}

.technology-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.technology-preview-grid article,
.company-summary,
.contact-summary {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 18px;
}

.technology-preview-grid article {
  min-height: 184px;
  border-color: rgba(118, 228, 209, 0.16);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.technology-preview-grid strong,
.company-summary h2,
.contact-summary h2 {
  color: var(--premium);
}

.technology-preview-grid strong {
  color: #f8fffd;
  font-size: 18px;
  line-height: 1.18;
}

.technology-preview-grid span,
.company-summary p,
.contact-summary p {
  color: #60716f;
  font-size: 14px;
  line-height: 1.55;
}

.technology-preview-grid span {
  color: #c9d8d5;
  font-size: 13px;
}

.technology-preview-statement {
  border: 1px solid rgba(118, 228, 209, 0.18);
  border-radius: 8px;
  background: rgba(118, 228, 209, 0.08);
  padding: 22px;
}

.technology-preview-statement p {
  max-width: 820px;
  margin: 0 auto;
  color: #f8fffd;
  font-size: 30px;
  font-weight: 950;
  line-height: 1.12;
  text-align: center;
}

.technology-preview-section .hero-actions {
  margin-top: 0;
}

.technology-preview-section .primary-link {
  background: #f8fffd;
  color: #071310;
}

.technology-preview-section .secondary-link {
  border-color: rgba(248, 255, 253, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fffd;
}

.company-contact-section {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.design-partner-section {
  overflow: hidden;
  border-color: rgba(248, 255, 253, 0.12);
  background:
    radial-gradient(circle at 18% 0%, rgba(20, 184, 166, 0.18), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(8, 145, 178, 0.12), transparent 28%),
    linear-gradient(135deg, #071310, #0b1a17 58%, #06100e);
  color: #f8fffd;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

.design-partner-section .section-intro {
  max-width: 790px;
}

.design-partner-section .eyebrow {
  color: #76e4d1;
}

.design-partner-section h2 {
  color: #f8fffd;
  text-transform: none;
}

.design-partner-section .section-intro p {
  color: #c9d8d5;
}

.partner-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.partner-benefit-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(118, 228, 209, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.partner-benefit-grid strong {
  color: #f8fffd;
  font-size: 17px;
}

.partner-benefit-grid span {
  color: #c9d8d5;
  font-size: 14px;
  line-height: 1.55;
}

.design-partner-section .primary-link {
  background: #f8fffd;
  color: #071310;
}

.design-partner-section .secondary-link {
  border-color: rgba(248, 255, 253, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fffd;
}

.company-summary .secondary-link,
.contact-summary .primary-link {
  width: fit-content;
}

.platform-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding: 26px;
}

.leyli-platform-section {
  display: grid;
  gap: 30px;
  overflow: hidden;
  border: 1px solid rgba(248, 255, 253, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(20, 184, 166, 0.18), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(15, 118, 110, 0.16), transparent 28%),
    linear-gradient(135deg, #071310, #0b1a17 56%, #06100e);
  color: #f8fffd;
  padding: 56px 28px;
}

.leyli-platform-section h2,
.leyli-platform-section h3 {
  text-transform: none;
}

.platform-head {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.platform-head .eyebrow {
  color: #76e4d1;
}

.platform-head h2 {
  margin: 0;
  color: #f8fffd;
  font-size: 46px;
  font-weight: 950;
  line-height: 1.04;
}

.platform-head p {
  margin: 0;
  color: #c9d8d5;
  font-size: 18px;
  line-height: 1.62;
}

.platform-system-map {
  display: grid;
  gap: 18px;
}

.platform-core {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  max-width: 440px;
  margin: 0 auto;
  border: 1px solid rgba(118, 228, 209, 0.28);
  border-radius: 8px;
  background: rgba(118, 228, 209, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  padding: 24px;
  text-align: center;
}

.platform-core::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 20px;
  background: rgba(118, 228, 209, 0.58);
}

.platform-core span {
  color: #76e4d1;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.platform-core strong {
  color: #f8fffd;
  font-size: 28px;
  line-height: 1.1;
}

.platform-core small {
  color: #c9d8d5;
  font-size: 13px;
}

.platform-module-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.platform-module-grid article {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 264px;
  border: 1px solid rgba(248, 255, 253, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 18px;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.platform-module-grid article::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -13px;
  width: 1px;
  height: 12px;
  background: rgba(118, 228, 209, 0.34);
}

.platform-module-grid article:hover {
  border-color: rgba(118, 228, 209, 0.34);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-3px);
}

.platform-module-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(118, 228, 209, 0.24);
  border-radius: 8px;
  background: rgba(118, 228, 209, 0.1);
  color: #76e4d1;
}

.platform-module-icon svg {
  width: 23px;
  height: 23px;
}

.platform-module-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.platform-module-grid h3 {
  margin: 0;
  color: #f8fffd;
  font-size: 18px;
  line-height: 1.16;
}

.platform-module-grid p {
  margin: 0;
  color: #c9d8d5;
  font-size: 13px;
  line-height: 1.5;
}

.platform-module-grid article > strong,
.integration-card-grid span {
  width: fit-content;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  margin-top: auto;
  padding: 8px 10px;
}

.status-available,
.integration-card-grid span {
  border: 1px solid rgba(118, 228, 209, 0.2);
  background: rgba(118, 228, 209, 0.12);
  color: #dff9f4;
}

.status-development {
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: rgba(34, 211, 238, 0.1);
  color: #cffafe;
}

.status-roadmap {
  border: 1px solid rgba(226, 232, 240, 0.18);
  background: rgba(226, 232, 240, 0.08);
  color: #e2e8f0;
}

.platform-flow-block,
.enterprise-ai-block,
.platform-integrations-block,
.enterprise-build-block,
.platform-closing {
  border: 1px solid rgba(248, 255, 253, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 24px;
}

.platform-flow-block,
.enterprise-ai-block,
.platform-integrations-block,
.enterprise-build-block {
  display: grid;
  gap: 16px;
}

.platform-flow-block h3,
.enterprise-ai-block h3,
.platform-integrations-block h3,
.enterprise-build-block h3 {
  margin: 0;
  color: #f8fffd;
  font-size: 26px;
}

.platform-flow {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
}

.platform-flow span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border: 1px solid rgba(118, 228, 209, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #f8fffd;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  padding: 8px;
}

.platform-flow span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 8px;
  height: 1px;
  background: rgba(118, 228, 209, 0.58);
  transform: translateY(-50%);
  animation: solutionConnectorPulse 2.6s ease-in-out infinite;
}

.enterprise-ai-grid,
.integration-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.enterprise-ai-grid article,
.integration-card-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(118, 228, 209, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
}

.enterprise-ai-grid strong,
.integration-card-grid strong {
  color: #f8fffd;
  font-size: 16px;
}

.enterprise-ai-grid span {
  color: #c9d8d5;
  font-size: 13px;
  line-height: 1.45;
}

.enterprise-build-block ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.enterprise-build-block li {
  position: relative;
  border: 1px solid rgba(118, 228, 209, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #d8e7e4;
  font-size: 14px;
  font-weight: 850;
  padding: 12px 12px 12px 28px;
}

.enterprise-build-block li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #76e4d1;
  transform: translateY(-50%);
}

.platform-closing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.platform-closing p {
  margin: 0;
  color: #f8fffd;
  font-size: 34px;
  font-weight: 950;
  line-height: 1.12;
}

.platform-closing .hero-actions {
  margin-top: 0;
}

.platform-closing .primary-link {
  background: #f8fffd;
  color: #071310;
}

.platform-closing .secondary-link {
  border-color: rgba(248, 255, 253, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fffd;
}

.about-section,
.team-section {
  border-top: 1px solid rgba(15, 118, 110, 0.16);
}

.about-page .landing-section {
  padding-top: 30px;
  padding-bottom: 30px;
}

.about-page-hero {
  padding-top: 34px;
}

.about-page .about-page-hero .section-intro,
.about-page .company-context-section .section-intro,
.about-page .company-story-section .section-intro {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.about-page-hero h1 {
  max-width: 880px;
  margin: 0 auto;
  font-size: 44px;
  line-height: 1.08;
}

.about-page .about-page-hero p,
.about-page .company-context-section .section-intro p,
.about-page .company-story-section .section-intro p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.company-context-section,
.company-story-section,
.team-culture-section,
.domain-expansion-section {
  border-top: 1px solid rgba(15, 118, 110, 0.16);
}

.about-page .site-footer {
  margin-top: 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.team-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card div > span {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.team-card h3,
.contact-copy h2 {
  margin: 0;
}

.company-principles span,
.team-culture-grid span,
.team-card p,
.contact-copy p {
  color: #c7d8d4;
  line-height: 1.6;
}

.company-principles {
  display: grid;
  gap: 12px;
}

.company-vision-note,
.company-differentiation-line {
  max-width: 860px;
  margin: 18px auto 0;
  border: 1px solid rgba(118, 228, 209, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 0%, rgba(118, 228, 209, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.05);
  padding: 18px;
  text-align: center;
}

.company-vision-note p,
.company-differentiation-line {
  color: #f8fffd;
  font-size: 18px;
  line-height: 1.55;
}

.company-vision-note p {
  margin: 8px 0 0;
}

.company-closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.company-differentiation-line {
  font-weight: 900;
}

.compact-principles-head {
  margin-top: 26px;
}

.compact-principles-head h2 {
  margin: 6px 0 0;
  color: #f8fffd;
  font-size: 30px;
}

.team-culture-section {
  display: grid;
  gap: 24px;
}

.team-culture-section .section-heading {
  max-width: 820px;
}

.team-culture-section .section-heading h2 {
  margin: 0;
  color: #f8fffd;
  font-size: 44px;
  font-weight: 950;
  line-height: 1.08;
}

.team-culture-section .section-heading p {
  color: #c7d8d4;
  font-size: 18px;
  line-height: 1.6;
}

.team-culture-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.team-culture-grid article {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(248, 255, 253, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(31, 183, 166, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(248, 255, 253, 0.08), rgba(248, 255, 253, 0.035)),
    var(--panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 38px rgba(0, 0, 0, 0.16);
  padding: 22px;
}

.team-culture-grid strong {
  color: #f8fffd;
  font-size: 18px;
}

.company-principles-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.company-principles article,
.team-card,
.contact-section {
  border: 1px solid rgba(248, 255, 253, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(248, 255, 253, 0.07), rgba(248, 255, 253, 0.035)),
    var(--panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 12px 32px rgba(0, 0, 0, 0.14);
}

.company-principles article {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
}

.company-principles strong {
  color: #f8fffd;
  font-size: 17px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.team-card {
  overflow: hidden;
}

.team-card img {
  aspect-ratio: 4 / 3;
}

.team-card div {
  display: grid;
  gap: 7px;
  padding: 16px;
}

.team-card h3 {
  font-size: 20px;
}

.team-card strong {
  color: var(--premium);
  font-size: 14px;
}

.team-card p {
  margin: 0;
  font-size: 14px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 24px;
  margin-top: 42px;
  background:
    radial-gradient(circle at 12% 0%, rgba(16, 185, 129, 0.13), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 253, 250, 0.92)),
    var(--panel);
  padding: 28px;
}

.contact-page .contact-section {
  border-color: rgba(248, 255, 253, 0.14);
  background:
    radial-gradient(circle at 12% 0%, rgba(31, 183, 166, 0.18), transparent 34%),
    radial-gradient(circle at 92% 10%, rgba(8, 145, 178, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(248, 255, 253, 0.08), rgba(248, 255, 253, 0.035)),
    var(--panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 54px rgba(0, 0, 0, 0.18);
}

.contact-copy {
  display: grid;
  align-content: center;
  gap: 12px;
}

.contact-copy h2 {
  font-size: 34px;
}

.contact-copy h1 {
  color: #f8fffd;
  margin: 0;
  font-size: 42px;
  line-height: 1.1;
}

.contact-page-section {
  margin-top: 24px;
}

.contact-links {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.contact-links a,
.contact-links span {
  color: #bdf9ef;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: #f8fffd;
  font-size: 13px;
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  border: 0;
  cursor: pointer;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-form-status {
  min-height: 20px;
  margin: 0;
  color: #c7d8d4;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.contact-form-status[data-state="success"] {
  color: #bdf9ef;
}

.contact-form-status[data-state="error"] {
  color: #fecdd3;
}

.contact-form-status[data-state="loading"] {
  color: #dff9f4;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(42px, 0.14fr) minmax(360px, 0.85fr);
  gap: 28px;
  align-items: start;
  max-width: none;
  margin-top: 42px;
  border-top: 1px solid rgba(15, 118, 110, 0.18);
  background:
    radial-gradient(circle at 12% 0%, rgba(16, 185, 129, 0.14), transparent 30%),
    linear-gradient(135deg, #e6faf5, #f2fbf8);
  color: #48605d;
  font-size: 14px;
  padding: 36px max(20px, calc((100vw - 1180px) / 2 + 20px));
}

.footer-about {
  display: grid;
  gap: 10px;
  max-width: 520px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: var(--premium);
  font-weight: 900;
}

.footer-about p {
  max-width: 520px;
  margin: 0;
  color: #48605d;
  line-height: 1.6;
}

.footer-status {
  color: #60716f;
  font-size: 13px;
}

.footer-about span {
  color: var(--accent-dark);
  font-weight: 850;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.footer-about .footer-meta span {
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #31534f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 7px 9px;
  text-transform: uppercase;
}

.footer-gap {
  min-height: 100%;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 26px;
}

.footer-link-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-weight: 800;
}

.footer-link-column strong {
  color: var(--premium);
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-link-column a {
  color: #48605d;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.footer-social-link svg * {
  fill: currentColor;
}

.site-footer a:hover {
  color: var(--accent-dark);
}

.footer-note {
  display: none;
  margin: 0;
}

/* Unified enterprise theme for all website pages. */
.landing-page {
  color-scheme: dark;
  --bg: #0b1715;
  --panel: #12231f;
  --panel-alt: #182d28;
  --ink: #f8fffd;
  --muted: #a8bbb7;
  --line: rgba(184, 200, 197, 0.18);
  --accent: #1fb7a6;
  --accent-dark: #8fd8cd;
  --soft: rgba(143, 216, 205, 0.1);
  --premium: #f8fffd;
  background:
    radial-gradient(circle at 16% 0%, rgba(31, 183, 166, 0.16), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(8, 145, 178, 0.14), transparent 28%),
    linear-gradient(180deg, #0c1816 0%, #0b1715 44%, #0e1c19 100%);
  color: var(--ink);
}

.home-page {
  background:
    radial-gradient(circle at 16% 0%, rgba(31, 183, 166, 0.18), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(8, 145, 178, 0.14), transparent 28%),
    linear-gradient(180deg, #0c1816 0%, #0b1715 48%, #0e1c19 100%);
}

.landing-page .site-nav {
  border-color: rgba(248, 255, 253, 0.08);
  background: rgba(11, 23, 21, 0.84);
}

.landing-page .site-nav nav,
.landing-page .footer-about p,
.landing-page .footer-link-column a {
  color: var(--muted);
}

.landing-page .hero-copy p,
.landing-page .section-intro p,
.landing-page .section-intro p strong,
.landing-page .platform-section p {
  color: #c7d8d4;
}

.landing-page .section-intro h2,
.landing-page .platform-section h2,
.landing-page .service-grid h3,
.landing-page .industry-grid strong,
.landing-page .mvp-proof-grid strong,
.landing-page .image-card figcaption strong {
  color: var(--ink);
}

.landing-page .service-grid p,
.landing-page .industry-grid span,
.landing-page .mvp-proof-grid p,
.landing-page .image-card figcaption span {
  color: #aebfbb;
}

.landing-page .mvp-proof-grid article,
.landing-page .service-grid article,
.landing-page .industry-grid article,
.landing-page .platform-section,
.landing-page .image-card figcaption {
  border-color: var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.028)),
    var(--panel);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
}

.landing-page .mvp-proof-grid article > span,
.landing-page .demo-journey span {
  background: rgba(143, 216, 205, 0.13);
  color: #d8f3ee;
}

.landing-page .industry-band {
  border-color: rgba(184, 200, 197, 0.16);
  background:
    radial-gradient(circle at 86% 12%, rgba(8, 145, 178, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(18, 35, 31, 0.92), rgba(11, 23, 21, 0.98)),
    var(--bg);
}

.landing-page .brand-mark,
.landing-page .footer-brand,
.landing-page .footer-link-column strong {
  color: var(--ink);
}

.landing-page .site-nav nav a:hover,
.landing-page .site-nav nav a[aria-current="page"] {
  background: rgba(143, 216, 205, 0.1);
  color: var(--ink);
}

.landing-page .site-nav nav a[aria-current="page"] {
  border-color: rgba(143, 216, 205, 0.22);
}

.landing-page .site-footer {
  border-color: rgba(184, 200, 197, 0.16);
  background:
    radial-gradient(circle at 12% 0%, rgba(31, 183, 166, 0.12), transparent 28%),
    linear-gradient(135deg, #0c1816, #0f211d);
  color: var(--muted);
}

.landing-page .footer-about span,
.landing-page .site-footer a:hover {
  color: var(--accent-dark);
}

.landing-page .footer-status,
.demo-page .footer-status {
  color: var(--muted);
}

.landing-page .footer-about .footer-meta span {
  border-color: rgba(143, 216, 205, 0.18);
  background: rgba(143, 216, 205, 0.08);
  color: #d8f3ee;
}

.landing-page .landing-section + .landing-section::before {
  background: linear-gradient(90deg, transparent, rgba(143, 216, 205, 0.2), transparent);
}

.landing-page .contact-form input,
.landing-page .contact-form select,
.landing-page .contact-form textarea {
  border-color: rgba(248, 255, 253, 0.18);
  background: rgba(9, 28, 24, 0.76);
  color: #f8fffd;
}

.landing-page .contact-form input::placeholder,
.landing-page .contact-form textarea::placeholder {
  color: #8fa5a0;
}

.demo-intro-page {
  background:
    radial-gradient(circle at 16% 0%, rgba(31, 183, 166, 0.18), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(8, 145, 178, 0.14), transparent 28%),
    linear-gradient(180deg, #0c1816 0%, #0b1715 46%, #0e1c19 100%);
}

.demo-intro-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: 30px 42px;
  align-items: center;
  min-height: calc(100vh - 90px);
  padding-top: 72px;
  padding-bottom: 92px;
}

.demo-intro-title {
  display: grid;
  grid-column: 1 / -1;
  gap: 14px;
  max-width: 1040px;
}

.demo-intro-title h1 {
  max-width: 980px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.demo-intro-copy {
  display: grid;
  gap: 20px;
}

.demo-intro-copy p {
  max-width: 650px;
  margin: 0;
  color: #c7d8d4;
  font-size: 18px;
  line-height: 1.72;
}

.demo-intro-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.demo-intro-points article,
.demo-intro-proof-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    var(--panel);
  padding: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.demo-intro-points strong,
.demo-intro-proof-grid strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.demo-intro-points span,
.demo-intro-proof-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.demo-intro-video-card {
  overflow: hidden;
  border: 1px solid rgba(143, 216, 205, 0.26);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 0%, rgba(31, 183, 166, 0.13), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    var(--panel);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.32);
}

.demo-intro-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #071310;
}

.demo-intro-video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding: 18px 20px;
}

.demo-intro-video-meta strong {
  color: var(--ink);
  font-weight: 900;
  white-space: nowrap;
}

.demo-intro-video-meta span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.demo-intro-proof {
  padding-top: 104px;
}

.demo-intro-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.demo-intro-launch-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 44px;
  border: 1px solid rgba(143, 216, 205, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(31, 183, 166, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(18, 35, 31, 0.96), rgba(11, 23, 21, 0.98));
  padding: 28px;
}

.demo-intro-launch-band h2 {
  margin: 8px 0;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 42px);
}

.demo-intro-launch-band p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

.demo-site-nav {
  padding-bottom: 10px;
}

.demo-site-footer {
  margin-top: 8px;
}

.demo-page {
  color-scheme: dark;
  --bg: #172a27;
  --panel: #1f3631;
  --panel-alt: #29423d;
  --ink: #f8fffd;
  --muted: #c2d1cd;
  --line: rgba(214, 232, 228, 0.24);
  --accent: #18a99a;
  --accent-dark: #8fd8cd;
  --soft: rgba(143, 216, 205, 0.16);
  --premium: #f8fffd;
  background:
    radial-gradient(circle at 14% 0%, rgba(31, 183, 166, 0.2), transparent 32%),
    radial-gradient(circle at 86% 4%, rgba(8, 145, 178, 0.16), transparent 28%),
    linear-gradient(180deg, #172a27 0%, #1b302c 52%, #162824 100%);
}

.demo-page .site-nav nav,
.demo-page .footer-about p,
.demo-page .footer-link-column a {
  color: #b7c9c5;
}

.demo-page .brand-mark,
.demo-page .footer-brand,
.demo-page .footer-link-column strong {
  color: #f8fffd;
}

.demo-page .site-footer,
.demo-page .demo-site-footer {
  border-color: rgba(214, 232, 228, 0.22);
  background: #1a302b;
}

.demo-page .site-nav {
  background: rgba(23, 42, 39, 0.86);
  border-color: rgba(248, 255, 253, 0.12);
}

.demo-page .site-nav nav a:hover,
.demo-page .site-nav nav a[aria-current="page"] {
  background: rgba(143, 216, 205, 0.1);
  color: #f8fffd;
}

.demo-page .site-nav nav a[aria-current="page"] {
  border-color: rgba(143, 216, 205, 0.22);
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 16px;
  min-height: calc(100vh - 96px);
  padding: 16px;
}

.knowledge-os-shell {
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
  gap: 14px;
  width: min(100%, 1520px);
  margin: 0 auto;
  padding-top: 14px;
}

body[data-active-tab="analyze"] .knowledge-os-shell,
body[data-active-tab="manage"] .knowledge-os-shell {
  grid-template-columns: minmax(0, 1fr) 390px;
}

body[data-active-tab="analyze"] .knowledge-os-shell {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 1360px);
}

body[data-active-tab="analyze"] .platform-context-panel {
  display: none;
}

.project-sidebar,
.workspace,
.inspector {
  min-width: 0;
}

.project-sidebar,
.platform-context-panel {
  position: sticky;
  top: 14px;
  display: grid;
  align-content: start;
  gap: 12px;
  max-height: calc(100vh - 28px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(184, 200, 197, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    #0a1513;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
  padding: 12px;
}

.project-sidebar-head {
  display: grid;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.project-sidebar-head strong {
  color: var(--premium);
  font-size: 16px;
  line-height: 1.25;
}

.project-sidebar-head small,
.sidebar-ontology-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.project-search {
  display: grid;
  gap: 7px;
}

.project-search input {
  min-height: 38px;
  background: rgba(255, 255, 255, 0.04);
}

.project-nav {
  display: grid;
  gap: 6px;
}

.project-nav-item {
  display: grid;
  gap: 3px;
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  padding: 9px 10px;
  text-align: left;
}

.project-nav-item span {
  font-size: 13px;
  font-weight: 850;
}

.project-nav-item small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
}

.project-nav-item:hover:not(:disabled),
.project-nav-item.active {
  border-color: rgba(143, 216, 205, 0.3);
  background: rgba(143, 216, 205, 0.1);
}

.project-nav-item.active small {
  color: #c9e9e4;
}

.sidebar-ontology-card,
.context-summary-card {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(143, 216, 205, 0.16);
  border-radius: 8px;
  background: rgba(143, 216, 205, 0.07);
  padding: 11px;
}

.sidebar-ontology-card strong {
  color: var(--ink);
  font-size: 13px;
}

.top-run-status {
  display: grid;
  grid-template-columns: repeat(5, minmax(82px, 1fr));
  gap: 8px;
  min-width: min(100%, 560px);
}

.top-run-status article {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid rgba(184, 200, 197, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 9px 10px;
}

.top-run-status span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.top-run-status strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toolbar,
.input-band,
.qa-section,
.workflow-section,
.graph-section,
.inspector section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(15, 118, 110, 0.06);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 16px;
}

.workspace-tabs {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 6px;
  box-shadow: 0 10px 26px rgba(15, 118, 110, 0.06);
}

.demo-hero-strip {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 16px;
  border: 1px solid rgba(184, 200, 197, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--panel);
  background-size: 48px 48px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.demo-hero-strip img {
  height: 100%;
  min-height: 300px;
}

.demo-hero-strip > div {
  display: grid;
  gap: 14px;
  padding: 24px 24px 24px 0;
}

.demo-hero-strip strong {
  color: var(--premium);
  font-size: 34px;
  line-height: 1.05;
}

.demo-hero-strip p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.demo-value-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.demo-value-cards article {
  border: 1px solid rgba(184, 200, 197, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 12px;
}

.demo-value-cards article strong {
  display: block;
  color: #f8fffd;
  font-size: 13px;
  line-height: 1.2;
  margin-bottom: 5px;
}

.demo-value-cards article span {
  color: #9fb3af;
  font-size: 12px;
  line-height: 1.4;
}

.demo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.demo-guide-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.demo-guide-strip article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 9px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.06);
  padding: 12px;
}

.demo-guide-strip span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ccfbf1;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}

.demo-guide-strip strong {
  color: var(--premium);
  font-size: 13px;
}

.demo-guide-strip p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.demo-capability-map {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(143, 216, 205, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 0%, rgba(143, 216, 205, 0.12), transparent 30%),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
  padding: 16px;
}

.capability-map-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.capability-map-grid article {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(143, 216, 205, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 13px;
}

.capability-map-grid strong {
  color: var(--ink);
  font-size: 14px;
}

.capability-map-grid span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.pipeline-progress,
.run-summary-panel,
.demo-proof-panel,
.result-explainer,
.reasoning-preview,
.exports-api-section,
.knowledge-quality-panel,
.ontology-results-section,
.analyzed-text-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.pipeline-progress {
  display: grid;
  gap: 16px;
  margin-top: 14px;
  padding: 16px;
}

.pipeline-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pipeline-progress-head h2 {
  margin-top: 5px;
  color: var(--premium);
  font-size: 22px;
}

.pipeline-progress-head p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.pipeline-progress-ring {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 90px;
  height: 90px;
  border-radius: 999px;
  background: conic-gradient(#8fd8cd var(--pipeline-progress), rgba(255, 255, 255, 0.09) 0);
  box-shadow: 0 0 0 1px rgba(143, 216, 205, 0.22), 0 18px 44px rgba(0, 0, 0, 0.24);
}

.pipeline-progress-ring::before {
  content: "";
  position: absolute;
}

.pipeline-progress-ring span {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: inherit;
  background: #071310;
  color: #f8fffd;
  font-size: 18px;
  font-weight: 950;
}

.pipeline-current {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(143, 216, 205, 0.2);
  border-radius: 8px;
  background: rgba(143, 216, 205, 0.08);
  padding: 10px 12px;
}

.pipeline-current strong {
  color: #8fd8cd;
  font-size: 12px;
  text-transform: uppercase;
}

.pipeline-current span {
  color: var(--ink);
  font-weight: 850;
}

.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.pipeline-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 78px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 11px;
}

.pipeline-step > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.pipeline-step strong,
.pipeline-step small {
  display: block;
}

.pipeline-step strong {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.3;
}

.pipeline-step small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.pipeline-step[data-step-state="completed"] > span {
  background: rgba(16, 185, 129, 0.16);
  color: #86efac;
}

.pipeline-step[data-step-state="running"] {
  border-color: rgba(143, 216, 205, 0.42);
  box-shadow: 0 0 0 1px rgba(143, 216, 205, 0.12);
}

.pipeline-step[data-step-state="running"] > span {
  background: rgba(143, 216, 205, 0.16);
  color: #8fd8cd;
  animation: pipelineSpin 1.4s linear infinite;
}

.pipeline-step[data-step-state="failed"] > span {
  background: rgba(225, 29, 72, 0.16);
  color: #fb7185;
}

@keyframes pipelineSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.run-summary-panel,
.demo-proof-panel,
.result-explainer,
.reasoning-preview,
.exports-api-section,
.knowledge-quality-panel,
.ontology-results-section,
.analyzed-text-section {
  margin-top: 16px;
}

.run-summary-grid,
.knowledge-quality-grid,
.exports-api-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}

.run-summary-grid article,
.knowledge-quality-grid article,
.exports-api-grid article {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 13px;
}

.run-summary-grid strong,
.knowledge-quality-grid span {
  color: #f8fffd;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
}

.run-summary-grid span,
.knowledge-quality-grid small,
.exports-api-grid small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.knowledge-quality-grid strong,
.exports-api-grid strong {
  color: #8fd8cd;
  font-size: 12px;
  text-transform: uppercase;
}

.exports-api-grid span,
.exports-api-grid code {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.exports-api-grid code,
.api-endpoint-preview code {
  display: block;
  overflow-wrap: anywhere;
  border: 1px solid rgba(143, 216, 205, 0.2);
  border-radius: 6px;
  background: rgba(7, 19, 16, 0.72);
  color: #d8f3ee;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  padding: 6px 8px;
}

.export-format-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}

.export-format-actions button {
  min-width: 72px;
}

.demo-proof-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.35fr) minmax(0, 0.65fr);
  gap: 16px;
  padding: 16px;
}

.demo-proof-panel h2 {
  margin-top: 6px;
  color: var(--premium);
  font-size: 20px;
}

.demo-proof-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  padding-left: 18px;
}

.result-tabs {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 6px;
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 19, 16, 0.88);
  backdrop-filter: blur(16px);
  padding: 6px;
}

.result-tab {
  flex: 0 0 auto;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 9px 12px;
  white-space: nowrap;
}

.result-tab:hover:not(:disabled) {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.result-tab.active {
  border-color: rgba(143, 216, 205, 0.42);
  background: rgba(143, 216, 205, 0.14);
  color: #f8fffd;
}

.result-explainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}

.result-explainer p,
.result-explainer strong {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.result-explainer strong {
  color: #8fd8cd;
}

.explore-panel .result-panel {
  scroll-margin-top: 78px;
}

.explore-panel .result-panel + .result-panel {
  margin-top: 16px;
}

.reasoning-preview {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.reasoning-preview h2 {
  margin-top: 6px;
  color: var(--premium);
  font-size: 18px;
  line-height: 1.35;
}

.reasoning-preview p {
  max-width: 880px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.reasoning-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.reasoning-card-grid article {
  border: 1px solid rgba(143, 216, 205, 0.24);
  border-radius: 8px;
  background: rgba(143, 216, 205, 0.06);
  padding: 12px;
}

.reasoning-card-grid span {
  display: inline-flex;
  border: 1px solid rgba(143, 216, 205, 0.22);
  border-radius: 999px;
  color: #8fd8cd;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 7px;
  text-transform: uppercase;
}

.reasoning-card-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.reasoning-notice,
.reasoning-roadmap {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(143, 216, 205, 0.22);
  border-radius: 8px;
  background: rgba(143, 216, 205, 0.07);
  color: var(--ink);
  padding: 12px;
}

.reasoning-notice span,
.reasoning-notice small,
.reasoning-roadmap span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.reasoning-rule-strip,
.reasoning-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.reasoning-rule-strip span,
.reasoning-chip {
  border: 1px solid rgba(143, 216, 205, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d8f3ee;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 9px;
}

.reasoning-chip {
  cursor: pointer;
}

.reasoning-chip.relation {
  border-color: rgba(76, 175, 80, 0.35);
  color: #d9f99d;
}

.reasoning-chip:hover {
  background: rgba(143, 216, 205, 0.14);
}

.reasoning-claim {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 12px;
}

.reasoning-claim p {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.reasoning-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.reasoning-path span,
.reasoning-path em {
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  padding: 6px 8px;
}

.reasoning-path span {
  background: rgba(143, 216, 205, 0.12);
  color: #f8fffd;
}

.reasoning-path em {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-style: normal;
}

.reasoning-path em::before,
.reasoning-path em::after {
  color: #8fd8cd;
}

.reasoning-path em::before {
  content: "→ ";
}

.reasoning-path em::after {
  content: " →";
}

.reasoning-evidence {
  border: 1px dashed rgba(143, 216, 205, 0.22);
  border-radius: 7px;
  padding: 8px;
}

.reasoning-evidence summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.preset-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  width: min(100%, 520px);
  margin: 2px 0 5px;
  border: 1px solid rgba(184, 200, 197, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
}

.preset-tab {
  min-width: 0;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 8px 10px;
  text-align: center;
  white-space: nowrap;
}

.preset-tab:hover:not(:disabled) {
  border-color: var(--line);
  background: var(--panel);
  color: var(--ink);
}

.preset-tab.active {
  border-color: rgba(143, 216, 205, 0.46);
  background: rgba(143, 216, 205, 0.14);
  color: #f8fffd;
}

.workspace-tab {
  flex: 1;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 10px 12px;
}

.workspace-tab:hover:not(:disabled) {
  border-color: var(--line);
  background: var(--soft);
  color: var(--ink);
}

.workspace-tab.active {
  border-color: #0f766e;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(8, 145, 178, 0.8));
  color: var(--accent-dark);
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.13);
}

.toolbar-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.app-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.app-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.toolbar-link {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  padding: 9px 11px;
}

.toolbar-actions button:not(#analyzeButton) {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  padding: 9px 11px;
}

.toolbar-actions button:not(#analyzeButton):hover:not(:disabled) {
  background: var(--soft);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 22px;
  line-height: 1.25;
}

h2 {
  font-size: 15px;
  line-height: 1.3;
}

.toolbar p,
.section-head span,
.item-meta,
.empty {
  color: var(--muted);
  font-size: 13px;
}

button {
  border: 0;
  border-radius: 7px;
  background:
    linear-gradient(135deg, var(--accent), var(--aqua));
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  padding: 10px 16px;
}

button:disabled {
  cursor: progress;
  opacity: 0.65;
}

.analyze-action:disabled {
  opacity: 0.92;
}

button:hover:not(:disabled) {
  background:
    linear-gradient(135deg, var(--accent-dark), var(--accent));
}

.analyze-action {
  --analyze-progress: 0deg;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 7px 14px 7px 8px;
  white-space: nowrap;
}

.analyze-progress-ring {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background:
    conic-gradient(var(--sun) var(--analyze-progress), rgba(255, 255, 255, 0.28) 0);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    0 3px 8px rgba(12, 31, 28, 0.14);
  transition: background 0.25s ease;
}

.analyze-progress-ring::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}

.analyze-progress-value {
  position: relative;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.analyze-action.is-complete .analyze-progress-ring {
  background:
    conic-gradient(var(--mint) var(--analyze-progress), rgba(255, 255, 255, 0.28) 0);
}

.analyze-action.is-error .analyze-progress-ring {
  background:
    conic-gradient(var(--rose) var(--analyze-progress), rgba(255, 255, 255, 0.28) 0);
}

.analyze-label {
  line-height: 1;
}

.secondary-button,
.danger-button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
}

.secondary-button:hover:not(:disabled) {
  background: var(--soft);
}

.danger-button {
  color: var(--rose);
}

.danger-button:hover:not(:disabled) {
  border-color: rgba(251, 113, 133, 0.35);
  background: rgba(251, 113, 133, 0.12);
}

.input-band,
.filter-band {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
}

.input-band[data-tab-panel="analyze"] {
  align-items: start;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
  gap: 16px;
}

.model-config-card {
  grid-column: 1;
  grid-row: 1;
}

.ontology-config-card {
  grid-column: 1;
  grid-row: 2 / span 2;
}

.source-picker {
  grid-column: 2;
  grid-row: 1;
}

.document-content-card {
  grid-column: 2;
  grid-row: 2 / span 2;
}

.setup-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 12px;
}

.setup-card-head {
  display: grid;
  gap: 3px;
}

.setup-card-head p {
  color: var(--muted);
  font-size: 12px;
}

.ontology-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.ontology-actions button {
  width: auto;
  padding: 7px 10px;
}

.ontology-toggle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.filter-band {
  grid-template-columns: minmax(180px, 1.4fr) repeat(4, minmax(120px, 1fr));
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel-alt);
  color: var(--ink);
  font: inherit;
  padding: 10px;
}

select {
  color-scheme: light;
}

.demo-page select {
  color-scheme: dark;
}

select option {
  background: var(--panel);
  color: var(--ink);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.control-grid {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

input[type="file"] {
  background: var(--panel);
}

.checkbox-row {
  align-content: center;
}

.checkbox-row label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 78px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  padding: 10px;
}

.disabled-ontology label {
  background: var(--soft);
  color: var(--muted);
  cursor: help;
  opacity: 0.76;
}

.disabled-ontology strong::after {
  content: " · coming later";
  color: #60716f;
  font-size: 11px;
  font-weight: 800;
}

.disabled-ontology input {
  cursor: not-allowed;
}

.checkbox-row span {
  display: grid;
  gap: 3px;
  line-height: 1.25;
}

.checkbox-row small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.checkbox-row input {
  width: auto;
  margin-top: 2px;
}

.source-picker {
  display: grid;
  gap: 10px;
  background: var(--panel-alt);
}

.source-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.source-picker-head p,
.source-description {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.source-builder {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 10px;
}

.source-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.source-description {
  grid-column: 1 / -1;
}

.source-file-picker {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  border: 1px dashed #b8c2d8;
  border-radius: 8px;
  background: var(--panel-alt);
  padding: 10px;
}

.source-file-picker div:first-child {
  display: grid;
  gap: 2px;
}

.source-file-picker span,
.source-file-picker small {
  color: var(--muted);
  font-size: 12px;
}

.source-file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.source-actions,
.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.source-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: min(100%, 320px);
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 9px 10px;
}

.source-card div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.source-card strong,
.source-card span,
.source-card small {
  overflow-wrap: anywhere;
}

.source-card span,
.source-card small {
  color: var(--muted);
  font-size: 12px;
}

.source-card button {
  flex: 0 0 auto;
  padding: 7px 9px;
}

.file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 28px;
}

.file-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 8px;
}

.file-list small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.hidden {
  display: none !important;
}

.feedback-floating-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 250, 246, 0.94));
  color: var(--premium);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.01em;
  padding: 11px 15px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.16);
}

.feedback-floating-button:hover,
.feedback-floating-button:focus-visible,
.demo-feedback-link:hover,
.demo-feedback-link:focus-visible {
  border-color: rgba(15, 118, 110, 0.46);
  box-shadow: 0 18px 46px rgba(15, 118, 110, 0.18);
}

.demo-feedback-link {
  color: var(--accent-dark) !important;
}

.feedback-modal,
.early-access-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  background: rgba(6, 16, 14, 0.58);
  padding: 22px;
}

.feedback-modal-panel,
.early-access-modal-panel {
  display: grid;
  gap: 18px;
  width: min(92vw, 660px);
  max-height: min(86vh, 760px);
  overflow: auto;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 10px;
  background:
    radial-gradient(circle at 12% 0%, rgba(20, 184, 166, 0.13), transparent 34%),
    linear-gradient(135deg, #ffffff, #f3fbf8);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  padding: 24px;
}

.feedback-modal-head,
.early-access-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.feedback-modal-head h2,
.early-access-modal-head h2 {
  color: var(--premium);
  font-size: 30px;
  letter-spacing: 0;
  line-height: 1.08;
  margin-top: 8px;
  text-transform: none;
}

.feedback-modal-head p,
.early-access-modal-head p {
  max-width: 460px;
  color: #60716f;
  font-size: 15px;
  line-height: 1.6;
  margin-top: 8px;
}

.feedback-close-button,
.early-access-close-button {
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--premium);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
}

.feedback-form,
.early-access-form {
  display: grid;
  gap: 14px;
}

.feedback-form label,
.early-access-form label {
  display: grid;
  gap: 7px;
}

.feedback-form label span,
.early-access-form label span {
  color: var(--premium);
  font-size: 13px;
  font-weight: 900;
}

.feedback-form textarea,
.feedback-form input,
.early-access-form textarea,
.early-access-form input,
.early-access-form select {
  width: 100%;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
}

.feedback-form textarea,
.early-access-form textarea {
  resize: vertical;
}

.feedback-field-grid,
.early-access-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feedback-submit-button,
.early-access-submit-button,
.early-access-trigger {
  border: 0;
  cursor: pointer;
  justify-self: start;
}

.feedback-thanks,
.early-access-thanks {
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background: rgba(20, 184, 166, 0.1);
  padding: 18px;
}

.feedback-thanks strong,
.early-access-thanks strong {
  color: var(--premium);
  font-size: 22px;
}

.feedback-thanks p,
.early-access-thanks p {
  color: #60716f;
  line-height: 1.6;
  margin-top: 6px;
}

.document-input-block {
  display: grid;
  gap: 8px;
}

.inline-analyze-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(8, 145, 178, 0.9));
  padding: 12px;
}

.inline-analyze-actions div {
  display: grid;
  gap: 3px;
}

.inline-analyze-actions strong {
  color: #071310;
  font-size: 14px;
  font-weight: 950;
}

.inline-analyze-actions > div > span {
  color: #243b37;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.4;
}

.inline-analyze-actions .analyze-label,
.inline-analyze-actions .analyze-progress-value {
  color: #fff;
}

.inline-analyze-actions button {
  flex: 0 0 auto;
  min-width: 190px;
}

.inline-analyze-actions .analyze-action {
  border: 1px solid rgba(12, 31, 28, 0.18);
  background: #f8fffd;
  color: #071310;
  box-shadow: 0 8px 18px rgba(12, 31, 28, 0.12);
}

.inline-analyze-actions .analyze-action:hover:not(:disabled) {
  background: #ffffff;
  color: #071310;
}

.inline-analyze-actions .analyze-action .analyze-label {
  color: #071310;
  font-weight: 950;
}

.inline-analyze-actions .analyze-action .analyze-progress-value {
  color: #ffffff;
}

.analyzed-text-section {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.analyzed-text-section .document-switcher {
  margin: 12px;
}

.analyzed-text-section .document-text-viewer {
  margin: 0 12px 12px;
}

.document-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-alt);
  padding: 8px;
}

.document-switcher-help {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-right: 2px;
}

.document-switcher button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
}

.document-switcher button.active {
  border-color: var(--accent);
  background: var(--soft);
  color: var(--accent-dark);
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.15);
}

.document-switcher button:hover {
  background: var(--soft);
}

.document-text-viewer {
  max-height: 520px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.highlight-guide {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  background: #e8f1f0;
  padding: 8px 10px;
}

.highlight-guide span {
  color: #10212a;
  font-size: 12px;
  font-weight: 700;
}

.highlight-guide-label {
  align-self: center;
}

.highlight-guide mark {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  font-weight: 900;
  line-height: 1.1;
  padding: 3px 8px;
}

.document-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  padding: 8px 10px;
}

.document-stats span {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel-alt);
  color: var(--muted);
  font-size: 12px;
  padding: 7px 8px;
}

.document-stats strong {
  color: var(--ink);
  font-size: 14px;
  margin-right: 4px;
}

.document-text-section {
  border-bottom: 1px solid var(--line);
}

.document-text-section:last-child {
  border-bottom: 0;
}

.document-text-section h3 {
  position: sticky;
  top: 39px;
  z-index: 1;
  margin: 0;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  font-size: 13px;
  padding: 8px 10px;
}

.document-text-section pre {
  margin: 0;
  padding: 10px;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.input-row {
  display: grid;
  gap: 8px;
}

.model-help {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.workflow-section {
  margin-top: 16px;
  overflow: hidden;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.workflow-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 190px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px;
}

.workflow-card:nth-child(3n) {
  border-right: 0;
}

.workflow-card:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.workflow-card h3,
.workflow-card-head h3 {
  margin: 0;
  font-size: 14px;
}

.workflow-help {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.workflow-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.workflow-card-head button,
.workflow-search button {
  padding: 8px 10px;
}

.workflow-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.model-custom-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(130px, 0.8fr) auto;
  gap: 8px;
}

.model-custom-row button,
.mini-action {
  padding: 7px 9px;
}

.destination-options {
  display: grid;
  gap: 7px;
}

.destination-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  padding: 8px;
}

.destination-option input {
  margin-top: 2px;
}

.destination-option span {
  display: grid;
  gap: 2px;
}

.destination-option strong {
  font-size: 13px;
}

.destination-option small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.destination-option-disabled {
  opacity: 0.72;
}

.mini-list {
  display: grid;
  gap: 7px;
  max-height: 190px;
  overflow: auto;
  overscroll-behavior: contain;
}

.mini-item {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel-alt);
  padding: 8px;
}

.mini-item strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.mini-item span,
.mini-item small,
.mini-item code {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.model-registry-item {
  background: var(--panel);
}

.model-summary {
  background: var(--soft);
}

.model-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 3px;
}

.mini-clickable {
  cursor: pointer;
}

.mini-clickable:hover {
  border-color: var(--accent);
  background: var(--soft);
}

.mini-note {
  border-style: dashed;
  background: var(--panel);
}

.status-ready,
.status-pending {
  font-weight: 800;
}

.status-ready {
  color: #6d28d9;
}

.status-pending {
  color: #b54708;
}

.qa-section,
.graph-section {
  margin-top: 16px;
  overflow: hidden;
}

.qa-section {
  padding: 0;
}

.qa-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  min-height: 148px;
}

.qa-question,
.qa-answer {
  min-width: 0;
}

.qa-question {
  border-right: 1px solid var(--line);
  background: var(--panel-alt);
}

.section-head.compact {
  padding: 10px 12px;
}

.question-input-row {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.qa-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qa-actions button {
  padding: 9px 12px;
}

.qa-actions button + button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
}

.qa-actions button + button:hover:not(:disabled) {
  background: var(--soft);
}

.qa-answer p {
  min-height: 88px;
  max-height: 190px;
  overflow: auto;
  padding: 12px;
  line-height: 1.55;
}

.qa-answer p:empty::before {
  content: "No answer yet.";
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
}

.graph-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.graph-tools button {
  min-width: 34px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  padding: 6px 9px;
}

.graph-tools button:hover:not(:disabled) {
  background: var(--soft);
}

.graph-canvas {
  width: 100%;
  min-height: 320px;
  max-height: 760px;
  overflow: auto;
  overscroll-behavior: contain;
  background: #f8fafc;
}

#graphSvg {
  display: block;
  min-width: 100%;
  background: #f8fafc;
  cursor: zoom-in;
}

.inspector {
  position: sticky;
  top: 16px;
  display: grid;
  align-content: start;
  gap: 12px;
  align-self: start;
  max-height: calc(100vh - 32px);
  overflow: auto;
}

.platform-context-panel {
  top: 14px;
  max-height: calc(100vh - 28px);
}

.context-summary-card h2 {
  color: var(--premium);
  font-size: 16px;
}

.context-summary-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.context-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.context-metric-grid article {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(143, 216, 205, 0.16);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.12);
  padding: 7px;
}

.context-metric-grid strong {
  color: #f8fffd;
  font-size: 16px;
  line-height: 1;
}

.context-metric-grid span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.inspector section {
  padding: 12px;
}

.inspector section:nth-of-type(even) {
  background: var(--panel-alt);
}

.accordion-section {
  width: 100%;
  overflow: hidden;
}

.accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  padding: 0;
  text-align: left;
}

.accordion-toggle:hover {
  background: transparent;
  color: var(--accent-dark);
}

.accordion-toggle span:first-child {
  font-size: 15px;
  font-weight: 800;
}

.accordion-icon {
  color: var(--muted);
  font-size: 16px;
  transition: transform 0.15s ease;
}

.accordion-section.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-section > .list {
  margin-top: 10px;
}

.accordion-section.open > .list {
  height: clamp(420px, 58vh, 560px);
  min-height: 420px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
}

.accordion-section.open > .list.empty {
  height: auto;
  min-height: 0;
  overflow-y: visible;
  padding-right: 0;
}

.accordion-section:not(.open) > .list {
  display: none;
}

.list {
  display: grid;
  gap: 8px;
}

.item {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  padding: 9px;
}

.clickable-item {
  cursor: pointer;
}

.clickable-item:hover {
  border-color: #0f766e;
  background: var(--soft);
}

.item-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.badge {
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 7px;
  white-space: nowrap;
}

.item-meta {
  margin-top: 5px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.relation-detail {
  border-left: 2px solid var(--line);
  padding-left: 8px;
}

.node text {
  fill: #000000;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
  text-anchor: middle;
}

.node {
  cursor: pointer;
}

.edge {
  stroke: #64748b;
  stroke-width: 2;
  cursor: pointer;
}

.edge:hover {
  stroke: #111827;
}

.edge-label {
  fill: #000000;
  font-size: 11px;
  font-weight: 700;
  text-anchor: middle;
}

.edge-label-clickable {
  cursor: pointer;
  pointer-events: auto;
}

.graph-group {
  fill: rgba(255, 255, 255, 0.86);
  stroke: #94a3b8;
  stroke-width: 1.5;
  cursor: pointer;
}

.graph-group-label {
  fill: #000000;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  pointer-events: auto;
}

.node circle {
  fill: #ccfbf1;
  stroke: var(--accent);
  stroke-width: 2;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.42);
  padding: 24px;
}

.modal.hidden {
  display: none;
}

.modal-panel {
  width: min(80vw, 980px);
  max-height: 80vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 16px;
}

.modal-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.modal-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.modal-community-section {
  display: grid;
  gap: 12px;
}

.modal-graph-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.modal-graph-canvas {
  min-height: 430px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.modal-graph-canvas-large {
  min-height: min(62vh, 620px);
}

.modal-graph-canvas svg {
  display: block;
  min-width: 100%;
  background: #f8fafc;
}

.modal-graph-node text {
  fill: #000000;
  font-size: 12px;
  font-weight: 800;
  text-anchor: middle;
}

.modal-body h3 {
  margin: 0;
  font-size: 13px;
}

.modal-info-section {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  padding: 14px;
}

.modal-body > .modal-info-section:nth-of-type(odd) {
  background: rgba(15, 23, 42, 0.58);
}

.modal-body > .modal-info-section:nth-of-type(even) {
  background: rgba(20, 35, 48, 0.74);
}

.modal-info-section h3 {
  color: var(--ink);
  letter-spacing: 0.02em;
}

.modal-info-section .evidence-card,
.modal-info-section .ontology-context-card,
.modal-info-section .modal-kv div {
  background: rgba(255, 255, 255, 0.035);
}

.modal-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-chip {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
  padding: 7px 9px;
}

.modal-chip-clickable {
  cursor: pointer;
}

.modal-chip-clickable:hover,
.modal-chip-clickable:focus {
  border-color: #0f766e;
  background: #ccfbf1;
  outline: none;
}

.modal-chip span,
.modal-chip small {
  display: block;
}

.modal-chip span {
  font-size: 13px;
  font-weight: 800;
}

.modal-chip small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.modal-relation-list {
  display: grid;
  gap: 8px;
}

.modal-relation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px;
}

.modal-relation-clickable {
  cursor: pointer;
}

.modal-relation-clickable:hover,
.modal-relation-clickable:focus {
  border-color: #0f766e;
  background: var(--soft);
  outline: none;
}

.modal-relation span {
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 7px;
}

.evidence-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  padding: 10px;
}

.evidence-card blockquote {
  margin: 0;
  border-left: 3px solid var(--accent);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  padding-left: 10px;
}

.evidence-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.evidence-metadata span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  padding: 3px 7px;
}

.chunk-context {
  margin-top: 8px;
}

.chunk-context summary {
  color: var(--accent-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.chunk-context p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.relation-source-chunks {
  display: grid;
  gap: 10px;
}

.source-chunk-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  padding: 9px;
}

.source-chunk-card pre {
  max-height: 260px;
  overflow: auto;
  margin: 8px 0 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel-alt);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.55;
  padding: 10px;
  white-space: pre-wrap;
}

.entity-highlight {
  border-radius: 3px;
  background: #fef08a;
  color: #713f12;
  padding: 0 2px;
}

.entity-highlight sup,
.relation-highlight sup {
  display: inline-block;
  margin-right: 2px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.entity-highlight sup {
  color: currentColor;
}

.entity-semantic-0 {
  background: #fee2e2;
  color: #7f1d1d;
}

.entity-semantic-1 {
  background: #e0e7ff;
  color: #3730a3;
}

.entity-semantic-2 {
  background: #cffafe;
  color: #164e63;
}

.entity-semantic-3 {
  background: #fef3c7;
  color: #78350f;
}

.entity-semantic-4 {
  background: #ecfccb;
  color: #365314;
}

.entity-semantic-5 {
  background: #f3e8ff;
  color: #581c87;
}

.entity-semantic-6 {
  background: #ffedd5;
  color: #7c2d12;
}

.entity-semantic-7 {
  background: #fce7f3;
  color: #831843;
}

.entity-semantic-8 {
  background: #ccfbf1;
  color: #134e4a;
}

.entity-semantic-9 {
  background: #e5e7eb;
  color: #374151;
}

.entity-semantic-10 {
  background: #fde68a;
  color: #713f12;
}

.entity-semantic-11 {
  background: #ddd6fe;
  color: #4c1d95;
}

.entity-semantic-12 {
  background: #bae6fd;
  color: #075985;
}

.entity-semantic-13 {
  background: #fecdd3;
  color: #881337;
}

.relation-highlight {
  border-radius: 3px;
  background: #bbf7d0;
  color: #14532d;
  padding: 0 2px;
}

mark[data-entity-id],
mark[data-relation-id] {
  cursor: pointer;
}

mark[data-entity-id]:hover,
mark[data-relation-id]:hover,
mark[data-entity-id]:focus,
mark[data-relation-id]:focus {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.22);
}

.relation-highlight sup {
  color: #047857;
}

.discovery-highlight {
  border-radius: 3px;
  background: #bfdbfe;
  color: #1e3a8a;
  padding: 0 2px;
}

.discovery-highlight sup {
  display: inline-block;
  margin-right: 2px;
  color: #115e59;
  font-size: 10px;
  font-weight: 900;
}

.annotation-summary {
  display: grid;
  gap: 8px;
}

.annotation-summary strong,
.annotation-summary span {
  display: block;
}

.annotation-summary span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.annotation-summary button {
  justify-self: start;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  padding: 7px 10px;
}

.annotation-summary button:hover {
  background: var(--accent-dark);
}

.annotation-preview {
  max-height: 280px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 11px;
  line-height: 1.45;
  margin: 0;
  padding: 10px;
  white-space: pre;
}

.graphrag-summary {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  padding: 9px;
}

.graphrag-summary strong,
.graphrag-summary span {
  display: block;
}

.graphrag-summary span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.graphrag-summary button {
  justify-self: start;
  padding: 7px 10px;
}

.graphrag-output-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.graphrag-output-grid section,
.graphrag-relation-paths,
.api-endpoint-preview {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 10px;
}

.graphrag-output-grid h3,
.graphrag-relation-paths h3,
.api-endpoint-preview strong {
  margin: 0;
  color: #8fd8cd;
  font-size: 12px;
  text-transform: uppercase;
}

.api-endpoint-preview span {
  color: var(--muted);
  font-size: 12px;
}

.auto-graphrag-summary {
  display: grid;
  gap: 8px;
  border: 1px solid #0f766e;
  border-radius: 7px;
  background: var(--soft);
  padding: 9px;
}

.auto-graphrag-summary strong,
.auto-graphrag-summary span {
  display: block;
}

.auto-graphrag-summary span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.auto-graphrag-summary button {
  justify-self: start;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  padding: 7px 10px;
}

.auto-graphrag-summary button:hover {
  background: var(--accent-dark);
}

.auto-graphrag-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auto-graphrag-question-list {
  display: grid;
  gap: 6px;
  border: 1px solid #cce3dd;
  border-radius: 7px;
  background: #fff;
  padding: 9px;
}

.auto-graphrag-question-list strong {
  font-size: 12px;
}

.auto-graphrag-question-list span {
  color: #166534;
  font-size: 12px;
  line-height: 1.35;
}

.auto-graphrag-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  padding: 8px;
}

.auto-graphrag-card summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.auto-graphrag-card summary span {
  color: var(--muted);
  font-weight: 600;
}

.auto-graphrag-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.graphrag-prompt {
  border: 1px dashed #cbd5e1;
  border-radius: 7px;
  background: var(--panel);
  padding: 8px;
}

.graphrag-prompt summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.prompt-preview {
  max-height: 280px;
  margin-top: 8px;
  overflow: auto;
  white-space: pre-wrap;
}

.modal-kv {
  display: grid;
  gap: 8px;
}

.modal-kv div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px;
}

.modal-kv span {
  overflow-wrap: anywhere;
}

.ontology-context-list {
  display: grid;
  gap: 10px;
}

.ontology-context-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 10px;
}

.ontology-context-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ontology-context-head h4 {
  margin: 0;
  font-size: 13px;
}

.ontology-context-head p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.ontology-context-kv div {
  background: var(--panel);
}

.semantic-classification {
  display: grid;
  gap: 6px;
  border: 1px solid #0f766e;
  border-radius: 7px;
  background: var(--soft);
  padding: 8px;
}

.semantic-classification strong {
  font-size: 12px;
}

.semantic-classification div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.semantic-classification span {
  border: 1px solid #0f766e;
  border-radius: 999px;
  background: var(--panel);
  color: var(--accent-dark);
  font-size: 11px;
  padding: 4px 7px;
}

.semantic-classification b {
  margin-right: 4px;
}

.ontology-ref-group {
  display: grid;
  gap: 6px;
}

.ontology-ref-group > strong {
  font-size: 12px;
}

.ontology-ref-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ontology-ref {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  padding: 6px 8px;
}

.ontology-ref span,
.ontology-ref small {
  display: block;
}

.ontology-ref span {
  font-size: 12px;
  font-weight: 800;
}

.ontology-ref small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.ontology-mappings {
  border: 1px dashed #cbd5e1;
  border-radius: 7px;
  background: var(--panel);
  padding: 8px;
}

.ontology-mappings summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.ontology-mapping-list {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.ontology-mapping {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
  padding: 6px 8px;
}

.ontology-mapping span,
.ontology-mapping small {
  display: block;
}

.ontology-mapping span {
  font-size: 12px;
  font-weight: 800;
}

.ontology-mapping small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.modal-actions button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  padding: 8px 10px;
}

.modal-actions button:hover:not(:disabled) {
  background: var(--soft);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  padding: 8px;
}

.metric strong {
  display: block;
  font-size: 16px;
}

@media (max-width: 980px) {
  .home-page main {
    gap: 18px;
  }

  .home-page .landing-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .home-page .landing-section + .landing-section::before {
    top: -9px;
  }

  .home-page .enterprise-hero {
    margin-top: 10px;
    margin-bottom: 0;
    padding-top: 30px;
    padding-bottom: 18px;
  }

  .home-page .why-card-grid,
  .home-page .how-process-grid,
  .home-page .capability-proof-grid,
  .home-page .solution-card-grid,
  .home-page .solution-domain-graph,
  .home-page .platform-module-grid,
  .home-page .technology-preview-grid,
  .home-page .roadmap-matters-grid,
  .home-page .research-card-grid,
  .home-page .domain-adaptation-grid,
  .home-page .enterprise-ai-grid,
  .home-page .integration-card-grid,
  .home-page .architecture-flow,
  .home-page .hero-stat-grid,
  .home-page .technology-preview-flow,
  .home-page .product-roadmap-timeline {
    gap: 14px;
  }

  .home-page .why-card,
  .home-page .how-process-step,
  .home-page .capability-proof-grid article,
  .home-page .solution-card-grid article,
  .home-page .platform-module-grid article,
  .home-page .technology-preview-grid article,
  .home-page .product-roadmap-timeline article,
  .home-page .roadmap-matters-grid article,
  .home-page .research-card-grid article,
  .home-page .domain-adaptation-grid article,
  .home-page .enterprise-ai-grid article,
  .home-page .integration-card-grid article,
  .home-page .ai-comparison,
  .home-page .knowledge-demo-panel,
  .home-page .proof-metrics-block,
  .home-page .proof-takeaways,
  .home-page .proof-capability-actions,
  .home-page .engine-domain-panel,
  .home-page .domain-adaptation-block,
  .home-page .knowledge-solutions-closing,
  .home-page .platform-flow-block,
  .home-page .enterprise-ai-block,
  .home-page .platform-integrations-block,
  .home-page .enterprise-build-block,
  .home-page .platform-closing,
  .home-page .roadmap-matters-block,
  .home-page .product-roadmap-statement,
  .home-page .research-interest-block,
  .home-page .research-collaboration-block,
  .home-page .research-statement,
  .home-page .design-partner-section,
  .home-page .partner-benefit-grid article,
  .home-page .technology-preview-statement {
    padding: 18px;
  }

  .site-nav,
  .landing-hero,
  .platform-section {
    align-items: stretch;
    flex-direction: column;
  }

  .feedback-floating-button {
    right: 14px;
    bottom: 14px;
    padding: 10px 13px;
  }

  .feedback-modal,
  .early-access-modal {
    padding: 14px;
  }

  .feedback-modal-panel,
  .early-access-modal-panel {
    padding: 18px;
  }

  .feedback-modal-head,
  .early-access-modal-head,
  .feedback-field-grid,
  .early-access-field-grid {
    grid-template-columns: 1fr;
  }

  .feedback-modal-head,
  .early-access-modal-head {
    display: grid;
  }

  .site-nav {
    display: grid;
  }

  .site-nav nav {
    flex-wrap: wrap;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 28px;
  }

  .surgical-hero,
  .surgical-scope {
    grid-template-columns: 1fr;
  }

  .surgical-hero {
    min-height: auto;
    padding-top: 28px;
  }

  .surgical-stats,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .hero-title-block h1 {
    font-size: 40px;
    line-height: 1.04;
  }

  .enterprise-hero {
    gap: 24px;
    margin-top: 10px;
    padding: 42px 18px 22px;
  }

  .enterprise-hero-copy h1 {
    font-size: 44px;
  }

  .enterprise-hero-copy p {
    font-size: 17px;
  }

  .architecture-flow {
    display: grid;
    min-height: 0;
    border-radius: 8px;
    transform: none;
  }

  .architecture-graph-lines {
    display: none;
  }

  .architecture-card,
  .architecture-node-data,
  .architecture-node-extraction,
  .architecture-node-graph,
  .architecture-node-reasoning,
  .architecture-node-graphrag,
  .architecture-node-agents,
  .architecture-node-apps {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    aspect-ratio: auto;
    border-radius: 10px;
    justify-items: start;
    text-align: left;
    transform: none;
    animation: none;
  }

  .architecture-flow,
  .why-card-grid,
  .architecture-principle-grid,
  .architecture-value-line,
  .how-process-grid,
  .pipeline-shortcut,
	  .capability-proof-grid,
	  .knowledge-demo-panel,
	  .proof-metric-grid,
	  .proof-takeaways ul,
	  .proof-capability-actions,
	  .solution-card-grid,
	  .workflow-grid,
	  .engine-domain-map,
	  .domain-adaptation-grid,
	  .knowledge-solutions-closing,
  .platform-module-grid,
  .platform-flow,
  .enterprise-ai-grid,
  .integration-card-grid,
  .enterprise-build-block ul,
  .platform-closing,
  .technology-preview-grid,
  .company-contact-section,
  .comparison-grid,
  .homepage-roadmap-grid,
  .product-roadmap-timeline,
  .roadmap-matters-grid,
  .product-roadmap-statement,
  .research-card-grid,
  .research-collaboration-block,
  .partner-benefit-grid,
  .hero-stat-grid {
    grid-template-columns: 1fr;
  }

  .why-leyli-head h2 {
    font-size: 34px;
  }

  .why-card {
    min-height: 0;
  }

  .ai-comparison {
    padding: 16px;
  }

  .trustworthy-knowledge {
    font-size: 28px;
  }

  .homepage-architecture-section {
    padding: 30px 18px;
  }

  .architecture-value-line span:not(:last-child)::after {
    left: 50%;
    right: auto;
    top: calc(100% + 1px);
    width: 1px;
    height: 8px;
    transform: translateX(-50%);
  }

  .how-leyli-section {
    padding: 38px 18px;
  }

  .how-leyli-head h2 {
    font-size: 34px;
  }

  .how-process-step {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 0;
    padding: 18px;
  }

  .process-number {
    grid-column: 1 / -1;
  }

  .pipeline-shortcut {
    justify-items: center;
    gap: 34px;
  }

  .pipeline-shortcut span {
    width: min(190px, 78vw);
  }

  .pipeline-shortcut span:not(:last-child)::after {
    content: "↓";
    left: 50%;
    right: auto;
    top: calc(100% + 7px);
    width: 20px;
    height: 20px;
    font-size: 21px;
    transform: translateX(-50%);
    animation: pipelineArrowDownPulse 2.4s ease-in-out infinite;
  }

  .how-pipeline-statement {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .how-pipeline-statement p {
    font-size: 17px;
  }

  .proof-capability-section {
    padding: 38px 18px;
  }

  .proof-capability-head h2,
  .proof-capability-statement {
    font-size: 32px;
  }

  .homepage-roadmap-section h2 {
    font-size: 34px;
  }

  .product-roadmap-timeline::before {
    left: 23px;
    right: auto;
    top: 30px;
    bottom: 30px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(118, 228, 209, 0.54), transparent);
  }

  .product-roadmap-timeline article {
    min-height: 0;
  }

  .product-roadmap-statement {
    align-items: start;
  }

  .product-roadmap-statement p {
    font-size: 24px;
  }

  .research-innovation-section h2 {
    font-size: 34px;
  }

  .research-card-grid article {
    min-height: 0;
  }

  .research-statement p {
    font-size: 24px;
  }

  .capability-proof-grid article {
    min-height: 0;
  }

  .knowledge-demo-panel,
  .proof-metrics-block,
  .proof-takeaways,
  .proof-capability-actions {
    padding: 18px;
  }

  .demo-workflow-copy h3 {
    font-size: 28px;
  }

  .knowledge-solutions-section > * {
    width: min(100% - 36px, 1180px);
  }

  .knowledge-solutions-head h2,
  .knowledge-solutions-closing p {
    font-size: 34px;
  }

  .solution-card-grid article {
    min-height: 0;
  }

  .solution-domain-graph {
    min-height: 470px;
  }

  .domain-graph-node {
    width: min(170px, 31%);
    padding: 14px;
  }

	  .engine-domain-panel,
	  .domain-adaptation-block,
	  .custom-ontology-panel,
	  .workflow-grid article,
	  .knowledge-solutions-closing {
	    padding: 18px;
	  }

  .engine-domain-map {
    gap: 18px;
  }

  .engine-domain-map::before,
  .engine-domain-map::after {
    display: none;
  }

  .leyli-platform-section {
    padding: 38px 18px;
  }

  .platform-head h2,
  .platform-closing p {
    font-size: 34px;
  }

  .platform-module-grid article {
    min-height: 0;
  }

  .platform-module-grid article::before,
  .platform-core::after {
    display: none;
  }

  .platform-flow-block,
  .enterprise-ai-block,
  .platform-integrations-block,
  .enterprise-build-block,
  .platform-closing {
    padding: 18px;
  }

  .platform-flow span:not(:last-child)::after {
    left: 50%;
    right: auto;
    top: calc(100% + 1px);
    width: 1px;
    height: 8px;
    transform: translateX(-50%);
  }

  .technology-hero {
    min-height: auto;
    padding-top: 34px;
  }

  .technology-hero h1 {
    font-size: 42px;
  }

  .technology-hero p,
  .data-to-ai-section p {
    font-size: 18px;
  }

  .technology-card-grid,
  .roadmap-grid,
  .data-flow,
  .biomedical-proof-section,
  .technology-preview-flow {
    grid-template-columns: 1fr;
  }

  .technology-preview-section h2 {
    font-size: 34px;
  }

  .technology-preview-flow article:not(:last-child)::after {
    left: 50%;
    right: auto;
    top: calc(100% + 1px);
    width: 1px;
    height: 8px;
    transform: translateX(-50%);
  }

  .technology-preview-statement p {
    font-size: 24px;
  }

  .demo-intro-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 44px;
    padding-bottom: 54px;
  }

  .demo-intro-title h1 {
    font-size: 38px;
  }

  .demo-intro-points,
  .demo-intro-proof-grid {
    grid-template-columns: 1fr;
  }

  .demo-intro-video-meta,
  .demo-intro-launch-band {
    align-items: stretch;
    flex-direction: column;
  }

  .demo-intro-video-meta strong {
    white-space: normal;
  }

  .data-flow span:not(:last-child)::after {
    left: 50%;
    right: auto;
    top: calc(100% + 1px);
    width: 2px;
    height: 8px;
    transform: translateX(-50%);
  }

  .architecture-layer-card {
    grid-template-columns: 1fr;
  }

  .architecture-layer-card:not(:last-child)::after {
    left: 28px;
  }

  .architecture-card {
    min-height: 104px;
  }

  .architecture-card:not(:last-child)::after {
    content: "";
    display: block;
    position: absolute;
    background: rgba(143, 216, 205, 0.46);
    top: calc(100% + 1px);
    left: 30px;
    width: 2px;
    height: 10px;
    animation-name: flowPulseVertical;
    transform: none;
  }

  .about-page-hero h1 {
    font-size: 34px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .landing-photo {
    min-height: 360px;
  }

  .service-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .trust-metrics,
  .proof-strip,
  .mvp-proof-grid,
  .intro-video-section,
  .about-grid,
  .company-principles-grid,
  .team-culture-grid,
  .team-grid,
  .contact-section,
  .demo-guide-strip,
  .capability-map-grid,
  .visual-service-layout,
  .service-grid.compact,
  .industry-showcase,
  .demo-hero-strip {
    grid-template-columns: 1fr;
  }

  .image-card img {
    min-height: 340px;
  }

  .industry-showcase img {
    height: 260px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 20px;
  }

  .demo-hero-strip,
  .demo-proof-panel {
    grid-template-columns: 1fr;
  }

  .demo-hero-strip img {
    min-height: 220px;
  }

  .demo-hero-strip > div {
    padding: 18px;
  }

  .demo-hero-strip strong {
    font-size: 28px;
  }

  .demo-value-cards,
  .pipeline-steps,
  .run-summary-grid,
  .knowledge-quality-grid,
  .exports-api-grid,
  .reasoning-card-grid,
  .graphrag-output-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-progress-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-tabs {
    position: static;
  }

  .footer-gap {
    display: none;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-hero-strip div {
    padding: 0 14px 14px;
  }

  .demo-hero-strip img {
    height: 210px;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  body[data-active-tab="analyze"] .knowledge-os-shell,
  body[data-active-tab="manage"] .knowledge-os-shell,
  .knowledge-os-shell {
    grid-template-columns: 1fr;
  }

  .project-sidebar,
  .platform-context-panel {
    position: static;
    max-height: none;
  }

  .toolbar {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .top-run-status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }

  .toolbar-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
  }

  .toolbar-actions button,
  .toolbar-actions .toolbar-link {
    flex: 1 1 92px;
  }

  .inspector {
    position: static;
    max-height: none;
  }

  .accordion-section.open > .list {
    height: auto;
    min-height: 0;
    max-height: 70vh;
  }

  .control-grid {
    grid-template-columns: 1fr;
  }

  .input-band[data-tab-panel="analyze"] {
    grid-template-columns: 1fr;
  }

  .model-config-card,
  .ontology-config-card,
  .source-picker,
  .document-content-card {
    grid-column: auto;
    grid-row: auto;
  }

  .ontology-toggle-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .model-custom-row {
    grid-template-columns: 1fr;
  }

  .inline-analyze-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .inline-analyze-actions button {
    width: 100%;
  }

  .workflow-card,
  .workflow-card:nth-child(3n),
  .workflow-card:nth-last-child(-n + 3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-card:last-child {
    border-bottom: 0;
  }

  .source-picker-head {
    align-items: stretch;
    flex-direction: column;
  }

  .source-fields {
    grid-template-columns: 1fr;
  }

  .filter-band {
    grid-template-columns: 1fr;
  }

  .qa-grid {
    grid-template-columns: 1fr;
  }

  .qa-question {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .document-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .feedback-floating-button {
    right: 10px;
    bottom: 10px;
    max-width: calc(100vw - 20px);
    padding: 9px 11px;
  }

  .solution-domain-graph {
    display: grid;
    min-height: 0;
    gap: 12px;
    padding: 16px;
  }

  .solution-domain-lines {
    display: none;
  }

  .domain-graph-node,
  .domain-graph-core,
  .node-biomedical,
  .node-surgical,
  .node-legal,
  .node-enterprise {
    position: static;
    width: 100%;
    transform: none;
  }

  .domain-graph-node:hover {
    transform: translateY(-2px);
  }

  .domain-graph-core {
    order: -1;
  }
}
