/* ==========================================================================
   DELTA TANGO AI ADVISORY - AI BLUEPRINT (blueprint.css)
   Extends ai.css; inherits header, section, container, eyebrow, title, and
   lead styles so /ai and /ai/blueprint share one visual system.
   Sovereign tokens only. Zero emdashes. Australian English.
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.bp-hero {
  padding-top: 128px;
}

.bp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 56px;
  align-items: end;
}

.bp-hero-title {
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.12;
  max-width: 760px;
}

.bp-hero .ai-hero-actions {
  margin-bottom: 0;
}

.bp-text-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--paper);
  text-decoration: none;
  padding: 14px 4px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bp-text-link:hover {
  color: var(--gold-text);
}

.bp-hero-panel {
  background: var(--ink-2);
  border: 1px solid rgb(var(--fg-rgb) / 0.08);
  border-radius: 12px;
  padding: 24px;
}

.bp-panel-eyebrow {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 16px;
}

.bp-glance-list {
  margin: 0;
  display: grid;
  gap: 0;
}

.bp-glance-list > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgb(var(--fg-rgb) / 0.06);
}

.bp-glance-list dt {
  font-size: 13px;
  color: var(--muted);
}

.bp-glance-list dd {
  margin: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--paper);
  text-align: right;
}

/* --------------------------------------------------------------------------
   GRID AND CARD SYSTEM (matches ai.css card language)
   -------------------------------------------------------------------------- */
.bp-grid {
  display: grid;
  gap: 20px;
}

.bp-grid-1 { grid-template-columns: 1fr; }
.bp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bp-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.bp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border: 1px solid rgb(var(--fg-rgb) / 0.08);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bp-card:hover {
  border-color: rgb(var(--fg-rgb) / 0.16);
  transform: translateY(-2px);
}

.bp-card h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0 0 10px 0;
}

.bp-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 20px 0;
}

.bp-card p:last-child {
  margin-bottom: 0;
}

.bp-card p strong {
  color: var(--paper);
  font-weight: 500;
}

/* Badges */
.bp-badge,
.bp-tier,
.bp-pathway-id {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 18px;
  color: var(--gold-text);
  background: rgb(var(--gold-rgb) / 0.08);
  border: 1px solid rgb(var(--gold-rgb) / 0.22);
}

.bp-badge-blue {
  color: var(--blue-text);
  background: rgb(var(--blue-rgb) / 0.08);
  border-color: rgb(var(--blue-rgb) / 0.25);
}

.bp-badge-green,
.bp-tier-moderate {
  color: var(--hud-green);
  background: rgb(var(--green-rgb) / 0.08);
  border-color: rgb(var(--green-rgb) / 0.25);
}

.bp-tier-high {
  color: var(--hud-amber);
  background: rgb(var(--amber-rgb) / 0.08);
  border-color: rgb(var(--amber-rgb) / 0.25);
}

.bp-tier-extreme {
  color: var(--red-text);
  background: rgb(var(--red-rgb) / 0.08);
  border-color: rgb(var(--red-rgb) / 0.25);
}

/* Spec definition lists, pinned to the card base for even alignment */
.bp-spec {
  margin: auto 0 0 0;
  display: grid;
  border-top: 1px solid rgb(var(--fg-rgb) / 0.06);
}

.bp-spec > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgb(var(--fg-rgb) / 0.04);
}

.bp-spec > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bp-spec dt {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}

.bp-spec dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--paper);
}

/* --------------------------------------------------------------------------
   TAXONOMY STACK
   -------------------------------------------------------------------------- */
.bp-layout-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 20px;
  align-items: stretch;
}

.bp-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink-3);
  border: 1px solid rgb(var(--fg-rgb) / 0.08);
  border-radius: 12px;
  padding: 28px;
}

.bp-stack-layer {
  display: grid;
  gap: 4px;
  background: var(--ink-2);
  border: 1px solid rgb(var(--fg-rgb) / 0.08);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 18px 20px;
}

.bp-stack-interface { border-left-color: var(--blue); }
.bp-stack-model { border-left-color: var(--hud-green); }

