﻿:root {
  --ink: #121826;
  --muted: #58657a;
  --soft: #eef3f7;
  --paper: #f8fafc;
  --white: #ffffff;
  --line: #d8e1ea;
  --teal: #0f9f8f;
  --blue: #2563eb;
  --amber: #c97916;
  --plum: #7446b8;
  --dark: #111827;
  --panel: #172033;
  --radius: 8px;
  --shadow: 0 22px 58px rgba(18, 24, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.anchor-offset {
  display: block;
  height: 1px;
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 68px;
  padding: 0 36px;
  border-bottom: 1px solid rgba(216, 225, 234, 0.88);
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 34px rgba(18, 24, 38, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 850;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  background: var(--dark);
  border-radius: 7px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #3a4659;
  font-size: 14px;
}

.nav-product-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-product-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.nav-product-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-product-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  width: 324px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-product-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

.nav-product-menu:hover .nav-product-panel,
.nav-product-menu:focus-within .nav-product-panel,
.nav-product-menu.is-open .nav-product-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-product-panel a {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border-radius: 6px;
}

.nav-product-panel a:hover {
  color: var(--ink);
  background: var(--soft);
}

.nav-product-panel strong {
  font-size: 14px;
}

.nav-product-panel span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.nav a:hover,
.header-action:hover {
  color: var(--blue);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 14px;
  font-weight: 780;
}

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(13, 19, 31, 0.98), rgba(13, 19, 31, 0.84) 48%, rgba(13, 19, 31, 0.38)),
    linear-gradient(180deg, rgba(13, 19, 31, 0.1), #0d131f 94%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 88px;
  background: linear-gradient(180deg, rgba(13, 19, 31, 0), #0d131f);
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-context-diagram {
  position: absolute;
  top: 43%;
  right: 4vw;
  transform: translateY(-50%);
  width: clamp(318px, 26vw, 368px);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.055)),
    rgba(12, 18, 30, 0.42);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.context-layer {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 11px 14px;
  border: 1px solid rgba(15, 159, 143, 0.58);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(15, 159, 143, 0.28), rgba(37, 99, 235, 0.2));
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.context-layer span,
.hero-product-card span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.context-layer strong {
  font-size: clamp(13px, 1.04vw, 16px);
  line-height: 1.15;
  text-align: center;
}

.context-lines {
  display: grid;
  grid-template-columns: minmax(92px, 1.05fr) minmax(0, 1.95fr);
  gap: 8px;
  height: 15px;
  padding: 0 18px;
}

.context-lines span {
  border-left: 1px solid rgba(255, 255, 255, 0.36);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.matrixark-layer {
  display: grid;
  place-items: center;
  margin: 0 0 9px;
  padding: 8px 10px 9px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-product-map {
  display: grid;
  grid-template-columns: minmax(98px, 1.02fr) minmax(0, 1.98fr);
  gap: 9px;
  align-items: stretch;
}

.hero-supporting-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  min-width: 0;
  padding: 6px;
  overflow: hidden;
  border: 1.5px dashed rgba(255, 255, 255, 0.48);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.hero-product-card {
  display: grid;
  place-items: center;
  gap: 0;
  min-width: 0;
  min-height: 60px;
  padding: 8px 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.hero-product-card:hover,
.hero-product-card:focus-visible {
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.hero-product-card strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
  font-size: clamp(11px, 0.86vw, 13px);
  line-height: 1.1;
}

.hero-product-card small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.hero-temporal {
  min-height: 88px;
  padding: 10px 12px;
  border-color: rgba(15, 159, 143, 0.64);
  background: linear-gradient(180deg, rgba(15, 159, 143, 0.34), rgba(15, 159, 143, 0.14));
  box-shadow: 0 18px 44px rgba(15, 159, 143, 0.18);
}

.hero-matrixdb {
  border-color: rgba(37, 99, 235, 0.36);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.18), rgba(255, 255, 255, 0.07));
}

.hero-matrixkv {
  border-color: rgba(201, 121, 22, 0.42);
  background: linear-gradient(180deg, rgba(201, 121, 22, 0.18), rgba(255, 255, 255, 0.07));
}

.hero-temporal strong {
  font-size: 16px;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.hero-matrixdb {
  border-color: rgba(37, 99, 235, 0.46);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.25), rgba(37, 99, 235, 0.1));
}

.hero-matrixkv {
  border-color: rgba(201, 121, 22, 0.52);
  background: linear-gradient(180deg, rgba(201, 121, 22, 0.27), rgba(201, 121, 22, 0.1));
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding: 104px 40px 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(31px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-subcopy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.hero-actions,
.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 850;
}

.button.primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
}

.button.secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.button:hover {
  transform: translateY(-1px);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.proof-strip {
  margin-top: 38px;
}

.proof-strip span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
}

.section {
  padding: 94px 40px;
}

.section-heading {
  max-width: 920px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 34px;
}

.thesis-section,
.thesis-grid,
.product-grid,
.use-case-grid,
.positioning-grid,
.ops-grid,
.workflow-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.thesis-grid {
  grid-template-columns: repeat(3, 1fr);
}

.thesis-grid article,
.product-card,
.use-case-grid article,
.positioning-grid article,
.ops-grid article,
.workflow-grid article,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.thesis-grid article,
.use-case-grid article,
.positioning-grid article,
.blog-grid article,
.blog-list article,
.capability-grid article {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.thesis-grid article:hover,
.use-case-grid article:hover,
.positioning-grid article:hover,
.blog-grid article:hover,
.blog-list article:hover,
.capability-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 16px 34px rgba(18, 24, 38, 0.08);
}

.thesis-grid article {
  padding: 26px;
}

.thesis-product {
  position: relative;
  overflow: hidden;
}

.thesis-product::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--blue);
}

.thesis-product.temporal-card::before {
  background: var(--teal);
}

.thesis-product.matrixkv-card::before {
  background: var(--amber);
}

.thesis-product .text-link {
  width: 100%;
}

.thesis-grid h3 {
  margin-bottom: 10px;
}

.thesis-points {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.thesis-points li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.thesis-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 900;
}

.products-section {
  background: #eef3f7;
}

.product-grid {
  grid-template-columns: repeat(2, 1fr);
}

.product-card {
  padding: 26px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
}

.temporal-card::before {
  background: var(--teal);
}

.matrixdb-card::before {
  background: var(--blue);
}

.matrixkv-card::before {
  background: var(--amber);
}

.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.product-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 7px;
  color: #ffffff;
  font-weight: 900;
}

