/* ============================================================
   Tamaranga shared design system — v1
   Scope: every class is namespaced with `tm-` and nested under
   `.tm-page` so nothing leaks into co-rendered Tilda blocks.

   Ships with:
     - Design tokens (colors, borders, surfaces)
     - Base typography scoped to .tm-page
     - .tm-wrap container
     - .tm-btn + .tm-primary / .tm-ghost variants
     - .tm-ida-sec component (used on every platform page)
     - .tm-cta block (bottom-of-page conversion block)

   Anything page-specific (hero, feature blocks, platform grid,
   mockups, FAQ, pricing) stays inline on the page that owns it.
   Promote to this file when a second page needs it.
   ============================================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  --tm-blue:        #35a6de;
  --tm-blue-dark:   #2b8fc2;
  --tm-blue-light:  #ecf5fc;
  --tm-blue-softer: #e4f0fa;
  --tm-orange:      #ff9d02;
  --tm-orange-light:#fff4ea;
  --tm-realty:      #ff585b;
  --tm-realty-light:#ffeeef;
  --tm-auto:        #4571e1;
  --tm-auto-light:  #ecf1fc;
  --tm-green:       #3fb383;
  --tm-green-light: #e8f6ef;
  --tm-ink:         #1a1a1a;
  --tm-text:        #3a3a3a;
  --tm-muted:       #5a5a5a;
  --tm-muted-2:     #808080;
  --tm-border:      #e5e5e5;
  --tm-border-2:    #eeeeee;
  --tm-paper:       #ffffff;
  --tm-bg:          #f7f7f7;
  --tm-bg-2:        #fafbfc;

  /* Per-page accent — defaults to brand blue. Override on `.tm-page` per platform:
     marketplace=blue · classifieds=orange · realty=realty · automotive=auto · services=green */
  --tm-accent:       var(--tm-blue);
  --tm-accent-light: var(--tm-blue-light);
}

/* Per-vertical accent overrides — set on the `.tm-page` element */
.tm-page.tm-platform-marketplace { --tm-accent: var(--tm-blue);   --tm-accent-light: var(--tm-blue-light); }
.tm-page.tm-platform-classifieds { --tm-accent: var(--tm-orange); --tm-accent-light: var(--tm-orange-light); }
.tm-page.tm-platform-realty      { --tm-accent: var(--tm-realty); --tm-accent-light: var(--tm-realty-light); }
.tm-page.tm-platform-automotive  { --tm-accent: var(--tm-auto);   --tm-accent-light: var(--tm-auto-light); }
.tm-page.tm-platform-services    { --tm-accent: var(--tm-green);  --tm-accent-light: var(--tm-green-light); }

/* ---------- BASE — scoped to .tm-page ---------- */
.tm-page,
.tm-page * { box-sizing: border-box; }