.bp-stack-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.bp-stack-layer strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--paper);
}

.bp-stack-layer span:last-child {
  font-size: 13px;
  color: var(--muted);
}

.bp-stack-arrow {
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-text);
  padding: 10px 0;
}

.bp-stack-arrow::before {
  content: '\2193\00a0\00a0';
}

/* --------------------------------------------------------------------------
   HARDWARE PATHWAYS
   -------------------------------------------------------------------------- */
.bp-pathway.is-recommended {
  border-color: rgb(var(--gold-rgb) / 0.5);
  box-shadow: 0 0 0 1px rgb(var(--gold-rgb) / 0.12), 0 16px 40px rgb(var(--shade-rgb) / calc(0.3 * var(--shade-k)));
}

.bp-pathway-id {
  color: var(--paper);
  background: rgb(var(--fg-rgb) / 0.04);
  border-color: rgb(var(--fg-rgb) / 0.12);
}

.bp-ribbon {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--gold);
  padding: 5px 10px;
  border-radius: 4px;
}

.bp-pathway .bp-spec {
  margin-top: 0;
  margin-bottom: 20px;
}

.bp-card p.bp-verdict {
  margin: auto 0 0 0;
  padding-top: 16px;
  border-top: 1px solid rgb(var(--fg-rgb) / 0.06);
  font-size: 13px;
}

.bp-verdict strong {
  color: var(--gold-text);
  font-weight: 500;
}

.bp-model.is-flagship {
  border-color: rgb(var(--gold-rgb) / 0.4);
}

/* --------------------------------------------------------------------------
   TABLES
   -------------------------------------------------------------------------- */
.bp-table-wrap {
  margin-top: 32px;
  overflow-x: auto;
  background: var(--ink-2);
  border: 1px solid rgb(var(--fg-rgb) / 0.08);
  border-radius: 12px;
}

.bp-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.bp-table th,
.bp-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgb(var(--fg-rgb) / 0.06);
  vertical-align: top;
  line-height: 1.5;
}

.bp-table thead th {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--ink-3);
}

.bp-table tbody th {
  font-weight: 500;
  color: var(--paper);
  white-space: nowrap;
}

.bp-table td {
  color: var(--muted);
}

.bp-table .is-highlight {
  color: var(--paper);
  background: rgb(var(--gold-rgb) / 0.04);
}

.bp-table thead .is-highlight {
  color: var(--gold-text);
  background: rgb(var(--gold-rgb) / 0.08);
}

.bp-table tbody tr:last-child th,
.bp-table tbody tr:last-child td {
  border-bottom: none;
}

.bp-table tbody tr:hover td,
.bp-table tbody tr:hover th {
  background-color: rgb(var(--fg-rgb) / 0.02);
}

.bp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.bp-disclaimer {
  margin: 14px 0 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 820px;
}

/* --------------------------------------------------------------------------
   CALLOUT
   -------------------------------------------------------------------------- */
.bp-callout {
  margin-top: 24px;
  background: rgb(var(--gold-rgb) / 0.04);
  border: 1px solid rgb(var(--gold-rgb) / 0.2);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 24px 28px;
}

.bp-callout .bp-panel-eyebrow {
  margin-bottom: 10px;
}

.bp-callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgb(var(--fg-rgb) / 0.82);
  max-width: 980px;
}

/* --------------------------------------------------------------------------
   KPI CARDS
   -------------------------------------------------------------------------- */
.bp-kpi-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgb(var(--fg-rgb) / 0.06);
  font-size: 13px;
  color: var(--muted);
}

.bp-kpi-row:first-of-type {
  margin-top: auto;
}

.bp-kpi-row strong {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--paper);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   SIZING TOOL
   -------------------------------------------------------------------------- */
.bp-sizer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  background: var(--ink-2);
  border: 1px solid rgb(var(--fg-rgb) / 0.12);
  border-radius: 12px;
  overflow: hidden;
}

.bp-sizer-controls {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-right: 1px solid rgb(var(--fg-rgb) / 0.08);
}

