/* ──────────────────────────────────────────────────────────────────────
   AI team + teammate pages (customer-team, marketing-team, knowledge-team,
   employees/theo|sana|wren). Built only from the site tokens
   (neomeric-tokens.css) and the existing emp-* / mt-* page language: same
   hero, card, timeline and FAQ patterns, gathered here so the team pages
   share one stylesheet instead of repeating a page-scoped <style> block.
   Team colour comes from --tm (set per page / per dossier).
   ────────────────────────────────────────────────────────────────────── */

/* Hero — same language as /employees/ and /marketing-team/ */
.emp-hero { padding: 84px 0 64px; background: var(--bg-muted); border-bottom: 1px solid var(--border); position: relative; overflow: clip; }
@media (max-width: 768px) { .emp-hero { padding: 56px 0 44px; } }
.emp-hero-ambient { position: absolute; inset: 0; z-index: 0; pointer-events: none; background:
    radial-gradient(42% 48% at 12% 14%, rgba(0,123,255,0.11), transparent 70%),
    radial-gradient(36% 40% at 90% 80%, rgba(0,209,178,0.10), transparent 70%),
    radial-gradient(30% 34% at 70% 10%, rgba(156,125,185,0.10), transparent 70%); }
.emp-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .emp-hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.emp-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface); border: 1px solid var(--border); color: var(--text); margin-bottom: 8px; }
.emp-tag .tm-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tm, var(--secondary-500)); box-shadow: 0 0 0 4px color-mix(in oklab, var(--tm, var(--secondary-500)) 18%, transparent); }
.emp-tag .sep { color: var(--text-subtle); }
.emp-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 5vw, 60px); line-height: 1.03; letter-spacing: -0.03em; margin: 14px 0 18px; color: var(--text); text-wrap: balance; }
.emp-hero .lede { font-size: 18.5px; line-height: 1.6; color: var(--text-muted); max-width: 56ch; margin: 0 0 26px; }
.emp-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.tm-hero-note { margin: 18px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--text-subtle); max-width: 60ch; }

/* Roster card in the hero — the team at a glance, each row jumps to its dossier */
.tm-roster { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 30px 70px -28px rgba(15,23,42,0.28); overflow: hidden; }
.tm-roster-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--border); background: var(--bg-muted); font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); }
.tm-roster-list { list-style: none; margin: 0; padding: 8px; display: grid; gap: 4px; }
.tm-roster-list a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; text-decoration: none; transition: background 0.18s ease; opacity: 0; transform: translateY(8px); animation: tm-rise 560ms cubic-bezier(0.22,1,0.36,1) forwards; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
.tm-roster-list a:hover, .tm-roster-list a:focus-visible { background: var(--bg-muted); outline: none; }
.tm-roster-list a:focus-visible { box-shadow: 0 0 0 2px var(--secondary-500) inset; }
.tm-av { width: 44px; height: 44px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--c-ink); background: var(--c-soft); }
.dark .tm-av { background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c-ink-dark); }
.tm-roster-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.015em; color: var(--text); }
.tm-roster-role { display: block; font-size: 13px; line-height: 1.4; color: var(--text-muted); }
.tm-roster-tag { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; color: var(--text-muted); background: var(--bg-muted); border: 1px solid var(--border); white-space: nowrap; }
.tm-roster-foot { padding: 12px 20px 16px; font-size: 12.5px; line-height: 1.5; color: var(--text-subtle); border-top: 1px dashed var(--border); }
@keyframes tm-rise { to { opacity: 1; transform: translateY(0); } }

/* Teammate colour sets (reuse brand ramps) */
.c-blue   { --c: var(--secondary-500); --c-soft: var(--secondary-50); --c-ink: var(--secondary-700); --c-ink-dark: var(--secondary-300); }
.c-teal   { --c: var(--accent-500);    --c-soft: var(--accent-50);    --c-ink: var(--accent-700);    --c-ink-dark: var(--accent-300); }
.c-violet { --c: var(--primary-500);   --c-soft: var(--primary-50);   --c-ink: var(--primary-700);   --c-ink-dark: var(--primary-300); }

/* Sections */
.emp-section { padding: 84px 0; }
@media (max-width: 768px) { .emp-section { padding: 64px 0; } }
.tm-band { background: var(--bg-muted); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tm-sub { font-size: 17px; line-height: 1.6; color: var(--text-muted); max-width: 62ch; margin: 14px 0 0; }
.tm-sub a, .tm-link { color: var(--primary-700); text-decoration: underline; text-underline-offset: 2px; }
.dark .tm-sub a, .dark .tm-link { color: var(--primary-300); }

/* Answer-first intro: answer column + who-it-is-for column */
.tm-intro { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; margin-top: 36px; align-items: start; }
@media (max-width: 900px) { .tm-intro { grid-template-columns: 1fr; gap: 28px; } }
.tm-intro p { font-size: 16.5px; line-height: 1.7; color: var(--text-muted); margin: 0 0 16px; }
.tm-intro p strong { color: var(--text); font-weight: 600; }
.tm-for { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 26px; }
.tm-for h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.015em; color: var(--text); margin: 0 0 14px; }
.tm-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.tm-ticks li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }
.tm-ticks li strong { color: var(--text); font-weight: 600; }
.tm-ticks svg { flex-shrink: 0; margin-top: 4px; color: var(--accent-600); }
.dark .tm-ticks svg { color: var(--accent-300); }
.tm-ticks--no svg { color: var(--text-subtle) !important; }

