/* RevOpsAudit.ai: dark, high-contrast, restrained neon accents */
:root {
  --bg: #0b0d12;
  --bg-alt: #11141b;
  --surface: #161a23;
  --border: #252b38;
  --text: #f2f4f8;
  --muted: #9aa3b5;
  --cyan: #22d3ee;      /* data */
  --violet: #a78bfa;    /* AI */
  --green: #34d399;     /* healthy only */
  --amber: #fbbf24;     /* warnings */
  --red: #f87171;       /* high severity, sparingly */
  --radius: 12px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 13, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.logo { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.logo span { color: var(--cyan); }
.nav-links { display: flex; gap: 28px; font-size: 0.93rem; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 10px;
  font-weight: 600; font-size: 0.97rem; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  font-family: inherit;
}
.btn-sm { padding: 8px 14px; font-size: 0.88rem; }
.btn-primary { background: var(--cyan); color: #04141a; }
.btn-primary:hover { box-shadow: 0 0 24px rgba(34, 211, 238, 0.35); transform: translateY(-1px); }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan); }

/* Typography */
.eyebrow {
  font-family: "JetBrains Mono", monospace; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--cyan); margin-bottom: 14px;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 20px; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 16px; max-width: 760px; }
.center h2 { margin-left: auto; margin-right: auto; }
h3 { font-size: 1.08rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.section-lead { color: var(--muted); font-size: 1.05rem; max-width: 680px; margin-bottom: 36px; }
.center .section-lead { margin-left: auto; margin-right: auto; }
.section-foot { color: var(--muted); margin-top: 32px; max-width: 680px; }
.section-foot em { color: var(--text); }
.note { color: var(--muted); font-size: 0.88rem; margin-top: 20px; }

/* Hero */
.hero {
  padding: 96px 0 88px;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(167, 139, 250, 0.14), transparent 70%),
    radial-gradient(500px 300px at 10% 90%, rgba(34, 211, 238, 0.10), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.scan-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.scan-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 0.85rem; color: var(--muted); }
.pulse { color: var(--violet); font-size: 0.8rem; display: flex; align-items: center; gap: 8px; }
.pulse::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--violet);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.pipeline { list-style: none; display: grid; gap: 14px; }
.pipeline li { display: grid; grid-template-columns: 130px 1fr 64px; align-items: center; gap: 12px; font-size: 0.85rem; }
.bar { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--cyan); border-radius: 3px; }
.bar i.warn { background: var(--amber); }
.bar i.crit { background: var(--red); }
.scan-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--muted); }
.scan-foot b { color: var(--text); font-weight: 500; }
.warn-text { color: var(--amber) !important; }
.scan-note { font-size: 0.72rem; color: var(--muted); margin-top: 12px; opacity: .7; }

/* Tags */
.tag { font-size: 0.72rem; padding: 3px 8px; border-radius: 999px; text-align: center; font-weight: 500; white-space: nowrap; }
.tag.ok { background: rgba(52, 211, 153, 0.12); color: var(--green); }
.tag.warn { background: rgba(251, 191, 36, 0.12); color: var(--amber); }
.tag.crit { background: rgba(248, 113, 113, 0.12); color: var(--red); }
.tag.mid { background: rgba(167, 139, 250, 0.14); color: var(--violet); }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* Problem quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quotes blockquote {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--violet);
  border-radius: 8px; padding: 16px 18px; font-size: 1rem;
}

