/* ============================================================
   Business Decision Simulator – WordPress Plugin CSS
   Matches the original React app design exactly.
   All classes prefixed with bds- to avoid WordPress conflicts.
   ============================================================ */

/* ── Design tokens ─────────────────────────────────────────── */
#bds-root {
  --bds-radius: 0.875rem;
  --bds-background: oklch(0.985 0.005 250);
  --bds-foreground: oklch(0.2 0.025 264);
  --bds-card: oklch(1 0 0);
  --bds-primary: oklch(0.62 0.16 50);
  --bds-primary-glow: oklch(0.72 0.17 60);
  --bds-secondary: oklch(0.96 0.008 250);
  --bds-muted: oklch(0.96 0.008 250);
  --bds-muted-fg: oklch(0.5 0.018 260);
  --bds-accent: oklch(0.62 0.14 165);
  --bds-destructive: oklch(0.62 0.22 25);
  --bds-border: oklch(0.91 0.012 255);
  --bds-ring: oklch(0.62 0.16 50);
  --bds-gradient-surface: linear-gradient(160deg, oklch(1 0 0), oklch(0.985 0.005 250));
  --bds-gradient-glow: radial-gradient(ellipse at top, oklch(0.62 0.16 50 / 0.10), transparent 60%);
  --bds-shadow-elegant: 0 20px 50px -25px oklch(0.2 0.025 264 / 0.18), 0 6px 18px -10px oklch(0.2 0.025 264 / 0.08);
  --bds-shadow-gold: 0 20px 60px -22px oklch(0.62 0.16 50 / 0.28);

  all: initial;
  display: block;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bds-background);
  color: var(--bds-foreground);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  box-sizing: border-box;
}

#bds-root *, #bds-root *::before, #bds-root *::after {
  box-sizing: border-box;
}

/* ── Ambient background ─────────────────────────────────────── */
.bds-glow {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 600px;
  opacity: 0.7;
  background: var(--bds-gradient-glow);
}

.bds-blob {
  pointer-events: none;
  position: absolute;
  left: -10rem;
  top: 33%;
  height: 400px;
  width: 400px;
  border-radius: 9999px;
  filter: blur(48px);
  opacity: 0.2;
  background: var(--bds-accent);
}

/* ── Layout ─────────────────────────────────────────────────── */
.bds-inner {
  position: relative;
  margin-inline: auto;
  max-width: 1280px;
  padding: 2.5rem 1rem;
}

@media (min-width: 640px) {
  .bds-inner { padding: 4rem 1.5rem; }
}
@media (min-width: 1024px) {
  .bds-inner { padding: 4rem 2rem; }
}

/* ── Header ─────────────────────────────────────────────────── */
.bds-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

@media (min-width: 640px) { .bds-header { margin-bottom: 3.5rem; } }

.bds-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border: 1px solid oklch(0.62 0.16 50 / 0.3);
  background: oklch(0.62 0.16 50 / 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bds-primary);
  margin-bottom: 1.25rem;
}

.bds-title {
  margin: 0 auto 0;
  max-width: 48rem;
  background: linear-gradient(to bottom right, var(--bds-foreground), var(--bds-foreground), oklch(0.2 0.025 264 / 0.6));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.bds-subtitle {
  margin: 1.25rem auto 0;
  max-width: 40rem;
  font-size: 1rem;
  color: var(--bds-muted-fg);
  text-wrap: balance;
}

@media (min-width: 640px) { .bds-subtitle { font-size: 1.125rem; } }

.bds-country-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--bds-muted-fg);
  opacity: 0.8;
}

/* ── Main grid ──────────────────────────────────────────────── */
.bds-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .bds-grid {
    grid-template-columns: minmax(0,1fr) minmax(0,1.4fr);
  }
}

/* ── Card ───────────────────────────────────────────────────── */
.bds-card {
  position: relative;
  overflow: hidden;
  border: 1px solid oklch(0.91 0.012 255 / 0.6);
  border-radius: var(--bds-radius);
  padding: 1.5rem;
  background: var(--bds-gradient-surface);
  box-shadow: var(--bds-shadow-elegant);
}

@media (min-width: 640px) { .bds-card { padding: 1.75rem; } }

/* ── Section header ─────────────────────────────────────────── */
.bds-section-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.bds-section-icon {
  font-size: 1rem;
  color: var(--bds-primary);
}