.tm-page {
  background: var(--tm-paper);
  color: var(--tm-text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.tm-page a { color: inherit; text-decoration: none; }
.tm-page p { margin: 0; }

.tm-page h1, .tm-page h2, .tm-page h3, .tm-page h4 {
  color: var(--tm-ink);
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0;
}
.tm-page label { margin-bottom: 0; }
/* Theme main.css has `small{font-size:12px!important;line-height:18px}` — an element rule with !important that beats
   every one of our sized <small>s (mockup ratings, prices, captions). Reset it inside .tm-page; components that need a
   specific size declare it with !important (2026-09-08, mobile-apps mock: "(2.4k)" and "2,410 reviews" rendered 12px on an 8px base). */
.tm-page small { font-size: .8em !important; line-height: inherit !important; }
.tm-page h1 {
  font-size: clamp(36px, 5.4vw, 56px);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.tm-page h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.tm-page h3 { font-size: 20px; line-height: 1.3; font-weight: 700; }

/* ---------- LAYOUT CONTAINER ---------- */
/* Stepped container (Bootstrap's pattern): the wider value only on screens with
   room for it. Was a flat 1200px until 2026-08-26.
     1280px  - Tailwind max-w-7xl; clears a 1366 laptop with 75px to the content
     1320px  - Bootstrap container-xxl, applied only from 1500px up
   Held in a variable so section caps can track the step instead of going stale.
   Anything that should stay put at every width (prose measure, device mockups)
   must NOT reference --tm-maxw. */
:root { --tm-maxw: 1280px; }
@media (min-width: 1500px) { :root { --tm-maxw: 1320px; } }

.tm-wrap { max-width: var(--tm-maxw); margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .tm-wrap { padding: 0 20px; } }

/* ---------- BUTTONS ---------- */
.tm-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  cursor: pointer;
  border: 0;
}
.tm-btn.tm-primary { background: var(--tm-blue); color: #fff; }
.tm-btn.tm-primary:hover { background: var(--tm-blue-dark); }
.tm-btn.tm-ghost { background: var(--tm-bg); color: var(--tm-ink); }
.tm-btn.tm-ghost:hover { background: var(--tm-border); }
.tm-btn svg { width: 16px; height: 16px; }

/* ---------- IDA SECTION (shared component) ---------- */
.tm-ida-sec { padding: 88px 0; background: var(--tm-bg-2); }
.tm-ida-sec .tm-ida-head {
  text-align: center;
  margin-bottom: 48px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.tm-ida-sec .tm-ida-head .tm-eyebrow {
  font-size: 13px;
  color: var(--tm-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.tm-ida-sec .tm-ida-head p {
  margin-top: 10px;
  color: var(--tm-muted-2);
  font-size: 17px;
}
.tm-ida-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.tm-ida-card {
  background: linear-gradient(135deg, #16110c 0%, #201811 50%, #16110c 100%);
  color: #fff;
  border-radius: 24px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 24px 60px -24px rgba(30,20,10,.55),
    0 0 60px -14px rgba(53,166,222,.28),
    0 0 60px -14px rgba(255,157,2,.24),
    0 0 60px -14px rgba(255,88,91,.24),
    0 0 60px -14px rgba(69,113,225,.26);
}
.tm-ida-card::before {
  content: "";
  position: absolute;
  top: -100px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(53,166,222,.22) 0%,
    rgba(255,157,2,.2) 45%,
    transparent 75%);
  filter: blur(50px);
  pointer-events: none;
}
.tm-ida-card::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(69,113,225,.22) 0%,
    rgba(255,88,91,.2) 45%,
    transparent 75%);
  filter: blur(60px);
  pointer-events: none;
}
.tm-ida-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #e7d5b8;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}
.tm-ida-msg {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 24px;
  position: relative;
}
/* mobile: 22px turns the briefing quote into a tower (worst in RU, longer text) — step down, keep above body size */
@media (max-width: 540px) {
  .tm-ida-msg { font-size: 18px; line-height: 1.45; }
}
.tm-ida-meta {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(231,213,184,.7);
  font-weight: 500;
  position: relative;
}
.tm-ida-stats {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(231,213,184,.2);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}
.tm-ida-stats div { display: flex; flex-direction: column; gap: 4px; }
.tm-ida-stats span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(231,213,184,.7);
  font-weight: 600;
}
.tm-ida-stats b {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}
.tm-ida-steps { display: flex; flex-direction: column; gap: 4px; }
.tm-ida-step {
  padding: 20px 0;
  border-bottom: 1px solid var(--tm-border);
}
.tm-ida-step:last-child { border-bottom: 0; }
.tm-ida-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--tm-ink);
}
.tm-ida-step p {
  color: var(--tm-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) {
  .tm-ida-wrap { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- CTA BLOCK (shared component) ---------- */
.tm-cta { padding: 80px 0; }
/* Mobile (promoted 2026-08-30 from identical page-level rules on pricing/contacts, third family = demo set):
   the section above already ends with its own 72px+ bottom padding, so the CTA's 80px top pad
   read as one oversized white gap on phones — drop it and let the previous section own the gap. */
@media (max-width: 720px) { .tm-cta { padding-top: 0; } }
.tm-cta .tm-cta-inner {
  background: linear-gradient(135deg, #0f3d5e, #1a6fa0 45%, #35a6de);
  color: #fff;
  border-radius: 28px;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tm-cta .tm-cta-inner::before,
.tm-cta .tm-cta-inner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .4;
  pointer-events: none;
}
.tm-cta .tm-cta-inner::before {
  width: 300px; height: 300px;
  background: #35a6de;
  top: -100px; left: -100px;
}
.tm-cta .tm-cta-inner::after {
  width: 300px; height: 300px;
  background: #0f3d5e;
  bottom: -100px; right: -100px;
}
.tm-cta h2 {
  color: #fff;
  font-size: clamp(28px, 3.6vw, 42px);
  position: relative;
}
.tm-cta p {
  color: rgba(255,255,255,.75);
  font-size: 17px;
  margin-top: 14px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.tm-cta .tm-cta-row {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}
.tm-cta .tm-btn.tm-primary { background: #fff; color: var(--tm-ink); }
.tm-cta .tm-btn.tm-primary:hover { background: var(--tm-bg); }
.tm-cta .tm-btn.tm-ghost {
  background: rgba(0,0,0,.4);
  color: #fff;
  border: 1px solid rgba(255,255,255,0);
}
.tm-cta .tm-btn.tm-ghost:hover { background: rgba(0,0,0,.55); }

/* ============================================================
   IDA IDENTITY CARD — canonical (approved 2026-04-22)
   ============================================================
   Use wherever IDA is presented as an entity (About "team alongside",
   future /ida page, brand surfaces). Distinct from .tm-ida-sec which is
   the platform-page IDA section with morning briefing + 4 steps.

   Composition:
   - Background: V12 Aurora ring · warm charcoal base
   - Avatar: V17 Ring breathing · ambient (rotate 10s + opacity 4s)
   - Text accents: warm cream to honour the warm-dark base
   ============================================================ */

@keyframes tm-ida-rotate { to { transform: rotate(360deg); } }
@keyframes tm-ida-breathe {
  0%, 100% { opacity: .45; }
  50%      { opacity: .95; }
}

.tm-ida-identity {
  background: linear-gradient(135deg, #16110c 0%, #201811 50%, #16110c 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px;
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 152px 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 24px 60px -24px rgba(30,20,10,.55),
    0 0 60px -14px rgba(53,166,222,.28),
    0 0 60px -14px rgba(255,157,2,.24),
    0 0 60px -14px rgba(255,88,91,.24),
    0 0 60px -14px rgba(69,113,225,.26);
}
.tm-ida-identity::before {
  content: "";
  position: absolute;
  top: -100px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(53,166,222,.22) 0%,
    rgba(255,157,2,.2) 45%,
    transparent 75%);
  filter: blur(50px);
  pointer-events: none;
}
.tm-ida-identity::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(69,113,225,.22) 0%,
    rgba(255,88,91,.2) 45%,
    transparent 75%);
  filter: blur(60px);
  pointer-events: none;
}

.tm-ida-identity .ava {
  width: 128px; height: 128px;
  border-radius: 50%;
  background: #16110c;
  box-shadow: inset 0 2px 8px rgba(0,0,0,.5), 0 14px 40px -10px rgba(255,157,2,.3);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}
.tm-ida-identity .ava .ida-ring {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.tm-ida-identity .ava .breath-group {
  transform-origin: 60px 60px;
  animation: tm-ida-rotate 10s linear infinite,
             tm-ida-breathe 4s ease-in-out infinite;
}
.tm-ida-identity .ava .prism-icon {
  width: 56px; height: 56px;
  color: #fff;
  position: relative; z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.5));
}

.tm-ida-identity .meta { position: relative; z-index: 1; }
.tm-ida-identity h3 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -.02em;
}
.tm-ida-identity .role {
  font-size: 11px; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #e7d5b8;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.tm-ida-identity .role::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #f0dfc4;
  box-shadow: 0 0 10px rgba(240,223,196,.6);
}
.tm-ida-identity p {
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 14px;
}
.tm-ida-identity .tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  color: #e7d5b8;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tm-ida-identity .tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #e7d5b8;
}
@media (max-width: 640px) {
  .tm-ida-identity {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 28px;
  }
  .tm-ida-identity .ava { margin: 0 auto; }
  .tm-ida-identity .role { justify-content: center; }
}

/* Divider that precedes the identity card ("And alongside the team") */
.tm-ida-divider {
  margin: 56px auto 32px;
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--tm-muted-2);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.tm-ida-divider::before,
.tm-ida-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--tm-border);
}

