/* THERMAFORGE PARTNERS — site stylesheet */
:root {
  --tf-orange: #D45506;
  --tf-orange-bright: #E66818;
  --tf-ember: #8B2500;
  --tf-bg: #0F0F12;
  --tf-bg-alt: #16161B;
  --tf-bg-card: #1A1A20;
  --tf-border: #2A2A30;
  --tf-text: #FFFFFF;
  --tf-text-muted: #9CA3AF;
  --tf-text-dim: #6B7280;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--tf-bg);
  color: var(--tf-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--tf-orange); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; font-family: 'Inter', sans-serif; font-weight: 600; }

p { color: var(--tf-text-muted); }
p + p { margin-top: 1rem; }

em { font-style: italic; color: var(--tf-orange); }

/* === LAYOUT === */
.tf-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.tf-section { padding: 96px 0; }

@media (max-width: 768px) {
  .tf-section { padding: 64px 0; }
  .tf-container { padding: 0 20px; }
}

/* === NAV === */
.tf-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 15, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tf-border);
  padding: 16px 24px;
  display: flex; align-items: center; gap: 32px;
}

.tf-nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Inter', system-ui, sans-serif; font-weight: 700;
  margin-right: auto;
}
.tf-nav-logo img { width: 36px; height: 36px; flex: none; }
.tf-nav-logo:hover { color: var(--tf-orange); }

/* THERMAFORGE on top, PARTNERS underneath, copper-letter-spaced */
.tf-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 5px;
}
.tf-wordmark-main {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--tf-text);
}
.tf-wordmark-main .tf-a {
  color: var(--tf-orange);
}
.tf-wordmark-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  color: var(--tf-orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tf-wordmark-sub::before,
.tf-wordmark-sub::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 1px;
  background: var(--tf-orange);
  flex: none;
}
@media (max-width: 480px) {
  .tf-wordmark-main { font-size: 0.86rem; letter-spacing: 0.06em; }
  .tf-wordmark-sub { font-size: 0.52rem; letter-spacing: 0.28em; }
  .tf-wordmark-sub::before,
  .tf-wordmark-sub::after { width: 8px; }
  .tf-nav-logo img { width: 30px; height: 30px; }
}

/* Footer wordmark scales the same pattern */
.tf-footer-brand .tf-wordmark-main { font-size: 1.1rem; }
.tf-footer-brand .tf-wordmark-sub { font-size: 0.62rem; }
.tf-footer-brand .tf-nav-logo img { width: 42px; height: 42px; }

.tf-nav a {
  font-size: 0.92rem; color: var(--tf-text-muted);
  padding-bottom: 4px; border-bottom: 2px solid transparent;
}
.tf-nav a:hover { color: var(--tf-text); }
.tf-nav a.active { color: var(--tf-orange); border-bottom-color: var(--tf-orange); }

/* Specificity bump: .tf-nav a (0,1,1) was beating .tf-nav-cta (0,1,0)
   on padding-bottom — Apply text was shifted toward the top of the box. */
.tf-nav a.tf-nav-cta {
  background: var(--tf-orange);
  color: var(--tf-bg) !important;
  padding: 9px 18px !important;
  border-radius: 4px;
  font-weight: 600;
  border-bottom: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.tf-nav a.tf-nav-cta:hover { background: var(--tf-orange-bright); color: var(--tf-bg) !important; }

@media (max-width: 768px) {
  .tf-nav { gap: 12px; padding: 14px 16px; flex-wrap: wrap; }
  /* mobile wordmark sizes handled in .tf-wordmark-main / .tf-wordmark-sub @ 480px */
  .tf-nav a:not(.tf-nav-cta) { font-size: 0.82rem; }
}

/* === BUTTONS === */
.tf-btn-primary {
  display: inline-block;
  background: var(--tf-orange); color: var(--tf-bg) !important;
  padding: 14px 28px; font-weight: 600; font-size: 0.95rem;
  border-radius: 4px; transition: all 0.2s ease;
  border: 2px solid var(--tf-orange);
}
.tf-btn-primary:hover { background: var(--tf-orange-bright); border-color: var(--tf-orange-bright); transform: translateY(-1px); }

.tf-btn-secondary {
  display: inline-block;
  background: transparent; color: var(--tf-text) !important;
  padding: 14px 28px; font-weight: 600; font-size: 0.95rem;
  border: 2px solid var(--tf-border); border-radius: 4px;
  transition: all 0.2s ease;
}
.tf-btn-secondary:hover { border-color: var(--tf-orange); color: var(--tf-orange) !important; }

/* === HERO (homepage crossfade) === */
.tf-hero {
  position: relative; overflow: hidden;
  min-height: 92vh;
  display: flex; align-items: center;
}
.tf-hero-bg { position: absolute; inset: 0; z-index: 1; }
.tf-hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; animation: tfHeroFade 18s infinite;
  transform: scale(1.05);
  animation-fill-mode: both;
}
.tf-hero-slide:nth-child(1) { animation-delay: 0s; }
.tf-hero-slide:nth-child(2) { animation-delay: 6s; }
.tf-hero-slide:nth-child(3) { animation-delay: 12s; }
@keyframes tfHeroFade {
  0%, 5%   { opacity: 0; transform: scale(1.08); }
  8%, 33%  { opacity: 1; transform: scale(1.02); }
  36%, 100% { opacity: 0; transform: scale(1.0); }
}
.tf-hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg,
    rgba(15,15,18,0.55) 0%,
    rgba(15,15,18,0.78) 50%,
    rgba(15,15,18,0.95) 100%);
}
.tf-hero-content { position: relative; z-index: 3; max-width: 900px; padding: 0 24px; margin: 0 auto; width: 100%; }

