/* =====================================================================
   TalkerIQ site system (v3 — cloud phone system + AI)
   Loaded after styles.css. Every class is prefixed `tq-` (layout/content)
   or `ig-` (infographics) so it never collides with legacy page CSS.
   ===================================================================== */

:root {
  --cobalt: #0047AB;
  --cobalt-dark: #003A8C;
  --cobalt-tint: #E6EDF8;
  --cobalt-soft: #F2F5FB;
  --cobalt-glow: rgba(0, 71, 171, 0.14);
  --ink: #14151A;
  --ink-2: #55585F;
  --ink-3: #8B8E96;
  --night: #101116;
  --night-2: #1A1B22;
  --night-line: #2A2C35;
  --paper: #F7F5F1;
  --paper-2: #ECE9E0;
  --line: #E3E0D7;
  --line-2: #D8D4C8;
  --white: #FFFFFF;
  --ok: #0F8A5F;
  --ok-tint: #E3F4EC;
  --warn: #B45309;
  --warn-tint: #FDF3E1;
  /* Secondary palette — each colour carries meaning in graphics:
     cobalt = phone system & your team · violet = AI · teal = texting · green = done · amber = waiting */
  --violet: #6B4FC4;
  --violet-tint: #EEEAFB;
  --violet-soft: #F6F4FD;
  --violet-glow: rgba(107, 79, 196, 0.16);
  --teal: #0B8378;
  --teal-tint: #DFF3F0;
  --amber: #B7791F;
  --amber-tint: #FBF0DA;
  --display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 24px 48px rgba(20, 21, 26, 0.08);
  --shadow-sm: 0 6px 18px rgba(20, 21, 26, 0.06);
  --nav-h: 64px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body.tq { background: var(--paper); color: var(--ink); font-family: var(--body); overflow-x: hidden; font-feature-settings: 'cv11', 'ss01'; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.tq-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .tq-wrap { padding: 0 32px; } }
@media (min-width: 1100px) { .tq-wrap { padding: 0 48px; } }
/* Long unbroken strings (URLs, OAuth scopes in legal pages) must wrap on phones */
code, pre { overflow-wrap: anywhere; word-break: break-word; white-space: pre-wrap; }
.tq-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.tq-section { padding: 64px 0; }
@media (min-width: 900px) { .tq-section { padding: 96px 0; } }
.tq-section--white { background: var(--white); }
.tq-section--paper { background: var(--paper); }
.tq-section--tint { background: var(--cobalt-soft); }
.tq-section--night { background: var(--night); color: var(--paper); }
.tq-section--tight { padding-top: 0; }

/* ---------- Type ---------- */
.tq-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); margin: 0; }
.tq-eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--cobalt); flex: 0 0 auto; }
.tq-section--night .tq-eyebrow { color: #B4B7C0; }
.tq-section--night .tq-eyebrow::before { background: #8FB3EA; }
.tq-h1, .tq-h2, .tq-h3, .tq-h4 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -0.025em; }
.tq-section--night .tq-h1, .tq-section--night .tq-h2, .tq-section--night .tq-h3, .tq-section--night .tq-h4 { color: var(--paper); }
.tq-h1 { font-size: clamp(2.25rem, 5.2vw, 4rem); line-height: 1.04; font-weight: 600; letter-spacing: -0.032em; }
.tq-h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.028em; }
.tq-h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.25; font-weight: 600; }
.tq-h4 { font-size: 1.05rem; line-height: 1.3; font-weight: 600; }
.tq-h1 em, .tq-h2 em { font-style: normal; color: var(--cobalt); }
.tq-h1__kw { display: flex; align-items: center; gap: 10px; font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); line-height: 1.4; margin-bottom: 18px; }
.tq-h1__kw::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--cobalt); flex: 0 0 auto; }
.tq-section--night .tq-h2 em { color: #8FB3EA; }
.tq-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--ink-2); margin: 0; max-width: 640px; }
.tq-section--night .tq-lead { color: #B4B7C0; }
.tq-body { font-size: 1rem; line-height: 1.65; color: var(--ink-2); margin: 0; }
.tq-small { font-size: 0.875rem; color: var(--ink-3); margin: 0; }
.tq-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 48px; }
.tq-head--center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.tq-link { color: var(--cobalt); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.tq-link:hover { color: var(--cobalt-dark); }
.tq-arrow-link { display: inline-flex; align-items: center; gap: 6px; color: var(--cobalt); font-weight: 600; font-size: 0.95rem; }
.tq-arrow-link svg { transition: transform .2s ease; }
.tq-arrow-link:hover svg { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.tq-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tq-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--body); font-size: 15px; font-weight: 600; padding: 14px 24px; border-radius: 4px; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; text-decoration: none; line-height: 1.2; white-space: nowrap; }
.tq-btn--primary { background: var(--cobalt); color: #fff; }
.tq-btn--primary:hover { background: var(--cobalt-dark); }
.tq-btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.tq-btn--ghost:hover { background: var(--ink); color: var(--paper); }
.tq-btn--light { background: var(--paper); color: var(--ink); }
.tq-btn--light:hover { background: #fff; }
.tq-btn--ghost-light { border-color: #5A5D68; color: var(--paper); }
.tq-btn--ghost-light:hover { border-color: var(--paper); }
.tq-btn--sm { padding: 9px 16px; font-size: 14px; }

/* ---------- Hero ---------- */
.tq-hero { background: var(--paper); padding: 48px 0 56px; }
@media (min-width: 900px) { .tq-hero { padding: 72px 0 88px; } }
.tq-hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .tq-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; } }
.tq-hero__copy { display: flex; flex-direction: column; gap: 24px; }
.tq-hero__note { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-3); }
.tq-hero__note > span { display: inline-flex; align-items: center; gap: 6px; }
.tq-hero__note svg { color: var(--ok); }
.tq-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-3); margin: 0 0 4px; padding: 0; list-style: none; }
.tq-crumbs a:hover { color: var(--cobalt); }
.tq-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }

