/* ── HERO ── */
.cs-hero {
  position: relative; z-index: 2;
  padding: 80px 5vw 72px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cs-hero-inner { max-width: 860px; margin: 0 auto; }
.cs-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-dim); border: 1px solid rgba(255,184,0,0.4); color: var(--gold);
  font-family: var(--mono); font-size: 11px; padding: 6px 16px; border-radius: 20px;
  letter-spacing: 0.1em; margin-bottom: 28px;
}
.cs-hero h1 {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 20px;
}
.cs-hero h1 em { font-style: normal; color: var(--blue); }
.cs-hero-sub {
  font-size: 16px; color: var(--muted); max-width: 680px; margin: 0 auto 28px; line-height: 1.75;
}
.cs-author {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 40px;
  padding: 10px 20px 10px 10px; margin-bottom: 36px;
}
.cs-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, #0033aa 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 14px; font-weight: 700; color: #fff;
  border: 2px solid var(--gold); flex-shrink: 0;
}
.cs-author-name { font-size: 14px; font-weight: 700; }
.cs-author-role { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.06em; }
.cs-author a { color: var(--blue); text-decoration: none; font-size: 11px; font-family: var(--mono); letter-spacing: 0.05em; }
.cs-author a:hover { color: var(--gold); }
.savings-badge {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: 8px; padding: 16px 28px; margin-bottom: 8px;
}
.savings-badge .sb-label { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.08em; }
.savings-badge .sb-amount { font-family: var(--mono); font-size: 24px; font-weight: 700; color: var(--green); }

/* ── STAT GRID ── */
.stat-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
  margin: 48px auto 0; max-width: 1100px;
}
.stat-card {
  background: var(--surface); padding: 24px 16px; text-align: center;
}
.stat-card .number {
  font-family: var(--mono); font-size: 26px; font-weight: 700;
  color: var(--blue); display: block; margin-bottom: 6px;
}
.stat-card .number.gold { color: var(--gold); }
.stat-card .label { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; line-height: 1.4; }
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── PAGE LAYOUT ── */
.cs-body { position: relative; z-index: 2; }
.container { max-width: 900px; margin: 0 auto; padding: 64px 5vw 80px; }

/* ── SECTION HEADINGS ── */
.cs-section-label {
  font-family: var(--mono); font-size: 11px; color: var(--gold);
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 10px;
}
/* Scoped to .container to avoid overriding khojant.css global h2/h3/p */
.container h2 {
  font-size: clamp(22px, 3vw, 30px); font-weight: 800;
  color: var(--text); margin: 60px 0 10px; line-height: 1.2;
}
.container h2:first-of-type { margin-top: 0; }
.container h3 { font-size: 15px; font-weight: 700; color: var(--blue); margin: 28px 0 10px; letter-spacing: 0.03em; }
.container p { font-size: 14px; line-height: 1.8; color: var(--muted); margin-bottom: 16px; }
.container p strong { color: var(--text); font-weight: 600; }

