/* ArthaBase product page: Bali Villa STR Report.
   Depends on tokens + atlas kit in style.css. */

/* ════ HERO ═══════════════════════════════════════════════════ */
.bar-hero {
  position: relative;
  padding-top: clamp(7rem, 14vw, 11rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.bar-hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(233, 231, 223, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 231, 223, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 60% 0%, black 30%, transparent 80%);
  pointer-events: none;
}

.bar-hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 960px) {
  .bar-hero-layout { grid-template-columns: 1fr; }
}

.bar-hero-copy {
  container-type: inline-size;
}
.bar-hero-title {
  margin-top: 1.25rem;
  text-wrap: initial;
  font-size: clamp(2.25rem, 10.5cqi, 4.5rem);
  line-height: 1.06;
}
.bar-hero-title-line {
  display: block;
}
.bar-hero-title-line + .bar-hero-title-line {
  white-space: nowrap;
}
.bar-hero-lead {
  margin-top: 1.375rem;
  max-width: 33rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
}
.bar-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem;
  margin-top: 2rem;
}
@media (max-width: 640px) {
  .bar-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .bar-hero-actions .btn-atlas,
  .bar-hero-actions .btn-atlas-ghost {
    width: 100%;
  }
}
.bar-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 2.25rem;
}

/* ── Instrument panel ─────────────────────────────────────────── */
.bar-instrument {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.bar-instrument-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  background: rgba(233, 231, 223, 0.03);
}
.bar-instrument-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
}
.bar-instrument-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem;
}
.bar-instrument-chart { padding: 0 1.25rem 1rem; }
.bar-instrument-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 92px;
}
.bar-instrument-bars span {
  flex: 1;
  height: var(--h, 40%);
  background: linear-gradient(180deg, var(--color-terracotta) 0%, rgba(224, 116, 59, 0.45) 100%);
  border-radius: 2px 2px 0 0;
  min-width: 0;
}
.bar-instrument-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
}
.bar-instrument-table { border-top: 1px solid var(--color-border); }