/* ---------- "The moment you're in" (problem framing) ---------- */
.tq-moment { display: grid; gap: 32px; }
@media (min-width: 900px) { .tq-moment { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; } }
.tq-moment__quote { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; font-weight: 500; color: var(--ink); margin: 0; letter-spacing: -0.022em; }
.tq-moment__quote::before { content: "\201C"; display: block; font-size: 3.5rem; line-height: .6; color: var(--cobalt); margin-bottom: 8px; }
.tq-pains { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.tq-pain { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.tq-pain__icon { width: 36px; height: 36px; border-radius: 50%; background: var(--paper); color: var(--ink-2); display: grid; place-items: center; }
.tq-pain h3 { font-family: var(--display); font-size: 1.02rem; font-weight: 600; margin: 0 0 4px; color: var(--ink); letter-spacing: -0.01em; }
.tq-pain p { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--ink-2); }

/* ---------- Journey (numbered steps) ---------- */
.tq-journey { display: grid; gap: 0; counter-reset: step; margin: 0; padding: 0; list-style: none; position: relative; }
.tq-journey__step { position: relative; padding: 0 0 32px 56px; }
.tq-journey__step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--cobalt); color: var(--cobalt); font-family: var(--display); font-weight: 700; font-size: 14px; display: grid; place-items: center; z-index: 1; }
.tq-journey__step::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 1.5px; background: repeating-linear-gradient(to bottom, var(--line-2) 0 5px, transparent 5px 10px); }
.tq-journey__step:last-child { padding-bottom: 0; }
.tq-journey__step:last-child::after { display: none; }
.tq-journey__step h3 { font-family: var(--display); font-size: 1.1rem; font-weight: 600; margin: 8px 0 6px; color: var(--ink); letter-spacing: -0.01em; }
.tq-journey__step p { margin: 0; font-size: 0.97rem; line-height: 1.6; color: var(--ink-2); }
.tq-journey__tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--violet-tint); color: var(--violet); }
.tq-journey__tag--human { background: var(--paper-2); color: var(--ink); }
.tq-journey__tag--mixed { background: var(--cobalt-tint); color: var(--cobalt-dark); }
.tq-journey__tag--neutral { background: var(--white); border: 1px solid var(--line); color: var(--ink-2); }
@media (min-width: 1000px) {
  .tq-journey--row { grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: 28px; }
  .tq-journey--row .tq-journey__step { padding: 56px 0 0 0; }
  .tq-journey--row .tq-journey__step::after { left: 44px; right: -28px; top: 19px; bottom: auto; width: auto; height: 1.5px; background: repeating-linear-gradient(to right, var(--line-2) 0 5px, transparent 5px 10px); }
}
.tq-journey-split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .tq-journey-split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; } }

