/* B2B Revenue Autopilot Kit — store stylesheet
   Self-contained: no external fonts, no CDN, no trackers. */

:root {
  --bg: #0b0f14;
  --bg-soft: #111823;
  --bg-card: #151d2a;
  --line: #22303f;
  --txt: #e8eef6;
  --txt-dim: #9fb0c3;
  --accent: #35d07f;
  --accent-2: #4aa3ff;
  --warn: #ffcf5c;
  --radius: 14px;
  --maxw: 1100px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(11, 15, 20, .92);
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(6px);
}
header.site .wrap { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { font-weight: 700; letter-spacing: -.2px; font-size: 1.05rem; color: var(--txt); }
.brand span { color: var(--accent); }
nav.top { margin-left: auto; display: flex; gap: 18px; align-items: center; }
nav.top a { color: var(--txt-dim); font-size: .94rem; }
nav.top a:hover { color: var(--txt); }
.langlink { font-size: .84rem; color: var(--txt-dim); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }

/* ---------- hero ---------- */
.hero { padding: 62px 0 34px; }
.eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); border: 1px solid #1d4b34; background: #0f2419;
  border-radius: 999px; padding: 5px 12px; margin-bottom: 18px;
}
h1 { font-size: 2.45rem; line-height: 1.15; letter-spacing: -.9px; margin: 0 0 16px; }
h1 em { font-style: normal; color: var(--accent); }
.lead { color: var(--txt-dim); font-size: 1.1rem; max-width: 720px; margin: 0 0 26px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 14px; }
.btn {
  display: inline-block; border-radius: 10px; padding: 13px 22px; font-weight: 650;
  border: 1px solid transparent; cursor: pointer; font-size: 1rem; text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #06210f; }
.btn-primary:hover { background: #45df8f; }
.btn-ghost { background: transparent; color: var(--txt); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent-2); color: var(--txt); }
.hint { color: var(--txt-dim); font-size: .88rem; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 34px 0 0; }
.stat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat b { display: block; font-size: 1.5rem; color: var(--accent); letter-spacing: -.5px; }
.stat small { color: var(--txt-dim); font-size: .86rem; }

section { padding: 46px 0; border-top: 1px solid var(--line); }
h2 { font-size: 1.6rem; letter-spacing: -.5px; margin: 0 0 8px; }
h3 { font-size: 1.08rem; margin: 0 0 6px; }
.sub { color: var(--txt-dim); margin: 0 0 26px; max-width: 760px; }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .94rem; }
th, td { padding: 13px 15px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #101825; color: var(--txt-dim); font-weight: 600; font-size: .84rem; text-transform: uppercase; letter-spacing: .07em; }
tbody tr:last-child td { border-bottom: none; }
td.win { background: #0f2419; }
th.win { background: #14301f; color: var(--accent); }
.bad { color: #ff8f8f; }
.good { color: var(--accent); }

/* ---------- cards / pricing ---------- */
.grid { display: grid; gap: 16px; }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.grid.g2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.card.featured { border-color: #2e6b4b; box-shadow: 0 0 0 1px #1d4b34 inset; }
.price { font-size: 2.1rem; font-weight: 700; letter-spacing: -1px; margin: 6px 0 2px; }
.price small { font-size: .9rem; font-weight: 400; color: var(--txt-dim); letter-spacing: 0; }
.tag { display: inline-block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em;
       color: var(--txt-dim); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }
.tag.hot { color: var(--accent); border-color: #1d4b34; background: #0f2419; }
ul.checks { list-style: none; padding: 0; margin: 14px 0 18px; }
ul.checks li { padding-left: 24px; position: relative; margin-bottom: 7px; color: var(--txt); font-size: .95rem; }
ul.checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
ul.checks li.no::before { content: "\2715"; color: #ff8f8f; }

/* ---------- forms ---------- */
form.capture { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
input[type=email] {
  background: #0d1420; border: 1px solid var(--line); color: var(--txt);
  border-radius: 10px; padding: 13px 15px; font-size: 1rem; min-width: 280px; flex: 1 1 280px;
}
input[type=email]:focus { outline: 2px solid #1d4b34; border-color: var(--accent); }
.form-msg { font-size: .92rem; margin-top: 10px; min-height: 1.2em; }
.form-msg.ok { color: var(--accent); }
.form-msg.err { color: #ff8f8f; }

/* ---------- faq ---------- */
details.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
details.faq summary { cursor: pointer; font-weight: 600; font-size: 1.02rem; }
details.faq p { color: var(--txt-dim); margin: 10px 0 0; }

.note { background: #12180f; border: 1px solid #2f3a1f; border-radius: var(--radius); padding: 16px 18px; color: #d8e6c8; font-size: .94rem; }
.note.warn { background: #1a1508; border-color: #4a3c12; color: #f0e2b8; }

footer.site { border-top: 1px solid var(--line); padding: 30px 0 46px; color: var(--txt-dim); font-size: .9rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; }

/* ---------- toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px);
  background: #1b2433; border: 1px solid var(--line); color: var(--txt);
  padding: 12px 18px; border-radius: 10px; font-size: .92rem; opacity: 0;
  transition: opacity .2s, transform .2s; pointer-events: none; z-index: 60; max-width: 90vw;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- blog / article prose ---------- */
.post { padding: 46px 0 10px; }
.post .meta { color: var(--txt-dim); font-size: .86rem; margin: 0 0 10px; }
.post h1 { font-size: 2.1rem; max-width: 880px; }
.post .lead { font-size: 1.06rem; }
.post h2 { margin-top: 34px; }
.post h3 { margin-top: 24px; font-size: 1.02rem; color: var(--txt); }
.post p, .post li { color: #cfdae7; }
.post p { margin: 14px 0; }
.post ul, .post ol { margin: 14px 0; padding-left: 22px; }
.post li { margin-bottom: 7px; }
.post code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em;
  background: #0d1420; border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; color: #c8e6d4;
}
.post pre {
  background: #0d1420; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; overflow-x: auto; font-size: .86rem; line-height: 1.5;
}
.post pre code { background: none; border: 0; padding: 0; color: #cfdae7; }
.post blockquote {
  margin: 18px 0; padding: 4px 0 4px 18px; border-left: 3px solid #2e6b4b; color: var(--txt-dim);
}
.post table { min-width: 560px; }
.post ul.postlist { list-style: none; padding: 0; }
.post ul.postlist li {
  border-bottom: 1px solid var(--line); padding: 14px 0; margin: 0;
}
.post ul.postlist li a { font-weight: 600; font-size: 1.05rem; }
.post ul.postlist li span { display: block; color: var(--txt-dim); font-size: .92rem; margin-top: 4px; }
.post .cta-box {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin: 30px 0;
}
.post .cta-box p { margin: 6px 0 14px; }
.post .footnote { color: var(--txt-dim); font-size: .88rem; }

@media (max-width: 860px) {
  h1 { font-size: 1.95rem; }
  .post h1 { font-size: 1.7rem; }
  .grid.g3, .grid.g2, .stats { grid-template-columns: 1fr; }
  nav.top { display: none; }
}