.temporal-card .product-mark {
  background: var(--teal);
}

.matrixdb-card .product-mark {
  background: var(--blue);
}

.matrixkv-card .product-mark {
  background: var(--amber);
}

.status-pill {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #43516a;
  background: #f7fafc;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

dl {
  margin: 22px 0 0;
}

dl div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: #202b3d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.architecture-section {
  color: #ffffff;
  background: var(--dark);
}

.architecture-section p,
.architecture-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.architecture-board {
  max-width: 1180px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 0.95fr 1.35fr 0.95fr;
  gap: 18px;
}

.arch-lane {
  min-height: 360px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.arch-lane h3 {
  color: #ffffff;
}

.arch-lane > span,
.engine-row {
  display: block;
  margin-top: 12px;
  padding: 13px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
}

.engine-row strong,
.engine-row small {
  display: block;
}

.engine-row small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

.temporal-row {
  border-left: 4px solid var(--teal);
}

.matrixdb-row {
  border-left: 4px solid var(--blue);
}

.matrixkv-row {
  border-left: 4px solid var(--amber);
}

.workflow-grid article {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
  color: var(--ink);
}

.workflow-grid ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.72;
}

.use-case-section {
  background: var(--paper);
}

.use-case-grid {
  grid-template-columns: repeat(3, 1fr);
}