.bds-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bds-muted-fg);
}

/* ── Fields grid ────────────────────────────────────────────── */
.bds-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.bds-field { display: flex; flex-direction: column; }

.bds-field-label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--bds-muted-fg);
}

.bds-field-wrap {
  position: relative;
}

.bds-field-prefix,
.bds-field-suffix {
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--bds-muted-fg);
}

.bds-field-prefix { left: 0.75rem; }
.bds-field-suffix { right: 0.75rem; }

.bds-input {
  display: block;
  width: 100%;
  height: 2.5rem;
  border: 1px solid oklch(0.91 0.012 255 / 0.6);
  border-radius: calc(var(--bds-radius) - 4px);
  background: oklch(1 0 0 / 0.4);
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--bds-foreground);
  font-variant-numeric: tabular-nums;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -moz-appearance: textfield;
}

.bds-input::-webkit-inner-spin-button,
.bds-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.bds-input:focus {
  border-color: var(--bds-primary);
  box-shadow: 0 0 0 3px oklch(0.62 0.16 50 / 0.3);
}

.bds-input.bds-has-prefix { padding-left: 1.5rem; }
.bds-input.bds-has-suffix { padding-right: 2rem; }

/* ── Divider ────────────────────────────────────────────────── */
.bds-divider {
  border: none;
  border-top: 1px solid oklch(0.91 0.012 255 / 0.6);
  margin: 1.75rem 0 1.5rem;
}

/* ── Sliders ────────────────────────────────────────────────── */
.bds-slider-wrap { margin-bottom: 1rem; }

.bds-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  margin-bottom: 0.375rem;
  color: var(--bds-muted-fg);
}

.bds-slider-val {
  font-weight: 600;
  color: var(--bds-foreground);
  font-variant-numeric: tabular-nums;
}

.bds-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: var(--bds-secondary);
  cursor: pointer;
  outline: none;
  accent-color: var(--bds-primary);
}

.bds-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bds-primary);
  cursor: pointer;
  box-shadow: 0 1px 3px oklch(0 0 0 / 0.2);
}

.bds-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  background: var(--bds-primary);
  cursor: pointer;
}

.bds-reset-btn {
  margin-top: 0.5rem;
  background: none;
  border: none;
  font-size: 0.75rem;
  color: var(--bds-muted-fg);
  cursor: pointer;
  padding: 0.25rem 0;
  font-family: inherit;
  transition: color 0.15s;
}

.bds-reset-btn:hover { color: var(--bds-foreground); }

/* ── Results column ─────────────────────────────────────────── */
.bds-results {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ── Hero card ──────────────────────────────────────────────── */
.bds-hero-card {
  box-shadow: var(--bds-shadow-gold);
}

.bds-hero-glow {
  pointer-events: none;
  position: absolute;
  right: -5rem;
  top: -5rem;
  height: 16rem;
  width: 16rem;
  border-radius: 9999px;
  filter: blur(48px);
  opacity: 0.3;
  background: var(--bds-primary);
}

.bds-hero-inner {
  position: relative;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 640px) {
  .bds-hero-inner {
    grid-template-columns: auto 1fr;
  }
}

/* ── Gauge ──────────────────────────────────────────────────── */
.bds-gauge-wrap {
  position: relative;
  display: grid;
  height: 9rem;
  width: 9rem;
  place-items: center;
  flex-shrink: 0;
}

.bds-gauge-svg {
  height: 9rem;
  width: 9rem;
  transform: rotate(-135deg);
  position: absolute;
  top: 0; left: 0;
}

.bds-gauge-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.bds-gauge-score {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--bds-foreground);
}

.bds-gauge-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bds-muted-fg);
  margin-top: 0.125rem;
}

/* ── Hero right ─────────────────────────────────────────────── */
.bds-verdict-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--bds-muted-fg);
}

.bds-verdict {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--bds-foreground);
}

@media (min-width: 640px) { .bds-verdict { font-size: 1.875rem; } }

.bds-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.bds-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid oklch(0.91 0.012 255 / 0.6);
  background: oklch(1 0 0 / 0.4);
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.bds-pill-label { color: var(--bds-muted-fg); }
.bds-pill-value { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--bds-foreground); }

