/* BcalScore — Production CSS
   Palette: data-blue #0F4C81, warm white #FBFAF6, signal-orange #E07A1F
   Type: Inter (UI), JetBrains Mono (data)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --blue: #0F4C81;
  --blue-dark: #0A3559;
  --blue-light: #E8F0F8;
  --blue-50: #F4F8FC;
  --warm: #FBFAF6;
  --warm-2: #F5F2EA;
  --orange: #E07A1F;
  --orange-dark: #B85F12;
  --ink: #0E1726;
  --ink-2: #2A3445;
  --muted: #6B7587;
  --line: #E5E2D8;
  --line-2: #D8D4C7;
  --good: #1F8C4C;
  --bad: #C0392B;
  --warn: #C8851A;
  --shadow-sm: 0 1px 2px rgba(14,23,38,.06), 0 0 0 1px rgba(14,23,38,.04);
  --shadow: 0 4px 14px rgba(14,23,38,.07), 0 0 0 1px rgba(14,23,38,.05);
  --shadow-lg: 0 24px 48px -12px rgba(14,23,38,.18), 0 0 0 1px rgba(14,23,38,.06);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--warm);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange); }
img, svg { max-width: 100%; display: block; }
code, .mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,246,.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; color: var(--ink);
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  display: grid; place-items: center; color: white; font-size: 13px; font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.15);
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--ink-2); font-weight: 500; font-size: 14.5px;
}
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--ink);
  color: white !important;
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px;
}
.nav-cta:hover { background: var(--blue); color: white !important; }

@media (max-width: 820px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer; transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
  font-family: inherit;
  text-decoration: none;
}
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-dark); color: white; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-orange { background: var(--orange); color: white; }
.btn-orange:hover { background: var(--orange-dark); color: white; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--warm-2); color: var(--ink); }
.btn-lg { padding: 14px 26px; font-size: 16px; }

/* ===== Hero ===== */
.hero {
  padding: 72px 0 56px;
  background: linear-gradient(180deg, var(--warm) 0%, var(--warm-2) 100%);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(15,76,129,.06), transparent 35%),
    radial-gradient(circle at 85% 60%, rgba(224,122,31,.05), transparent 35%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  position: relative;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--blue-light); color: var(--blue);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
  text-transform: uppercase;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 0 4px rgba(224,122,31,.15);
}
h1.hero-h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 18px 0 18px;
  color: var(--ink);
}
.hero-h1 .accent { color: var(--orange); }
.hero-sub {
  font-size: 18px; color: var(--ink-2); max-width: 540px;
  margin-bottom: 28px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  display: flex; gap: 24px; margin-top: 32px; flex-wrap: wrap;
  color: var(--muted); font-size: 13.5px;
}
.hero-trust span { display: inline-flex; gap: 6px; align-items: center; }
.hero-trust strong { color: var(--ink); font-weight: 600; }

@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

