/* =============================================================================
   Troika AI — homepage sections. Depends on tk-theme.css for tokens/chrome.
   Mobile-first: base rules target 360px, then min-width queries add columns.
   ============================================================================= */

/* ------------------------------------------------------------ shared bits -- */
.tk-site main { overflow-x: clip; } /* rotated ticker + glows never cause sideways scroll */
.tk-section { padding-block: var(--space-section); position: relative; }
.tk-eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-primary-500);
}
.tk-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
:root[data-theme="dark"] .tk-eyebrow { color: var(--color-accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tk-eyebrow { color: var(--color-accent); } }
.tk-eyebrow--on-dark, :root .tk-eyebrow--on-dark { color: var(--color-accent); }
.tk-h2 { font-size: var(--font-size-2xl); font-weight: 700; }
.tk-lead { font-size: var(--font-size-lg); line-height: 1.55; color: var(--color-fg); }
.tk-head { max-width: 720px; margin-bottom: var(--space-7); }
.tk-head__sub { margin-top: var(--space-4); color: var(--color-fg-muted); font-size: var(--font-size-md); }
.tk-head__sub a, .tk-note a { color: var(--color-link); font-weight: 600; text-underline-offset: 3px; }
.tk-head--row { max-width: none; display: flex; flex-direction: column; gap: var(--space-4); }
.tk-split { display: grid; gap: var(--space-7); align-items: center; }
.tk-link {
  display: inline-flex; align-items: center; gap: 0.4em; font-weight: 700; color: var(--color-link);
  text-decoration: none; padding-block: 0.6em;
}
.tk-link .tk-icon { transition: transform var(--dur-med) var(--ease-spring); }
.tk-link:hover .tk-icon { transform: translateX(4px); }
.tk-note { margin-top: var(--space-5); font-size: var(--font-size-sm); color: var(--color-fg-muted); }
.tk-muted-on-dark { color: var(--color-inverse-muted); font-weight: 500; }
.tk-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); position: relative;
}
.tk-pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--color-accent);
  animation: tk-pulse 1.8s var(--ease-out) infinite;
}
@keyframes tk-pulse { to { transform: scale(3); opacity: 0; } }

