/* PromptSpotter marketing site — dark theme, matches admin console. */

:root {
  --bg: #0a0a0a;
  --surface: #171717;
  --surface-2: #1f1f1f;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.10);
  --text: #f5f5f5;
  --text-2: rgba(255, 255, 255, 0.65);
  --text-3: rgba(255, 255, 255, 0.42);
  --accent: #10b981;
  --accent-hover: #34d399;
  --accent-soft: rgba(16, 185, 129, 0.12);
  --danger: #f87171;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.02) inset;
  --max-width: 1120px;
  --prose-width: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent-hover); }

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

/* -------------------------------------------------------------------
   Top nav
   ------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 10, 10, 0.85);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.5);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 150ms ease;
}
.nav-links a:hover { color: var(--text); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: var(--radius);
  padding: 6px 10px;
  font-size: 14px;
  cursor: pointer;
}

/* -------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 180ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #052e22;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #052e22;
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: transparent;
  padding: 10px 14px;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.04); }
.btn-sm { font-size: 13px; padding: 8px 14px; }
.btn-lg { font-size: 16px; padding: 14px 24px; }

/* -------------------------------------------------------------------
   Layout primitives
   ------------------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 96px 0;
  position: relative;
}
.section-tight { padding: 64px 0; }
.section-title {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.1;
}
.section-lede {
  font-size: 18px;
  color: var(--text-2);
  max-width: 640px;
  margin: 0 0 56px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

/* -------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.20), rgba(16, 185, 129, 0.06) 35%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 24px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub {
  font-size: 19px;
  color: var(--text-2);
  max-width: 680px;
  margin: 0 auto 36px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-3);
}

.hero-shot {
  margin-top: 72px;
  position: relative;
  z-index: 1;
}
.browser-frame {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.02);
}
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #111111;
  border-bottom: 1px solid var(--border);
}
.browser-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.browser-url {
  margin-left: 16px;
  font-size: 12px;
  color: var(--text-3);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.browser-body {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 14px;
  background:
    radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.06), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.02), transparent 50%),
    linear-gradient(180deg, #131313 0%, #0e0e0e 100%);
  position: relative;
}
.browser-body::after {
  content: "[Admin dashboard screenshot]";
  letter-spacing: 0.04em;
}

/* -------------------------------------------------------------------
   Logo strip
   ------------------------------------------------------------------- */
.logos {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
  margin: 0 0 24px;
}
.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 56px;
  opacity: 0.55;
}
.logos-grid span {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-2);
  font-family: "Inter", system-ui, sans-serif;
}

/* -------------------------------------------------------------------
   Generic cards / grids
   ------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 20px;
}
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 200ms ease;
}
.card:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.card h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.card p {
  color: var(--text-2);
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}
.card-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 18px;
}

/* -------------------------------------------------------------------
   "Problem" section
   ------------------------------------------------------------------- */
.problem-stat {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 12px;
  color: var(--text);
}
.problem-stat .accent { color: var(--accent); }

/* -------------------------------------------------------------------
   "How it works" steps
   ------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  position: relative;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #052e22;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 18px;
}
.step h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.step p {
  color: var(--text-2);
  font-size: 15px;
  margin: 0;
}

/* -------------------------------------------------------------------
   Detection grid
   ------------------------------------------------------------------- */
.detect-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.detect-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: all 200ms ease;
}
.detect-card:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}
.detect-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.detect-card p {
  font-size: 13.5px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.5;
}
.detect-icon {
  font-size: 18px;
  margin-bottom: 12px;
  display: inline-block;
}

/* -------------------------------------------------------------------
   Pricing
   ------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 200ms ease;
}
.price-card:hover {
  border-color: var(--border-strong);
}
.price-card.is-featured {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06), transparent 50%), var(--surface);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.10), 0 24px 60px rgba(16, 185, 129, 0.06);
}
.price-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #052e22;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0 0 12px;
}
.price-amount {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 4px;
}
.price-amount-sub {
  font-size: 14px;
  color: var(--text-2);
  margin: 0 0 4px;
}
.price-amount-foot {
  font-size: 13px;
  color: var(--text-3);
  margin: 0 0 24px;
}
.price-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.price-features li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.5;
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.price-cta { width: 100%; }

/* -------------------------------------------------------------------
   Security / trust
   ------------------------------------------------------------------- */