/* ── TABLES ── */
.container table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 16px 0 28px; }
.container th {
  background: var(--surface2); color: var(--gold);
  padding: 11px 14px; text-align: left; font-size: 11px;
  font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.container tr:nth-child(even) td { background: var(--surface); }
.container tr:nth-child(odd)  td { background: var(--bg); }
.container td {
  padding: 10px 14px; border-bottom: 1px solid var(--border);
  vertical-align: top; color: var(--muted); font-size: 13px;
}
.container td:first-child { font-weight: 600; color: var(--text); }
.total-row td { background: var(--surface2) !important; color: var(--gold) !important; font-weight: 700; font-family: var(--mono); }
.center { text-align: center; }

/* WITH/WITHOUT COMPARISON */
.compare th.with    { background: rgba(26,107,255,0.25); color: #7ab8ff; }
.compare th.without { background: rgba(180,30,30,0.25); color: #ff8888; }
.compare td.with    { background: rgba(26,107,255,0.08); color: var(--green); font-weight: 600; }
.compare td.without { background: rgba(180,30,30,0.08); color: #ff8888; }
.compare td.metric  { background: var(--surface) !important; font-weight: 600; color: var(--text); }

/* ── WORKFLOW STEPS ── */
.steps { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.step {
  display: flex; gap: 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  padding: 16px 20px; align-items: flex-start;
  transition: border-color 0.2s;
}
.step:hover { border-color: var(--blue); }
.step-num {
  background: var(--blue); color: #fff; border-radius: 50%;
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.step-title { font-weight: 700; color: var(--text); font-size: 14px; margin-bottom: 4px; }
.step-desc  { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── ASSESSMENT CARDS ── */
.assessment-list { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.assessment-card {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 4px solid var(--blue); border-radius: 0 8px 8px 0;
  padding: 16px 20px; transition: border-color 0.2s;
}
.assessment-card:hover { border-color: var(--blue); border-left-color: var(--blue); }
.assessment-card.grow { border-left-color: var(--green); }
.assessment-card.grow:hover { border-left-color: var(--green); }
.assessment-card .a-title { font-weight: 700; color: var(--text); font-size: 14px; margin-bottom: 6px; }
.assessment-card .a-body  { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ── BULLET LIST ── */
.bullet-list { list-style: none; padding: 0; margin: 10px 0 20px; }
.bullet-list li {
  font-size: 13.5px; color: var(--muted); padding: 6px 0 6px 22px;
  position: relative; line-height: 1.65;
}
.bullet-list li::before { content: "▸"; position: absolute; left: 0; color: var(--blue); font-size: 12px; }

/* ── CONCLUSION BOX ── */
.conclusion {
  background: var(--surface2); border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0; padding: 28px 32px; margin: 24px 0;
}
.conclusion p {
  font-family: var(--mono); font-size: 14px; color: var(--gold);
  line-height: 1.8; margin: 0;
}

/* ── JEFF BANNER CARD ── */
.jeff-banner {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden; margin: 40px 0;
  display: flex; align-items: stretch; gap: 0;
}
.jeff-banner-accent { width: 4px; background: linear-gradient(180deg, var(--blue), var(--gold)); flex-shrink: 0; }
.jeff-banner-body { padding: 24px 28px; flex: 1; }
.jeff-banner-body h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.jeff-banner-body p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }

/* btn sizes override khojant.css — case study uses a denser 13px/10px-22px variant */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 13px;
  padding: 10px 22px; border-radius: 4px; text-decoration: none;
  letter-spacing: 0.05em; transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #3d87ff; transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text); font-weight: 600; font-size: 13px;
  padding: 10px 22px; border-radius: 4px; border: 1px solid var(--border);
  text-decoration: none; letter-spacing: 0.05em; transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }

@media (max-width: 600px) {
  .jeff-banner { flex-direction: column; }
  .jeff-banner-accent { width: 100%; height: 4px; }
  .container table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ── LIGHT MODE ── */
@media (prefers-color-scheme: light) {
  .hero-badge { background: rgba(16,68,204,0.09) !important; border-color: rgba(16,68,204,0.25) !important; }
  .savings-badge { background: var(--surface2) !important; border-color: var(--border) !important; }
  .assessment-card { background: var(--surface) !important; border-color: var(--border) !important; }
  .assessment-card.good  { border-left-color: #0A6840 !important; }
  .assessment-card.great { border-left-color: #1044CC !important; }
  .compare th.with  { background: rgba(16,68,204,0.15) !important; color: #1044CC !important; }
  .compare th.without { background: rgba(170,21,21,0.12) !important; color: #AA1515 !important; }
  .compare td.with  { background: rgba(16,68,204,0.06) !important; color: #0A6840 !important; }
  .compare td.without { background: rgba(170,21,21,0.05) !important; }
  .jeff-banner { background: var(--surface2) !important; border-color: var(--border) !important; }
  .stat-item { background: var(--surface) !important; border-color: var(--border) !important; }
  .btn-primary { background: #1044CC !important; }
  .btn-secondary { color: var(--text) !important; }
}