.tf-eyebrow {
  display: inline-block;
  font-family: 'Inter', monospace;
  font-size: 0.78rem; letter-spacing: 0.15em;
  color: var(--tf-orange); margin-bottom: 24px;
  padding: 4px 10px; border: 1px solid var(--tf-orange);
}

.tf-hero h1 { margin-bottom: 24px; }
.tf-hero h1 em { color: var(--tf-orange); font-style: italic; }
.tf-hero-sub { font-size: 1.15rem; max-width: 680px; margin-bottom: 36px; color: var(--tf-text-muted); }

.tf-hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  .tf-hero-slide { animation: none; opacity: 1; transform: none; }
  .tf-hero-slide:nth-child(2), .tf-hero-slide:nth-child(3) { display: none; }
}

/* === TIER PAGE HERO (static bg) === */
.tf-tier-hero {
  position: relative; padding: 120px 24px 96px;
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--tf-border);
}
.tf-tier-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,15,18,0.6) 0%, rgba(15,15,18,0.92) 100%);
}
.tf-tier-hero > * { position: relative; z-index: 2; max-width: 900px; margin-left: auto; margin-right: auto; }
.tf-tier-hero h1 { margin-bottom: 24px; }
.tf-tier-subhead { font-size: 1.15rem; max-width: 680px; margin-bottom: 36px; color: var(--tf-text-muted); }

/* === SECTION HEADERS === */
.tf-section-head {
  font-family: 'Inter', monospace;
  font-size: 0.78rem; letter-spacing: 0.15em;
  color: var(--tf-orange); margin-bottom: 12px;
  text-transform: uppercase;
}

/* === DETAIL GRID === */
.tf-detail-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px; margin-top: 48px;
}
.tf-detail-block {
  background: var(--tf-bg-alt);
  border: 1px solid var(--tf-border);
  padding: 32px;
  position: relative;
  transition: all 0.25s ease;
}
.tf-detail-block:hover { border-color: var(--tf-orange); transform: translateY(-2px); }
.tf-block-num {
  display: block;
  font-family: 'Inter', monospace;
  font-size: 0.85rem; color: var(--tf-orange);
  margin-bottom: 16px; letter-spacing: 0.1em;
}
.tf-detail-block h3 { color: var(--tf-text); margin-bottom: 12px; }

/* === WHO WE ARE (homepage partners) === */
.tf-partners-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 32px; margin-top: 48px;
}
.tf-partner-card {
  background: var(--tf-bg-alt);
  border: 1px solid var(--tf-border);
  padding: 40px;
}
.tf-card-tag {
  font-family: 'Inter', monospace;
  font-size: 0.78rem; letter-spacing: 0.12em;
  color: var(--tf-orange); margin-bottom: 16px;
  text-transform: uppercase;
}
.tf-partner-card h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.8rem; margin-bottom: 16px;
}
.tf-partner-card .tf-credibility {
  font-style: italic; color: var(--tf-text); margin-bottom: 20px;
  padding-bottom: 20px; border-bottom: 1px solid var(--tf-border);
}

/* === PLATFORM STACK CARDS === */
.tf-platform-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px; margin-top: 48px;
}
.tf-platform-card {
  background: var(--tf-bg-alt);
  border: 1px solid var(--tf-border);
  padding: 28px;
  position: relative;
  display: flex; flex-direction: column;
  /* Defensive cap — keeps every card the same width as the column */
  max-width: 680px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  /* Prevent any inner content from forcing the card wider */
  min-width: 0;
  overflow: hidden;
}
.tf-platform-card > * { max-width: 100%; }
.tf-platform-card .tf-tier-badge {
  display: inline-block;
  font-family: 'Inter', monospace;
  font-size: 0.7rem; letter-spacing: 0.1em;
  padding: 4px 8px; border: 1px solid var(--tf-border);
  color: var(--tf-text-muted); margin-bottom: 16px;
  width: fit-content;
}
.tf-platform-card .tf-tier-badge.tf-scale-only { color: var(--tf-orange); border-color: var(--tf-orange); }
.tf-platform-card h3 { font-size: 1.25rem; }
.tf-platform-card .tf-producer-tag {
  font-size: 0.8rem; color: var(--tf-text-dim); margin-bottom: 12px;
}
.tf-platform-card .tf-card-body { flex: 1; margin-bottom: 16px; }
.tf-platform-card .tf-ext-link {
  font-size: 0.88rem; color: var(--tf-orange);
  border-top: 1px solid var(--tf-border); padding-top: 12px;
}
.tf-platform-card .tf-screenshot-placeholder {
  background: var(--tf-bg);
  border: 1px dashed var(--tf-border);
  padding: 32px 16px; margin: 16px 0;
  text-align: center; font-size: 0.82rem; color: var(--tf-text-dim);
  font-family: 'Inter', monospace;
}

