/* ==========================================================================
   Klicko marketing site — design tokens + components

   Visual direction: a patch-panel / signal-equipment palette rather than a
   generic SaaS gradient — ink background, one confident warm "indicator
   lamp" accent (amber), a cool "live line" counterpoint (teal) used
   sparingly for active/status moments. Archivo (display) + IBM Plex Sans
   (body) + IBM Plex Mono (data/code/labels) — the Plex family has real
   engineering pedigree, apt for an infrastructure product.

   Single dark theme, deliberately (common and appropriate for a technical
   infrastructure brand — see README "Design notes").
   ========================================================================== */

:root {
  /* Color — an ink ground with a faint blue-green undertone, not pure black */
  --bg: #070b16;
  --bg-elevated: #0d1423;
  --panel: #121a2b;
  --panel-border: #24314b;
  --panel-border-hover: #3a4b70;
  --text: #eef1ec;
  --text-muted: #9aa3ac;
  --text-faint: #626b74;
  --accent: #0088f9;
  --accent-soft: rgba(0, 136, 249, 0.14);
  --accent-ink: #f8fbff;
  --wire: #7c4dff;
  --wire-soft: rgba(124, 77, 255, 0.16);
  --success: #46c9a0;
  --warning: #e8b34d;
  --danger: #f0685f;

  /* Type */
  --font-display: "Archivo", "Arial Narrow", -apple-system, sans-serif;
  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4.5rem;
  --sp-9: 7rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --max-width: 1180px;

  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 18px 52px -22px rgba(0, 136, 249, 0.55);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(48rem 26rem at 8% -8%, rgba(0, 136, 249, 0.18), transparent 62%),
    radial-gradient(40rem 22rem at 100% 4%, rgba(124, 77, 255, 0.13), transparent 58%);
}

img, svg { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: 0;
  margin: 0 0 var(--sp-3);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1.06; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; }
h3 { font-size: 1.2rem; line-height: 1.3; }
p { margin: 0 0 var(--sp-4); color: var(--text-muted); }
p.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 46rem; }

.text-accent { color: var(--accent); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

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

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--accent-ink); padding: 0.6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { left: var(--sp-5); top: var(--sp-3); }