/* Chatbot contrast (customer team) — reuses the compare-table language */
.tm-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
@media (max-width: 820px) { .tm-vs { grid-template-columns: 1fr; } }
.tm-vs-col { padding: 26px; border-radius: 22px; border: 1px solid var(--border); background: var(--surface); }
.tm-vs-col--us { border-color: color-mix(in oklab, var(--accent-500) 40%, var(--border)); background: linear-gradient(180deg, rgba(0,209,178,0.06), rgba(0,123,255,0.04)); }
.tm-vs-col h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.015em; color: var(--text); margin: 0 0 14px; }

/* ── Dossier: one section per teammate, anchored ── */
.tm-dossiers { display: grid; gap: 28px; margin-top: 44px; }
.tm-dossier { scroll-margin-top: 96px; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 26px; overflow: clip; }
@media (max-width: 900px) { .tm-dossier { grid-template-columns: 1fr; } .tm-dossier-sticky { position: static; } }
.tm-dossier-id { position: relative; padding: 30px 28px; border-right: 1px solid var(--border); background: linear-gradient(180deg, color-mix(in oklab, var(--c) 7%, var(--surface)), var(--surface) 70%); }
@media (max-width: 900px) { .tm-dossier-id { border-right: 0; border-bottom: 1px solid var(--border); padding: 26px 24px 22px; } }
.tm-dossier-id::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
@media (max-width: 900px) { .tm-dossier-id::before { right: 0; bottom: auto; width: auto; height: 4px; } }
.tm-dossier-sticky { position: sticky; top: 104px; }
.tm-dossier-id .tm-av { width: 56px; height: 56px; border-radius: 16px; font-size: 22px; margin-bottom: 18px; }
.tm-kind { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); }
.tm-dossier-id h2, .tm-dossier-id h3 { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.025em; line-height: 1.1; margin: 4px 0 10px; color: var(--text); }
.tm-dossier-id .tm-role { font-size: 14.5px; line-height: 1.5; color: var(--text-muted); margin: 0 0 16px; }
.tm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.tm-chips li { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--bg-muted); border: 1px solid var(--border); color: var(--text-muted); }
.tm-profile { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--c-ink); text-decoration: none; }
.dark .tm-profile { color: var(--c-ink-dark); }
.tm-profile .arrow { transition: transform 220ms cubic-bezier(0.4,0,0.2,1); }
.tm-profile:hover .arrow { transform: translateX(3px); }
.tm-dossier-body { padding: 30px 32px 32px; }
@media (max-width: 640px) { .tm-dossier-body { padding: 24px 22px 26px; } }
.tm-dossier-lead { font-size: 17px; line-height: 1.6; color: var(--text); font-weight: 500; margin: 0 0 22px; max-width: 64ch; }
.tm-spec { margin: 0; display: grid; gap: 0; }
.tm-spec > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-top: 1px solid var(--border); }
@media (max-width: 640px) { .tm-spec > div { grid-template-columns: 1fr; gap: 6px; } }
.tm-spec dt { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-ink); padding-top: 3px; }
.dark .tm-spec dt { color: var(--c-ink-dark); }
.tm-spec dd { margin: 0; font-size: 15px; line-height: 1.62; color: var(--text-muted); }
.tm-spec dd ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.tm-spec dd li { position: relative; padding-left: 16px; }
.tm-spec dd li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 6px; height: 6px; border-radius: 50%; background: var(--c); opacity: 0.75; }
.tm-spec dd strong { color: var(--text); font-weight: 600; }
.tm-spec dd a { color: var(--primary-700); text-decoration: underline; text-underline-offset: 2px; }
.dark .tm-spec dd a { color: var(--primary-300); }
.tm-spec--no dd li::before { background: var(--text-subtle); border-radius: 1px; width: 7px; height: 1.5px; top: 0.78em; }

/* How they work together — same timeline as /marketing-team/ "How a month runs" */
.tm-flow { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); position: relative; }
.tm-flow::before { content: ""; position: absolute; left: 0; right: 0; top: 46px; height: 2px; background: linear-gradient(90deg, var(--secondary-500), var(--accent-500)); opacity: 0.55; }
.tm-step { position: relative; padding: 0 20px 0 0; }
.tm-step-when { display: block; height: 32px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); }
.tm-step-dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--secondary-500); margin: 8px 0 18px; box-shadow: 0 0 0 5px var(--bg-muted); }
.tm-step h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.015em; color: var(--text); margin: 0 0 8px; }
.tm-step p { font-size: 14px; line-height: 1.58; color: var(--text-muted); margin: 0; }
@media (max-width: 920px) {
    .tm-flow { grid-template-columns: 1fr; gap: 22px; padding-left: 26px; }
    .tm-flow::before { top: 0; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--secondary-500), var(--accent-500)); }
    .tm-step { padding: 0; }
    .tm-step-when { height: auto; margin-bottom: 6px; }
    .tm-step-dot { position: absolute; left: -26px; top: 2px; margin: 0; }
}