/* ===== Demo widget ===== */
.demo-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.demo-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  background: linear-gradient(180deg, #FAFAFA, #F2F1ED);
  border-bottom: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--muted);
}
.demo-head .dots { display: flex; gap: 6px; }
.demo-head .dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #DDD;
}
.demo-head .dots i:nth-child(1) { background: #FF5F56; }
.demo-head .dots i:nth-child(2) { background: #FFBD2E; }
.demo-head .dots i:nth-child(3) { background: #27C93F; }
.demo-body { padding: 22px; }
.demo-form { display: flex; gap: 8px; }
.demo-form input {
  flex: 1; padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-size: 14.5px; font-family: inherit;
  background: var(--warm);
  color: var(--ink);
  outline: none;
  transition: border .15s, box-shadow .15s;
}
.demo-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(15,76,129,.12);
  background: white;
}
.demo-form button {
  padding: 12px 20px;
  background: var(--ink);
  color: white;
  border: 0;
  border-radius: var(--radius);
  font-weight: 600; font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: background .12s;
}
.demo-form button:hover { background: var(--blue); }

.demo-result { margin-top: 18px; min-height: 220px; }
.demo-placeholder {
  text-align: center; color: var(--muted); padding: 36px 12px;
  border: 1px dashed var(--line-2); border-radius: var(--radius);
  font-size: 14px;
}
.demo-placeholder code {
  display: block; margin-top: 10px; font-size: 12.5px; color: var(--ink-2);
}

.score-shell {
  display: grid; grid-template-columns: 180px 1fr; gap: 22px;
  align-items: center;
}
.score-ring {
  width: 180px; height: 180px;
  position: relative; display: grid; place-items: center;
}
.score-ring svg { transform: rotate(-90deg); }
.score-ring .num {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 48px; font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.score-ring .num small {
  font-size: 14px; color: var(--muted); margin-left: 2px;
}
.score-meta { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; }
.score-meta .label { color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-size: 11px; }
.score-meta .row {
  display: flex; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px dashed var(--line);
}
.score-meta .row:last-child { border-bottom: 0; }
.score-meta .v { color: var(--ink); font-weight: 500; }
.score-meta .v.good { color: var(--good); }
.score-meta .v.warn { color: var(--warn); }
.score-meta .v.bad { color: var(--bad); }

.score-tier {
  display: inline-block; padding: 4px 10px; border-radius: 4px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.tier-a { background: rgba(31,140,76,.12); color: var(--good); }
.tier-b { background: rgba(15,76,129,.12); color: var(--blue); }
.tier-c { background: rgba(200,133,26,.15); color: var(--warn); }
.tier-d { background: rgba(192,57,43,.12); color: var(--bad); }

.demo-cta-row {
  margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap;
}
.demo-cta-row .btn { padding: 10px 16px; font-size: 13.5px; }

@media (max-width: 520px) {
  .score-shell { grid-template-columns: 1fr; justify-items: center; }
}

/* ===== Sections ===== */
section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 12px; }
h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.15; letter-spacing: -0.02em; font-weight: 700;
  margin: 0 0 14px; color: var(--ink);
}
.section-sub { color: var(--ink-2); font-size: 17px; max-width: 640px; margin: 0 auto; }

/* ===== Dossier cards grid ===== */
.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--blue-light); }
.card .ico {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--blue-light); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 14px;
  font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 13px;
}
.card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* ===== Sample Dossier preview ===== */
.dossier-frame {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; max-width: 900px; margin: 0 auto;
}
.dossier-head {
  padding: 24px 28px;
  background: var(--blue);
  color: white;
  display: flex; justify-content: space-between; align-items: center;
}
.dossier-head h3 { margin: 0; font-size: 20px; font-weight: 600; }
.dossier-head .badge {
  background: white; color: var(--blue);
  padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}
.dossier-body { padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dossier-body h4 {
  margin: 0 0 8px; font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.dossier-body .val { font-size: 15px; color: var(--ink); font-family: 'JetBrains Mono', monospace; }

@media (max-width: 720px) { .dossier-body { grid-template-columns: 1fr; } }

/* ===== Rubric ===== */
.rubric-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 880px) { .rubric-grid { grid-template-columns: repeat(2, 1fr); } }
.rubric {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  text-align: center;
}
.rubric .pts {
  font-family: 'JetBrains Mono', monospace;
  font-size: 36px; font-weight: 600; color: var(--blue);
  letter-spacing: -0.03em;
}
.rubric h4 { margin: 6px 0 8px; font-size: 14.5px; }
.rubric p { margin: 0; color: var(--muted); font-size: 12.5px; }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pricing-grid { grid-template-columns: 1fr; } }
.price {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 22px;
  display: flex; flex-direction: column;
  position: relative;
}
.price.featured { border: 2px solid var(--blue); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price.featured .ribbon {
  position: absolute; top: -12px; right: 18px;
  background: var(--orange); color: white; padding: 4px 10px;
  border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
}
.price h4 { margin: 0; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.price .amt {
  font-size: 36px; font-weight: 700; color: var(--ink);
  margin: 10px 0 4px; letter-spacing: -0.02em;
  font-family: 'Inter', sans-serif;
}
.price .amt small { font-size: 14px; color: var(--muted); font-weight: 500; }
.price .desc { color: var(--muted); font-size: 13.5px; min-height: 40px; }
.price ul { list-style: none; padding: 0; margin: 16px 0 22px; flex: 1; }
.price li {
  font-size: 13.5px; padding: 6px 0;
  color: var(--ink-2); display: flex; gap: 8px;
}
.price li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); margin-top: 8px; flex-shrink: 0;
}

/* ===== Trust signals ===== */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 880px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust {
  text-align: center; padding: 24px 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--warm);
}
.trust .stat {
  font-family: 'JetBrains Mono', monospace; font-size: 28px; font-weight: 600;
  color: var(--blue); letter-spacing: -0.02em;
}
.trust h4 { font-size: 14px; margin: 4px 0 4px; }
.trust p { margin: 0; color: var(--muted); font-size: 12.5px; }

/* ===== Two-column persona ===== */
.persona-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .persona-grid { grid-template-columns: 1fr; } }
.persona {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: white; border: 1px solid var(--line);
}
.persona.dark {
  background: linear-gradient(160deg, var(--ink) 0%, var(--blue-dark) 100%);
  color: white; border: 0;
}
.persona.dark p, .persona.dark li { color: rgba(255,255,255,.85); }
.persona.dark h3 { color: white; }
.persona h3 { font-size: 22px; margin: 0 0 8px; letter-spacing: -0.01em; }
.persona .who { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange); font-weight: 600; }
.persona ul { padding-left: 18px; margin: 16px 0; }
.persona ul li { margin: 6px 0; font-size: 14.5px; }

