/* ────────────────────────────────────────────────────────────────
   NTHMAP site CSS — marketing, docs, use cases
   Inherits theme variables from app.css.
   ──────────────────────────────────────────────────────────────── */

/* Undo the map app's fixed-viewport html/body styling. app.css sets
   `html, body { height: 100%; overflow: hidden }` for the map grid layout;
   on site + admin pages we need normal document scrolling instead. */
html.site-html,
html.admin-html {
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}
body.site-body,
body.admin-body {
  display: block !important;
  height: auto;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: visible;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  grid-template-areas: none !important;
  transition: none;
}

.site-body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  line-height: 1.55;
}

/* ─────────── HEADER ─────────── */
.site-header {
  position: sticky; top: 0;
  background: rgba(8, 11, 15, 0.82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  z-index: 100;
}
.site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.site-brand {
  display: flex; align-items: baseline; gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}
.site-logo-mark { font-size: 22px; color: var(--accent-primary); }
.site-logo-text {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.18em;
}
.site-nav {
  display: flex; gap: 32px;
  flex: 1;
  margin-left: 20px;
}
.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 150ms;
}
.site-nav a:hover { color: var(--accent-primary); }
.site-header-actions { display: flex; gap: 10px; }

/* Shared button classes */
.site-btn {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 3px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 150ms ease-out;
  white-space: nowrap;
}
.site-btn:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.site-btn.primary {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--bg-primary);
}
.site-btn.primary:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.4);
}
.site-btn.ghost { background: var(--bg-card); }
.site-btn.xl {
  padding: 14px 26px;
  font-size: 12px;
  letter-spacing: 0.14em;
}
.site-btn.block { width: 100%; }