/* Price and what's included */
.tm-price { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0; margin-top: 40px; border-radius: 26px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
@media (max-width: 900px) { .tm-price { grid-template-columns: 1fr; } }
.tm-price-main { position: relative; overflow: hidden; padding: 34px 32px; color: white; background: linear-gradient(135deg, var(--gray-900) 0%, #0f1f3a 55%, #0b2f3a 100%); }
.tm-price-main::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -150px; bottom: -170px; background: radial-gradient(circle, rgba(0,209,178,0.32), transparent 65%); pointer-events: none; }
.tm-price-label { position: relative; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.74); }
.tm-price-fig { position: relative; display: flex; align-items: baseline; gap: 8px; margin: 12px 0 4px; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; }
.tm-price-fig .from { font-family: var(--font-sans); font-weight: 500; font-size: 15px; letter-spacing: 0; color: rgba(255,255,255,0.7); }
.tm-price-fig .amt { font-size: clamp(44px, 6vw, 60px); line-height: 1; }
.tm-price-fig .per { font-family: var(--font-sans); font-weight: 500; font-size: 15px; letter-spacing: 0; color: rgba(255,255,255,0.7); }
.tm-price-main p { position: relative; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.82); margin: 10px 0 0; max-width: 44ch; }
.tm-price-main .btn { position: relative; margin-top: 24px; background: white; color: var(--gray-900); }
.tm-price-main .tm-price-alt { position: relative; display: inline-block; margin: 14px 0 0 2px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.88); text-decoration: none; }
.tm-price-main .tm-price-alt:hover { color: white; text-decoration: underline; text-underline-offset: 3px; }
.tm-price-detail { padding: 30px 32px; }
@media (max-width: 640px) { .tm-price-main, .tm-price-detail { padding: 28px 24px; } }
.tm-price-detail h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.015em; color: var(--text); margin: 0 0 14px; }
.tm-price-rows { margin: 0; display: grid; }
.tm-price-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid var(--border); font-size: 14.5px; }
.tm-price-rows dt { color: var(--text-muted); }
.tm-price-rows dd { margin: 0; color: var(--text); font-weight: 600; text-align: right; white-space: nowrap; }
.tm-price-fine { margin: 16px 0 0; font-size: 13px; line-height: 1.55; color: var(--text-subtle); }
.tm-price-fine a { color: var(--primary-700); text-decoration: underline; text-underline-offset: 2px; }
.dark .tm-price-fine a { color: var(--primary-300); }

/* How to start — numbered steps (mirrors .mt-apply list) */
.tm-start { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 18px; counter-reset: tmstep; }
@media (max-width: 900px) { .tm-start { grid-template-columns: 1fr; } }
.tm-start li { position: relative; padding: 24px 24px 24px 66px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; counter-increment: tmstep; font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }
.tm-start li::before { content: counter(tmstep); position: absolute; left: 22px; top: 22px; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: white; background: var(--gradient-brand); }
.tm-start li strong { display: block; color: var(--text); font-weight: 600; font-size: 15.5px; margin-bottom: 4px; }

/* FAQ — <details> so answers are readable without JavaScript; styled as .nm-faq-* */
.tm-faq { margin-top: 20px; }
.tm-faq details.nm-faq-item > summary { list-style: none; }
.tm-faq details.nm-faq-item > summary::-webkit-details-marker { display: none; }
.tm-faq details.nm-faq-item > summary:focus-visible { outline: 2px solid var(--secondary-500); outline-offset: 4px; border-radius: 8px; }
.tm-faq details.nm-faq-item .nm-faq-a { max-height: none; }
.tm-faq details.nm-faq-item[open] .nm-faq-toggle { background: var(--gray-900); color: white; border-color: var(--gray-900); transform: rotate(45deg); }
.dark .tm-faq details.nm-faq-item[open] .nm-faq-toggle { background: white; color: var(--gray-900); border-color: white; }

/* Related teams / pages */
.tm-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
@media (max-width: 900px) { .tm-related { grid-template-columns: 1fr; } }
.tm-rel { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; text-decoration: none; transition: transform 240ms cubic-bezier(0.4,0,0.2,1), box-shadow 240ms, border-color 240ms; }
.tm-rel:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -22px rgba(15,23,42,0.3); border-color: var(--border-strong); }
.tm-rel-k { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); }
.tm-rel-t { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; color: var(--text); }
.tm-rel-d { font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.tm-rel-f { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text); }
.tm-rel .arrow { transition: transform 220ms cubic-bezier(0.4,0,0.2,1); }
.tm-rel:hover .arrow { transform: translateX(3px); }

/* Teammate pages: capability cards (mirrors Simon's .emp-cap) */
.emp-cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 760px) { .emp-cap-grid { grid-template-columns: 1fr; } }
.emp-cap { padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; }
.emp-cap-ic { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--c-soft); color: var(--c-ink); margin-bottom: 14px; }
.dark .emp-cap-ic { background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c-ink-dark); }
.emp-cap h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.015em; color: var(--text); margin: 0 0 8px; }
.emp-cap p { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* Teammate hero card — "what lands on your desk" (illustrative, no figures) */
.tm-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 30px 70px -28px rgba(15,23,42,0.30); overflow: hidden; }
.tm-card-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--bg-muted); }
.tm-card-head .tm-av { width: 30px; height: 30px; border-radius: 9px; font-size: 13px; color: white; background: linear-gradient(135deg, var(--c), var(--accent-500)); }
.tm-card-name { font-weight: 600; font-size: 14px; color: var(--text); }
.tm-card-sub { font-size: 11.5px; color: var(--text-subtle); }
.tm-card-when { margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-subtle); }
.tm-card-body { padding: 18px; display: grid; gap: 12px; }
.tm-card-row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg); opacity: 0; transform: translateY(8px); animation: tm-rise 560ms cubic-bezier(0.22,1,0.36,1) forwards; animation-delay: calc(var(--i, 0) * 200ms + 160ms); }
.tm-card-k { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-ink); padding-top: 3px; }
.dark .tm-card-k { color: var(--c-ink-dark); }
.tm-card-v { font-size: 13.5px; line-height: 1.5; color: var(--text); }
.tm-card-v em { font-style: normal; color: var(--text-muted); }
.tm-card-foot { padding: 12px 18px 16px; font-size: 12px; color: var(--text-subtle); border-top: 1px dashed var(--border); }