.use-case-grid article {
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.use-case-grid code {
  display: inline-block;
  max-width: 100%;
  width: fit-content;
  margin-top: 4px;
  padding: 7px 9px;
  border-radius: 6px;
  color: #1d4ed8;
  background: #eef6ff;
  font-weight: 800;
  white-space: normal;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #ffffff;
}

th,
td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: #46566f;
  background: #f3f6fa;
  font-size: 13px;
}

.cloud-section {
  color: #ffffff;
  background: #142033;
}

.cloud-section p {
  color: rgba(255, 255, 255, 0.72);
}

.cloud-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
}

.cloud-tags span {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
}

.ops-grid {
  grid-template-columns: repeat(4, 1fr);
}

.ops-grid article {
  padding: 28px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.ops-grid span {
  color: var(--teal);
  font-weight: 900;
}

.ops-grid h3 {
  color: #ffffff;
  margin-top: 12px;
}

.positioning-section {
  background: var(--white);
}

.positioning-grid {
  grid-template-columns: repeat(3, 1fr);
}

.positioning-grid article {
  padding: 26px;
}

.blog-preview-section {
  background: #eef3f7;
}

.blog-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.blog-grid article,
.blog-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.blog-grid article {
  padding: 26px;
}

.blog-grid span,
.blog-list span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-action {
  margin-top: 28px;
  text-align: center;
}

.blog-detail {
  background:
    linear-gradient(115deg, rgba(13, 19, 31, 0.98), rgba(13, 19, 31, 0.76)),
    linear-gradient(45deg, rgba(116, 70, 184, 0.52), transparent 56%);
}

.blog-index-section {
  background: var(--white);
}

.blog-list {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.blog-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 28px;
}

.article {
  background: var(--white);
}

.article-hero {
  padding: 120px 40px 72px;
  color: #ffffff;
  background:
    linear-gradient(115deg, rgba(13, 19, 31, 0.98), rgba(13, 19, 31, 0.76)),
    linear-gradient(45deg, rgba(15, 159, 143, 0.54), transparent 58%);
}

.article-hero h1,
.article-hero p {
  max-width: 980px;
}

.article-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.article-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 44px 40px;
  border-bottom: 1px solid var(--line);
}

.article-section h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.article-section p {
  font-size: 17px;
}

.article-callout {
  margin-top: 22px;
  padding: 22px;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  background: #eef9f7;
  color: #233246;
  line-height: 1.65;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.article-grid > div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7fafc;
}

.context-portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.context-portal-grid > div {
  min-height: 164px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7fafc;
}

.article-flow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin: 24px 0;
}

.article-flow span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f7fafc;
  color: #263449;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.architecture-diagram {
  display: grid;
  gap: 10px;
  margin: 26px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.architecture-diagram.two-column {
  grid-template-columns: 1fr 1fr;
}

.diagram-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.diagram-panel.strong {
  border-color: rgba(17, 128, 111, 0.35);
  background: #edf7f4;
}

.diagram-panel h3 {
  margin-bottom: 14px;
}

.flow-stack,
.sequence-diagram,
.diagram-row {
  display: grid;
  gap: 10px;
}

.flow-stack span,
.sequence-diagram span,
.diagram-row span,
.diagram-row a {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #263449;
  font-weight: 850;
  text-align: center;
  line-height: 1.35;
}

.diagram-row {
  grid-template-columns: repeat(3, 1fr);
}

.diagram-row.wide span,
.diagram-row.wide a {
  background: #eef6f3;
}

.diagram-row.wide .product-node {
  box-shadow: 0 12px 28px rgba(18, 24, 38, 0.08);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.diagram-row.wide .product-node:hover,
.diagram-row.wide .product-node:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(18, 24, 38, 0.14);
  text-decoration: none;
}

.diagram-row.wide .product-node small {
  display: block;
}

