/* ═══════════════════════════════════════════════════════════════════════════
   Why Sid Ratnam? — Public / Client / Partner Comparison Chart
   + Autonomous Engineering vs. Conventional Monitoring Visual Explainer
   + Transparent Pricing Cards & Friday Business Accountability
   ═══════════════════════════════════════════════════════════════════════════ */

.wsr-section {
  background: #0D0D0D;
  padding: 88px 24px;
  color: #F5F5F0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.wsr-card {
  max-width: 1020px;
  margin: 0 auto;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  padding: 44px 36px 34px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.45);
}

.wsr-head {
  text-align: center;
  margin-bottom: 34px;
}

.wsr-title {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #F5F5F0;
  margin: 0 0 10px;
  line-height: 1.15;
}

.wsr-subtitle {
  font-size: clamp(0.98rem, 1.5vw, 1.14rem);
  font-weight: 400;
  color: #D4CFC8;
  margin: 0;
  line-height: 1.45;
}

/* Desktop 4-column top header + consultation row */
.wsr-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.55fr) minmax(82px, 0.55fr) minmax(175px, 1.05fr) minmax(245px, 1.25fr);
  column-gap: 16px;
  align-items: start;
}

.wsr-colhead {
  font-size: 0.96rem;
  font-weight: 600;
  color: #F5F5F0;
  text-align: center;
  padding: 0 6px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wsr-colhead--label {
  text-align: left;
}

.wsr-consult-label {
  font-size: 0.98rem;
  font-weight: 600;
  color: #F5F5F0;
  padding: 18px 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-self: stretch;
  display: flex;
  align-items: flex-start;
}

.wsr-consult-cell {
  text-align: center;
  padding: 16px 6px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.wsr-tier-tag {
  display: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9C968D;
  margin-bottom: 6px;
}

.wsr-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #F5F5F0;
  line-height: 1.15;
}

.wsr-credit-green {
  font-size: 0.78rem;
  font-weight: 600;
  color: #22C55E;
  line-height: 1.35;
  margin-top: 6px;
  max-width: 24ch;
}

.wsr-credit-sub {
  font-size: 0.76rem;
  font-weight: 400;
  color: #D4CFC8;
  line-height: 1.35;
  margin-top: 2px;
}

.wsr-complimentary {
  font-size: 1.08rem;
  font-weight: 600;
  color: #22C55E;
  line-height: 1.35;
  padding-top: 4px;
}

/* Main split: Left 3-col matrix + Right merged Partner commitment card */
.wsr-body {
  display: grid;
  grid-template-columns: minmax(0, 3.15fr) minmax(245px, 1.25fr);
  column-gap: 16px;
  align-items: stretch;
  margin-top: 10px;
}

.wsr-matrix {
  display: flex;
  flex-direction: column;
}

.wsr-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.55fr) minmax(82px, 0.55fr) minmax(175px, 1.05fr);
  column-gap: 16px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wsr-row--last {
  border-bottom: none;
}

