/* What about Claude Team or ChatGPT Team? A team plan beside Astrolabe,
   then the comparison as rows that arrive as they scroll in. Uses the org
   section's figure, thread, pulse and mark styles. Tokens only, no raw hex. */

main > section.tm:not(.hero) { padding-top: clamp(40px, 6vh, 90px); }
.tm-wrap { max-width: var(--page-w); margin: 0 auto; }
.tm-text { max-width: 60ch; margin: 0 auto; text-align: center; }
.tm-ask { margin: 0 0 0.8em; font: italic 500 var(--text-lg)/1.4 var(--display); color: var(--ink-3); }
.tm-head { margin: 0; font: 600 var(--head-xl)/1.06 var(--display); letter-spacing: -0.016em; color: var(--ink); }
.tm-lead { margin: 0.9em auto 0; max-width: 52ch; font: var(--text-base)/1.55 var(--body); color: var(--ink-2); }

.tm-svg { width: 100%; height: auto; display: block; overflow: visible; margin: clamp(26px, 3vw, 44px) 0 0; }
.tm-glass { fill: color-mix(in srgb, var(--ink) 5%, transparent); stroke: color-mix(in srgb, var(--ink) 45%, transparent); stroke-width: 2.5; }
.tm-cap { fill: var(--ink); font: 600 26px var(--display); text-anchor: middle; }
.tm-who { fill: var(--ink-3); font: 500 17px var(--display); text-anchor: middle; }
.tm-stop { fill: none; stroke: color-mix(in srgb, var(--ink-3) 70%, transparent); stroke-width: 2; stroke-dasharray: 4 6; }
.tm-end { fill: color-mix(in srgb, var(--ink-3) 70%, transparent); }
.tm-divide { stroke: color-mix(in srgb, var(--ink) 18%, transparent); stroke-width: 1.5; stroke-dasharray: 2 8; }
.tm-left { opacity: 0.85; }
/* every logo in the workspace switches together: one company's models */
.tm-a { animation: tm-swap 5s ease-in-out infinite; }
.tm-b { animation: tm-swap 5s ease-in-out infinite reverse; }
@keyframes tm-swap { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }

/* the comparison */
.tm-table { margin: clamp(30px, 3.4vw, 50px) auto 0; max-width: 1080px; display: grid; gap: 0; }
.tm-row {
  display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 1.2em;
  padding: 0.95em 0; border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  opacity: 0; transform: translateY(14px);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(.2,.8,.25,1);
}
.tm-row.shown { opacity: 1; transform: none; }
.tm-row.tm-hdr { opacity: 1; transform: none; border-top: 0; padding-bottom: 0.4em; }
.tm-row.tm-hdr div { font: 600 var(--text-sm)/1.3 var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.tm-row.tm-hdr .tm-ours { color: var(--kind-reference); }
.tm-need { font: 600 var(--text-md)/1.35 var(--display); color: var(--ink); }
.tm-theirs { font: var(--text-md)/1.45 var(--body); color: var(--ink-3); }
.tm-ours { font: 500 var(--text-md)/1.45 var(--body); color: var(--ink); }
.tm-row:not(.tm-hdr) .tm-ours::before {
  content: ""; display: inline-block; width: 0.45em; height: 0.45em; margin-right: 0.55em; vertical-align: 0.12em;
  border-radius: 50%; background: var(--kind-reference); box-shadow: 0 0 0.7em color-mix(in srgb, var(--kind-reference) 70%, transparent);
}
.tm-price-row { margin: 1.8em auto 0; max-width: 1080px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1em 2em; }
.tm-price { margin: 0; font: italic 500 var(--text-md)/1.5 var(--display); color: color-mix(in srgb, var(--kind-reference) 70%, var(--ink)); }
.tm-note { margin: 1.4em auto 0; max-width: 1080px; font: var(--text-xs)/1.5 var(--body); color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) {
  .tm-a, .tm-b { animation: none; }
  .tm-b { opacity: 0; }
  .tm-row { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 760px) {
  .tm-row { grid-template-columns: 1fr; gap: 0.3em; }
  .tm-row.tm-hdr { display: none; }
  .tm-theirs::before { content: "A team plan: "; font-weight: 600; }
}
