@charset "UTF-8";
/* ── Landing Base / CSS Custom Properties ──────────────────── */
:root {
  --bg: #0f1117;
  --surface: #161b22;
  --surface-2: #1c2128;
  --border: #21262d;
  --cyan: #00D2FF;
  --purple: #7c3aed;
  --text: #e6edf3;
  --muted: #8b949e;
  --code-bg: #010409;
  --green: #3fb950;
  --red: #f85149;
  --yellow: #d29922;
  scroll-behavior: smooth;
}

/* ── Base ──────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

/* ── Selection ─────────────────────────────────────────────── */
::selection {
  background: rgba(0, 210, 255, 0.2);
  color: var(--text);
}

/* ── Horizontal Rule ───────────────────────────────────────── */
hr {
  border: none;
  border-top: 1px solid var(--border);
  opacity: 1;
}

/* ── Code Inline ───────────────────────────────────────────── */
code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85em;
  color: var(--cyan);
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.15);
  border-radius: 3px;
  padding: 0.1em 0.4em;
}

/* ── Section Common ────────────────────────────────────────── */
.section {
  padding: 96px 0;
}

.section-alt {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

.section-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.875rem;
  display: block;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 520px;
}

/* ── Text / Mono Utilities ─────────────────────────────────── */
.text-cyan {
  color: var(--cyan) !important;
}

.text-muted {
  color: var(--muted) !important;
}

.text-green {
  color: var(--green) !important;
}

.text-purple {
  color: #a78bfa !important;
}

.mono {
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.875em;
}

.border-top-subtle {
  border-top: 1px solid var(--border);
}

.border-bottom-subtle {
  border-bottom: 1px solid var(--border);
}

/* ── Navbar ─────────────────────────────────────────────────── */
.lm-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
  background: rgba(15, 17, 23, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
  padding: 0;
}

.lm-nav .container {
  height: 100%;
  display: flex;
  align-items: center;
}

.lm-nav.scrolled {
  background: rgba(15, 17, 23, 0.96);
  border-bottom-color: var(--border);
}

.navbar-expand-lg .navbar-collapse {
  align-items: center;
}

/* ── Wordmark ──────────────────────────────────────────────── */
.wordmark {
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.04em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 0;
}

.wordmark span {
  color: var(--cyan);
  font-weight: 400;
  opacity: 0.9;
}

.wordmark:hover {
  color: var(--text);
  text-decoration: none;
}

/* ── Nav Links ─────────────────────────────────────────────── */
.lm-nav .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted) !important;
  padding: 0.375rem 0.875rem !important;
  transition: color 0.15s ease;
  letter-spacing: 0.01em;
  border-radius: 4px;
}

.lm-nav .nav-link:hover {
  color: var(--text) !important;
  background: transparent;
}

/* ── Status Badge ──────────────────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  transition: border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.status-badge:hover {
  border-color: var(--green);
  color: var(--green);
  text-decoration: none;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(63, 185, 80, 0.6);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(63, 185, 80, 0);
  }
}
/* ── Navbar Toggler ────────────────────────────────────────── */
.navbar-toggler {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.375rem 0.625rem;
  background: transparent;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%238b949e' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .lm-nav .navbar-collapse {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1rem;
    margin-top: 0.5rem;
  }
  .lm-nav .navbar-nav {
    align-items: flex-start !important;
    gap: 0.25rem;
  }
  .lm-nav .nav-link {
    padding: 0.5rem 0.75rem !important;
    width: 100%;
  }
  .status-badge {
    width: fit-content;
  }
}
/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  background-color: var(--bg);
  background-image: radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.06) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(0, 210, 255, 0.05) 0%, transparent 40%), radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 28px 28px;
  background-position: 0 0, 0 0, 0 0;
}

.hero::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* ── Hero Announcement Pill ────────────────────────────────── */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--cyan);
  background: rgba(0, 210, 255, 0.07);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 4px;
  padding: 0.375rem 0.875rem;
  margin-bottom: 1.75rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  font-family: "JetBrains Mono", monospace;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.hero-pill:hover {
  border-color: rgba(0, 210, 255, 0.4);
  background: rgba(0, 210, 255, 0.1);
  color: var(--cyan);
  text-decoration: none;
}

.hero-pill-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  background: var(--cyan);
  color: var(--bg);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Hero Heading ──────────────────────────────────────────── */
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  color: var(--cyan);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--muted);
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* ── Stats Bar ─────────────────────────────────────────────── */
.stats-bar {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.stat-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .hero {
    padding: 100px 0 60px;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .stats-bar {
    justify-content: center;
    gap: 1.5rem;
  }
  .section-lead {
    max-width: 100%;
  }
}
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .stats-bar {
    gap: 1.25rem;
  }
  .stat-value {
    font-size: 1.25rem;
  }
}
/* ── Capability Cards ───────────────────────────────────────── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.cap-card {
  background: var(--surface);
  padding: 2rem;
  transition: background 0.2s ease;
  position: relative;
}

.cap-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.2s ease;
  pointer-events: none;
}

.cap-card:hover {
  background: var(--surface-2);
}

.cap-card:hover::after {
  border-color: rgba(0, 210, 255, 0.25);
}

.cap-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
  background: var(--surface-2);
  flex-shrink: 0;
}

.cap-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.cap-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cap-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

/* ── Pipeline Steps ─────────────────────────────────────────── */
.pipeline-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pipeline-step {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

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

.pipeline-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.pipeline-step-content {
  flex: 1;
}

.pipeline-step-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.pipeline-step-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Feature Cards ──────────────────────────────────────────── */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.75rem;
  transition: border-color 0.2s ease, background 0.2s ease;
  height: 100%;
}

.feature-card:hover {
  border-color: rgba(0, 210, 255, 0.35);
  background: var(--surface-2);
  box-shadow: 0 0 0 1px rgba(0, 210, 255, 0.4);
}

