/* TextCortex design system (dark by default, light via html[data-theme="light"]): the redesigned pages (body.tc). Loaded after the Webflow CSS,
   so selectors are scoped under .tc to win over its element styles. */

:root {
  --tc-violet: #8b5cf6;
  --tc-deep: #2e1065;
  --tc-radius: 24px;
  --tc-radius-lg: 32px;
  --tc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tc-container: 1240px;
  --tc-bg: #06040d;
  --tc-bg-rgb: 6, 4, 13;
  --tc-bg-2: #0b0717;
  --tc-panel: #0d0819;
  --tc-panel-rgb: 14, 10, 26;
  --tc-fg: 255, 255, 255;
  --tc-surface: rgba(255, 255, 255, 0.035);
  --tc-surface-2: rgba(255, 255, 255, 0.06);
  --tc-border: rgba(255, 255, 255, 0.08);
  --tc-border-2: rgba(255, 255, 255, 0.14);
  --tc-ink: #fff;
  --tc-text: #f4f1fb;
  --tc-text-2: #d9d3e8;
  --tc-muted: #a8a1be;
  --tc-dim: #6f6887;
  --tc-violet-2: #a78bfa;
  --tc-lilac: #d6ccff;
  --tc-btn-bg: #fff;
  --tc-btn-fg: #0b0717;
  --tc-btn-ring: rgba(255, 255, 255, 0.6);
  --tc-display-grad: linear-gradient(100deg, #fff 0%, #fff 48%, #cbbcff 78%, rgba(203, 188, 255, 0.55) 100%);
  --tc-heading-grad: linear-gradient(180deg, #fff 30%, #c9bdf2 120%);
  --tc-stat-grad: linear-gradient(180deg, #fff 20%, #b7a5f5);
  --tc-logo-filter: grayscale(1) invert(1) brightness(1.15);
  --tc-icon-filter: brightness(0) invert(1);
  color-scheme: dark;
}
/* Light mode: <html data-theme="light"> (toggle in the header, TcHead.astro). */
:root[data-theme="light"] {
  --tc-bg: #f7f5fc;
  --tc-bg-rgb: 247, 245, 252;
  --tc-bg-2: #efebf8;
  --tc-panel: #ffffff;
  --tc-panel-rgb: 255, 255, 255;
  --tc-fg: 34, 20, 70;
  --tc-surface: rgba(34, 20, 70, 0.03);
  --tc-surface-2: rgba(34, 20, 70, 0.06);
  --tc-border: rgba(34, 20, 70, 0.1);
  --tc-border-2: rgba(34, 20, 70, 0.16);
  --tc-ink: #140c2a;
  --tc-text: #231a3b;
  --tc-text-2: #3b3154;
  --tc-muted: #5f5778;
  --tc-dim: #8a83a1;
  --tc-violet-2: #7c3aed;
  --tc-lilac: #6d28d9;
  --tc-btn-bg: #140c2a;
  --tc-btn-fg: #fff;
  --tc-btn-ring: rgba(20, 12, 42, 0.9);
  --tc-display-grad: linear-gradient(100deg, #140c2a 0%, #140c2a 45%, #5b2fc4 78%, #8b5cf6 100%);
  --tc-heading-grad: linear-gradient(180deg, #140c2a 35%, #4c2a9e 130%);
  --tc-stat-grad: linear-gradient(180deg, #140c2a 20%, #6d3fe0);
  --tc-logo-filter: grayscale(1) brightness(0.35);
  --tc-icon-filter: brightness(0);
  color-scheme: light;
}
/* Dark islands: 3D scenes, photos and hero stages stay dark in light mode. */
:root[data-theme="light"] :is(.tc-stage, .tc-cta, .tc-solution, .tc-case, .tc-bento__globe, .tc-bento__bars, .tc-nav__promo, .tc-video, .tc-vault) {
  --tc-bg: #06040d;
  --tc-bg-rgb: 6, 4, 13;
  --tc-bg-2: #0b0717;
  --tc-panel: #0d0819;
  --tc-panel-rgb: 14, 10, 26;
  --tc-fg: 255, 255, 255;
  --tc-surface: rgba(255, 255, 255, 0.035);
  --tc-surface-2: rgba(255, 255, 255, 0.06);
  --tc-border: rgba(255, 255, 255, 0.08);
  --tc-border-2: rgba(255, 255, 255, 0.14);
  --tc-ink: #fff;
  --tc-text: #f4f1fb;
  --tc-text-2: #d9d3e8;
  --tc-muted: #a8a1be;
  --tc-dim: #6f6887;
  --tc-violet-2: #a78bfa;
  --tc-lilac: #d6ccff;
  --tc-btn-bg: #fff;
  --tc-btn-fg: #0b0717;
  --tc-btn-ring: rgba(255, 255, 255, 0.6);
  --tc-display-grad: linear-gradient(100deg, #fff 0%, #fff 48%, #cbbcff 78%, rgba(203, 188, 255, 0.55) 100%);
  --tc-heading-grad: linear-gradient(180deg, #fff 30%, #c9bdf2 120%);
  --tc-stat-grad: linear-gradient(180deg, #fff 20%, #b7a5f5);
  --tc-logo-filter: grayscale(1) invert(1) brightness(1.15);
  --tc-icon-filter: brightness(0) invert(1);
  color-scheme: dark;
  color: var(--tc-text);
  background-color: var(--tc-bg);
}

html.tc-lock { overflow: hidden; }

.tc {
  margin: 0;
  background: var(--tc-bg);
  color: var(--tc-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
.tc ::selection { background: rgba(139, 92, 246, 0.45); color: var(--tc-ink); }
.tc main { display: block; }
.tc img { max-width: 100%; }
/* Resets for the design system's own markup only: pages still on the Webflow markup (.tc-legacy)
   rely on its link colors and margins. Zero-specificity, so component rules win. */
/* Webflow sets a { font-weight: 600; font-size: 16px } globally. */
:where(body.tc:not(.tc-legacy), .tc-nav, .tc-footer) a { color: inherit; text-decoration: none; font-weight: inherit; font-size: inherit; }
:where(body.tc:not(.tc-legacy), .tc-nav, .tc-footer) :is(h1, h2, h3, h4, h5, p) { margin: 0; }
/* The Webflow CSS gives headings its display face and capitalizes h1. */
.tc h1, .tc h2, .tc h3, .tc h4, .tc h5, .tc h6 { font-family: inherit; text-transform: none; }
:where(body.tc:not(.tc-legacy), .tc-nav, .tc-footer) button { font: inherit; color: inherit; }
.tc :focus-visible { outline: 2px solid var(--tc-violet-2); outline-offset: 3px; border-radius: 8px; }

.tc-container { width: 100%; max-width: var(--tc-container); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* ------------------------------------------------------------ type */

.tc .tc-display {
  font-size: clamp(40px, 5.8vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 500;
  max-width: 17ch;
  margin: 0 auto;
  background: var(--tc-display-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}
.tc .tc-h2 {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 500;
  background: var(--tc-heading-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}
.tc .tc-h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; color: var(--tc-ink); text-wrap: balance; }
.tc .tc-h4 { font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 500; color: var(--tc-ink); }
.tc .tc-lead { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--tc-muted); max-width: 60ch; text-wrap: pretty; }
.tc .tc-muted { color: var(--tc-muted); font-size: 15px; line-height: 1.6; }
.tc .tc-accent { color: var(--tc-violet-2); }
.tc .tc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--tc-lilac);
}
.tc .tc-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tc-violet-2);
  box-shadow: 0 0 12px 2px rgba(167, 139, 250, 0.7);
}
.tc .tc-footnote { margin-top: 20px; font-size: 13px; color: var(--tc-dim); text-align: center; }

/* ------------------------------------------------------------ buttons, pills, links */

.tc .tc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.35s var(--tc-ease), background-color 0.25s, box-shadow 0.35s var(--tc-ease), border-color 0.25s;
}
.tc .tc-btn:hover { transform: translateY(-1px); }
.tc .tc-btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.tc .tc-btn--light {
  background: var(--tc-btn-bg);
  color: var(--tc-btn-fg);
  box-shadow: 0 0 0 1px var(--tc-btn-ring), 0 8px 30px -8px rgba(196, 181, 253, 0.55);
}
.tc .tc-btn--light:hover { box-shadow: 0 0 0 1px var(--tc-btn-bg), 0 10px 44px -6px rgba(196, 181, 253, 0.8); }
.tc .tc-btn--ghost {
  background: rgba(var(--tc-fg), 0.06);
  color: var(--tc-ink);
  border-color: rgba(var(--tc-fg), 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.tc .tc-btn--ghost:hover { background: rgba(var(--tc-fg), 0.1); border-color: rgba(var(--tc-fg), 0.22); }
.tc .tc-arrow { transition: transform 0.3s var(--tc-ease); }
.tc .tc-btn:hover .tc-arrow, .tc .tc-link:hover .tc-arrow { transform: translate(2px, -2px); }

.tc .tc-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.tc .tc-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: rgba(var(--tc-fg), 0.05);
  border: 1px solid rgba(var(--tc-fg), 0.1);
  font-size: 13.5px;
  color: var(--tc-text-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color 0.25s, border-color 0.25s;
}
.tc .tc-pill img { width: 22px; height: 22px; border-radius: 50%; background: #fff; padding: 3px; box-sizing: border-box; }
.tc .tc-pill:hover { background: rgba(var(--tc-fg), 0.09); border-color: rgba(var(--tc-fg), 0.2); }

.tc .tc-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; color: var(--tc-ink); border-bottom: 1px solid rgba(var(--tc-fg), 0.2); padding-bottom: 2px; transition: border-color 0.2s; }
.tc .tc-link:hover { border-color: var(--tc-violet-2); }

/* ------------------------------------------------------------ surfaces */

.tc .tc-card {
  position: relative;
  border-radius: var(--tc-radius);
  background: linear-gradient(180deg, rgba(var(--tc-fg), 0.05), rgba(var(--tc-fg), 0.015));
  border: 1px solid var(--tc-border);
  box-shadow: inset 0 1px 0 rgba(var(--tc-fg), 0.06), 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  isolation: isolate;
}
.tc .tc-card::after {
  /* Hairline highlight on the top edge. */
  content: "";
  position: absolute;
  inset: 0 20% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 204, 255, 0.5), transparent);
  pointer-events: none;
}
.tc .tc-card--pad { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.tc .tc-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 14px;
  color: var(--tc-lilac);
  background: radial-gradient(circle at 30% 20%, rgba(167, 139, 250, 0.35), rgba(46, 16, 101, 0.4));
  border: 1px solid rgba(167, 139, 250, 0.3);
  box-shadow: 0 0 30px -6px rgba(139, 92, 246, 0.6);
}

.tc .tc-frame {
  position: relative;
  border-radius: var(--tc-radius-lg);
  padding: 10px;
  background: linear-gradient(180deg, rgba(var(--tc-fg), 0.08), rgba(var(--tc-fg), 0.02));
  border: 1px solid var(--tc-border);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 40px 120px -40px rgba(139, 92, 246, 0.55);
}
.tc .tc-frame > img { display: block; width: 100%; height: auto; border-radius: 24px; }
.tc .tc-frame--soft { padding: 8px; border-radius: 28px; }
.tc .tc-frame--soft > img { border-radius: 20px; }

/* ------------------------------------------------------------ scenes */

.tc .tc-scene { position: relative; overflow: hidden; }
.tc .tc-scene__canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
}
.tc .tc-scene--ready > .tc-scene__canvas { opacity: 1; }
/* Before WebGL is ready (or without it) the CSS gradients carry the look. */
.tc .tc-scene--aurora {
  background:
    radial-gradient(40% 35% at 78% 22%, rgba(214, 204, 255, 0.35), transparent 60%),
    radial-gradient(60% 60% at 70% 30%, rgba(76, 29, 149, 0.45), transparent 70%),
    radial-gradient(40% 40% at 12% 95%, rgba(76, 29, 149, 0.3), transparent 70%),
    #07040f;
}
.tc .tc-scene--aurora[data-origin="center"] {
  background:
    radial-gradient(50% 60% at 50% 30%, rgba(214, 204, 255, 0.4), transparent 60%),
    radial-gradient(70% 80% at 50% 40%, rgba(124, 58, 237, 0.4), transparent 70%),
    #07040f;
}

/* ------------------------------------------------------------ nav */

.tc-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.tc-nav.is-scrolled {
  background: rgba(var(--tc-bg-rgb), 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--tc-border);
}
.tc-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 16px 28px;
  box-sizing: border-box;
}
.tc-nav__logo img { display: block; height: 22px; width: auto; }
.tc .tc-nav__menu {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(var(--tc-fg), 0.05);
  border: 1px solid rgba(var(--tc-fg), 0.09);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.tc .tc-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 450;
  color: var(--tc-text-2);
  background: none;
  border: 0;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.tc .tc-nav__link:hover, .tc .tc-nav__dd.is-open > .tc-nav__link, .tc .tc-nav__link[aria-current="page"] { background: rgba(var(--tc-fg), 0.08); color: var(--tc-ink); }
.tc .tc-nav__link svg { opacity: 0.6; transition: transform 0.25s var(--tc-ease); }
.tc .tc-nav__dd { position: relative; }
.tc .tc-nav__panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: min(780px, 90vw);
  padding: 10px;
  border-radius: 22px;
  background: var(--tc-panel);
  border: 1px solid var(--tc-border-2);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 60px -20px rgba(139, 92, 246, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translate(-40%, 6px);
  transition: opacity 0.25s var(--tc-ease), transform 0.35s var(--tc-ease), visibility 0.25s;
}
.tc .tc-nav__panel::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.tc .tc-nav__panel--narrow { width: 380px; transform: translate(-50%, 6px); }
.tc .tc-nav__dd.is-open .tc-nav__panel { opacity: 1; visibility: visible; transform: translate(-40%, 0); }
.tc .tc-nav__dd.is-open .tc-nav__panel--narrow { transform: translate(-50%, 0); }
.tc .tc-nav__dd.is-open > .tc-nav__link svg { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 992px) {
  .tc .tc-nav__dd:hover .tc-nav__panel, .tc .tc-nav__dd:focus-within .tc-nav__panel { opacity: 1; visibility: visible; transform: translate(-40%, 0); }
  .tc .tc-nav__dd:hover .tc-nav__panel--narrow, .tc .tc-nav__dd:focus-within .tc-nav__panel--narrow { transform: translate(-50%, 0); }
  .tc .tc-nav__dd:hover > .tc-nav__link { background: rgba(var(--tc-fg), 0.08); }
}
.tc .tc-nav__cols { display: grid; grid-template-columns: 1.35fr 0.8fr 0.9fr; gap: 6px; }
.tc .tc-nav__head { padding: 12px 12px 6px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tc-dim); }
.tc .tc-nav__rich { display: flex; gap: 12px; padding: 10px 12px; border-radius: 14px; transition: background-color 0.2s; }
.tc .tc-nav__rich:hover, .tc .tc-nav__plain:hover { background: rgba(var(--tc-fg), 0.05); }
.tc .tc-nav__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--tc-lilac);
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(167, 139, 250, 0.22);
}
.tc .tc-nav__title { display: block; font-size: 14px; font-weight: 500; color: var(--tc-ink); line-height: 1.35; }
.tc .tc-nav__desc { display: block; margin-top: 2px; font-size: 13px; color: var(--tc-muted); line-height: 1.45; }
.tc .tc-nav__plain { display: block; padding: 8px 12px; border-radius: 10px; font-size: 14px; color: var(--tc-text-2); transition: background-color 0.2s; }
.tc .tc-nav__promo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 18px;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(80% 70% at 70% 20%, rgba(214, 204, 255, 0.5), transparent 60%), radial-gradient(100% 100% at 30% 100%, rgba(124, 58, 237, 0.6), transparent 70%), var(--tc-panel);
  border: 1px solid rgba(167, 139, 250, 0.25);
}
.tc .tc-nav__promo-art {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(var(--tc-fg), 0.35) 1px, transparent 1px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(circle at 70% 25%, #000, transparent 65%);
  mask-image: radial-gradient(circle at 70% 25%, #000, transparent 65%);
}
.tc .tc-nav__arrow { position: absolute; top: 16px; right: 18px; font-size: 18px; transition: transform 0.3s var(--tc-ease); }
.tc .tc-nav__promo:hover .tc-nav__arrow { transform: translateX(3px); }
.tc .tc-nav__list { display: grid; gap: 2px; }
.tc .tc-nav__actions { display: flex; align-items: center; gap: 18px; }
.tc .tc-nav__signin { font-size: 14px; color: var(--tc-text-2); transition: color 0.2s; }
.tc .tc-nav__signin:hover { color: var(--tc-ink); }
.tc .tc-nav__burger { display: none; }

@media (max-width: 991px) {
  .tc-nav__inner { padding: 14px 18px; }
  .tc .tc-nav__burger {
    display: grid;
    place-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(var(--tc-fg), 0.07);
    border: 1px solid rgba(var(--tc-fg), 0.12);
    cursor: pointer;
  }
  .tc .tc-nav__burger span { display: block; width: 16px; height: 1.5px; background: var(--tc-ink); transition: transform 0.3s var(--tc-ease); }
  .tc-nav.is-open .tc-nav__burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .tc-nav.is-open .tc-nav__burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .tc .tc-nav__signin { display: none; }
  .tc .tc-nav__menu {
    position: fixed;
    inset: 70px 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 18px 40px;
    border-radius: 0;
    border: 0;
    border-top: 1px solid var(--tc-border);
    background: rgba(var(--tc-bg-rgb), 0.97);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s, transform 0.3s var(--tc-ease), visibility 0.3s;
  }
  .tc-nav.is-open { background: var(--tc-bg); }
  .tc-nav.is-open .tc-nav__menu { opacity: 1; visibility: visible; transform: none; }
  .tc .tc-nav__link { justify-content: space-between; padding: 14px 12px; font-size: 17px; border-radius: 14px; }
  .tc .tc-nav__panel, .tc .tc-nav__panel--narrow {
    position: static;
    width: auto;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(var(--tc-fg), 0.03);
    box-shadow: none;
    margin: 4px 0 8px;
  }
  .tc .tc-nav__dd.is-open .tc-nav__panel { display: block; transform: none; }
  .tc .tc-nav__cols { grid-template-columns: 1fr; }
  .tc .tc-nav__promo { min-height: 120px; }
}
@media (max-width: 479px) {
  .tc .tc-nav__actions .tc-btn { height: 38px; padding: 0 14px; font-size: 13px; }
}

/* ------------------------------------------------------------ hero */

.tc .tc-hero { padding: 84px 16px 0; }
.tc .tc-stage {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  min-height: clamp(620px, calc(100svh - 100px), 900px);
  border-radius: var(--tc-radius-lg);
  border: 1px solid rgba(var(--tc-fg), 0.07);
  box-shadow: inset 0 1px 0 rgba(var(--tc-fg), 0.08), 0 40px 120px -40px rgba(124, 58, 237, 0.5);
  display: grid;
  place-items: center;
  isolation: isolate;
}
.tc .tc-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 120px 24px 140px;
  text-align: center;
}
.tc .tc-hero__content .tc-lead { margin-top: -4px; color: var(--tc-text-2); }
.tc .tc-hero__content .tc-actions { margin-top: 12px; }
/* Data flow into Zeno (home hero): static tool logos, SVG paths (drawn by home.astro) and the
   "flow" Three.js scene for the moving data. */
.tc .tc-flow { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.tc .tc-flow__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tc .tc-flow__lines path { fill: none; stroke-width: 1.2; stroke-linecap: round; }
.tc .tc-flow__scene { position: absolute; inset: 0; }
.tc .tc-flow__node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  transform: translate(-50%, -50%);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)), rgba(12, 8, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 30px -10px rgba(0, 0, 0, 0.8), 0 0 calc(4px + var(--ping, 0) * 26px) calc(var(--ping, 0) * 3px) color-mix(in srgb, var(--c) calc(var(--ping, 0) * 70%), transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}
.tc .tc-flow__node img, .tc .tc-flow__node svg { width: 24px; height: 24px; object-fit: contain; }
.tc .tc-flow__node::after {
  content: attr(data-name);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, -4px);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(12, 8, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: #e9e4f8;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.tc .tc-flow__node:hover::after { opacity: 1; transform: translate(-50%, 0); }
.tc .tc-flow__core {
  position: absolute;
  left: 50%;
  bottom: 52px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 30%, rgba(196, 181, 253, 0.35), rgba(46, 16, 101, 0.9) 70%), #120a26;
  border: 1px solid rgba(214, 204, 255, 0.45);
  box-shadow: 0 0 0 6px rgba(167, 139, 250, 0.06), 0 0 40px 4px rgba(139, 92, 246, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.tc .tc-flow__core img { position: relative; width: 36px; height: auto; }
.tc .tc-flow__core-label { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #d6ccff; }
/* Room for Zeno under the call-to-action. */
.tc .tc-hero .tc-hero__content { padding-bottom: 190px; }
@media (max-width: 991px) {
  .tc .tc-flow__node--desk { display: none; }
  .tc .tc-flow__node { top: auto; left: calc(50% + var(--mx)); bottom: calc(62px + var(--my)); width: 42px; height: 42px; border-radius: 13px; transform: translate(-50%, 50%); }
  .tc .tc-flow__node img, .tc .tc-flow__node svg { width: 20px; height: 20px; }
  .tc .tc-flow__node::after { display: none; }
  .tc .tc-flow__core { bottom: 34px; width: 56px; height: 56px; border-radius: 18px; }
  .tc .tc-flow__core img { width: 30px; }
  .tc .tc-flow__core-label { display: none; }
  .tc .tc-hero .tc-hero__content { padding-bottom: 280px; }
  .tc .tc-hero .tc-hero__scroll, .tc .tc-hero .tc-hero__video { display: none; }
}

.tc .tc-hero__scroll {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px 5px 5px;
  border-radius: 999px;
  background: rgba(var(--tc-fg), 0.06);
  border: 1px solid rgba(var(--tc-fg), 0.1);
  font-size: 13px;
  color: var(--tc-text-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.tc .tc-hero__scroll-dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tc-btn-bg); color: var(--tc-btn-fg); }
.tc .tc-hero__scroll-dot svg { animation: tc-bob 2.2s ease-in-out infinite; }
@keyframes tc-bob { 50% { transform: translateY(2px); } }
.tc .tc-hero__video {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.tc .tc-hero__video-label { font-size: 15px; color: var(--tc-text-2); transition: color 0.2s; }
.tc .tc-hero__video:hover .tc-hero__video-label { color: var(--tc-ink); }
.tc .tc-hero__video-bar { display: flex; gap: 6px; }
.tc .tc-hero__video-bar i { width: 42px; height: 3px; border-radius: 3px; background: rgba(var(--tc-fg), 0.15); }
.tc .tc-hero__video-bar i:first-child { background: var(--tc-ink); width: 22px; }

@media (max-width: 991px) {
  .tc .tc-stage { min-height: 0; }
  .tc .tc-hero__content { padding: 110px 20px 150px; }
}
@media (max-width: 479px) {
  .tc .tc-hero { padding: 76px 8px 0; }
  .tc .tc-stage { border-radius: 24px; }
  .tc .tc-hero__video { right: 20px; bottom: 24px; align-items: flex-end; }
  .tc .tc-hero__scroll { left: 16px; bottom: 20px; }
  .tc .tc-hero__scroll > span:last-child { display: none; }
  .tc .tc-hero__scroll { padding-right: 5px; }
}

/* Logo marquee */
.tc .tc-logos { max-width: 1400px; margin: 0 auto; padding: 56px 0 8px; text-align: center; }
.tc .tc-logos__caption { font-size: 14px; color: var(--tc-dim); margin-bottom: 18px; }
.tc .tc-logos__track {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.tc .tc-logos__row { display: flex; flex: none; align-items: center; animation: tc-marquee 48s linear infinite; }
.tc .tc-logos__row img { width: 190px; height: 110px; object-fit: cover; margin: 0 8px; filter: var(--tc-logo-filter); opacity: 0.55; transition: opacity 0.3s; }
.tc .tc-logos__row img:hover { opacity: 0.95; }
.tc .tc-logos__track:hover .tc-logos__row { animation-play-state: paused; }
@keyframes tc-marquee { to { transform: translateX(-100%); } }

/* ------------------------------------------------------------ sections */

.tc .tc-section { position: relative; padding: clamp(80px, 11vw, 150px) 0 0; }
.tc .tc-section--tight { padding-top: 32px; }
.tc .tc-section--cta { padding-bottom: clamp(80px, 10vw, 140px); }
.tc .tc-heading { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; margin: 0 auto 56px; max-width: 860px; }

.tc .tc-showcase { padding-top: 88px; }
.tc .tc-showcase::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 70%;
  background: radial-gradient(50% 60% at 50% 40%, rgba(124, 58, 237, 0.28), transparent 70%);
  pointer-events: none;
}
.tc .tc-frame__play {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px 8px 8px;
  border-radius: 999px;
  border: 1px solid rgba(var(--tc-fg), 0.2);
  background: rgba(var(--tc-panel-rgb), 0.6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: 15px;
  color: var(--tc-ink);
  cursor: pointer;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s var(--tc-ease), background-color 0.2s;
}
.tc .tc-frame__play:hover { transform: translateX(-50%) scale(1.04); background: rgba(var(--tc-panel-rgb), 0.75); }
.tc .tc-frame__play-orb { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tc-btn-bg); color: var(--tc-btn-fg); box-shadow: 0 0 0 8px rgba(var(--tc-fg), 0.12); }

/* Stats bento */
.tc .tc-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tc .tc-bento > * { min-height: 300px; display: flex; flex-direction: column; }
.tc .tc-bento__globe { grid-column: span 4; grid-row: span 2; min-height: 616px; }
.tc .tc-bento__bars { grid-column: span 2; grid-row: span 2; }
.tc .tc-bento__ring, .tc .tc-bento__spark { grid-column: span 3; }
.tc .tc-bento__stat { position: relative; z-index: 1; padding: 32px; }
.tc .tc-bento__stat .tc-muted { max-width: 30ch; margin-top: 6px; }
.tc .tc-stat {
  font-size: clamp(48px, 5.4vw, 76px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 500;
  background: var(--tc-stat-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.tc .tc-scene--globe { position: absolute; inset: 60px 0 0; }
.tc .tc-bento__globe { background: radial-gradient(60% 60% at 60% 60%, rgba(124, 58, 237, 0.22), transparent 70%), linear-gradient(180deg, rgba(var(--tc-fg), 0.05), rgba(var(--tc-fg), 0.015)); }
.tc .tc-scene--bars { flex: 1; min-height: 300px; }
.tc .tc-bento__bars { justify-content: space-between; background: radial-gradient(70% 50% at 50% 35%, rgba(124, 58, 237, 0.25), transparent 70%), linear-gradient(180deg, rgba(var(--tc-fg), 0.05), rgba(var(--tc-fg), 0.015)); }
.tc .tc-bento__ring { flex-direction: row; align-items: center; }
.tc .tc-bento__ring .tc-bento__stat { padding-left: 8px; }
.tc .tc-gauge { flex: none; width: 150px; height: 150px; margin-left: 32px; transform: rotate(-90deg); overflow: visible; }
.tc .tc-gauge circle { fill: none; }
.tc .tc-gauge__track { stroke-width: 8; stroke: rgba(var(--tc-fg), 0.07); }
/* Outer tick ring: ticks light up as the fill passes them. */
.tc .tc-gauge__ticks { stroke-width: 3; stroke: rgba(var(--tc-fg), 0.12); stroke-dasharray: 0.4 2.1; }
.tc .tc-gauge__fill {
  stroke: url(#tc-gauge-grad);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.7));
  transition: stroke-dashoffset 1.8s var(--tc-ease) 0.25s;
}
/* A short bright segment that runs once along the filled arc after it fills (see .is-in below). */
.tc .tc-gauge__comet { stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 7 93; stroke-dashoffset: 0; opacity: 0; }
.tc .tc-gauge__head { transform-box: view-box; transform-origin: 60px 60px; transform: rotate(0deg); opacity: 0; transition: transform 1.8s var(--tc-ease) 0.25s, opacity 0.3s 0.25s; }
.tc .tc-gauge circle.tc-gauge__dot { fill: #fff; stroke: var(--tc-violet); stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(196, 181, 253, 1)); }
.tc .tc-gauge circle.tc-gauge__halo { fill: rgba(167, 139, 250, 0.35); transform-box: fill-box; transform-origin: center; }
.tc .is-in .tc-gauge__fill, html:not(.tc-js) .tc-gauge__fill { stroke-dashoffset: calc(100 - var(--v)); }
.tc .is-in .tc-gauge__head, html:not(.tc-js) .tc-gauge__head { opacity: 1; transform: rotate(calc(var(--v) * 3.6deg)); }
.tc .is-in .tc-gauge__halo { animation: tc-halo 2.4s ease-out 2.1s 1; }
.tc .is-in .tc-gauge__comet { animation: tc-gauge-comet 3.2s cubic-bezier(0.45, 0, 0.2, 1) 2.2s 1; }
/* Offset 0 puts the glint at 12 o'clock (start of the fill); 7 - v puts its end at the fill's end. */
@keyframes tc-gauge-comet { 0% { stroke-dashoffset: 0; opacity: 0; } 12% { opacity: 0.9; } 80% { opacity: 0.9; } 100% { stroke-dashoffset: calc(7 - var(--v)); opacity: 0; } }
@keyframes tc-halo { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.2); opacity: 0; } }

.tc .tc-bento__spark { justify-content: space-between; }
.tc .tc-spark { width: 100%; height: 130px; display: block; margin-top: auto; overflow: visible; }
.tc .tc-spark path { fill: none; }
.tc .tc-spark .tc-spark__area { fill: url(#tc-spark-fill); }
.tc .tc-spark__base { stroke: rgba(var(--tc-fg), 0.22); stroke-width: 1.5; stroke-dasharray: 4 6; opacity: 0; transition: opacity 0.8s ease 0.1s; }
.tc .tc-spark__wipe { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); transition: transform 2s var(--tc-ease) 0.35s; }
.tc .tc-spark__line { stroke: url(#tc-spark-stroke); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--tc-ease) 0.35s; filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.7)); }
.tc .tc-spark__comet { stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 0.07 1; stroke-dashoffset: 0.07; opacity: 0; filter: drop-shadow(0 0 4px #c4b5fd); }
.tc .tc-spark__drop { stroke: var(--tc-violet-2); stroke-width: 1.5; stroke-dasharray: 2 4; opacity: 0; transition: opacity 0.6s ease 2.1s; }
.tc .tc-spark__end { opacity: 0; transition: opacity 0.4s ease 2.2s; }
.tc .tc-spark__dot { fill: #fff; stroke: var(--tc-violet); stroke-width: 2.5; }
.tc .tc-spark__halo { fill: rgba(139, 92, 246, 0.3); transform-box: fill-box; transform-origin: center; }
.tc .is-in .tc-spark__base, .tc .is-in .tc-spark__drop, .tc .is-in .tc-spark__end,
html:not(.tc-js) .tc-spark__base, html:not(.tc-js) .tc-spark__end { opacity: 1; }
.tc .is-in .tc-spark__wipe, html:not(.tc-js) .tc-spark__wipe { transform: scaleX(1); }
.tc .is-in .tc-spark__line, html:not(.tc-js) .tc-spark__line { stroke-dashoffset: 0; }
.tc .is-in .tc-spark__halo { animation: tc-halo 2.4s ease-out 2.4s 1; }
.tc .is-in .tc-spark__comet { animation: tc-spark-comet 3.4s cubic-bezier(0.45, 0, 0.2, 1) 2.6s 1; }
@keyframes tc-spark-comet { 0% { stroke-dashoffset: 0.07; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: -0.93; opacity: 0; } }
/* Numbers count up (home.astro); keep their width steady while they do. */
.tc .tc-stat { font-variant-numeric: tabular-nums; }

@media (max-width: 991px) {
  .tc .tc-bento { grid-template-columns: 1fr 1fr; }
  .tc .tc-bento__globe { grid-column: span 2; min-height: 520px; grid-row: auto; }
  .tc .tc-bento__bars { grid-column: span 2; grid-row: auto; min-height: 420px; }
  .tc .tc-bento__ring, .tc .tc-bento__spark { grid-column: span 2; }
}
@media (max-width: 479px) {
  .tc .tc-bento__ring { flex-direction: column; align-items: flex-start; }
  .tc .tc-gauge { margin: 32px 0 0 32px; width: 110px; height: 110px; }
  .tc .tc-bento__globe { min-height: 440px; }
}

/* Case studies */
.tc .tc-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tc .tc-case {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: 28px;
  border-radius: var(--tc-radius);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--tc-border);
  background: var(--tc-panel);
}
.tc .tc-case::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: var(--bg) center / cover;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.55;
  scale: 1.06;
  transition: scale 1.2s var(--tc-ease), opacity 0.6s, filter 0.6s;
  animation: tc-case-drift 22s ease-in-out infinite alternate;
}
.tc .tc-case:nth-child(2)::before { animation-delay: -7s; }
.tc .tc-case:nth-child(3)::before { animation-delay: -14s; }
/* Slow drift of the background photo (translate, so it combines with the hover zoom). */
@keyframes tc-case-drift { from { translate: -1.5% 1%; } to { translate: 1.5% -1.5%; } }
.tc .tc-case::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(var(--tc-bg-rgb), 0.2) 0%, rgba(var(--tc-bg-rgb), 0.55) 45%, rgba(10, 5, 24, 0.97) 78%), linear-gradient(0deg, rgba(91, 33, 182, 0.35), transparent 60%);
}
.tc .tc-case:hover::before { scale: 1.12; opacity: 0.72; filter: grayscale(0.6) contrast(1.1); }
/* Pointer light (--mx/--my set by the page script) and a slight lift on hover. */
.tc .tc-case__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 0.5s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(167, 139, 250, 0.22), transparent 60%); }
.tc .tc-case:hover .tc-case__glow { opacity: 1; }
html.tc-js .tc .tc-case[data-reveal] { transition-property: opacity, transform, translate, border-color, box-shadow; transition-duration: 1s, 1.1s, 0.5s, 0.4s, 0.5s; }
.tc .tc-case:hover { translate: 0 -4px; border-color: rgba(167, 139, 250, 0.45); box-shadow: 0 24px 60px -28px rgba(139, 92, 246, 0.6); }
/* Metrics: rules draw in left to right and rows rise in once the card is in view (.is-live). */
.tc .tc-case.is-pending .tc-case__metrics div { position: relative; border-top-color: transparent; }
.tc .tc-case.is-pending .tc-case__metrics div::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: rgba(var(--tc-fg), 0.14); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--tc-ease); }
.tc .tc-case.is-pending .tc-case__metrics :is(dt, dd) { opacity: 0; translate: 0 10px; transition: opacity 0.7s var(--tc-ease), translate 0.8s var(--tc-ease); }
.tc .tc-case.is-live .tc-case__metrics div::before { transform: none; }
.tc .tc-case.is-live .tc-case__metrics :is(dt, dd) { opacity: 1; translate: none; }
.tc .tc-case__metrics div:nth-child(2) { --d: 0.18s; }
.tc .tc-case__metrics div:nth-child(3) { --d: 0.36s; }
.tc .tc-case.is-live .tc-case__metrics div::before, .tc .tc-case.is-live .tc-case__metrics dt { transition-delay: var(--d, 0s); }
.tc .tc-case.is-live .tc-case__metrics dd { transition-delay: calc(var(--d, 0s) + 0.1s); }
@media (prefers-reduced-motion: reduce) { .tc .tc-case::before { animation: none; } .tc .tc-case:hover { translate: none; } }
.tc .tc-case__logo { height: 28px; width: auto; max-width: 150px; object-fit: contain; object-position: left; align-self: flex-start; }
.tc .tc-case__metrics { margin: auto 0 22px; display: grid; gap: 14px; }
.tc .tc-case__metrics div { display: flex; align-items: baseline; gap: 14px; padding-top: 14px; border-top: 1px solid rgba(var(--tc-fg), 0.1); }
.tc .tc-case__metrics dt { min-width: 76px; font-size: 32px; font-weight: 500; letter-spacing: -0.04em; color: var(--tc-ink); }
.tc .tc-case__metrics dd { margin: 0; font-size: 14px; color: var(--tc-text-2); line-height: 1.4; }
.tc .tc-case__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 991px) { .tc .tc-cases { grid-template-columns: 1fr; } .tc .tc-case { min-height: 380px; } }

/* Friction + solution */
.tc .tc-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 767px) { .tc .tc-grid-3 { grid-template-columns: 1fr; } }
.tc .tc-solution {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-top: 16px;
  border-radius: var(--tc-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.22);
  background: radial-gradient(60% 90% at 80% 50%, rgba(124, 58, 237, 0.35), transparent 70%), radial-gradient(50% 80% at 0% 100%, rgba(46, 16, 101, 0.7), transparent 70%), var(--tc-panel);
  box-shadow: inset 0 1px 0 rgba(var(--tc-fg), 0.08);
}
.tc .tc-solution__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: clamp(32px, 5vw, 64px); }
.tc .tc-solution__text .tc-h2 { font-size: clamp(30px, 3.4vw, 46px); }
.tc .tc-scene--infra { height: 100%; min-height: 460px; }
@media (max-width: 767px) { .tc .tc-solution { grid-template-columns: 1fr; } .tc .tc-scene--infra { min-height: 320px; order: -1; } }

/* Feature rows */
.tc .tc-rows { display: grid; gap: clamp(64px, 9vw, 120px); }
.tc .tc-row { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.tc .tc-row--flip .tc-row__text { order: 2; }
.tc .tc-row__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.tc .tc-checks { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 12px; }
.tc .tc-checks li { display: flex; gap: 12px; align-items: flex-start; margin: 0; color: var(--tc-text-2); font-size: 16px; line-height: 1.5; }
.tc .tc-checks svg { flex: none; margin-top: 3px; color: var(--tc-violet-2); }
.tc .tc-apps { display: flex; gap: 8px; }
.tc .tc-apps span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(var(--tc-fg), 0.06); border: 1px solid var(--tc-border); }
@media (max-width: 767px) {
  .tc .tc-row { grid-template-columns: 1fr; }
  .tc .tc-row--flip .tc-row__text { order: 0; }
}

/* Sovereignty vault (CSS-only) */
.tc .tc-vault { position: relative; container-type: inline-size; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; border: 1px solid rgba(167, 139, 250, 0.22); background: radial-gradient(55% 45% at 50% 38%, rgba(124, 58, 237, 0.32), transparent 70%), linear-gradient(180deg, #0f0a1f, #07040f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 100px -40px rgba(124, 58, 237, 0.55); }
.tc .tc-vault::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(214, 204, 255, 0.12) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(60% 50% at 50% 40%, transparent 30%, #000 55%, transparent 90%); mask-image: radial-gradient(60% 50% at 50% 40%, transparent 30%, #000 55%, transparent 90%); pointer-events: none; }
/* Upper area: the shield scene with the icon centered on it. */
.tc .tc-vault__visual { position: relative; height: max(220px, 58cqw); display: grid; place-items: center; }
.tc .tc-vault__core { position: relative; z-index: 1; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 30px; background: radial-gradient(circle at 50% 25%, rgba(167, 139, 250, 0.35), rgba(20, 10, 44, 0.9) 70%); border: 1px solid rgba(214, 204, 255, 0.35); box-shadow: 0 0 70px -6px rgba(139, 92, 246, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tc .tc-vault__core svg { filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.7)); }
/* Bottom: the certifications, evenly spaced in one glass bar. */
.tc .tc-vault__badges { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 16px 16px; padding: 14px 6px; list-style: none; border-radius: 20px; background: rgba(14, 10, 26, 0.72); border: 1px solid rgba(214, 204, 255, 0.14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.tc .tc-vault__badge { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; padding: 0 4px; font-size: 12.5px; font-weight: 500; line-height: 1.3; color: #e9e4f8; text-align: center; }
.tc .tc-vault__badge + .tc-vault__badge { border-left: 1px solid rgba(214, 204, 255, 0.1); }
.tc .tc-vault__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #d6ccff; background: rgba(139, 92, 246, 0.2); border: 1px solid rgba(167, 139, 250, 0.3); }
/* Narrow panel (tablet column, phones): badges in 3 + 2. */
@container (max-width: 440px) {
  .tc .tc-vault__visual { height: max(210px, 64cqw); }
  .tc .tc-vault__core { width: 84px; height: 84px; border-radius: 24px; }
  .tc .tc-vault__badges { grid-template-columns: repeat(6, 1fr); row-gap: 14px; margin: 0 12px 12px; }
  .tc .tc-vault__badge { grid-column: span 2; font-size: 12px; }
  .tc .tc-vault__badge:nth-child(4) { grid-column: 2 / span 2; border-left: 0; }
}
@keyframes tc-spin { to { transform: rotate(360deg); } }

/* Model-agnostic features */
.tc .tc-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tc .tc-feature { display: flex; flex-direction: column; }
.tc .tc-feature__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; margin: 10px 10px 0; border-radius: 18px; background: var(--tc-panel); }
.tc .tc-feature__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 1s var(--tc-ease); }
.tc .tc-feature:hover .tc-feature__media img { transform: scale(1.03); }
.tc .tc-feature__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 28px 30px; }
@media (max-width: 767px) { .tc .tc-features { grid-template-columns: 1fr; } }

/* Closing CTA */
.tc .tc-cta { border-radius: var(--tc-radius-lg); min-height: 460px; display: grid; place-items: center; border: 1px solid rgba(167, 139, 250, 0.22); box-shadow: 0 40px 120px -40px rgba(124, 58, 237, 0.6); }
.tc .tc-cta__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 72px 24px; text-align: center; }
.tc .tc-cta__content .tc-lead { color: var(--tc-text-2); }

/* Video dialog */
.tc-video { width: min(1100px, 92vw); padding: 0; border: 1px solid var(--tc-border-2); border-radius: 20px; background: #000; overflow: hidden; }
.tc-video::backdrop { background: rgba(3, 2, 8, 0.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tc-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.tc-video__close { position: absolute; top: 10px; right: 10px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.6); color: var(--tc-ink); font-size: 22px; line-height: 1; cursor: pointer; }

/* ------------------------------------------------------------ footer */

.tc .tc-footer { position: relative; overflow: hidden; padding: 80px 0 0; border-top: 1px solid var(--tc-border); background: radial-gradient(60% 50% at 50% 100%, rgba(91, 33, 182, 0.28), transparent 70%), var(--tc-bg); }
.tc .tc-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.tc .tc-footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.tc .tc-footer__brand img { height: 28px; width: auto; }
.tc .tc-footer__brand p { font-size: 14px; color: var(--tc-muted); line-height: 1.6; }
.tc .tc-footer__badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--tc-border); background: var(--tc-surface); color: var(--tc-lilac) !important; font-size: 13px !important; }
.tc .tc-footer__socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tc .tc-footer__socials a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--tc-border); background: var(--tc-surface); transition: background-color 0.2s, border-color 0.2s; }
.tc .tc-footer__socials a:hover { background: var(--tc-surface-2); border-color: var(--tc-border-2); }
.tc .tc-footer__socials img { width: 15px; height: 15px; filter: var(--tc-icon-filter); opacity: 0.8; }
.tc .tc-footer__col { display: flex; flex-direction: column; gap: 10px; }
.tc .tc-footer__title { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tc-dim); margin-bottom: 6px; }
.tc .tc-footer__col a { font-size: 14.5px; color: var(--tc-text-2); transition: color 0.2s; }
.tc .tc-footer__col a:hover { color: var(--tc-ink); }
.tc .tc-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 64px; padding: 24px 0; border-top: 1px solid var(--tc-border); }
.tc .tc-footer__bottom p { font-size: 13px; color: var(--tc-dim); }
.tc .tc-footer__payments { height: 22px; width: auto; opacity: 0.6; filter: grayscale(1) brightness(1.6); }
[data-theme="light"] .tc .tc-footer__payments { filter: grayscale(1); }
.tc .tc-footer__wordmark {
  font-size: clamp(80px, 19vw, 290px);
  line-height: 0.8;
  letter-spacing: -0.06em;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  margin-bottom: -0.12em;
  background: linear-gradient(180deg, rgba(196, 181, 253, 0.22), rgba(139, 92, 246, 0.04) 70%, transparent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
@media (max-width: 991px) { .tc .tc-footer__grid { grid-template-columns: 1fr 1fr; } .tc .tc-footer__brand { grid-column: span 2; } }

/* ------------------------------------------------------------ language switcher (/_static/lang-switcher.css) */

.tc .tc-lang { color: var(--tc-text-2); bottom: 16px; left: 16px; }
/* On these pages the switcher sits in the footer ([data-lang-slot]) instead of floating. */
.tc [data-lang-slot] .tc-lang { position: relative; left: auto; bottom: auto; z-index: 5; }
.tc [data-lang-slot] .tc-lang__list { position: absolute; bottom: 100%; left: 0; min-width: 100%; }
.tc .tc-lang__current, .tc .tc-lang__list a { background: rgba(var(--tc-panel-rgb), 0.85); border-color: var(--tc-border-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.tc .tc-lang__current { border-radius: 999px; }
.tc .tc-lang--open .tc-lang__current { border-radius: 0 0 14px 14px; }
.tc .tc-lang__list { border-radius: 14px 14px 0 0; overflow: hidden; }
.tc .tc-lang__list a:hover, .tc .tc-lang__current:hover { background: rgba(var(--tc-panel-rgb), 0.95); }

/* ------------------------------------------------------------ blog index + tag pages */

.tc .tc-blog-hero { position: relative; padding: 84px 16px 0; }
.tc .tc-blog-hero .tc-stage { min-height: 420px; }
.tc .tc-blog-hero__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 96px 24px 72px; text-align: center; }
.tc .tc-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--tc-muted); }
.tc .tc-crumbs a, .tc .tc-crumbs .breadcrumb { color: var(--tc-muted); transition: color 0.2s; font-size: 13px; }
.tc .tc-crumbs a:hover { color: var(--tc-ink); }
.tc .tc-crumbs > span[aria-hidden] { opacity: 0.4; }
.tc .tc-crumbs .code-embed, .tc .tc-crumbs .w-dyn-list, .tc .tc-crumbs .w-dyn-items, .tc .tc-crumbs .w-dyn-item { display: inline; }

.tc .tc-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 40px 0 28px; }
.tc .tc-toolbar form { display: contents; }
.tc .tc-search { position: relative; display: block; flex: 1 1 280px; max-width: 420px; }
.tc .tc-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--tc-dim); pointer-events: none; }
.tc .tc-search input {
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 16px 0 44px;
  border-radius: 999px;
  border: 1px solid var(--tc-border-2);
  background: rgba(var(--tc-fg), 0.04);
  color: var(--tc-ink);
  font-size: 15px;
  box-sizing: border-box;
  transition: border-color 0.2s, background-color 0.2s;
}
.tc .tc-search input::placeholder { color: var(--tc-dim); }
.tc .tc-search input:focus { outline: none; border-color: var(--tc-violet-2); background: rgba(139, 92, 246, 0.08); }
.tc .tc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tc .tc-chip { position: relative; display: inline-flex; margin: 0; padding: 0; cursor: pointer; }
.tc .tc-chip input { position: absolute; opacity: 0; pointer-events: none; }
.tc .tc-chip span, .tc .tc-chip--reset {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--tc-border);
  background: rgba(var(--tc-fg), 0.03);
  font-size: 13.5px;
  color: var(--tc-text-2);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.tc .tc-chip:hover span, .tc .tc-chip--reset:hover { border-color: var(--tc-border-2); color: var(--tc-ink); }
.tc .tc-chip span.active, .tc .tc-chip input:checked + span { background: var(--tc-btn-bg); border-color: var(--tc-btn-bg); color: var(--tc-btn-fg); }
.tc .tc-chip--reset { background: none; cursor: pointer; }

/* Cards come pre-rendered from the CMS export (.collection-item-2 > a.collection-item > img + .blog-card__cont). */
.tc .tc-posts .blog-collection { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; }
.tc .tc-posts .collection-item-2 { display: flex; min-width: 0; margin: 0; padding: 0; background: none; border: 0; }
.tc .tc-posts .collection-item {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 8px;
  border-radius: 22px;
  border: 1px solid var(--tc-border);
  background: linear-gradient(180deg, rgba(var(--tc-fg), 0.045), rgba(var(--tc-fg), 0.012));
  box-shadow: inset 0 1px 0 rgba(var(--tc-fg), 0.05);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.5s var(--tc-ease), border-color 0.3s, box-shadow 0.5s var(--tc-ease);
}
.tc .tc-posts .collection-item:hover { transform: translateY(-4px); border-color: rgba(167, 139, 250, 0.35); box-shadow: inset 0 1px 0 rgba(var(--tc-fg), 0.08), 0 30px 60px -30px rgba(124, 58, 237, 0.6); }
.tc .tc-posts .blog-card__thumb { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 16px; margin: 0; background: var(--tc-panel); transition: filter 0.4s; }
.tc .tc-posts .collection-item:hover .blog-card__thumb { filter: saturate(1.1) brightness(1.05); }
.tc .tc-posts .blog-card__cont { height: auto; background: none; border: 0; border-radius: 0; display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 18px; padding: 18px 14px 12px; }
.tc .tc-posts .blog-card__text { display: flex; flex-direction: column; gap: 8px; }
.tc .tc-posts .heading-26 { margin: 0; font-size: 19px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; color: var(--tc-ink); }
.tc .tc-posts .text-block-10 { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--tc-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tc .tc-posts .blog-card__author { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--tc-border); font-size: 13px; color: var(--tc-dim); }
.tc .tc-posts .blog-card__author .text-block-3 { font-size: 13px; color: var(--tc-text-2); margin: 0; }
.tc .tc-posts .blog-card__author .date { font-size: 13px; color: var(--tc-dim); margin: 0; }
.tc .tc-posts .hidden { display: none; }
/* Lead story: the first card spans two columns with the text beside the image. */
.tc .tc-posts--feature .blog-collection > .collection-item-2:first-child { grid-column: span 3; }
.tc .tc-posts--feature .blog-collection > .collection-item-2:first-child .collection-item { display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch; }
.tc .tc-posts--feature .blog-collection > .collection-item-2:first-child .blog-card__cont { padding: 32px 32px 20px; }
.tc .tc-posts--feature .blog-collection > .collection-item-2:first-child .heading-26 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -0.03em; }
.tc .tc-posts--feature .blog-collection > .collection-item-2:first-child .text-block-10 { font-size: 16px; -webkit-line-clamp: 4; }
.tc .tc-posts--feature .blog-collection > .collection-item-2:first-child .blog-card__text::before { content: ""; width: 38px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--tc-violet-2), transparent); margin-bottom: 8px; }
.tc .tc-posts .w-pagination-wrapper { display: flex; justify-content: center; gap: 10px; margin: 40px 0 0; }
.tc .tc-posts .w-pagination-previous, .tc .tc-posts .w-pagination-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  margin: 0;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--tc-border-2);
  background: rgba(var(--tc-fg), 0.04);
  color: var(--tc-ink);
  font-size: 14px;
  transition: background-color 0.2s;
}
.tc .tc-posts .w-pagination-previous:hover, .tc .tc-posts .w-pagination-next:hover { background: rgba(var(--tc-fg), 0.09); }
.tc .tc-posts .w-dyn-empty { padding: 40px; border-radius: 22px; border: 1px dashed var(--tc-border-2); background: none; color: var(--tc-muted); text-align: center; }
@media (max-width: 991px) {
  .tc .tc-posts .blog-collection { grid-template-columns: repeat(2, 1fr); }
  .tc .tc-posts--feature .blog-collection > .collection-item-2:first-child { grid-column: span 2; }
}
@media (max-width: 767px) {
  .tc .tc-posts .blog-collection { grid-template-columns: 1fr; }
  .tc .tc-posts--feature .blog-collection > .collection-item-2:first-child { grid-column: auto; }
  .tc .tc-posts--feature .blog-collection > .collection-item-2:first-child .collection-item { display: flex; }
  .tc .tc-posts--feature .blog-collection > .collection-item-2:first-child .blog-card__cont { padding: 18px 14px 12px; }
}

