/*
 * Shared styles for the bot.company marketing site (index / smb / consultants).
 * Tokens mirror the meg.browser "MEG Dark" theme
 * (apps/meg-browser/desktop/renderer/src/styles/themes.css).
 * Wordmark mirrors the canonical meg. logo
 * (apps/meg-browser/website/src/design-system/components/Logo.tsx).
 */
:root {
  --color-bg: #111113;
  --color-surface: #18191b;
  --color-surface-raised: #212225;
  --color-surface-input: #1a1b1e;
  --color-border: #313538;
  --color-text: #edeef0;
  --color-text-muted: #b0b4ba;
  --color-text-faint: #696e77;
  --color-accent: #3e63dd;
  --color-accent-muted: #0d2847;
  --color-status-active: #30a46c;
  --color-status-warning: #ffb224;
  --color-status-error: #e5484d;
  --bg-hover: #2a2b2f;
  --border-hover: #3f4349;
  --accent-hover: #3358c4;
  --accent-surface: #1a2744;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

::selection { background: var(--color-accent); color: #fff; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── Wordmark (mirrors the meg. logo) ────── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.brand img { width: 32px; height: 32px; border-radius: 8px; }

.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.wordmark__lead {
  background: linear-gradient(180deg, #ffffff 0%, #aebbe8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wordmark__dot {
  display: inline-block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin: 0 4px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 12px rgba(62, 99, 221, 0.8);
}

.wordmark__suffix { color: rgba(237, 238, 240, 0.85); font-weight: 600; }

.bymeg {
  display: inline-flex;
  align-items: baseline;
  margin-left: 2px;
  padding-left: 13px;
  border-left: 1px solid var(--color-border);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-faint);
  line-height: 1;
}

.bymeg .wordmark__lead { font-weight: 700; margin-left: 5px; }

.bymeg .wordmark__dot {
  width: 5.5px;
  height: 5.5px;
  margin: 0 0 0 2.5px;
  box-shadow: 0 0 9px rgba(62, 99, 221, 0.8);
}

/* ── Nav ─────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__links { display: flex; align-items: center; gap: 26px; }

.nav__links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 120ms ease;
}

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

.nav__links a.active { color: var(--color-text); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

.nav__cta-mobile { display: none; }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--color-text);
  padding: 8px;
  cursor: pointer;
}

.nav__toggle svg { width: 22px; height: 22px; stroke: currentColor; }

@media (max-width: 720px) {
  .bymeg { display: none; }
  .nav__cta-desktop { display: none; }
  .nav__cta-mobile { display: inline-flex; }
  .nav__toggle { display: inline-flex; }
  .nav__links { display: none; }
  .nav--open .nav__links {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 6px 20px 16px;
  }
  .nav--open .nav__links a { display: block; padding: 12px 0; font-size: 15px; }
}

/* Keep anchored section heads clear of the sticky nav. */
section[id] { scroll-margin-top: 78px; }

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
  font-family: var(--font-sans);
}

.btn--primary { background: var(--color-accent); color: #fff; }

.btn--primary:hover { background: var(--accent-hover); }

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--ghost:hover { background: var(--bg-hover); border-color: var(--border-hover); }

.btn--lg { padding: 12px 26px; font-size: 15px; border-radius: 10px; }

.btn--sm { padding: 7px 12px; font-size: 12.5px; border-radius: 7px; }

.btn:focus-visible,
.beta__form input:focus-visible,
.hero__form input:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ── Hero ────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 90px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% -5%, rgba(62, 99, 221, 0.22), transparent 70%),
    linear-gradient(to right, rgba(62, 99, 221, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(62, 99, 221, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 56px 56px, 56px 56px;
  mask-image: linear-gradient(to bottom, black 55%, transparent 95%);
  pointer-events: none;
}

.hero > .container { position: relative; }

/* Left-aligned hero variant used on the SMB / consultants sub-pages. */
.hero--left { text-align: left; padding: 96px 0 72px; }

.hero--left h1 { margin-left: 0; }

.hero--left .hero__sub { margin-left: 0; }

.hero--left .hero__cta { justify-content: flex-start; }

.hero--left .hero__form { margin-left: 0; margin-right: 0; }

.hero--left .hero__form + .beta__confirm { text-align: left; }

/* Split hero: copy left, mini Babylon graph right (sub-pages). */
.hero--split .hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(260px, 5fr);
  gap: 40px;
  align-items: center;
}

.hero__viz {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(62, 99, 221, 0.14), transparent 72%),
    var(--color-surface);
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.75);
  min-height: 320px;
}