/* === PRICING TIERS === */
.tf-tiers-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px; margin-top: 48px;
}
.tf-tier-card {
  background: var(--tf-bg-alt);
  border: 1px solid var(--tf-border);
  padding: 40px; display: flex; flex-direction: column;
  transition: all 0.25s ease;
}
.tf-tier-card:hover { border-color: var(--tf-orange); }
.tf-tier-card.tf-tier-featured { border-color: var(--tf-orange); }
.tf-tier-tag {
  font-family: 'Inter', monospace;
  font-size: 0.78rem; letter-spacing: 0.1em;
  color: var(--tf-orange); margin-bottom: 16px;
  text-transform: uppercase;
}
.tf-tier-card h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.85rem; margin-bottom: 16px;
}
.tf-price {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 2.6rem; font-weight: 700;
  color: var(--tf-orange); line-height: 1;
}
.tf-price-suffix { font-size: 1rem; color: var(--tf-text-muted); margin-left: 4px; }
.tf-tier-meta {
  font-size: 0.85rem; color: var(--tf-text-dim);
  margin: 8px 0 24px; font-style: italic;
}
.tf-tier-card ul {
  list-style: none; margin: 24px 0;
  padding: 24px 0; border-top: 1px solid var(--tf-border);
}
.tf-tier-card li {
  padding-left: 28px; position: relative; margin-bottom: 12px;
  color: var(--tf-text-muted);
}
.tf-tier-card li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--tf-orange); font-weight: 700;
}
.tf-best-fit {
  margin-top: auto; padding: 16px; background: var(--tf-bg);
  border-left: 3px solid var(--tf-orange);
  font-size: 0.88rem; color: var(--tf-text-muted);
}
.tf-best-fit strong { color: var(--tf-text); display: block; margin-bottom: 4px; }
.tf-tier-card .tf-btn-primary { margin-top: 24px; width: 100%; text-align: center; }

/* === 90-DAY TIMELINE === */
.tf-timeline-vertical {
  margin-top: 48px;
  border-left: 2px solid var(--tf-border);
  padding-left: 32px;
  margin-left: 12px;
}
.tf-week {
  position: relative; padding-bottom: 32px;
}
.tf-week::before {
  content: ''; position: absolute; left: -41px; top: 6px;
  width: 16px; height: 16px;
  background: var(--tf-orange); border-radius: 50%;
  box-shadow: 0 0 0 4px var(--tf-bg);
}
.tf-week-label {
  display: inline-block;
  font-family: 'Inter', monospace;
  font-size: 0.82rem; color: var(--tf-orange);
  letter-spacing: 0.1em; margin-bottom: 8px;
}
.tf-week h4 { color: var(--tf-text); }

/* === PULL QUOTE === */
.tf-pullquote {
  padding: 96px 24px;
  background-size: cover; background-position: center;
  position: relative;
  text-align: center;
}
.tf-pullquote blockquote {
  font-family: 'Inter', system-ui, sans-serif;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.4;
  max-width: 880px; margin: 0 auto;
  color: var(--tf-text);
  position: relative;
}
.tf-pullquote blockquote::before {
  content: '"'; position: absolute; top: -40px; left: -10px;
  font-size: 6rem; color: var(--tf-orange); opacity: 0.4;
  line-height: 1;
}

/* === COMPARISON TABLE === */
.tf-comparison-table {
  width: 100%; margin-top: 32px;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.tf-comparison-table th, .tf-comparison-table td {
  padding: 14px 12px; text-align: left;
  border-bottom: 1px solid var(--tf-border);
}
.tf-comparison-table th {
  font-family: 'Inter', monospace;
  font-size: 0.78rem; letter-spacing: 0.06em;
  color: var(--tf-text-muted); text-transform: uppercase;
  font-weight: 500;
}
.tf-comparison-table th:nth-child(2) {
  color: var(--tf-orange); border-bottom-color: var(--tf-orange);
}
.tf-comparison-table td:nth-child(2) {
  background: rgba(212, 85, 6, 0.04);
  color: var(--tf-text); font-weight: 500;
}
.tf-comparison-table td:first-child { color: var(--tf-text); font-weight: 500; }

@media (max-width: 768px) {
  .tf-comparison-table { font-size: 0.82rem; }
  .tf-comparison-table th, .tf-comparison-table td { padding: 10px 6px; }
}

/* === FAQ === */
.tf-faq { max-width: 880px; margin: 0 auto; }
.tf-faq details {
  border-bottom: 1px solid var(--tf-border);
  padding: 20px 0;
  cursor: pointer;
}
.tf-faq summary {
  list-style: none; cursor: pointer;
  font-weight: 500; font-size: 1.05rem;
  padding-right: 32px; position: relative;
}
.tf-faq summary::-webkit-details-marker { display: none; }
.tf-faq summary::after {
  content: '+'; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); font-size: 1.4rem;
  color: var(--tf-orange); transition: transform 0.2s ease;
}
.tf-faq details[open] summary::after { content: '−'; }
.tf-faq details > p { margin-top: 12px; color: var(--tf-text-muted); }
.tf-faq details > p + p { margin-top: 12px; }