/* scroll reveal (only when JS is running, so content is never hidden without it) */
.tk-js .tk-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--rd, 0) * 90ms);
}
.tk-js .tk-reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------- hero -- */
.tk-hero {
  position: relative; isolation: isolate;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + var(--space-7)) 0 var(--space-8);
  background: var(--color-primary-700); color: var(--color-inverse-fg);
  overflow: hidden;
}
.tk-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 85% 35%, rgb(200 240 60 / 0.16), transparent 70%),
    radial-gradient(45% 50% at 10% 100%, rgb(242 106 61 / 0.14), transparent 70%),
    linear-gradient(180deg, #072a31 0%, #0b3c45 100%);
}
.tk-hero__bg::after { /* fine grid */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgb(234 243 241 / 0.05) 1px, transparent 1px), linear-gradient(90deg, rgb(234 243 241 / 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
.tk-hero__in { display: grid; gap: var(--space-7); align-items: center; }
.tk-hero .tk-eyebrow {
  padding: 6px 14px 6px 12px; border-radius: var(--radius-pill);
  background: rgb(200 240 60 / 0.1); border: 1px solid rgb(200 240 60 / 0.3);
  letter-spacing: 0.1em;
}
.tk-hero .tk-eyebrow::before { display: none; }
.tk-hero__title { font-size: var(--font-size-3xl); font-weight: 800; letter-spacing: -0.022em; }
.tk-hl {
  color: var(--color-accent);
  background: linear-gradient(90deg, var(--color-accent), #e4ff8a);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.tk-hero__lead { margin-top: var(--space-5); max-width: 54ch; font-size: var(--font-size-lg); color: #c9dcdc; }
.tk-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.tk-hero__ctas .tk-btn { flex: 1 1 auto; }
.tk-hero__video {
  display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-6);
  background: none; border: 0; padding: 0; color: inherit; font: inherit; text-align: left; cursor: pointer;
  font-size: var(--font-size-sm); line-height: 1.45;
}
.tk-hero__play {
  flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgb(234 243 241 / 0.1); border: 1px solid rgb(234 243 241 / 0.25); color: var(--color-accent);
  position: relative; transition: transform var(--dur-med) var(--ease-spring), background-color var(--dur-fast);
}
.tk-hero__play::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgb(200 240 60 / 0.4); animation: tk-ring 2.4s var(--ease-out) infinite;
}
.tk-hero__video:hover .tk-hero__play { transform: scale(1.08); background: var(--color-accent); color: var(--color-ink-900); }

/* entrance */
.tk-js .tk-hero__anim { opacity: 0; transform: translateY(18px); animation: tk-rise 0.8s var(--ease-out) forwards; animation-delay: calc(var(--d) * 110ms + 100ms); }
@keyframes tk-rise { to { opacity: 1; transform: none; } }

/* hero visual */
.tk-hero__visual { position: relative; width: min(100%, 520px); margin-inline: auto; aspect-ratio: 1; }
.tk-hero__svg { width: 100%; height: 100%; overflow: visible; }
.tk-js .tk-hero__visual { animation: tk-pop 1s var(--ease-out) 0.25s both; }
@keyframes tk-pop { from { opacity: 0; transform: scale(0.94) translateY(20px); } }
.tk-orbit { transform-box: view-box; transform-origin: 280px 280px; }
.tk-orbit--a { animation: tk-spin 60s linear infinite; }
.tk-orbit--b { animation: tk-spin 40s linear infinite reverse; }
@keyframes tk-spin { to { transform: rotate(360deg); } }
.tk-phone { animation: tk-float 6s ease-in-out infinite; }
@keyframes tk-float { 50% { transform: translateY(-10px); } }
.tk-ring { transform-box: fill-box; transform-origin: center; animation: tk-ringsvg 2.6s var(--ease-out) infinite; }
.tk-ring--2 { animation-delay: 1.3s; }
@keyframes tk-ringsvg { from { transform: scale(0.75); opacity: 0.9; } to { transform: scale(1.35); opacity: 0; } }
.tk-wave rect { transform-box: fill-box; transform-origin: center; animation: tk-eq 1.1s ease-in-out infinite; }
.tk-wave rect:nth-child(3n) { animation-delay: -0.3s; animation-duration: 0.9s; }
.tk-wave rect:nth-child(3n+1) { animation-delay: -0.6s; animation-duration: 1.3s; }
.tk-wave rect:nth-child(4n) { animation-delay: -0.15s; }
@keyframes tk-eq { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
.tk-blink { animation: tk-blink 1.4s steps(2, jump-none) infinite; }
@keyframes tk-blink { 50% { opacity: 0.2; } }
.tk-bubble { opacity: 0; animation: tk-bubble 8s var(--ease-out) infinite; }
.tk-bubble--2 { animation-name: tk-bubble2; }
@keyframes tk-bubble { 5%, 85% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes tk-bubble2 { 0%, 25% { opacity: 0; } 32%, 85% { opacity: 1; } 95%, 100% { opacity: 0; } }

.tk-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: var(--radius-md);
  background: rgb(255 255 255 / 0.96); color: var(--color-ink-900);
  box-shadow: 0 18px 40px -14px rgb(0 0 0 / 0.5);
  font-size: 0.8125rem; line-height: 1.25; white-space: nowrap;
  animation: tk-float 7s ease-in-out infinite;
}
.tk-chip b { display: block; font-weight: 700; }
.tk-chip small { color: var(--color-slate-600); font-size: 0.75rem; }
.tk-chip__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--color-accent); color: var(--color-ink-900); }
.tk-chip__ic--coral { background: var(--color-secondary-100); color: var(--color-secondary-700); }
.tk-chip--a { top: 6%; left: -2%; animation-delay: -1s; }
.tk-chip--b { top: 44%; right: -4%; animation-delay: -3s; }
.tk-chip--c { bottom: 8%; left: 0; animation-delay: -5s; }
.tk-chip--d {
  top: 2%; right: 4%; padding: 8px 14px; font-weight: 700; font-size: 0.875rem;
  background: var(--color-secondary); color: var(--color-ink-900); animation-delay: -2s;
}
@media (max-width: 479.98px) {
  .tk-chip--b, .tk-chip--d { display: none; }
  .tk-chip { font-size: 0.75rem; padding: 8px 10px 8px 8px; }
  .tk-chip__ic { width: 28px; height: 28px; }
  .tk-chip--a { left: 0; top: 2%; }
}

/* ----------------------------------------------------------------- ticker -- */
.tk-ticker {
  background: var(--color-accent); color: var(--color-ink-900);
  overflow: hidden; padding-block: 14px;
  transform: rotate(-1.2deg) scale(1.04); margin-block: -10px; position: relative; z-index: 2;
  box-shadow: 0 10px 30px -12px rgb(8 19 22 / 0.4);
}
.tk-ticker__track { display: flex; width: max-content; animation: tk-marquee 38s linear infinite; }
.tk-ticker:hover .tk-ticker__track { animation-play-state: paused; }
.tk-ticker__list { display: flex; list-style: none; margin: 0; padding: 0; }
.tk-ticker__list li {
  font: 700 1rem/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.04em;
  padding-inline: 1.25rem; display: flex; align-items: center; gap: 2.5rem; white-space: nowrap;
}
.tk-ticker__list li::after { content: "✦"; font-size: 0.9em; margin-left: 1.25rem; }
@keyframes tk-marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ trust -- */
.tk-trust { background: var(--color-ink-900); color: var(--color-inverse-fg); padding-block: calc(var(--space-8) + 10px) var(--space-8); }
.tk-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); margin: 0; }
.tk-stat {
  display: flex; flex-direction: column-reverse; gap: var(--space-2);
  padding: var(--space-5); border-radius: var(--radius-lg);
  background: rgb(234 243 241 / 0.04); border: 1px solid rgb(234 243 241 / 0.08);
}
.tk-stat dd {
  margin: 0; font: 800 clamp(2.5rem, 2rem + 2.5vw, 3.75rem)/1 var(--font-display); letter-spacing: -0.04em;
  color: var(--color-accent); font-variant-numeric: tabular-nums;
}
.tk-stat dt { color: var(--color-inverse-muted); font-size: var(--font-size-sm); }
.tk-logos, .tk-press { margin-top: var(--space-7); }
.tk-logos__label {
  text-align: center; font-size: var(--font-size-xs); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-inverse-muted); margin-bottom: var(--space-4);
}
.tk-logos__viewport {
  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);
}
.tk-logos__track { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; animation: tk-marquee 30s linear infinite; }
.tk-logos__viewport:hover .tk-logos__track { animation-play-state: paused; }
.tk-logos__track li { padding-inline: clamp(1rem, 3vw, 2.5rem); }
.tk-logos__track img { height: 44px; width: auto; opacity: 0.7; transition: opacity var(--dur-fast); }
.tk-logos__track img:hover { opacity: 1; }
.tk-press__list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-3); list-style: none; margin: 0; padding: 0; }
.tk-press__list a {
  display: inline-block; padding: 10px 18px; border-radius: var(--radius-pill);
  border: 1px solid rgb(234 243 241 / 0.16); color: var(--color-inverse-fg);
  font: 700 var(--font-size-sm)/1 var(--font-display); text-decoration: none;
  transition: background-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}