.bp-field {
  display: grid;
  gap: 8px;
}

.bp-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold-text);
}

.bp-select {
  width: 100%;
  padding: 13px 40px 13px 14px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  color: var(--paper);
  background-color: rgb(var(--fg-rgb) / 0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' stroke='%23e9b26d' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  border: 1px solid rgb(var(--fg-rgb) / 0.12);
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bp-select:hover {
  border-color: rgb(var(--fg-rgb) / 0.2);
}

.bp-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgb(var(--gold-rgb) / 0.15);
}

.bp-select option {
  background: var(--ink-2);
  color: var(--paper);
}

.bp-sizer-controls .bp-disclaimer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgb(var(--fg-rgb) / 0.06);
}

.bp-sizer-results {
  padding: 32px;
  background: var(--ink);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.bp-results-head {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.bp-result {
  display: grid;
  gap: 4px;
  align-content: start;
  background: var(--ink-2);
  border: 1px solid rgb(var(--fg-rgb) / 0.06);
  border-radius: 8px;
  padding: 16px 18px;
}

.bp-result-wide {
  grid-column: 1 / -1;
}

.bp-result-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}

.bp-result-value {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--paper);
}

.bp-result-value.is-gold {
  font-size: 22px;
  color: var(--gold-text);
}

.bp-result-sub {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.bp-cta {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 40px;
  border-radius: 12px;
  border: 1px solid rgb(var(--gold-rgb) / 0.3);
  background: linear-gradient(135deg, rgb(var(--ink-2-rgb) / 0.95) 0%, rgb(var(--navy-rgb) / 0.55) 100%);
}

.bp-cta .ai-eyebrow {
  margin-bottom: 8px;
}

.bp-cta h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0 0 8px 0;
}

.bp-cta p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 640px;
}

.bp-cta .ai-button-primary {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .bp-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .bp-hero-grid,
  .bp-layout-split,
  .bp-sizer {
    grid-template-columns: 1fr;
  }

  .bp-grid-3 {
    grid-template-columns: 1fr;
  }

  .bp-sizer-controls {
    border-right: none;
    border-bottom: 1px solid rgb(var(--fg-rgb) / 0.08);
  }
}

@media (max-width: 768px) {
  .bp-hero {
    padding-top: 112px;
  }

  .bp-grid-4,
  .bp-sizer-results {
    grid-template-columns: 1fr;
  }

  .bp-card,
  .bp-stack,
  .bp-sizer-controls,
  .bp-sizer-results {
    padding: 22px;
  }

  .bp-ribbon {
    top: 22px;
    right: 22px;
  }

  .bp-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }

  .bp-hero .ai-hero-actions {
    flex-wrap: wrap;
  }
}

/* --------------------------------------------------------------------------
   WHAT IS A TOKEN?
   -------------------------------------------------------------------------- */
.bp-token-demo {
  background: var(--ink-2);
  border: 1px solid rgb(var(--fg-rgb) / 0.08);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
}

.bp-token-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.bp-tok {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 18px;
  color: var(--paper);
  padding: 8px 10px;
  border-radius: 6px;
  white-space: pre;
  background: rgb(var(--blue-rgb) / 0.1);
  border: 1px solid rgb(var(--blue-rgb) / 0.3);
}

.bp-tok:nth-child(even) {
  background: rgb(var(--gold-rgb) / 0.1);
  border-color: rgb(var(--gold-rgb) / 0.3);
}

.bp-token-caption {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.bp-token-caption strong {
  color: var(--paper);
  font-weight: 500;
}

.bp-token-rules {
  margin-bottom: 20px;
}

.bp-rule {
  padding: 22px 24px;
}

.bp-rule-value {
  font-size: 22px;
  font-weight: 500;
  color: var(--gold-text);
  letter-spacing: -0.01em;
}

.bp-rule-eq {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--paper);
  margin: 4px 0 12px 0;
}

.bp-card.bp-rule p {
  font-size: 13px;
}