/* ── Tabs ───────────────────────────────────────────────────── */
.bds-tabs-card { padding: 1.25rem; }
@media (min-width: 640px) { .bds-tabs-card { padding: 1.5rem; } }

.bds-tabs-nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.25rem;
  background: oklch(0.96 0.008 250 / 0.6);
  border-radius: calc(var(--bds-radius) - 2px);
  padding: 0.25rem;
  margin-bottom: 1.25rem;
}

.bds-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  border: none;
  background: none;
  border-radius: calc(var(--bds-radius) - 4px);
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--bds-muted-fg);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.bds-tab-btn:hover { color: var(--bds-foreground); }

.bds-tab-active {
  background: white;
  color: var(--bds-foreground);
  box-shadow: 0 1px 3px oklch(0 0 0 / 0.1);
}

.bds-tab-content { display: block; }

/* ── Forecast ───────────────────────────────────────────────── */
.bds-forecast-chart {
  position: relative;
  height: 14rem;
  width: 100%;
  overflow: hidden;
  border-radius: calc(var(--bds-radius) - 2px);
  border: 1px solid oklch(0.91 0.012 255 / 0.6);
  background: oklch(1 0 0 / 0.3);
  padding: 0.75rem;
}

.bds-legend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
  font-size: 0.6875rem;
  color: var(--bds-muted-fg);
}

.bds-legend {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.bds-legend-line {
  display: inline-block;
  height: 2px;
  width: 1rem;
  border-radius: 9999px;
}

.bds-month-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.bds-month-card {
  border: 1px solid oklch(0.91 0.012 255 / 0.6);
  background: oklch(1 0 0 / 0.4);
  border-radius: calc(var(--bds-radius) - 2px);
  padding: 0.75rem;
  text-align: center;
}

.bds-month-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bds-muted-fg);
}

.bds-month-value {
  margin-top: 0.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--bds-foreground);
  word-break: break-all;
}

.bds-month-status {
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 500;
}

.bds-ok  { color: var(--bds-accent); }
.bds-bad { color: var(--bds-destructive); }

/* ── Board room ─────────────────────────────────────────────── */
.bds-board-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .bds-board-grid { grid-template-columns: 1fr 1fr; }
}

.bds-board-card {
  border: 1px solid oklch(0.91 0.012 255 / 0.6);
  background: oklch(1 0 0 / 0.4);
  border-radius: calc(var(--bds-radius) - 2px);
  padding: 1rem;
  transition: border-color 0.15s;
}

.bds-board-card:hover {
  border-color: oklch(0.62 0.16 50 / 0.4);
}

.bds-board-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.bds-board-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: calc(var(--bds-radius) - 4px);
  flex-shrink: 0;
}

.bds-icon-primary { background: oklch(0.62 0.16 50 / 0.15); }
.bds-icon-accent  { background: oklch(0.62 0.14 165 / 0.15); }

.bds-board-who {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bds-foreground);
}

.bds-board-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--bds-muted-fg);
  margin: 0;
}

/* ── Actions ────────────────────────────────────────────────── */
.bds-delta-box {
  border: 1px solid oklch(0.62 0.16 50 / 0.3);
  background: oklch(0.62 0.16 50 / 0.05);
  border-radius: calc(var(--bds-radius) - 2px);
  padding: 0.75rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  color: var(--bds-foreground);
}

.bds-delta-label {
  font-weight: 600;
  color: var(--bds-primary);
  margin-right: 0.25rem;
}

.bds-actions-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bds-action-item {
  display: flex;
  gap: 0.75rem;
  border: 1px solid oklch(0.91 0.012 255 / 0.6);
  background: oklch(1 0 0 / 0.4);
  border-radius: calc(var(--bds-radius) - 2px);
  padding: 1rem;
}

.bds-action-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: calc(var(--bds-radius) - 4px);
  flex-shrink: 0;
}

.bds-critical    { background: oklch(0.62 0.22 25 / 0.15); color: var(--bds-destructive); }
.bds-high        { background: oklch(0.62 0.16 50 / 0.15); color: var(--bds-primary); }
.bds-recommended { background: oklch(0.62 0.14 165 / 0.15); color: var(--bds-accent); }

.bds-action-body { flex: 1; min-width: 0; }

.bds-action-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.bds-action-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bds-foreground);
}