.tk-press__list a:hover { background: var(--color-accent); color: var(--color-ink-900); transform: translateY(-2px); }

/* --------------------------------------------------------------- services -- */
.tk-cards { display: grid; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.tk-card {
  position: relative; display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-6) var(--space-5) var(--space-5);
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med);
}
.tk-js .tk-card.tk-reveal.is-in { transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med), border-color var(--dur-med); transition-delay: 0s; }
.tk-card:hover, .tk-card:focus-within { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--color-primary-500); }
.tk-card__icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--color-accent-100); color: var(--color-primary);
  font-size: 1.35rem; transition: transform var(--dur-med) var(--ease-spring), background-color var(--dur-med);
}
.tk-card__icon--coral { background: var(--color-secondary-100); color: var(--color-secondary-700); }
.tk-card:hover .tk-card__icon { transform: rotate(-8deg) scale(1.08); background: var(--color-accent); color: var(--color-ink-900); }
.tk-card__title { font-size: var(--font-size-xl); font-weight: 700; margin-top: var(--space-2); }
.tk-card__title a { text-decoration: none; }
.tk-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole card clickable */
.tk-card__title a:focus-visible { outline: none; }
.tk-card:has(a:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.tk-card p { color: var(--color-fg-muted); font-size: var(--font-size-sm); }
.tk-card__go {
  position: absolute; top: var(--space-5); right: var(--space-5);
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--color-border); color: var(--color-fg-muted);
  transition: transform var(--dur-med) var(--ease-spring), background-color var(--dur-fast), color var(--dur-fast);
}
.tk-card:hover .tk-card__go { background: var(--color-ink-900); color: var(--color-accent); transform: rotate(45deg); border-color: transparent; }

