:root {
  --bg: #07131c;
  --bg-soft: #0d1d29;
  --panel: rgba(15, 27, 36, 0.9);
  --panel-border: rgba(144, 178, 199, 0.2);
  --text: #ebf4ff;
  --muted: #adc5d8;
  --primary: #53d2ff;
  --primary-strong: #2ea8d8;
  --accent: #8de4c9;
  --shadow: rgba(12, 41, 58, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(83, 210, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #07131c 0%, #0a1721 100%);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(7, 19, 28, 0.72);
  border-bottom: 1px solid rgba(137, 167, 186, 0.15);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #062334;
  box-shadow: 0 8px 18px rgba(83, 210, 255, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #062334;
  box-shadow: 0 12px 30px rgba(83, 210, 255, 0.25);
}

.button-secondary {
  border: 1px solid rgba(141, 228, 201, 0.35);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.hero {
  padding: 96px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(83, 210, 255, 0.35);
  background: rgba(83, 210, 255, 0.07);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  line-height: 1.1;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
  letter-spacing: -0.06em;
  max-width: 620px;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-copy p {
  max-width: 620px;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.mini-list li {
  position: relative;
  padding-left: 18px;
}

.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.hero-card {
  background: linear-gradient(180deg, rgba(19, 31, 42, 0.96), rgba(8, 21, 31, 0.96));
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 28px 70px var(--shadow);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--muted);
}

.status-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7ef0b2;
  box-shadow: 0 0 18px rgba(126, 240, 178, 0.9);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.metric {
  padding: 18px 16px;
  border-radius: 16px;
  background: rgba(9, 22, 30, 0.75);
  border: 1px solid rgba(141, 228, 201, 0.12);
}

.metric strong {
  display: block;
  font-size: 1.7rem;
  letter-spacing: -0.05em;
  margin-bottom: 6px;
}

.metric span {
  color: var(--muted);
  font-size: 0.8rem;
}

.status-stack {
  display: grid;
  gap: 10px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(13, 31, 42, 0.85);
  border: 1px solid rgba(83, 210, 255, 0.1);
  color: var(--muted);
}

.status-row strong {
  color: var(--text);
  font-size: 0.9rem;
}

.section {
  padding: 90px 0;
}

.promo-section {
  padding: 0 0 56px;
}

.promo {
  max-width: 1080px;
  margin: 0 auto;
}

.promo-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  background: #0b1220;
  box-shadow: 0 24px 60px var(--shadow);
}

.promo-frame {
  position: relative;
}

.promo-video {
  cursor: pointer;
}

.promo-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--panel-border);
  border-radius: 50%;
  background: rgba(7, 19, 28, 0.75);
  color: var(--text);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.promo-frame:hover .promo-toggle,
.promo-toggle:focus-visible,
.promo-toggle.is-paused {
  opacity: 1;
}

.promo-toggle:hover {
  background: rgba(7, 19, 28, 0.95);
}

.promo-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.promo-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.promo-toggle .icon-play,
.promo-toggle.is-paused .icon-pause {
  display: none;
}

.promo-toggle.is-paused .icon-play {
  display: block;
}

.promo figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.section-dark {
  background: rgba(9, 19, 26, 0.7);
  border-top: 1px solid rgba(137, 167, 186, 0.1);
  border-bottom: 1px solid rgba(137, 167, 186, 0.1);
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading.narrow {
  max-width: 700px;
}

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

.feature-card {
  background: rgba(17, 29, 39, 0.78);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: 0 18px 35px rgba(8, 17, 24, 0.3);
}

.feature-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(83, 210, 255, 0.08);
  border: 1px solid rgba(83, 210, 255, 0.25);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
}

.feature-card h3 {
  font-size: 1.25rem;
}

.feature-card code {
  font-family: "SFMono-Regular", Consolas, monospace;
  color: var(--primary);
}

.install-box {
  padding: 26px 22px;
  border-radius: 22px;
  border: 1px solid var(--panel-border);
  background: rgba(12, 24, 33, 0.85);
}

.install-box ol {
  margin: 0 0 18px;
  padding-left: 1.2rem;
  color: var(--muted);
}

.install-box pre {
  margin: 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(4, 16, 24, 0.95);
  border: 1px solid rgba(83, 210, 255, 0.12);
  overflow-x: auto;
}

.install-box code {
  font-family: "SFMono-Regular", Consolas, monospace;
  color: var(--text);
  font-size: 0.95rem;
}

.two-column {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.package-table-wrap {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--panel-border);
  background: rgba(10, 22, 31, 0.85);
}

.package-table {
  width: 100%;
  border-collapse: collapse;
}

.package-table th,
.package-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(154, 176, 194, 0.12);
  text-align: left;
}

.package-table th {
  background: rgba(20, 36, 48, 0.9);
  color: var(--text);
}

.package-table td {
  color: var(--muted);
}

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

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

.bullet-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.bullet-list div {
  padding: 18px 20px;
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  background: rgba(17, 29, 39, 0.75);
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  padding: 22px 24px;
  border-radius: 18px;
  background: rgba(17, 29, 39, 0.78);
  border: 1px solid var(--panel-border);
}

.faq-item h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.cta-section {
  padding-top: 30px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(19, 36, 47, 0.9), rgba(13, 24, 31, 0.9));
  border: 1px solid rgba(83, 210, 255, 0.2);
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(6, 18, 27, 0.45);
}

.cta-box .button {
  flex-shrink: 0;
}

code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.9em;
  color: var(--accent);
}