/* === CTA SECTION === */
.tf-cta-section {
  text-align: center;
  padding: 96px 24px;
  background: var(--tf-bg-alt);
  border-top: 1px solid var(--tf-border);
}
.tf-cta-section h2 { margin-bottom: 24px; }
.tf-cta-section p { max-width: 600px; margin: 0 auto 36px; font-size: 1.1rem; }
.tf-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === FORM === */
.tf-form { max-width: 720px; margin: 0 auto; }
.tf-form fieldset {
  border: 1px solid var(--tf-border);
  padding: 28px; margin-bottom: 24px;
  background: var(--tf-bg-alt);
}
.tf-form legend {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--tf-orange);
  padding: 0 12px; font-size: 1.05rem;
}
.tf-form label {
  display: block; margin-bottom: 18px;
  font-size: 0.92rem; color: var(--tf-text-muted);
}
.tf-form input, .tf-form select, .tf-form textarea {
  width: 100%; background: var(--tf-bg);
  border: 1px solid var(--tf-border);
  color: var(--tf-text);
  padding: 12px; margin-top: 6px;
  font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.15s ease;
}
.tf-form input:focus, .tf-form select:focus, .tf-form textarea:focus {
  border-color: var(--tf-orange); outline: none;
}
.tf-form textarea { resize: vertical; min-height: 100px; }
.tf-form button[type="submit"] { width: 100%; padding: 16px; font-size: 1rem; }
.form-disclaimer {
  font-size: 0.85rem; color: var(--tf-text-dim);
  margin-top: 16px; text-align: center;
}
.hidden-honeypot { display: none !important; }

/* === FOOTER === */
.tf-footer {
  background: var(--tf-bg);
  border-top: 1px solid var(--tf-border);
  padding: 64px 24px 32px;
  margin-top: 0;
}
.tf-footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--tf-border);
}
.tf-footer-brand { max-width: 360px; }
.tf-footer-brand .tf-nav-logo { margin-bottom: 16px; }
.tf-footer-brand p { font-size: 0.9rem; }
.tf-footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem; letter-spacing: 0.1em;
  color: var(--tf-text-dim); text-transform: uppercase;
  margin-bottom: 16px;
}
.tf-footer ul { list-style: none; }
.tf-footer li { margin-bottom: 10px; }
.tf-footer a { font-size: 0.92rem; color: var(--tf-text-muted); }
.tf-footer a:hover { color: var(--tf-orange); }
.ext-link-arrow {
  display: inline-block; margin-left: 4px; font-size: 0.85em;
  opacity: 0.6; transition: opacity 0.2s ease, transform 0.2s ease;
}
a:hover .ext-link-arrow { opacity: 1; transform: translate(2px, -2px); }

.tf-footer-bottom {
  max-width: 1200px; margin: 32px auto 0;
  font-size: 0.82rem; color: var(--tf-text-dim);
  text-align: center;
}

@media (max-width: 768px) {
  .tf-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* === DIVIDER === */
.tf-divider {
  height: 1px; background: var(--tf-border);
  max-width: 1200px; margin: 0 auto;
}
.tf-divider-orange {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tf-orange), transparent);
  margin: 0 auto;
}

/* ── Platform stack — full-width expandable rows (homepage) ───────────
   Replaces the 3-col grid that left ugly blank space when one card
   expanded. Each card is now a full-width row; expansion slides down
   in place, never reflowing siblings. */