/* ------------------------------------------------------------ blog post */

.tc .tc-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 1001; background: linear-gradient(90deg, var(--tc-violet), var(--tc-lilac)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.tc .tc-post-hero { position: relative; padding: 84px 16px 0; }
.tc .tc-post-hero .tc-stage { min-height: 0; display: block; }
.tc .tc-post-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 64px); align-items: center; max-width: 1240px; margin: 0 auto; padding: clamp(80px, 9vw, 120px) clamp(20px, 4vw, 48px) clamp(48px, 6vw, 80px); }
.tc .tc-post-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.tc .tc-post-hero h1 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -0.04em; font-weight: 500; color: var(--tc-ink); text-wrap: balance; }
.tc .tc-post-hero__desc { font-size: 18px; color: var(--tc-text-2); line-height: 1.6; max-width: 56ch; }
.tc .tc-post-hero__desc p { margin: 0; }
.tc .tc-byline { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--tc-muted); }
.tc .tc-byline__avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(140deg, var(--tc-violet-2), var(--tc-deep)); color: var(--tc-ink); font-weight: 600; font-size: 14px; }
.tc .tc-byline strong { display: block; color: var(--tc-ink); font-weight: 500; }
.tc .tc-byline p { margin: 0; }
.tc .tc-post-hero__media { position: relative; }
.tc .tc-post-hero__media img { display: block; width: 100%; height: auto; border-radius: 20px; }
.tc .tc-post-hero__media.tc-frame { padding: 8px; border-radius: 28px; }
@media (max-width: 991px) { .tc .tc-post-hero__inner { grid-template-columns: 1fr; } }