.text-link {
  color: var(--primary);
  border-bottom: 1px solid rgba(83, 210, 255, 0.35);
}

.text-link:hover {
  border-bottom-color: var(--primary);
}

.section-heading p {
  margin-top: 6px;
}

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

.two-column.align-start {
  align-items: start;
}

.stats-card {
  display: grid;
  gap: 10px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(13, 31, 42, 0.85);
  border: 1px solid rgba(83, 210, 255, 0.1);
  color: var(--muted);
}

.stat-row strong {
  color: var(--text);
  text-align: right;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--panel-border);
  background: rgba(10, 22, 31, 0.85);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.data-table th,
.data-table td {
  padding: 13px 18px;
  border-bottom: 1px solid rgba(154, 176, 194, 0.12);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: rgba(20, 36, 48, 0.9);
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.data-table td {
  color: var(--muted);
}

.data-table td:first-child {
  color: var(--text);
}

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

.data-table .clause {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.badge {
  display: inline-block;
  margin-right: 6px;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  vertical-align: 0.1em;
}

.badge.yes {
  color: #7ef0b2;
  background: rgba(126, 240, 178, 0.1);
  border: 1px solid rgba(126, 240, 178, 0.3);
}

.badge.no {
  color: #c3ced8;
  background: rgba(173, 197, 216, 0.08);
  border: 1px solid rgba(173, 197, 216, 0.25);
}

.badge.soon {
  color: var(--primary);
  background: rgba(83, 210, 255, 0.08);
  border: 1px solid rgba(83, 210, 255, 0.3);
  letter-spacing: 0;
}

.note {
  max-width: 820px;
  margin-top: 28px;
  font-size: 0.98rem;
}

.two-column .table-wrap {
  margin-top: 8px;
}

.page-intro {
  padding: 72px 0 24px;
}

.page-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.toc a {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: rgba(17, 29, 39, 0.6);
  color: var(--muted);
  font-size: 0.9rem;
}

.toc a:hover {
  color: var(--text);
  border-color: rgba(83, 210, 255, 0.4);
}

.faq-group {
  padding: 36px 0;
  scroll-margin-top: 80px;
}

.faq-group h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin-bottom: 20px;
}

.faq-item p + p,
.faq-item p + .table-wrap,
.faq-item .table-wrap + p,
.faq-item p + .diagram {
  margin-top: 14px;
}

.faq-item ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.faq-item li + li {
  margin-top: 6px;
}

.diagram {
  margin: 14px 0 0;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(4, 16, 24, 0.95);
  border: 1px solid rgba(83, 210, 255, 0.12);
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.45;
  overflow-x: auto;
}

.terms {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 18px;
  margin: 0;
}

.terms dt {
  font-weight: 600;
  color: var(--text);
}

.terms dd {
  margin: 0;
  color: var(--muted);
}

section[id] {
  scroll-margin-top: 80px;
}

.site-footer {
  margin-top: 60px;
  padding: 28px 0;
  border-top: 1px solid rgba(137, 167, 186, 0.15);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer-wrap nav {
  display: flex;
  gap: 20px;
}

.footer-wrap a:hover {
  color: var(--text);
}

@media (max-width: 920px) {
  .hero-grid,
  .two-column,
  .feature-grid,
  .small-grid,
  .bullet-list {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .feature-grid.cols-3,
  .small-grid,
  .bullet-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 72px;
  }

  /* The video's text is too small to read at phone width. */
  .promo-section {
    display: none;
  }

  .feature-grid,
  .feature-grid.cols-3,
  .small-grid,
  .two-column,
  .metric-grid,
  .bullet-list,
  .terms {
    grid-template-columns: 1fr;
  }

  .terms dd {
    margin-bottom: 8px;
  }

  .section {
    padding: 60px 0;
  }

  .faq-group {
    padding: 28px 0;
  }

  .cta-box {
    padding: 24px 20px;
  }
}

/* Why SPBM: outside / inside comparison */
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.compare-card,
.ops-card,
.limit-item,
.callout,
.key-box {
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid var(--panel-border);
  background: rgba(17, 29, 39, 0.78);
}

.compare-card h3,
.ops-card h3,
.limit-item h3,
.callout h3,
.key-box h3 {
  font-size: 1.15rem;
}

.compare-card.is-on {
  border-color: rgba(141, 228, 201, 0.45);
  background: linear-gradient(135deg, rgba(83, 210, 255, 0.08), rgba(141, 228, 201, 0.06));
}

/* SPBM frame strip */
.frame {
  margin: 28px 0 0;
}

.frame-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.9rem;
}

.frame-row span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 10px;
  color: #062334;
  font-weight: 700;
  text-align: center;
}