.feature-icon {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Integration Cards ──────────────────────────────────────── */
.integration-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.integration-card:hover {
  border-color: rgba(0, 210, 255, 0.35);
  background: var(--surface-2);
  box-shadow: 0 0 0 1px rgba(0, 210, 255, 0.4);
  text-decoration: none;
}

.integration-logo {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.integration-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.integration-type {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
}

/* Responsive */
@media (max-width: 991.98px) {
  .cap-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 992px) {
  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575.98px) {
  .section {
    padding: 64px 0;
  }
  .section-alt {
    padding: 64px 0;
  }
  .cap-card {
    padding: 1.5rem;
  }
}
/* ── Terminal / Code Blocks ─────────────────────────────────── */
.terminal {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.terminal-dot.red {
  background: #ff5f57;
}

.terminal-dot.yellow {
  background: #febc2e;
}

.terminal-dot.green {
  background: #28c840;
}

.terminal-title {
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: 0.5rem;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.02em;
}

.terminal-body {
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
}

.terminal-body pre {
  margin: 0;
  padding: 0;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: var(--text);
  white-space: pre;
  tab-size: 2;
}

/* ── Syntax Highlight ──────────────────────────────────────── */
.syn-prompt {
  color: var(--green);
  user-select: none;
}

.syn-cmd {
  color: var(--cyan);
}

.syn-str {
  color: #a5d6ff;
}

.syn-key {
  color: #ff7b72;
}

.syn-val {
  color: #79c0ff;
}

.syn-comment {
  color: var(--muted);
  font-style: italic;
}

.syn-num {
  color: #f8c8ae;
}

.syn-flag {
  color: #d2a8ff;
}

.syn-url {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Lang Tabs ─────────────────────────────────────────────── */
.lang-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.lang-tabs::-webkit-scrollbar {
  display: none;
}

.lang-tab {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.625rem 1.125rem;
  border: none;
  background: transparent;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease;
  letter-spacing: 0.02em;
  margin-bottom: -1px;
}

.lang-tab:hover {
  color: var(--text);
}

.lang-tab.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* ── Format Badges ──────────────────────────────────────────── */
.fmt-badge {
  display: inline-flex;
  align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  border: 1px solid;
  line-height: 1.4;
}

.fmt-badge-cyan {
  color: var(--cyan);
  border-color: rgba(0, 210, 255, 0.3);
  background: rgba(0, 210, 255, 0.07);
}

.fmt-badge-purple {
  color: #a78bfa;
  border-color: rgba(124, 58, 237, 0.35);
  background: rgba(124, 58, 237, 0.08);
}

.fmt-badge-green {
  color: var(--green);
  border-color: rgba(63, 185, 80, 0.3);
  background: rgba(63, 185, 80, 0.07);
}

.fmt-badge-muted {
  color: var(--muted);
  border-color: var(--border);
  background: var(--surface);
}

/* Responsive */
@media (max-width: 575.98px) {
  .terminal-body {
    padding: 1rem;
  }
}
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

/* ── CTA Banner ─────────────────────────────────────────────── */
.cta-section {
  padding: 96px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0, 210, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.15), transparent 50%, rgba(124, 58, 237, 0.1));
  pointer-events: none;
  z-index: -1;
}

.cta-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1rem;
}

.cta-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Responsive */
@media (max-width: 991.98px) {
  .cta-box {
    padding: 3rem 1.5rem;
  }
}
/* ── Footer ─────────────────────────────────────────────────── */
.lm-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}

.footer-wordmark {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-wordmark span {
  color: var(--cyan);
  font-weight: 400;
}

.footer-description {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 280px;
}

.footer-heading {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  padding: 1.5rem 0;
  margin-top: 4rem;
  border-top-color: var(--border) !important;
}

.footer-bottom .text-muted {
  font-size: 0.8125rem;
  color: var(--muted) !important;
}

/* ── Landing Buttons ────────────────────────────────────────── */
.btn-cyan {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--cyan);
  border: 1px solid var(--cyan);
  border-radius: 4px;
  padding: 0.6rem 1.4rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-cyan:hover {
  background: #1ae0ff;
  border-color: #1ae0ff;
  color: var(--bg);
  box-shadow: 0 0 0 1px rgba(0, 210, 255, 0.4), 0 4px 12px rgba(0, 210, 255, 0.2);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-cyan:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.6rem 1.4rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: rgba(0, 210, 255, 0.4);
  background: rgba(0, 210, 255, 0.05);
  box-shadow: 0 0 0 1px rgba(0, 210, 255, 0.4);
  color: var(--text);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 575.98px) {
  .btn-cyan,
  .btn-ghost {
    padding: 0.55rem 1.1rem;
    font-size: 0.875rem;
  }
}
/* ── Lattice Utility Classes (from lattice-utils.css) ───────── */
/* Prefixed with `lattice-` to avoid collisions with Bootstrap/other. */
/* ── Brand Color Utilities ─────────────────────────────────── */
.lattice-color-lavender {
  color: var(--lavender);
}

.lattice-color-violet {
  color: var(--violet);
}

.lattice-color-primary {
  color: var(--primary);
}

.lattice-color-cyan {
  color: var(--cyan);
}

.lattice-color-indigo {
  color: var(--indigo);
}

.lattice-color-dark {
  color: var(--dark);
}

.lattice-color-off-white {
  color: var(--off-white);
}

/* ── Brand Background Utilities ────────────────────────────── */
.lattice-bg-indigo {
  background: var(--indigo);
  color: #fff;
}

.lattice-bg-violet {
  background: var(--violet);
  color: #fff;
}

.lattice-bg-cyan {
  background: var(--cyan);
  color: #fff;
}

.lattice-bg-primary {
  background: var(--primary);
  color: #fff;
}

/* ── Max-Width Constraints ─────────────────────────────────── */
.lattice-max-w-narrow {
  max-width: 560px;
}

.lattice-max-w-medium {
  max-width: 640px;
}

/* ── Section Label Variants ────────────────────────────────── */
.lattice-label-hero {
  margin-bottom: 1.25rem;
}

.lattice-label-cyan {
  color: var(--cyan);
  background: rgba(75, 183, 221, 0.12);
}

/* ── Code Block Variants ───────────────────────────────────── */
.lattice-code-tabbed {
  border-radius: 0 0 12px 12px;
}

.lattice-code-inset {
  background: rgba(0, 10, 35, 0.6);
  border-color: rgba(154, 143, 214, 0.15);
}

/* ── Tab / Language Toggle (hidden by default) ─────────────── */
.lattice-hidden {
  display: none;
}

/* ── Pricing Comparison Table ──────────────────────────────── */
.lattice-comparison-table {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.lattice-comparison-table table {
  font-size: 0.9rem;
}

.lattice-comparison-table thead {
  background: var(--light);
}

.lattice-comparison-table th.lattice-col-feature {
  min-width: 160px;
}

/* ── Integration Brand Icons ───────────────────────────────── */
.lattice-icon-wordpress {
  font-size: 2.5rem;
  color: #21759b;
}

.lattice-icon-drupal {
  font-size: 2.5rem;
  color: #0678BE;
}

/* Public marketing components. Shared colors and fonts live in _base.scss. */
:root {
  --radius: 12px;
  --muted: #a3afbf;
  --border: #2a3340;
}

body {
  margin: 0;
}

section[id], main[id] {
  scroll-margin-top: 90px;
}

a {
  text-underline-offset: 4px;
}

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1100;
  padding: 12px 18px;
  background: var(--cyan);
  color: var(--bg);
}

.skip-link:focus {
  top: 12px;
}

.lm-nav {
  height: 76px;
  background: rgba(15, 17, 23, 0.94);
}

.lm-nav .btn-ghost {
  padding: 0.55rem 1rem;
}

.lm-nav .status-badge {
  font-size: 0.75rem;
}

.lm-nav .navbar-toggler:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.btn-cyan, .btn-ghost {
  border-radius: 7px;
  min-height: 48px;
  justify-content: center;
  padding: 0.75rem 1.3rem;
  font-weight: 600;
}

.btn-cyan {
  background: #65dce7;
  border-color: #65dce7;
}

.btn-cyan:hover {
  background: #8de7ef;
  border-color: #8de7ef;
  box-shadow: none;
}

.btn-ghost:hover {
  box-shadow: none;
  background: var(--surface-2);
  border-color: var(--muted);
}

.marketing {
  --cyan: #65dce7;
}

.marketing h1, .marketing h2, .marketing h3, .marketing h4 {
  color: var(--text);
}

.marketing h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin: 0 0 1.5rem;
}