.tf-platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 48px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.tf-platform-card-expand {
  background: var(--tf-bg-alt);
  border: 1px solid var(--tf-border);
  transition: border-color 0.2s ease, background 0.2s ease;
  position: relative;
}
.tf-platform-card-expand:hover { border-color: var(--tf-orange); }
.tf-platform-card-expand[open] {
  border-color: var(--tf-orange);
  background: var(--tf-bg-card);
}
.tf-platform-card-summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}
.tf-platform-card-summary::-webkit-details-marker { display: none; }
.tf-platform-card-summary .tf-tier-badge {
  display: inline-block;
  font-family: 'Inter', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 6px 10px;
  border: 1px solid var(--tf-border);
  color: var(--tf-text-muted);
  margin: 0;
  width: fit-content;
  white-space: nowrap;
  align-self: center;
}
.tf-platform-card-summary .tf-tier-badge.tf-scale-only,
.tf-platform-card-summary .tf-tier-badge:has(+ * + h3) {
  /* default already handled */
}
.tf-platform-card-expand .tf-tier-badge.tf-scale-only,
.tf-platform-card-expand .tf-tier-badge[class*="scale-only"] {
  color: var(--tf-orange);
  border-color: var(--tf-orange);
}
.tf-platform-card-summary h3 {
  font-size: 1.15rem;
  margin: 0 0 4px;
  font-weight: 600;
  color: var(--tf-text);
}
.tf-platform-card-summary .tf-summary-tag {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--tf-text-dim);
  letter-spacing: 0;
  margin-top: 2px;
}
.tf-platform-card-summary .tf-card-tagline {
  font-size: 0.92rem;
  color: var(--tf-text-muted);
  margin: 0;
  line-height: 1.45;
}
.tf-platform-card-summary .tf-expand-cue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--tf-orange);
  text-transform: uppercase;
  align-self: center;
  white-space: nowrap;
}
.tf-platform-card-summary .tf-cue-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
  font-size: 0.9rem;
}
.tf-platform-card-expand[open] .tf-platform-card-summary .tf-cue-arrow {
  transform: rotate(90deg);
}
.tf-platform-card-body {
  padding: 0 28px 28px;
  border-top: 1px solid var(--tf-border);
  margin-top: 0;
  padding-top: 24px;
  animation: tfExpandFade 0.3s ease;
}
.tf-platform-card-body h4 {
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--tf-text);
}
.tf-platform-card-body h4:first-child { margin-top: 0; }
.tf-platform-card-body p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--tf-text-muted);
  margin: 0 0 8px;
}
.tf-platform-card-body .tf-ext-link {
  display: inline-block;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--tf-border);
  font-size: 0.88rem;
  color: var(--tf-orange);
  font-weight: 500;
}
.tf-moat-callout {
  margin: 20px 0 4px;
  padding: 20px 24px;
  background: rgba(212, 85, 6, 0.06);
  border-left: 2px solid var(--tf-orange);
  border-radius: 0 4px 4px 0;
}
.tf-moat-callout .tf-moat-label {
  display: block;
  font-family: 'Inter', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--tf-orange);
  margin-bottom: 8px;
}
.tf-moat-callout h4 { margin-top: 0; font-size: 1rem; color: var(--tf-text); }
.tf-moat-callout p:last-child { margin-bottom: 0; }
@keyframes tfExpandFade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 720px) {
  .tf-platform-card-summary {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 20px;
  }
  .tf-platform-card-summary .tf-tier-badge { justify-self: start; }
  .tf-platform-card-summary .tf-expand-cue { justify-self: start; }
  .tf-platform-card-body { padding: 16px 20px 22px; }
}

