
/* Revenue AI Lab design system. Source of truth: /brand/BRAND.md */
:root {
  --ink: #0a0a0a;
  --panel: #111214;
  --line: #232323;
  --white: #f4f4f2;
  --dim: #8a8f98;
  --accent: #ff4d00;
  --accent-press: #e04300;
  --ok: #3ecf6e;
  --max: 1080px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --head: "Space Grotesk", -apple-system, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--white); font-family: var(--body); line-height: 1.65; font-size: 17px; }
a { color: var(--white); text-decoration: none; }
a:hover { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* status bar */
.statusbar { border-bottom: 1px solid var(--line); background: #0d0d0d; }
.statusbar .wrap { display: flex; align-items: center; gap: 10px; height: 34px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); overflow: hidden; white-space: nowrap; }
.statusbar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.statusbar b { color: var(--white); font-weight: 500; }

/* header */
header.site { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(10,10,10,.94); backdrop-filter: blur(8px); z-index: 50; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.logo { font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--white); }
.logo span { color: var(--accent); }
nav.main { display: flex; align-items: center; }
nav.main a { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-left: 22px; }
nav.main a:hover { color: var(--white); }
nav.main a.cta { color: var(--ink); background: var(--accent); padding: 9px 14px; font-weight: 700; }
nav.main a.cta:hover { background: var(--accent-press); color: var(--ink); }

/* hero */
.hero { padding: 84px 0 64px; }
.kicker { font-family: var(--mono); color: var(--accent); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 20px; }
.hero h1, h1 { font-family: var(--head); font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -.02em; max-width: 860px; font-weight: 700; }
.u { box-shadow: inset 0 -6px 0 0 var(--accent); }
.hero p.sub { margin-top: 24px; font-size: 19px; color: var(--dim); max-width: 660px; }
.btn-row { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 22px; font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.btn.primary { background: var(--accent); color: var(--ink); }
.btn.primary:hover { background: var(--accent-press); color: var(--ink); }
.btn.ghost { border: 1px solid var(--line); color: var(--white); }
.btn.ghost:hover { border-color: var(--accent); color: var(--white); }

/* ticker */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); overflow: hidden; white-space: nowrap; }

/* sections */
section { padding: 68px 0; }
section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-family: var(--head); font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.01em; line-height: 1.12; margin-bottom: 14px; font-weight: 700; }
h3 { font-family: var(--head); font-size: 20px; margin-bottom: 8px; font-weight: 700; }
.lead { color: var(--dim); font-size: 18px; max-width: 720px; }
.lead a { color: var(--white); border-bottom: 1px solid var(--accent); }
.lead a:hover { color: var(--accent); }

/* cards + grid */
.grid { display: grid; gap: 1px; margin-top: 40px; background: var(--line); border: 1px solid var(--line); }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .grid.c2 { grid-template-columns: 1fr; } }
.card { background: var(--ink); padding: 28px; position: relative; }
.card p { color: var(--dim); font-size: 15.5px; margin-top: 8px; }
.card .idx { font-family: var(--mono); color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: .1em; display: block; margin-bottom: 14px; }
.card .num { font-family: var(--head); font-size: 40px; font-weight: 700; color: var(--accent); letter-spacing: -.02em; }
.stat-label { font-family: var(--mono); color: var(--dim); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; margin-top: 10px; line-height: 1.7; }
.proof-note { margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--dim); text-transform: uppercase; }
.proof-note a { color: var(--white); border-bottom: 1px solid var(--accent); }

/* keyword table */
table.kw { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 15px; border: 1px solid var(--line); }
table.kw th, table.kw td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.kw th { font-family: var(--mono); color: var(--dim); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; background: var(--panel); }
table.kw td:first-child { font-family: var(--mono); font-size: 14px; }
table.kw td.pos { font-family: var(--mono); color: var(--accent); font-weight: 700; }