.hero__viz canvas.minigraph {
  display: block;
  width: 100%;
  height: 340px;
  outline: none;
  touch-action: pan-y;
  cursor: grab;
}

.hero__viz canvas.minigraph:active { cursor: grabbing; }

@media (max-width: 860px) {
  .hero--split .hero__grid { grid-template-columns: 1fr; }
  .hero__viz { display: none; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-surface);
  border: 1px solid color-mix(in srgb, var(--color-accent) 45%, var(--color-border));
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 28px;
}

.badge .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-status-active);
  box-shadow: 0 0 0 0 rgba(48, 164, 108, 0.6);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(48, 164, 108, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(48, 164, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(48, 164, 108, 0); }
}

h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 830px;
  margin: 0 auto 22px;
}

h1 .accent {
  background: linear-gradient(120deg, #7a97f0, var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  color: var(--color-text-muted);
  font-size: clamp(16px, 2vw, 19px);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }

.hero__form {
  display: flex;
  gap: 10px;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.hero__form input {
  flex: 1;
  min-width: 200px;
  background: var(--color-surface-input);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 14.5px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 120ms ease;
}

.hero__form input::placeholder { color: var(--color-text-faint); }

.hero__form input:focus { border-color: var(--color-accent); }

.hero__form + .beta__confirm {
  margin-top: 14px;
  margin-bottom: 10px;
  text-align: center;
}

.hero__form + .beta__confirm + .hero__cta { margin-top: 8px; }

.hero__meta {
  margin-top: 26px;
  color: var(--color-text-faint);
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.hero__meta a { color: var(--color-text-muted); text-decoration: none; }

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

/* ── Browser-chrome mockup ───────────────── */
.mock {
  margin: 70px auto 0;
  max-width: 860px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 60px -20px rgba(62, 99, 221, 0.25);
  overflow: hidden;
  text-align: left;
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--color-surface-raised);
  border-bottom: 1px solid var(--color-border);
}

.mock__dots { display: flex; gap: 6px; }

.mock__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--color-border); }

.mock__url {
  flex: 1;
  max-width: 340px;
  margin: 0 auto;
  background: var(--color-surface-input);
  border: 1px solid var(--color-border);
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-faint);
  padding: 5px 12px;
  text-align: center;
}

.mock__body { display: grid; grid-template-columns: 180px 1fr; min-height: 300px; }

.mock__side {
  border-right: 1px solid var(--color-border);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock__nav-item {
  font-size: 12.5px;
  color: var(--color-text-muted);
  padding: 7px 10px;
  border-radius: 6px;
}

.mock__nav-item.active {
  background: var(--accent-surface);
  color: var(--color-text);
  font-weight: 600;
}

@media (max-width: 640px) {
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { display: none; }
}

.mock__main { padding: 20px 22px; }

.mock__title { font-size: 14px; font-weight: 600; margin-bottom: 14px; }

.mock__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-raised);
  border-radius: 9px;
  padding: 11px 14px;
  margin-bottom: 9px;
}

.mock__row-label { font-size: 13px; font-weight: 500; }

.mock__row-sub { font-size: 11.5px; color: var(--color-text-faint); font-family: var(--font-mono); }