/* ============================================================
   STATS BAND — shared dark band of headline numbers
   ============================================================
   Drop-in under hero on Homepage / Pricing / Platforms hub / About.
   Heading (.tm-stats-band-head) is optional.
   ============================================================ */

.tm-stats-band {
  padding: 72px 0;
  background: var(--tm-ink);
  color: #fff;
}
.tm-stats-band-head {
  text-align: center;
  margin-bottom: 48px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.tm-stats-band-head .tm-stats-eyebrow {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 10px;
}
.tm-stats-band-head h2 { color: #fff; }
.tm-stats-band-head p {
  margin-top: 10px;
  color: rgba(255,255,255,.7);
  font-size: 17px;
}
.tm-stats-band-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.tm-stats-band-item {
  padding: 36px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
}
.tm-stats-band-item:last-child { border-right: 0; }
.tm-stats-band-n {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1;
}
.tm-stats-band-n .plus {
  color: var(--tm-blue);
  font-weight: 600;
}
.tm-stats-band-l {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
}
@media (max-width: 860px) {
  .tm-stats-band-grid { grid-template-columns: repeat(2, 1fr); }
  .tm-stats-band-item { border-bottom: 1px solid rgba(255,255,255,.12); }
  .tm-stats-band-item:nth-child(even) { border-right: 0; }
  .tm-stats-band-item:last-child { grid-column: 1/-1; }
}

/* Variant: --light — white background, subtle borders, light alternative to the dark default */
.tm-stats-band.tm-stats-band--light {
  background: var(--tm-paper);
  color: var(--tm-ink);
  border-top: 1px solid var(--tm-border);
  border-bottom: 1px solid var(--tm-border);
}
.tm-stats-band--light .tm-stats-band-grid {
  border-top-color: var(--tm-border);
  border-bottom-color: var(--tm-border);
}
.tm-stats-band--light .tm-stats-band-item {
  border-right-color: var(--tm-border);
}
.tm-stats-band--light .tm-stats-band-n { color: var(--tm-ink); }
.tm-stats-band--light .tm-stats-band-n .plus { color: var(--tm-blue); }
.tm-stats-band--light .tm-stats-band-l { color: var(--tm-muted-2); }
.tm-stats-band--light .tm-stats-band-head h2 { color: var(--tm-ink); }
.tm-stats-band--light .tm-stats-band-head p { color: var(--tm-muted); }
.tm-stats-band--light .tm-stats-band-head .tm-stats-eyebrow { color: var(--tm-muted-2); }
@media (max-width: 860px) {
  .tm-stats-band--light .tm-stats-band-item { border-bottom-color: var(--tm-border); }
}

/* Variant: --blue — soft brand-blue tint, deep-blue numerals, "premium report" feel */
.tm-stats-band.tm-stats-band--blue {
  background: var(--tm-blue-light);
  color: var(--tm-ink);
}
.tm-stats-band--blue .tm-stats-band-grid {
  border-top-color: rgba(53,166,222,.25);
  border-bottom-color: rgba(53,166,222,.25);
}
.tm-stats-band--blue .tm-stats-band-item {
  border-right-color: rgba(53,166,222,.25);
}
.tm-stats-band--blue .tm-stats-band-n { color: #1a5a82; }
.tm-stats-band--blue .tm-stats-band-n .plus { color: var(--tm-blue); }
.tm-stats-band--blue .tm-stats-band-l {
  color: rgba(26,90,130,.7);
  font-weight: 700;
}
.tm-stats-band--blue .tm-stats-band-head h2 { color: var(--tm-ink); }
.tm-stats-band--blue .tm-stats-band-head p { color: rgba(26,90,130,.7); }
.tm-stats-band--blue .tm-stats-band-head .tm-stats-eyebrow { color: var(--tm-blue); }
@media (max-width: 860px) {
  .tm-stats-band--blue .tm-stats-band-item { border-bottom-color: rgba(53,166,222,.25); }
}

/* Variant: --minimal — transparent background, hairline top/bottom rules only, no grid dividers */
.tm-stats-band.tm-stats-band--minimal {
  background: transparent;
  color: var(--tm-ink);
  padding: 48px 0;
  border-top: 1px solid var(--tm-border);
  border-bottom: 1px solid var(--tm-border);
}
.tm-stats-band--minimal .tm-stats-band-grid {
  border-top: 0;
  border-bottom: 0;
}
.tm-stats-band--minimal .tm-stats-band-item {
  border-right-color: var(--tm-border);
}
.tm-stats-band--minimal .tm-stats-band-n { color: var(--tm-ink); }
.tm-stats-band--minimal .tm-stats-band-n .plus { color: var(--tm-blue); }
.tm-stats-band--minimal .tm-stats-band-l { color: var(--tm-muted-2); }
.tm-stats-band--minimal .tm-stats-band-head h2 { color: var(--tm-ink); }
.tm-stats-band--minimal .tm-stats-band-head p { color: var(--tm-muted); }
.tm-stats-band--minimal .tm-stats-band-head .tm-stats-eyebrow { color: var(--tm-muted-2); }
@media (max-width: 860px) {
  .tm-stats-band--minimal .tm-stats-band-item { border-bottom-color: var(--tm-border); }
}

/* ============================================================
   QUOTE BAND — shared operator testimonial
   ============================================================
   One centred quote with avatar. Drop-in on platform pages,
   typically between IDA section and pricing.
   ============================================================ */

.tm-quote-band {
  padding: 80px 0;
  background: var(--tm-bg-2);
}
.tm-quote-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}
.tm-quote-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--tm-muted-2);
  margin-bottom: 24px;
}
.tm-quote-eyebrow::before,
.tm-quote-eyebrow::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--tm-border);
}
.tm-quote-text {
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.45;
  color: var(--tm-ink);
  font-weight: 500;
  letter-spacing: -.01em;
  margin: 0;
  position: relative;
}
.tm-quote-text::before {
  content: "\201C";
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 4px;
  color: var(--tm-blue);
  opacity: .5;
  font-family: Georgia, serif;
}
.tm-quote-who {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 10px;
  background: var(--tm-paper);
  border: 1px solid var(--tm-border);
  border-radius: 999px;
}
.tm-quote-who .tm-quote-ava {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  background: linear-gradient(135deg, var(--tm-blue), var(--tm-auto));
}
.tm-quote-who .tm-quote-ava.orange { background: linear-gradient(135deg, var(--tm-orange), var(--tm-realty)); }
.tm-quote-who .tm-quote-ava.green  { background: linear-gradient(135deg, var(--tm-green), var(--tm-blue)); }
.tm-quote-who .tm-quote-meta {
  text-align: left;
  line-height: 1.3;
}
.tm-quote-who .tm-quote-meta b {
  display: block;
  color: var(--tm-ink);
  font-weight: 700;
  font-size: 14px;
}
.tm-quote-who .tm-quote-meta span {
  display: block;
  color: var(--tm-muted-2);
  font-size: 12px;
  margin-top: 2px;
}