/* pricing */
.price-card { display: flex; flex-direction: column; }
.price { font-family: var(--head); font-size: 40px; font-weight: 700; letter-spacing: -.02em; margin: 10px 0 2px; }
.price small { font-family: var(--mono); font-size: 13px; color: var(--dim); font-weight: 500; }
.price-card ul { list-style: none; margin: 18px 0 24px; }
.price-card ul li { padding: 8px 0 8px 22px; color: var(--dim); font-size: 15px; border-bottom: 1px solid var(--line); position: relative; }
.price-card ul li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-family: var(--mono); font-size: 13px; }
.price-card ul li:last-child { border-bottom: none; }
.price-card .btn { margin-top: auto; text-align: center; }
.badge { display: inline-block; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); padding: 4px 10px; margin-bottom: 14px; }

/* form */
form.audit { max-width: 560px; margin-top: 30px; }
form.audit label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 18px 0 6px; }
form.audit input, form.audit select, form.audit textarea { width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 0; color: var(--white); padding: 13px 14px; font-size: 16px; font-family: var(--body); }
form.audit input:focus, form.audit select:focus, form.audit textarea:focus { outline: none; border-color: var(--accent); }
form.audit button { margin-top: 24px; border: none; cursor: pointer; }

/* article */
article.post { max-width: 760px; margin: 0 auto; padding: 64px 24px; }
article.post h1 { font-size: clamp(30px, 4vw, 44px); }
article.post .meta { font-family: var(--mono); color: var(--dim); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin: 18px 0 36px; }
article.post h2 { font-size: 27px; margin: 44px 0 12px; }
article.post h3 { font-size: 20px; margin: 30px 0 8px; }
article.post p { margin: 16px 0; color: #c9cdd3; }
article.post ul, article.post ol { margin: 16px 0 16px 24px; color: #c9cdd3; }
article.post li { margin: 8px 0; }
article.post strong { color: var(--white); }
article.post a { color: var(--white); border-bottom: 1px solid var(--accent); }
article.post code { font-family: var(--mono); font-size: 14px; background: var(--panel); border: 1px solid var(--line); padding: 1px 6px; }

.crumb { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); padding-top: 28px; }
.crumb a { color: var(--dim); }
.crumb a:hover { color: var(--white); }

/* faq */
.faq details { border: 1px solid var(--line); margin-top: -1px; background: var(--ink); }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 16px; font-family: var(--body); list-style: none; position: relative; padding-right: 44px; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--accent); position: absolute; right: 20px; top: 14px; font-size: 18px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; color: var(--dim); font-size: 15.5px; }
.faq details p a { color: var(--white); border-bottom: 1px solid var(--accent); }

/* footer */
footer.site { border-top: 1px solid var(--line); padding: 44px 0 56px; margin-top: 40px; }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
footer.site p { color: var(--dim); font-size: 14px; }
footer.site a { color: var(--dim); font-size: 14px; }
footer.site a:hover { color: var(--accent); }
footer.site .cols { display: flex; gap: 48px; flex-wrap: wrap; }
footer.site h4 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--white); margin-bottom: 12px; font-weight: 700; }
footer.site ul { list-style: none; }
footer.site li { margin: 7px 0; }

@media (max-width: 640px) {
  nav.main a:not(.cta) { display: none; }
  .hero { padding: 52px 0 40px; }
  .statusbar .wrap { font-size: 10px; }
}

/* polish pass v1.5 */
a, .btn, .card, nav.main a { transition: color .15s ease, background .15s ease, border-color .15s ease; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.card { transition: border-color .15s ease; }
.grid .card:hover { background: #0d0e10; }

/* terminal log */
.log { border: 1px solid var(--line); background: var(--panel); margin-top: 36px; }
.log .log-head { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: 10px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.log .log-head .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
.log ul { list-style: none; padding: 6px 0; }
.log li { font-family: var(--mono); font-size: 13.5px; color: var(--dim); padding: 7px 18px; display: flex; gap: 14px; }
.log li b { color: var(--white); font-weight: 500; }
.log li .d { color: var(--accent); flex: none; }

/* conversion pass v1.6 */
.cta-micro { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-top: 16px; }
form.audit button { width: 100%; max-width: 560px; }