.bp-token-estimator {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  background: var(--ink-2);
  border: 1px solid rgb(var(--fg-rgb) / 0.12);
  border-radius: 12px;
  overflow: hidden;
}

.bp-estimator-input {
  padding: 28px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.bp-textarea {
  width: 100%;
  min-height: 140px;
  resize: vertical;
  padding: 14px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper);
  background: rgb(var(--fg-rgb) / 0.04);
  border: 1px solid rgb(var(--fg-rgb) / 0.12);
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bp-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgb(var(--gold-rgb) / 0.15);
}

.bp-estimator-input .bp-disclaimer {
  margin: 0;
}

.bp-estimator-output {
  margin: 0;
  padding: 28px;
  background: var(--ink);
  border-left: 1px solid rgb(var(--fg-rgb) / 0.08);
  display: grid;
  align-content: start;
}

.bp-estimator-output > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgb(var(--fg-rgb) / 0.06);
}

.bp-estimator-output > div:last-child {
  border-bottom: none;
}

.bp-estimator-output dt {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}

.bp-estimator-output dd {
  margin: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  color: var(--paper);
}

.bp-estimator-output dd.is-gold {
  font-size: 20px;
  color: var(--gold-text);
}

@media (max-width: 1080px) {
  .bp-token-estimator {
    grid-template-columns: 1fr;
  }

  .bp-estimator-output {
    border-left: none;
    border-top: 1px solid rgb(var(--fg-rgb) / 0.08);
  }
}

@media (max-width: 768px) {
  .bp-tok {
    font-size: 15px;
  }

  .bp-token-demo,
  .bp-estimator-input,
  .bp-estimator-output {
    padding: 22px;
  }
}

/* --------------------------------------------------------------------------
   POWER SECTION AND HARDWARE TIERS
   -------------------------------------------------------------------------- */
.bp-subhead {
  font-size: 20px;
  font-weight: 500;
  color: var(--paper);
  margin: 48px 0 8px 0;
}

.bp-subhead-lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 4px 0;
  max-width: 820px;
}

.bp-table-tight {
  margin-top: 16px;
}

.bp-table td.is-highlight {
  white-space: normal;
}

.bp-power-table td:nth-child(3) {
  white-space: nowrap;
}

.bp-load {
  display: inline-block;
  vertical-align: middle;
  width: 120px;
  height: 6px;
  border-radius: 999px;
  background: rgb(var(--fg-rgb) / 0.08);
  overflow: hidden;
  margin-right: 10px;
}

.bp-load-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--hud-green);
}

.bp-load.is-warn .bp-load-fill {
  background: var(--hud-amber);
}

.bp-load.is-over .bp-load-fill {
  background: rgb(var(--red-rgb));
}

.bp-load-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--paper);
}

.bp-result-link {
  justify-self: start;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .bp-load {
    width: 72px;
  }
}

/* --------------------------------------------------------------------------
   TCO DECISION MATRIX & AUTOMATION INFLECTION SECTION
   -------------------------------------------------------------------------- */
.bp-tco-wrap {
  margin-top: 36px;
  background: var(--ink-2);
  border: 1px solid rgb(var(--fg-rgb) / 0.08);
  border-radius: 14px;
  overflow-x: auto;
  box-shadow: 0 20px 40px rgb(var(--shade-rgb) / calc(0.35 * var(--shade-k)));
}

.bp-tco-table {
  width: 100%;
  min-width: 820px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  text-align: left;
}

.bp-tco-table th,
.bp-tco-table td {
  vertical-align: top;
  line-height: 1.5;
}

.bp-tco-th-dim {
  width: 22%;
  padding: 24px 20px;
  background: var(--ink-3);
  border-bottom: 1px solid rgb(var(--fg-rgb) / 0.08);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  vertical-align: bottom;
}

.bp-tco-th-col {
  width: 39%;
  padding: 24px 24px;
  border-bottom: 1px solid rgb(var(--fg-rgb) / 0.08);
}