@media (prefers-reduced-motion: reduce) {
    .tm-roster-list a, .tm-card-row { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* "Why NeoMind, not the alternative" — the /compare/ table (.nm-compare) with
   more than one alternative column. NeoMind's column sits first after the
   question, highlighted as on the compare pages; the last row says honestly
   when the alternative is the better buy. Question column stays pinned while
   the table scrolls sideways on a phone. */
.tm-why .nm-compare-wrap { max-width: none; margin: 36px 0 0; border: 1px solid var(--border); }
.tm-why .nm-compare { border: 0; border-radius: 0; min-width: 860px; font-size: 14px; }
.tm-why .nm-compare--3 { min-width: 680px; }
.tm-why .nm-compare thead th { font-size: 13.5px; line-height: 1.35; }
.tm-why .nm-compare tbody th { width: 19%; font-size: 14px; line-height: 1.45; }
.tm-why .nm-compare td { line-height: 1.55; }
.tm-why .nm-compare thead th:first-child, .tm-why .nm-compare tbody th { position: sticky; left: 0; z-index: 1; background: var(--surface); }
.tm-why .nm-compare thead th:first-child { background: var(--bg-muted); }
.tm-why tr.tm-honest th, .tm-why tr.tm-honest td { background: var(--bg-muted); color: var(--text-muted); font-size: 13.5px; }
.tm-why tr.tm-honest td.nm-compare-us { color: var(--text); }
.tm-why-hint { display: none; margin: 14px 0 0; font-size: 12.5px; color: var(--text-subtle); }
@media (max-width: 900px) { .tm-why-hint { display: block; } }
.tm-why-foot { margin: 16px 0 0; font-size: 13px; line-height: 1.6; color: var(--text-subtle); max-width: 90ch; }
.tm-why-foot a { color: var(--primary-700); text-decoration: underline; text-underline-offset: 2px; }
.dark .tm-why-foot a { color: var(--primary-300); }
/* Comparison column headers name the compared product and link its sourced page */
.tm-col-src { display: block; margin-top: 4px; font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--text-muted); }
.tm-col-src a { color: var(--primary-700); text-decoration: underline; text-underline-offset: 2px; }
.dark .tm-col-src a { color: var(--primary-300); }
@media (max-width: 600px) {
    .tm-why .nm-compare tbody th, .tm-why .nm-compare thead th:first-child { width: 112px; min-width: 112px; max-width: 112px; padding-left: 14px; padding-right: 12px; font-size: 13px; }
}

/* Dark mode: the shared --text-subtle token (gray-500) measures about 3.0:1 on dark
   cards. On the pages that load this stylesheet only, lift it to gray-400 (5.8:1 on
   gray-800, 7.1:1 on the muted band) so small body text passes 4.5:1. The site-wide
   token is left alone on purpose. */
.dark main#main { --text-subtle: var(--gray-400); }

/* Testimonials — the customer pages' own quote component (.nm-cs-quote), in a row
   that holds one to three real, published quotes. With one quote it sits as a
   single, centred block; add a second or third <figure> and the row splits evenly. */
.tm-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; margin: 36px 0 0; }
.tm-quotes:has(> figure:only-child) { max-width: 860px; }
.tm-quote { margin: 0; display: flex; flex-direction: column; }
.tm-quote .nm-cs-quote { flex: 1; margin: 0; padding: 26px 30px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent-500); border-radius: 16px; }
.tm-quote .nm-cs-quote p { margin: 0 0 12px; font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.45; color: var(--text); }
.tm-quote .nm-cs-quote-cite { display: block; font-size: 13.5px; font-weight: 500; color: var(--text-muted); font-style: normal; }
.tm-quote-link { align-self: flex-start; margin: 12px 0 0 4px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; }
.tm-quote-link .arrow { transition: transform 220ms cubic-bezier(0.4,0,0.2,1); }
.tm-quote-link:hover .arrow { transform: translateX(3px); }
@media (max-width: 640px) { .tm-quote .nm-cs-quote { padding: 22px 22px; } }

/* One customer story, as a single plain line under the claim it supports */
.tm-story-line { margin: 24px 0 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); max-width: 72ch; }
.tm-story-line strong { color: var(--text); font-weight: 600; }
.tm-story-line a { color: var(--primary-700); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.dark .tm-story-line a { color: var(--primary-300); }

/* Story: an illustrative scenario told on the existing timeline (.tm-flow) */
.tm-story-tag { display: inline-flex; align-items: center; margin-left: 10px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); vertical-align: 2px; }
.tm-flow--story .tm-step-when { color: var(--secondary-700); }
.dark .tm-flow--story .tm-step-when { color: var(--secondary-300); }
.tm-flow--story .tm-step p { font-size: 15px; line-height: 1.6; }
.tm-quote-lead { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--text-muted); max-width: 72ch; }
.tm-quote-lead strong { color: var(--text); font-weight: 600; }
.tm-story-end { margin: 30px 0 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2vw, 21px); line-height: 1.4; letter-spacing: -0.01em; color: var(--text); max-width: 60ch; }