/* first card is the featured one */
.tk-card--feature { background: var(--color-primary); border-color: transparent; color: var(--color-inverse-fg); }
.tk-card--feature p { color: #c9dcdc; }
.tk-card--feature .tk-card__icon { background: var(--color-accent); color: var(--color-ink-900); }
.tk-card--feature .tk-card__go { border-color: rgb(234 243 241 / 0.25); color: var(--color-accent); }
.tk-card--feature:hover { border-color: var(--color-accent); }
:root[data-theme="dark"] .tk-card--feature { background: var(--color-primary-500); }

/* ------------------------------------------------------------------ about -- */
.tk-about { background: var(--color-surface-2); }
.tk-about__visual { position: relative; padding-bottom: var(--space-8); max-width: 520px; margin-inline: auto; width: 100%; }
.tk-about__photo { width: 86%; justify-content: flex-start; }
.tk-log {
  position: absolute; right: 0; bottom: 0; width: min(92%, 380px);
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--space-4);
  font-size: 0.8125rem;
}
.tk-log__head { display: flex; align-items: center; gap: 6px; margin-bottom: var(--space-3); }
.tk-log__head b { margin-left: auto; font-family: var(--font-display); font-size: 0.9375rem; }
.tk-log__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--color-mist-200); }
.tk-log__dot:first-child { background: var(--color-secondary); }
.tk-log__dot:nth-child(2) { background: var(--color-accent); }
.tk-log__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tk-log__rows li {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
  padding: 8px; border-radius: 12px; background: var(--color-surface-2);
}
.tk-js .tk-reveal .tk-log__rows li { opacity: 0; transform: translateX(14px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.tk-js .tk-reveal.is-in .tk-log__rows li { opacity: 1; transform: none; }
.tk-js .tk-reveal.is-in .tk-log__rows li:nth-child(2) { transition-delay: 0.35s; }
.tk-js .tk-reveal.is-in .tk-log__rows li:nth-child(3) { transition-delay: 0.5s; }
.tk-js .tk-reveal.is-in .tk-log__rows li:nth-child(4) { transition-delay: 0.65s; }
.tk-js .tk-reveal.is-in .tk-log__rows li:nth-child(5) { transition-delay: 0.8s; }
.tk-js .tk-reveal.is-in .tk-log__rows li:nth-child(1) { transition-delay: 0.2s; }
.tk-log__ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--color-accent-100); color: var(--color-primary); }
.tk-log__ic--coral { background: var(--color-secondary-100); color: var(--color-secondary-700); }
.tk-tag {
  font-style: normal; font-weight: 700; font-size: 0.6875rem; padding: 3px 8px; border-radius: var(--radius-pill);
  background: var(--color-mist-200); color: var(--color-ink-700);
}
.tk-tag--ok { background: #d6f2e3; color: #11653e; }
.tk-tag--hot { background: var(--color-secondary-100); color: var(--color-secondary-700); }
.tk-about__badge {
  position: absolute; top: var(--space-5); right: 0;
  width: 104px; height: 104px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: var(--color-ink-900); color: var(--color-inverse-fg);
  box-shadow: var(--shadow-lg); animation: tk-float 6s ease-in-out infinite;
}
.tk-about__badge span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-inverse-muted); }
.tk-about__badge b { font: 800 1.75rem/1 var(--font-display); color: var(--color-accent); }
.tk-about__copy > p + p { margin-top: var(--space-4); color: var(--color-fg-muted); }
.tk-about__copy .tk-lead { margin-top: var(--space-5); }
.tk-about__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin-top: var(--space-6); }
:root[data-theme="dark"] .tk-btn--dark { --btn-bg: var(--color-accent); --btn-fg: var(--color-ink-900); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tk-btn--dark { --btn-bg: var(--color-accent); --btn-fg: var(--color-ink-900); } }
:root[data-theme="dark"] .tk-tag--ok, :root[data-theme="dark"] .tk-tag--hot, :root[data-theme="dark"] .tk-tag { filter: saturate(0.9); }
:root[data-theme="dark"] .img-placeholder:not(.img-placeholder--dark) { color: var(--color-inverse-fg); background: repeating-linear-gradient(135deg, rgb(200 240 60 / 0.05) 0 12px, transparent 12px 24px), linear-gradient(160deg, #0f2226, #13272c); border-color: rgb(200 240 60 / 0.3); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .img-placeholder:not(.img-placeholder--dark) { color: var(--color-inverse-fg); background: repeating-linear-gradient(135deg, rgb(200 240 60 / 0.05) 0 12px, transparent 12px 24px), linear-gradient(160deg, #0f2226, #13272c); border-color: rgb(200 240 60 / 0.3); } }

/* -------------------------------------------------------------------- why -- */
.tk-why { background: var(--color-inverse-bg); color: var(--color-inverse-fg); overflow: hidden; }
.tk-why__glow {
  position: absolute; width: 640px; height: 640px; right: -200px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgb(200 240 60 / 0.16), transparent 65%); pointer-events: none;
}
.tk-why .tk-lead { color: #c9dcdc; margin-top: var(--space-5); }
.tk-checks { list-style: none; padding: 0; margin: var(--space-6) 0 var(--space-6); display: grid; gap: var(--space-3); }
.tk-checks li { display: flex; gap: var(--space-3); align-items: flex-start; font-weight: 600; }
.tk-checks .tk-icon {
  width: 26px; height: 26px; padding: 5px; border-radius: 50%; flex: none;
  background: var(--color-accent); color: var(--color-ink-900); stroke-width: 3;
}
.tk-checks a { color: var(--color-accent); text-underline-offset: 3px; }
.tk-why__side { display: grid; gap: var(--space-5); }
.tk-comply {
  padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg);
  background: rgb(234 243 241 / 0.05); border: 1px solid rgb(234 243 241 / 0.12);
}
.tk-comply__head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.tk-comply__head h3 { font-size: var(--font-size-lg); }
.tk-comply__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--color-secondary); color: var(--color-ink-900); font-size: 1.2rem; flex: none; }
.tk-comply ul { margin: 0; padding-left: 1.2em; display: grid; gap: var(--space-2); color: #c9dcdc; font-size: var(--font-size-sm); }
.tk-comply li::marker { color: var(--color-accent); }
.tk-videocard {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--radius-lg); overflow: hidden; background: #0f2226; color: inherit; font: inherit; text-align: left;
}
.tk-videocard__art { border-radius: inherit; justify-content: flex-start; transition: transform var(--dur-slow) var(--ease-out); }
.tk-videocard:hover .tk-videocard__art { transform: scale(1.03); }
.tk-videocard__play {
  position: absolute; left: 50%; top: 58%; translate: -50% -50%;
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--color-accent); color: var(--color-ink-900); font-size: 1.6rem;
  box-shadow: 0 0 0 10px rgb(200 240 60 / 0.18);
  transition: transform var(--dur-med) var(--ease-spring), box-shadow var(--dur-med);
}
.tk-videocard:hover .tk-videocard__play { transform: scale(1.1); box-shadow: 0 0 0 16px rgb(200 240 60 / 0.12); }
.tk-videocard__label {
  position: absolute; left: var(--space-4); bottom: var(--space-4);
  padding: 8px 14px; border-radius: var(--radius-pill); background: rgb(8 19 22 / 0.75);
  font-size: var(--font-size-xs); color: var(--color-inverse-fg);
}
.tk-videocard__label b { color: var(--color-accent); margin-right: 6px; }
.tk-videocard .img-placeholder__prompt { max-width: 46ch; font-size: 0.75rem; }