.trust {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.trust h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
}
.trust p { color: var(--text-2); margin: 0 0 20px; }
.trust-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.trust-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-2);
  font-size: 15px;
}
.trust-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.trust-links a {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
}
.trust-links a:hover { color: var(--accent-hover); }

/* -------------------------------------------------------------------
   FAQ
   ------------------------------------------------------------------- */
.faq {
  max-width: 800px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--text-3);
  transition: transform 200ms ease, color 200ms ease;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "−";
  color: var(--accent);
}
.faq details p {
  margin: 14px 0 0;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
  max-width: 720px;
}

/* -------------------------------------------------------------------
   CTA banner
   ------------------------------------------------------------------- */
.cta-banner {
  background:
    radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.18), transparent 60%),
    var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 64px 32px;
  text-align: center;
}
.cta-banner h2 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 14px;
}
.cta-banner p {
  font-size: 17px;
  color: var(--text-2);
  margin: 0 0 28px;
}
.cta-banner-ctas { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* -------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand p {
  color: var(--text-3);
  font-size: 14px;
  margin: 12px 0 0;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--text-2);
  font-size: 14px;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 48px auto 0;
  padding: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 12px;
}

/* -------------------------------------------------------------------
   Legal / prose pages
   ------------------------------------------------------------------- */
.prose-shell {
  padding: 144px 0 96px;
}
.prose {
  max-width: var(--prose-width);
  margin: 0 auto;
  padding: 0 24px;
}
.prose .crumbs {
  font-size: 13px;
  color: var(--text-3);
  margin: 0 0 24px;
}
.prose .crumbs a { color: var(--text-2); }
.prose .crumbs a:hover { color: var(--accent-hover); }
.prose article { padding: 0; }
.prose h1 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 10px;
}
.prose .meta {
  color: var(--text-3);
  font-size: 13px;
  margin: 0 0 40px;
}
.prose h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 48px 0 14px;
  color: var(--text);
}
.prose h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 28px 0 8px;
  color: var(--text);
}
.prose p, .prose li {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.7;
}
.prose p { margin: 0 0 16px; }
.prose ul { padding-left: 22px; margin: 0 0 18px; }
.prose ul li { margin: 6px 0; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(16, 185, 129, 0.3);
}
.prose a:hover { color: var(--accent-hover); border-bottom-color: var(--accent-hover); }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14.5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.prose th, .prose td {
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  color: var(--text-2);
}
.prose tr:last-child th, .prose tr:last-child td { border-bottom: none; }
.prose th {
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.prose code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13.5px;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text);
  border: 1px solid var(--border);
}
.prose em { color: var(--text); font-style: italic; }

/* -------------------------------------------------------------------
   Pricing page comparison table
   ------------------------------------------------------------------- */
.compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 14.5px;
}
.compare th, .compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare thead th {
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-2);
}
.compare thead th:not(:first-child) { text-align: center; }
.compare tbody td:not(:first-child) { text-align: center; color: var(--text-2); }
.compare tbody td:first-child { color: var(--text); font-weight: 500; }
.compare tbody tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--accent); font-weight: 600; }
.compare .no { color: var(--text-3); }
.compare .group td {
  background: rgba(255, 255, 255, 0.02);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 12px 18px;
}

/* -------------------------------------------------------------------
   Help centre — sidebar + content layout
   -------------------------------------------------------------------
   Two-column shell: sticky topic sidebar on the left, prose on the
   right. Collapses to a stacked layout (sidebar above content) on
   narrow viewports — we don't try a slide-out drawer here because the
   sidebar is short (six links) and reads fine as a top block. */