/* ── Example story v2: kicker, step cards, pay-off row ───────────────── */
.tm-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.tm-kicker .tm-sep { display: none; }
.tm-kicker .tm-story-tag { margin-left: 0; }
.tm-steps { position: relative; list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px; }
.tm-stepcard { position: relative; display: flex; flex-direction: column; padding: 22px 22px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 14px 32px -24px rgba(15,23,42,0.25); }
.tm-stepcard-when { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--secondary-700); }
.dark .tm-stepcard-when { color: var(--secondary-300); }
.tm-stepcard-when::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--gradient-brand); box-shadow: 0 0 0 4px color-mix(in oklab, var(--secondary-500) 14%, transparent); }
.tm-stepcard h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 700; font-size: 17.5px; line-height: 1.25; letter-spacing: -0.015em; color: var(--text); }
.tm-stepcard p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.tm-payoff { display: flex; align-items: flex-start; gap: 14px; margin: 24px 0 0; padding: 20px 24px; border-radius: 18px; border: 1px solid color-mix(in oklab, var(--secondary-500) 28%, var(--border)); background: linear-gradient(135deg, rgba(0,123,255,0.06), rgba(0,209,178,0.07)); }
.tm-payoff svg { flex-shrink: 0; margin-top: 3px; color: var(--accent-600); }
.dark .tm-payoff svg { color: var(--accent-300); }
.tm-payoff p { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2vw, 22px); line-height: 1.4; letter-spacing: -0.01em; color: var(--text); }
.tm-payoff p + p { margin-top: 8px; font-family: var(--font-sans); font-weight: 400; font-size: 15px; color: var(--text-muted); letter-spacing: 0; }
@media (max-width: 1080px) { .tm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .tm-steps { grid-template-columns: 1fr; gap: 14px; padding-left: 22px; }
    .tm-steps::before { content: ""; position: absolute; left: 6px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--secondary-500), var(--accent-500)); opacity: 0.55; }
    .tm-stepcard::before { content: ""; position: absolute; left: -22px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--secondary-500); }
    .tm-stepcard-when::before { display: none; }
    .tm-payoff { padding: 18px 18px; }
}

/* ── Customer story section: lead-in, quote as the hero, inline link ── */
.tm-cust-lead { margin: 16px 0 0; font-size: 17px; line-height: 1.65; color: var(--text-muted); max-width: 62ch; }
.tm-cust .tm-quotes { margin-top: 28px; }
.tm-cust .tm-quote .nm-cs-quote p { font-size: clamp(20px, 2.4vw, 26px); }
.tm-cust .tm-quote .nm-cs-quote-cite { margin-top: 6px; }
.tm-cust-more { margin: 18px 0 0; font-size: 15px; font-weight: 600; }
.tm-cust-more a { color: var(--primary-700); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.dark .tm-cust-more a { color: var(--primary-300); }

/* ── Calmer section headings on these pages (hero h1 stays the large type) ── */
main#main h2.nm-section-headline { font-size: clamp(26px, 3vw, 38px) !important; line-height: 1.12; letter-spacing: -0.025em; margin-bottom: 12px; }
main#main .nm-cta-band h2 { font-size: clamp(26px, 3vw, 38px) !important; line-height: 1.12 !important; }
main#main .nm-prose h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; }

/* ── Two-column comparison: NeoMind vs the typical alternative ── */
.tm-why .nm-compare--2 { min-width: 0; table-layout: fixed; }
.tm-why .nm-compare--2 thead th:first-child, .tm-why .nm-compare--2 tbody th { position: static; width: 30%; }
.tm-why .nm-compare--2 td, .tm-why .nm-compare--2 tbody th { padding-top: 18px; padding-bottom: 18px; }
.tm-why .nm-compare--2 td.nm-compare-us { width: 38%; }
.tm-why-honest { margin: 16px 0 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); max-width: 72ch; }
@media (max-width: 640px) {
    .tm-why .nm-compare--2, .tm-why .nm-compare--2 tbody, .tm-why .nm-compare--2 tr, .tm-why .nm-compare--2 th, .tm-why .nm-compare--2 td { display: block; width: auto !important; }
    .tm-why .nm-compare--2 thead { display: none; }
    .tm-why .nm-compare--2 tr { border-bottom: 1px solid var(--border); padding: 4px 0 10px; }
    .tm-why .nm-compare--2 tbody th { border: 0; padding: 14px 16px 6px; background: transparent !important; box-shadow: none !important; }
    .tm-why .nm-compare--2 td { border: 0; padding: 8px 16px; }
    .tm-why .nm-compare--2 td::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-subtle); }
    .tm-why .nm-compare--2 td.nm-compare-us { border-radius: 12px; margin: 0 10px; }
    .tm-why .nm-compare--2 tr:last-child { border-bottom: 0; }
}