.diagram-row.wide .temporal-node {
  border-color: rgba(17, 128, 111, 0.46);
  background: linear-gradient(180deg, #eefaf6, #d9f0ea);
  color: #0b5b50;
}

.diagram-row.wide .matrixdb-node {
  border-color: rgba(37, 99, 235, 0.42);
  background: linear-gradient(180deg, #eef4ff, #dbe8ff);
  color: #1d4fa3;
}

.diagram-row.wide .matrixkv-node {
  border-color: rgba(201, 121, 22, 0.46);
  background: linear-gradient(180deg, #fff7e8, #f5e4c5);
  color: #8a4f09;
}

.diagram-row small,
.flow-stack small,
.sequence-diagram small {
  color: var(--muted);
  font-weight: 700;
}

.sequence-diagram {
  grid-template-columns: repeat(4, 1fr);
  margin: 24px 0;
}

.code-slab {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #111816;
}

.code-slab pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  color: #eef8f3;
  font-size: 14px;
  line-height: 1.55;
}

.status-note {
  margin-top: 16px;
  padding: 18px;
  border-left: 4px solid var(--teal);
  background: #eef6f3;
}

.example-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-list {
  color: var(--muted);
  line-height: 1.75;
}

.article-footer {
  max-width: 980px;
  margin: 0 auto;
  padding: 44px 40px 72px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-reads {
  width: 100%;
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.related-reads h2 {
  font-size: 24px;
}

.related-reads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.related-reads-grid a {
  min-height: 116px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px;
  border-color: rgba(37, 99, 235, 0.2);
  color: var(--ink);
  background: #ffffff;
  box-shadow: none;
}

.related-reads-grid a::after {
  color: var(--blue);
}

.related-reads-grid a:hover,
.related-reads-grid a:focus-visible {
  color: var(--ink);
  background: #eef6ff;
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.12);
}

.related-reads-grid strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.related-reads-grid small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.button.secondary.light {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.contact-section {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
}

.contact-panel {
  padding: 28px;
}

.contact-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
}

.contact-panel .button.primary {
  width: 100%;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
}

.observation-body {
  color: #dce6f7;
  background: #0b1020;
}

.observation-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.observation-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px;
  border-right: 1px solid rgba(148, 163, 184, 0.18);
  background: #0f172a;
}

.observation-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
}

.observation-brand > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--teal);
  font-weight: 900;
}

.observation-brand strong,
.observation-brand small {
  display: block;
}

.observation-brand small,
.observation-topbar small,
.observation-panel p,
.observation-panel-header span,
.metric-grid span,
.metric-grid small,
.signal-row span,
.node-table span,
.incident-list span {
  color: #94a3b8;
}

.observation-sidebar nav {
  display: grid;
  gap: 8px;
}

.observation-sidebar a {
  padding: 11px 12px;
  border-radius: 8px;
  color: #cbd5e1;
  font-weight: 800;
}

.observation-sidebar a.active,
.observation-sidebar a:hover,
.observation-sidebar a:focus-visible {
  color: #ffffff;
  background: rgba(15, 159, 143, 0.18);
}

.observation-main {
  padding: 28px;
  display: grid;
  gap: 18px;
}

.observation-topbar,
.observation-panel-header,
.signal-row,
.node-table div,
.incident-list article {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.observation-topbar {
  padding-bottom: 8px;
}

.observation-topbar h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(32px, 4vw, 52px);
}

.observation-status {
  min-width: 220px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 159, 143, 0.34);
  border-radius: 8px;
  background: rgba(15, 159, 143, 0.1);
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
}

.observation-panel {
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: #111827;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.observation-panel h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 22px;
}

.observation-panel p {
  margin: 0;
}

.observation-grid,
.metric-grid {
  display: grid;
  gap: 14px;
}

.observation-grid {
  grid-template-columns: repeat(3, 1fr);
}

.metric-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
}