.frame-row small {
  font-weight: 500;
  font-size: 0.72rem;
  opacity: 0.8;
}

.frame-row .f-b { flex: 1 1 70px; background: #53d2ff; }
.frame-row .f-t { flex: 1 1 80px; background: #7fdcf0; }
.frame-row .f-i { flex: 1 1 90px; background: #8de4c9; }
.frame-row .f-c {
  flex: 4 1 200px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(173, 197, 216, 0.4);
  color: var(--muted);
}

.frame figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* VXLAN comparison */
.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.ops-card {
  border-color: rgba(141, 228, 201, 0.35);
}

.callout {
  margin-bottom: 24px;
  border-color: rgba(83, 210, 255, 0.4);
  background: rgba(83, 210, 255, 0.06);
}

.callout strong {
  color: var(--text);
}

.callout.defaults {
  margin: 28px 0 0;
}

.callout ul {
  margin: 0 0 14px;
  padding-left: 1.2rem;
  color: var(--muted);
}

.callout li + li {
  margin-top: 6px;
}

/* Use cases */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.uc-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--panel-border);
  background: rgba(17, 29, 39, 0.78);
}

.uc-card h3 {
  font-size: 1.2rem;
}

.uc-diagram {
  margin-bottom: 18px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(4, 16, 24, 0.9);
  border: 1px solid rgba(83, 210, 255, 0.12);
}

.uc-diagram svg { display: block; width: 100%; height: auto; }
.uc-diagram .link { stroke: #6f8ba0; stroke-width: 2; fill: none; }
.uc-diagram .svc { stroke: var(--accent); stroke-width: 2.5; fill: none; stroke-dasharray: 6 4; }
.uc-diagram .fw { fill: #2ea8d8; }
.uc-diagram .sw { fill: #2c4a5e; }
.uc-diagram .host { fill: #0d1d29; stroke: #6f8ba0; stroke-width: 1.5; }
.uc-diagram .zone { fill: none; stroke: rgba(173, 197, 216, 0.35); stroke-width: 1.5; stroke-dasharray: 4 4; }
.uc-diagram text { fill: var(--text); font: 13px "Inter", sans-serif; }
.uc-diagram text.on { fill: #fff; font-weight: 600; }
.uc-diagram text.small { fill: var(--muted); font-size: 11px; }

/* Screenshots */
.shot {
  margin: 0 0 32px;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  background: #fff;
  box-shadow: 0 24px 60px var(--shadow);
}

.shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

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

/* Limitations */
.limit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* Repository key */
.key-box {
  margin-top: 24px;
}

.key-box p + pre,
.key-box pre + p {
  margin-top: 12px;
}

.key-box pre {
  margin: 12px 0 0;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(4, 16, 24, 0.95);
  border: 1px solid rgba(83, 210, 255, 0.12);
  overflow-x: auto;
}

.key-box pre code {
  color: var(--text);
  overflow-wrap: anywhere;
}

/* Documentation links */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.doc-link {
  display: block;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--panel-border);
  background: rgba(17, 29, 39, 0.78);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.doc-link:hover {
  border-color: rgba(83, 210, 255, 0.5);
  transform: translateY(-1px);
}

.doc-link strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
}

.doc-link span {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-legal {
  margin-top: 14px;
}

.footer-legal p {
  font-size: 0.8rem;
  max-width: 900px;
}

@media (max-width: 920px) {
  .ops-grid,
  .limit-grid,
  .docs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .uc-grid,
  .shot-pair {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .compare,
  .ops-grid,
  .limit-grid,
  .docs-grid {
    grid-template-columns: 1fr;
  }
}

/* Tables become one card per row; each cell shows its column name from data-label. */
@media (max-width: 720px) {
  .data-table {
    font-size: 0.92rem;
  }

  .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
  }

  .data-table tr {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(154, 176, 194, 0.12);
  }

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

  .data-table td {
    padding: 0;
    border-bottom: none;
    overflow-wrap: anywhere;
  }

  .data-table td:first-child {
    font-weight: 600;
  }

  .data-table td + td {
    margin-top: 8px;
  }

  .data-table td + td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .data-table td.clause::before {
    display: inline;
    margin-right: 8px;
  }
}

/* Architecture */
.arch {
  display: grid;
  gap: 0;
  max-width: 860px;
}

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

.arch-layer {
  position: relative;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid var(--panel-border);
  background: rgba(17, 29, 39, 0.85);
}

.arch-layer strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.arch-layer > span:not(.arch-pkg) {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.arch-pkg {
  float: right;
  margin-left: 10px;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(83, 210, 255, 0.3);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
}

.arch-gui {
  border-color: rgba(141, 228, 201, 0.45);
  background: linear-gradient(135deg, rgba(83, 210, 255, 0.08), rgba(141, 228, 201, 0.06));
}

.arch-kernel {
  border-color: rgba(83, 210, 255, 0.45);
}

.arch-nic {
  background: rgba(4, 16, 24, 0.9);
  border-style: dashed;
}

.arch-arrow {
  position: relative;
  padding: 10px 0 10px 34px;
  color: var(--muted);
  font-size: 0.82rem;
}

.arch-arrow::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  border-left: 2px solid rgba(83, 210, 255, 0.45);
}

.build-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.build-list li {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--panel-border);
  background: rgba(17, 29, 39, 0.6);
  color: var(--muted);
}

.build-list strong {
  display: block;
  color: var(--text);
}

/* Interoperability matrix */
.badge.virt {
  color: var(--primary);
  background: rgba(83, 210, 255, 0.08);
  border: 1px solid rgba(83, 210, 255, 0.3);
}

.matrix td:first-child {
  min-width: 220px;
}

/* Performance */
.perf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.metric.perf strong {
  color: var(--primary);
}

.sub-heading {
  font-size: 1.4rem;
  margin-top: 8px;
}

.lead-p {
  max-width: 860px;
  margin-bottom: 20px;
}

.limits-table {
  margin-top: 32px;
  max-width: 760px;
}

@media (max-width: 920px) {
  .perf-grid,
  .build-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .perf-grid,
  .build-list,
  .arch-row {
    grid-template-columns: 1fr;
  }

  .arch-row {
    gap: 10px;
  }

  .matrix td:first-child {
    min-width: 0;
  }
}

/* Mura manifesto */
.mura-page {
  background:
    radial-gradient(circle at 16% 4%, rgba(83, 210, 255, 0.17), transparent 24rem),
    radial-gradient(circle at 85% 30%, rgba(141, 228, 201, 0.08), transparent 26rem),
    #07131c;
}

.mura-hero {
  overflow: hidden;
  padding: 112px 0 88px;
  border-bottom: 1px solid rgba(137, 167, 186, 0.15);
}

.mura-hero-inner {
  position: relative;
  max-width: 920px;
}

.mura-hero h1 {
  max-width: 860px;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  line-height: 0.98;
}

.mura-lead {
  margin-top: 28px;
  color: var(--primary);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
}

.mura-hero-tagline {
  margin-top: 12px;
  font-size: 1.05rem;
}

.mura-bricks {
  display: grid;
  grid-template-columns: 2fr 1fr 1.25fr 1.7fr 1fr;
  gap: 10px;
  width: min(680px, 100%);
  margin-top: 64px;
}

.mura-bricks span {
  height: 18px;
  border: 1px solid rgba(141, 228, 201, 0.35);
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(83, 210, 255, 0.32), rgba(141, 228, 201, 0.16));
}

.mura-bricks span:nth-child(even) {
  margin-top: 12px;
}

.mura-read-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 42px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mura-read-link span {
  color: var(--primary);
  font-size: 1.2rem;
}

.mura-article {
  padding: 92px 0 36px;
}

.mura-article-header {
  max-width: 820px;
  margin-bottom: 74px;
}

.mura-article-header h2 {
  font-size: clamp(2.7rem, 5vw, 4.9rem);
  line-height: 1;
}

.mura-intro {
  max-width: 700px;
  margin-top: 24px;
  font-size: 1.2rem;
}

.mura-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 720px);
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
}

.mura-index {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.mura-index > span {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mura-index a {
  padding-left: 12px;
  border-left: 1px solid rgba(173, 197, 216, 0.2);
}

.mura-index a:hover {
  border-left-color: var(--primary);
  color: var(--text);
}

.mura-prose {
  min-width: 0;
}

.mura-prose section + section {
  margin-top: 88px;
}

.mura-prose p {
  font-size: 1.08rem;
  line-height: 1.75;
}

.mura-prose p + p {
  margin-top: 12px;
}

.mura-prose strong {
  color: var(--text);
}

.mura-statement {
  margin-top: 38px;
  padding: 30px 0 30px 28px;
  border-left: 3px solid var(--primary);
}

.mura-statement p {
  margin-bottom: 12px;
}

.mura-statement strong {
  display: block;
  max-width: 640px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.manifesto-section {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid rgba(137, 167, 186, 0.18);
}

.mura-section-number {
  position: absolute;
  top: 34px;
  left: -62px;
  color: rgba(83, 210, 255, 0.62);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.manifesto-section h2 {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.mura-question-list {
  display: grid;
  gap: 10px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.mura-question-list li {
  padding: 16px 18px;
  border: 1px solid rgba(83, 210, 255, 0.18);
  border-radius: 12px;
  background: rgba(83, 210, 255, 0.035);
  color: var(--text);
}

.generation-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 30px 0;
}

.generation-flow span:nth-child(odd) {
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(141, 228, 201, 0.3);
  border-radius: 10px;
  background: rgba(141, 228, 201, 0.06);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

.generation-flow span:nth-child(even) {
  color: var(--primary);
}

.manifesto-section blockquote {
  margin: 34px 0;
  padding: 28px 30px;
  border: 1px solid rgba(83, 210, 255, 0.25);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(83, 210, 255, 0.08), rgba(141, 228, 201, 0.04));
  color: var(--text);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.25;
}

.trust-domains {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
}

.trust-domains span {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: rgba(17, 29, 39, 0.75);
  color: var(--muted);
  font-size: 0.88rem;
}

.mura-closing strong {
  font-size: 1.2rem;
}

.mura-principles {
  margin-top: 100px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(83, 210, 255, 0.3);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(83, 210, 255, 0.11), rgba(141, 228, 201, 0.04)),
    rgba(10, 22, 31, 0.92);
}

.mura-principles ul {
  display: grid;
  gap: 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.mura-principles li {
  padding-left: 28px;
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.45;
}

.mura-principles li::before {
  content: "■";
  float: left;
  margin-left: -28px;
  color: var(--primary);
  font-size: 0.72rem;
  line-height: 2.2;
}

.mura-signoff {
  margin-top: 100px;
  padding-top: 42px;
  border-top: 1px solid rgba(137, 167, 186, 0.18);
  text-align: center;
}

.mura-signoff h2 {
  margin: 0 0 14px;
  font-size: clamp(3rem, 8vw, 6rem);
}

.mura-signoff p {
  font-size: 1.25rem;
}

.mura-signoff em {
  display: block;
  margin-top: 18px;
  color: var(--primary);
}

@media (max-width: 920px) {
  .mura-layout {
    grid-template-columns: 1fr;
  }

  .mura-index {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .mura-index > span {
    width: 100%;
  }

  .mura-index a {
    padding: 0.45rem 0.8rem;
    border: 1px solid var(--panel-border);
    border-radius: 999px;
  }

  .mura-section-number {
    left: auto;
    right: 0;
  }
}

@media (max-width: 640px) {
  .mura-hero {
    padding: 76px 0 64px;
  }

  .mura-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .mura-bricks {
    margin-top: 44px;
  }

  .mura-article {
    padding-top: 64px;
  }

  .mura-article-header {
    margin-bottom: 50px;
  }

  .mura-prose section + section {
    margin-top: 64px;
  }

  .mura-statement {
    padding-left: 20px;
  }

  .manifesto-section blockquote {
    padding: 22px;
  }

  .generation-flow {
    align-items: stretch;
  }

  .generation-flow span:nth-child(odd) {
    flex: 1 1 120px;
    text-align: center;
  }
}