/* ---------- Top nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(10, 13, 17, 0.78);
  border-bottom: 1px solid var(--panel-border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
  max-width: var(--max-width); margin: 0 auto;
}
.brand {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  border-radius: var(--radius-sm); background: #fff; padding: 0.22rem 0.48rem;
  box-shadow: 0 10px 28px -22px rgba(0, 136, 249, 0.75);
}
.brand-logo { width: 118px; height: 38px; object-fit: contain; flex: none; }
.nav-links { display: flex; align-items: center; gap: var(--sp-6); }
.nav-links a { color: var(--text-muted); font-size: 0.92rem; transition: color 0.15s ease; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: var(--sp-3); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--panel-border); color: var(--text);
  border-radius: var(--radius-sm); width: 40px; height: 40px; align-items: center; justify-content: center;
}

@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 64px 0 auto 0; background: var(--bg-elevated);
    border-bottom: 1px solid var(--panel-border); flex-direction: column; align-items: flex-start;
    padding: var(--sp-5); gap: var(--sp-4); transform: translateY(-120%); transition: transform 0.2s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn.secondary:not(.nav-login) { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem 1.3rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn.primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-glow); }
.btn.primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn.secondary { background: transparent; border-color: var(--panel-border); color: var(--text); }
.btn.secondary:hover { border-color: var(--panel-border-hover); background: var(--panel); }
.btn.large { padding: 0.9rem 1.7rem; font-size: 1.02rem; }
.btn.block { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: var(--sp-9) 0 var(--sp-8); text-align: center; }
.home-hero { text-align: left; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(28rem, 1.08fr); gap: var(--sp-7); align-items: center; }
.hero-copy h1 { max-width: 44rem; margin-inline: 0; }
.hero-copy p.lead { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(255, 122, 69, 0.28);
  padding: 0.35rem 0.8rem; border-radius: 999px; margin-bottom: var(--sp-5);
}
.hero h1 { max-width: 54rem; margin-inline: auto; }
.hero p.lead { margin-inline: auto; text-align: center; font-size: 1.2rem; }
.hero-actions { display: flex; gap: var(--sp-3); justify-content: center; margin-top: var(--sp-6); flex-wrap: wrap; }
.home-hero .hero-actions, .left-actions { justify-content: flex-start; }
.hero-note { margin-top: var(--sp-4); font-size: 0.85rem; color: var(--text-faint); }
.hero-proof { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); color: var(--text-faint); font-family: var(--font-mono); font-size: 0.78rem; }
.hero-proof span { border: 1px solid var(--panel-border); border-radius: var(--radius-sm); padding: 0.35rem 0.55rem; background: rgba(255,255,255,0.03); }
.product-frame {
  border: 1px solid rgba(0, 136, 249, 0.32);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(18, 26, 43, 0.96), rgba(7, 11, 22, 0.96));
  box-shadow: 0 30px 90px -42px rgba(0, 136, 249, 0.72);
  overflow: hidden;
  transform: perspective(1100px) rotateY(-6deg) rotateX(2deg);
}
.frame-bar { height: 42px; display: flex; align-items: center; gap: 0.45rem; padding: 0 var(--sp-4); border-bottom: 1px solid var(--panel-border); color: var(--text-faint); font-family: var(--font-mono); font-size: 0.72rem; }
.frame-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); opacity: 0.75; }
.frame-bar span:nth-child(2) { background: var(--wire); }
.frame-bar span:nth-child(3) { background: var(--warning); }
.frame-bar b { margin-left: auto; font-weight: 500; }
.product-frame img { width: 100%; height: auto; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .product-frame { transform: none; }
}
@media (max-width: 560px) {
  .home-hero { text-align: center; }
  .hero-copy p.lead { text-align: center; }
  .home-hero .hero-actions, .left-actions, .hero-proof { justify-content: center; }
}

/* ---------- Flow diagram (pure CSS/SVG, no images) ---------- */
.flow-diagram {
  margin-top: var(--sp-8); border: 1px solid var(--panel-border); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel), var(--bg-elevated));
  padding: var(--sp-6);
}
.flow-row { display: flex; align-items: center; justify-content: center; gap: var(--sp-3); flex-wrap: wrap; }
.flow-node {
  background: var(--bg-elevated); border: 1px solid var(--panel-border); border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-4); font-size: 0.85rem; color: var(--text); min-width: 9rem; text-align: center;
}
.flow-node.center { border-color: rgba(255, 122, 69, 0.45); box-shadow: 0 0 0 1px rgba(255, 122, 69, 0.25) inset; font-weight: 650; }
.flow-node small { display: block; color: var(--text-faint); font-weight: 400; margin-top: 0.2rem; }
.flow-arrow { color: var(--text-faint); font-size: 1.2rem; }
.flow-columns { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--sp-5); align-items: center; margin-top: var(--sp-5); }
.flow-col { display: grid; gap: var(--sp-3); }
@media (max-width: 760px) {
  .flow-columns { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
}

/* ---------- Sections ---------- */
section { padding: var(--sp-8) 0; }
section.tight { padding: var(--sp-5) 0; }
.section-head { max-width: 40rem; margin: 0 auto var(--sp-7); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }

/* ---------- Feature grid / cards ---------- */
.grid { display: grid; gap: var(--sp-5); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius-md);
  padding: var(--sp-5); transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--panel-border-hover); transform: translateY(-2px); }
.card .icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: var(--sp-4);
}
.card h3 { margin-bottom: var(--sp-2); }
.card p { margin-bottom: 0; font-size: 0.95rem; }
.card ul.check { margin: var(--sp-3) 0 0; padding: 0; list-style: none; display: grid; gap: 0.4rem; }
.card ul.check li { font-size: 0.88rem; color: var(--text-muted); padding-left: 1.4rem; position: relative; }
.card ul.check li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }
ul.check { margin: var(--sp-3) 0 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
ul.check li { color: var(--text-muted); padding-left: 1.45rem; position: relative; }
ul.check li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }

.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.signal-card {
  min-height: 17rem;
  padding: var(--sp-5);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(18, 26, 43, 0.92), rgba(13, 20, 35, 0.82));
  position: relative;
  overflow: hidden;
}
.signal-card::after { content: ""; position: absolute; left: var(--sp-5); right: var(--sp-5); bottom: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--wire)); opacity: 0.8; }
.signal-index { display: block; color: var(--accent); font-family: var(--font-mono); font-size: 0.78rem; margin-bottom: var(--sp-5); }
.signal-card p { font-size: 0.93rem; }
@media (max-width: 980px) { .signal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .signal-grid { grid-template-columns: 1fr; } }