.metric-grid article {
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: #0f172a;
}

.metric-grid strong {
  display: block;
  margin: 8px 0;
  color: #ffffff;
  font-size: 28px;
}

.signal-row,
.node-table div,
.incident-list article {
  padding: 13px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.signal-row strong,
.node-table strong,
.node-table span:last-child,
.incident-list strong {
  color: #ffffff;
}

.node-table {
  margin-top: 14px;
}

.node-table div {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
}

.bar-list {
  display: grid;
  gap: 12px;
}

.bar-list span {
  position: relative;
  min-height: 42px;
  padding: 12px;
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
  background: #0f172a;
  font-weight: 850;
}

.bar-list span::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: var(--value);
  background: rgba(37, 99, 235, 0.38);
}

.incident-list {
  margin-top: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  min-height: 42px;
  width: fit-content;
  max-width: 100%;
  padding: 0 16px;
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.18);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.text-link::after {
  content: ">";
  font-size: 16px;
  line-height: 1;
  transform: translateX(0);
  transition: transform 160ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: #ffffff;
  background: #1d4ed8;
  border-color: #1d4ed8;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.26);
  text-decoration: none;
  transform: translateY(-1px);
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(3px);
}

.product-card .text-link {
  width: 100%;
  margin-top: 24px;
}

.temporal-card .text-link {
  background: var(--teal);
  border-color: rgba(15, 159, 143, 0.32);
  box-shadow: 0 12px 28px rgba(15, 159, 143, 0.18);
}

.temporal-card .text-link:hover,
.temporal-card .text-link:focus-visible {
  background: #0b8276;
  border-color: #0b8276;
  box-shadow: 0 16px 34px rgba(15, 159, 143, 0.26);
}

.matrixkv-card .text-link {
  background: var(--amber);
  border-color: rgba(201, 121, 22, 0.34);
  box-shadow: 0 12px 28px rgba(201, 121, 22, 0.18);
}

.matrixkv-card .text-link:hover,
.matrixkv-card .text-link:focus-visible {
  background: #a55f0f;
  border-color: #a55f0f;
  box-shadow: 0 16px 34px rgba(201, 121, 22, 0.26);
}

.blog-list .text-link {
  margin-top: 0;
  min-width: 168px;
  text-align: center;
}

.product-hero {
  min-height: 560px;
  display: grid;
  align-content: end;
  padding: 120px 40px 74px;
  color: #ffffff;
  background: var(--dark);
}

.product-hero h1 {
  max-width: 1000px;
}