.tc .tc-post { display: grid; grid-template-columns: 240px minmax(0, 720px) 260px; justify-content: center; gap: clamp(24px, 4vw, 56px); max-width: 1360px; margin: 0 auto; padding: 72px 24px 0; box-sizing: border-box; }
.tc .tc-toc { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 130px); overflow: auto; padding-right: 6px; }
.tc .tc-toc__title { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tc-dim); margin-bottom: 14px; }
.tc .tc-toc nav { display: flex; flex-direction: column; border-left: 1px solid var(--tc-border); }
.tc .tc-toc a { display: block; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 1px solid transparent; font-size: 13.5px; line-height: 1.45; color: var(--tc-muted); transition: color 0.2s, border-color 0.2s; }
.tc .tc-toc a.is-sub { padding-left: 26px; font-size: 13px; color: var(--tc-dim); }
.tc .tc-toc a:hover { color: var(--tc-ink); }
.tc .tc-toc a.current { color: var(--tc-ink); border-left-color: var(--tc-violet-2); background-image: none; }
.tc .tc-aside { position: sticky; top: 100px; align-self: start; }
.tc .tc-aside__card { padding: 24px; display: flex; flex-direction: column; gap: 14px; border-radius: 22px; border: 1px solid rgba(167, 139, 250, 0.25); background: radial-gradient(90% 60% at 80% 0%, rgba(124, 58, 237, 0.45), transparent 70%), var(--tc-panel); box-shadow: 0 30px 60px -30px rgba(124, 58, 237, 0.6); }
.tc .tc-aside__card h3 { font-size: 19px; line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; color: var(--tc-ink); }
.tc .tc-aside__card p { font-size: 14px; color: var(--tc-text-2); }
.tc .tc-aside__card .tc-btn { align-self: stretch; }
@media (max-width: 1199px) { .tc .tc-post { grid-template-columns: minmax(0, 720px) 260px; } .tc .tc-toc { display: none; } }
@media (max-width: 991px) { .tc .tc-post { grid-template-columns: minmax(0, 1fr); } .tc .tc-aside { position: static; } }