.marketing p {
  color: var(--muted);
}

.marketing-section {
  padding: 104px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1.65rem;
}

.brand-line {
  width: 24px;
  height: 1px;
  background: var(--cyan);
}

.marketing-hero {
  padding: 164px 0 96px;
  background: radial-gradient(ellipse at 85% 35%, rgba(24, 49, 54, 0.3333333333), transparent 55%);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(3.1rem, 5.3vw, 4.8rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.06em;
  margin: 0 0 28px;
}

.hero-copy h1 span {
  color: var(--cyan);
}

.hero-description {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 28px;
}

.marketing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.marketing-actions a {
  gap: 16px;
}

.hero-note {
  font-size: 0.78rem;
  margin: 16px 0 32px;
}

.hero-formats {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-formats span + span::before {
  content: "/";
  color: #657484;
  margin-right: 20px;
}

.media-workbench {
  min-width: 0;
  border: 1px solid #3c4d52;
  border-radius: var(--radius);
  background: #141c22;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transform: rotate(-1deg);
}

.workbench-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
}

.workbench-title {
  font-size: 0.8rem;
  font-weight: 500;
}

.mini-grid {
  color: var(--cyan);
  margin-right: 6px;
}

.sample-tag {
  font-size: 0.65rem;
  border: 1px solid #3c4d52;
  border-radius: 4px;
  padding: 3px 7px;
  color: var(--muted);
}

.comparison {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.comparison-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Let the image establish the height, including in browsers without aspect-ratio. */
.comparison-base {
  display: block;
}

.comparison-base > .comparison-image {
  display: block;
  position: relative;
  inset: auto;
  height: auto;
}

.comparison-original {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.comparison-handle {
  position: absolute;
  left: var(--split);
  top: 0;
  bottom: 0;
  border-left: 1px solid #fff;
  pointer-events: none;
}

.comparison-handle span {
  position: absolute;
  left: -20px;
  top: calc(50% - 20px);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #f1f4f0;
  color: #182320;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2666666667);
}

.comparison input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.comparison:focus-within {
  outline: 3px solid var(--cyan);
  outline-offset: -3px;
}

.image-label {
  position: absolute;
  top: 14px;
  background: rgba(12, 23, 30, 0.8784313725);
  color: #fff;
  padding: 5px 9px;
  border-radius: 4px;
  font-size: 0.65rem;
  pointer-events: none;
}

.original-label {
  left: 14px;
}

.optimized-label {
  right: 14px;
}

.workbench-result {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 20px 10px;
}

.result-label {
  display: block;
  font-size: 0.66rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.workbench-result strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.result-arrow {
  color: var(--muted);
}

.savings {
  margin-left: auto;
  text-align: right;
}

.savings strong {
  color: var(--cyan);
}

.savings span {
  font-size: 0.68rem;
  color: var(--muted);
}

.sample-caption {
  margin: 0;
  padding: 10px 20px 20px;
  font-size: 0.65rem;
  line-height: 1.7;
}

.workflow-strip {
  border-block: 1px solid var(--border);
  background: #13181e;
}

.workflow-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  padding-bottom: 26px;
  font-size: 0.82rem;
}

.workflow-intro {
  color: var(--muted);
}

.workflow-strip div > span:not(.workflow-intro) {
  font-family: "JetBrains Mono", monospace;
  color: #8b9cab;
  margin-right: 10px;
  font-size: 0.7rem;
}

.flow-arrow {
  color: #63707d;
}

.section-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.section-intro h2 {
  margin: 0;
}

.section-intro > p {
  max-width: 350px;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 3px;
}

.capability-list {
  border-top: 1px solid var(--border);
}

.capability-row {
  display: grid;
  grid-template-columns: 35px 52px 1fr 1.1fr;
  gap: 24px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.capability-number {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: #8b9cab;
}

.capability-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #c1d6dd;
  background: var(--surface);
}

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

.capability-name h2 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 8px;
}

.capability-name span {
  color: var(--muted);
  font-size: 0.7rem;
}

.capability-detail h3 {
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.capability-detail p {
  font-size: 0.85rem;
  line-height: 1.8;
  margin: 0;
}

.developer-section {
  background: #13181e;
  border-block: 1px solid var(--border);
}

.developer-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 80px;
  align-items: start;
}

.section-description {
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 360px;
  margin-bottom: 24px;
}

.text-link {
  color: var(--text);
  font-size: 0.85rem;
  text-decoration-color: #647481;
}

.text-link:hover {
  color: var(--cyan);
}

.developer-benefits {
  margin: 40px 0 0;
}

.developer-benefits > div {
  margin-top: 22px;
  padding-left: 18px;
  border-left: 1px solid #41515e;
}

.developer-benefits dt {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 5px;
}

.developer-benefits dd {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.code-example {
  min-width: 0;
  background: #0c1016;
  border: 1px solid #33414e;
  border-radius: var(--radius);
  overflow: hidden;
}

.code-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 8px 12px 0;
  gap: 2px;
  background: #1a222b;
}

.code-tabs button {
  padding: 14px 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
}

.code-tabs button[aria-selected=true] {
  border-color: var(--cyan);
  color: var(--text);
}

.code-tabs .copy-code {
  margin-left: auto;
  font-family: inherit;
}

.code-panel {
  padding: 28px 24px;
  min-height: 330px;
}

.code-panel pre {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  line-height: 2;
  color: #d6e5ee;
  margin: 0;
  overflow-x: auto;
}

.code-panel code {
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
}

.code-panel[hidden] {
  display: none;
}

.code-response {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  font-size: 0.75rem;
  color: var(--muted);
}

.code-response .mono {
  margin-left: auto;
  font-size: 0.65rem;
}

.response-dot {
  width: 6px;
  height: 6px;
  background: #80c9a4;
  border-radius: 50%;
}

.copy-feedback {
  font-size: 0.75rem;
  margin: 0;
  padding: 0 24px;
}

.copy-feedback:not(:empty) {
  padding-bottom: 12px;
}

.integrations-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.integration-list {
  border-top: 1px solid var(--border);
}

.integration-list article {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.integration-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.25rem;
}

.integration-list h2 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.integration-list p {
  font-size: 0.8rem;
  margin: 0;
}

.integration-list a {
  font-size: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.integration-list a:hover {
  color: var(--cyan);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.marketing-faq {
  border-top: 1px solid var(--border);
}

.marketing-faq .faq-item {
  border-bottom: 1px solid var(--border);
}

.marketing-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  list-style: none;
  padding: 24px 0;
  font-size: 0.92rem;
  cursor: pointer;
}

.marketing-faq summary::-webkit-details-marker {
  display: none;
}

.marketing-faq summary::after {
  content: "+";
  color: var(--muted);
  font-size: 1.2rem;
}

.marketing-faq details[open] summary::after {
  content: "−";
}

.marketing-faq .faq-body {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.85;
  padding: 0 32px 24px 0;
}

.faq-body a {
  color: var(--text);
}

.final-cta {
  padding-top: 0;
}

.final-cta > .container {
  position: relative;
  border-radius: 16px;
  background: #1a2c2d;
  padding: 64px;
  overflow: hidden;
}

.final-cta h2 {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
}

.final-cta h2 span {
  color: var(--cyan);
}

.final-cta-content {
  position: relative;
  z-index: 1;
}

.final-cta .eyebrow {
  font-size: 0.6rem;
}

.final-cta p {
  margin-bottom: 28px;
}

.cta-lattice {
  position: absolute;
  right: 6%;
  top: -30px;
  font-size: 380px;
  line-height: 1.4;
  color: rgba(138, 182, 181, 0.062745098);
  transform: rotate(-12deg);
  pointer-events: none;
}

.lm-footer {
  background: var(--bg);
}

.footer-heading {
  color: #c1cbd4;
}

.footer-wordmark {
  font-size: 1rem;
}

.footer-links a, .footer-description {
  font-size: 0.8rem;
}

.footer-bottom {
  margin-top: 48px;
}

.legal-content p, .legal-content li {
  color: var(--muted) !important;
}

.legal-content {
  max-width: 760px !important;
}

.legal-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.04em;
}

.legal-content h2 {
  margin-top: 2.5rem !important;
}

.legal-content a {
  color: #b0e8ee;
}

@media (max-width: 1199.98px) {
  .hero-layout {
    gap: 32px;
  }
  .hero-copy h1 {
    font-size: 3.7rem;
  }
  .marketing-actions a {
    gap: 8px;
    font-size: 0.8rem;
    padding-inline: 1rem;
  }
  .developer-layout, .integrations-layout, .faq-layout {
    gap: 40px;
  }
  .lm-nav .nav-link {
    padding-inline: 0.5rem !important;
  }
}
@media (max-width: 991.98px) {
  .lm-nav .container {
    position: relative;
  }
  .lm-nav .navbar-collapse {
    position: absolute;
    top: 62px;
    left: 12px;
    right: 12px;
    margin: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5333333333);
  }
  .lm-nav .navbar-collapse .nav-item {
    width: 100%;
  }
  .lm-nav .navbar-collapse .btn-ghost {
    display: flex;
  }
  .lm-nav .navbar-collapse .status-badge {
    margin: 8px 12px;
  }
  .marketing-hero {
    padding: 132px 0 64px;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-copy {
    max-width: 620px;
  }
  .hero-copy h1 {
    font-size: clamp(3.4rem, 8vw, 4.5rem);
  }
  .hero-description {
    max-width: 520px;
  }
  .media-workbench {
    max-width: 620px;
    width: 100%;
    justify-self: center;
    transform: none;
  }
  .marketing-section {
    padding: 72px 0;
  }
  .workflow-strip .container {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .workflow-intro {
    width: 100%;
  }
  .section-intro {
    align-items: flex-start;
  }
  .capability-row {
    grid-template-columns: 24px 42px 1fr 1.1fr;
    gap: 16px;
  }
  .capability-icon {
    width: 40px;
    height: 40px;
  }
  .developer-layout, .integrations-layout, .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .developer-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .section-description {
    max-width: 560px;
  }
  .final-cta {
    padding-top: 0;
  }
  .final-cta > .container {
    padding: 48px;
  }
  .cta-lattice {
    right: -60px;
  }
}
@media (max-width: 575.98px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .lm-nav .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .marketing-hero {
    padding: 120px 0 48px;
  }
  .hero-layout {
    gap: 36px;
  }
  .hero-copy h1 {
    font-size: clamp(3rem, 12vw, 3.8rem);
  }
  .eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
  }
  .hero-description {
    font-size: 0.95rem;
  }
  .marketing-actions {
    gap: 10px;
  }
  .hero-note {
    font-size: 0.72rem;
  }
  .hero-formats {
    gap: 12px;
    font-size: 0.72rem;
  }
  .hero-formats span + span::before {
    margin-right: 12px;
  }
  .workbench-top {
    padding: 14px 12px;
  }
  .workbench-title {
    font-size: 0.7rem;
  }
  .sample-tag {
    font-size: 0.55rem;
  }
  .image-label {
    font-size: 0.55rem;
    padding: 4px 6px;
  }
  .workbench-result {
    padding: 18px 12px 8px;
    gap: 12px;
  }
  .workbench-result strong {
    font-size: 1rem;
  }
  .result-label {
    font-size: 0.55rem;
  }
  .savings span {
    font-size: 0.55rem;
  }
  .sample-caption {
    padding: 8px 12px 16px;
    font-size: 0.58rem;
  }
  .workflow-strip .container {
    gap: 12px;
    font-size: 0.68rem;
  }
  .workflow-strip div > span:not(.workflow-intro) {
    font-size: 0.55rem;
    margin-right: 4px;
  }
  .flow-arrow {
    display: none;
  }
  .workflow-intro {
    font-size: 0.8rem;
  }
  .marketing-section {
    padding: 56px 0;
  }
  .marketing h2 {
    font-size: 2.15rem;
  }
  .section-intro {
    display: block;
    margin-bottom: 28px;
  }
  .section-intro > p {
    margin-top: 20px;
    font-size: 0.88rem;
  }
  .capability-row {
    grid-template-columns: 42px 1fr;
    gap: 16px;
    padding: 26px 0;
  }
  .capability-number {
    display: none;
  }
  .capability-detail {
    grid-column: 2;
  }
  .capability-name h2 {
    font-size: 1rem;
  }
  .capability-name span {
    font-size: 0.62rem;
  }
  .capability-detail h3 {
    font-size: 0.8rem;
  }
  .capability-detail p {
    font-size: 0.8rem;
  }
  .developer-benefits {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 28px;
  }
  .developer-benefits > div {
    margin-top: 16px;
  }
  .code-tabs {
    padding-inline: 6px;
  }
  .code-tabs button {
    padding: 13px 10px;
    font-size: 0.65rem;
  }
  .code-panel {
    padding: 22px 16px;
    min-height: 280px;
  }
  .code-panel pre {
    font-size: 0.65rem;
  }
  .code-response {
    padding: 16px;
    font-size: 0.68rem;
  }
  .code-response .mono {
    margin-left: 0;
    width: 100%;
  }
  .integration-list article {
    grid-template-columns: 34px 1fr;
    gap: 14px;
  }
  .integration-mark {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .integration-list article a {
    grid-column: 2;
  }
  .marketing-faq summary {
    font-size: 0.86rem;
  }
  .final-cta {
    padding: 0 16px 56px;
  }
  .final-cta > .container {
    padding: 36px 24px;
  }
  .final-cta .eyebrow {
    max-width: 230px;
    line-height: 1.8;
  }
  .final-cta h2 {
    font-size: 2.4rem;
  }
  .cta-lattice {
    right: -150px;
    top: 0;
  }
  .lm-footer {
    padding-top: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html, :root {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
.demo-container, .status-container {
  margin-top: 132px !important;
}

.demo-container > .text-center {
  margin-bottom: 36px !important;
}

.demo-container h1 {
  font-size: clamp(2rem, 5vw, 2.8rem) !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 12px !important;
}

.status-container h1 {
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

@media (max-width: 575.98px) {
  .demo-container, .status-container {
    margin-top: 112px !important;
  }
}
/* Compact homepage and focused secondary pages. */
.lm-nav .nav-link[aria-current=page] {
  color: var(--text) !important;
  background: var(--surface-2);
}

.footer-links a[aria-current=page] {
  color: var(--text);
}

.marketing .page-title {
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.05em;
  margin: 0 0 24px;
}

.marketing-subpage .page-opening {
  padding-top: 152px;
}

.marketing-subpage .section-intro {
  align-items: center;
}

.marketing-subpage .section-intro .page-title {
  margin-bottom: 0;
}

.marketing-subpage .developer-section {
  border-top: 0;
}

.marketing-subpage .marketing-faq {
  align-self: start;
}

.explore-section {
  padding-bottom: 72px;
}

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

.explore-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  min-height: 250px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.explore-card:hover {
  background: var(--surface-2);
  border-color: #657d89;
  color: var(--text);
}

.explore-number {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 32px;
}

.explore-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.explore-card p {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.explore-link {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  margin-top: auto;
}

.explore-link > span {
  color: var(--cyan);
}

.explore-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.explore-help p {
  font-size: 0.85rem;
  margin: 0;
}

.page-next {
  padding: 0 0 72px;
}

.page-next-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.page-next .eyebrow {
  font-size: 0.6rem;
  margin-bottom: 16px;
}

.page-next h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.page-next p {
  font-size: 0.85rem;
  line-height: 1.8;
  margin: 0;
  max-width: 480px;
}

.page-next .marketing-actions {
  flex-shrink: 0;
}

.marketing-subpage .developer-section + .page-next {
  padding-top: 56px;
}

.code-toolbar {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
  background: #1a222b;
}

.code-toolbar .code-tabs {
  flex: 1;
  border: 0;
  background: transparent;
}

.code-toolbar .copy-code {
  padding: 12px 18px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
}

.code-toolbar .copy-code:hover {
  color: var(--text);
}

@media (max-width: 991.98px) {
  .marketing-subpage .page-opening {
    padding-top: 124px;
  }
  .explore-grid {
    gap: 16px;
  }
  .explore-card {
    padding: 24px;
  }
  .page-next-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 767.98px) {
  .explore-grid {
    grid-template-columns: 1fr;
  }
  .explore-card {
    min-height: 0;
  }
  .explore-number {
    margin-bottom: 20px;
  }
  .explore-card p {
    max-width: 450px;
    margin-bottom: 20px;
  }
}
@media (max-width: 575.98px) {
  .marketing-subpage .page-opening {
    padding-top: 116px;
  }
  .marketing .page-title {
    font-size: 2.6rem;
  }
  .explore-section {
    padding-bottom: 48px;
  }
  .explore-help {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .page-next {
    padding-bottom: 48px;
  }
  .page-next-inner {
    padding: 26px;
  }
  .page-next h2 {
    font-size: 1.5rem;
  }
  .page-next .marketing-actions {
    flex-direction: column;
    width: 100%;
  }
}
/* Public content and interaction cleanup. */
.sample-icon {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  margin-right: 6px;
  vertical-align: middle;
}

.workbench-title {
  display: flex;
  align-items: center;
}

.feature-note p {
  max-width: 850px;
  font-size: 0.85rem;
  line-height: 1.8;
  margin: 28px 0 0;
}

.feature-note a, .quickstart-steps a {
  color: var(--text);
}

.quickstart-steps {
  padding-left: 22px;
  margin: 32px 0 0;
}

.quickstart-steps li {
  padding-left: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.85rem;
}

.quickstart-steps strong {
  color: var(--text);
  font-weight: 500;
}

.quickstart-steps p {
  font-size: 0.8rem;
  line-height: 1.8;
  margin: 8px 0 0;
}

.quickstart-steps pre {
  overflow-x: auto;
  margin-top: 10px;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.7rem;
}

.quickstart-steps pre code {
  background: none;
  border: 0;
  padding: 0;
  color: var(--text);
}

.code-panel {
  min-height: 0;
}

.example-response {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.example-response-label {
  font-size: 0.7rem;
  color: var(--muted);
}

.example-response pre {
  margin: 12px 0;
  overflow-x: auto;
}

.example-response code {
  background: none;
  border: 0;
  padding: 0;
  color: var(--text);
  font-size: 0.72rem;
  line-height: 1.8;
}

.example-response p {
  font-size: 0.7rem;
  margin: 0;
}

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

.installation-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 32px;
}

.installation-card h2 {
  font-size: 1.6rem;
}

.installation-card p, .installation-card li {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.85;
}

.installation-card .requirements {
  padding: 14px;
  background: var(--bg);
  border-radius: 6px;
  font-size: 0.75rem;
}

.installation-card ol {
  padding-left: 22px;
  margin: 8px 0 24px;
}

.installation-card li {
  padding-left: 6px;
  margin-bottom: 12px;
}

.installation-card .btn-cyan {
  align-self: flex-start;
  margin-top: auto;
}

.delivery-section {
  padding-top: 0;
}

.delivery-guide ol {
  padding-left: 22px;
  margin: 0 0 24px;
}

.delivery-guide li {
  padding-left: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.85rem;
}

.delivery-guide strong {
  color: var(--text);
  font-weight: 500;
}

.delivery-guide p {
  font-size: 0.85rem;
  line-height: 1.8;
  margin: 8px 0 0;
}

.access-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.access-options article {
  border-top: 1px solid var(--border);
  padding: 26px 0;
}

.access-options h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.access-options p {
  font-size: 0.85rem;
  line-height: 1.8;
}

.contact-address {
  font-size: 0.85rem;
  margin-top: 16px;
}

.demo-process {
  width: 100%;
  margin-top: 16px;
}

.btn-cyan:disabled, .btn-ghost:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.selected-image {
  font-size: 0.8rem;
  line-height: 1.8;
  margin: 16px 0 0;
  overflow-wrap: anywhere;
}

.upload-area .btn-ghost {
  margin-bottom: 16px;
}

#result-area .size-increase {
  color: var(--yellow);
}

.legal-content {
  padding: 140px 24px 72px;
  margin: 0 auto;
}

.legal-content h1 {
  font-weight: 600;
  margin-bottom: 12px;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.legal-content p, .legal-content li {
  font-size: 0.95rem;
  line-height: 1.9;
}

.legal-content .updated {
  font-size: 0.8rem;
  margin-bottom: 32px;
}

.status-explanation {
  padding: 16px 20px;
  font-size: 0.78rem;
  line-height: 1.8;
}

.status-card-header {
  flex-wrap: wrap;
}

.request-health-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--text);
}

.status-page .status-card .stat-value {
  font-size: clamp(1rem, 2vw, 1.5rem);
}

@media (max-width: 991.98px) {
  .access-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
@media (max-width: 767.98px) {
  .installation-grid {
    grid-template-columns: 1fr;
  }
  .installation-card {
    padding: 26px;
  }
}
@media (max-width: 575.98px) {
  .lm-footer .row {
    --bs-gutter-y: 1.75rem;
  }
  .footer-heading {
    margin-bottom: 16px;
  }
  .footer-bottom {
    margin-top: 28px;
  }
  .installation-card .btn-cyan {
    width: 100%;
    font-size: 0.8rem;
    padding-inline: 12px;
    white-space: normal;
  }
  .example-response {
    padding-inline: 16px;
  }
  .status-explanation {
    padding-inline: 12px;
  }
  .legal-content {
    padding-top: 116px;
  }
}
/* Small media-workflow visuals extend the existing card system. */
.explore-card .explore-number {
  margin-bottom: 18px;
}

.explore-preview {
  position: relative;
  min-height: 104px;
  margin: 0 0 24px;
  padding: 20px 16px;
  border: 1px solid #2d3c47;
  border-radius: 8px;
  background: #10171e;
  overflow: hidden;
}

.preview-formats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.preview-file {
  display: grid;
  place-items: center;
  width: 46px;
  height: 56px;
  border: 1px solid #536571;
  border-radius: 4px 10px 4px 4px;
  color: #c2cdd5;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  transform: rotate(-7deg);
  background: #1d2933;
}

.preview-file.accent-file {
  color: #a7eef0;
  background: #234047;
  border-color: #5d939a;
  transform: rotate(0);
}

.preview-file.subtle-file {
  border-color: #3d535d;
  transform: rotate(7deg);
}

.preview-arrow {
  color: var(--muted);
}

.preview-corner {
  position: absolute;
  top: 8px;
  right: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.5rem;
  color: #728896;
}

.preview-request {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  font-family: "JetBrains Mono", monospace;
}

.preview-request > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.61rem;
  color: #c2d3dc;
}

.request-method {
  padding: 3px 5px;
  background: #244049;
  border-radius: 3px;
  color: #a7eef0;
  font-size: 0.53rem;
}

.request-detail {
  color: #8da2af;
  font-size: 0.58rem;
  padding-left: 3px;
}

.preview-connections {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.connection-node, .connection-core {
  padding: 9px 8px;
  border: 1px solid #425764;
  border-radius: 5px;
  font-size: 0.58rem;
  color: #c6d4dd;
  background: #19242d;
}

.connection-core {
  border-color: #6b989d;
  background: #213b40;
  color: #b4f2f2;
}

.connection-line {
  width: 18px;
  height: 1px;
  background: #53717d;
}

.feature-visual-intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 64px;
  margin-bottom: 56px;
}

.feature-visual-intro .page-title {
  margin-bottom: 24px;
}

.feature-visual-intro .section-description {
  max-width: 440px;
}

.feature-art {
  margin: 0;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #0f1117;
}

.feature-art img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-art figcaption {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  font-size: 0.7rem;
  color: var(--muted);
}

@media (max-width: 991.98px) {
  .feature-visual-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }
  .feature-art {
    max-width: 680px;
    width: 100%;
  }
  .preview-formats {
    gap: 8px;
  }
  .connection-line {
    width: 10px;
  }
  .connection-node, .connection-core {
    padding-inline: 6px;
  }
}
@media (max-width: 575.98px) {
  .explore-preview {
    min-height: 104px;
  }
  .feature-art figcaption {
    padding-inline: 16px;
    font-size: 0.65rem;
  }
}
.demo-container {
  max-width: 920px;
  margin: 100px auto 60px;
  padding: 0 1.5rem;
}

/* ── Options sidebar card ── */
.options-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.options-card-header {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 1rem;
}

.options-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.options-card-body {
  padding: 1rem;
}

.option-group {
  margin-bottom: 1.25rem;
}

.option-group:last-child {
  margin-bottom: 0;
}

.option-group-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
  display: block;
}

/* Dark form-check */
.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.form-check:last-child {
  margin-bottom: 0;
}

.form-check-input {
  width: 14px;
  height: 14px;
  accent-color: var(--cyan);
  flex-shrink: 0;
  cursor: pointer;
}

.form-check-label {
  font-size: 0.875rem;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  transition: color 0.12s;
}

.form-check-input:checked + .form-check-label {
  color: var(--text);
}

/* Dark select */
.form-select-dark {
  display: block;
  width: 100%;
  padding: 0.45rem 2rem 0.45rem 0.7rem;
  font-size: 0.875rem;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b949e' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 0.7rem center;
  background-size: 10px;
  border: 1px solid var(--border);
  border-radius: 5px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.form-select-dark:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.1);
}

.form-select-dark option {
  background: var(--surface-2);
  color: var(--text);
}

/* ── Upload area ── */
.upload-area {
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: 6px;
  padding: 3rem 2rem;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
  position: relative;
}

.upload-area:hover,
.upload-area.dragover {
  border-color: rgba(0, 210, 255, 0.4);
  background: rgba(0, 210, 255, 0.03);
}

.upload-icon {
  font-size: 2rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  display: block;
  transition: color 0.15s;
}

.upload-area:hover .upload-icon,
.upload-area.dragover .upload-icon {
  color: var(--cyan);
}

#file-input {
  display: none;
}

.upload-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.upload-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

/* ── Loader ── */
.loader {
  display: none;
  margin-top: 1.25rem;
  text-align: center;
}

.spinner-border {
  color: var(--cyan) !important;
  width: 1.5rem;
  height: 1.5rem;
  border-width: 2px;
}

/* ── Error alert ── */
.alert-ds {
  display: none;
  margin-top: 1rem;
  padding: 0.65rem 1rem;
  background: rgba(248, 81, 73, 0.1);
  border: 1px solid rgba(248, 81, 73, 0.25);
  border-radius: 5px;
  font-size: 0.875rem;
  color: var(--red);
}

/* ── Result area ── */
#result-area {
  display: none;
  margin-top: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.result-header {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.result-body {
  padding: 1rem;
}

/* Comparison stats */
.comparison-stats {
  display: flex;
  gap: 0;
  margin-bottom: 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0.75rem;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.2rem;
}

.stat-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.stat-reduction {
  color: var(--green);
}

/* URL copy row */
.copy-wrap {
  display: flex;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.copy-value {
  flex: 1;
  padding: 0.45rem 0.75rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-copy {
  border-radius: 0;
  border: none;
  border-left: 1px solid var(--border);
  flex-shrink: 0;
  font-size: 0.78rem;
  padding: 0.4rem 0.75rem;
  background: var(--surface-2);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
}

.btn-copy:hover {
  background: var(--border);
  color: var(--text);
}

/* Preview image */
.result-img {
  max-width: 100%;
  border-radius: 4px;
  display: block;
}

.result-preview-bg {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.75rem;
  text-align: center;
}

/* Portal-style btn (inline since portal.css not loaded) */
.btn-ds {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.875rem;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  text-decoration: none;
}

.btn-ds-primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #0f1117;
}

.btn-ds-primary:hover {
  background: #33daff;
  border-color: #33daff;
  color: #0f1117;
  text-decoration: none;
}

.btn-ds-secondary {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text);
}

.btn-ds-secondary:hover {
  background: #252d38;
  color: var(--text);
  text-decoration: none;
}

/* Note strip */
.demo-note {
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.status-container {
  max-width: 720px;
  margin: 100px auto 60px;
  padding: 0 1.5rem;
}

/* ── Cards — match portal .card / .card-header ── */
.status-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.status-card-header {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.status-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

/* ── Overall status pill ── */
.overall-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.overall-badge.healthy {
  background: rgba(63, 185, 80, 0.1);
  border: 1px solid rgba(63, 185, 80, 0.25);
  color: var(--green);
}

.overall-badge.degraded {
  background: rgba(210, 153, 34, 0.1);
  border: 1px solid rgba(210, 153, 34, 0.25);
  color: var(--yellow);
}

.overall-badge.unhealthy {
  background: rgba(248, 81, 73, 0.1);
  border: 1px solid rgba(248, 81, 73, 0.25);
  color: var(--red);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.healthy .badge-dot {
  background: var(--green);
  animation: pulse-green 2s ease-in-out infinite;
}

.degraded .badge-dot {
  background: var(--yellow);
}

.unhealthy .badge-dot {
  background: var(--red);
}

@keyframes pulse-green {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(63, 185, 80, 0.6);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(63, 185, 80, 0);
  }
}
/* ── Component rows ── */
.component-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}

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

.component-row:hover {
  background: var(--surface-2);
}

.comp-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.comp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.comp-dot.healthy {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(63, 185, 80, 0.15);
}

.comp-dot.degraded {
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(210, 153, 34, 0.15);
}

.comp-dot.unhealthy {
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(248, 81, 73, 0.15);
}

.comp-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.comp-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.comp-latency {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Status badges — match portal .badge pattern */
.comp-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.comp-badge.healthy {
  background: rgba(63, 185, 80, 0.1);
  color: var(--green);
}

.comp-badge.degraded {
  background: rgba(210, 153, 34, 0.1);
  color: var(--yellow);
}

.comp-badge.unhealthy {
  background: rgba(248, 81, 73, 0.1);
  color: var(--red);
}

/* ── Stats grid ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-cell {
  padding: 1.25rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-cell:last-child {
  border-right: none;
}

.stat-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ── Uptime bar ── */
.uptime-wrap {
  padding: 1.25rem;
}

.uptime-bar {
  display: flex;
  gap: 2px;
  height: 32px;
}

.uptime-day {
  flex: 1;
  border-radius: 3px;
  cursor: default;
  position: relative;
  transition: opacity 0.12s, transform 0.12s;
}

.uptime-day:hover {
  opacity: 0.75;
  transform: scaleY(1.08);
  transform-origin: bottom;
}

.uptime-day.green {
  background: var(--green);
}

.uptime-day.yellow {
  background: var(--yellow);
}

.uptime-day.red {
  background: var(--red);
}

.uptime-day.grey {
  background: var(--border);
}

.uptime-day[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}

.uptime-legend {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.uptime-key {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.uptime-key-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.uptime-key-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.notfound-page .notfound-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 140px 1.5rem 96px;
  text-align: center;
}

.notfound-code {
  font-family: "JetBrains Mono", monospace;
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--cyan);
  margin: 0 0 1rem;
  user-select: none;
}

.notfound-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
}

.notfound-desc {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 2rem;
}

.notfound-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.notfound-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 2rem;
}

.notfound-link {
  color: var(--muted);
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: 5px;
}

.notfound-link:hover {
  color: var(--text);
  background: var(--surface-2);
}

/* Public applications of the approved style guide. Keep the admin bundle separate. */
:root {
  --brand-blue: #2a8ade;
  --brand-cyan: #2bb8db;
  --brand-mint: #20d5b6;
  --radius: 12px;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-wordmark img {
  display: block;
  max-width: 100%;
  height: auto;
}

.lm-nav .brand-wordmark {
  flex-shrink: 0;
  margin-right: 1.25rem;
}

.lm-nav .brand-wordmark img {
  width: 184px;
}

.lm-nav .nav-access {
  min-height: 40px;
  font-size: 0.75rem;
  padding: 0.55rem 0.85rem;
}

.lm-footer .brand-wordmark {
  margin: -12px 0 12px -10px;
}

.lm-footer .brand-wordmark img {
  width: 220px;
}

.footer-family {
  max-width: 280px;
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 22px;
}

.footer-family a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--brand-cyan);
  padding-bottom: 2px;
}

.footer-family a:hover {
  color: var(--cyan);
}

/* Use the marketing scale consistently, including the utility pages. */
.marketing .eyebrow {
  color: var(--brand-cyan);
  letter-spacing: 0.12em;
}

.marketing .btn-cyan, .marketing .btn-ghost, .lm-nav .btn-cyan, .lm-nav .btn-ghost {
  border-radius: 7px;
}

.marketing :is(.media-workbench, .explore-card, .installation-card, .code-example, .options-card, .status-card) {
  border-radius: var(--radius);
}

.marketing .text-link {
  text-underline-offset: 5px;
}

.marketing .page-title {
  font-weight: 600;
}

.marketing .page-next-inner {
  border-color: var(--border);
}

.brand-inline-icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.capability-icon img {
  display: block;
}

.brand-workflow {
  border-top: 1px solid var(--border);
}

.brand-flow-art {
  margin: 40px 0 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.brand-flow-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
}

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

.brand-step {
  min-width: 0;
  padding: 12px 26px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.brand-step > img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 260px;
  margin: 0 auto 12px;
}

.brand-step .eyebrow {
  font-size: 0.57rem;
  margin-bottom: 14px;
  letter-spacing: 0.09em;
}

.brand-step h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 12px;
}

.brand-step p {
  font-size: 0.875rem;
  line-height: 1.8;
  margin: 0;
}

.brand-family {
  border-block: 1px solid var(--border);
  background: var(--surface);
  padding: 54px 0;
}

.brand-family-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.marketing .brand-family h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1.35;
  margin: 0;
}

.brand-family .eyebrow {
  margin-bottom: 16px;
  font-size: 0.6rem;
}

.brand-family h2 a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--brand-cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

.brand-family h2 a:hover {
  color: var(--cyan);
}

.brand-family-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 14px 20px;
  color: var(--text);
  font-size: 0.85rem;
}