/* ---------- Split (text + visual) ---------- */
.tq-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .tq-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .tq-split--reverse > :first-child { order: 2; }
}
.tq-split + .tq-split { margin-top: 88px; }
.tq-split__copy { display: flex; flex-direction: column; gap: 18px; }
.tq-checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.tq-checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 0.98rem; line-height: 1.55; color: var(--ink-2); }
.tq-checks li strong { color: var(--ink); font-weight: 600; }
.tq-checks svg { color: var(--ok); margin-top: 3px; }

/* ---------- Outcomes ---------- */
.tq-outcomes { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .tq-outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tq-outcomes { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); } }
.tq-outcome { background: var(--white); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.tq-outcome__big { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.tq-outcome h3 { font-family: var(--display); font-size: 1.05rem; font-weight: 600; margin: 0; color: var(--ink); letter-spacing: -0.01em; }
.tq-outcome p { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--ink-2); }

/* ---------- Detail grid (feature specifics, bordered like the homepage) ---------- */
.tq-details { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 640px) { .tq-details { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tq-details { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
.tq-detail { padding: 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; background: transparent; }
.tq-detail__icon { width: 40px; height: 40px; border-radius: var(--radius); background: var(--cobalt-tint); color: var(--cobalt); display: grid; place-items: center; }
.tq-detail h3 { font-family: var(--display); font-size: 1.08rem; font-weight: 600; margin: 4px 0 0; color: var(--ink); letter-spacing: -0.01em; }
.tq-detail p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--ink-2); }
.tq-detail ul { margin: 4px 0 0; padding-left: 18px; font-size: 0.92rem; color: var(--ink-2); line-height: 1.6; }

/* Icon tiles rotate through the secondary palette so grids aren't a wall of blue */
.tq-details > :nth-child(5n+2) .tq-detail__icon, .tq-cards > :nth-child(5n+2) .tq-card__icon { background: var(--violet-tint); color: var(--violet); }
.tq-details > :nth-child(5n+3) .tq-detail__icon, .tq-cards > :nth-child(5n+3) .tq-card__icon { background: var(--teal-tint); color: var(--teal); }
.tq-details > :nth-child(5n+4) .tq-detail__icon, .tq-cards > :nth-child(5n+4) .tq-card__icon { background: var(--amber-tint); color: var(--amber); }
.tq-details > :nth-child(5n+5) .tq-detail__icon, .tq-cards > :nth-child(5n+5) .tq-card__icon { background: var(--ok-tint); color: var(--ok); }

/* ---------- Link cards (hub → feature pages) ---------- */
.tq-cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .tq-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tq-cards { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
.tq-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s, transform .2s; color: inherit; }
a.tq-card:hover { border-color: var(--cobalt); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.tq-card__icon { width: 40px; height: 40px; border-radius: var(--radius); background: var(--cobalt-tint); color: var(--cobalt); display: grid; place-items: center; }
.tq-card h3 { font-family: var(--display); font-size: 1.08rem; font-weight: 600; margin: 4px 0 0; color: var(--ink); letter-spacing: -0.01em; }
.tq-card p { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--ink-2); flex: 1; }
.tq-card .tq-arrow-link { font-size: 0.9rem; }

/* ---------- Human + AI pairing ---------- */
.tq-pair { display: grid; gap: 16px; }
@media (min-width: 860px) { .tq-pair { grid-template-columns: 1fr 1fr; } }
.tq-pair__col { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; gap: 14px; }
.tq-pair__col--ai { background: var(--violet-soft); border-color: #DCD3F5; }
.tq-pair__label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.tq-pair__col--ai .tq-pair__label { color: var(--violet); }

/* ---------- Fit (teams / industries) ---------- */
.tq-fit { display: grid; gap: 16px; }
@media (min-width: 760px) { .tq-fit { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
.tq-fit__item { padding: 22px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.tq-fit__item h3 { font-family: var(--display); font-size: 1.02rem; font-weight: 600; margin: 0; color: var(--ink); }
.tq-fit__item p { margin: 0; font-size: 0.93rem; color: var(--ink-2); line-height: 1.55; }
.tq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tq-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); transition: border-color .15s, color .15s; }
a.tq-chip:hover { border-color: var(--cobalt); color: var(--cobalt); }
.tq-section--night .tq-chip { background: var(--night-2); border-color: var(--night-line); color: var(--paper); }

/* ---------- Stat band ---------- */
.tq-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
@media (min-width: 900px) { .tq-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tq-stat__n { display: block; font-family: var(--display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 600; letter-spacing: -0.03em; color: var(--paper); line-height: 1.05; }
.tq-stat__l { display: block; margin-top: 6px; font-size: 15px; color: #9A9DA6; }

/* ---------- Product tabs (homepage + hubs switcher) ---------- */
.tq-tabs__list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: 0 -4px 32px; -webkit-overflow-scrolling: touch; }
.tq-tabs__list::-webkit-scrollbar { display: none; }
.tq-tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: 600 15px/1 var(--body); color: var(--ink-2); cursor: pointer; transition: all .2s; }
.tq-tab:hover { color: var(--ink); border-color: var(--line-2); }
.tq-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tq-tab:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.tq-tabs__panel { display: grid; gap: 40px; align-items: center; animation: tq-fade .35s ease; }
.tq-tabs__panel[hidden] { display: none; }
@media (min-width: 960px) { .tq-tabs__panel { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; } }
@keyframes tq-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Compare table ---------- */
.tq-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.tq-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.tq-table th, .tq-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tq-table th { font-family: var(--display); font-weight: 600; color: var(--ink); background: var(--paper); }
.tq-table td { color: var(--ink-2); }
.tq-table tr:last-child td { border-bottom: 0; }
.tq-table td:first-child { color: var(--ink); font-weight: 600; }
.tq-table th.tq-table__hl { background: var(--cobalt); color: #fff; }
.tq-table td.tq-table__hl { background: var(--cobalt-soft); color: var(--ink); }
/* Day-in-the-life scenario timeline */
.tq-scenario { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 860px; }
.tq-scenario__step { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); position: relative; }
.tq-scenario__step:last-child { border-bottom: 0; }
.tq-scenario__step time { font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--ink); font-variant-numeric: tabular-nums; padding-left: 14px; position: relative; }
.tq-scenario__step time::before { content: ""; position: absolute; left: 0; top: .45em; width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); }
.tq-scenario__step--ai time::before { background: var(--violet); }
.tq-scenario__step--customer time::before { background: var(--ink-3); }
.tq-scenario__step b { display: block; font-size: 1rem; color: var(--ink); margin-bottom: 2px; }
.tq-scenario__step p { margin: 0; font-size: .96rem; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 520px) { .tq-scenario__step { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Answer box (AEO snippet target) ---------- */
.tq-answer { border-left: 3px solid var(--cobalt); background: var(--white); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 1rem; line-height: 1.65; color: var(--ink-2); max-width: 980px; }
.tq-answer strong { color: var(--ink); }
.tq-answer__q { font-family: var(--display); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 6px; }
.tq-answer > p { margin: 0; }
/* Key facts: short, citable label/value pairs (GEO) */
.tq-facts { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .tq-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tq-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tq-facts div { min-width: 0; }
.tq-facts dt { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.tq-facts dd { margin: 2px 0 0; font-size: .95rem; color: var(--ink); line-height: 1.45; }

/* ---------- FAQ ---------- */
.tq-faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 880px; }
.tq-faq details { border-bottom: 1px solid var(--line); }
.tq-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 0; font-family: var(--display); font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.tq-faq summary::-webkit-details-marker { display: none; }
.tq-faq summary svg { flex: 0 0 auto; color: var(--cobalt); transition: transform .2s; }
.tq-faq__q { margin: 0; font: inherit; color: inherit; letter-spacing: inherit; }
.tq-updated { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12.5px; color: var(--ink-3); }
.tq-updated svg { color: var(--ok); }
.tq-faq details[open] summary svg { transform: rotate(45deg); }
.tq-faq__a { padding: 0 0 22px; font-size: 1rem; line-height: 1.65; color: var(--ink-2); max-width: 760px; }
.tq-faq__a p { margin: 0 0 10px; }
.tq-faq-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .tq-faq-grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 64px; } }

/* ---------- Related ---------- */
.tq-related { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- CTA band ---------- */
.tq-cta { background: var(--night); color: var(--paper); padding: 72px 0; }
@media (min-width: 900px) { .tq-cta { padding: 96px 0; } }
.tq-cta__grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 900px) { .tq-cta__grid { grid-template-columns: minmax(0, 1.4fr) auto; gap: 48px; } }
.tq-cta h2 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; font-weight: 600; margin: 0 0 16px; color: var(--paper); letter-spacing: -0.02em; }
.tq-cta p { margin: 0; color: #B4B7C0; font-size: 1.1rem; max-width: 620px; line-height: 1.6; }

/* =====================================================================
   NAVIGATION
   ===================================================================== */
.tq-nav { padding: 0 !important; margin: 0 !important; /* legacy pages style bare `header` */ position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); font-family: var(--body); }
.tq-nav__bar { height: var(--nav-h); display: flex; align-items: center; gap: 24px; max-width: 1320px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .tq-nav__bar { padding: 0 32px; } }
.tq-nav__logo { flex: 0 0 auto; display: flex; align-items: center; }
.tq-nav__logo img { height: 28px; width: auto; display: block; }
.tq-nav__menu { display: none; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; height: 100%; }
.tq-nav__item { position: static; height: 100%; display: flex; align-items: center; }
.tq-nav__trigger, .tq-nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 6px; border: 0; background: transparent; font: 500 14.5px/1 var(--body); color: var(--ink); cursor: pointer; white-space: nowrap; }
.tq-nav__trigger:hover, .tq-nav__link:hover, .tq-nav__item.is-open .tq-nav__trigger { background: var(--paper); }
.tq-nav__trigger svg { transition: transform .2s; color: var(--ink-3); }
.tq-nav__item.is-open .tq-nav__trigger svg { transform: rotate(180deg); }
.tq-nav__trigger:focus-visible, .tq-nav__link:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 1px; }
.tq-nav__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tq-nav__login { display: none; font: 500 14.5px/1 var(--body); color: var(--ink); padding: 10px 12px; }
.tq-nav__login:hover { color: var(--cobalt); }
.tq-nav__demo { display: none; }
.tq-nav__burger { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); cursor: pointer; }
@media (min-width: 1140px) {
  .tq-nav__menu { display: flex; }
  .tq-nav__login, .tq-nav__demo { display: inline-flex; }
  .tq-nav__burger { display: none; }
}
@media (min-width: 640px) and (max-width: 1139px) { .tq-nav__demo { display: inline-flex; } }
/* Fold cover screens and very small phones: logo + menu only ("Get started" lives in the drawer) */
@media (max-width: 359px) {
  .tq-nav__bar { gap: 10px; padding: 0 12px; }
  .tq-nav__actions .tq-btn--primary { display: none; }
  .tq-nav__logo img { height: 24px; }
  .tq-wrap { padding: 0 12px; }
  .tq-h1 { font-size: 2rem; }
  .tq-btn { padding: 12px 18px; }
}