/* Article body (Webflow rich text). */
.tc .tc-prose { min-width: 0; color: var(--tc-text-2); font-size: 17.5px; line-height: 1.78; }
.tc .tc-prose > :first-child { margin-top: 0; }
.tc .tc-prose p { margin: 0 0 1.3em; font-size: inherit; line-height: inherit; color: inherit; }
.tc .tc-prose h1, .tc .tc-prose h2, .tc .tc-prose h3, .tc .tc-prose h4, .tc .tc-prose h5 { color: var(--tc-ink); font-weight: 500; letter-spacing: -0.025em; scroll-margin-top: 110px; }
.tc .tc-prose h1::before, .tc .tc-prose h2::before, .tc .tc-prose h3::before, .tc .tc-prose h4::before { display: none; }
.tc .tc-prose h1, .tc .tc-prose h2 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; margin: 2.2em 0 0.7em; }
.tc .tc-prose h3 { font-size: 23px; line-height: 1.3; margin: 1.9em 0 0.6em; }
.tc .tc-prose h4, .tc .tc-prose h5 { font-size: 19px; line-height: 1.35; margin: 1.6em 0 0.5em; }
.tc .tc-prose strong { color: var(--tc-ink); font-weight: 600; }
.tc .tc-prose a { color: var(--tc-lilac); text-decoration: underline; text-decoration-color: rgba(214, 204, 255, 0.35); text-underline-offset: 3px; transition: text-decoration-color 0.2s, color 0.2s; }
.tc .tc-prose a:hover { color: var(--tc-ink); text-decoration-color: var(--tc-violet-2); }
.tc .tc-prose ul, .tc .tc-prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.tc .tc-prose li { margin: 0 0 0.5em; padding-left: 0.3em; font-size: inherit; line-height: 1.7; color: inherit; }
.tc .tc-prose ul li::marker { color: var(--tc-violet-2); }
.tc .tc-prose ol li::marker { color: var(--tc-violet-2); font-weight: 600; }
.tc .tc-prose blockquote { margin: 1.8em 0; padding: 20px 24px; border: 0; border-left: 2px solid var(--tc-violet-2); border-radius: 0 16px 16px 0; background: rgba(139, 92, 246, 0.08); color: var(--tc-text-2); font-size: 18px; line-height: 1.65; }
.tc .tc-prose figure { margin: 2em 0; max-width: 100%; }
.tc .tc-prose figure > div { border-radius: 16px; overflow: hidden; }
.tc .tc-prose img { display: block; max-width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--tc-border); }
.tc .tc-prose figcaption { margin-top: 10px; font-size: 13.5px; color: var(--tc-dim); text-align: center; }
.tc .tc-prose .w-embed-youtubevideo, .tc .tc-prose iframe { border-radius: 16px; overflow: hidden; }
.tc .tc-prose table { width: 100%; margin: 1.8em 0; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.tc .tc-prose th, .tc .tc-prose td { padding: 12px 14px; border: 1px solid var(--tc-border); text-align: left; vertical-align: top; }
.tc .tc-prose th { background: rgba(var(--tc-fg), 0.04); color: var(--tc-ink); font-weight: 500; }
.tc .tc-prose code { padding: 2px 6px; border-radius: 6px; background: rgba(var(--tc-fg), 0.07); font-size: 0.9em; }
.tc .tc-prose pre { margin: 1.6em 0; border-radius: 14px; overflow: auto; }
.tc .tc-prose pre code { padding: 0; background: none; }
.tc .tc-prose hr { border: 0; height: 1px; background: var(--tc-border); margin: 2.5em 0; }

/* Related posts + FAQ */
.tc .tc-related .collection-list-3, .tc .tc-related [role="list"] { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tc .tc-related [role="listitem"] { min-width: 0; }
.tc .tc-related a { display: flex; flex-direction: column; height: 100%; padding: 8px; border-radius: 22px; border: 1px solid var(--tc-border); background: linear-gradient(180deg, rgba(var(--tc-fg), 0.045), rgba(var(--tc-fg), 0.012)); transition: transform 0.5s var(--tc-ease), border-color 0.3s; }
.tc .tc-related a:hover { transform: translateY(-4px); border-color: rgba(167, 139, 250, 0.35); }
.tc .tc-related img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 16px; }
.tc .tc-related h3, .tc .tc-related h4, .tc .tc-related .heading-26 { margin: 14px 10px 6px; font-size: 18px; line-height: 1.3; font-weight: 500; color: var(--tc-ink); letter-spacing: -0.015em; }
.tc .tc-related .text-block-10 { margin: 0 10px 10px; font-size: 14px; line-height: 1.55; color: var(--tc-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tc .tc-related .blog-card__author { display: flex; justify-content: space-between; margin: auto 10px 6px; padding-top: 12px; border-top: 1px solid var(--tc-border); font-size: 12.5px; color: var(--tc-dim); }
.tc .tc-related .blog-card__author * { font-size: 12.5px; color: var(--tc-dim); margin: 0; }
@media (max-width: 991px) { .tc .tc-related .collection-list-3, .tc .tc-related [role="list"] { grid-template-columns: 1fr; } }

.tc .tc-faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.tc .tc-faq__intro { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 18px; }
.tc .tc-faq__list { display: grid; gap: 10px; }
.tc .tc-faq details { border-radius: 18px; border: 1px solid var(--tc-border); background: rgba(var(--tc-fg), 0.025); transition: background-color 0.3s, border-color 0.3s; }
.tc .tc-faq details[open] { background: rgba(139, 92, 246, 0.07); border-color: rgba(167, 139, 250, 0.3); }
.tc .tc-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 500; color: var(--tc-ink); }
.tc .tc-faq summary::-webkit-details-marker { display: none; }
.tc .tc-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--tc-border-2); font-size: 18px; font-weight: 400; color: var(--tc-lilac); transition: transform 0.3s var(--tc-ease); }
.tc .tc-faq details[open] summary::after { transform: rotate(45deg); }
.tc .tc-faq details p { padding: 0 22px 22px; font-size: 15px; line-height: 1.7; color: var(--tc-muted); }
@media (max-width: 991px) { .tc .tc-faq { grid-template-columns: 1fr; } .tc .tc-faq__intro { position: static; } }