/* ---------------------------------------------------------------- process -- */
.tk-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); counter-reset: step; position: relative; }
.tk-step {
  position: relative; padding: var(--space-5); padding-left: calc(var(--space-5) + 64px);
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med);
}
.tk-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tk-step__ic {
  position: absolute; left: var(--space-5); top: var(--space-5);
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--color-primary); color: var(--color-accent); font-size: 1.25rem;
  transition: transform var(--dur-med) var(--ease-spring);
}
.tk-step:hover .tk-step__ic { transform: scale(1.1) rotate(6deg); }
.tk-step__n {
  position: absolute; right: var(--space-5); top: var(--space-4);
  font: 800 2.25rem/1 var(--font-display); color: var(--color-border); letter-spacing: -0.04em;
}
.tk-step h3 { font-size: var(--font-size-lg); margin-bottom: var(--space-2); padding-right: 3rem; }
.tk-step p { color: var(--color-fg-muted); font-size: var(--font-size-sm); }
.tk-pills { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-3); }
.tk-pills li {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 10px 16px; border-radius: var(--radius-pill);
  background: var(--color-surface-2); border: 1px solid var(--color-border);
  font-size: var(--font-size-sm); font-weight: 600;
}
.tk-pills .tk-icon { color: var(--color-primary-500); }
:root[data-theme="dark"] .tk-pills .tk-icon { color: var(--color-accent); }