/* ── Platform.html visuals — real CSS-built mockups, legible at desktop ── */
.tf-screenshot {
  background: var(--tf-bg);
  border: 1px solid var(--tf-border);
  border-radius: 10px;
  padding: 0;
  margin: 22px 0;
  overflow: hidden;
  position: relative;
}
.tf-screenshot-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--tf-bg-card);
  border-bottom: 1px solid var(--tf-border);
}
.tf-screenshot-chrome .dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--tf-border);
  flex: none;
}
.tf-screenshot-chrome .dot:nth-child(1) { background: #6a4848; }
.tf-screenshot-chrome .dot:nth-child(2) { background: #6a614a; }
.tf-screenshot-chrome .dot:nth-child(3) { background: #4a6a4d; }
.tf-screenshot-chrome .label {
  margin-left: 14px;
  font-size: 0.85rem;
  color: var(--tf-text-muted);
  font-weight: 500;
}
.tf-screenshot-body { padding: 24px; }

/* Routebook dashboard mock */
.tf-mock-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tf-mock-kpi {
  background: var(--tf-bg-card);
  border: 1px solid var(--tf-border);
  border-radius: 8px;
  padding: 18px 20px;
}
.tf-mock-kpi .kpi-label {
  font-size: 0.85rem;
  color: var(--tf-text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.tf-mock-kpi .kpi-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--tf-text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.tf-mock-kpi .kpi-delta {
  font-size: 0.92rem;
  margin-top: 6px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.tf-mock-kpi .kpi-delta.up { color: #4ade80; }
.tf-mock-kpi .kpi-delta.down { color: #f87171; }
.tf-mock-dispatch {
  grid-column: 1 / -1;
  margin-top: 8px;
  background: var(--tf-bg-card);
  border: 1px solid var(--tf-border);
  border-radius: 8px;
  overflow: hidden;
}
.tf-mock-dispatch-row {
  display: grid;
  grid-template-columns: 80px repeat(5, 1fr);
  gap: 1px;
  background: var(--tf-border);
}
.tf-mock-dispatch-row .cell {
  background: var(--tf-bg-card);
  padding: 14px 12px;
  font-size: 0.92rem;
  color: var(--tf-text-muted);
  font-weight: 500;
}
.tf-mock-dispatch-row .cell.h {
  color: var(--tf-orange);
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--tf-bg);
}
.tf-mock-dispatch-row .cell.t {
  color: var(--tf-orange-bright);
  font-weight: 700;
  font-size: 0.88rem;
}
.tf-mock-dispatch-row .cell.j {
  background: rgba(212, 85, 6, 0.20);
  color: var(--tf-text);
  border-left: 3px solid var(--tf-orange);
  font-weight: 600;
}
.tf-mock-dispatch-row .cell.j2 {
  background: rgba(74, 222, 128, 0.18);
  color: var(--tf-text);
  border-left: 3px solid #4ade80;
  font-weight: 600;
}
@media (max-width: 720px) {
  .tf-mock-dashboard { grid-template-columns: 1fr; }
  .tf-mock-dispatch-row { grid-template-columns: 64px repeat(5, 1fr); }
  .tf-mock-dispatch-row .cell { padding: 10px 6px; font-size: 0.78rem; }
}

/* Pipeline flow diagram */
.tf-mock-pipeline {
  background: var(--tf-bg-card);
  border-radius: 10px;
  padding: 28px 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
}
.tf-pipeline-stage {
  background: var(--tf-bg);
  border: 1px solid var(--tf-border);
  border-radius: 8px;
  padding: 18px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tf-pipeline-stage .icon {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--tf-orange);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tf-pipeline-stage .body {
  font-size: 0.95rem;
  color: var(--tf-text);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.tf-pipeline-stage .body small {
  display: block;
  font-size: 0.82rem;
  color: var(--tf-text-muted);
  font-weight: 400;
  margin-top: 6px;
  letter-spacing: 0;
}
.tf-pipeline-stage.active {
  border-color: var(--tf-orange);
  background: rgba(212, 85, 6, 0.08);
  box-shadow: 0 0 0 3px rgba(212, 85, 6, 0.10);
}
.tf-pipeline-arrow {
  width: 28px;
  height: 2px;
  background: var(--tf-border);
  position: relative;
  align-self: center;
}
.tf-pipeline-arrow::after {
  content: '';
  position: absolute;
  right: -5px; top: -4px;
  width: 10px; height: 10px;
  border-top: 2px solid var(--tf-border);
  border-right: 2px solid var(--tf-border);
  transform: rotate(45deg);
}
@media (max-width: 880px) {
  .tf-mock-pipeline {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .tf-pipeline-arrow {
    width: 2px; height: 22px;
    margin: 8px auto;
    transform: rotate(0);
  }
  .tf-pipeline-arrow::after {
    right: -4px; top: auto; bottom: -5px;
    transform: rotate(135deg);
  }
}

/* Frontline call interface mock */
.tf-mock-call {
  background: var(--tf-bg-card);
  border-radius: 10px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.tf-call-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--tf-border);
}
.tf-call-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(212, 85, 6, 0.20);
  border: 2px solid var(--tf-orange);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--tf-orange);
  flex: none;
}
.tf-call-meta { flex: 1; min-width: 0; }
.tf-call-meta .name { font-size: 1.05rem; font-weight: 600; color: var(--tf-text); }
.tf-call-meta .sub { font-size: 0.88rem; color: var(--tf-text-muted); margin-top: 4px; }
.tf-call-status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(74, 222, 128, 0.14);
  border: 1px solid rgba(74, 222, 128, 0.42);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4ade80;
  font-weight: 600;
  flex: none;
}
.tf-call-status::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: tfCallPulse 1.8s ease infinite;
}
@keyframes tfCallPulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
  100% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
}
.tf-call-transcript {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--tf-text);
}
.tf-call-transcript .line {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  margin-bottom: 14px;
  align-items: start;
}
.tf-call-transcript .speaker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tf-orange);
  padding-top: 2px;
}
.tf-call-transcript .speaker.cust { color: var(--tf-text-muted); }
.tf-call-transcript .text {
  color: var(--tf-text);
  font-weight: 400;
}
.tf-call-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--tf-border);
}
.tf-call-action {
  background: var(--tf-bg);
  border: 1px solid var(--tf-border);
  border-radius: 6px;
  padding: 12px 10px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--tf-text-muted);
  font-weight: 500;
}
.tf-call-action.primary {
  background: rgba(212, 85, 6, 0.14);
  border-color: var(--tf-orange);
  color: var(--tf-orange);
  font-weight: 600;
}
@media (max-width: 720px) {
  .tf-call-header { flex-wrap: wrap; }
  .tf-call-status { margin-left: auto; }
  .tf-call-transcript .line { grid-template-columns: 1fr; gap: 4px; }
  .tf-call-actions { grid-template-columns: 1fr; }
}

/* ── Slot counter badge — real scarcity, six-client cap surfaced ─────── */
.tf-slot-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border: 1px solid rgba(212, 85, 6, 0.42);
  background: rgba(212, 85, 6, 0.08);
  border-radius: 999px;
  font-size: 0.84rem;
  color: var(--tf-text-muted);
  font-family: 'Inter', sans-serif;
  margin-top: 22px;
}
.tf-slot-badge .dot {
  width: 8px; height: 8px;
  background: var(--tf-orange);
  border-radius: 50%;
  animation: tfSlotPulse 2.4s ease-in-out infinite;
  flex: none;
}
.tf-slot-badge strong { color: var(--tf-orange-bright); font-weight: 700; }
@keyframes tfSlotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 85, 6, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(212, 85, 6, 0); }
}