/* ════ HOW IT WORKS ═══════════════════════════════════════════ */
.bar-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
@media (max-width: 860px) {
  .bar-steps { grid-template-columns: 1fr; }
}
.bar-step {
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}
.bar-step-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--color-terracotta);
}
.bar-step h3 {
  margin-top: 0.875rem;
  font-size: 1.25rem;
}
.bar-step p {
  margin-top: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* ════ REPORT PREVIEW (paper) ═════════════════════════════════ */
.bar-preview { background-color: var(--color-bg); }

.bar-report {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.bar-report-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid var(--color-border);
  background: rgba(26, 29, 26, 0.03);
  scrollbar-width: none;
}
.bar-report-tabs::-webkit-scrollbar { display: none; }
.bar-report-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  padding: 0.875rem 1.125rem;
  background: none;
  border: none;
  border-right: 1px solid var(--color-border-faint);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.bar-report-tab i {
  font-size: 1rem;
  opacity: 0.75;
}
.bar-report-tab.is-active i { opacity: 1; color: var(--color-terracotta); }
.bar-report-tab:hover { color: var(--color-text); }
.bar-report-tab.is-active {
  color: var(--color-text);
  background: var(--color-surface);
  box-shadow: inset 0 -2px 0 var(--color-terracotta);
}

.bar-report-body {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  min-width: 0;
}
.bar-report-panel[hidden] { display: none; }
.bar-report-panel {
  min-width: 0;
  animation: bar-panel-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes bar-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bar-report-panel { animation: none; }
}

/* TL;DR insights */
.bar-panel-toc {
  margin-bottom: 1.5rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-border-faint);
  border-radius: var(--radius-sm);
  background: var(--color-bg-muted);
}
.bar-panel-toc-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
  margin-bottom: 0.5rem;
}
.bar-panel-toc ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}
.bar-panel-toc li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.bar-panel-toc li > i.ph {
  flex-shrink: 0;
  font-size: 0.625rem;
  line-height: 1;
  color: var(--color-terracotta);
}
.bar-panel-section-title {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}
.bar-panel-section-lead {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  max-width: 62ch;
}
.bar-panel-section-lead code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}
.bar-table-scroll {
  --bar-report-body-pad: clamp(1.25rem, 3vw, 2.25rem);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: thin;
  margin-inline: calc(-1 * var(--bar-report-body-pad));
  padding-inline: var(--bar-report-body-pad);
  padding-bottom: 0.25rem;
}
.bar-table-scroll::-webkit-scrollbar {
  height: 4px;
}
.bar-table-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(20, 23, 20, 0.18);
}
.bar-data-table {
  font-size: 0.8125rem;
  width: max-content;
  min-width: 100%;
}
.bar-glossary {
  display: grid;
  gap: 1rem;
  margin: 0;
}
.bar-glossary-item {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-faint);
}
.bar-glossary-item:first-child { border-top: none; padding-top: 0; }
.bar-glossary dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-terracotta);
}
.bar-glossary dd {
  margin: 0.375rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Summary tab: key signals + MTI */
.bar-summary-block + .bar-summary-block {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--color-border-faint);
}
.bar-summary-heading {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 1rem;
}
.bar-key-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.875rem;
}
@media (max-width: 960px) {
  .bar-key-signals { grid-template-columns: 1fr; }
}
.bar-signal-card {
  padding: 1rem 1.125rem;
  border: 1px solid var(--color-border-faint);
  border-radius: var(--radius-md);
  background: var(--color-bg-raised);
}
.bar-signal-card-top {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.bar-signal-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
}
.bar-signal-icon--risk {
  color: var(--color-red);
  background: rgba(191, 74, 60, 0.12);
}
.bar-signal-icon--opportunity {
  color: var(--color-green);
  background: rgba(31, 122, 77, 0.12);
}
.bar-signal-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem 0.625rem;
  min-width: 0;
}
.bar-signal-title {
  flex: 1 1 100%;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--color-text);
}
.bar-signal-badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.bar-signal-badge--risk {
  color: var(--color-red);
  background: rgba(191, 74, 60, 0.12);
}
.bar-signal-badge--opportunity {
  color: var(--color-green);
  background: rgba(31, 122, 77, 0.12);
}
.bar-signal-body {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.bar-mti-lead {
  margin: 0 0 1.25rem;
  max-width: 52ch;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.bar-mti-core {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--color-border-faint);
  border-radius: var(--radius-md);
  background: var(--color-bg-raised);
}
@media (max-width: 720px) {
  .bar-mti-core { grid-template-columns: 1fr; }
}
.bar-mti-score-block {
  text-align: center;
  min-width: 6.5rem;
}
.bar-mti-score {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 2rem + 2vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
}
.bar-mti-score-label {
  margin: 0.375rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}
.bar-mti-scale {
  position: relative;
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #c45a4f 0%, #d4a84b 50%, #3d9a6a 100%);
}
.bar-mti-scale-marker {
  position: absolute;
  top: 50%;
  left: var(--mti-pos, 50%);
  width: 0.625rem;
  height: 1.125rem;
  border-radius: 2px;
  background: var(--color-text);
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px rgba(20, 23, 20, 0.25);
}
.bar-mti-scale-labels {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.02em;
  color: var(--color-text-faint);
}
.bar-mti-scale-labels span:nth-child(2) {
  color: var(--color-text-muted);
  font-weight: 500;
}
/* Market tab */
.bar-market-reads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 860px) {
  .bar-market-reads { grid-template-columns: 1fr; }
}
.bar-market-read {
  padding: 1rem 1.125rem;
  border: 1px solid var(--color-border-faint);
  border-radius: var(--radius-md);
  background: var(--color-bg-raised);
}
.bar-market-read-key {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-terracotta);
}
.bar-market-read-key i { font-size: 0.875rem; }
.bar-market-read h4 {
  margin: 0.625rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--color-text);
}
.bar-market-read p {
  margin: 0.375rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

/* Area overview chart */
.bar-chart-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.bar-chart-card-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}
.bar-chart-card-head h3 { font-size: 1.0625rem; }
.bar-chart-period {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  background: var(--color-terracotta-dim);
}
.bar-chart-legend {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}
.bar-chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
}
.bar-legend-swatch {
  flex-shrink: 0;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.bar-legend-swatch--supply {
  background: var(--color-terracotta);
}
.bar-legend-swatch--demand-line {
  background: var(--color-green);
}
@media (max-width: 640px) {
  .bar-chart-card-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .bar-chart-legend {
    font-size: 0.5625rem;
    gap: 0.25rem 0.625rem;
  }
  .bar-legend-swatch {
    width: 7px;
    height: 7px;
  }
}

.bar-supply-demand-chart {
  position: relative;
  height: 172px;
}
.bar-supply-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 100%;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--color-border);
}
.bar-supply-bars--36 { gap: 2px; }
.bar-supply-col {
  flex: 1;
  height: var(--h, 40%);
  min-width: 0;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--color-terracotta) 0%, rgba(224, 116, 59, 0.72) 100%);
}
.bar-demand-line {
  position: absolute;
  inset: 0 0 3px;
  width: 100%;
  height: calc(100% - 3px);
  pointer-events: none;
  overflow: visible;
}
.bar-demand-line polyline {
  fill: none;
  stroke: var(--color-green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.bar-chart-axis {
  display: flex;
  justify-content: space-between;
  gap: 0.25rem;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.02em;
  color: var(--color-text-faint);
}
.bar-chart-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 52ch;
}

/* Comps tab */
.bar-comps-stack {
  display: grid;
  gap: 1rem;
  min-width: 0;
}
@media (min-width: 960px) {
  .bar-comps-stack {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 0.875rem;
    align-items: stretch;
  }
}
.bar-comps-card {
  min-width: 0;
  padding: clamp(1rem, 2.5vw, 1.25rem);
  border: 1px solid var(--color-border-faint);
  border-radius: var(--radius-md);
  background: var(--color-bg-raised);
}
.bar-comps-card--heatmap {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.bar-comps-card--heatmap .bar-heatmap {
  flex: 1;
  min-width: 0;
}
.bar-comps-card-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1rem;
}
.bar-comps-pill {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  background: var(--color-terracotta-dim);
}
.bar-density-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.bar-density-level {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a5c2e;
  background: #f3e8d8;
}
.bar-density-summary p {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.bar-density-map {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-faint);
}
.bar-density-map-img {
  display: block;
  width: 100%;
  height: auto;
}
.bar-density-map-img--desktop {
  display: none;
}
@media (min-width: 960px) {
  .bar-comps-card--density {
    display: flex;
    flex-direction: column;
  }
  .bar-comps-card--density .bar-density-map {
    flex: 1;
  }
  .bar-density-map-img--mobile {
    display: none;
  }
  .bar-density-map-img--desktop {
    display: block;
  }
}

.bar-heatmap {
  --bar-comps-card-pad: clamp(1rem, 2.5vw, 1.25rem);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: thin;
  margin-inline: calc(-1 * var(--bar-comps-card-pad));
  padding-inline: var(--bar-comps-card-pad);
  padding-bottom: 0.25rem;
}
.bar-heatmap::-webkit-scrollbar {
  height: 4px;
}
.bar-heatmap::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(20, 23, 20, 0.18);
}
.bar-heatmap-grid {
  display: grid;
  grid-template-columns: 2.5rem repeat(12, 2.375rem);
  gap: 4px;
  width: max-content;
  min-width: 100%;
}
.bar-heatmap-corner { min-height: 0; }
.bar-heatmap-month,
.bar-heatmap-year {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-faint);
}
.bar-heatmap-year {
  justify-content: flex-end;
  padding-right: 0.375rem;
  color: var(--color-text-muted);
}
.bar-heatmap-month {
  justify-content: center;
  padding-bottom: 0.25rem;
}
.bar-heatmap-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.375rem;
  min-height: 2rem;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(20, 23, 20, 0.82);
}
.bar-heatmap-cell.is-empty {
  background: #e4e2db;
  color: transparent;
}
.bar-heatmap-cell.is-trough {
  background: #e8b4b0;
  color: #6b2e28;
}
.bar-heatmap-cell.is-slow {
  background: #d4bc8e;
  color: #4a3a1f;
}
.bar-heatmap-cell.is-strong {
  background: #9ec9a8;
  color: #1f4a30;
}
.bar-heatmap-cell.is-peak {
  background: #2d7a4d;
  color: #f7f5ef;
}
.bar-heatmap-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.875rem;
  margin: 0.875rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}