/* ── Teammate cards (team pages) ── */
.tm-cards { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
@media (max-width: 960px) { .tm-cards { grid-template-columns: 1fr; } }
.tm-mate { scroll-margin-top: 96px; position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; overflow: clip; }
.tm-mate::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); }
.tm-mate-head { display: flex; align-items: center; gap: 12px; }
.tm-mate-head .tm-av { width: 44px; height: 44px; border-radius: 13px; font-size: 18px; }
.tm-mate-kind { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); }
.tm-mate h3 { margin: 2px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--text); }
.tm-mate-one { margin: 16px 0 12px; font-size: 15.5px; line-height: 1.55; font-weight: 500; color: var(--text); }
.tm-mate ul.tm-mate-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 7px; }
.tm-mate ul.tm-mate-list li { position: relative; padding-left: 16px; font-size: 14.5px; line-height: 1.5; color: var(--text-muted); }
.tm-mate ul.tm-mate-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.tm-mate .tm-chips { margin: 0 0 14px; }
.tm-mate-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.tm-mate-foot a { font-size: 14px; font-weight: 600; color: var(--c-ink); text-decoration: none; }
.dark .tm-mate-foot a { color: var(--c-ink-dark); }
.tm-mate details { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.tm-mate summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--c-ink); list-style: none; }
.dark .tm-mate summary { color: var(--c-ink-dark); }
.tm-mate summary::-webkit-details-marker { display: none; }
.tm-mate summary::after { content: " +"; }
.tm-mate details[open] summary::after { content: " –"; }
.tm-mate details dl { margin: 12px 0 0; display: grid; gap: 10px; }
.tm-mate details dt { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-ink); }
.dark .tm-mate details dt { color: var(--c-ink-dark); }
.tm-mate details dd { margin: 2px 0 0; font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.tm-panel { padding: 26px 24px; border-radius: 22px; border: 1px solid var(--border); background: var(--bg-muted); }
.tm-panel h3 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.015em; color: var(--text); }
.tm-panel p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }
.tm-for-row { margin-top: 28px; padding: 24px 26px; border-radius: 22px; border: 1px solid var(--border); background: var(--bg-muted); }
.tm-for-row h3 { margin: 0 0 14px; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.015em; color: var(--text); }
.tm-for-row .tm-ticks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
.tm-for-row .tm-ticks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; }
@media (max-width: 860px) { .tm-for-row .tm-ticks { grid-template-columns: 1fr; } }
.tm-for-row .tm-price-fine { margin-top: 16px; }
main#main .nm-cta-band [style*="max-width: 40ch"] { max-width: 560px !important; }
@media (max-width: 640px) { .tm-why .nm-compare--2 tbody th, .tm-why .nm-compare--2 thead th:first-child { max-width: none; min-width: 0; font-size: 15px; } }
.tm-panel a { color: var(--primary-700); text-decoration: underline; text-underline-offset: 2px; }
.dark .tm-panel a { color: var(--primary-300); }
.mt-one-plan a { color: var(--primary-700); text-decoration: underline; text-underline-offset: 2px; }
.dark .mt-one-plan a { color: var(--primary-300); }

/* ── Marketing team hero: Theo's Monday report as numbers and small charts ──
   Illustrative figures (labelled once, in the card footer). The figures agree:
   weekly bars sum to the headline, and so do the source rows. Charts are plain
   HTML/CSS with real text; each chart carries a text equivalent. */
.mt-rc { --rc-pad: 20px; margin: 0; justify-self: end; width: 100%; max-width: 468px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 30px 70px -30px rgba(15,23,42,0.30), 0 2px 6px -2px rgba(15,23,42,0.06); overflow: hidden; }
@media (max-width: 960px) { .mt-rc { justify-self: start; max-width: 560px; } }
@media (max-width: 420px) { .mt-rc { --rc-pad: 16px; } }
.mt-rc-head { display: flex; align-items: center; gap: 10px; padding: 13px var(--rc-pad); border-bottom: 1px solid var(--border); background: var(--bg-muted); }
.mt-rc-av { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: white; background: linear-gradient(135deg, var(--secondary-500), color-mix(in oklab, var(--secondary-500) 55%, var(--gray-900))); }
.mt-rc-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.mt-rc-who strong { font-size: 13.5px; font-weight: 600; color: var(--text); }
.mt-rc-who span { font-size: 11.5px; color: var(--text-subtle); }
.mt-rc-pill { margin-left: auto; flex-shrink: 0; font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); }
.mt-rc-k { display: block; margin: 0; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); }