.split-section { border-block: 1px solid var(--panel-border); background: rgba(255,255,255,0.02); }
.split-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-7); align-items: center; }
.feature-checks { margin-top: var(--sp-5); }
.route-panel {
  border: 1px solid rgba(0, 136, 249, 0.28);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  background:
    linear-gradient(180deg, rgba(18, 26, 43, 0.96), rgba(7, 11, 22, 0.98)),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(255,255,255,0.035) 39px 40px);
  box-shadow: 0 24px 70px -44px rgba(0, 136, 249, 0.7);
}
.route-line {
  display: grid;
  grid-template-columns: minmax(6rem, 1fr) 5rem minmax(6rem, 0.85fr) minmax(7rem, 1fr);
  gap: var(--sp-3);
  align-items: center;
  min-height: 3.25rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(36, 49, 75, 0.82);
  font-size: 0.92rem;
  position: relative;
}
.route-line::before {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  top: 50%;
  height: 1px;
  background:
    linear-gradient(90deg,
      transparent,
      rgba(0, 136, 249, 0.5) 16%,
      rgba(113, 215, 255, 0.68) 34%,
      rgba(124, 77, 255, 0.72) 66%,
      rgba(124, 77, 255, 0.18),
      transparent);
  transform: translateY(-50%);
  z-index: 0;
}
.route-line::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    -10.8rem 0 0 -1px rgba(0, 136, 249, 0.95),
    10.8rem 0 0 -1px rgba(124, 77, 255, 0.9),
    0 0 0 4px rgba(0, 136, 249, 0.12),
    0 0 20px rgba(0, 136, 249, 0.55);
  transform: translate(-50%, -50%);
  z-index: 1;
}
.route-line span,
.route-line em {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.route-line b {
  justify-self: center;
  color: #71d7ff;
  background: rgba(0, 136, 249, 0.12);
  border: 1px solid rgba(0, 136, 249, 0.28);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.45rem 0.55rem;
  position: relative;
  z-index: 2;
}
.route-line strong {
  justify-self: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.42rem 0.7rem;
  line-height: 1;
  position: relative;
  z-index: 2;
}
.route-line strong.route-core {
  width: 2.45rem;
  height: 2.45rem;
  padding: 0.34rem;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(23, 36, 95, 0.98), rgba(3, 7, 21, 0.98));
  border-color: rgba(34, 211, 238, 0.28);
  box-shadow: 0 0 0 4px rgba(0, 136, 249, 0.08), 0 0 24px rgba(34, 211, 238, 0.22);
}
.route-core img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.65));
}
.route-line em {
  color: var(--text-muted);
  font-style: normal;
  text-align: right;
}
.route-meter {
  height: 0.65rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  margin-top: var(--sp-5);
  overflow: hidden;
}
.route-meter i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--wire));
  border-radius: inherit;
}
.route-panel p {
  margin: var(--sp-3) 0 0;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
@media (max-width: 860px) {
  .split-grid { grid-template-columns: 1fr; }
  .route-line {
    grid-template-columns: 1fr auto;
    gap: var(--sp-2);
  }
  .route-line::before,
  .route-line::after {
    display: none;
  }
  .route-line strong {
    justify-self: start;
  }
  .route-line em {
    grid-column: 1 / -1;
    text-align: left;
  }
}

/* Feature card variant used on the features page: bigger, with a label pill */
.feature-block {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--sp-7); align-items: center;
  padding: var(--sp-7) 0; border-bottom: 1px solid var(--panel-border);
}
.feature-block:last-child { border-bottom: none; }
.feature-block.reverse { grid-template-columns: 1fr 1.1fr; }
.feature-block.reverse .feature-copy { order: 2; }
.feature-block.reverse .feature-visual { order: 1; }
@media (max-width: 860px) {
  .feature-block, .feature-block.reverse { grid-template-columns: 1fr; }
  .feature-block.reverse .feature-copy, .feature-block.reverse .feature-visual { order: unset; }
}
.pill {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 0.25rem 0.7rem; margin-bottom: var(--sp-3);
}
.feature-visual {
  background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius-lg);
  padding: var(--sp-5); min-height: 14rem; display: flex; align-items: center; justify-content: center;
}

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); text-align: center; }
.stats .stat b { display: block; font-size: 2rem; font-weight: 700; }
.stats .stat span { color: var(--text-faint); font-size: 0.85rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Logos / trust row (text-based, no external logo assets) ---------- */
.trust-row {
  display: flex; flex-wrap: wrap; gap: var(--sp-6); justify-content: center; align-items: center;
  padding: var(--sp-5) 0; color: var(--text-faint); font-weight: 600; letter-spacing: 0.02em; font-size: 0.9rem;
}

/* ---------- Timeline / architecture list ---------- */
.arch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
.arch-list li { display: flex; gap: var(--sp-4); align-items: flex-start; }
.arch-badge {
  flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--accent-soft);
  color: var(--accent); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}