/* ============================================================
   V2B PAGE PATTERNS — promoted 2026-04-25
   ============================================================
   The chosen v2b style. Components below were duplicated inline
   across about-v2b, index-brand-v2b, platforms-v2b, pricing-v2b,
   automotive-platform-v2b, realty-platform-v2b, and the .v-b toggle
   on marketplace-platform-v2. Promoted here so new pages can compose
   the v2b look from class names alone.

   Per-platform colour: set a modifier on `.tm-page`
   (.tm-platform-marketplace / -classifieds / -realty / -automotive /
   -services). Components below read --tm-accent / --tm-accent-light.

   See site/en/DESIGN.md for usage rules and the page skeleton.
   ============================================================ */

/* ---------- HERO ---------- */
.tm-hero { position: relative; overflow: hidden; padding: 80px 0 64px; }
.tm-hero--lifted    { background: var(--tm-bg-2); padding-top: 96px; }
.tm-hero--centered  { text-align: center; }
.tm-hero .tm-hero-bg-l,
.tm-hero .tm-hero-bg-r {
  position: absolute;
  top: -20px;
  width: 420px;
  opacity: .28;
  pointer-events: none;
  z-index: 0;
  filter: saturate(1.1);
}
.tm-hero .tm-hero-bg-l { left: -60px; }
.tm-hero .tm-hero-bg-r { right: -80px; transform: scaleX(-1); }
.tm-hero .tm-hero-inner { position: relative; z-index: 1; max-width: calc(var(--tm-maxw) * .8000); }  /* was 960 */
.tm-hero--centered .tm-hero-inner { max-width: calc(var(--tm-maxw) * .7500); margin: 0 auto; }  /* was 900 */
.tm-hero h1 .tm-accent { color: var(--tm-accent); }
.tm-hero .tm-lede {
  margin-top: 18px;
  font-size: 19px;
  color: var(--tm-muted);
  max-width: 640px;
  line-height: 1.5;
}
.tm-hero--centered .tm-lede {
  margin: 22px auto 0;
  max-width: 780px;  /* was 720 — widened 2026-08-30 (Angelika); fixed px on purpose: prose measure, must not track --tm-maxw */
  font-size: 20px;
  line-height: 1.55;
}
.tm-hero .tm-cta-row { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.tm-hero--centered .tm-cta-row { justify-content: center; }
.tm-hero .tm-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--tm-accent);
  background: var(--tm-accent-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.tm-hero .tm-hero-eyebrow .tm-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--tm-accent);
}
/* Mobile eyebrow (added 2026-08-30): step the type down so most pills fit one line at 375px,
   and switch from inline-flex to inline flow so a pill that still wraps (long RU labels)
   centers both lines with the dot riding line 1 — not floating mid-left beside the block. */
@media (max-width: 640px) {
  .tm-hero .tm-hero-eyebrow { display: inline-block; text-align: center; font-size: 11px; letter-spacing: .08em; line-height: 1.6; padding: 6px 16px; }
  .tm-hero .tm-hero-eyebrow .tm-dot { display: inline-block; margin-right: 8px; vertical-align: middle; position: relative; top: -1px; }
}
.tm-hero .tm-hero-facts {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--tm-muted-2);
}
.tm-hero .tm-hero-facts b { color: var(--tm-ink); font-weight: 700; }
.tm-hero .tm-hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--tm-paper);
  border: 1px solid var(--tm-border);
  border-radius: 999px;
}
@media (max-width: 720px) {
  .tm-hero .tm-hero-bg-l,
  .tm-hero .tm-hero-bg-r { display: none; }
}