.wsr-row--analysis {
  padding: 14px 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wsr-row-label {
  font-size: 0.94rem;
  font-weight: 500;
  color: #F0ECE4;
  line-height: 1.35;
}

.wsr-row--analysis .wsr-row-label {
  font-weight: 600;
  color: #FFFFFF;
}

.wsr-cell {
  text-align: center;
  font-size: 0.92rem;
  color: #D4CFC8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.wsr-cell--included {
  font-weight: 600;
  color: #F5F5F0;
}

.wsr-dash {
  color: #8A867E;
  font-weight: 400;
  font-size: 1rem;
}

.wsr-check-neutral {
  color: #E5E2DC;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1;
}

.wsr-check-beyond {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #22C55E;
}

.wsr-check-beyond svg {
  width: 20px;
  height: 20px;
  display: block;
}

.wsr-group-head {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D4CFC8;
  padding: 20px 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wsr-group-head--beyond {
  color: #22C55E;
  padding-top: 24px;
}

/* Merged Partner Commitment Block */
.wsr-partner-card {
  background: #1B1B1B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 26px 24px 24px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.wsr-partner-icon {
  color: #D4AF6A;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
}

.wsr-partner-icon svg {
  width: 38px;
  height: 38px;
  display: block;
}

.wsr-partner-heading {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.24;
  color: #D4AF6A;
  margin: 0;
}

.wsr-partner-rule {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  margin: 0;
}

.wsr-partner-copy {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.wsr-partner-lead {
  font-size: 0.96rem;
  font-weight: 700;
  color: #F5F5F0;
  line-height: 1.48;
  margin: 0;
}

.wsr-partner-p {
  font-size: 0.92rem;
  font-weight: 400;
  color: #DCD8D0;
  line-height: 1.54;
  margin: 0;
}

.wsr-partner-pillars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wsr-partner-pillar {
  font-size: 1.12rem;
  font-weight: 600;
  color: #D4AF6A;
  line-height: 1.28;
  margin: 0;
}

.wsr-partner-foot {
  font-size: 0.94rem;
  font-weight: 700;
  color: #F5F5F0;
  margin: 4px 0 0;
  line-height: 1.35;
}

.wsr-partner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 106, 0.45);
  background: rgba(212, 175, 106, 0.08);
  color: #F5F5F0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.wsr-partner-cta:hover {
  background: rgba(212, 175, 106, 0.18);
  border-color: #D4AF6A;
}

/* Footnote + bottom anchor */
.wsr-footnote {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  color: #C4BFB7;
  line-height: 1.55;
}

.wsr-anchor {
  margin: 26px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  font-weight: 700;
  color: #F5F5F0;
  letter-spacing: -0.01em;
}

.wsr-cell-mobile-tag {
  display: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8E8980;
}

/* ── Autonomous Engineering vs Conventional Monitoring Explainer ── */
.sr-eng-wrap {
  max-width: 1020px;
  margin: 44px auto 0;
}

.sr-eng-grid {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 20px;
  margin-top: 22px;
}

.sr-eng-panel {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 26px 24px;
}

.sr-eng-panel--sr {
  border-color: rgba(34, 197, 94, 0.32);
  background: linear-gradient(160deg, rgba(34, 197, 94, 0.06), #141414 55%);
}

.sr-eng-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9C968D;
  margin: 0 0 8px;
}

.sr-eng-panel--sr .sr-eng-kicker {
  color: #22C55E;
}

.sr-eng-title {
  font-family: var(--font-display, 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  font-weight: 400;
  font-size: 1.35rem;
  color: #F5F5F0;
  margin: 0 0 14px;
  line-height: 1.2;
}

.sr-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 16px;
}

.sr-flow-step {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 6px;
  background: #1E1E1E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #D4CFC8;
}

.sr-eng-panel--sr .sr-flow-step {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.28);
  color: #ECFDF5;
}

.sr-flow-arrow {
  color: #7D7870;
  font-size: 12px;
}

.sr-eng-panel--sr .sr-flow-arrow {
  color: #22C55E;
}

.sr-eng-note {
  font-size: 0.9rem;
  color: #C4BFB7;
  margin: 0;
  line-height: 1.6;
}

.sr-policy-banner {
  margin-top: 20px;
  padding: 20px 24px;
  border-radius: 12px;
  background: rgba(255, 210, 0, 0.06);
  border: 1px solid rgba(255, 210, 0, 0.25);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.sr-policy-banner strong {
  font-family: var(--font-display, 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: #FFD200;
}

.sr-policy-banner p {
  margin: 0;
  font-size: 0.92rem;
  color: #D4CFC8;
  max-width: 62ch;
}

/* ── Mobile Adaptation (< 768px): 0 horizontal overflow ── */
@media (max-width: 767px) {
  .wsr-section {
    padding: 56px 14px;
  }

  .wsr-card {
    padding: 28px 18px 24px;
    border-radius: 14px;
  }

  .wsr-head {
    margin-bottom: 24px;
  }

  .wsr-colhead {
    display: none;
  }

  .wsr-top {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .wsr-consult-label {
    padding: 0 0 6px;
    border-bottom: none;
    font-size: 1.02rem;
  }

  .wsr-consult-cell {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: #1A1A1A;
    padding: 14px 14px;
    align-items: flex-start;
    text-align: left;
  }

  .wsr-tier-tag {
    display: block;
  }

  .wsr-credit-green {
    max-width: none;
  }

  .wsr-body {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 14px;
  }

  .wsr-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "label client"
      "public public";
    row-gap: 4px;
    column-gap: 12px;
    padding: 12px 0;
  }

  .wsr-row-label {
    grid-area: label;
    font-size: 0.92rem;
  }

  .wsr-cell--public {
    grid-area: public;
    justify-content: flex-start;
    font-size: 0.8rem;
    color: #9C968D;
  }

  .wsr-cell--client {
    grid-area: client;
    justify-content: flex-end;
  }

  .wsr-cell-mobile-tag {
    display: inline;
  }

  .wsr-partner-card {
    margin-top: 0;
    padding: 24px 20px;
  }

  .sr-eng-grid {
    grid-template-columns: 1fr;
  }
}
