/* ────────────────────────────────────────────────────────────
   VisibilityPro · shared marketing-site styles
   ──────────────────────────────────────────────────────────── */
:root {
  /* Emerald-on-neutral-white palette — re-valued from warm-orange-on-paper per
     AINS-LANDING-COLOR-TOKENS-2026-06-13 (ref: docs/fast-ai-reach-main emerald theme).
     Landing-only: design_new/ stays orange — see CLAUDE.md design-reference note. */
  --ink: #171717;
  --ink-2: #2b2b2b;
  --ink-3: #737373;
  --ink-4: #8a8a8a;
  --ink-5: #a3a3a3;
  --bg: #fafafa;
  --paper: #ffffff;
  --line: #e5e5e5;
  --line-2: #f0f0f0;
  --accent: #00A36D;
  --accent-ink: #008558;   /* accent-as-text on light bg — WCAG AA 4.67:1 */
  --accent-soft: #ecf9f4;
  --green: #008558;
  --red: #dc2828;
  --indigo: #2b2b2b;       /* off-ref indigo neutralized — no live consumer */
  --yellow: #b45309;       /* off-ref status/caution color, retained (load-bearing) */
  /* Secondary surfaces + accent — pre-existing tokens that pages reference but
     were never defined in :root (rendered transparent / broke gradients);
     defined neutral here to complete the emerald-on-neutral-white theme. */
  --cream: #f5f5f5;        /* warm "cream" surface → neutral light surface */
  --paper-2: #f5f5f5;      /* secondary card/section surface */
  --surface-2: #f0f0f0;    /* secondary pill/chip surface */
  --accent-2: #00cc88;     /* brighter emerald for accent gradients */
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  font-family: 'Inter', ui-sans-serif, system-ui;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
.mono { font-family: 'JetBrains Mono', monospace; }
.serif { font-family: 'Newsreader', Georgia, serif; font-weight: 400; }
a { color: inherit; }

/* ─── NAV ─────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,250,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
  padding: 14px 32px;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 16px; letter-spacing: -0.3px;
  text-decoration: none; color: var(--ink);
}
.brand-mark {
  width: 26px; height: 26px;
  background: var(--ink);
  color: var(--accent);
  border-radius: 6px;
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 700;
}
.nav-links { display: flex; gap: 24px; flex: 1; }
.nav-links a {
  color: var(--ink-3); text-decoration: none; font-size: 13.5px; font-weight: 500;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -19px; left: 0; right: 0;
  height: 2px; background: var(--accent);
}
.nav-right { display: flex; gap: 10px; align-items: center; }
.nav-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 99px; background: var(--green);
  box-shadow: 0 0 0 3px rgba(31,122,77,0.18);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(31,122,77,0.18); }
  50%     { box-shadow: 0 0 0 5px rgba(31,122,77,0.08); }
}

/* ─── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 7px;
  font-size: 13px; font-weight: 600;
  font-family: inherit; cursor: pointer; border: none;
  text-decoration: none;
  transition: transform 120ms ease, background 120ms ease;
  color: var(--ink);
}
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: white; }
.btn-dark { background: var(--ink); color: white; }
.btn-dark:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: #008558; transform: translateY(-1px); }
.btn-lg { padding: 12px 20px; font-size: 14px; border-radius: 9px; }

/* ─── LAYOUT PRIMITIVES ───────────────────────────── */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }
section { padding: 80px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--accent-ink);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--accent); }
h1.display {
  font-size: clamp(48px, 6.4vw, 88px);
  line-height: 0.96;
  letter-spacing: -3px;
  font-weight: 600;
  margin: 0 0 24px;
}
h1.display em, h2 em, h3 em { font-family: 'Newsreader', Georgia, serif; font-style: italic; font-weight: 400; color: var(--accent-ink); }
h2.section-title {
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -1.4px;
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 18px;
}
h3.title {
  font-size: 26px;
  letter-spacing: -0.6px;
  font-weight: 600;
  margin: 0 0 12px;
}
.section-sub {
  font-size: 17px; color: var(--ink-3); line-height: 1.5; max-width: 56ch;
  margin: 0 0 48px;
}