/* ---------- SECTION HEAD (centred eyebrow + h2 + lede) ---------- */
.tm-section-head {
  text-align: center;
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.tm-section-head .tm-eyebrow {
  font-size: 13px;
  color: var(--tm-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.tm-section-head p {
  margin-top: 10px;
  color: var(--tm-muted-2);
  font-size: 17px;
}

/* ---------- PLATFORM GRID (4-vertical chooser) ---------- */
.tm-platform-section { padding: 72px 0; background: var(--tm-bg-2); }
.tm-platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tm-plat-card {
  background: var(--tm-paper);
  border: 1px solid var(--tm-border);
  border-radius: 20px;
  padding: 28px 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
}
.tm-plat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -8px rgba(26,26,26,.08);
  border-color: transparent;
}
.tm-plat-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.tm-plat-icon svg { width: 28px; height: 28px; }
.tm-plat-card .tm-plat-name { font-weight: 700; font-size: 17px; color: var(--tm-ink); }
.tm-plat-card .tm-plat-desc { color: var(--tm-muted); font-size: 14px; line-height: 1.5; flex: 1; }
.tm-plat-card .tm-plat-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--tm-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .15s ease;
}
.tm-plat-card:hover .tm-plat-more { gap: 10px; }
.tm-plat-card .tm-plat-more svg { width: 12px; height: 12px; }
/* Per-card accent — match each platform's brand hue */
.tm-plat-icon.tm-plat-mp { background: var(--tm-blue-light);   color: var(--tm-blue); }
.tm-plat-icon.tm-plat-cl { background: var(--tm-orange-light); color: var(--tm-orange); }
.tm-plat-icon.tm-plat-re { background: var(--tm-realty-light); color: var(--tm-realty); }
.tm-plat-icon.tm-plat-au { background: var(--tm-auto-light);   color: var(--tm-auto); }
.tm-plat-icon.tm-plat-fl { background: var(--tm-green-light);  color: var(--tm-green); }
@media (max-width: 1060px) { .tm-platform-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .tm-platform-grid { grid-template-columns: 1fr; } }

/* ---------- THESIS / NUMBERED ARGUMENT CARDS ---------- */
.tm-thesis-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tm-th-card {
  background: var(--tm-paper);
  border: 1px solid var(--tm-border);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.tm-th-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--tm-blue);
}
/* Top-bar rotates through brand hues across siblings */
.tm-th-card:nth-child(2)::before { background: var(--tm-orange); }
.tm-th-card:nth-child(3)::before { background: var(--tm-realty); }
.tm-th-card:nth-child(4)::before { background: var(--tm-green); }
.tm-th-card .tm-th-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--tm-muted-2);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.tm-th-card h3 { font-size: 22px; font-weight: 700; color: var(--tm-ink); line-height: 1.3; }
.tm-th-card p  { color: var(--tm-muted); font-size: 15px; line-height: 1.65; }
@media (max-width: 720px) { .tm-thesis-grid { grid-template-columns: 1fr; } }