/* ------------------------------------------------------------ reveal */

html.tc-js .tc [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--tc-ease), transform 1.1s var(--tc-ease); }
html.tc-js .tc [data-reveal].is-in { opacity: 1; transform: none; }
.tc .tc-bento > [data-reveal]:nth-child(2), .tc .tc-grid-3 > [data-reveal]:nth-child(2), .tc .tc-cases > [data-reveal]:nth-child(2), .tc .tc-features > [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.tc .tc-bento > [data-reveal]:nth-child(3), .tc .tc-grid-3 > [data-reveal]:nth-child(3), .tc .tc-cases > [data-reveal]:nth-child(3), .tc .tc-features > [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.tc .tc-bento > [data-reveal]:nth-child(4), .tc .tc-features > [data-reveal]:nth-child(4) { transition-delay: 0.24s; }

@media print { html.tc-js .tc [data-reveal] { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .tc *, .tc *::before, .tc *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html.tc-js .tc [data-reveal] { opacity: 1; transform: none; }
}
.tc .tc-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.tc .tc-chips--scroll { flex: 1 1 0; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.tc .tc-chips--scroll::-webkit-scrollbar { display: none; }
.tc .tc-chip span, .tc .tc-chip--reset { white-space: nowrap; }
.tc .tc-crumbs__cat .code-embed, .tc .tc-crumbs__cat a { display: inline; color: var(--tc-lilac); }
@media (max-width: 767px) { .tc .tc-toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; } .tc .tc-search { max-width: none; flex: none; } .tc .tc-chips--scroll { flex: none; } }
.tc .tc-frame__play { white-space: nowrap; }
@media (max-width: 479px) { .tc .tc-frame__play { bottom: 16px; padding: 5px 14px 5px 5px; font-size: 13px; } .tc .tc-frame__play-orb { width: 30px; height: 30px; box-shadow: none; } }
/* Webflow form classes kept for Finsweet CMS Filter (.w-form wrapper, .w-radio / .w-form-label chips). */
.tc .tc-filter { margin: 0; }
.tc .tc-chip.w-radio { display: inline-flex; margin: 0; padding: 0; }
.tc .tc-chip .w-form-label { font-weight: inherit; cursor: pointer; }

/* ------------------------------------------------------------ audit fixes */

/* Card footers: keep the date on one line, let a long author name truncate instead. */
.tc .tc-posts .blog-card__author > :first-child { min-width: 0; overflow: hidden; }
.tc .tc-posts .blog-card__author .text-block-3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc .tc-posts .blog-card__author .date { flex: none; white-space: nowrap; }

/* Video embeds (YouTube figures, Bunny iframes): a visible frame while the player loads. */
.tc .tc-prose figure.w-richtext-figure-type-video, .tc .tc-prose .w-iframe > div { position: relative; border-radius: 16px; overflow: hidden; background: radial-gradient(60% 80% at 50% 50%, rgba(124, 58, 237, 0.18), transparent 70%), var(--tc-panel); border: 1px solid var(--tc-border); }
.tc .tc-prose figure.w-richtext-figure-type-video > div, .tc .tc-prose figure.w-richtext-figure-type-video iframe { border-radius: 0; }

/* Code blocks: Webflow's `pre.w-code-block code>span{display:block!important}` is meant for its own
   line spans; highlight.js token spans must stay inline. */
.tc .tc-prose pre.w-code-block { background: #0e0a1c !important; color: #e9e4f8 !important; padding: 18px 20px !important; border: 1px solid var(--tc-border); border-radius: 14px; font-size: 14px; line-height: 1.6; }
.tc .tc-prose pre.w-code-block code > span[class*="hljs-"] { display: inline !important; }
.tc .tc-prose pre.w-code-block code { display: block; background: none !important; padding: 0 !important; border: 0; border-radius: 0 !important; }

/* Long post titles. */
.tc .tc-post-hero h1.is-long { font-size: clamp(28px, 3vw, 42px); line-height: 1.12; letter-spacing: -0.03em; }

/* The Webflow CSS gives every img margin-bottom:16px, position:sticky, a radius and min-width; reset them
   for the design system's own markup (zero-specificity, so component rules still win). */
:where(body.tc:not(.tc-legacy)) img, :where(.tc-nav, .tc-footer) img { margin: 0; position: static; min-width: 0; border-radius: 0; }


/* ------------------------------------------------------------ legacy pages (body:root:not([data-theme="light"]) .tc-legacy)
   Pages still on the Webflow markup get the generated dark theme (legacy.css); these are the fixes
   the color remap can't make. */

/* Dark artwork (black icons, wordmarks, comparison logos) found by measuring every image on the
   legacy pages; inverted so it reads on dark. Matched by Webflow asset id. */
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="67aa07d47356f39ecf32f2d9"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="6a2149d4add2f8027b03c6e4"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="6863c381dde8f8f9ed55b931"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="6a2149e1ba4120f4950e9828"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="6863c3c32943ccb7fa38f84d"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="622b5ea3138a6cfef3e2b2bb"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="622611a2b23d0e526e0fbb1f"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="622b77da57e9d057386a8ec3"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="6238397e7e774ec9395d8de6"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="66c47e577575e6e295b93d93"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="622e3cdd3b88ee9c6eee4f2f"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="622b83014808fa2ab1e8c46a"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="622902d35c2737be7f4334f4"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="6229035d82989ad49094122a"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="6229037d0f696a3506885e2d"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="622903cf23d06f1dd153e608"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="622903ea446965f986b69e36"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="6229040b12c8f5ce32aa8901"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="622b8346c1f7056f8fcbd709"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="622b61c61706d351326a26e4"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="65d4cda632174f3df5372670"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="63ca62820b4fe017cb951544"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="622b79be94a731496007b7b8"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="678e769b0cb0a1749d65da33"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="622b6a11e6bd2a109caa9c03"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="62c80d72e48a1f684630dbb2"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="62c80d2c574f00b550c3d3a6"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="62c80e94166a88263316c4d9"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="62c80f1cd16f952dfe555b3d"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="623838f8aead865b87064952"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="622b3860f0b2c09d6e45e43c"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="622b389824fa4371b9ca0cb4"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="622b38b1c403b4c8fdeb13df"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="678e2fecf3f0711ea211393f"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="678e7b8cbc6cdd8224efcf60"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="6724c420e0d035b2810a05bb"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="62289da636a1acaaab5f9408"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="62321d436b751f71ab78b854"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="62289dd39c5b035f5c1d9d0f"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="678e2feda6f4e0531eef4731"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="678e2fec9c1a24ab32e3c86e"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="64bfdf9ea00bd1ebfeea9c6c"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="62383a4733d5201252b354f3"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="65e5fb4d36f32a240322e2af"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="622b787fe6631a708b371c09"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="6516b2eca368e1dec4300ebd"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="67360f616d46e837cc210738"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="63cc62f2d805d56432ecb81b"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="622b6a29d236ad18e1d12242"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="65de0563718e823c2842afc6"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="67add8303ccd595e73b401bc"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="6724c32b46749d7b76915b4f"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="622b6996b759f753dd7f3a55"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="663b608b5cd5bd33cbf423a2"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="663b609af647c713b51bdd2b"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="663b5fe4a0724b5d37a2bcec"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="66e413eb7acf3bb986f618a5"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="66e4140a317ebf1436c1f082"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="6515b44896d5bd1925a4243a"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="62320c0e584b144b7e2b2f7a"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="62383b127e774e361b5d9f5a"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="668fbe5d2d0090ff946c9f6e"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="622b7908be2bfd4f792ebece"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="622b69b958b64f3361366eb1"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="634010688414ee681345c049"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="62383c5baead861a13066a8c"],
:where(:root:not([data-theme="light"])) .tc-legacy img[src*="662b9844a39499e21a65f11a"] { filter: invert(1) hue-rotate(180deg) brightness(1.05); }
/* Customer / press logo rows: muted white, as on the home page. */
:where(:root:not([data-theme="light"])) .tc-legacy img.logo-slider-img, :where(:root:not([data-theme="light"])) .tc-legacy img.partner-logo, :where(:root:not([data-theme="light"])) .tc-legacy img.image-8, :where(:root:not([data-theme="light"])) .tc-legacy img.image-47 { filter: grayscale(1) invert(1) brightness(1.15); opacity: 0.6; transition: opacity 0.3s; }
:where(:root:not([data-theme="light"])) .tc-legacy img.logo-slider-img:hover, :where(:root:not([data-theme="light"])) .tc-legacy img.partner-logo:hover, :where(:root:not([data-theme="light"])) .tc-legacy img.image-8:hover, :where(:root:not([data-theme="light"])) .tc-legacy img.image-47:hover { opacity: 0.95; }

/* testimonial.to wall: its cards are always light; frame it as a panel that fades into the page. */
:where(:root:not([data-theme="light"])) .tc-legacy iframe[id^="testimonialto"] { display: block; height: 680px; border-radius: 24px; -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 10%, #000 88%, transparent); }

/* Tally forms (demo, contact…) are light-only: seat them on a light card. */
:where(:root:not([data-theme="light"])) .tc-legacy :has(> iframe[src*="tally.so"]) { padding: 24px 28px; border-radius: 24px; background: #fff; box-shadow: 0 30px 80px -30px rgba(124, 58, 237, 0.6); }

/* Video embeds: a visible frame while the player loads (also used in blog posts). */
.tc figure.w-richtext-figure-type-video { border-radius: 20px; overflow: hidden; background: radial-gradient(60% 80% at 50% 50%, rgba(124, 58, 237, 0.2), transparent 70%), var(--tc-panel); border: 1px solid var(--tc-border); }


/* 404 / sign-in style hero: replace the light photo with the aurora gradient. */
:where(:root:not([data-theme="light"])) .tc-legacy .sign-in-wrap { background: radial-gradient(40% 50% at 75% 20%, rgba(214, 204, 255, 0.3), transparent 60%), radial-gradient(60% 70% at 70% 30%, rgba(76, 29, 149, 0.5), transparent 70%), #07040f; border: 1px solid var(--tc-border); }
:where(:root:not([data-theme="light"])) .tc-legacy ._404-wrap { background: rgba(var(--tc-panel-rgb), 0.8); border: 1px solid var(--tc-border-2); }

[data-theme="light"] .tc .tc-logos__row img { mix-blend-mode: multiply; opacity: 0.7; }

/* Header/footer wordmark: the white wordmark in both themes, turned ink-dark in light mode. */
[data-theme="light"] .tc .tc-logo-dark { filter: brightness(0); opacity: 0.92; }

/* Theme toggle (header). */
.tc .tc-theme { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; border: 1px solid var(--tc-border-2); background: var(--tc-surface); color: var(--tc-ink); cursor: pointer; transition: background-color 0.2s, border-color 0.2s, transform 0.3s var(--tc-ease); }
.tc .tc-theme:hover { background: var(--tc-surface-2); transform: rotate(-12deg); }
.tc .tc-theme .tc-theme__sun { display: none; }
[data-theme="light"] .tc .tc-theme .tc-theme__sun { display: block; }
[data-theme="light"] .tc .tc-theme .tc-theme__moon { display: none; }
/* Light-mode panels need a soft shadow instead of a glow. */
[data-theme="light"] .tc .tc-card:not(.tc-bento__globe, .tc-bento__bars), [data-theme="light"] .tc .tc-posts .collection-item, [data-theme="light"] .tc .tc-related a, [data-theme="light"] .tc .tc-faq details { background: #fff; box-shadow: 0 1px 2px rgba(34, 20, 70, 0.04), 0 12px 40px -18px rgba(34, 20, 70, 0.18); }
[data-theme="light"] .tc .tc-card:not(.tc-bento__globe, .tc-bento__bars)::after { background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.25), transparent); }
[data-theme="light"] .tc .tc-frame { box-shadow: 0 0 0 1px rgba(34, 20, 70, 0.06), 0 40px 100px -40px rgba(124, 58, 237, 0.35); }

/* ------------------------------------------------------------ case studies */

.tc .tc-pill--tag { padding: 6px 14px; font-size: 13px; font-weight: 500; color: var(--tc-lilac); }
.tc .tc-cs-hero__date { font-size: 14px; color: var(--tc-muted); }
.tc .tc-cs-hero .tc-post-hero__media img { border-radius: 20px; }
.tc .tc-cs-metrics { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px) clamp(40px, 5vw, 64px); box-sizing: border-box; }
.tc .tc-cs-metrics div { display: flex; flex-direction: column; gap: 6px; padding: 22px 26px; background: rgba(var(--tc-fg), 0.04); border: 1px solid var(--tc-border); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.tc .tc-cs-metrics div:first-child { border-radius: 20px 0 0 20px; }
.tc .tc-cs-metrics div:last-child { border-radius: 0 20px 20px 0; }
.tc .tc-cs-metrics dt { font-size: clamp(34px, 3.6vw, 48px); line-height: 1; font-weight: 500; letter-spacing: -0.04em; background: var(--tc-stat-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tc .tc-cs-metrics dd { margin: 0; font-size: 14px; color: var(--tc-muted); }
@media (max-width: 767px) {
  .tc .tc-cs-metrics { grid-template-columns: 1fr; }
  .tc .tc-cs-metrics div:first-child { border-radius: 20px 20px 0 0; }
  .tc .tc-cs-metrics div:last-child { border-radius: 0 0 20px 20px; }
}
.tc .tc-cs-more .blog-collection { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) { .tc .tc-cs-more .blog-collection { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .tc .tc-cs-more .blog-collection { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ showcase conversation (home)
   A live mock-up of the product (was a screenshot). The stage is a fixed 60em-wide composition
   scaled with the frame (1em = 1/60 of its width), so it keeps the screenshot's proportions; below
   600px the cards stack. home.astro animates it once when it scrolls into view (typing, sources,
   streamed answer); without JS or with reduced motion it shows the finished state. */
.tc .tc-demo-frame { padding: 0; overflow: hidden; }
.tc .tc-demo { container-type: inline-size; }
.tc .tc-demo__stage { position: relative; aspect-ratio: 1.5; font-size: calc(100cqw / 60); color: #1a1530; background: radial-gradient(70% 60% at 30% 10%, rgba(167, 139, 250, 0.22), transparent 70%); }
.tc .tc-demo__prompt, .tc .tc-demo__answer { position: absolute; background: #fff; box-sizing: border-box; }
.tc .tc-demo__prompt { z-index: 2; left: 3.6em; top: 3.2em; width: 38em; padding: 1.9em 1.8em 2em; border-radius: 1.3em; box-shadow: 0 1.2em 3em -0.8em rgba(28, 10, 70, 0.45), 0 0 0 1px rgba(28, 10, 70, 0.04); }
.tc .tc-demo__answer { z-index: 1; left: 9.2em; right: 3.4em; top: 10.5em; bottom: -1em; padding: 5.6em 2.4em 0 6.7em; border-radius: 1.3em 1.3em 0 0; box-shadow: 0 1.5em 4em -1em rgba(28, 10, 70, 0.35); overflow: hidden; }
.tc .tc-demo__answer::after { content: ""; position: absolute; inset: auto 0 0; height: 5em; background: linear-gradient(transparent, #fff); }
.tc .tc-demo__kb { display: flex; align-items: center; gap: 0.5em; font-size: 1em; color: #221a3b; }
.tc .tc-demo__kb > svg:first-child { width: 1.3em; height: 1.3em; color: #221a3b; margin-right: 0.2em; }
.tc .tc-demo__kb > span:nth-child(2) { font-size: 1.02em; letter-spacing: -0.005em; }
.tc .tc-demo__kb-icons { display: inline-flex; align-items: center; gap: 0.25em; margin-left: 0.2em; }
.tc .tc-demo__kb-icons svg, .tc .tc-demo__kb-icons img { width: 1.1em; height: 1.1em; display: block; margin: 0; }
.tc .tc-demo__kb-count { display: grid; place-items: center; width: 1.25em; height: 1.25em; border-radius: 50%; background: #efe9ff; color: #7c3aed; font-size: 0.8em; font-weight: 600; }
.tc .tc-demo__kb > svg:last-child { width: 0.8em; height: 0.8em; color: #3b3154; }
.tc .tc-demo__input { display: flex; align-items: center; gap: 1.1em; margin-top: 1.9em; }
.tc .tc-demo__text { flex: 1; min-height: 3em; margin: 0; font-size: 1.1em; line-height: 1.4; color: #221a3b; }
.tc .tc-demo__mention { color: #7c3aed; font-weight: 600; }
.tc .tc-demo__caret { display: none; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -0.15em; background: #7c3aed; }
.tc .tc-demo__mic { flex: none; width: 1.5em; height: 1.5em; color: #6b6484; }
.tc .tc-demo__send { flex: none; display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: 50%; background: #7c3aed; color: #fff; box-shadow: 0 0.4em 1em -0.2em rgba(124, 58, 237, 0.6); transition: transform 0.25s var(--tc-ease), box-shadow 0.3s; }
.tc .tc-demo__send svg { width: 1.2em; height: 1.2em; }
.tc .tc-demo__head { display: flex; align-items: center; gap: 1.1em; margin-left: -3.7em; }
.tc .tc-demo__avatar { width: 2.6em; height: 2.6em; border-radius: 50%; margin: 0; }
.tc .tc-demo__status { display: flex; align-items: center; gap: 0.5em; color: #7c3aed; font-size: 1.1em; font-weight: 600; }
.tc .tc-demo__check { width: 1.15em; height: 1.15em; color: #7c3aed; }
.tc .tc-demo__spinner { display: none; width: 1.05em; height: 1.05em; border-radius: 50%; border: 2px solid #e4dbff; border-top-color: #7c3aed; animation: tc-spin 0.8s linear infinite; }
.tc .tc-demo__searching { display: none; background: linear-gradient(90deg, #7c3aed 30%, #c4b5fd 50%, #7c3aed 70%) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: tc-demo-shimmer 1.4s linear infinite; }
@keyframes tc-demo-shimmer { to { background-position: -200% 0; } }
.tc .tc-demo__chev { width: 0.7em; height: 0.7em; }
.tc .tc-demo__sources { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.55em; margin: 1.1em 0 1.2em; }
.tc .tc-demo__source { position: relative; display: flex; flex-direction: column; gap: 0.55em; padding: 0.7em 0.8em; border-radius: 0.55em; border: 1px solid #e7e3f1; background: #fff; box-shadow: 0 1px 2px rgba(28, 10, 70, 0.04); }
.tc .tc-demo__source-app { display: flex; align-items: center; gap: 0.35em; font-size: 0.66em; color: #6b6484; white-space: nowrap; overflow: hidden; }
.tc .tc-demo__source-app svg, .tc .tc-demo__source-app img { width: 1.1em; height: 1.1em; margin: 0; display: block; }
.tc .tc-demo__source-title { font-size: 0.66em; font-weight: 600; color: #1a1530; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc .tc-demo__source-chev { position: absolute; top: 0.8em; right: 0.8em; width: 0.7em; height: 0.7em; color: #1a1530; }
.tc .tc-demo__body { font-size: 1.02em; line-height: 1.45; color: #221a3b; }
.tc .tc-demo__body p, .tc .tc-demo__body li { font-size: inherit; line-height: inherit; color: inherit; }
.tc .tc-demo__body p { margin: 0 0 0.85em; line-height: 1.2; }
.tc .tc-demo__body ul { margin: 0 0 0.9em; padding-left: 1.4em; }
.tc .tc-demo__body li { margin: 0; line-height: 1.12; padding: 0.06em 0; }
.tc .tc-demo__body .tc-demo__h { font-weight: 700; color: #120c24; }
.tc .tc-demo__body .tc-demo__fade { color: #d4cfe2; }
/* "Watch demo" sits in the empty top-right corner instead of over the answer. */
.tc .tc-demo-frame .tc-frame__play { left: auto; right: 1.6em; top: 1.6em; bottom: auto; transform: none; z-index: 3; }
.tc .tc-demo-frame .tc-frame__play:hover { transform: scale(1.04); }

/* Animation states (set by home.astro while the demo plays). */
.tc .tc-demo.is-playing .tc-demo__prompt,
.tc .tc-demo.is-playing .tc-demo__answer,
.tc .tc-demo.is-playing .tc-demo__source,
.tc .tc-demo.is-playing [data-demo-line],
.tc .tc-demo.is-playing .tc-demo__mention { transition: opacity 0.6s var(--tc-ease), transform 0.7s var(--tc-ease), filter 0.6s var(--tc-ease); }
.tc .tc-demo.is-playing:not(.is-mention) .tc-demo__mention { opacity: 0; filter: blur(4px); }
.tc .tc-demo.is-typing .tc-demo__caret { display: inline-block; animation: tc-demo-caret 0.9s steps(1) infinite; }
@keyframes tc-demo-caret { 50% { opacity: 0; } }
.tc .tc-demo.is-sent .tc-demo__send { transform: scale(0.86); box-shadow: 0 0 0 0.6em rgba(124, 58, 237, 0.18); }
.tc .tc-demo.is-playing:not(.is-answer) .tc-demo__answer { opacity: 0; transform: translateY(2em); }
.tc .tc-demo.is-searching .tc-demo__spinner, .tc .tc-demo.is-searching .tc-demo__searching { display: inline-block; }
.tc .tc-demo.is-searching .tc-demo__check, .tc .tc-demo.is-searching .tc-demo__thought, .tc .tc-demo.is-searching .tc-demo__chev { display: none; }
.tc .tc-demo.is-playing .tc-demo__source:not(.is-in) { opacity: 0; transform: translateY(0.8em) scale(0.97); }
.tc .tc-demo.is-playing [data-demo-line]:not(.is-in) { opacity: 0; transform: translateY(0.5em); filter: blur(3px); }

@container (max-width: 600px) {
  /* Top padding leaves room for the "Watch demo" pill. */
  .tc .tc-demo__stage { aspect-ratio: auto; font-size: 13px; padding: 72px 12px 0; display: flex; flex-direction: column; }
  .tc .tc-demo__prompt { position: relative; inset: auto; width: auto; padding: 16px; order: 0; }
  .tc .tc-demo__answer { position: relative; inset: auto; order: 1; margin: -8px 8px 0; padding: 28px 16px 0; height: 470px; }
  .tc .tc-demo__head { margin-left: 0; }
  .tc .tc-demo__sources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tc .tc-demo__source-app, .tc .tc-demo__source-title { font-size: 0.85em; }
  .tc .tc-demo__kb-icons { display: none; }
}

/* ------------------------------------------------------------ feature-row mock-ups (home)
   Live versions of the product screenshots in the "Build AI agents" rows (src/components/
   HomeMocks.astro). Each is laid out in em, with 1em = 1/40 of its width, so it scales like the
   screenshot did. The page script animates them when they scroll into view (.is-playing while it
   runs; revealed parts get .is-in); without JS or with reduced motion they show the finished state. */
.tc .tc-frame--mock { padding: 0; overflow: hidden; background: radial-gradient(90% 70% at 30% 0%, rgba(167, 139, 250, 0.22), transparent 70%), linear-gradient(180deg, rgba(var(--tc-fg), 0.06), rgba(var(--tc-fg), 0.02)); }
.tc .tc-mock { container-type: inline-size; }
.tc .tc-mock > * { font-size: calc(100cqw / 40); color: #1d1a2c; letter-spacing: -0.005em; }
.tc .tc-mock img { display: block; margin: 0; max-width: none; }
.tc :where(.tc-mock) :where(p) { margin: 0; font-size: inherit; line-height: inherit; color: inherit; }
.tc :where(.tc-mock) :where(ul) { list-style: none; margin: 0; padding: 0; }
.tc :where(.tc-mock) :where(li) { margin: 0; line-height: 1.3; }
.tc .tc-mock svg { display: block; }
.tc .tc-mock__dialog { position: relative; margin: 2.2em; background: #fff; border-radius: 0.75em; box-shadow: 0 1.5em 3.5em -1em rgba(18, 8, 48, 0.55), 0 0 0 1px rgba(18, 8, 48, 0.06); }
.tc .tc-mock__bar { display: flex; align-items: center; justify-content: space-between; padding: 1.35em 1.5em 1.3em; border-bottom: 1px solid #f1f1f5; font-size: 1.22em; font-weight: 600; color: #1d1a2c; }
.tc .tc-mock__close svg { width: 1.05em; height: 1.05em; color: #1d1a2c; }
.tc .tc-mock__body { padding: 1.9em 1.5em 1.8em; }
.tc .tc-mock__who { display: flex; align-items: center; gap: 0.8em; }
.tc .tc-mock__avatar { flex: none; width: 4.3em; height: 4.3em; border-radius: 50%; }
.tc .tc-mock__fields { flex: 1; min-width: 0; display: grid; gap: 0.3em; }
.tc .tc-mock__field { min-height: 1.6em; border: 1px solid #e8e8ee; border-radius: 0.3em; padding: 0.2em 0.25em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc .tc-mock__name { flex: 1; font-size: 1.5em; font-weight: 600; line-height: 1.2; color: #0b0a14; }
.tc .tc-mock__desc { font-size: 0.8em; line-height: 1.5; color: #9aa4ba; padding: 0.3em 0.3em; }
.tc .tc-mock__label { margin: 2.1em 0 0.95em; font-size: 0.85em; font-weight: 600; color: #1d1a2c; }
.tc .tc-mock__who + .tc-mock__label { margin-top: 2.6em; }
.tc .tc-mock__select { position: relative; display: flex; align-items: center; gap: 0.7em; height: 2.35em; padding: 0 0.7em; border: 1px solid #e8e8ee; border-radius: 0.3em; font-size: 0.9em; color: #1d1a2c; }
.tc .tc-mock__select > img { width: 1.15em; height: 1.15em; }
.tc .tc-mock__ico { display: grid; place-items: center; color: #8a8a99; }
.tc .tc-mock__ico svg { width: 1.25em; height: 1.25em; }
.tc .tc-mock__chev { width: 0.9em; height: 0.9em; margin-left: auto; color: #1d1a2c; }
.tc .tc-mock__checks { display: grid; gap: 1.15em; padding-left: 0.4em !important; }
.tc .tc-mock__checks li { display: flex; align-items: center; gap: 0.6em; font-size: 0.9em; color: #1d1a2c; }
.tc .tc-mock__check { display: grid; place-items: center; width: 1.05em; height: 1.05em; border-radius: 0.22em; background: #8b5cf6; color: #fff; box-shadow: 0 0.1em 0.3em rgba(139, 92, 246, 0.35); }
.tc .tc-mock__check svg { width: 0.8em; height: 0.8em; }
/* Builder */
.tc .tc-mock--builder .tc-mock__dialog { margin: 2.2em 2.6em; }
.tc .tc-mock__menu { position: absolute; z-index: 2; top: 0.95em; right: -1px; width: 58%; padding: 0.45em 0.5em; border-radius: 0.3em; background: #f8fafc; box-shadow: 0 0.6em 1.6em -0.4em rgba(18, 8, 48, 0.25), 0 0 0 1px rgba(18, 8, 48, 0.04); transform-origin: 50% 0; }
.tc .tc-mock__opt { display: flex; align-items: center; gap: 0.55em; height: 2.3em; padding: 0 0.5em; border-radius: 0.2em; font-size: 0.97em; transition: background 0.25s; }
.tc .tc-mock__opt img { width: 1.2em; height: 1.2em; }
.tc .tc-mock__opt-tick { width: 1.1em; color: #1d1a2c; opacity: 0; transition: opacity 0.2s; }
.tc .tc-mock__opt-tick svg { width: 1.1em; height: 1.1em; }
.tc .tc-mock__opt.is-on { background: #f0eff5; }
.tc .tc-mock__opt.is-on .tc-mock__opt-tick { opacity: 1; }
.tc .tc-mock__opt.is-hover { background: #f3f2f8; }
.tc .tc-mock__chips { display: flex; flex-wrap: wrap; gap: 0.45em 0.4em; align-items: center; }
.tc .tc-mock__chip { display: inline-flex; align-items: center; gap: 0.4em; height: 1.95em; padding: 0 0.45em 0 0.3em; border-radius: 0.45em; background: #f2f2f5; font-size: 0.72em; color: #1d1a2c; }
.tc .tc-mock__chip-ico { display: grid; place-items: center; width: 1.45em; height: 1.45em; border-radius: 0.25em; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.tc .tc-mock__chip-ico svg, .tc .tc-mock__chip-ico img { width: 0.95em; height: 0.95em; }
.tc .tc-mock__chip-x svg { width: 0.9em; height: 0.9em; color: #9a9aa8; }
.tc .tc-mock__add { display: inline-flex; align-items: center; gap: 0.5em; margin-left: 0.5em; font-size: 0.8em; font-weight: 600; color: #a3a3b0; }
.tc .tc-mock__add svg { width: 1.25em; height: 1.25em; }
.tc .tc-mock__cursor { position: absolute; z-index: 3; left: 0; top: 0; width: 2.2em; height: 2.2em; transform: translate(31em, 28.2em); filter: drop-shadow(0 0.15em 0.25em rgba(0, 0, 0, 0.25)); pointer-events: none; }
/* Chat */
.tc .tc-mock--chat .tc-mock__window { margin: 1.8em 1.7em; background: #fff; border-radius: 0.6em; overflow: hidden; box-shadow: 0 1.5em 3.5em -1em rgba(18, 8, 48, 0.55), 0 0 0 1px rgba(18, 8, 48, 0.06); }
.tc .tc-mock__dots { display: flex; gap: 0.35em; padding: 0.8em 0.85em; border-bottom: 1px solid #efeff3; }
.tc .tc-mock__dots i { width: 0.45em; height: 0.45em; border-radius: 50%; background: #ee6a5f; }
.tc .tc-mock__dots i:nth-child(2) { background: #f5bd4f; }
.tc .tc-mock__dots i:nth-child(3) { background: #61c454; }
.tc .tc-mock__chat { padding: 0.95em 2.35em 0 2.35em; }
.tc .tc-mock__ask { margin-left: auto; width: 26em; box-sizing: border-box; padding: 0.95em 1.05em; border-radius: 0.5em; background: #efe7fb; font-size: 0.97em; line-height: 1.75; color: #1d1a2c; min-height: 4.6em; }
.tc .tc-mock__mention { color: #7c3aed; font-weight: 600; }
.tc .tc-mock__reply { display: flex; gap: 0.95em; margin-top: 1.9em; }
.tc .tc-mock__reply .tc-mock__avatar { width: 3.1em; height: 3.1em; }
.tc .tc-mock__reply > div { flex: 1; min-width: 0; }
.tc .tc-mock__agent { margin-top: 0.2em; font-size: 0.98em; font-weight: 600; color: #7c3aed; }
.tc .tc-mock__sources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.45em; margin: 1em 0 1.1em; }
.tc .tc-mock__source { display: grid; gap: 0.55em; padding: 0.6em 0.45em; border-radius: 0.3em; border: 1px solid #ececf2; background: #fbfbfd; }
.tc .tc-mock__source.is-hover { background: #efeff4; }
.tc .tc-mock__source-app { position: relative; display: flex; align-items: center; gap: 0.35em; font-size: 0.46em; color: #7a7a88; }
.tc .tc-mock__source-app svg, .tc .tc-mock__source-app img { width: 1.25em; height: 1.25em; }
.tc .tc-mock__kebab { position: absolute; right: 0.4em; top: 50%; width: 0.2em; height: 0.2em; margin-top: -0.1em; border-radius: 50%; background: #b8b8c4; box-shadow: 0 -0.45em 0 #b8b8c4, 0 0.45em 0 #b8b8c4; }
.tc .tc-mock__source-title { font-size: 0.5em; font-weight: 600; color: #1d1a2c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc .tc-mock__answer { font-size: 1.1em; line-height: 1.4; color: #1d1a2c; }
.tc .tc-mock__answer b { font-weight: 700; color: #0b0a14; }
.tc .tc-mock__agents { display: flex; gap: 1.3em; margin: 5.4em 0 3em 2.95em; white-space: nowrap; }
.tc .tc-mock__agentcard { flex: none; display: flex; align-items: center; gap: 0.9em; width: 13.1em; height: 4.1em; padding: 0 0.7em; box-sizing: border-box; border-radius: 0.95em; border: 0.07em solid transparent; }
.tc .tc-mock__agentcard img { width: 3.1em; height: 3.1em; border-radius: 50%; }
.tc .tc-mock__agentcard > div { min-width: 0; }
.tc .tc-mock__agentcard p { font-size: 0.66em; font-weight: 600; color: #0b0a14; overflow: hidden; text-overflow: ellipsis; }
.tc .tc-mock__agentcard--violet { background: #ede6fb; }
.tc .tc-mock__agentcard--violet.is-picked { border-color: #8b5cf6; box-shadow: 0 0 0 0.06em #8b5cf6; }
.tc .tc-mock__agentcard--blue { background: #c3dcfb; }
.tc .tc-mock__agentcard--peach { background: #fdf1e5; }
.tc .tc-mock__apps { display: flex; gap: 0.3em; margin-top: 0.45em; }
.tc .tc-mock__apps > span { display: grid; place-items: center; width: 0.72em; height: 0.72em; border-radius: 0.12em; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.tc .tc-mock__apps svg, .tc .tc-mock__apps img { width: 0.5em; height: 0.5em; }
/* Schedule */
.tc .tc-mock--schedule .tc-mock__dialog { margin: 2.2em 2.4em; }
.tc .tc-mock--schedule .tc-mock__who { gap: 0.9em; margin-top: -0.6em; }
.tc .tc-mock--schedule .tc-mock__name { font-size: 1.55em; }
.tc .tc-mock--schedule .tc-mock__label { margin: 1.7em 0 0.8em; }
.tc .tc-mock--schedule .tc-mock__who + .tc-mock__label { margin-top: 1.9em; }
.tc .tc-mock--schedule .tc-mock__select { font-size: 0.85em; height: 2.55em; }
.tc .tc-mock__roll { position: relative; display: block; height: 1.3em; line-height: 1.3em; overflow: hidden; }
.tc .tc-mock__roll > span { display: block; transition: transform 0.35s var(--tc-ease); }
.tc .tc-mock__roll i { display: block; font-style: normal; height: 1.3em; }
.tc .tc-mock__clock svg { transition: transform 0.6s var(--tc-ease); }
.tc .tc-mock__toast { position: absolute; right: 1.5em; bottom: 1.5em; display: flex; align-items: center; gap: 0.5em; padding: 0.55em 0.85em 0.55em 0.6em; border-radius: 99em; background: #f3eefe; color: #6d28d9; font-size: 0.66em; font-weight: 600; }
.tc .tc-mock__toast span { display: grid; place-items: center; width: 1.4em; height: 1.4em; border-radius: 50%; background: #8b5cf6; color: #fff; }
.tc .tc-mock__toast svg { width: 0.9em; height: 0.9em; }

/* Animation states. */
.tc .tc-mock.is-playing [data-m-pop], .tc .tc-mock.is-playing [data-m-card], .tc .tc-mock.is-playing [data-m-ask],
.tc .tc-mock.is-playing [data-m-reply], .tc .tc-mock.is-playing [data-m-answer], .tc .tc-mock.is-playing [data-m-toast],
.tc .tc-mock.is-playing .tc-mock__check, .tc .tc-mock.is-playing .tc-mock__menu, .tc .tc-mock.is-playing .tc-mock__cursor {
  transition: opacity 0.5s var(--tc-ease), transform 0.6s var(--tc-ease), background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.tc .tc-mock.is-playing [data-m-pop]:not(.is-in) { opacity: 0; transform: translateY(0.5em) scale(0.94); }
.tc .tc-mock.is-playing [data-m-card]:not(.is-in) { opacity: 0; transform: translateX(4em); }
.tc .tc-mock.is-playing [data-m-ask]:not(.is-in), .tc .tc-mock.is-playing [data-m-reply]:not(.is-in), .tc .tc-mock.is-playing [data-m-toast]:not(.is-in) { opacity: 0; transform: translateY(0.8em); }
.tc .tc-mock.is-playing [data-m-answer]:not(.is-in) { opacity: 0; transform: translateY(0.4em); }
.tc .tc-mock.is-playing li:not(.is-in) .tc-mock__check { background: #fff; box-shadow: inset 0 0 0 1.5px #cfcfd8; }
.tc .tc-mock.is-playing li:not(.is-in) .tc-mock__check svg { opacity: 0; transform: scale(0.4); }
.tc .tc-mock__check svg { transition: opacity 0.2s, transform 0.35s var(--tc-ease); }
.tc .tc-mock.is-playing li.is-in .tc-mock__check { animation: tc-mock-tick 0.4s var(--tc-ease); }
@keyframes tc-mock-tick { 40% { transform: scale(1.25); } }
.tc .tc-mock.is-playing:not(.is-menu) .tc-mock__menu { opacity: 0; transform: translateY(-0.4em) scale(0.97); pointer-events: none; }
.tc .tc-mock.is-playing:not(.is-cursor) .tc-mock__cursor { opacity: 0; }
.tc .tc-mock.is-playing .tc-mock__cursor { transition: opacity 0.3s, transform 0.75s cubic-bezier(0.45, 0, 0.2, 1); }
.tc .tc-mock.is-click .tc-mock__cursor { scale: 0.85; }
.tc .tc-mock.is-typing [data-m-type].is-caret::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -0.12em; background: #7c3aed; animation: tc-demo-caret 0.9s steps(1) infinite; }
.tc .tc-mock.is-playing .tc-mock__agentcard--violet:not(.is-picked) { border-color: transparent; }
.tc .tc-mock__agentcard--violet.is-picked { animation: tc-mock-pick 0.6s var(--tc-ease); }
@keyframes tc-mock-pick { 40% { transform: scale(1.04); } }
.tc .tc-mock.is-playing .tc-mock__source.is-hover:not(.is-lit) { background: #fbfbfd; }

/* Playbook book: a CSS 3D book lying at an angle (as in the old photo). It floats, tilts a little
   toward the pointer (--rx/--ry, set by the page script) and opens its cover on hover. */
.tc .tc-row__book { display: grid; place-items: center; }
.tc .tc-book { container-type: inline-size; width: 100%; max-width: 620px; }
.tc .tc-book__tilt { --rx: 0deg; --ry: 0deg; position: relative; aspect-ratio: 1.3; font-size: calc(100cqw / 40); perspective: 70em; perspective-origin: 50% 20%; }
.tc .tc-book__body { --t: 1.2em; position: absolute; left: 50%; top: 50%; width: 17.5em; height: 21em; margin: -10.5em 0 0 -8.75em; transform-style: preserve-3d; transform: rotateX(calc(52deg + var(--rx))) rotateZ(calc(33deg + var(--ry))) translateZ(var(--lift, 0em)); transition: transform 0.6s var(--tc-ease); animation: tc-book-float 6s ease-in-out infinite; }
@keyframes tc-book-float { 50% { --lift: 0.9em; } }
@property --lift { syntax: "<length>"; inherits: true; initial-value: 0em; }
.tc .tc-book__body > * { position: absolute; }
.tc .tc-book__back { inset: 0; border-radius: 0.3em 1.1em 1.1em 0.3em; background: #3b0764; transform: translateZ(0); }
.tc .tc-book__pages { inset: 0.25em 0.2em 0.25em 0; border-radius: 0 1em 1em 0; background: repeating-linear-gradient(90deg, #f4f2f7 0 0.08em, #dcd8e3 0.08em 0.12em); transform: translateZ(calc(var(--t) / 2)); box-shadow: 0 0 0 0.02em #cfc8dc; }
/* The page block's visible edges (bottom and right) are extruded with stacked shadows. */
/* Top page, seen when the cover opens: a heading and lines of text. */
.tc .tc-book__pages::after { content: ""; position: absolute; inset: 0; border-radius: inherit; transform: translateZ(calc(var(--t) / 2 - 0.1em));
  background: linear-gradient(#7e22ce, #7e22ce) 2.6em 3em / 6em 0.5em no-repeat, repeating-linear-gradient(180deg, #e6e2ee 0 0.22em, transparent 0.22em 0.9em) 2.6em 5em / 12em 10em no-repeat, #fbfafc; }
.tc .tc-book__spine { left: 0; top: 0; width: var(--t); height: 100%; background: linear-gradient(90deg, #2e0550, #4c0d80 60%, #3b0764); transform-origin: 0 50%; transform: rotateY(-90deg); border-radius: 0.3em 0 0 0.3em; }
.tc .tc-book__cover { inset: 0; transform-style: preserve-3d; transform-origin: 0 50%; transform: translateZ(var(--t)) rotateY(0deg); transition: transform 0.9s var(--tc-ease); }
.tc .tc-book:hover .tc-book__cover { transform: translateZ(var(--t)) rotateY(-24deg); }
.tc .tc-book__front, .tc .tc-book__inside { position: absolute; inset: 0; border-radius: 0.3em 1.1em 1.1em 0.3em; backface-visibility: hidden; }
.tc .tc-book__inside { background: #3b0764; transform: rotateY(180deg); }
.tc .tc-book__front { display: flex; flex-direction: column; align-items: center; padding: 2.4em 2em 1.6em; box-sizing: border-box; background: radial-gradient(120% 90% at 20% 0%, #ffffff, #efeef2); box-shadow: inset 0 0 0 0.06em rgba(0, 0, 0, 0.04), inset -0.25em 0 0 #7e22ce, 0 0 0 0.12em #4c0d80; }
.tc .tc-book__front::before { content: ""; position: absolute; left: 0.9em; top: 0; bottom: 0; width: 0.08em; background: linear-gradient(90deg, rgba(0, 0, 0, 0.08), transparent); }
/* Condensed with scaleX (no condensed face is loaded); anchored right so it overflows leftward before scaling. */
.tc .tc-book__title { display: grid; justify-items: start; align-self: flex-end; margin: 0 -0.4em 0 0; white-space: nowrap; transform: scaleX(0.7); transform-origin: 100% 50%; line-height: 0.88; font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; color: #141217; }
.tc .tc-book__title span:last-child { color: #7e22ce; }
.tc .tc-book__title--cjk { transform: none; line-height: 1.15; letter-spacing: 0; }
.tc .tc-book__ab { display: flex; align-items: center; gap: 0.5em; width: 88%; margin: 3.4em 0 0; color: #1d1a2c; }
.tc .tc-book__ab span { flex: none; display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: #7e22ce; color: #fff; font-weight: 700; font-size: 0.9em; }
.tc .tc-book__ab svg { flex: 1; height: 0.8em; overflow: visible; }
.tc .tc-book__sub { margin: 4.6em 0 0; max-width: 16em; text-align: center; font-size: 0.55em; line-height: 1.3; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #1d1a2c; }
.tc .tc-book__mark { width: 1.6em; height: 1.3em; margin-top: auto; background: #1d1a2c; -webkit-mask: url(/_static/tc/agents/tc-mark.png) center / contain no-repeat; mask: url(/_static/tc/agents/tc-mark.png) center / contain no-repeat; }
.tc .tc-book__shadow { position: absolute; left: 50%; top: 58%; width: 26em; height: 13em; margin: -6.5em 0 0 -13em; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 6, 48, 0.45), transparent); filter: blur(0.6em); transform: rotate(-18deg); animation: tc-book-shadow 6s ease-in-out infinite; }
:root:not([data-theme="light"]) .tc .tc-book__shadow { background: radial-gradient(closest-side, rgba(139, 92, 246, 0.35), rgba(0, 0, 0, 0.4) 55%, transparent); }
@keyframes tc-book-shadow { 50% { opacity: 0.7; transform: rotate(-18deg) scale(0.94); } }
.tc .tc-book.is-playing .tc-book__title span { transition: opacity 0.6s var(--tc-ease), transform 0.7s var(--tc-ease); }
.tc .tc-book.is-playing .tc-book__title span:not(.is-in) { opacity: 0; transform: translateY(0.3em); }
.tc .tc-book.is-playing .tc-book__ab span { transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.tc .tc-book.is-playing .tc-book__ab span:not(.is-in) { transform: scale(0); }
.tc .tc-book.is-playing .tc-book__ab svg { clip-path: inset(0 100% 0 0); transition: clip-path 0.9s cubic-bezier(0.65, 0, 0.35, 1); }
.tc .tc-book.is-playing .tc-book__ab.is-drawn svg { clip-path: inset(0 -10% 0 0); }
@media (prefers-reduced-motion: reduce) { .tc .tc-book__body, .tc .tc-book__shadow { animation: none; } .tc .tc-book:hover .tc-book__cover { transform: translateZ(var(--t)); } }