/* ── Mock: content engine schedule grid ──────────────────────────────── */
.tf-mock-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}
.tf-mock-content .content-tile {
  background: var(--tf-bg-card);
  border: 1px solid var(--tf-border);
  border-radius: 4px;
  padding: 12px;
  font-size: 0.78rem;
}
.tf-mock-content .content-tile .platform {
  font-family: 'Inter', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tf-orange);
  font-weight: 600;
  margin-bottom: 6px;
}
.tf-mock-content .content-tile .post {
  color: var(--tf-text);
  line-height: 1.4;
  margin-bottom: 8px;
  font-weight: 500;
}
.tf-mock-content .content-tile .status {
  font-size: 0.68rem;
  color: var(--tf-text-dim);
}
.tf-mock-content .content-tile.published {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(74, 222, 128, 0.04);
}
.tf-mock-content .content-tile.published .status {
  color: #4ade80;
  font-weight: 600;
}

/* ── Mock: Echo Clip video output row ────────────────────────────────── */
.tf-mock-clips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.tf-mock-clips .clip {
  background: var(--tf-bg-card);
  border: 1px solid var(--tf-border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tf-mock-clips .clip .frame {
  aspect-ratio: 9 / 12;
  background: linear-gradient(135deg, #2a2a30 0%, #1a1a20 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--tf-border);
}
.tf-mock-clips .clip .frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(212,85,6,0.04) 8px 16px);
}
.tf-mock-clips .clip .play {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(212, 85, 6, 0.92);
  color: var(--tf-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}
.tf-mock-clips .clip .meta {
  display: flex;
  justify-content: space-between;
  font-family: 'Inter', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  padding: 6px 8px 4px;
  color: var(--tf-text-dim);
}
.tf-mock-clips .clip .meta .dest { color: var(--tf-orange); font-weight: 600; }
.tf-mock-clips .clip .title {
  font-size: 0.74rem;
  color: var(--tf-text);
  padding: 0 8px 10px;
  font-weight: 500;
  line-height: 1.3;
}
.tf-clips-summary {
  margin-top: 10px;
  padding: 8px 12px;
  background: var(--tf-bg-card);
  border: 1px solid var(--tf-border);
  border-radius: 4px;
  font-family: 'Inter', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--tf-text-muted);
  text-align: center;
}
@media (max-width: 720px) {
  .tf-mock-clips { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mock: community engagement approval queue ───────────────────────── */
.tf-mock-thread {
  background: var(--tf-bg-card);
  border-radius: 6px;
  padding: 16px;
}
.tf-mock-thread .thread-meta {
  display: flex;
  gap: 10px;
  font-size: 0.72rem;
  color: var(--tf-text-dim);
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.tf-mock-thread .thread-meta .sub {
  color: var(--tf-orange);
  font-weight: 600;
  font-family: 'Inter', monospace;
}
.tf-mock-thread .thread-title {
  color: var(--tf-text);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--tf-border);
}
.tf-mock-thread .thread-reply {
  background: rgba(212, 85, 6, 0.04);
  border: 1px solid rgba(212, 85, 6, 0.3);
  border-radius: 4px;
  padding: 12px 14px;
}
.tf-mock-thread .reply-tag {
  display: inline-block;
  font-family: 'Inter', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tf-orange);
  font-weight: 600;
  margin-bottom: 8px;
}
.tf-mock-thread .reply-body {
  font-size: 0.84rem;
  color: var(--tf-text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}
.tf-mock-thread .reply-actions {
  display: flex;
  gap: 6px;
}
.tf-mock-thread .action {
  flex: 1;
  text-align: center;
  padding: 7px 10px;
  background: var(--tf-bg);
  border: 1px solid var(--tf-border);
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--tf-text-muted);
}
.tf-mock-thread .action.approve {
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.4);
  color: #4ade80;
}

/* ── THE NAME section — dark outlined cards, monumental, side-by-side ── */
.tf-name-section {
  padding: 130px 0 110px;
  background:
    radial-gradient(circle at 20% 0%, rgba(212, 85, 6, 0.06), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(212, 85, 6, 0.04), transparent 50%),
    var(--tf-bg);
  position: relative;
  overflow: hidden;
}
.tf-name-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(960px, 90%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 85, 6, 0.55), transparent);
}
.tf-name-section .tf-container {
  text-align: center;
  position: relative;
}
.tf-name-section .tf-section-head { color: var(--tf-orange); }
.tf-name-section h2 {
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 16px 0 22px;
  color: var(--tf-text);
}
.tf-name-section > .tf-container > p {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--tf-text-muted);
  font-style: italic;
  margin: 0 auto 80px;
  max-width: 540px;
}