.product-hero p:not(.eyebrow) {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.temporal-detail {
  background:
    linear-gradient(115deg, rgba(13, 19, 31, 0.98), rgba(13, 19, 31, 0.78)),
    linear-gradient(45deg, rgba(15, 159, 143, 0.55), transparent 54%);
}

.matrixdb-detail {
  background:
    linear-gradient(115deg, rgba(13, 19, 31, 0.98), rgba(13, 19, 31, 0.78)),
    linear-gradient(45deg, rgba(37, 99, 235, 0.55), transparent 54%);
}

.matrixkv-detail {
  background:
    linear-gradient(115deg, rgba(13, 19, 31, 0.98), rgba(13, 19, 31, 0.78)),
    linear-gradient(45deg, rgba(201, 121, 22, 0.55), transparent 54%);
}

.detail-section {
  background: var(--white);
}

.alt-section {
  background: #eef3f7;
}

.matrixark-answer {
  display: block;
  margin-top: 10px;
  padding: 11px 12px;
  border-left: 3px solid var(--teal);
  border-radius: 7px;
  color: #0b5b50;
  background: #e6f7f3;
  font-weight: 850;
}

.advantage-section {
  background: var(--white);
}

.scenario-section {
  background: #f3f7fb;
}

.detail-grid,
.capability-grid,
.advantage-grid,
.scenario-board {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.detail-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.detail-grid article,
.capability-grid article,
.advantage-grid article,
.scenario-board > div,
.comparison-table,
.product-cta {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.detail-grid article,
.capability-grid article,
.advantage-grid article,
.scenario-board > div {
  padding: 26px;
}

.advantage-grid {
  grid-template-columns: repeat(4, 1fr);
}

.advantage-grid span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--teal);
  font-weight: 900;
}

.scenario-board {
  grid-template-columns: repeat(3, 1fr);
}

.scenario-board > div {
  min-height: 190px;
}

.before-now-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.before-now-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.before-now-card > h3 {
  margin-bottom: 14px;
}

.before-now-lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.before-now-lane {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7fafc;
}

.before-now-lane.before {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-color: rgba(188, 119, 34, 0.36);
  background:
    linear-gradient(135deg, rgba(188, 119, 34, 0.08), rgba(255, 255, 255, 0)),
    #fff8ef;
}

.before-now-lane.now {
  align-content: center;
  border-color: rgba(15, 159, 143, 0.34);
  background: #eef9f7;
}

.before-now-label {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.before-now-lane.before .before-now-label {
  grid-column: 1 / -1;
  color: var(--amber);
}

.before-now-step {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  color: #263449;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  text-align: center;
}

.before-now-lane.before .before-now-step {
  min-height: 48px;
  border-color: rgba(188, 119, 34, 0.24);
  background: #ffffff;
  font-size: 12px;
}

.before-now-lane.now .before-now-step {
  min-height: 70px;
  border-color: rgba(15, 159, 143, 0.24);
  background: #ffffff;
}

.before-now-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.flow-diagram {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0 20px;
}

.flow-diagram span {
  min-height: 66px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #263449;
  background: #f7fafc;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.detail-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.78;
}

.capability-grid {
  grid-template-columns: repeat(3, 1fr);
}

.comparison-table {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px;
  overflow-x: auto;
}

.comparison-table h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.product-cta {
  max-width: 960px;
  margin: 0 auto;
  padding: 34px;
  text-align: center;
}

.product-cta h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.product-cta p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1040px) {
  .site-header {
    padding: 0 22px;
  }

  .nav {
    display: none;
  }

  .hero-copy {
    padding: 112px 24px 64px;
  }

  .hero-context-diagram {
    display: none;
  }

  .section {
    padding: 72px 24px;
  }

  .thesis-grid,
  .product-grid,
  .architecture-board,
  .use-case-grid,
  .positioning-grid,
  .blog-grid,
  .ops-grid,
  .workflow-grid,
  .contact-section,
  .detail-grid,
  .capability-grid,
  .advantage-grid,
  .scenario-board {
    grid-template-columns: 1fr;
  }

  .arch-lane {
    min-height: auto;
  }

  .footer {
    flex-direction: column;
  }

  .blog-list article {
    grid-template-columns: 1fr;
  }

  .article-grid,
  .context-portal-grid,
  .article-flow,
  .architecture-diagram.two-column,
  .sequence-diagram,
  .diagram-row,
  .before-now-lanes {
    grid-template-columns: 1fr;
  }

  .before-now-lane.before {
    grid-template-columns: 1fr;
  }

  .observation-shell {
    grid-template-columns: 1fr;
  }

  .observation-sidebar {
    position: static;
    height: auto;
  }

  .observation-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .observation-topbar,
  .observation-panel-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .header-action {
    display: none;
  }

  h1 {
    font-size: 43px;
  }

  .hero-subcopy {
    font-size: 17px;
  }

  .product-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .product-hero {
    min-height: 520px;
    padding: 96px 24px 58px;
  }

  .flow-diagram {
    grid-template-columns: 1fr;
  }

  .article-hero,
  .article-section,
  .article-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .related-reads-grid {
    grid-template-columns: 1fr;
  }

  .observation-main {
    padding: 18px;
  }

  .node-table div {
    grid-template-columns: 1fr;
  }
}


