/* ============================================================
   Labcognia — "Technical Dark Mode" direction. Sourced from live
   research (WebFetch, 2026-07-22): linear.app — near-black background,
   light text, one cool accent, product/interface mockup anchoring the
   hero instead of a photo or illustration. Dark-mode-first across the
   WHOLE site (not just a dark footer/hero like every other build in
   this batch) — genuinely different visual register, not just a
   recolor. Typography: JetBrains Mono (headlines, self-hosted variable
   font) + Inter (body) — a pairing not used elsewhere in this batch.
   No pillar-icon-grid, no photo mosaic, no compare-table-on-homepage:
   this build's "distinct section" is a terminal-style checklist, and
   the comparison lives on its own page (compare.php) instead, per the
   page-structure-variety rule.
   ============================================================ */

body { background: var(--bg); color: var(--ink); }

/* Cards / surfaces that assumed a light base now sit on dark surfaces. */
.post-card, .faq__item, .form, .contact-info, .compare {
  background: var(--surface);
  border-color: var(--line);
}
.card, .pillar { background: var(--surface); }
.topbar { background: rgba(11, 14, 19, 0.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); }
.topbar.is-scrolled { background: rgba(11, 14, 19, 0.97); }

/* ============================================================
   Brand wordmark — lowercase mono wordmark with a blinking cursor
   block, standing in for a pictorial logo. No separate icon/badge.
   ============================================================ */
.brand--terminal .brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand--terminal .brand__name b { color: var(--brand); font-weight: 700; }
.brand__cursor {
  display: inline-block;
  width: 0.5em;
  height: 1em;
  margin-left: 0.15em;
  background: var(--accent);
  vertical-align: -0.15em;
  animation: cursor-blink 1.1s steps(1) infinite;
}
@keyframes cursor-blink { 50% { opacity: 0; } }

/* ============================================================
   Hero — a stylized terminal/checklist panel instead of a photo,
   illustration, or doodle. Text left, mock UI card right — a sixth
   distinct hero skeleton in this batch (not split-photo, not
   full-bleed-photo-scrim, not solid-color-with-doodles, not a
   floating glass card).
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100svh - var(--topbar-h));
  display: flex;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(63, 167, 255, 0.14) 0%, rgba(63, 167, 255, 0) 60%),
    var(--bg);
}
.hero .container.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: var(--container);
  width: 100%;
}
.hero__inner {
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  border-radius: 0;
  padding: 0;
}
.hero__eyebrow { color: var(--accent); font-family: var(--font-mono); }
.hero__title { color: var(--ink); font-family: var(--font-head-display); font-weight: 700; letter-spacing: -0.01em; }
.hero__brand-sub { color: var(--brand-soft); }
.hero__lead { color: var(--ink-soft); }
.hero__trust { border-top-color: var(--line); color: var(--ink-soft); }
.hero__media {
  position: relative;
  inset: auto;
  opacity: 1;
  order: 2;
}
.term-window {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}
.term-window__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.term-window__dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; }
.term-window__dot--r { background: #FF5F57; }
.term-window__dot--y { background: #FEBC2E; }
.term-window__dot--g { background: #28C840; }
.term-window__title { margin-left: 0.5rem; color: var(--muted); font-size: 0.78rem; }
.term-window__body { padding: 1.1rem 1.2rem 1.3rem; color: var(--ink-soft); line-height: 1.85; }
.term-window__body .term-prompt { color: var(--accent); }
.term-window__body .term-ok { color: var(--accent); }
.term-window__body .term-warn { color: var(--brand-soft); }
.term-window__body .term-dim { color: var(--muted); }

/* ============================================================
   Terminal checklist — the batch's "structurally distinct" section
   for this build: a vertical CLI-style checklist with a connector
   line, not a table, not a photo mosaic, not an icon grid.
   ============================================================ */
.term-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  font-family: var(--font-mono);
}
.term-checklist::before {
  content: "";
  position: absolute;
  left: 0.65rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 1px;
  background: var(--line);
}
.term-checklist__item {
  position: relative;
  padding: 0.9rem 0 0.9rem 2.4rem;
}
.term-checklist__mark {
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 0.3rem;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  z-index: 1;
}
.term-checklist__label {
  display: block;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}
.term-checklist__desc {
  display: block;
  font-family: var(--font-body);
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 36rem;
}

/* ============================================================
   Compare page table — reused table primitive, but this batch's
   version lives on its own page (compare.php) rather than embedded
   as a homepage section (page-structure variety, not just section
   order).
   ============================================================ */
.compare-page-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-page-table th, .compare-page-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.compare-page-table thead th {
  font-family: var(--font-head);
  background: var(--surface-2);
  color: var(--ink);
}
.compare-page-table tbody th { color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
.compare-page-table td { color: var(--ink-soft); }
.compare-page-table td.is-good { color: var(--accent); font-weight: 600; }
.compare-page-table tr:last-child td, .compare-page-table tr:last-child th { border-bottom: none; }
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) {
  .compare-page-table th, .compare-page-table td { padding: 0.7rem 0.8rem; font-size: 0.88rem; }
}

/* Post cards / covers on a dark base */
.post-card__media:not(.cover) { background: var(--surface-3); }
.cover--chain { background: linear-gradient(145deg, var(--brand-strong) 0%, var(--brand) 55%, var(--brand-soft) 100%); }
.cover--sec   { background: linear-gradient(145deg, var(--night) 0%, var(--accent) 55%, var(--accent-soft) 140%); }
.cover--ia    { background: linear-gradient(145deg, var(--night) 0%, var(--brand) 55%, var(--accent) 140%); }

.callout--brand { background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft); }
.callout--brand b { color: var(--ink); }

.cta-band { text-align: left; }
.cta-band .eyebrow { color: rgba(255, 255, 255, 0.85); }
.cta-band .btn--primary { background: rgba(255, 255, 255, 0.16); box-shadow: none; flex-shrink: 0; }
.cta-band .btn--primary:hover { box-shadow: none; }
.cta-band p { margin: 0.6rem 0 0; max-width: 32rem; }
@media (min-width: 641px) {
  .cta-band { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
}

@media (max-width: 860px) {
  .hero .container.hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
}