.bp-tco-th-col.is-sovereign {
  background: rgb(var(--gold-rgb) / 0.07);
  border-left: 1px solid rgb(var(--gold-rgb) / 0.25);
  border-right: 1px solid rgb(var(--gold-rgb) / 0.25);
  position: relative;
}

.bp-tco-th-col.is-sovereign::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
}

.bp-tco-th-col.is-cloud {
  background: var(--ink-3);
}

.bp-tco-header-badge {
  margin-bottom: 10px;
}

.bp-tco-header-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 4px;
}

.bp-tco-header-sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.bp-tco-row-label {
  width: 22%;
  padding: 20px 20px;
  border-bottom: 1px solid rgb(var(--fg-rgb) / 0.06);
  background: transparent;
  transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bp-tco-label-main {
  display: block;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
}

.bp-tco-label-sub {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}

.bp-tco-table td.is-sovereign {
  width: 39%;
  background: rgb(var(--gold-rgb) / 0.04);
  border-left: 1px solid rgb(var(--gold-rgb) / 0.2);
  border-right: 1px solid rgb(var(--gold-rgb) / 0.2);
  border-bottom: 1px solid rgb(var(--fg-rgb) / 0.06);
  padding: 20px 24px;
  transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bp-tco-table td.is-cloud {
  width: 39%;
  border-bottom: 1px solid rgb(var(--fg-rgb) / 0.06);
  padding: 20px 24px;
  background: transparent;
  transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bp-tco-cell-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bp-tco-lead {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
  display: block;
}

.bp-tco-table td.is-sovereign .bp-tco-lead {
  color: var(--gold-text);
}

.bp-tco-detail {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  display: block;
}

.bp-tco-table tbody tr:last-child .bp-tco-row-label,
.bp-tco-table tbody tr:last-child td {
  border-bottom: none;
}

.bp-tco-table tbody tr:hover .bp-tco-row-label {
  background-color: rgb(var(--fg-rgb) / 0.02);
}

.bp-tco-table tbody tr:hover td.is-cloud {
  background-color: rgb(var(--fg-rgb) / 0.02);
}

.bp-tco-table tbody tr:hover td.is-sovereign {
  background-color: rgb(var(--gold-rgb) / 0.07);
}

/* Automation Inflection Card */
.bp-inflection-card {
  margin-top: 32px;
  background: linear-gradient(135deg, rgb(var(--gold-rgb) / 0.06) 0%, rgb(var(--deep-rgb) / 0.85) 100%), var(--ink-2);
  border: 1px solid rgb(var(--gold-rgb) / 0.25);
  border-radius: 14px;
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px rgb(var(--shade-rgb) / calc(0.25 * var(--shade-k)));
}

.bp-inflection-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.bp-inflection-title {
  font-size: 22px;
  font-weight: 500;
  color: var(--paper);
  margin: 10px 0 16px 0;
  line-height: 1.35;
}

.bp-inflection-copy {
  font-size: 14px;
  line-height: 1.65;
  color: rgb(var(--fg-rgb) / 0.8);
  margin: 0 0 14px 0;
}

.bp-inflection-actions {
  margin-top: 20px;
}

.bp-inline-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--gold-text);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bp-inline-action:hover {
  color: var(--gold-pale-text);
  transform: translateX(3px);
}

.bp-inflection-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bp-inflection-stat-card {
  background: rgb(var(--fg-rgb) / 0.03);
  border: 1px solid rgb(var(--fg-rgb) / 0.08);
  border-radius: 10px;
  padding: 16px 20px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bp-inflection-stat-card:hover {
  border-color: rgb(var(--fg-rgb) / 0.16);
  background: rgb(var(--fg-rgb) / 0.05);
}

.bp-inflection-stat-card.is-accent {
  border-color: rgb(var(--gold-rgb) / 0.35);
  background: rgb(var(--gold-rgb) / 0.07);
}

.bp-inflection-stat-num {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--gold-text);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.bp-inflection-stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--paper);
  margin: 4px 0 4px 0;
}

.bp-inflection-stat-desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 960px) {
  .bp-inflection-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bp-inflection-card {
    padding: 28px 24px;
  }
}