.bds-action-badge {
  flex-shrink: 0;
  border-radius: 9999px;
  padding: 0.125rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bds-action-badge.bds-critical    { background: oklch(0.62 0.22 25 / 0.15); color: var(--bds-destructive); }
.bds-action-badge.bds-high        { background: oklch(0.62 0.16 50 / 0.15); color: var(--bds-primary); }
.bds-action-badge.bds-recommended { background: oklch(0.62 0.14 165 / 0.15); color: var(--bds-accent); }

.bds-action-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--bds-muted-fg);
  margin: 0;
}

/* ── Progress bar ───────────────────────────────────────────── */
.bds-progress-bar-wrap {
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--bds-secondary);
  overflow: hidden;
  margin-top: 1.5rem;
}

.bds-progress-bar {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--bds-primary), var(--bds-accent));
  transition: width 0.4s ease;
}

.bds-confidence {
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  color: var(--bds-muted-fg);
}

/* ── Responsive tweaks ──────────────────────────────────────── */
@media (max-width: 480px) {
  .bds-fields-grid { grid-template-columns: 1fr; }
  .bds-tab-btn { font-size: 0.7rem; padding: 0.375rem 0.5rem; }
  .bds-month-value { font-size: 0.875rem; }
  .bds-verdict { font-size: 1.25rem; }
  .bds-gauge-wrap { height: 7rem; width: 7rem; }
  .bds-gauge-svg  { height: 7rem; width: 7rem; }
  .bds-gauge-score { font-size: 2rem; }
}

/* ════════════════════════════════════════════════════════════
   SEO CONTENT SECTION  — bds-s-* prefix, zero conflict
   ════════════════════════════════════════════════════════════ */

/* Outer wrapper */
.bds-seo {
  position: relative;
  margin-inline: auto;
  max-width: 1280px;
  padding: 0 1rem 6rem;
  color: var(--bds-foreground);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (min-width: 640px)  { .bds-seo { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .bds-seo { padding-inline: 2rem; } }

/* ── Spacing utilities ─────────────────────────────────────── */
.bds-s-mt8  { margin-top: 2rem; }
.bds-s-mt14 { margin-top: 3.5rem; }
.bds-s-mt16 { margin-top: 4rem; }

/* ── Intro ─────────────────────────────────────────────────── */
.bds-s-intro {
  margin: 2.5rem auto 0;
  max-width: 48rem;
  text-align: center;
}

.bds-s-badge {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  border: 1px solid oklch(0.62 0.16 50 / .3);
  background: oklch(0.62 0.16 50 / .05);
  border-radius: 9999px;
  padding: .25rem .75rem;
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--bds-primary);
  margin-bottom: 1rem;
}

.bds-s-intro-h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-wrap: balance;
  color: var(--bds-foreground);
  margin: 0 0 1rem;
}

.bds-s-intro-p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--bds-muted-fg);
  margin: 0;
  text-wrap: balance;
}
@media (min-width: 640px) { .bds-s-intro-p { font-size: 1.0625rem; } }

/* ── Section block header ──────────────────────────────────── */
.bds-s-block-hd {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.bds-s-block-lbl {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--bds-muted-fg);
}

/* ── Cards ─────────────────────────────────────────────────── */
.bds-s-card {
  border: 1px solid oklch(0.91 0.012 255 / .7);
  border-radius: var(--bds-radius);
  padding: 1.25rem;
  background: var(--bds-gradient-surface);
  box-shadow: var(--bds-shadow-elegant);
}

.bds-s-card-gold { box-shadow: var(--bds-shadow-gold); }

/* ── Grids ─────────────────────────────────────────────────── */
.bds-s-grid4 {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px)  { .bds-s-grid4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .bds-s-grid4 { grid-template-columns: repeat(4, 1fr); } }

.bds-s-grid-steps {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px)  { .bds-s-grid-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .bds-s-grid-steps { grid-template-columns: repeat(5, 1fr); } }

.bds-s-grid2 {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) { .bds-s-grid2 { grid-template-columns: 1fr 1fr; } }

/* ── Feature cards ─────────────────────────────────────────── */
.bds-s-feat-icon {
  font-size: 1.25rem;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  background: oklch(0.62 0.16 50 / .1);
  border-radius: calc(var(--bds-radius) - 4px);
  margin-bottom: .75rem;
}