/* Headline figure + weekly columns */
.mt-rc-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: end; padding: 16px var(--rc-pad) 14px; }
.mt-rc-num { display: block; margin: 6px 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 46px; line-height: 0.95; letter-spacing: -0.04em; color: var(--text); font-variant-numeric: tabular-nums; }
.mt-rc-delta { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; color: var(--accent-700); background: color-mix(in oklab, var(--accent-500) 14%, transparent); }
.dark .mt-rc-delta { color: var(--accent-300); }
.mt-rc-weeks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; height: 92px; align-items: end; padding-bottom: 2px; border-bottom: 1px solid var(--border); }
.mt-rc-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.mt-rc-col b { font-size: 11.5px; font-weight: 600; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.mt-rc-col i { display: block; width: 100%; max-width: 30px; height: calc(var(--v) / 4 * 56px); border-radius: 7px 7px 3px 3px; background: color-mix(in oklab, var(--secondary-500) 34%, var(--surface)); transform-origin: bottom; transform: scaleY(0); animation: mt-rc-grow 700ms cubic-bezier(0.22,1,0.36,1) forwards; animation-delay: calc(260ms + var(--n) * 90ms); }
.mt-rc-col.is-now i { background: var(--gradient-brand); }
.mt-rc-col.is-now b { color: var(--text); }
.mt-rc-weeks-x { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 5px; text-align: center; white-space: nowrap; font-size: 10.5px; color: var(--text-subtle); }
@keyframes mt-rc-grow { to { transform: scaleY(1); } }
@media (max-width: 420px) {
    .mt-rc-top { grid-template-columns: 1fr; gap: 14px; }
    .mt-rc-who span { display: none; }
}

/* Which piece brought them */
.mt-rc-src { padding: 13px var(--rc-pad) 2px; border-top: 1px solid var(--border); }
.mt-rc-rows { list-style: none; margin: 9px 0 0; padding: 0; display: grid; gap: 8px; }
.mt-rc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 4px; align-items: center; opacity: 0; transform: translateY(6px); animation: tm-rise 520ms cubic-bezier(0.22,1,0.36,1) forwards; animation-delay: calc(520ms + var(--n) * 110ms); }
.mt-rc-name { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 13px; font-weight: 500; color: var(--text); }
.mt-rc-name > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-rc-tag { flex-shrink: 0; font-style: normal; font-size: 10.5px; font-weight: 600; padding: 1px 7px; border-radius: 999px; color: var(--c-ink); background: color-mix(in oklab, var(--c) 13%, transparent); }
.dark .mt-rc-tag { color: var(--c-ink-dark); background: color-mix(in oklab, var(--c) 20%, transparent); }
.mt-rc-n { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--text); font-variant-numeric: tabular-nums; text-align: right; }
.mt-rc-bar { grid-column: 1 / -1; display: block; height: 5px; border-radius: 999px; background: var(--bg-muted); overflow: hidden; }
.dark .mt-rc-bar { background: rgba(255,255,255,0.06); }
.mt-rc-bar i { display: block; height: 100%; width: calc(var(--v) / 11 * 100%); border-radius: inherit; background: var(--c, var(--gray-400)); transform-origin: left; transform: scaleX(0); animation: mt-rc-fill 800ms cubic-bezier(0.22,1,0.36,1) forwards; animation-delay: calc(640ms + var(--n) * 110ms); }
.mt-rc-row--none .mt-rc-name { color: var(--text-muted); font-weight: 400; }
.mt-rc-row--none .mt-rc-bar i { background: var(--gray-300); }
.dark .mt-rc-row--none .mt-rc-bar i { background: var(--gray-600); }
@keyframes mt-rc-fill { to { transform: scaleX(1); } }

/* Ranking move + Theo's line */
.mt-rc-next { display: grid; gap: 10px; padding: 12px var(--rc-pad) 14px; }
.mt-rc-move { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 7px 8px 7px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-muted); font-size: 12.5px; color: var(--text-muted); }
.mt-rc-pos { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--secondary-700); background: color-mix(in oklab, var(--secondary-500) 13%, transparent); font-variant-numeric: tabular-nums; }
.dark .mt-rc-pos { color: var(--secondary-300); }
.mt-rc-say { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; margin: 0; }
.mt-rc-say .mt-rc-av { width: 24px; height: 24px; border-radius: 7px; font-size: 11px; margin-top: 1px; }
.mt-rc-say p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text); }
.mt-rc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 11px var(--rc-pad) 13px; border-top: 1px dashed var(--border); font-size: 11.5px; color: var(--text-subtle); }
.mt-rc-decide { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--primary-700); background: color-mix(in oklab, var(--primary-500) 13%, transparent); }
.dark .mt-rc-decide { color: var(--primary-300); }
.mt-rc-decide::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary-500); }

@media (prefers-reduced-motion: reduce) {
    .mt-rc-col i, .mt-rc-bar i { transform: none !important; animation: none !important; }
    .mt-rc-row { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ── Marketing team: "Work with them like a team" — chat, call, priority.
   Three panels, each a stylised mock of the real screen (HTML/CSS/SVG, real
   text) on a soft stage, with two short lines underneath. ── */
.mt-talk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
@media (max-width: 980px) { .mt-talk { grid-template-columns: 1fr; max-width: 560px; } }
.mt-talk-card { display: grid; grid-template-rows: subgrid; grid-row: span 2; gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; overflow: clip; }
.mt-talk-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 276px; padding: 24px 20px; border-bottom: 1px solid var(--border); background:
    radial-gradient(80% 70% at 85% 0%, color-mix(in oklab, var(--c) 14%, transparent), transparent 70%),
    var(--bg-muted); }
@media (max-width: 420px) { .mt-talk-stage { padding: 20px 14px; min-height: 0; } }
.mt-talk-body { padding: 20px 22px 24px; }
.mt-talk-k { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 10px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-ink); }
.dark .mt-talk-k { color: var(--c-ink-dark); }
.mt-talk-body h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.25; letter-spacing: -0.015em; color: var(--text); }
.mt-talk-body p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.mt-mock { width: 100%; max-width: 330px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 22px 44px -26px rgba(15,23,42,0.32), 0 1px 2px rgba(15,23,42,0.05); overflow: hidden; font-size: 12.5px; }
.mt-mock-av { flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 11px; color: white; background: linear-gradient(135deg, var(--c), color-mix(in oklab, var(--c) 55%, var(--gray-900))); }
.mt-mock-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.mt-mock-head b { font-size: 13px; font-weight: 600; color: var(--text); }
.mt-mock-head small { display: block; font-size: 11px; color: var(--text-subtle); line-height: 1.2; }