/* ─── PAGE HEADER ─────────────────────────────────── */
.page-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper), transparent);
}
.crumbs {
  display: flex; gap: 6px; font-size: 11.5px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--ink-4); margin-bottom: 24px;
}
.crumbs a { color: var(--ink-4); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span.sep { color: var(--ink-5); }
.page-hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -2px;
  font-weight: 600;
  margin: 0 0 18px;
  max-width: 18ch;
}
.page-hero p.lede {
  font-size: 18px; color: var(--ink-3);
  max-width: 60ch; margin: 0; line-height: 1.5;
}

/* ─── CARDS ───────────────────────────────────────── */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
}
.card.dark { background: var(--ink); color: white; border-color: var(--ink); }
.card.dark a { color: white; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ─── PILLS ───────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  background: #f5f5f5;
  color: var(--ink-2);
  padding: 3px 8px;
  border-radius: 99px;
  border: 1px solid var(--line);
}
.pill.accent { background: var(--accent-soft); color: var(--accent-ink); border-color: rgba(0,163,109,0.2); }
.pill.green { background: #ecf6f0; color: var(--green); border-color: rgba(31,122,77,0.2); }

/* ─── FOOTER ──────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(5, 1fr);
  gap: 36px;
}
.footer-grid h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--ink-4); margin: 0 0 14px; font-weight: 600;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: var(--ink-3); text-decoration: none; font-size: 13px; }
.footer-grid a:hover { color: var(--ink); }
.footer-meta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-size: 11.5px; color: var(--ink-4);
  font-family: 'JetBrains Mono', monospace;
}

/* ─── CTA STRIP ───────────────────────────────────── */
.cta-strip {
  background: var(--ink);
  color: white;
  border-radius: 24px;
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 80% 0%, rgba(0,163,109,0.25), transparent 60%),
              radial-gradient(500px 280px at 10% 100%, rgba(67,56,202,0.22), transparent 60%);
}
.cta-strip-inner { position: relative; }
.cta-strip h2 { font-size: clamp(32px, 4vw, 52px); color: white; margin: 0 0 14px; letter-spacing: -1.5px; }
.cta-strip p { color: rgba(255,255,255,0.7); font-size: 16px; max-width: 56ch; margin: 0 auto 28px; }
.cta-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ─── PROSE (long-form) ───────────────────────────── */
.prose { color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.prose p { margin: 0 0 18px; }
.prose h2 { font-size: 32px; letter-spacing: -0.8px; margin: 48px 0 16px; font-weight: 600; }
.prose h3 { font-size: 22px; letter-spacing: -0.4px; margin: 36px 0 12px; font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 22px;
  margin: 24px 0;
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: var(--ink-2);
  line-height: 1.4;
}
.prose code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88em;
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.prose pre {
  background: var(--ink); color: white;
  padding: 18px 22px; border-radius: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; line-height: 1.55;
  overflow-x: auto;
}
.prose pre code { background: transparent; border: none; padding: 0; color: white; font-size: inherit; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ─── CHECK ROWS ──────────────────────────────────── */
.check-row {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; line-height: 1.5; padding: 6px 0;
}
.check-row svg { color: var(--green); flex-shrink: 0; margin-top: 4px; }
.check-row.x svg { color: var(--ink-5); }
.check-row.accent svg { color: var(--accent); }

/* ─── TABLES ──────────────────────────────────────── */
.tbl {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  font-size: 13.5px;
  background: var(--paper);
}
.tbl th, .tbl td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.tbl tr:last-child td { border-bottom: none; }
.tbl th {
  font-weight: 600;
  font-size: 12px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #fafafa;
  font-family: 'JetBrains Mono', monospace;
}
.tbl tbody tr:hover { background: #fafafa; }

/* ─── FORMS ───────────────────────────────────────── */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12px; font-weight: 600;
  color: var(--ink-3); margin-bottom: 6px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.input {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit; font-size: 14px;
  background: white;
  color: var(--ink);
}
.input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