/* ─────────── MAIN ─────────── */
.site-main { min-height: 60vh; }
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.kicker {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-primary);
  padding: 4px 12px;
  border: 1px solid var(--accent-primary);
  border-radius: 2px;
  margin-bottom: 22px;
  background: rgba(0, 212, 255, 0.06);
}
.section-head h2 {
  font-family: "Inter", sans-serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* ─────────── HERO ─────────── */
.hero {
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(0, 212, 255, 0.08), transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 107, 53, 0.05), transparent 60%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 42, 53, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 42, 53, 0.12) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.hero-kicker {
  font-family: "Inter"; font-size: 11px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--accent-primary); margin-bottom: 18px;
}
.hero h1 {
  font-family: "Inter", sans-serif;
  font-size: 60px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.028em;
  margin-bottom: 22px;
  background: linear-gradient(180deg, #FFFFFF 0%, #7A9BB5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 580px;
}
.hero-cta { display: flex; gap: 12px; margin-bottom: 56px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 580px;
}
.hero-stats > div {
  border-left: 2px solid var(--accent-primary);
  padding-left: 14px;
}
.hero-stats strong {
  font-family: "Inter", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stats span {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero map preview */
.hero-map-preview {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
}
.hero-map-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.18), transparent 60%);
  filter: blur(20px);
}
.hero-map-frame {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0A1628 0%, #050B14 100%);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.hero-map-label {
  position: absolute;
  top: 16px; left: 16px;
  font-family: "Inter"; font-size: 9px; font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-primary);
  padding: 4px 10px;
  border: 1px solid var(--accent-primary);
  background: rgba(0, 212, 255, 0.1);
  border-radius: 2px;
}
.hero-map-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 60, 100, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 60, 100, 0.3) 1px, transparent 1px);
  background-size: 30px 30px;
}
.hero-dot {
  position: absolute;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 12px solid #00D4FF;
  filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.7));
  animation: dot-float 4s ease-in-out infinite;
}
.hero-dot.d1 { top: 35%; left: 25%; transform: rotate(45deg); animation-delay: 0s; }
.hero-dot.d2 { top: 50%; left: 45%; transform: rotate(90deg); border-bottom-color: #FF6B35; animation-delay: 0.5s; }
.hero-dot.d3 { top: 28%; left: 60%; transform: rotate(-30deg); animation-delay: 1s; }
.hero-dot.d4 { top: 65%; left: 35%; transform: rotate(180deg); border-bottom-color: #FFD700; animation-delay: 1.5s; }
.hero-dot.d5 { top: 42%; left: 75%; transform: rotate(225deg); border-bottom-color: #FF6B35; animation-delay: 2s; }
.hero-dot.d6 { top: 72%; left: 58%; transform: rotate(60deg); border-bottom-color: #7AC4A0; animation-delay: 2.5s; }
.hero-dot.d7 { top: 20%; left: 40%; transform: rotate(135deg); animation-delay: 3s; }
@keyframes dot-float {
  0%, 100% { transform: var(--tf, rotate(45deg)) translateY(0); }
  50%      { transform: var(--tf, rotate(45deg)) translateY(-4px); }
}
.hero-map-lines { position: absolute; inset: 0; }
.hero-chokepoint {
  position: absolute;
  bottom: 24px;
  right: 20px;
  background: rgba(8, 11, 15, 0.88);
  border: 1px solid var(--accent-primary);
  padding: 12px 16px;
  border-radius: 3px;
  backdrop-filter: blur(8px);
  min-width: 160px;
}
.cp-title { font-family: "Inter"; font-size: 9px; letter-spacing: 0.12em; color: var(--text-secondary); margin-bottom: 6px; }
.cp-metric { font-family: "IBM Plex Mono"; font-size: 22px; font-weight: 600; color: var(--accent-primary); }
.cp-metric span { font-size: 10px; color: var(--text-muted); font-weight: 400; margin-left: 4px; }
.cp-status { margin-top: 6px; font-family: "Inter"; font-size: 9px; font-weight: 700; letter-spacing: 0.14em; }
.cp-status.normal { color: #00FF8C; }

/* ─────────── LOGO STRIP ─────────── */
.logo-strip {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}
.logo-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.strip-label {
  font-family: "Inter"; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted);
}
.strip-fake {
  font-family: "Inter"; font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  color: var(--text-secondary);
  opacity: 0.6;
  text-align: center;
}

/* ─────────── FEATURES ─────────── */
.features { padding: 110px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 24px;
  transition: all 200ms ease-out;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-primary);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.08);
}
.feature-icon { font-size: 26px; margin-bottom: 18px; }
.feature-card h3 {
  font-family: "Inter";
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.feature-card p { font-size: 12.5px; color: var(--text-secondary); line-height: 1.6; }

/* ─────────── USE CASES TEASER ─────────── */
.use-cases-teaser {
  padding: 110px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.uc-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 26px 24px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 180ms;
}
.uc-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--bg-card), rgba(0, 212, 255, 0.04));
}
.uc-icon { font-size: 24px; margin-bottom: 14px; }
.uc-card h3 {
  font-family: "Inter";
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.uc-card p { font-size: 12px; color: var(--text-secondary); }
.uc-see-all { text-align: center; margin-top: 44px; }

/* ─────────── DEVELOPER STRIP ─────────── */
.dev-section { padding: 110px 0; }
.dev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.dev-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
}
.dev-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.dev-icon { font-size: 20px; }
.dev-card h3 { font-family: "Inter"; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-primary); }
.dev-card pre {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 14px;
  margin-bottom: 16px;
  overflow-x: auto;
  font-size: 11px;
  line-height: 1.55;
}
.dev-card code { font-family: "IBM Plex Mono", monospace; color: var(--text-primary); }