.help-shell {
  padding: 120px 0 96px;
}
.help-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.help-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
}
.help-sidebar h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 14px;
}
.help-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.help-sidebar a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-2);
  border-left: 2px solid transparent;
  margin-left: -2px;
  line-height: 1.4;
}
.help-sidebar a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.help-sidebar a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--accent);
  font-weight: 500;
}
.help-content {
  min-width: 0;
}
.help-content .crumbs {
  font-size: 13px;
  color: var(--text-3);
  margin: 0 0 16px;
}
.help-content .crumbs a { color: var(--text-2); }
.help-content .crumbs a:hover { color: var(--accent-hover); }
.help-content h1 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 12px;
}
.help-content .lede {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0 0 32px;
}
.help-content h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 40px 0 12px;
  color: var(--text);
}
.help-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 28px 0 8px;
  color: var(--text);
}
.help-content p, .help-content li {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.65;
}
.help-content p { margin: 0 0 16px; }
.help-content ol, .help-content ul { padding-left: 22px; margin: 0 0 20px; }
.help-content ol li, .help-content ul li { margin: 8px 0; }
.help-content strong { color: var(--text); font-weight: 600; }
.help-content a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(16, 185, 129, 0.3);
}
.help-content a:hover { color: var(--accent-hover); border-bottom-color: var(--accent-hover); }
.help-content code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13.5px;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text);
  border: 1px solid var(--border);
}
.help-callout {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 20px 0 24px;
}
.help-callout p { margin: 0; font-size: 14.5px; }
/* Placeholder for an image the user will drop in later. The HTML comment
   nearby tells them what to capture. */
.help-shot {
  display: block;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 10px, transparent 10px 20px),
    var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  padding: 56px 24px;
  margin: 16px 0 24px;
}
.help-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 0;
}
.help-topic {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: all 200ms ease;
  border-bottom: 1px solid var(--border);
}
.help-topic:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.help-topic h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.help-topic p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}

/* -------------------------------------------------------------------
   Status page — simple "is everything up?" indicators
   ------------------------------------------------------------------- */
.status-headline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
}
.status-headline h1 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}
.status-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.5);
}
.status-dot.is-warn { background: #f59e0b; box-shadow: 0 0 14px rgba(245, 158, 11, 0.45); }
.status-dot.is-down { background: var(--danger); box-shadow: 0 0 14px rgba(248, 113, 113, 0.45); }
.status-updated {
  color: var(--text-3);
  font-size: 13px;
  margin: 0 0 32px;
}
.status-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}
.status-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
}
.status-list li:last-child { border-bottom: none; }
.status-list .status-component { font-weight: 500; }
.status-list .status-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-2);
}
.status-list .status-state .status-dot { width: 10px; height: 10px; }
.status-foot {
  color: var(--text-3);
  font-size: 14px;
  line-height: 1.6;
}

/* -------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------- */
@media (max-width: 960px) {
  .grid-3, .grid-4, .pricing-grid, .steps { grid-template-columns: 1fr 1fr; }
  .detect-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 32px; }
  .trust { padding: 40px 28px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  /* Stack the help sidebar above the content. Drop sticky so the topic
     list doesn't lock to the top of a short viewport. */
  .help-grid { grid-template-columns: 1fr; gap: 24px; }
  .help-sidebar { position: static; }
  .help-sidebar ul { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .help-sidebar a { padding: 6px 12px; border-left: none; margin-left: 0; }
  .help-sidebar a.is-active { border-left: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 128px 0 64px; }
  .hero-shot { margin-top: 48px; }
  .section-title { font-size: 30px; }
  .grid-3, .grid-4, .pricing-grid, .steps, .detect-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 14px;
    gap: 14px;
    min-width: 200px;
  }
  .nav-toggle { display: inline-flex; }
  .cta-banner { padding: 48px 24px; }
  .cta-banner h2 { font-size: 28px; }
  .trust h2 { font-size: 26px; }
  .prose h1 { font-size: 32px; }
  .prose-shell { padding: 120px 0 64px; }
  .compare { font-size: 13px; }
  .compare th, .compare td { padding: 12px 10px; }
  .help-shell { padding: 96px 0 64px; }
  .help-content h1 { font-size: 28px; }
  .help-topic-grid { grid-template-columns: 1fr; }
}