/* 1 · Chat */
.mt-chat-crew { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; border: 1px dashed var(--border-strong); font-size: 10.5px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.mt-chat-log { display: grid; gap: 8px; padding: 12px; }
.mt-msg { max-width: 86%; padding: 8px 11px; border-radius: 13px; line-height: 1.45; color: var(--text); opacity: 0; transform: translateY(6px); animation: tm-rise 480ms cubic-bezier(0.22,1,0.36,1) forwards; }
.mt-msg--me { justify-self: end; border-bottom-right-radius: 4px; background: color-mix(in oklab, var(--secondary-500) 13%, var(--surface)); animation-delay: 200ms; }
.mt-msg-row { display: flex; align-items: flex-end; gap: 6px; }
.mt-msg-row .mt-mock-av { width: 20px; height: 20px; border-radius: 6px; font-size: 9.5px; }
.mt-msg--them { border-bottom-left-radius: 4px; background: var(--bg-muted); border: 1px solid var(--border); animation-delay: 700ms; }
.mt-chat-input { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 12px 12px; padding: 7px 7px 7px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-subtle); font-size: 12px; }
.mt-chat-send { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: white; background: var(--gradient-brand); }

/* 2 · Call */
.mt-call { position: relative; width: 100%; max-width: 330px; padding: 22px 18px 16px; border-radius: 18px; text-align: center; color: white; background: linear-gradient(135deg, var(--gray-900) 0%, #0f1f3a 55%, #0b2f3a 100%); border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 22px 44px -24px rgba(15,23,42,0.5); overflow: hidden; }
.mt-call::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -110px; bottom: -150px; background: radial-gradient(circle, rgba(0,209,178,0.30), transparent 65%); pointer-events: none; }
.mt-call-av { position: relative; z-index: 1; width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 22px; background: linear-gradient(135deg, var(--secondary-500), var(--accent-500)); box-shadow: 0 0 0 0 rgba(0,209,178,0.45); animation: mt-call-ring 2.4s ease-out infinite; }
@keyframes mt-call-ring { 0% { box-shadow: 0 0 0 0 rgba(0,209,178,0.40); } 70% { box-shadow: 0 0 0 14px rgba(0,209,178,0); } 100% { box-shadow: 0 0 0 0 rgba(0,209,178,0); } }
.mt-call-who { position: relative; z-index: 1; display: block; font-size: 13.5px; font-weight: 600; }
.mt-call-time { position: relative; z-index: 1; display: block; margin-top: 2px; font-size: 12px; color: rgba(255,255,255,0.72); font-variant-numeric: tabular-nums; }
.mt-wave { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 3px; height: 40px; margin: 12px 0 14px; }
.mt-wave i { display: block; width: 3px; height: calc(var(--h) * 1px); border-radius: 3px; background: linear-gradient(180deg, var(--accent-300), var(--secondary-300)); opacity: 0.9; animation: mt-wave 1.3s ease-in-out infinite; animation-delay: calc(var(--d) * -120ms); }
@keyframes mt-wave { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }
.mt-call-ctl { position: relative; z-index: 1; display: flex; justify-content: center; gap: 12px; }
.mt-call-btn { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: white; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); }
.mt-call-btn--end { width: 52px; border-radius: 999px; background: var(--danger); border-color: transparent; }

/* 3 · Priority */
.mt-prio-body { display: grid; gap: 10px; padding: 12px; }
.mt-prio-sug { padding: 10px 11px; border-radius: 12px; border: 1px solid color-mix(in oklab, var(--secondary-500) 30%, var(--border)); background: color-mix(in oklab, var(--secondary-500) 6%, var(--surface)); }
.mt-prio-sug small { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--secondary-700); }
.dark .mt-prio-sug small { color: var(--secondary-300); }
.mt-prio-sug p { margin: 0; font-size: 13px; line-height: 1.45; font-weight: 500; color: var(--text); }
.mt-prio-act { display: flex; gap: 6px; }
.mt-prio-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--text); border: 1px solid var(--border-strong); }
.mt-prio-btn--go { color: white; border-color: transparent; background: var(--secondary-600); }
.mt-prio-follow { display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--border); }
.mt-prio-follow > span { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-subtle); }
.mt-prio-mate { display: flex; align-items: center; gap: 8px; color: var(--text-muted); opacity: 0; transform: translateY(6px); animation: tm-rise 480ms cubic-bezier(0.22,1,0.36,1) forwards; animation-delay: calc(400ms + var(--n) * 200ms); }
.mt-prio-mate b { color: var(--text); font-weight: 600; }
.mt-prio-mate .mt-mock-av { width: 20px; height: 20px; border-radius: 6px; font-size: 9.5px; }
.mt-prio-mate svg { margin-left: auto; color: var(--accent-600); }
.dark .mt-prio-mate svg { color: var(--accent-300); }

@media (prefers-reduced-motion: reduce) {
    .mt-msg, .mt-prio-mate { opacity: 1 !important; transform: none !important; animation: none !important; }
    .mt-wave i, .mt-call-av { animation: none !important; }
}