/* ─────────── PRICING ─────────── */
.pricing { padding: 110px 0; background: var(--bg-secondary); border-top: 1px solid var(--border); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 34px 28px;
  position: relative;
}
.price-card.featured {
  border-color: var(--accent-primary);
  background: linear-gradient(180deg, var(--bg-card), rgba(0, 212, 255, 0.04));
  box-shadow: 0 30px 60px rgba(0, 212, 255, 0.08);
  transform: translateY(-8px);
}
.price-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent-primary);
  color: var(--bg-primary);
  font-family: "Inter"; font-size: 9px; font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
}
.price-name {
  font-family: "Inter"; font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.price-amount {
  font-family: "Inter"; font-size: 40px; font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.price-amount span {
  font-size: 14px; font-weight: 400;
  color: var(--text-muted);
  margin-left: 4px;
}
.price-card ul {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.price-card li {
  font-size: 12.5px;
  color: var(--text-secondary);
  padding-left: 22px;
  position: relative;
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent-primary);
  font-weight: 700;
}

/* ─────────── BIG CTA ─────────── */
.big-cta {
  padding: 120px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at center top, rgba(0, 212, 255, 0.12), transparent 60%),
    var(--bg-primary);
  border-top: 1px solid var(--border);
}
.big-cta h2 {
  font-family: "Inter"; font-size: 44px; font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #FFFFFF, #7A9BB5);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.big-cta p { font-size: 16px; color: var(--text-secondary); margin-bottom: 32px; }
.big-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─────────── FOOTER ─────────── */
.site-footer {
  padding: 70px 0 36px;
  background: #050B14;
  border-top: 1px solid var(--border);
}
.site-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
}
.site-footer-brand .site-logo-mark { font-size: 28px; display: block; margin-bottom: 4px; }
.site-footer-brand .site-logo-text { font-size: 20px; display: block; margin-bottom: 14px; }
.site-footer-brand p {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 260px;
  line-height: 1.6;
}
.site-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.site-footer-cols h4 {
  font-family: "Inter"; font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.site-footer-cols a {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 5px 0;
  transition: color 150ms;
}
.site-footer-cols a:hover { color: var(--accent-primary); }
.site-footer-legal {
  max-width: 1280px;
  margin: 40px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid var(--border);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ─────────── DOCS LAYOUT ─────────── */
.docs-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 32px 100px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: start;
}
.docs-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}
.docs-sidebar-head {
  font-family: "Inter"; font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.docs-nav { display: flex; flex-direction: column; gap: 3px; }
.docs-nav a {
  padding: 9px 12px;
  font-size: 12.5px;
  color: var(--text-secondary);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: all 120ms;
}
.docs-nav a:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}
.docs-nav a.active {
  color: var(--accent-primary);
  border-left-color: var(--accent-primary);
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.06), transparent);
  font-weight: 500;
}