.status {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.status--active { color: var(--color-status-active); background: rgba(48, 164, 108, 0.12); }

.status--pending { color: var(--color-status-warning); background: rgba(255, 178, 36, 0.1); }

/* ── Sections ────────────────────────────── */
section { padding: 90px 0; }

.section-head { max-width: 640px; margin-bottom: 52px; }

.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-head p { color: var(--color-text-muted); font-size: 16.5px; }

/* ── Feature grid ────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }

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

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 140ms ease, background 140ms ease;
}

.card:hover { border-color: var(--border-hover); background: var(--color-surface-raised); }

.card__icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--accent-surface);
  border: 1px solid color-mix(in srgb, var(--color-accent) 35%, var(--color-border));
  margin-bottom: 16px;
}

.card__icon svg { width: 19px; height: 19px; stroke: #8ea4ef; }

.card h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }

.card p { color: var(--color-text-muted); font-size: 14px; line-height: 1.55; }

/* ── Audience teaser cards (main page) ───── */
.aud__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

@media (max-width: 760px) { .aud__grid { grid-template-columns: 1fr; } }

.aud__card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 90% at 90% 10%, rgba(62, 99, 221, 0.10), transparent 70%),
    var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 34px 32px;
  transition: border-color 140ms ease, transform 140ms ease, background 140ms ease;
}

.aud__card:hover { border-color: color-mix(in srgb, var(--color-accent) 45%, var(--color-border)); transform: translateY(-3px); }

.aud__card h3 { font-size: clamp(20px, 2.4vw, 25px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }

.aud__card p { color: var(--color-text-muted); font-size: 15px; line-height: 1.6; margin-bottom: 22px; }

.aud__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #8ea4ef;
}

.aud__card:hover .aud__link { color: var(--color-text); }

/* ── Feature deep dives ──────────────────── */
.dives { padding-top: 0; }

.dive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}

.dive + .dive { border-top: 1px solid var(--color-border); }

.dive:nth-of-type(even) .dive__visual { order: -1; }

@media (max-width: 860px) {
  .dive { grid-template-columns: 1fr; gap: 32px; }
  .dive:nth-of-type(even) .dive__visual { order: 0; }
}

.dive__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.dive h3 {
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.dive__copy p { color: var(--color-text-muted); font-size: 15.5px; margin-bottom: 18px; }

.dive__list { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.dive__list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.dive__list li strong { color: var(--color-text); font-weight: 600; }

.dive__list .tick {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 2.5px;
  border-radius: 50%;
  background: var(--accent-surface);
  border: 1px solid color-mix(in srgb, var(--color-accent) 45%, var(--color-border));
  display: flex;
  align-items: center;
  justify-content: center;
}

.dive__list .tick svg { width: 9px; height: 9px; stroke: #8ea4ef; stroke-width: 2.5; }

/* Panels used as dive visuals */
.panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 13px;
  padding: 18px;
  box-shadow: 0 20px 50px -25px rgba(0, 0, 0, 0.7);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.panel__title { font-size: 13px; font-weight: 600; }

.panel__hint { font-family: var(--font-mono); font-size: 11px; color: var(--color-text-faint); }

.panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: 9px;
  padding: 10px 13px;
  margin-bottom: 8px;
}

.panel__row:last-child { margin-bottom: 0; }

.panel__label { font-size: 13px; font-weight: 500; }

.panel__sub { font-size: 11px; color: var(--color-text-faint); font-family: var(--font-mono); }

/* Toggle switch */
.toggle {
  flex-shrink: 0;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: var(--color-accent);
  position: relative;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
}

.toggle--off { background: var(--color-border); }

.toggle--off::after { right: auto; left: 2px; background: var(--color-text-faint); }

/* Segmented Auto/Ask/Off control */
.seg {
  flex-shrink: 0;
  display: inline-flex;
  background: var(--color-surface-input);
  border: 1px solid var(--color-border);
  border-radius: 7px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.seg span { padding: 3px 9px; color: var(--color-text-faint); }

.seg .on { background: var(--accent-surface); color: #8ea4ef; font-weight: 600; }

.seg .warn { background: rgba(255, 178, 36, 0.12); color: var(--color-status-warning); font-weight: 600; }

/* Connector chips */
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

@media (max-width: 400px) { .chips { grid-template-columns: repeat(2, 1fr); } }

.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 12px;
  font-weight: 500;
}

.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-status-active); flex-shrink: 0; }

.chip--soon { color: var(--color-text-faint); }

.chip--soon .dot { background: var(--color-border); }

/* Skill rows */
.skill-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #8ea4ef;
  background: var(--accent-surface);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}