/* The two cards, side-by-side on desktop */
.tf-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.tf-name-block {
  position: relative;
  padding: 56px 44px 48px;
  background: linear-gradient(180deg, rgba(26, 26, 32, 0.95) 0%, rgba(15, 15, 18, 0.95) 100%);
  border: 1px solid var(--tf-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
/* Top copper accent stroke that fades in/out across the edge */
.tf-name-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--tf-orange) 30%, var(--tf-orange-bright) 50%, var(--tf-orange) 70%, transparent);
  z-index: 1;
}
/* Subtle inner heat-glow */
.tf-name-block::after {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 70%; height: 70%;
  background: radial-gradient(circle, rgba(212, 85, 6, 0.10), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.tf-name-block:hover {
  border-color: rgba(212, 85, 6, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 85, 6, 0.2);
}
.tf-name-block > * { position: relative; z-index: 2; }
.tf-name-block .tf-name-tag {
  display: block;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--tf-orange);
  margin-bottom: 26px;
  text-transform: none;
  text-shadow: 0 0 24px rgba(212, 85, 6, 0.25);
}
.tf-name-block h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--tf-text);
  margin-bottom: 22px;
  max-width: 26ch;
}
.tf-name-block p {
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.7;
  color: var(--tf-text-muted);
  margin: 0;
}
.tf-name-block em {
  font-style: normal;
  color: var(--tf-orange);
  font-weight: 600;
}

/* Closing block stays centered, monumental tagline */
.tf-name-conclusion {
  max-width: 760px;
  margin: 100px auto 0;
  padding-top: 60px;
  border-top: 1px solid var(--tf-border);
  text-align: center;
  position: relative;
}
.tf-name-conclusion::before {
  content: '';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--tf-orange);
}
.tf-name-conclusion p {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--tf-text-muted);
  margin: 0 0 36px;
}
.tf-name-conclusion .tf-name-tagline {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--tf-text);
  margin: 0;
}

@media (max-width: 880px) {
  .tf-name-section { padding: 80px 0 64px; }
  .tf-name-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tf-name-block { padding: 40px 28px 36px; }
  .tf-name-conclusion { margin-top: 64px; padding-top: 44px; }
}

/* ── Platform cards: real-photo treatment ────────────────────────────── */
.tf-card-photo {
  margin: 22px 0 14px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--tf-bg);
}
.tf-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) saturate(0.92) brightness(0.95);
  transition: transform 0.5s ease, filter 0.3s ease;
}
.tf-platform-card:hover .tf-card-photo img {
  transform: scale(1.04);
  filter: contrast(1.08) saturate(0.96) brightness(1);
}
.tf-card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 15, 18, 0.75) 0%, transparent 50%);
  pointer-events: none;
}
.tf-card-photo-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  z-index: 1;
  color: var(--tf-text);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
@media (max-width: 720px) {
  .tf-card-photo { aspect-ratio: 4 / 3; }
  .tf-card-photo-caption { font-size: 0.88rem; left: 14px; right: 14px; bottom: 12px; }
}

/* ── Scale: stacked-vs-bundled value framing (replaces sticker-shock pricing row) ─── */
.tf-stack-savings {
  margin-top: 32px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.tf-stack-savings-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
}
.tf-stack-savings-col {
  padding: 28px 32px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tf-stack-savings-col.stacked {
  background: var(--tf-bg);
  border: 1px solid var(--tf-border);
}
.tf-stack-savings-col.bundled {
  background: rgba(212, 85, 6, 0.08);
  border: 1px solid var(--tf-orange);
}
.tf-stack-savings-col .label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tf-text-muted);
}
.tf-stack-savings-col.bundled .label { color: var(--tf-orange); }
.tf-stack-savings-col .figure {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--tf-text);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.tf-stack-savings-col.bundled .figure {
  font-size: 1.6rem;
  color: var(--tf-text);
}
.tf-stack-savings-col .note {
  font-size: 0.92rem;
  color: var(--tf-text-muted);
  line-height: 1.55;
}
.tf-stack-savings-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tf-text-dim);
  padding: 0 4px;
  position: relative;
}
.tf-stack-savings-divider::before,
.tf-stack-savings-divider::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 1px;
  background: var(--tf-border);
  transform: translateX(-50%);
}
.tf-stack-savings-divider::before { top: 0; height: 30%; }
.tf-stack-savings-divider::after { bottom: 0; height: 30%; }
@media (max-width: 880px) {
  .tf-stack-savings-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .tf-stack-savings-divider {
    padding: 0;
    height: 24px;
  }
  .tf-stack-savings-divider::before,
  .tf-stack-savings-divider::after { display: none; }
}

/* ── Routebook embedded mock — mobile fallbacks ──────────────────────── */
@media (max-width: 760px) {
  [data-rb-kpi-row] { grid-template-columns: 1fr !important; }
  [data-rb-dispatch] { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  [data-rb-dispatch] > div { min-width: 720px; }
}

/* ── Content engine 5-platform tile grid — mobile fallback ───────────── */
@media (max-width: 760px) {
  /* Find the 5-col platform tile grid (inside multi-platform content engine card) */
  .tf-platform-card div[style*="grid-template-columns:repeat(5, 1fr)"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 480px) {
  .tf-platform-card div[style*="grid-template-columns:repeat(5, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@keyframes tfFrontlinePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 122, 61, 0.55); }
  50% { box-shadow: 0 0 0 6px rgba(31, 122, 61, 0); }
}