/* Dropdown panels */
.tq-mega { position: absolute; left: 0; right: 0; top: var(--nav-h); background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px rgba(20, 21, 26, 0.12); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
.tq-nav__item.is-open .tq-mega { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease; }
.tq-mega__inner { max-width: 1320px; margin: 0 auto; padding: 24px 32px 28px; }

/* Product mega-menu: left rail of tabs + panel */
.tq-pm { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; }
.tq-pm__rail { display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); padding-right: 20px; margin: 0; list-style: none; }
.tq-pm__tab { width: 100%; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; text-align: left; padding: 12px; border: 0; border-radius: var(--radius); background: transparent; cursor: pointer; font-family: var(--body); color: var(--ink); }
.tq-pm__tab-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--paper); color: var(--ink-2); display: grid; place-items: center; transition: background .15s, color .15s; }
.tq-pm__tab strong { display: block; font-size: 15px; font-weight: 600; }
.tq-pm__tab small { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.35; margin-top: 2px; }
.tq-pm__tab:hover, .tq-pm__tab[aria-selected="true"] { background: var(--paper); }
.tq-pm__tab[aria-selected="true"] .tq-pm__tab-icon { background: var(--tc, var(--cobalt)); color: #fff; }
.tq-pm__tab .tq-pm__tab-icon { color: var(--tc, var(--ink-2)); }
.tq-pm__tab:focus-visible { outline: 2px solid var(--cobalt); outline-offset: -2px; }
.tq-pm__panel[hidden] { display: none; }
.tq-pm__panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.tq-pm__panel-head p { margin: 0; font-size: 14px; color: var(--ink-2); }
.tq-pm__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 8px; }
.tq-pm__link { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 10px; border-radius: var(--radius); color: var(--ink); }
.tq-pm__link svg { color: var(--tc, var(--cobalt)); margin-top: 1px; }
.tq-pm__link strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.tq-pm__link span { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.4; margin-top: 2px; }
.tq-pm__link:hover { background: var(--paper); }
.tq-pm__link:hover strong { color: var(--tc, var(--cobalt)); }
.tq-pm__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 13.5px; }
.tq-pm__foot-label { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.tq-pm__foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 500; }
.tq-pm__foot a:hover { color: var(--cobalt); }
.tq-pm__foot a svg { color: var(--ink-3); }
.tq-pm__foot .tq-pm__foot-cta { margin-left: auto; color: var(--cobalt); font-weight: 600; }