.docs-article { min-width: 0; max-width: 760px; }
.docs-article-head { margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.docs-article-head h1 {
  font-family: "Inter"; font-size: 38px; font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.15;
  margin: 12px 0 10px;
}
.docs-article-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─────────── MARKDOWN CONTENT ─────────── */
.markdown { font-size: 14.5px; line-height: 1.7; color: var(--text-primary); }
.markdown h2 {
  font-family: "Inter"; font-size: 26px; font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin: 50px 0 18px;
  padding-top: 12px;
  color: var(--text-primary);
}
.markdown h3 {
  font-family: "Inter"; font-size: 18px; font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.3;
  margin: 34px 0 12px;
  color: var(--text-primary);
}
.markdown h4 {
  font-family: "Inter"; font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 28px 0 10px;
  color: var(--accent-primary);
}
.markdown p {
  margin: 0 0 18px;
  color: var(--text-primary);
}
.markdown a {
  color: var(--accent-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.35);
}
.markdown a:hover { border-bottom-color: var(--accent-primary); }
.markdown ul, .markdown ol { padding-left: 22px; margin: 0 0 20px; }
.markdown li { margin-bottom: 6px; color: var(--text-primary); }
.markdown strong { color: var(--text-primary); font-weight: 600; }
.markdown code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  background: var(--bg-card);
  color: var(--accent-primary);
  padding: 2px 6px;
  border-radius: 2px;
  border: 1px solid var(--border);
}
.markdown pre {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-primary);
  border-radius: 3px;
  padding: 18px 20px;
  margin: 20px 0;
  overflow-x: auto;
}
.markdown pre code {
  background: transparent;
  color: var(--text-primary);
  border: none;
  padding: 0;
  font-size: 12px;
  line-height: 1.7;
}
.markdown blockquote {
  border-left: 3px solid var(--accent-primary);
  background: var(--bg-card);
  margin: 20px 0;
  padding: 14px 20px;
  color: var(--text-secondary);
  font-style: italic;
}
.markdown table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 13px;
}
.markdown th {
  text-align: left;
  padding: 10px 12px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  font-family: "Inter"; font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-secondary);
}
.markdown td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}
.markdown hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* ─────────── USE CASES INDEX ─────────── */
.uc-index-hero {
  padding: 90px 0 60px;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(0, 212, 255, 0.08), transparent 60%);
}
.uc-index-hero h1 {
  font-family: "Inter"; font-size: 48px; font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 20px 0 20px;
  background: linear-gradient(180deg, #FFFFFF, #7A9BB5);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.uc-index-grid-section { padding: 0 32px 100px; }
.uc-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.uc-index-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 30px 26px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 200ms;
  display: flex;
  flex-direction: column;
}
.uc-index-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.1);
}
.uc-category {
  display: inline-block;
  font-family: "Inter"; font-size: 9px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-primary);
  padding: 3px 9px;
  border: 1px solid var(--accent-primary);
  border-radius: 2px;
  background: rgba(0, 212, 255, 0.06);
  align-self: flex-start;
  margin-bottom: 16px;
}
.uc-index-card h3 {
  font-family: "Inter"; font-size: 19px; font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  line-height: 1.25;
}
.uc-index-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: auto;
}
.uc-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  margin-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.uc-arrow {
  color: var(--accent-primary);
  font-family: "Inter"; font-weight: 600;
}

/* ─────────── USE CASE ARTICLE ─────────── */
.uc-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 32px 100px;
}
.uc-article-head {
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.uc-back a {
  font-size: 11px;
  font-family: "Inter"; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 24px;
}
.uc-back a:hover { color: var(--accent-primary); }
.uc-article h1 {
  font-family: "Inter"; font-size: 42px; font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 14px 0 18px;
}
.uc-article-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.uc-article-meta {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 18px;
}
.uc-related {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.uc-related h3 {
  font-family: "Inter"; font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.uc-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.uc-related-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 150ms;
}
.uc-related-card:hover { border-color: var(--accent-primary); }
.uc-related-card h4 {
  font-family: "Inter"; font-size: 14px; font-weight: 700;
  margin-bottom: 6px;
}
.uc-related-card p { font-size: 12px; color: var(--text-secondary); }

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 44px; }
  .section-head h2 { font-size: 34px; }
  .uc-index-hero h1 { font-size: 40px; }
  .docs-article-head h1, .uc-article h1 { font-size: 34px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .uc-grid,
  .uc-index-grid,
  .dev-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; }
  .price-card.featured { transform: none; }
  .docs-layout { grid-template-columns: 1fr; gap: 24px; }
  .docs-sidebar { position: static; }
  .site-footer-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 700px) {
  .site-header-inner { padding: 0 16px; gap: 10px; height: 60px; }
  .site-nav { display: none; }
  .site-header-actions { margin-left: auto; }
  .hero { padding: 50px 0 60px; }
  .hero h1 { font-size: 34px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .section-inner, .docs-layout, .uc-article { padding-left: 20px; padding-right: 20px; }
  .section-head h2 { font-size: 28px; }
  .big-cta h2 { font-size: 28px; }
  .uc-index-hero h1 { font-size: 30px; }
  .feature-grid, .uc-grid, .uc-index-grid, .dev-grid,
  .uc-related-grid { grid-template-columns: 1fr; }
  .docs-article-head h1, .uc-article h1 { font-size: 28px; }
}