/* ---------- BENEFIT GRID (3-up + wide promoted card) ---------- */
.tm-benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tm-b-card {
  background: var(--tm-paper);
  border: 1px solid var(--tm-border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tm-b-card .tm-b-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--tm-blue-light);
  display: grid;
  place-items: center;
  color: var(--tm-blue);
}
.tm-b-card .tm-b-icon svg { width: 28px; height: 28px; }
.tm-b-card h3 { font-size: 18px; font-weight: 700; }
.tm-b-card p  { font-size: 15px; color: var(--tm-muted); line-height: 1.55; }
/* Rotate small benefit-card icons through the 5 brand hues */
.tm-b-card:nth-of-type(1):not(.tm-b-card--wide) .tm-b-icon { background: var(--tm-blue-light);   color: var(--tm-blue); }
.tm-b-card:nth-of-type(2):not(.tm-b-card--wide) .tm-b-icon { background: var(--tm-orange-light); color: var(--tm-orange); }
.tm-b-card:nth-of-type(3):not(.tm-b-card--wide) .tm-b-icon { background: var(--tm-realty-light); color: var(--tm-realty); }
.tm-b-card:nth-of-type(4):not(.tm-b-card--wide) .tm-b-icon { background: var(--tm-auto-light);   color: var(--tm-auto); }
.tm-b-card:nth-of-type(5):not(.tm-b-card--wide) .tm-b-icon { background: var(--tm-green-light);  color: var(--tm-green); }
.tm-b-card.tm-b-card--wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--tm-blue-light), var(--tm-bg-2));
}
.tm-b-card.tm-b-card--wide .tm-b-icon { background: var(--tm-paper); color: var(--tm-blue); }
.tm-b-card .tm-b-integrations { display: flex; flex-wrap: wrap; gap: 10px; }
.tm-b-card .tm-b-integ {
  padding: 10px 16px;
  background: var(--tm-paper);
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  color: var(--tm-muted);
  border: 1px solid var(--tm-border);
}
@media (max-width: 960px) {
  .tm-benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .tm-b-card.tm-b-card--wide { grid-column: span 2; grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tm-benefit-grid { grid-template-columns: 1fr; }
  .tm-b-card.tm-b-card--wide { grid-column: span 1; }
}

/* ---------- FEAT ROW (alternating image + text — platform pages) ---------- */
.tm-feat-list { padding: 40px 0 80px; }
.tm-feat-list--bg-2 { background: var(--tm-bg-2); }
.tm-feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--tm-border-2);
}
.tm-feat:last-child { border-bottom: 0; }
.tm-feat--reverse .tm-feat-copy   { order: 2; }
.tm-feat--reverse .tm-feat-visual { order: 1; }
.tm-feat .tm-feat-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--tm-accent);
  margin-bottom: 12px;
}
.tm-feat h2 { margin-bottom: 14px; font-size: clamp(24px, 2.8vw, 34px); }
.tm-feat .tm-feat-copy p { color: var(--tm-muted); font-size: 15px; line-height: 1.65; margin-bottom: 10px; }
.tm-feat .tm-feat-copy ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tm-feat .tm-feat-copy li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--tm-text);
}
.tm-feat .tm-feat-copy li::before {
  content: "";
  flex-shrink: 0;
  margin-top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--tm-accent-light);
  background-image: radial-gradient(circle, var(--tm-accent) 30%, transparent 31%);
}
.tm-feat-visual {
  background: var(--tm-paper);
  border: 1px solid var(--tm-border);
  border-radius: 20px;
  padding: 28px;
  min-height: 340px;
  position: relative;
  overflow: hidden;
}
/* Tinted visual backgrounds — pick one per feat block */
.tm-feat-visual.tm-tint-blue   { background: linear-gradient(135deg, var(--tm-blue-light),   #f4fafd); }
.tm-feat-visual.tm-tint-orange { background: linear-gradient(135deg, var(--tm-orange-light), #fffaf0); }
.tm-feat-visual.tm-tint-green  { background: linear-gradient(135deg, var(--tm-green-light),  #f4faf6); }
.tm-feat-visual.tm-tint-realty { background: linear-gradient(135deg, var(--tm-realty-light), #fff8f9); }
.tm-feat-visual.tm-tint-auto   { background: linear-gradient(135deg, var(--tm-auto-light),   #f6f8fd); }
.tm-feat-visual.tm-tint-ink    { background: linear-gradient(135deg, #1a1a1a, #2b2b2b); color: #fff; }
.tm-feat-visual.tm-tint-accent { background: linear-gradient(135deg, var(--tm-accent-light), var(--tm-bg-2)); }
@media (max-width: 800px) {
  .tm-feat { grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }
  .tm-feat--reverse .tm-feat-copy   { order: 1; }
  .tm-feat--reverse .tm-feat-visual { order: 2; }
}

/* Editorial variant — single-column row, big-number header, two-up bullet grid */
.tm-feat-list--editorial { padding: 0; }
.tm-feat-list--editorial .tm-feat {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 80px 0;
  position: relative;
}
.tm-feat-list--editorial .tm-feat-head {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--tm-border-2);
}
.tm-feat-list--editorial .tm-feat-num {
  font-size: 60px;
  font-weight: 800;
  color: var(--tm-accent);
  line-height: .9;
  letter-spacing: -.04em;
}
.tm-feat-list--editorial .tm-feat-head .tm-feat-eyebrow {
  font-size: 11px;
  color: var(--tm-muted-2);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.tm-feat-list--editorial .tm-feat-head h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 0; }
.tm-feat-list--editorial .tm-feat-head .tm-feat-copy p { color: var(--tm-muted); font-size: 15px; line-height: 1.6; }
.tm-feat-list--editorial .tm-feat-visual { width: 100%; min-height: 380px; }
.tm-feat-list--editorial .tm-feat-copy ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}
@media (max-width: 800px) {
  .tm-feat-list--editorial .tm-feat-head { grid-template-columns: 1fr; gap: 16px; }
  .tm-feat-list--editorial .tm-feat-num { font-size: 44px; }
}

/* ---------- FAQ ACCORDION ---------- */
.tm-faq { padding: 80px 0; background: var(--tm-bg-2); }
.tm-faq--paper { background: var(--tm-paper); }
.tm-faq-list {
  max-width: calc(var(--tm-maxw) * .6833);   /* was 820 */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tm-faq-item {
  background: var(--tm-paper);
  border: 1px solid var(--tm-border);
  border-radius: 14px;
  overflow: hidden;
}
.tm-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  color: var(--tm-ink);
  font-size: 16px;
}
.tm-faq-item summary::-webkit-details-marker { display: none; }
.tm-faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--tm-accent);
  font-weight: 400;
  transition: transform .2s;
}
.tm-faq-item[open] summary::after { transform: rotate(45deg); }
.tm-faq-item .tm-faq-body {
  padding: 0 24px 22px;
  color: var(--tm-muted);
  font-size: 15px;
  line-height: 1.65;
}
.tm-faq-item .tm-faq-body p { margin-bottom: 10px; }
.tm-faq-item .tm-faq-body p:last-child { margin-bottom: 0; }

/* ---------- CASE STUDY (split card with mockup visual) ---------- */
.tm-case { padding: 88px 0; background: var(--tm-bg-2); }
.tm-case-inner {
  background: var(--tm-paper);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--tm-border);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.tm-case-body { padding: 48px; }
.tm-case-body .tm-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--tm-accent);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 12px;
}
.tm-case-body h2 { margin-bottom: 16px; font-size: 30px; }
.tm-case-body p { color: var(--tm-muted); font-size: 15px; line-height: 1.6; margin-bottom: 14px; }
.tm-case-press {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--tm-border-2);
  align-items: center;
  flex-wrap: wrap;
}
.tm-case-press-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--tm-muted-2);
  font-weight: 600;
}
.tm-case-press-outlet { font-weight: 700; color: var(--tm-muted); font-size: 15px; }
.tm-case-visual {
  background: linear-gradient(135deg, #eaf3fb, #d8eaf7);
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
@media (max-width: 860px) {
  .tm-case-inner { grid-template-columns: 1fr; }
  .tm-case-body { padding: 32px; }
}

/* ---------- EXPERT QUOTE BAND (full-bleed coloured) ---------- */
.tm-expert {
  padding: 88px 0;
  background: var(--tm-blue);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.tm-expert .tm-expert-bgquote {
  position: absolute;
  top: -40px; right: -20px;
  font-size: 400px;
  line-height: 1;
  font-weight: 800;
  opacity: .08;
  color: #fff;
  font-family: Georgia, serif;
}
.tm-expert .tm-expert-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}
.tm-expert .tm-expert-photo {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f9c870, #ff9d02);
  display: grid;
  place-items: center;
  font-size: 64px;
  font-weight: 700;
  color: #fff;
  border: 6px solid rgba(255,255,255,.18);
  flex-shrink: 0;
}
.tm-expert .tm-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  opacity: .65;
  margin-bottom: 14px;
}
.tm-expert blockquote { margin: 0; font-size: 22px; line-height: 1.45; font-weight: 500; }
.tm-expert .tm-expert-who { margin-top: 24px; font-weight: 700; font-size: 16px; }
.tm-expert .tm-expert-who .tm-expert-role {
  display: block;
  font-weight: 400;
  opacity: .75;
  font-size: 14px;
  margin-top: 4px;
  line-height: 1.5;
}
.tm-expert .tm-expert-badges { display: flex; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.tm-expert .tm-expert-badges .tm-tag {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  font-size: 12px;
  font-weight: 600;
}
@media (max-width: 720px) {
  .tm-expert .tm-expert-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .tm-expert .tm-expert-photo { width: 120px; height: 120px; font-size: 48px; }
}

/* ---------- OPINIONS (2-up customer quotes with stars) ---------- */
.tm-opinions { padding: 72px 0; background: var(--tm-bg-2); }
.tm-op-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tm-op-card {
  background: var(--tm-paper);
  border: 1px solid var(--tm-border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tm-op-card .tm-stars { color: #f0b531; font-size: 14px; letter-spacing: 2px; }
.tm-op-card blockquote { margin: 0; color: var(--tm-text); font-size: 16px; line-height: 1.6; font-weight: 500; }
.tm-op-card .tm-op-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tm-op-card .tm-op-ava {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--tm-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.tm-op-card .tm-op-who b    { color: var(--tm-ink); font-weight: 700; font-size: 14px; display: block; }
.tm-op-card .tm-op-who span { color: var(--tm-muted-2); font-size: 12px; display: block; }
@media (max-width: 720px) { .tm-op-grid { grid-template-columns: 1fr; } }

/* ---------- PORTFOLIO GRID ---------- */
.tm-portfolio { padding: 88px 0; }
.tm-portfolio .tm-portfolio-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--tm-muted);
}
.tm-portfolio .tm-portfolio-links a {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: all .15s;
}
.tm-portfolio .tm-portfolio-links a:hover { color: var(--tm-accent); border-color: var(--tm-accent); }
.tm-pf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tm-pf-card {
  background: var(--tm-paper);
  border: 1px solid var(--tm-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
}
.tm-pf-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -8px rgba(26,26,26,.1);
}
.tm-pf-card .tm-pf-thumb {
  aspect-ratio: 16/10;
  background: var(--tm-bg);
  border-bottom: 1px solid var(--tm-border-2);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.tm-pf-card .tm-pf-info { padding: 16px; }
.tm-pf-card .tm-pf-info b    { color: var(--tm-ink); font-size: 14px; font-weight: 700; display: block; }
.tm-pf-card .tm-pf-info span { color: var(--tm-muted-2); font-size: 12px; display: block; margin-top: 4px; }
/* Rotate thumbnail tints through 8 brand-derived gradients */
.tm-pf-card:nth-child(8n+1) .tm-pf-thumb { background: linear-gradient(135deg, #e8f3fb, #cfe3f3); }
.tm-pf-card:nth-child(8n+2) .tm-pf-thumb { background: linear-gradient(135deg, #fff2e4, #ffe0c1); }
.tm-pf-card:nth-child(8n+3) .tm-pf-thumb { background: linear-gradient(135deg, #e9f6ef, #caead6); }
.tm-pf-card:nth-child(8n+4) .tm-pf-thumb { background: linear-gradient(135deg, #ffeeef, #ffd7d7); }
.tm-pf-card:nth-child(8n+5) .tm-pf-thumb { background: linear-gradient(135deg, #edf1fc, #d3dcf5); }
.tm-pf-card:nth-child(8n+6) .tm-pf-thumb { background: linear-gradient(135deg, #f0e9fc, #dac9f5); }
.tm-pf-card:nth-child(8n+7) .tm-pf-thumb { background: linear-gradient(135deg, #e0f5f4, #bfe7e4); }
.tm-pf-card:nth-child(8n+0) .tm-pf-thumb { background: linear-gradient(135deg, #fdf4cc, #f3e39a); }
@media (max-width: 960px) { .tm-pf-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .tm-pf-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- FUTURE / NARRATIVE + BIG STATS ---------- */
.tm-future { padding: 88px 0; background: var(--tm-bg-2); }
.tm-future .tm-future-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.tm-future h2 { margin-bottom: 16px; }
.tm-future p  { color: var(--tm-muted); font-size: 16px; margin-bottom: 14px; line-height: 1.65; }
.tm-future .tm-stat-big {
  background: var(--tm-paper);
  border: 1px solid var(--tm-border);
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.tm-future .tm-stat-big-item .tm-n {
  font-size: 48px;
  font-weight: 800;
  color: var(--tm-accent);
  letter-spacing: -.03em;
  line-height: 1;
}
.tm-future .tm-stat-big-item p {
  font-size: 13px;
  color: var(--tm-muted-2);
  margin-top: 6px;
  margin-bottom: 0;
}
@media (max-width: 860px) { .tm-future .tm-future-inner { grid-template-columns: 1fr; } }

/* ---------- PHILOSOPHY (numbered Q-style entries) ---------- */
.tm-philosophy { padding: 96px 0; }
.tm-philosophy .tm-philosophy-inner { max-width: 780px; margin: 0 auto; }
.tm-philosophy .tm-ph-items { display: flex; flex-direction: column; gap: 36px; }
.tm-ph-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--tm-border-2);
}
.tm-ph-item:last-child { border-bottom: 0; padding-bottom: 0; }
.tm-ph-item .tm-ph-q {
  font-size: 56px;
  font-weight: 800;
  color: var(--tm-blue);
  letter-spacing: -.04em;
  line-height: .9;
  min-width: 80px;
}
.tm-ph-item:nth-child(2) .tm-ph-q { color: var(--tm-orange); }
.tm-ph-item:nth-child(3) .tm-ph-q { color: var(--tm-green); }
.tm-ph-item h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--tm-ink);
  margin-bottom: 12px;
  line-height: 1.3;
}
.tm-ph-item p { color: var(--tm-muted); font-size: 16px; line-height: 1.7; }
@media (max-width: 720px) {
  .tm-ph-item { grid-template-columns: 1fr; gap: 10px; }
  .tm-ph-item .tm-ph-q { font-size: 42px; min-width: 0; }
}

/* ---------- TEAM GRID (4-up member cards) ---------- */
.tm-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tm-team-member {
  background: var(--tm-paper);
  border: 1px solid var(--tm-border);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}
.tm-team-member .tm-team-ava {
  width: 88px; height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.02em;
  box-shadow: 0 12px 28px -10px rgba(26,26,26,.2);
}
/* Avatar gradients rotate through brand hue pairs */
.tm-team-member.tm-team-p1 .tm-team-ava { background: linear-gradient(135deg, var(--tm-blue),   var(--tm-auto)); }
.tm-team-member.tm-team-p2 .tm-team-ava { background: linear-gradient(135deg, var(--tm-orange), var(--tm-realty)); }
.tm-team-member.tm-team-p3 .tm-team-ava { background: linear-gradient(135deg, var(--tm-green),  var(--tm-blue)); }
.tm-team-member.tm-team-p4 .tm-team-ava { background: linear-gradient(135deg, var(--tm-realty), var(--tm-orange)); }
.tm-team-member h3 { font-size: 18px; font-weight: 700; color: var(--tm-ink); margin-top: 4px; }
.tm-team-member .tm-team-role {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--tm-blue);
}
.tm-team-member.tm-team-p2 .tm-team-role { color: var(--tm-orange); }
.tm-team-member.tm-team-p3 .tm-team-role { color: var(--tm-green); }
.tm-team-member.tm-team-p4 .tm-team-role { color: var(--tm-realty); }
.tm-team-member p { color: var(--tm-muted); font-size: 14px; line-height: 1.6; }
.tm-team-note {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: var(--tm-muted-2);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
  font-style: italic;
}
@media (max-width: 960px) { .tm-team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tm-team-grid { grid-template-columns: 1fr; } }

/* ---------- PRICING BAND (split: pitch + form) ---------- */
.tm-pricing-band { padding: 80px 0; }
.tm-pricing-inner {
  background: linear-gradient(135deg, #0f3d5e, #1a6fa0 45%, #35a6de);
  border-radius: 28px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.tm-pricing-inner::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: var(--tm-blue);
  top: -100px; left: -100px;
  filter: blur(60px);
  opacity: .35;
}
.tm-pricing-inner h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); position: relative; }
.tm-pricing-inner .tm-lede {
  margin-top: 14px;
  font-size: 17px;
  color: rgba(255,255,255,.82);
  max-width: 420px;
  line-height: 1.55;
  position: relative;
}
.tm-pricing-terms {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.tm-pricing-terms div {
  font-size: 14px;
  color: rgba(255,255,255,.9);
  display: flex;
  gap: 10px;
  align-items: center;
}
.tm-pricing-terms div::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
}
.tm-pricing-form {
  background: var(--tm-paper);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  z-index: 1;
}
.tm-pricing-form h3 { color: var(--tm-ink); margin-bottom: 16px; font-size: 18px; }
.tm-pricing-form .tm-fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.tm-pricing-form .tm-fld label {
  font-size: 12px;
  color: var(--tm-muted-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.tm-pricing-form .tm-fld input,
.tm-pricing-form .tm-fld select {
  padding: 12px 14px;
  border: 1px solid var(--tm-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  background: var(--tm-paper);
}
.tm-pricing-form .tm-fld input:focus,
.tm-pricing-form .tm-fld select:focus {
  outline: none;
  border-color: var(--tm-blue);
}
.tm-pricing-form .tm-btn { width: 100%; justify-content: center; margin-top: 4px; }
.tm-pricing-form small {
  display: block;
  margin-top: 10px;
  color: var(--tm-muted-2);
  font-size: 12px !important; /* beats .tm-page small reset */
  text-align: center;
  line-height: 1.5;
}
@media (max-width: 860px) {
  .tm-pricing-inner { grid-template-columns: 1fr; padding: 40px 32px; gap: 32px; }
}

/* ---------- ICON STATS ROW (3-up with badge — distinct from .tm-stats-band) ---------- */
.tm-icon-stats {
  padding: 64px 0;
  border-top: 1px solid var(--tm-border);
  border-bottom: 1px solid var(--tm-border);
}
.tm-icon-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: center;
}
.tm-icon-stat { display: flex; gap: 20px; align-items: center; }
.tm-icon-stat-badge {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: var(--tm-blue-light);
  display: grid;
  place-items: center;
  color: var(--tm-blue);
  flex-shrink: 0;
}
.tm-icon-stat-badge svg { width: 32px; height: 32px; }
.tm-icon-stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--tm-ink);
  line-height: 1;
  letter-spacing: -.02em;
}
.tm-icon-stat-label { color: var(--tm-muted); font-size: 14px; margin-top: 4px; }
@media (max-width: 800px) {
  .tm-icon-stats-row { grid-template-columns: 1fr; gap: 24px; }
}

/* ————— Accessibility layer (added 2026-07-04 via /designer review — additive, site-wide) ————— */
/* Keyboard focus: nothing else in this file styles :focus-visible, so links/buttons fell back to the faint UA ring. */
.tm-page a:focus-visible,
.tm-page button:focus-visible,
.tm-page summary:focus-visible,
.tm-btn:focus-visible {
  outline: 2px solid var(--tm-blue-dark);
  outline-offset: 2px;
}
/* Pressed feedback for CTAs — transform is already in .tm-btn's transition list. */
.tm-btn:active { transform: scale(.98); }
/* Reduced motion: required by the brand lock on the IDA breathing ring (brand-visual.md §Component locks). */
@media (prefers-reduced-motion: reduce) {
  .tm-page *, .tm-page *::before, .tm-page *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