/* Approve/deny buttons */
.mini-actions { display: flex; gap: 6px; flex-shrink: 0; }

.mini-btn {
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 6px;
  padding: 4px 11px;
  border: 1px solid transparent;
}

.mini-btn--approve { background: rgba(48, 164, 108, 0.15); color: var(--color-status-active); }

.mini-btn--deny { background: transparent; color: var(--color-text-faint); border-color: var(--color-border); }

/* Report chart */
.chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 110px;
  padding: 4px 2px 0;
  margin-bottom: 12px;
}

.chart span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--color-accent), color-mix(in srgb, var(--color-accent) 40%, var(--color-surface)));
  min-height: 8px;
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.stat {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: 9px;
  padding: 11px 12px;
}

.stat b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }

.stat span { font-size: 10.5px; color: var(--color-text-faint); font-family: var(--font-mono); }

/* Blueprint flow */
.bp { text-align: center; }

.bp__card {
  display: inline-block;
  background: var(--color-surface-raised);
  border: 1px solid color-mix(in srgb, var(--color-accent) 40%, var(--color-border));
  border-radius: 11px;
  padding: 14px 22px;
  margin-bottom: 6px;
}

.bp__card b { display: block; font-size: 13.5px; }

.bp__card span { font-size: 11px; color: var(--color-text-faint); font-family: var(--font-mono); }

.bp__arrows {
  color: var(--color-text-faint);
  font-family: var(--font-mono);
  font-size: 12px;
  margin: 6px 0 10px;
}

.bp__deploys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.bp__deploy {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: 9px;
  padding: 10px 8px;
  font-size: 11.5px;
  font-weight: 500;
}

.bp__deploy .panel__sub { display: block; margin-top: 2px; }

/* ── Hero audience paths ─────────────────── */
.hero__paths {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 18px;
}

.hero--left .hero__paths { justify-content: flex-start; }

.hero__paths a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  border-bottom: 1px dashed var(--color-border);
  padding-bottom: 2px;
  transition: color 120ms ease, border-color 120ms ease;
}

.hero__paths a:hover { color: var(--color-text); border-color: var(--color-accent); }

/* ── Credibility strip ───────────────────── */
.cred { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: var(--color-surface); padding: 0; }

.cred__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 36px;
  padding: 16px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-muted);
}

.cred__inner a { color: var(--color-text); text-decoration: none; }

.cred__item { display: inline-flex; align-items: center; gap: 8px; }

.cred__item i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px rgba(62, 99, 221, 0.8);
}

/* ── Mid-page CTA with product shot ──────── */
.midcta { padding-top: 0; }

.midcta__panel {
  display: grid;
  grid-template-columns: minmax(280px, 5fr) 7fr;
  gap: 40px;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(62, 99, 221, 0.12), transparent 70%),
    var(--color-surface);
  padding: 40px 44px;
  overflow: hidden;
}

@media (max-width: 900px) { .midcta__panel { grid-template-columns: 1fr; padding: 32px 24px; } }

.midcta__copy h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.02em; margin: 10px 0 12px; }

.midcta__copy p { color: var(--color-text-muted); font-size: 15px; margin-bottom: 22px; }

.midcta__shot img {
  display: block;
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.85);
}

/* ── FAQ ─────────────────────────────────── */
.faq__list { max-width: 760px; margin: 0 auto; }