.arch-list h4 { margin: 0 0 0.2rem; font-size: 1rem; }
.arch-list p { margin: 0; font-size: 0.92rem; }

/* ---------- Table ---------- */
table.compare { width: 100%; border-collapse: collapse; }
table.compare th, table.compare td { text-align: left; padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--panel-border); font-size: 0.92rem; }
table.compare th { color: var(--text-faint); font-weight: 600; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.04em; }
table.compare td.yes { color: var(--success); font-weight: 700; }

/* ---------- FAQ accordion (pure HTML <details>, no JS required) ---------- */
.faq-list { display: grid; gap: var(--sp-3); }
.faq-item { background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius-md); overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: var(--sp-4) var(--sp-5); font-weight: 600; list-style: none; display: flex;
  align-items: center; justify-content: space-between; gap: var(--sp-3);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--text-faint); transition: transform 0.15s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 var(--sp-5) var(--sp-5); color: var(--text-muted); font-size: 0.95rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  border: 1px solid rgba(0, 136, 249, 0.34); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 136, 249, 0.16), rgba(124, 77, 255, 0.10));
  padding: var(--sp-7); text-align: center;
}
.cta-banner h2 { margin-bottom: var(--sp-3); }
.cta-banner p { max-width: 34rem; margin-inline: auto; }

/* ---------- Forms (contact page) ---------- */
.form-grid { display: grid; gap: var(--sp-4); max-width: 34rem; }
label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.35rem; font-weight: 600; }
input, textarea, select {
  width: 100%; background: var(--bg-elevated); border: 1px solid var(--panel-border); color: var(--text);
  padding: 0.7rem 0.85rem; border-radius: var(--radius-sm); font-size: 0.95rem; font-family: inherit;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.demo-band { border-top: 1px solid var(--panel-border); background: linear-gradient(180deg, rgba(0, 136, 249, 0.07), transparent); }
.demo-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-6); align-items: center; }
.demo-mini-card { border: 1px solid var(--panel-border); border-radius: var(--radius-md); padding: var(--sp-5); background: var(--panel); }
.demo-mini-card h3 { margin-bottom: var(--sp-4); }
@media (max-width: 760px) { .demo-grid { grid-template-columns: 1fr; } }

.embedded-demo-card { min-height: 32rem; }
.embedded-demo-card [data-outreach-form] {
  min-height: 24rem;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  padding: var(--sp-3);
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--panel-border); padding: var(--sp-7) 0 var(--sp-6); margin-top: var(--sp-8); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--sp-6); }
.footer-grid h4 { font-size: 0.85rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: var(--sp-3); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-grid a { color: var(--text-muted); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--panel-border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--sp-3);
  color: var(--text-faint); font-size: 0.85rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: var(--sp-8) 0 var(--sp-6); text-align: center; }
.page-hero p.lead { margin-inline: auto; }
.breadcrumbs { font-size: 0.85rem; color: var(--text-faint); margin-bottom: var(--sp-4); }
.breadcrumbs a { color: var(--text-faint); }
.breadcrumbs a:hover { color: var(--text); }

/* ---------- Code sample block ---------- */
.code-block {
  background: #080a0d; border: 1px solid var(--panel-border); border-radius: var(--radius-md);
  padding: var(--sp-5); overflow-x: auto; font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.6;
}
.code-block .c1 { color: var(--text-faint); }
.code-block .c2 { color: var(--accent); }
.code-block .c3 { color: var(--success); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