.brand-family-link:hover {
  border-color: var(--brand-cyan);
  color: var(--cyan);
}

.brand-feature-art {
  background: radial-gradient(ellipse at center, rgba(24, 56, 59, 0.3333333333), var(--surface) 75%);
}

.brand-feature-art img {
  object-fit: contain;
  padding: 24px 30px 10px;
  max-height: 430px;
}

.brand-feature-art figcaption {
  text-align: center;
}

.brand-integration-map {
  display: grid;
  grid-template-columns: 1fr 64px 1fr 64px 1fr;
  align-items: center;
  margin-bottom: 48px;
}

.brand-integration-map > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.brand-integration-map img {
  display: block;
  margin-bottom: 16px;
  height: 36px;
  object-fit: contain;
}

.brand-integration-map span {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}

.brand-integration-map small {
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 6px;
}

.brand-integration-map .brand-map-core {
  border-color: rgba(43, 184, 219, 0.3960784314);
  background: linear-gradient(145deg, rgba(43, 184, 219, 0.0470588235), var(--surface));
}

.brand-integration-map .brand-map-arrow {
  text-align: center;
  font-size: 1.5rem;
  color: var(--brand-cyan);
  font-weight: 400;
}

.brand-access-art {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.brand-access-art img {
  display: block;
  width: 100%;
  max-height: 210px;
  object-fit: contain;
}

.demo-container, .status-container {
  margin-top: 136px;
}

.brand-tool-heading {
  margin-bottom: 36px;
  text-align: center;
}

.brand-tool-heading .eyebrow {
  justify-content: center;
  margin-bottom: 16px;
}

.marketing .brand-tool-heading h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
  line-height: 1.15;
}