.faq__list details {
  border-bottom: 1px solid var(--color-border);
}

.faq__list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--color-text);
}

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

.faq__list summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--color-text-faint);
  transition: transform 150ms ease;
}

.faq__list details[open] summary::after { transform: rotate(45deg); color: var(--color-accent); }

.faq__list details p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.65;
  padding: 0 4px 18px;
  max-width: 640px;
}

.faq__contact {
  max-width: 760px;
  margin: 22px auto 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--color-text-faint);
}

.faq__contact a { color: var(--color-text-muted); text-decoration: none; }

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

/* ── 3D network (Babylon.js) ─────────────── */
.network { padding-top: 0; }

.network__stage {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(62, 99, 221, 0.10), transparent 75%),
    var(--color-surface);
  overflow: hidden;
  box-shadow: 0 30px 80px -35px rgba(0, 0, 0, 0.8);
}

.network__canvas {
  display: block;
  width: 100%;
  height: 520px;
  outline: none;
  touch-action: pan-y;
  cursor: grab;
}

.network__canvas:active { cursor: grabbing; }

@media (max-width: 700px) { .network__canvas { height: 380px; } }

.network__hint {
  position: absolute;
  bottom: 14px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-faint);
  pointer-events: none;
}

.network__legend {
  position: absolute;
  bottom: 14px;
  left: 18px;
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-faint);
  pointer-events: none;
}

.network__legend span { display: inline-flex; align-items: center; gap: 6px; }

.network__legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

/* ── Trust strip ─────────────────────────── */
.trust { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: var(--color-surface); padding: 64px 0; }

.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

@media (max-width: 860px) { .trust__grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 480px) { .trust__grid { grid-template-columns: 1fr; } }

.trust__item h3 { font-size: 14.5px; font-weight: 600; margin: 12px 0 6px; }

.trust__item p { font-size: 13px; color: var(--color-text-muted); line-height: 1.5; }

.trust__item svg { width: 20px; height: 20px; stroke: #8ea4ef; }

/* ── SMB / IP safety ─────────────────────── */
.smb__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

@media (max-width: 800px) { .smb__grid { grid-template-columns: 1fr; } }

.smb-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 26px 24px;
}

.smb-card__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.smb-card__tag svg { width: 18px; height: 18px; stroke: #8ea4ef; }

.smb-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }

.smb-card p { color: var(--color-text-muted); font-size: 14px; line-height: 1.6; }

/* ── Steps (for experts) ─────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 26px 24px;
}

.step__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }

.step p { color: var(--color-text-muted); font-size: 14px; }

/* ── Beta CTA ────────────────────────────── */
.beta { text-align: center; }

.beta__panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
  padding: 70px 28px;
}

.beta__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 70% at 50% 115%, rgba(62, 99, 221, 0.25), transparent 70%);
  pointer-events: none;
}

.beta__panel > * { position: relative; }

.beta h2 { max-width: 560px; margin-left: auto; margin-right: auto; }

.beta p { color: var(--color-text-muted); max-width: 480px; margin: 0 auto 32px; }

.beta__form {
  display: flex;
  gap: 10px;
  justify-content: center;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.beta__form input {
  flex: 1;
  min-width: 220px;
  background: var(--color-surface-input);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 14.5px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 120ms ease;
}

.beta__form input::placeholder { color: var(--color-text-faint); }

.beta__form input:focus { border-color: var(--color-accent); }

.beta__note {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-faint);
}

.beta__confirm {
  display: none;
  margin-top: 20px;
  color: var(--color-status-active);
  font-size: 14px;
  font-weight: 500;
}

/* ── Footer ──────────────────────────────── */
footer {
  border-top: 1px solid var(--color-border);
  padding: 34px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--color-text-faint);
  font-size: 13px;
}

.footer__inner a { color: var(--color-text-muted); text-decoration: none; }

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

/* ── Reveal animation ────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 500ms ease, transform 500ms ease; }

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .badge .pulse { animation: none; }
}