/* Solutions mega + simple dropdown */
.tq-sm { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 0.9fr); gap: 32px; }
.tq-sm__label { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; padding-left: 10px; }
.tq-sm__teams a { display: block; padding: 10px; border-radius: var(--radius); }
.tq-sm__teams a strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.tq-sm__teams a span { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.tq-sm__teams a:hover { background: var(--paper); }
.tq-sm__teams a:hover strong { color: var(--cobalt); }
.tq-sm__inds { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(var(--rows, 6), auto); grid-auto-flow: column; gap: 0 8px; }
.tq-sm__inds a { padding: 6px 10px; border-radius: 6px; font-size: 14px; color: var(--ink); }
.tq-sm__inds a:hover { background: var(--paper); color: var(--cobalt); }
.tq-sw { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; }
.tq-sw__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.tq-sw__link { display: block; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .15s, background .15s; }
.tq-sw__link strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.tq-sw__link small { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.35; margin-top: 2px; }
.tq-sw__link:hover { background: var(--cobalt-soft); border-color: var(--cobalt-tint); } .tq-sw__link:hover strong { color: var(--cobalt); }
.tq-sw__link--all { background: var(--paper); }
.tq-sm__promo { background: var(--night); color: var(--paper); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.tq-sm__promo h4 { font-family: var(--display); font-size: 1.15rem; margin: 0; color: var(--paper); }
.tq-sm__promo p { font-size: 13.5px; color: #B4B7C0; margin: 0; line-height: 1.5; }
.tq-sm__promo a { color: #8FB3EA; font-weight: 600; font-size: 14px; }
.tq-dd { position: absolute; top: calc(var(--nav-h) - 8px); min-width: 230px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility 0s linear .15s; }
.tq-nav__item--rel { position: relative; }
.tq-nav__item.is-open .tq-dd { opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .15s; }
.tq-dd a { display: block; padding: 9px 12px; border-radius: 6px; font-size: 14px; color: var(--ink); }
.tq-dd a:hover { background: var(--paper); color: var(--cobalt); }

/* Mobile drawer */
.tq-drawer { position: fixed; inset: var(--nav-h) 0 0 0; background: var(--white); overflow-y: auto; padding: 8px 16px 32px; display: none; z-index: 999; border-top: 1px solid var(--line); }
.tq-drawer.is-open { display: block; }
.tq-drawer details { border-bottom: 1px solid var(--line); }
.tq-drawer summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font-weight: 600; font-size: 16px; color: var(--ink); }
.tq-drawer summary::-webkit-details-marker { display: none; }
.tq-drawer summary svg { transition: transform .2s; color: var(--ink-3); }
.tq-drawer details[open] > summary svg { transform: rotate(180deg); }
.tq-drawer details details { border-bottom: 0; margin-left: 4px; }
.tq-drawer details details summary { padding: 12px 4px; font-size: 15px; gap: 10px; justify-content: flex-start; }
.tq-drawer details details summary .tq-pm__tab-icon { width: 30px; height: 30px; }
.tq-drawer details details summary svg:last-child { margin-left: auto; }
.tq-drawer__links { display: grid; gap: 2px; padding: 0 4px 12px 44px; }
.tq-drawer__links a { padding: 8px 0; font-size: 15px; color: var(--ink-2); }
.tq-drawer__links a:hover { color: var(--cobalt); }
.tq-drawer__plain { display: block; padding: 16px 4px; font-weight: 600; font-size: 16px; border-bottom: 1px solid var(--line); color: var(--ink); }
.tq-drawer__cta { display: grid; gap: 10px; margin-top: 24px; }
body.tq-lock { overflow: hidden; }

/* =====================================================================
   FOOTER (overrides legacy grid for the new column set)
   ===================================================================== */
.site-footer { background: var(--night) !important; }
.footer-grid.tq-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
@media (min-width: 768px) { .footer-grid.tq-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer-grid.tq-footer-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.footer-container { max-width: 1240px !important; }

/* =====================================================================
   INFOGRAPHICS — shared primitives (`ig-`)
   Each component in components/infographics/ composes these.
   ===================================================================== */
.ig { position: relative; width: 100%; font-family: var(--body); color: var(--ink); container-type: inline-size; }
.ig-frame { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 20px; overflow: hidden; }
@media (min-width: 600px) { .ig-frame { padding: 28px; } }
.ig-frame--paper { background: var(--paper); box-shadow: none; }
.ig-frame--night { background: var(--night); border-color: var(--night-line); color: var(--paper); }
.ig-title { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 16px; }
.ig-live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: ig-pulse 1.8s infinite; flex: 0 0 auto; }
.ig-live--ok { background: var(--ok); }
.ig-live--ai { background: var(--violet); }
@keyframes ig-pulse { 0% { box-shadow: 0 0 0 0 rgba(15, 138, 95, .35); } 70% { box-shadow: 0 0 0 10px rgba(15, 138, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(15, 138, 95, 0); } }
.ig-node { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); position: relative; z-index: 1; }
.ig-node small { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.ig-node--accent { border-color: var(--cobalt); box-shadow: 0 0 0 4px var(--cobalt-glow); }
.ig-node--ai { border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-glow); }
.ig-node--dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ig-node--dark small { color: #9A9DA6; }
.ig-ico { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--cobalt-tint); color: var(--cobalt); flex: 0 0 auto; }
.ig-ico--ink { background: var(--paper-2); color: var(--ink); }
.ig-ico--solid { background: var(--cobalt); color: #fff; }
.ig-ico--ok { background: var(--ok-tint); color: var(--ok); }
.ig-ico--ai { background: var(--violet-tint); color: var(--violet); }
.ig-ico--sms { background: var(--teal-tint); color: var(--teal); }
.ig-ico--wait { background: var(--amber-tint); color: var(--amber); }
.ig-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--paper-2); color: var(--ink); white-space: nowrap; }
.ig-pill--cobalt { background: var(--cobalt-tint); color: var(--cobalt-dark); }
.ig-pill--ok { background: var(--ok-tint); color: var(--ok); }
.ig-pill--warn { background: var(--amber-tint); color: var(--amber); }
.ig-pill--ai { background: var(--violet-tint); color: var(--violet); }
.ig-pill--sms { background: var(--teal-tint); color: var(--teal); }
.ig-pill--dark { background: var(--ink); color: var(--paper); }
.ig-avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--ink-2); flex: 0 0 auto; }
.ig-avatar--a { background: #2F6FCC; } .ig-avatar--b { background: #0F8A5F; } .ig-avatar--c { background: #7A5AC8; } .ig-avatar--d { background: #B45309; } .ig-avatar--ai { background: var(--violet); }
/* Animated connectors */
.ig-wire { stroke: var(--line-2); stroke-width: 1.5; fill: none; }
.ig-wire--flow { stroke: #6E8FC7; stroke-width: 1.75; fill: none; stroke-dasharray: 5 7; animation: ig-dash 1.6s linear infinite; }
@keyframes ig-dash { to { stroke-dashoffset: -24; } }
.ig-vline { width: 2px; margin: 0 auto; height: 22px; background: repeating-linear-gradient(to bottom, #6E8FC7 0 5px, transparent 5px 10px); background-size: 2px 20px; animation: ig-vdash 1s linear infinite; }
@keyframes ig-vdash { to { background-position: 0 20px; } }
/* Waveform */
.ig-wave { display: flex; align-items: center; gap: 3px; height: 28px; }
.ig-wave i { display: block; width: 3px; border-radius: 2px; background: var(--violet); animation: ig-wave 1.1s ease-in-out infinite; }
.ig-wave i:nth-child(2n) { animation-delay: .15s; background: #C9BDF0; }
.ig-wave i:nth-child(3n) { animation-delay: .3s; }
.ig-wave i:nth-child(5n) { animation-delay: .45s; }
@keyframes ig-wave { 0%, 100% { height: 6px; } 50% { height: 24px; } }
/* Chat bubbles */
.ig-bubbles { display: flex; flex-direction: column; gap: 8px; }
.ig-bubble { max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; }
.ig-bubble--in { align-self: flex-start; background: var(--paper); color: var(--ink); border-bottom-left-radius: 4px; }
.ig-bubble--out { align-self: flex-end; background: var(--cobalt); color: #fff; border-bottom-right-radius: 4px; }
.ig-bubble--ai { align-self: flex-end; background: var(--violet-tint); color: var(--ink); border-bottom-right-radius: 4px; }
.ig-bubble__meta { display: block; font-size: 10.5px; font-weight: 600; opacity: .7; margin-bottom: 2px; letter-spacing: .02em; }
/* Reveal-on-scroll sequencing (JS adds .is-in) */
.ig [data-seq] { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.ig.is-in [data-seq] { opacity: 1; transform: none; }
.ig.is-in [data-seq="1"] { transition-delay: .1s; } .ig.is-in [data-seq="2"] { transition-delay: .35s; } .ig.is-in [data-seq="3"] { transition-delay: .6s; }
.ig.is-in [data-seq="4"] { transition-delay: .85s; } .ig.is-in [data-seq="5"] { transition-delay: 1.1s; } .ig.is-in [data-seq="6"] { transition-delay: 1.35s; }
.ig.is-in [data-seq="7"] { transition-delay: 1.6s; } .ig.is-in [data-seq="8"] { transition-delay: 1.85s; }
@media (prefers-reduced-motion: reduce) {
  .ig *, .ig *::before, .ig *::after { animation: none !important; transition: none !important; }
  .ig [data-seq] { opacity: 1; transform: none; }
}
.ig-caption { margin-top: 14px; font-size: 13px; color: var(--ink-3); text-align: center; }

/* =====================================================================
   COOKIE CONSENT (compact card; ID selectors beat the legacy styles.css rules)
   ===================================================================== */
#cookie-consent-banner { position: fixed !important; left: 16px !important; right: 16px !important; bottom: 16px !important; top: auto !important; max-width: 420px; padding: 18px 20px !important; border-radius: var(--radius-lg); background: var(--white) !important; color: var(--ink) !important; border: 1px solid var(--line); box-shadow: var(--shadow) !important; display: none; flex-direction: column !important; align-items: stretch !important; gap: 14px !important; text-align: left !important; font-family: var(--body); opacity: 0; transform: translateY(12px) !important; transition: opacity .25s, transform .25s !important; z-index: 99999 !important; }
#cookie-consent-banner.show { display: flex; opacity: 1; transform: none !important; }
#cookie-consent-banner .cookie-consent-content { max-width: none; text-align: left !important; }
#cookie-consent-banner .cookie-consent-title { font-family: var(--display); font-size: 15px !important; font-weight: 600; color: var(--ink) !important; margin: 0 0 4px !important; text-align: left !important; }
#cookie-consent-banner .cookie-consent-text { font-size: 13.5px !important; line-height: 1.55 !important; color: var(--ink-2) !important; margin: 0 !important; text-align: left !important; }
#cookie-consent-banner .cookie-consent-text a { color: var(--ink) !important; text-decoration: underline; text-underline-offset: 2px; }
#cookie-consent-banner .cookie-consent-actions { display: flex; gap: 8px; justify-content: flex-end; }
#cookie-consent-banner .cookie-consent-button { position: static !important; transform: none !important; top: auto !important; right: auto !important; left: auto !important; margin: 0 !important; width: auto !important; max-width: none !important; min-width: 0 !important; font-family: var(--body); font-size: 14px !important; font-weight: 600; padding: 9px 18px !important; border-radius: 4px !important; background: var(--cobalt) !important; color: #fff !important; border: 1.5px solid var(--cobalt) !important; cursor: pointer; }
#cookie-consent-banner .cookie-consent-button:hover { background: var(--cobalt-dark) !important; }
#cookie-consent-banner .cookie-consent-button--ghost { background: transparent !important; color: var(--ink) !important; border-color: var(--line-2) !important; }
#cookie-consent-banner .cookie-consent-button--ghost:hover { background: var(--paper) !important; }
@media (max-width: 480px) { #cookie-consent-banner { left: 12px !important; right: 12px !important; bottom: 12px !important; } #cookie-consent-banner .cookie-consent-button { flex: 1; } }