/* ===== Integrations strip ===== */
.integrations {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.integ {
  padding: 14px 22px; border: 1px solid var(--line);
  border-radius: var(--radius); background: white;
  font-weight: 600; color: var(--ink-2); font-size: 14.5px;
  display: inline-flex; gap: 10px; align-items: center;
}
.integ .pill {
  width: 8px; height: 8px; border-radius: 50%; background: var(--good);
}

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 0 auto; }
.q {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  cursor: pointer;
}
.q summary {
  list-style: none; cursor: pointer;
  font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.q summary::-webkit-details-marker { display: none; }
.q summary::after {
  content: '+'; font-weight: 400; color: var(--muted); font-size: 22px;
  transition: transform .2s;
}
.q[open] summary::after { transform: rotate(45deg); }
.q p { margin: 12px 0 4px; color: var(--ink-2); font-size: 14.5px; line-height: 1.65; }

/* ===== CTA ===== */
.cta-final {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: white; padding: 72px 0; text-align: center;
}
.cta-final h2 { color: white; }
.cta-final p { color: rgba(255,255,255,.85); max-width: 540px; margin: 0 auto 24px; font-size: 17px; }
.cta-final .btn-orange { box-shadow: 0 8px 28px rgba(224,122,31,.4); }

/* ===== Footer ===== */
footer {
  background: var(--ink); color: rgba(255,255,255,.7);
  padding: 56px 0 28px; font-size: 14px;
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot h5 { color: white; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 14px; }
.foot a { color: rgba(255,255,255,.7); display: block; padding: 4px 0; font-size: 13.5px; }
.foot a:hover { color: white; }
.foot-bot {
  margin-top: 32px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: rgba(255,255,255,.5);
}
@media (max-width: 540px) { .foot-bot { flex-direction: column; gap: 8px; } }

/* ===== Tables ===== */
.tbl { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.tbl th, .tbl td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
.tbl th { background: var(--warm-2); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 600; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .check { color: var(--good); font-weight: 700; }
.tbl .no { color: var(--muted); }

/* ===== Code blocks (API page) ===== */
.code {
  background: #0E1726; color: #E8ECF2;
  border-radius: var(--radius); padding: 20px;
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  line-height: 1.65; overflow-x: auto;
  border: 1px solid #1F2937;
}
.code .k { color: #F59E0B; }
.code .s { color: #84E1BC; }
.code .c { color: #6B7587; font-style: italic; }
.code .n { color: #C4B5FD; }
.tab-row { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tab-row button {
  padding: 10px 16px; background: transparent; border: 0; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 500; color: var(--muted);
  border-bottom: 2px solid transparent;
}
.tab-row button.active { color: var(--blue); border-bottom-color: var(--blue); }

.api-grid { display: grid; grid-template-columns: 280px 1fr; gap: 32px; }
@media (max-width: 880px) { .api-grid { grid-template-columns: 1fr; } }
.api-side {
  position: sticky; top: 80px; align-self: start;
  border-right: 1px solid var(--line);
  padding-right: 20px;
}
.api-side h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin: 18px 0 6px; }
.api-side a { display: block; padding: 5px 0; color: var(--ink-2); font-size: 13.5px; }
.api-side a:hover { color: var(--blue); }
.api-content h3 { font-size: 22px; margin: 32px 0 8px; letter-spacing: -0.01em; }
.api-content h3:first-child { margin-top: 0; }
.api-content h4 { font-size: 16px; margin: 22px 0 8px; }
.api-content p { color: var(--ink-2); font-size: 14.5px; }
.endpoint {
  display: inline-flex; gap: 8px; align-items: center;
  background: var(--warm-2); padding: 8px 12px; border-radius: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  margin: 8px 0;
  border: 1px solid var(--line);
}
.endpoint .m { background: var(--blue); color: white; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.endpoint .m.post { background: var(--orange); }

/* ===== Dossier sample page styles ===== */
.dossier-page {
  max-width: 900px; margin: 40px auto;
  background: white;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.dp-cover {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: white; padding: 40px 48px;
}
.dp-cover .brand { font-family: 'JetBrains Mono', monospace; font-size: 12px; opacity: 0.7; letter-spacing: 0.1em; text-transform: uppercase; }
.dp-cover h1 { font-size: 28px; margin: 8px 0 4px; font-weight: 600; letter-spacing: -0.02em; }
.dp-cover .addr { font-size: 16px; opacity: 0.9; }
.dp-cover .score-block {
  margin-top: 24px; display: flex; gap: 36px; align-items: baseline;
}
.dp-cover .score-block .big {
  font-family: 'JetBrains Mono', monospace; font-size: 64px; font-weight: 600;
  letter-spacing: -0.03em; line-height: 1;
}
.dp-cover .score-block .lbl { font-size: 12px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.05em; }
.dp-cover .score-block .v { font-size: 14px; }

.dp-section { padding: 28px 48px; border-bottom: 1px solid var(--line); }
.dp-section h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); margin: 0 0 14px; }
.dp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 720px) { .dp-grid { grid-template-columns: 1fr; } }
.dp-kv { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.dp-kv:last-child { border-bottom: 0; }
.dp-kv .k { color: var(--muted); }
.dp-kv .v { font-family: 'JetBrains Mono', monospace; color: var(--ink); }

.bar-chart { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 90px 1fr 60px; gap: 10px; align-items: center; font-size: 12px; }
.bar .lbl { color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.bar .track { height: 14px; background: var(--warm-2); border-radius: 4px; overflow: hidden; }
.bar .fill { height: 100%; background: linear-gradient(90deg, var(--blue), #1E6FB8); }
.bar .v { font-family: 'JetBrains Mono', monospace; font-weight: 600; text-align: right; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: flex; gap: 10px; padding: 10px 0;
  border-bottom: 1px dashed var(--line); font-size: 14px;
}
.checklist li:last-child { border-bottom: 0; }
.checklist li .ico {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: white;
}
.checklist li .ico.y { background: var(--good); }
.checklist li .ico.n { background: var(--bad); }
.checklist li .ico.m { background: var(--warn); }
.checklist .note { color: var(--muted); font-size: 12.5px; }

.dm-card {
  background: var(--warm); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
  display: flex; gap: 16px; align-items: center;
}
.dm-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  display: grid; place-items: center; color: white;
  font-weight: 600; font-size: 20px; font-family: 'JetBrains Mono', monospace;
}
.dm-info .name { font-weight: 600; font-size: 16px; }
.dm-info .role { font-size: 13.5px; color: var(--muted); }
.dm-info .contact { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--blue); margin-top: 4px; }

/* ===== Volume calculator ===== */
.calc {
  background: white; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; max-width: 720px; margin: 0 auto; box-shadow: var(--shadow);
}
.calc-row { display: flex; justify-content: space-between; align-items: center; margin: 12px 0; }
.calc-row label { font-weight: 500; color: var(--ink-2); }
.calc-row input[type=range] { flex: 1; margin: 0 18px; }
.calc-row .val {
  font-family: 'JetBrains Mono', monospace; font-weight: 600;
  min-width: 80px; text-align: right;
}
.calc-result {
  margin-top: 22px; padding: 22px;
  background: var(--blue-light); border-radius: var(--radius);
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.calc-result h4 { font-size: 12px; color: var(--muted); margin: 0; text-transform: uppercase; letter-spacing: 0.05em; }
.calc-result .big { font-family: 'JetBrains Mono', monospace; font-size: 26px; font-weight: 600; color: var(--blue); }

/* ===== Methodology long-form ===== */
.long-form { max-width: 760px; margin: 0 auto; }
.long-form h3 { font-size: 22px; margin: 36px 0 12px; letter-spacing: -0.01em; }
.long-form p, .long-form li { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.long-form blockquote {
  border-left: 3px solid var(--orange);
  padding: 8px 18px; margin: 18px 0;
  color: var(--ink-2); font-style: italic;
  background: var(--warm-2);
}

/* ===== Try page ===== */
.try-shell {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 1080px; margin: 0 auto;
}
@media (max-width: 880px) { .try-shell { grid-template-columns: 1fr; } }

/* ===== Misc ===== */
.divider { height: 1px; background: var(--line); margin: 0; border: 0; }
.tag {
  display: inline-block; padding: 2px 8px; border-radius: 4px;
  font-size: 11px; font-weight: 600; background: var(--warm-2); color: var(--ink-2);
  font-family: 'JetBrains Mono', monospace;
}
.tag.green { background: rgba(31,140,76,.12); color: var(--good); }
.tag.blue { background: rgba(15,76,129,.12); color: var(--blue); }
.tag.orange { background: rgba(224,122,31,.15); color: var(--orange-dark); }

.bg-warm { background: var(--warm-2); }
.bg-white { background: white; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ===== Animation ===== */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.pulse { animation: pulse 1.4s ease-in-out infinite; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fade-in { animation: fadeIn .4s ease forwards; }