/* Steps */
.steps { list-style: none; display: grid; gap: 16px; max-width: 820px; }
.steps li { display: flex; gap: 22px; align-items: flex-start; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.step-num { font-family: "JetBrains Mono", monospace; color: var(--cyan); font-size: 0.9rem; padding-top: 2px; }
.steps p { color: var(--muted); font-size: 0.95rem; }

/* Findings */
.finding { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.finding-meta { display: flex; gap: 8px; margin-bottom: 14px; }
.finding h3 { font-size: 1.15rem; margin-bottom: 16px; }
.finding dl { display: grid; gap: 12px; }
.finding dt { font-family: "JetBrains Mono", monospace; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cyan); }
.finding dd { color: var(--muted); font-size: 0.95rem; }

/* Score */
.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.score-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.score-row { display: flex; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.score-row:last-child { border-bottom: none; }
.score-row span:last-child { font-family: "JetBrains Mono", monospace; color: var(--cyan); }
.score-row.head { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.score-row.head span:last-child { color: var(--muted); }

/* Chips */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { border: 1px solid var(--border); background: var(--surface); padding: 10px 16px; border-radius: 999px; font-size: 0.95rem; }

/* Pricing */
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 20px 50px rgba(34, 211, 238, 0.08); }
.price-card .price { font-size: 1.7rem; font-weight: 700; margin: 6px 0 16px; color: var(--text) !important; }
.price small { font-size: 0.85rem; font-weight: 400; color: var(--muted); display: block; }
.price-card ul { list-style: none; display: grid; gap: 8px; margin-bottom: 24px; flex: 1; }
.price-card li { color: var(--muted); font-size: 0.93rem; padding-left: 20px; position: relative; }
.price-card li::before { content: "→"; position: absolute; left: 0; color: var(--cyan); }
.price-card .btn { text-align: center; }

/* FAQ */
details { border-bottom: 1px solid var(--border); padding: 20px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--cyan); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin-top: 12px; }

/* Final CTA */
.final-cta { background: radial-gradient(700px 300px at 50% 0%, rgba(34, 211, 238, 0.10), transparent 70%); border-top: 1px solid var(--border); }
.signup { display: flex; gap: 12px; max-width: 560px; margin: 0 auto; }
.signup input {
  flex: 1; min-width: 0; padding: 13px 16px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 1rem; font-family: inherit;
}
.signup input:focus { outline: none; border-color: var(--cyan); }
.form-msg { margin-top: 16px; color: var(--green); }
.form-error { color: var(--red); }

/* Hero byline */
.hero-byline { color: var(--muted); font-size: 0.93rem; margin-top: 24px; max-width: 520px; }
.hero-byline strong { color: var(--text); }

/* Proof bar */
.proof { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); padding: 36px 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.proof-num { display: block; font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em; color: var(--cyan); }
.proof-label { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

/* Deliverables */
.deliverables { list-style: none; display: grid; gap: 10px; }
.deliverables li { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px 14px 44px; position: relative; }
.deliverables li::before { content: "✓"; position: absolute; left: 18px; color: var(--green); font-weight: 700; }

/* About */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.headshot { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); }
.about-grid p { color: var(--muted); margin-bottom: 14px; max-width: 640px; }
.chips.small { margin-top: 20px; gap: 8px; }
.chips.small li { font-size: 0.85rem; padding: 6px 12px; }

/* Request form */
.request-form { display: grid; gap: 16px; text-align: left; max-width: 620px; margin: 0 auto; }
.request-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.request-form label { display: grid; gap: 6px; font-size: 0.9rem; color: var(--muted); }
.request-form input, .request-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 1rem; font-family: inherit; resize: vertical;
}
.request-form input:focus, .request-form textarea:focus { outline: none; border-color: var(--cyan); }
.request-form button { justify-self: start; }

/* Legal pages */
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal strong { color: var(--text); }
.legal ul { padding-left: 20px; }
.legal a, .form-consent a, .footer a { color: var(--cyan); }
.form-consent { color: var(--muted); font-size: 0.85rem; margin-top: 12px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 32px 0; color: var(--muted); font-size: 0.88rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .score-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .grid-4, .quotes, .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .headshot { max-width: 320px; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 64px 0; }
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4, .quotes { grid-template-columns: 1fr; }
  .signup { flex-direction: column; }
  .request-form .form-row { grid-template-columns: 1fr; }
  .request-form button { justify-self: stretch; }
  .proof-num { font-size: 1.5rem; }
  .pipeline li { grid-template-columns: 110px 1fr 56px; font-size: 0.78rem; }
}

/* Pricing */
.price-for { font-size: 0.9rem !important; margin: -8px 0 16px; }
