:root {
  --bg: #0B1220;
  --bg2: #0f1218;
  --card: #161b22;
  --card2: #1e2530;
  --border: #2a3341;
  --cyan: #2F6BFF;
  --cyan-dim: #2557d6;
  --teal: #00A896;
  --warn: #E85D04;
  --mist: #a8b2c1;
  --snow: #e8ecf1;
  --pass: #22c55e;
  --fail: #ef4444;
  --na: #94a3b8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--snow);
  line-height: 1.55;
  min-height: 100vh;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 920px; margin: 0 auto; padding: 1.5rem 1.25rem 4rem; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 2rem;
}
.logo { font-weight: 700; letter-spacing: -0.02em; color: var(--snow); }
.logo span { color: var(--cyan); }
.badge {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem; color: var(--mist);
  border: 1px solid var(--border); padding: 0.25rem 0.6rem; border-radius: 999px;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.4rem); line-height: 1.2; margin: 0 0 0.75rem; letter-spacing: -0.03em; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
h3 { font-size: 1.05rem; margin: 1.25rem 0 0.5rem; }
.lead { color: var(--mist); font-size: 1.05rem; max-width: 38rem; }
.hero {
  background: linear-gradient(160deg, #161b22 0%, #0B1220 60%);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 2rem 1.75rem; box-shadow: 0 0 40px rgba(47,107,255,0.12);
}
.price {
  display: inline-flex; align-items: baseline; gap: 0.5rem;
  margin: 1.25rem 0; font-family: "JetBrains Mono", monospace;
}
.price .n { font-size: 2rem; font-weight: 700; color: var(--snow); }
.price .u { color: var(--mist); font-size: 0.9rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (max-width: 700px) { .grid2 { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.25rem;
}
.card h3 { margin-top: 0; }
.anti li, .ok li { margin: 0.35rem 0; color: var(--mist); }
.anti { color: var(--warn); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--cyan); color: white; border: none; border-radius: 10px;
  padding: 0.85rem 1.35rem; font-weight: 600; font-size: 1rem; cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--cyan-dim); text-decoration: none; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-ghost {
  background: transparent; border: 1px solid var(--border); color: var(--snow);
}
.btn-ghost:hover { border-color: var(--cyan); background: rgba(47,107,255,0.08); }
.btn-warn { background: var(--teal); }
.btn-warn:hover { filter: brightness(1.08); }
.stack { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
label { display: block; font-size: 0.85rem; color: var(--mist); margin-bottom: 0.35rem; }
input, select {
  width: 100%; background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.75rem 0.9rem; color: var(--snow); font-size: 1rem;
}
input:focus { outline: 2px solid rgba(47,107,255,0.4); border-color: var(--cyan); }
.err { color: #f87171; font-size: 0.9rem; margin-top: 0.5rem; }
.muted { color: var(--mist); font-size: 0.9rem; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.85rem; }
.steps { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.step {
  font-size: 0.75rem; padding: 0.3rem 0.65rem; border-radius: 999px;
  border: 1px solid var(--border); color: var(--mist);
}
.step.on { border-color: var(--cyan); color: var(--snow); background: rgba(47,107,255,0.15); }
.step.done { border-color: var(--teal); color: var(--teal); }
.bar {
  height: 8px; background: var(--card2); border-radius: 999px; overflow: hidden; margin: 1rem 0;
}
.bar > i { display: block; height: 100%; background: var(--cyan); width: 10%; transition: width 0.4s; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 0.55rem 0.4rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--mist); font-weight: 500; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.tag {
  display: inline-block; font-family: "JetBrains Mono", monospace; font-size: 0.72rem;
  padding: 0.15rem 0.45rem; border-radius: 6px; font-weight: 600;
}
.tag.PASS { background: rgba(34,197,94,0.15); color: var(--pass); }
.tag.FAIL { background: rgba(239,68,68,0.15); color: var(--fail); }
.tag.NA { background: rgba(148,163,184,0.15); color: var(--na); }
.tag.P0 { background: rgba(239,68,68,0.2); color: #fca5a5; }
.tag.P1 { background: rgba(232,93,4,0.2); color: #fdba74; }
.tag.P2 { background: rgba(148,163,184,0.2); color: var(--mist); }
.score-big {
  font-size: 3rem; font-weight: 700; font-family: "JetBrains Mono", monospace;
  letter-spacing: -0.04em;
}
.footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--mist); font-size: 0.85rem; }
.notice {
  background: rgba(232,93,4,0.1); border: 1px solid rgba(232,93,4,0.35);
  border-radius: 10px; padding: 0.9rem 1rem; color: #fdba74; font-size: 0.9rem; margin: 1rem 0;
}
.okbox {
  background: rgba(0,168,150,0.1); border: 1px solid rgba(0,168,150,0.35);
  border-radius: 10px; padding: 0.9rem 1rem; color: #5eead4; font-size: 0.9rem; margin: 1rem 0;
}
.row-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

/* --- CX polish (Path A demo) --- */
.score-big.score-low { color: #f87171; }
.score-big.score-mid { color: #fbbf24; }
.score-big.score-high { color: var(--pass); }

.tag.intent {
  background: rgba(47,107,255,0.15); color: #93c5fd; font-weight: 500;
}

.nav-sticky {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11,18,32,0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  margin: -1.5rem -1.25rem 1.5rem; padding: 0.85rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
}
.nav-sticky .logo { font-size: 0.95rem; }

.faq details {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.85rem 1rem; margin: 0.6rem 0;
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--snow);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-family: "JetBrains Mono", monospace; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--mist); margin: 0.75rem 0 0.15rem; font-size: 0.95rem; }

.next-steps { counter-reset: nextstep; }
.next-steps li {
  list-style: none; position: relative;
  padding: 0.85rem 0.85rem 0.85rem 3rem;
  margin: 0.55rem 0; background: var(--card2);
  border: 1px solid var(--border); border-radius: 10px;
}
.next-steps li::before {
  counter-increment: nextstep; content: counter(nextstep);
  position: absolute; left: 0.75rem; top: 0.85rem;
  width: 1.6rem; height: 1.6rem; border-radius: 999px;
  background: rgba(47,107,255,0.2); color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-family: "JetBrains Mono", monospace; font-size: 0.85rem; font-weight: 700;
}
.next-steps .act { display: block; color: var(--snow); font-weight: 600; margin-bottom: 0.25rem; }
.next-steps .why { display: block; color: var(--mist); font-size: 0.88rem; }

.copy-box {
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: stretch;
  margin: 0.75rem 0;
}
.copy-box input {
  flex: 1 1 220px; font-family: "JetBrains Mono", monospace; font-size: 0.78rem;
}
.copy-box .btn { padding: 0.65rem 1rem; font-size: 0.9rem; white-space: nowrap; }

.flash-ok {
  position: fixed; top: 1rem; left: 50%; transform: translateX(-50%);
  z-index: 100; background: rgba(0,168,150,0.95); color: #042f2e;
  padding: 0.75rem 1.25rem; border-radius: 999px; font-weight: 600;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35); animation: flashin 0.35s ease;
}
@keyframes flashin { from { opacity: 0; transform: translateX(-50%) translateY(-8px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

.pix-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: "JetBrains Mono", monospace; font-size: 0.75rem;
  background: rgba(0,168,150,0.15); color: #5eead4;
  border: 1px solid rgba(0,168,150,0.4); border-radius: 999px;
  padding: 0.3rem 0.7rem; margin: 0.5rem 0 0.25rem;
}
.trust-list { padding-left: 1.1rem; margin: 0.75rem 0; }
.trust-list li { margin: 0.35rem 0; color: var(--mist); }
.trust-list li strong { color: var(--snow); }

.recover {
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
}
.recover .card { max-width: 520px; }
.eta {
  display: inline-block; margin-top: 0.5rem;
  font-size: 0.9rem; color: #93c5fd;
  background: rgba(47,107,255,0.12); border: 1px solid rgba(47,107,255,0.3);
  border-radius: 8px; padding: 0.45rem 0.75rem;
}