/* ---------------------------------------------------------------- results -- */
.tk-results { background: var(--color-surface-2); }
.tk-tabs__list {
  position: relative; display: inline-flex; gap: 4px; padding: 5px; max-width: 100%; overflow-x: auto;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-pill);
  margin-bottom: var(--space-6); scrollbar-width: none;
}
.tk-tabs__tab {
  position: relative; z-index: 1; padding: 12px 22px; min-height: 44px; border: 0; border-radius: var(--radius-pill);
  background: none; color: var(--color-fg-muted); font: 700 var(--font-size-sm)/1 var(--font-body); cursor: pointer;
  white-space: nowrap; transition: color var(--dur-med);
}
.tk-tabs__tab[aria-selected="true"] { color: var(--color-ink-900); }
.tk-tabs__tab:hover { color: var(--color-fg); }
.tk-tabs__tab[aria-selected="true"]:hover { color: var(--color-ink-900); }
.tk-tabs__ink {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0;
  border-radius: var(--radius-pill); background: var(--color-accent);
  transition: transform var(--dur-med) var(--ease-out), width var(--dur-med) var(--ease-out);
}
.tk-tabs__panel { display: grid; gap: var(--space-4); }
.tk-tabs__panel:not([hidden]) { animation: tk-rise 0.5s var(--ease-out) both; }
.tk-tabs__panel[hidden] { display: none; }
.tk-tabs__panel:focus-visible { outline-offset: 6px; }
.tk-metric {
  padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg);
  background: var(--color-surface); border: 1px solid var(--color-border);
  display: flex; flex-direction: column; gap: var(--space-2);
  position: relative; overflow: hidden;
}
.tk-metric::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgb(200 240 60 / 0.35), transparent 70%);
}
.tk-metric b { font: 800 clamp(2.75rem, 2.2rem + 2.4vw, 4rem)/1 var(--font-display); letter-spacing: -0.04em; color: var(--color-primary); }
:root[data-theme="dark"] .tk-metric b { color: var(--color-accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tk-metric b, :root:not([data-theme="light"]) .tk-pills .tk-icon { color: var(--color-accent); } }
.tk-metric span { color: var(--color-fg-muted); font-weight: 600; }

/* ----------------------------------------------------------- testimonials -- */
.tk-carousel { position: relative; }
.tk-carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: var(--space-4);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 4px; overscroll-behavior-x: contain;
}
.tk-carousel__track::-webkit-scrollbar { display: none; }
.tk-quote {
  margin: 0; scroll-snap-align: start; position: relative;
  display: flex; flex-direction: column; gap: var(--space-4);
  padding: var(--space-6) var(--space-5);
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med);
}
.tk-quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tk-quote__mark { position: absolute; right: var(--space-5); top: var(--space-5); width: 44px; height: 44px; color: var(--color-accent); }
.tk-quote__tag {
  align-self: flex-start; padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--color-surface-2); font-size: var(--font-size-xs); font-weight: 700; color: var(--color-fg-muted);
}
.tk-quote blockquote { margin: 0; flex: 1; }
.tk-quote__head { font: 700 var(--font-size-xl)/1.25 var(--font-display); margin-bottom: var(--space-3) !important; }
.tk-quote blockquote p:last-child { color: var(--color-fg-muted); }
.tk-quote figcaption { display: flex; align-items: center; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--color-border); }
.tk-quote figcaption b { display: block; }
.tk-quote figcaption small { color: var(--color-fg-muted); }
.tk-avatar {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--color-accent); color: var(--color-ink-900); font: 800 1rem/1 var(--font-display);
}
.tk-avatar--coral { background: var(--color-secondary); }
.tk-avatar--petrol { background: var(--color-primary); color: var(--color-accent); }
.tk-carousel__nav { display: flex; gap: var(--space-2); }
.tk-iconbtn--light { border-color: var(--color-border); color: var(--color-fg); background: var(--color-surface); }
.tk-iconbtn--light:disabled { opacity: 0.35; cursor: default; pointer-events: none; }
.tk-iconbtn--light:hover { background: var(--color-ink-900); color: var(--color-accent); }
.tk-carousel__dots { display: flex; justify-content: center; gap: 4px; margin-top: var(--space-5); }
.tk-dot { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; padding: 0; }
.tk-dot::before {
  content: ""; width: 10px; height: 10px; border-radius: var(--radius-pill); background: var(--color-mist-200);
  transition: width var(--dur-med) var(--ease-out), background-color var(--dur-med);
}
.tk-dot[aria-current="true"]::before { width: 28px; background: var(--color-primary-500); }
:root[data-theme="dark"] .tk-dot::before { background: var(--color-border); }
:root[data-theme="dark"] .tk-dot[aria-current="true"]::before { background: var(--color-accent); }