.bds-s-card-title {
  font-size: .875rem;
  font-weight: 600;
  color: var(--bds-foreground);
  margin: 0 0 .375rem;
  line-height: 1.4;
}

.bds-s-card-body {
  font-size: .875rem;
  line-height: 1.7;
  color: var(--bds-muted-fg);
  margin: 0 0 .75rem;
}
.bds-s-card-body:last-child { margin-bottom: 0; }
.bds-s-card-body em { font-style: italic; color: var(--bds-foreground); }

.bds-s-card-h2 {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.015em;
  color: var(--bds-foreground);
  margin: 0 0 .75rem;
  text-wrap: balance;
}

/* ── Step cards ────────────────────────────────────────────── */
.bds-s-step-num {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--bds-primary);
  margin-bottom: .375rem;
}

.bds-s-step-title {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--bds-foreground);
  margin: 0 0 .375rem;
  line-height: 1.35;
}

/* ── Use-case list ─────────────────────────────────────────── */
.bds-s-use-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.bds-s-use-item {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .875rem;
  color: oklch(0.2 0.025 264 / .9);
  line-height: 1.5;
}

.bds-s-check {
  color: var(--bds-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .1rem;
}

/* ── Long-form prose ───────────────────────────────────────── */
.bds-s-prose {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bds-s-prose-block {
  border: 1px solid oklch(0.91 0.012 255 / .6);
  border-radius: var(--bds-radius);
  padding: 1.75rem;
  background: var(--bds-gradient-surface);
  box-shadow: var(--bds-shadow-elegant);
  margin-bottom: 1rem;
}
.bds-s-prose-block:last-child { margin-bottom: 0; }

.bds-s-prose-h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bds-foreground);
  margin: 0 0 1rem;
  line-height: 1.3;
  letter-spacing: -.01em;
}
@media (min-width: 640px) { .bds-s-prose-h2 { font-size: 1.375rem; } }

.bds-s-prose-body p {
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--bds-muted-fg);
  margin: 0 0 .875rem;
}
.bds-s-prose-body p:last-child { margin-bottom: 0; }
.bds-s-prose-body strong {
  font-weight: 600;
  color: var(--bds-foreground);
}
.bds-s-prose-body em {
  font-style: italic;
  color: var(--bds-foreground);
}

/* ── FAQ accordion ─────────────────────────────────────────── */
.bds-s-faq-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.bds-s-faq-item {
  border: 1px solid oklch(0.91 0.012 255 / .6);
  border-radius: var(--bds-radius);
  background: var(--bds-gradient-surface);
  box-shadow: var(--bds-shadow-elegant);
  overflow: hidden;
  transition: border-color .15s;
}
.bds-s-faq-item:has(.bds-s-faq-btn[aria-expanded="true"]) {
  border-color: oklch(0.62 0.16 50 / .4);
}

.bds-s-faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.bds-s-faq-btn:hover .bds-s-faq-q { color: var(--bds-primary); }

.bds-s-faq-q {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--bds-foreground);
  line-height: 1.4;
  transition: color .15s;
}

.bds-s-faq-icon {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--bds-primary);
  flex-shrink: 0;
  line-height: 1;
  transition: transform .2s;
}
.bds-s-faq-btn[aria-expanded="true"] .bds-s-faq-icon {
  transform: rotate(45deg);
}

.bds-s-faq-ans {
  padding: 0 1.25rem 1.1rem;
}
.bds-s-faq-ans p {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--bds-muted-fg);
  margin: 0;
}

/* ── Footer keywords ───────────────────────────────────────── */
.bds-s-kw-footer {
  margin: 3.5rem auto 0;
  max-width: 44rem;
  text-align: center;
  font-size: .75rem;
  line-height: 1.8;
  color: oklch(0.5 0.018 260 / .6);
}

/* ── Responsive tweaks ─────────────────────────────────────── */
@media (max-width: 480px) {
  .bds-s-intro-h2 { font-size: 1.3rem; }
  .bds-s-card-h2  { font-size: 1.15rem; }
  .bds-s-prose-h2 { font-size: 1.1rem; }
  .bds-s-faq-q    { font-size: .875rem; }
  .bds-s-prose-body p { font-size: .875rem; }
}