@media (max-width: 640px) {
  .bar-heatmap-legend {
    gap: 0.375rem 0.625rem;
    font-size: 0.625rem;
  }
}
.bar-heatmap-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.bar-heatmap-legend-swatch {
  flex-shrink: 0;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 999px;
}
.bar-heatmap-legend-swatch.is-empty { background: #e4e2db; }
.bar-heatmap-legend-swatch.is-trough { background: #e8b4b0; }
.bar-heatmap-legend-swatch.is-slow { background: #d4bc8e; }
.bar-heatmap-legend-swatch.is-strong { background: #9ec9a8; }
.bar-heatmap-legend-swatch.is-peak { background: #2d7a4d; }
.bar-pos { color: var(--color-green); }
.bar-neg { color: var(--color-red); }
.bar-table-note {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--color-text-faint);
}

/* ROI */
.bar-roi { border-top: 1px solid var(--color-border); }
.bar-roi-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 0.25rem;
  border-bottom: 1px solid var(--color-border-faint);
}
.bar-roi-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.bar-roi-value {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.bar-roi-row--stress .bar-roi-label,
.bar-roi-row--stress .bar-roi-value {
  color: var(--color-text-faint);
  font-weight: 400;
}

.bar-preview-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 640px) {
  .bar-preview-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .bar-preview-btn {
    width: 100%;
  }
}
.bar-preview-btn {
  background: #e0743b;
  border-color: #e0743b;
  color: #fff;
}
.bar-preview-btn:hover {
  background: #c05621;
  border-color: #c05621;
  color: #fff;
}
.bar-preview-btn .btn-price {
  opacity: 0.92;
}
.bar-preview-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

/* ════ SECTION MANIFEST ═══════════════════════════════════════ */
.bar-manifest-list { border-top: 1px solid var(--color-border); }
.bar-manifest-row {
  display: grid;
  grid-template-columns: minmax(5rem, 1fr) minmax(0, 3fr) minmax(0, 6fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: baseline;
  padding: clamp(1.25rem, 2.5vw, 1.875rem) 0;
  border-bottom: 1px solid var(--color-border);
}
@media (max-width: 760px) {
  .bar-manifest-row { grid-template-columns: 1fr; gap: 0.5rem; }
}
.bar-manifest-key {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--color-terracotta);
}
.bar-manifest-row h3 { font-size: 1.375rem; }
.bar-manifest-row p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 56ch;
}

/* ════ FAQ (paper band, full bleed) ═══════════════════════════ */
.bar-faq {
  background-color: var(--color-bg);
}

/* ════ FINAL CTA EXTRAS ═══════════════════════════════════════ */
.bar-audiences {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(233, 231, 223, 0.18);
}
.bar-audiences-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}
.bar-audiences a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(233, 231, 223, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.bar-audiences a:hover {
  color: var(--color-terracotta);
  border-color: var(--color-terracotta);
}
