:root {
  --ink: #160647;         /* Text */
  --paper: #f3fcfa;       /* Light Background */
  --cream: #f3fcfa;
  --accent: #006600;      /* Primary */
  --accent2: #008000;     /* Secondary */
  --gold: #40bfb9;        /* Accent */
  --muted: #6b6b6b;
  --border: #e0ddd6;
  --card: #ffffff;
  --tag-bg: #e6f7f5;
  --tag-text: #006600;
  --highlight: #f3fcfa;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.single-post h3{
    margin-top: 16px;
}

/* =========================
   WORKFLOW CONTAINER
========================= */
.workflow {
  display: flex;
  align-items: center;
  gap: 16px 0;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* =========================
   STEP BOX
========================= */
.wf-step {
  padding: 8px 18px;
  border-radius: 14px;
  border: 2px solid;
  /* background: #fff; */
  text-align: center;
  min-width: 140px;
}

/* Larger last box */
.wf-step.wide {
  min-width: 180px;
}

/* =========================
   TEXT
========================= */
.wf-title {
  font-size: 14px;
  font-weight: 600;
}

.wf-sub {
  font-size: 12px;
}

/* =========================
   COLORS (MATCH SVG)
========================= */
.wf-step.orange {
  border-color: #e8500a;
  background: #fff3ee;
  color: #e8500a;
}

.wf-step.green {
  border-color: #1a6b4a;
  background: #f0faf5;
  color: #1a6b4a;
}

.wf-step.gold {
  border-color: #c9a84c;
  background: #fffbf0;
  color: #c9a84c;
}

.wf-step.purple {
  border-color: #7c3aed;
  background: #f0f4ff;
  color: #7c3aed;
}

.wf-step.blue {
  border-color: #0369a1;
  background: #f0f8ff;
  color: #0369a1;
}

/* ── Horizontal Chart ── */
.h-chart {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* padding-top: 8px; */
}

.hc-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hc-label {
  width: 110px;
  flex-shrink: 0;
  font-size: 14px;
  color: var(--ink);
  text-align: right;
}

.hc-bar-wrap {
  flex: 1;
  height: 42px;
  background: var(--cream);
  border-radius: 6px;
  overflow: hidden;
}

.hc-bar {
  height: 100%;
  border-radius: 6px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hc-bar.orange { background: var(--accent); }
.hc-bar.gold   { background: var(--gold); }
.hc-bar.green  { background: var(--accent2); }
.hc-bar.purple { background: #9b6fd4; }
.hc-bar.blue   { background: #3a9bb5; }

.hc-value {
  width: 36px;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 700;
}

.hc-row:nth-child(1) .hc-value { color: var(--accent); }
.hc-row:nth-child(2) .hc-value { color: var(--gold); }
.hc-row:nth-child(3) .hc-value { color: var(--accent2); }
.hc-row:nth-child(4) .hc-value { color: #9b6fd4; }
.hc-row:nth-child(5) .hc-value { color: #3a9bb5; }

/* ── X Axis ── */
.hc-axis {
  display: flex;
  padding-left: 122px;
  padding-right: 48px;
}

.hc-axis-inner {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.hc-axis-inner span {
  font-size: 12px;
  color: var(--muted);
}

/* ── Mobile ── */
@media (max-width: 580px) {
  .hc-label {
    width: 80px;
    font-size: 12px;
  }

  .hc-bar-wrap {
    height: 32px;
  }

  .hc-value {
    font-size: 13px;
  }

  .hc-axis {
    padding-left: 92px;
    padding-right: 36px;
  }
}

/*Dark background css*/

/* Step label */
.fb-step {
  font-size: 14px;
}

/* Result emphasis */
.fb-result {
  font-size: 20px;
  font-weight: 700;
}

/* Extra note */
.fb-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);;
}

/* Side note */
.formula-note {
  font-size: 13px;
  line-height: 1.6;
}

/* Slightly bigger result box */
.result-box {
  min-width: 170px;
}

/*feature boxes css*/

/* =========================
   GRID
========================= */
.link-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

/* =========================
   CARD
========================= */
.link-card {
  display: flex;
  align-items: center;
}

/* Hover */
.link-card:hover {
  border-color: #006600;
  transform: translateY(-3px);
}

/* =========================
   TEXT
========================= */
.lc-content span {
  color: var(--muted);
}

.lc-content strong {
  /* font-size: 18px; */
  font-weight: 700;
  color: var(--text);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .link-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .link-cards {
    grid-template-columns: 1fr;
  }
}
/* ── Util Chart Container ── */
.util-chart {
  position: relative;
  padding-left: 52px;
  /*padding-bottom: 40px;*/
}

/* ── Y Axis ── */
.y-axis {
  position: absolute;
  left: 0;
  top: 0;
  height: 280px; /* match exact .bars height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding-right: 8px;
}
.y-axis span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1;
  transform: translateY(50%); /* vertically center each label on its grid line */
}
.y-axis span:first-child {
  transform: translateY(0);
}

/* ── Target Zone ── */
.target-zone {
  position: absolute;
  left: 52px;
  right: 0;
  bottom: calc(65%);
  height: 10%;
  background: rgba(201, 168, 76, 0.08);
  border-top: 1.5px dashed var(--gold);
  border-bottom: 1.5px dashed var(--gold);
  z-index: 2;
  pointer-events: none;
}

.target-label {
  position: absolute;
  right: 0;
  bottom: calc(85% + 4px);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  z-index: 2;
}

/* ── Bars Wrapper ── */
.bars {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 280px;
  position: relative;
  z-index: 1;
  border-bottom: 2px solid var(--border);
}

/* ── Grid lines ── */
.bars::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent,
      transparent calc(25% - 1px),
      var(--border) calc(25% - 1px),
      var(--border) 25%
    );
  pointer-events: none;
  z-index: 0;
}

/* ── Individual Bar Item ── */
.bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  position: relative;
  z-index: 1;
}

/* ── Bar ── */
.bar {
  width: 100%;
  border-radius: 6px 6px 0 0;
  transition: opacity 0.2s;
}

.bar:hover {
  opacity: 0.85;
}

.bar.orange       { background: var(--accent); }
.bar.gold         { background: var(--gold); }
.bar.orange-light { background: #f07340; }
.bar.green        { background: var(--accent2); }
.bar.purple       { background: #9b6fd4; }
.bar.blue         { background: #3a9bb5; }

/* ── Bar Value (shown above bar) ── */
.bar-value {
  position: absolute;
  bottom: calc(var(--bar-h, 0%) + 6px);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.bar-item:nth-child(1) .bar-value { color: var(--accent); }
.bar-item:nth-child(2) .bar-value { color: var(--gold); }
.bar-item:nth-child(3) .bar-value { color: var(--accent); }
.bar-item:nth-child(4) .bar-value { color: var(--accent2); }
.bar-item:nth-child(5) .bar-value { color: #9b6fd4; }
.bar-item:nth-child(6) .bar-value { color: #3a9bb5; }

/* ── Bar Label ── */
.bar-label {
  position: absolute;
  bottom: -28px;
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
  text-align: center;
}

/* ── Source ── */
.chart-source {
  margin-top: 32px;
  font-size: 12px;
  /*color: var(--muted);*/
  text-align: center;
}

@media (max-width: 580px) {
  .util-chart {
    padding-left: 36px;
  }

  .bars {
    gap: 6px;
    height: 220px;
  }

  .y-axis {
    height: 220px;
  }

  .y-axis span {
    font-size: 10px;
  }

  .bar-value {
    font-size: 10px;
    font-weight: 700;
  }

  .bar-label {
    font-size: 9px;
    bottom: -24px;
    white-space: normal;
    text-align: center;
    word-break: break-word;
    line-height: 1.2;
    width: 100%;
  }

  .target-label {
    font-size: 9px;
    right: 0;
    top: auto;
    white-space: normal;
    max-width: 60px;
    text-align: right;
    line-height: 1.2;
  }

  .chart-source {
    font-size: 10px;
    margin-top: 28px;
  }
} 

/* Row layout */
.bt-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  padding: 14px 10px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  font-size: 14px;
}

/* Header */
.bt-head {
  /*font-weight: 600;*/
  /*color: var(--muted);*/
  font-size: 12px;
  /*letter-spacing: 0.04em;*/
}

/* Highlight column (orange values) */
.highlight {
  color: var(--accent);
  font-weight: 600;
}

/* Note */
.bt-note {
  font-size: 12px;
  /*color: var(--muted);*/
  /*margin-top: 10px;*/
}


.infographic.infographic-dark {
  background: var(--ink);
  border-radius: 20px;
  padding: 30px;
  color: #fff;
}

/* Layout */
.formula-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Left text */
.formula-left {
  min-width: 180px;
}

.formula-title {
  font-size: 20px;
  font-weight: 600;
}

.formula-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

/* Operators */
.formula-eq,
.formula-op {
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
}

/* Boxes */
.formula-box {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1.5px solid;
  min-width: 140px;
  text-align: center;
}

/* Variants */
.box-orange {
  background: rgba(232, 80, 10, 0.15);
  border-color: var(--accent);
}

.box-green {
  background: rgba(0, 128, 0, 0.15);
  border-color: var(--accent2);
}

.box-gold {
  background: rgba(64,191,185,0.15);
  border-color: var(--gold);
}

/* Text inside boxes */
.fb-title {
  font-size: 14px;
  font-weight: 600;
}

.fb-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

/* Smaller last box */
.formula-box.small {
  min-width: 110px;
}

@media (max-width: 767px) {

  .formula-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .formula-left {
    text-align: center;
  }

  .formula-box {
    width: 100%;
    max-width: 240px;
    text-align: center;
  }

  .formula-op {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    margin: 4px 0;
    text-align: center;
  }

}

.infographic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.info-box {
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--border);
}

.info-box h5 {
  margin-bottom: 6px;
  color: var(--accent);
}

.info-sub {
  /* font-size: 13px; */
  margin-bottom: 16px;
  color: var(--muted);
}

.info-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
  font-size: 14px;
}

/* BILLABLE STYLE */
.billable {
  background: #f0faf5;
  border-color: #a7d9bf;
}

/* NON BILLABLE STYLE */
.non-billable {
  background: #fff8f0;
  border-color: #ffd4a8;
}

/* MOBILE */
@media (max-width: 768px) {
  .infographic-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

}

.main-content {
  min-width: 0;
  padding: 60px 0 80px;
}

.article-section {
  margin-bottom: 30px;
}

p {
  margin-bottom: 18px;
  color: #2a2a2e;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  opacity: 0.8;
}

.section-rule {
  height: 1px;
  background: var(--border);
  margin: 60px 0;
}

.answer-box {
  background: var(--highlight);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 28px 0 32px;
  /*font-size: 16px;*/
  position: relative;
}

.answer-box::before {
  content: "✦ Quick Answer";
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.answer-box p {
  margin: 0;
  color: var(--ink);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 4px solid #006600;
}

.stat-num {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 6px;
}


.infographic {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  margin: 40px 0;
  overflow: visible !important;
}

.infographic-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.infographic-sub {
  /*font-size: 13px;*/
  /*color: var(--muted);*/
  margin-bottom: 28px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 28px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.compare-table thead tr {
  background: var(--ink);
  color: white;
}

.compare-table thead th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.compare-table thead th:first-child {
  width: 38%;
}

.compare-table tbody tr:nth-child(even) {
  background: var(--cream);
}

.compare-table tbody tr:hover {
  background: var(--highlight);
}

.compare-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.45;
}

.compare-table td:first-child {
  font-weight: 600;
  color: var(--ink);
}

.check {
  color: var(--accent2);
  /*font-weight: 700;*/
}

.cross {
  color: #d63f3f;
  /*font-weight: 700;*/
}

.steps {
  margin: 32px 0;
}

.step {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  border-left:3px solid #1a6b4a;
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
}

.step:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}

.step .step-num {
  background: var(--accent2);
}

.tip-box {
  background: #f0faf5;
  border: 1px solid #a7d9bf;
  border-radius: 12px;
  padding: 18px 22px;
  margin: 28px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.tip-box .icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
}

.tip-box h5 {
  /*font-size: 13px;*/
  font-weight: 700;
  color: var(--accent2);
  /*text-transform: uppercase;*/
  letter-spacing: 0.04em;
  /*margin-bottom: 4px;*/
}


.warn-box {
  background: #fff8f0;
  border: 1px solid #ffd4a8;
  border-radius: 12px;
  padding: 18px 22px;
  margin: 28px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.warn-box .icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
}

.warn-box h5 {
  /*font-size: 13px;*/
  font-weight: 700;
  color: #ef680a;
  /*text-transform: uppercase;*/
  letter-spacing: 0.07em;
  /*margin-bottom: 4px;*/
}

.warn-box p {
  margin: 0;
  font-size: 14px;
  color: #6b3010;
}

.term-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.term-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}

.term-card .term {
  /*font-size: 13px;*/
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}


.link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 32px 0;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.22s;
}

.link-card:hover {
  border-color: var(--accent);
  background: var(--tag-bg);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 80, 10, 0.1);
}

.link-card .lc-icon {
  width: 36px;
  height: 36px;
  background: var(--tag-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.link-card:hover .lc-icon {
  background: white;
}


/*.highlight-row {*/
/*  display: grid;*/
/*  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));*/
/*  gap: 1px;*/
/*  background: var(--border);*/
/*  border: 1px solid var(--border);*/
/*  border-radius: 16px;*/
/*  overflow: hidden;*/
/*  margin: 32px 0;*/
/*}*/

.highlight-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0; /* important for border layout */
  border: 1px solid #e5e5e5; /* outer border */
  border-radius: 16px;
  overflow: hidden; /* keeps rounded corners clean */
}



.highlight-cell {
  /*background: var(--card);*/
  /*padding: 22px;*/
  /*text-align: center;*/
  background: #ffffff; /* white cards */
  padding: 22px;
  text-align: center;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.highlight-cell .hl-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.highlight-cell .hl-num {
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

/* ── BAR CHART ── */ 

.bar-chart { display: flex; flex-direction: column; gap: 14px; } 
.bar-row { display: grid; grid-template-columns: 180px 1fr 56px; align-items: center; gap: 14px; } 
.infographic.custom .bar-label { font-weight: 500; text-align: right; position: inherit; } 
.bar-track { background: var(--cream); border-radius: 100px; height: 10px; overflow: hidden; } 
.bar-fill { height: 100%; border-radius: 100px; width: var(--w); background: var(--accent); animation: growBar 1.2s cubic-bezier(.16,1,.3,1) both; animation-delay: var(--delay, .2s); } 
.bar-fill.green { background: var(--accent2); } 
.bar-fill.gold { background: var(--gold); } 
.bar-fill.purple{ background: #7c3aed; } 
.bar-fill.blue { background: #0369a1; } 
.bar-val { font-size: 13px; font-weight: 600;} 

@media (max-width: 820px) {
  .page-wrap {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    padding-top: 0;
  }
  .toc-card {
    display: none;
  }
  .conclusion {
    padding: 36px 28px;
  }
}

@media (max-width: 580px) {
  .hero {
    padding: 56px 20px 56px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .infographic {
    padding: 22px 18px;
  }
}