/* -------------------------------------------------------------------- faq -- */
.tk-split--faq { align-items: start; }
.tk-accordion { display: grid; gap: var(--space-3); }
.tk-acc {
  border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface);
  transition: border-color var(--dur-med), box-shadow var(--dur-med);
}
.tk-acc[open] { border-color: var(--color-primary-500); box-shadow: var(--shadow-md); }
.tk-acc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-4) var(--space-5); min-height: 56px; border-radius: inherit;
}
.tk-acc summary::-webkit-details-marker { display: none; }
.tk-acc summary h3 { font: 700 var(--font-size-md)/1.4 var(--font-body); letter-spacing: 0; }
.tk-acc__ic {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--color-surface-2); transition: transform var(--dur-med) var(--ease-out), background-color var(--dur-med);
}
.tk-acc[open] .tk-acc__ic { transform: rotate(45deg); background: var(--color-accent); color: var(--color-ink-900); }
.tk-acc__body { padding: 0 var(--space-5) var(--space-5); color: var(--color-fg-muted); }
.tk-acc[open] .tk-acc__body { animation: tk-rise 0.4s var(--ease-out) both; }

/* -------------------------------------------------------------------- cta -- */
.tk-cta { padding-block: 0 var(--space-section); }
.tk-cta__box {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: var(--space-5);
  padding: var(--space-7) var(--space-5);
  border-radius: var(--radius-xl);
  background: linear-gradient(120deg, var(--color-accent) 0%, #dcfb6a 55%, #f4b45e 130%);
  color: var(--color-ink-900);
}
.tk-cta__art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.tk-cta__wave rect { transform-box: fill-box; transform-origin: center; animation: tk-eq 1.4s ease-in-out infinite; }
.tk-cta__wave rect:nth-child(2n) { animation-delay: -0.5s; }
.tk-cta__wave rect:nth-child(3n) { animation-delay: -0.9s; }
.tk-cta .tk-h2 { font-size: var(--font-size-3xl); font-weight: 800; letter-spacing: -0.022em; }
.tk-cta__copy p { margin-top: var(--space-3); font-size: var(--font-size-lg); max-width: 44ch; }
.tk-cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.tk-cta__actions .tk-btn { flex: 1 1 auto; }
.tk-btn--outline-dark { --btn-bg: transparent; --btn-fg: var(--color-ink-900); border-color: var(--color-ink-900); }
.tk-btn--outline-dark:hover { --btn-bg: rgb(8 19 22 / 0.08); box-shadow: none; }
.tk-cta__mail { flex-basis: 100%; color: var(--color-ink-900); font-size: var(--font-size-sm); text-underline-offset: 3px; padding-block: 0.5em; }
:root[data-theme="dark"] .tk-cta .tk-btn--dark { --btn-bg: var(--color-ink-900); --btn-fg: var(--color-white); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tk-cta .tk-btn--dark { --btn-bg: var(--color-ink-900); --btn-fg: var(--color-white); } }

/* ----------------------------------------------------------------- dialog -- */
.tk-dialog {
  width: min(960px, 100% - 2rem); padding: 0; border: 0; border-radius: var(--radius-lg);
  background: #000; color: #fff; overflow: visible;
}
.tk-dialog::backdrop { background: rgb(4 15 18 / 0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tk-dialog[open] { animation: tk-pop 0.35s var(--ease-out); }
.tk-dialog video { width: 100%; border-radius: inherit; aspect-ratio: 16/9; background: #000; }
.tk-dialog__close-form { position: absolute; top: -56px; right: 0; margin: 0; }
.tk-dialog .tk-iconbtn { color: #fff; border-color: rgb(255 255 255 / 0.4); font-size: 1rem; }


/* small phones: stack the about collage and give the video slot room for its prompt */
@media (max-width: 599.98px) {
  .tk-about__visual { padding-bottom: 0; }
  .tk-about__photo { width: 100%; }
  .tk-log { position: relative; width: 94%; margin: -72px 0 0 auto; }
  .tk-about__badge { width: 84px; height: 84px; top: -18px; right: -6px; }
  .tk-about__badge b { font-size: 1.4rem; }
  .tk-videocard__art { --ar: 4/3 !important; }
  .tk-videocard__play { left: auto; top: auto; right: var(--space-4); bottom: var(--space-4); translate: none; width: 52px; height: 52px; font-size: 1.3rem; }
  .tk-videocard__art::before { display: none; }
  .tk-videocard__label { max-width: calc(100% - 100px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tk-cta__art { opacity: 0.35; }
}

/* ===================================================== min-width layouts == */
@media (min-width: 600px) {
  .tk-hero__ctas .tk-btn, .tk-cta__actions .tk-btn { flex: 0 0 auto; }
  .tk-cards { grid-template-columns: repeat(2, 1fr); }
  .tk-steps { grid-template-columns: repeat(2, 1fr); }
  .tk-tabs__panel { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .tk-carousel__track { grid-auto-columns: calc((100% - var(--space-4)) / 2); }
  .tk-cta__box { padding: var(--space-8) var(--space-7); }
}
@media (min-width: 768px) {
  .tk-stats { grid-template-columns: repeat(4, 1fr); }
  .tk-head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .tk-head--row .tk-head__sub { max-width: 38ch; margin: 0; }
}
@media (min-width: 1024px) {
  .tk-hero { padding-bottom: var(--space-9); min-height: min(100svh, 900px); display: flex; align-items: center; }
  .tk-hero__in { grid-template-columns: 1.08fr 1fr; }
  .tk-split { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .tk-split--why { grid-template-columns: 1.05fr 1fr; }
  .tk-split--faq { grid-template-columns: 0.8fr 1.2fr; }
  .tk-split--faq .tk-head { position: sticky; top: calc(var(--header-h) + var(--space-6)); }
  .tk-cards { grid-template-columns: repeat(4, 1fr); }
  .tk-steps { grid-template-columns: repeat(3, 1fr); }
  .tk-steps::before { /* connecting rail */
    content: ""; position: absolute; left: 4%; right: 4%; top: 48px; height: 2px; z-index: -1;
    background: repeating-linear-gradient(90deg, var(--color-border) 0 8px, transparent 8px 16px);
  }
  .tk-carousel__track { grid-auto-columns: calc((100% - 2 * var(--space-4)) / 3); }
  .tk-cta__box { grid-template-columns: 1.2fr 1fr; align-items: center; padding: var(--space-8); }
}
@media (min-width: 1440px) {
  :root { --container: 1280px; }
}

/* ---------------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  .tk-js .tk-reveal, .tk-js .tk-hero__anim, .tk-js .tk-hero__visual,
  .tk-js .tk-reveal .tk-log__rows li { opacity: 1 !important; transform: none !important; animation: none !important; }
  .tk-ticker__track, .tk-logos__track { animation: none !important; }
  .tk-logos__track { flex-wrap: wrap; width: auto; justify-content: center; }
  .tk-logos__track li[aria-hidden="true"], .tk-ticker__list[aria-hidden="true"] { display: none; }
  .tk-ticker__track { width: auto; }
  .tk-ticker__list { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .tk-bubble { opacity: 1 !important; }
  .tk-carousel__track { scroll-behavior: auto; }
}