.brand-tool-heading p {
  max-width: 540px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.8;
}

.marketing .upload-area {
  padding: 20px 28px 32px;
  border-radius: var(--radius);
}

.brand-upload-art {
  display: block;
  width: 190px;
  height: auto;
  margin: 0 auto 8px;
  pointer-events: none;
}

.brand-empty-art {
  display: block;
  width: min(340px, 100%);
  height: auto;
  margin: 0 auto 12px;
}

.notfound-wrap > .eyebrow {
  justify-content: center;
}

.marketing .notfound-title {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.legal-content {
  max-width: 800px;
}

.legal-content h1 {
  font-weight: 600;
  letter-spacing: -0.045em;
}

.legal-content > h2 {
  padding-top: 14px;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .lm-nav .brand-wordmark img {
    width: 150px;
  }
  .lm-nav .brand-wordmark {
    margin-right: 0.5rem;
  }
  .lm-nav .status-badge {
    font-size: 0.65rem;
    padding-inline: 0.45rem;
  }
  .lm-nav .btn-ghost {
    font-size: 0.7rem;
    padding-inline: 0.65rem;
  }
  .lm-nav .nav-access {
    font-size: 0.7rem;
    padding-inline: 0.65rem;
  }
  .lm-nav .nav-link {
    font-size: 0.73rem;
    padding-inline: 0.4rem !important;
  }
}
@media (max-width: 991.98px) {
  .lm-nav .navbar-collapse .nav-access {
    display: flex;
    width: 100%;
    margin-top: 8px;
    min-height: 44px;
  }
  .brand-step-grid {
    gap: 14px;
  }
  .brand-step {
    padding-inline: 18px;
  }
  .brand-step h3 {
    font-size: 1rem;
  }
  .brand-step .eyebrow {
    font-size: 0.5rem;
  }
  .brand-family-inner {
    gap: 24px;
  }
}
@media (max-width: 767.98px) {
  .brand-step-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .brand-step {
    padding: 10px 24px 28px;
  }
  .brand-step > img {
    max-width: 240px;
  }
  .brand-step h3 {
    font-size: 1.2rem;
  }
  .brand-step .eyebrow {
    font-size: 0.6rem;
  }
  .brand-family-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .brand-integration-map {
    grid-template-columns: 1fr 32px 1fr 32px 1fr;
  }
  .brand-integration-map > div {
    padding: 20px 10px;
  }
  .brand-integration-map span {
    font-size: 0.8rem;
  }
  .brand-integration-map small {
    font-size: 0.65rem;
  }
}
@media (max-width: 575.98px) {
  .lm-nav .brand-wordmark img {
    width: 165px;
  }
  .lm-footer .brand-wordmark {
    margin-left: -10px;
  }
  .brand-family {
    padding: 38px 0;
  }
  .brand-family-link {
    font-size: 0.8rem;
  }
  .brand-flow-art {
    margin-top: 24px;
  }
  .brand-integration-map {
    grid-template-columns: 1fr;
    margin-bottom: 32px;
  }
  .brand-integration-map .brand-map-arrow {
    transform: rotate(90deg);
    line-height: 44px;
  }
  .brand-integration-map > div {
    padding: 22px;
  }
  .brand-integration-map span {
    font-size: 0.95rem;
  }
  .brand-integration-map small {
    font-size: 0.75rem;
  }
  .brand-feature-art img {
    max-height: 300px;
    padding: 18px 24px 0;
  }
  .demo-container, .status-container {
    margin-top: 116px;
  }
  .brand-tool-heading {
    margin-bottom: 28px;
  }
}
