/* ── Model cost examples ───────────────────────────────────────────── */

.cost-page {
  padding-bottom: 2rem;
}

.cost-article {
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.cost-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.cost-breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--text-muted);
}

.cost-breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-color);
}

.cost-breadcrumbs a:hover {
  color: var(--accent-primary);
}

.cost-header {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--card-border);
}

.cost-eyebrow {
  display: inline-block;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.cost-header h1 {
  margin: 0.65rem 0 0.75rem;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  line-height: 1.15;
  text-wrap: balance;
}

.cost-answer {
  max-width: 72ch;
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.65;
}

.cost-answer strong {
  color: var(--accent-primary);
}

.cost-held-notice {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--status-danger-text);
  border-radius: var(--radius-sm);
  background: var(--input-bg);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.cost-hero {
  margin: 1.5rem 0 0;
}

.cost-hero img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: var(--input-bg);
}

.cost-hero figcaption {
  margin-top: 0.55rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.cost-hero a {
  color: var(--accent-primary);
  text-decoration: none;
}

.cost-hero a:hover {
  text-decoration: underline;
}

.cost-section {
  margin: 2rem 0 0;
}

.cost-section h2 {
  margin: 0 0 0.6rem;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-size: 1.35rem;
  line-height: 1.25;
}

.cost-section-lead {
  max-width: 72ch;
  margin: 0 0 0.9rem;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.6;
}

.cost-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
}

.cost-facts > div {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  background: var(--input-bg);
}

.cost-facts dt {
  margin: 0 0 0.25rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: none;
}

.cost-facts dd {
  margin: 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
}

.cost-facts-price {
  color: var(--accent-primary);
  font-family: var(--font-title);
  font-size: 1.5rem;
  line-height: 1.1;
}

.cost-license-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  font-size: 0.78rem;
  font-weight: 600;
}

.cost-license-pill.is-allowed {
  color: var(--status-success-text);
  border-color: var(--accent-primary);
  background: var(--input-bg);
}

.cost-license-pill.is-prohibited {
  color: var(--status-danger-text);
  background: var(--input-bg);
}

.cost-rate-note {
  max-width: 80ch;
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-size: 0.83rem;
  line-height: 1.6;
}

.cost-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--input-bg);
}

.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.cost-table caption {
  padding: 0.65rem 0.8rem;
  text-align: left;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

.cost-table th,
.cost-table td {
  padding: 0.55rem 0.8rem;
  border-top: 1px solid var(--card-border);
  text-align: left;
  vertical-align: top;
}

.cost-table th {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  white-space: nowrap;
}

.cost-table td {
  color: var(--text-secondary);
}

.cost-table th:last-child,
.cost-table td:last-child {
  text-align: right;
  white-space: nowrap;
}

.cost-table strong {
  color: var(--text-primary);
}

.cost-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 0.35rem;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  background: var(--cost-swatch, var(--text-muted));
  vertical-align: middle;
}

.cost-license-panel {
  padding: 1rem 1.1rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--input-bg);
}

.cost-license-panel p {
  margin: 0 0 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.cost-license-panel p:last-child {
  margin-bottom: 0;
}

.cost-license-panel a {
  color: var(--accent-primary);
  text-decoration: none;
}

.cost-license-panel a:hover {
  text-decoration: underline;
}

.cost-license-panel.is-allowed {
  border-color: var(--accent-primary);
}

.cost-license-panel.is-prohibited {
  border-color: var(--status-danger-text);
}

.cost-license-title {
  color: var(--text-primary) !important;
  font-weight: 600;
}

.cost-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  gap: 0.75rem;
}

.cost-related-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.65rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--input-bg);
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-color);
}

.cost-related-card:hover {
  border-color: var(--accent-primary);
}

.cost-related-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg-color);
}

.cost-related-name {
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}

.cost-related-price {
  color: var(--accent-primary);
  font-size: 0.95rem;
  font-weight: 700;
}

.cost-cta {
  padding: 1.25rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--input-bg);
}

.cost-cta p {
  max-width: 68ch;
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.6;
}

.cost-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.cost-source,
.cost-dates {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.cost-source a {
  color: var(--text-secondary);
}

.cost-source a:hover {
  color: var(--accent-primary);
}

.cost-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.cost-stat-row strong {
  color: var(--text-primary);
}

.cost-example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
  gap: 0.9rem;
}

.cost-band-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.cost-band-nav span {
  font-weight: 600;
}

.cost-band-nav a {
  padding: 0.18rem 0.5rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  background: var(--input-bg);
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-color);
}

.cost-band-nav a:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.cost-band {
  margin-top: 1.5rem;
}

.cost-band h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0 0 0.7rem;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-size: 1.05rem;
  line-height: 1.3;
}

.cost-band-count {
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
}

.cost-example-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--input-bg);
  color: var(--text-primary);
  text-decoration: none;
  overflow: hidden;
  transition: var(--transition-color);
}

.cost-example-card:hover {
  border-color: var(--accent-primary);
}

.cost-example-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--bg-color);
}

.cost-example-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.7rem 0.8rem 0.8rem;
}

.cost-example-name {
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}

.cost-example-price {
  color: var(--accent-primary);
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
}

.cost-example-meta {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.cost-empty {
  margin: 0;
  padding: 1rem;
  border: 1px dashed var(--card-border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cost-section .faq-disclosure {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--input-bg);
  margin-bottom: 0.5rem;
}

.cost-section .faq-summary {
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.cost-section .faq-content {
  padding: 0 1rem 0.9rem;
}

.cost-section .faq-content p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .cost-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cost-table th,
  .cost-table td {
    padding: 0.5rem 0.6rem;
  }
}

@media (max-width: 420px) {
  .cost-facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ── Benchmark table and method [TOC:COST-BENCHMARK] ─────────────────────── */

.cost-benchmark-table th:not(:first-child),
.cost-benchmark-table td:not(:first-child) {
  text-align: right;
  white-space: nowrap;
}

.cost-benchmark-table td {
  font-variant-numeric: tabular-nums;
}

.cost-benchmark-table td:first-child {
  min-width: 220px;
}

.cost-method-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 0.75rem 1.5rem;
  margin: 1rem 0 1.5rem;
  padding: 0;
}

.cost-method-list div {
  padding: 0.75rem 1rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
}

.cost-method-list dt {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: none;
}

.cost-method-list dd {
  margin: 0.25rem 0 0;
  color: var(--text-primary);
  font-weight: 600;
}
