/* TANIX business website: extras (v4.0, 2026-11-15). Twelve additions on top of the v3 design; nothing in
   styles.css is changed or removed. Every moving part stops under prefers-reduced-motion. See extras.js. */

.x-glass { position: relative; background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-radius: var(--r); box-shadow: var(--glass-shadow); }
.x-glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--glass-edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.x-off { display: none !important; }

/* The TANIX AI logo (robot in the graduation cap over the TANIX wordmark) on the TaniX Platform card. It has its own
   glow and a transparent background, so it gets no tile corners or box shadow, just a soft light around its shape. */
.bento-logo.bento-logo-ai { align-self: flex-start; object-fit: contain; width: auto; height: 132px; border-radius: 0; box-shadow: none; filter: drop-shadow(0 10px 28px rgba(47, 134, 255, .45)); }
@media (max-width: 640px) { .bento-logo.bento-logo-ai { height: 104px; } }

/* Footer brand (founder 2026-11-15): the TANIX logo big on the left, the line in two rows beside it, the button under
   the line. The first footer column takes the width this needs; the three link columns share the rest. */
.footer-brand { display: flex; align-items: center; gap: 22px; }
.footer-brand .fb-logo { flex: none; display: block; }
.footer-brand .fb-logo img { display: block; width: auto; height: 136px; filter: drop-shadow(0 8px 26px rgba(47, 134, 255, .45)); }
/* Bigger (founder 2026-11-15: "make it bigger"): the line and the button. */
.footer-brand .fb-text p { max-width: none; margin: 0 0 18px; white-space: nowrap; font-size: 19px; line-height: 1.55; color: #c9d6f2; }
@media (min-width: 1200px) {
  /* every column as wide as its longest line, so no link breaks onto a second row; the free space goes between them */
  .footer-grid { grid-template-columns: auto repeat(3, max-content); justify-content: space-between; column-gap: 32px; }
  .footer-grid nav a { white-space: nowrap; }
  /* When the logo and its two rows do not fit beside the links (French, Pidgin), they take their own row (extras.js). */
  .footer-grid.x-stack { grid-template-columns: repeat(3, max-content); justify-content: start; column-gap: 80px; }
  .footer-grid.x-stack .footer-brand { grid-column: 1 / -1; }
}
.footer-brand .fb-text { flex: none; }
/* Narrower: the logo and its two rows get the whole first row, the three link columns sit underneath. */
@media (min-width: 641px) and (max-width: 1199px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-brand .fb-logo img { height: 96px; }
  .footer-brand .fb-text p { white-space: normal; font-size: 14.5px; }
}

/* ONE ROW RULE (founder 2026-11-15: "Any text that's in 2 row should be in one row if it can be in one row").
   styles.css caps every section title block at 720px, which broke titles and subtitles onto a second row while
   the page had 1200px of room. On a computer the block now takes the full width, so a line that fits stays on
   one row; a line longer than the page still wraps, and phones wrap as before. */
@media (min-width: 901px) {
  .section-head:not(.split) { max-width: none; }
  /* Work: the filters sit beside the title, and the subtitle runs the full width underneath on one row. */
  .section-head.split { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; align-items: end; }
  .section-head.split > div:not(.filters) { display: contents; }
  .section-head.split .overline { grid-column: 1; grid-row: 1; justify-self: start; }
  .section-head.split h2 { grid-column: 1; grid-row: 2; }
  .section-head.split .filters { grid-column: 2; grid-row: 2; align-self: center; justify-self: end; }
  .section-head.split .sub { grid-column: 1 / -1; grid-row: 3; }
  /* The four credentials in the hero: each on one row; the cells take the width their words need. */
  .cred-bar { grid-template-columns: repeat(4, auto); justify-content: space-between; padding-left: 14px; padding-right: 14px; }
  .cred-bar li { white-space: nowrap; padding: 4px 12px; gap: 10px; }
  /* When the four do not fit side by side (narrower screens, longer languages), two per line, each still one row. */
  .cred-bar.x-two { grid-template-columns: 1fr 1fr; justify-content: stretch; border-radius: 26px; row-gap: 14px; }
  .cred-bar.x-two li { justify-content: flex-start; }
  .cred-bar.x-two li + li { border-left: 0; }
  /* Two lines that missed one row by a few pixels: the longest title, and the middle package's name. */
  #products-title { font-size: min(4vw, 46px); }
  .package h3 { font-size: 23px; }
}
.x-sec [hidden] { display: none !important; }

/* ---------- 1. The robot reacts: speech bubbles ---------- */
.robot-say.x-talk { animation: x-say .5s var(--ease); }
@keyframes x-say { from { opacity: 0; transform: translateY(8px) scale(.94); } to { opacity: 1; transform: none; } }
.x-dock-say { position: fixed; right: 24px; bottom: 158px; z-index: 60; max-width: 230px; padding: 11px 15px; border-radius: 16px 16px 4px 16px;
  font: 600 14px/1.4 var(--body); color: var(--text); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease); pointer-events: none; }
.x-dock-say.on { opacity: 1; transform: none; }
/* On a phone the bubble would sit on top of the buttons people are trying to press, so it stays off. */
@media (max-width: 700px) { .x-dock-say { display: none; } }

/* ---------- 2. 3D project carousel ---------- */
.x-viewtog { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; margin-left: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.x-viewtog button { border: 0; background: none; color: var(--muted); font: 700 13px var(--body); padding: 7px 13px; border-radius: 999px; cursor: pointer; }
.x-viewtog button.on { background: rgba(47,134,255,.22); color: #fff; }
/* The side laptops lean out past the page on narrower screens: the section stops them at the screen edge. */
#work { overflow-x: clip; }
.x-c3d { --cw: 460px; position: relative; height: 430px; perspective: 1700px; margin-top: 12px; display: none; }
.x-c3d.on { display: block; }
.x-c3d-ring { position: absolute; left: 50%; top: 18px; width: 0; height: 0; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.x-c3d-item { position: absolute; left: calc(var(--cw) / -2); top: 0; width: var(--cw); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.x-c3d-item .x-lap { position: relative; display: block; width: 100%; border: 0; cursor: pointer; border-radius: 16px 16px 6px 6px; padding: 10px 10px 0;
  background: linear-gradient(180deg, #1b2a4a, #0d1630); box-shadow: 0 30px 70px rgba(0,6,28,.6), inset 0 1px 0 rgba(255,255,255,.18); }
.x-c3d-item .x-lap::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(2,7,22,.55); transition: opacity .6s; pointer-events: none; }
.x-c3d-item.front .x-lap::after { opacity: 0; }
.x-c3d-item.front .x-lap { cursor: zoom-in; }
.x-c3d-item .x-lap img { display: block; width: 100%; height: auto; border-radius: 8px 8px 0 0; }
.x-c3d-item .x-base { height: 14px; margin: 0 -5%; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #2a3a5e, #121c36); }
.x-c3d-item .x-cap { text-align: center; margin-top: 16px; opacity: 0; transition: opacity .5s; }
.x-c3d-item.front .x-cap { opacity: 1; }
.x-c3d-item .x-cap b { display: block; font: 700 20px var(--head); color: #fff; }
.x-c3d-item .x-cap a { font: 600 14px var(--body); color: var(--cyan); }
.x-c3d-nav { position: absolute; top: calc(var(--cw) * .31); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(10,20,45,.78); color: #fff; cursor: pointer; display: grid; place-items: center; z-index: 5; }
.x-c3d-nav.prev { left: 0; } .x-c3d-nav.next { right: 0; }
.x-c3d-nav svg { width: 20px; height: 20px; }
@media (max-width: 700px) {
  .x-c3d { perspective: 1000px; overflow: hidden; margin-left: -16px; margin-right: -16px; }
  .x-c3d-nav { width: 40px; height: 40px; } .x-c3d-nav.prev { left: 8px; } .x-c3d-nav.next { right: 8px; }
  .x-viewtog { margin-left: 0; }
  .x-c3d-item .x-cap b { font-size: 17px; }
}

/* ---------- 3. Scroll-drawn timeline ---------- */
.steps.x-tl { position: relative; }
.x-tl-line { position: absolute; left: 11%; right: 11%; top: 58px; height: 3px; border-radius: 3px; background: rgba(140,190,255,.18); z-index: 2; pointer-events: none; }
.x-tl-line i { position: relative; display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 16px rgba(111,220,255,.8); }
.x-tl-line i::after { content: ""; position: absolute; top: 50%; left: 100%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 18px 4px rgba(111,220,255,.9); }
.steps.x-tl .step-ic { position: relative; z-index: 3; transition: box-shadow .5s; }
.steps.x-tl .step-num { transition: color .5s; }
.steps.x-tl .step.x-lit .step-ic { box-shadow: 0 0 0 1px rgba(111,220,255,.6), 0 0 28px rgba(111,220,255,.55); }
.steps.x-tl .step.x-lit .step-num { color: var(--cyan); }
@media (max-width: 900px) { .x-tl-line { display: none; } }

/* ---------- 4. Page-to-page transitions (cross-document view transitions; also in legal.css) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: x-vt-out .38s var(--ease) both; }
::view-transition-new(root) { animation: x-vt-in .5s var(--ease) both; }
@keyframes x-vt-out { to { opacity: 0; transform: scale(.985); filter: blur(6px); } }
@keyframes x-vt-in { from { opacity: 0; transform: scale(1.015); filter: blur(6px); } }

/* ---------- 5. Headline write-on reveal (once). A soft edge sweeps left to right; the text itself is never
   split, so gradient lettering (the hero name) keeps its colours. ---------- */
@property --m { syntax: '<percentage>'; inherits: false; initial-value: -15%; }
.x-sweep { -webkit-mask-image: linear-gradient(100deg, #000 calc(var(--m) - 14%), transparent var(--m)); mask-image: linear-gradient(100deg, #000 calc(var(--m) - 14%), transparent var(--m));
  animation: x-sweep 1.5s var(--ease) forwards; }
.x-sweep.x-done { -webkit-mask-image: none; mask-image: none; animation: none; }
@keyframes x-sweep { to { --m: 130%; } }
.x-pre { opacity: 0; }

/* ---------- 6. Magnetic buttons + ripple ---------- */
.x-mag { transition: transform .25s var(--ease); will-change: transform; }
.x-rel { position: relative; overflow: hidden; }
.x-ripple { position: absolute; border-radius: 50%; pointer-events: none; background: rgba(255,255,255,.55); transform: scale(0); animation: x-rip .7s ease-out forwards; }
@keyframes x-rip { to { transform: scale(1); opacity: 0; } }

/* ---------- shared section shell for 7-11 ---------- */
.x-sec .x-grid2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .x-sec .x-grid2 { grid-template-columns: 1fr; } }
.x-pad { padding: 26px; }
@media (max-width: 640px) { .x-pad { padding: 18px; } }
.x-lbl { font: 700 13px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin: 0 0 10px; }
.x-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.x-chip { border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--muted); font: 700 14px var(--body); padding: 10px 14px; border-radius: 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.x-chip svg { width: 16px; height: 16px; flex: none; }
.x-chip.on { border-color: rgba(111,220,255,.7); background: rgba(47,134,255,.2); color: #fff; box-shadow: 0 0 22px rgba(47,134,255,.25); }
.x-range { width: 100%; accent-color: var(--blue); margin: 4px 0 4px; }
.x-row { display: flex; justify-content: space-between; color: var(--muted); font: 600 14px var(--body); }
.x-row b { color: #fff; }
.x-note { font: 500 12.5px/1.5 var(--body); color: var(--dim); margin-top: 12px; }
.x-note.x-tight { margin: 2px 0 0; }
.x-mt { margin-top: 20px; }

/* ---------- 7. Price estimate ---------- */
.x-est { text-align: center; position: sticky; top: calc(var(--header-h) + 34px); }
.x-esthead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.x-esthead .x-lbl { margin: 0; }
.x-cur { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.x-cur button { border: 0; background: none; color: var(--muted); font: 700 13px var(--body); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.x-cur button.on { background: var(--yellow); color: #111; }
.x-cur button[hidden] { display: none; }
.x-est .x-amt { white-space: nowrap; font: 800 clamp(28px, 3.3vw, 44px)/1.08 var(--head); letter-spacing: -.02em; background: linear-gradient(96deg, #fff, var(--cyan) 60%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 10px 0 4px; }
.x-est .x-alt { color: var(--cyan); font: 700 15px var(--body); min-height: 1.2em; }
.x-est .x-wk { color: var(--muted); font: 600 15px var(--body); margin: 4px 0 18px; }
.x-est ul { list-style: none; padding: 0; margin: 0 0 20px; text-align: left; display: grid; gap: 8px; }
.x-est li { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font: 600 14px var(--body); padding-bottom: 8px; border-bottom: 1px dashed rgba(140,190,255,.16); }
.x-est li b { color: #fff; font-weight: 700; white-space: nowrap; }
@media (max-width: 900px) { .x-est { position: static; } }

/* ---------- 8. Try the AI ---------- */
.x-ai-form { display: grid; gap: 12px; }
.x-ai-form .x-lbl { margin: 0; }
.x-ai-form input { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(3,10,30,.55); color: #fff; font: 600 15px var(--body); }
.x-ai-out { min-height: 330px; overflow: hidden; padding: 0; }
.x-ai-bar { display: flex; gap: 6px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.x-ai-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.x-ai-bar span { margin-left: 10px; font: 600 12.5px var(--body); color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-ai-page { padding: 26px; }
.x-ai-page h4 { font: 800 clamp(22px, 2.3vw, 30px)/1.15 var(--head); color: #fff; margin: 0 0 10px; letter-spacing: -.015em; }
.x-ai-page .x-ai-sub { color: var(--muted); font: 500 16px/1.5 var(--body); margin: 0 0 18px; }
.x-ai-page .x-ai-cta { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--yellow); color: #111; font: 800 14px var(--body); margin-bottom: 22px; }
.x-ai-page .x-ai-cta:empty { display: none; }
.x-ai-secs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.x-ai-secs div { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.x-ai-secs b { display: block; color: #fff; font: 700 15px var(--body); margin-bottom: 4px; }
.x-ai-secs p { margin: 0; color: var(--muted); font: 500 13.5px/1.45 var(--body); }
.x-ai-page .x-type { border-right: 2px solid var(--cyan); }
.x-ai-wait { display: grid; place-items: center; min-height: 250px; text-align: center; color: var(--muted); font: 600 15px var(--body); }
.x-ai-next { padding: 0 26px 24px; }
@media (max-width: 640px) { .x-ai-secs { grid-template-columns: 1fr; } .x-ai-page { padding: 18px; } .x-ai-next { padding: 0 18px 18px; } }

/* ---------- 9. Plan to live site slider ---------- */
.x-ba { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 16 / 10; user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; }
.x-ba img, .x-ba .x-wire { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.x-ba .x-wire { background: #0b1430; clip-path: inset(0 calc(100% - var(--p, 50%)) 0 0); }
.x-ba .x-wire svg { width: 100%; height: 100%; display: block; }
.x-ba .x-handle { position: absolute; top: 0; bottom: 0; left: var(--p, 50%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 16px rgba(111,220,255,.9); }
.x-ba .x-handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 26px rgba(0,0,0,.45); }
.x-ba .x-handle svg { width: 22px; height: 22px; color: #0b1430; }
.x-ba .x-tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; font: 800 12px var(--body); letter-spacing: .08em; text-transform: uppercase; background: rgba(2,7,22,.75); color: #fff; }
.x-ba .x-tag.l { left: 14px; } .x-ba .x-tag.r { right: 14px; background: rgba(47,134,255,.85); }

/* ---------- 10. Book a call ---------- */
.x-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 16px; }
.x-day { border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 14px; padding: 10px 2px; text-align: center; color: var(--muted); cursor: pointer; font: 700 13px var(--body); }
.x-day b { display: block; font: 800 20px var(--head); color: #fff; margin-top: 2px; }
.x-day.on { border-color: rgba(111,220,255,.7); background: rgba(47,134,255,.2); color: #fff; }
.x-day[disabled] { opacity: .35; cursor: default; }
.x-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; color: var(--muted); font: 600 14px var(--body); }
.x-slot { border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 12px; padding: 11px 4px; color: #fff; font: 700 14px var(--body); cursor: pointer; }
.x-slot.on { background: var(--yellow); color: #111; border-color: var(--yellow); }
.x-tz { text-transform: none; letter-spacing: 0; font-weight: 600; }
.x-book-sum { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.x-book-sum .x-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(47,134,255,.2); }
.x-book-sum .x-ic svg { width: 24px; height: 24px; color: var(--cyan); }
.x-when { color: #fff; font: 700 16px var(--body); }
#x-book form { display: grid; gap: 10px; }
#x-book input { width: 100%; padding: 13px 15px; border-radius: 13px; border: 1px solid var(--line); background: rgba(3,10,30,.55); color: #fff; font: 600 15px var(--body); }
.x-bstat { min-height: 1.5em; color: var(--cyan); font-size: 14px; margin-top: 4px; }
@media (max-width: 640px) { .x-days { gap: 5px; } .x-day { font-size: 11.5px; border-radius: 11px; } .x-day b { font-size: 17px; } .x-slots { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 11. Reviews ---------- */
.x-rev { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.x-rev-track { display: flex; gap: 16px; width: max-content; animation: x-rev 70s linear infinite; padding: 6px 0 10px; }
.x-rev:hover .x-rev-track { animation-play-state: paused; }
@keyframes x-rev { to { transform: translateX(calc(-50% - 8px)); } }
.x-rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.x-rcard { padding: 20px; }
.x-rev-track .x-rcard { width: 340px; flex: none; }
.x-stars { display: flex; gap: 3px; margin-bottom: 10px; }
.x-stars svg { width: 17px; height: 17px; color: var(--yellow); }
.x-rcard p { margin: 0 0 16px; color: var(--text); font: 500 15px/1.55 var(--body); }
.x-who { display: flex; gap: 11px; align-items: center; }
.x-who i { flex: none; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--cyan)); display: grid; place-items: center; font: 800 15px var(--head); color: #fff; font-style: normal; }
.x-who b { display: block; color: #fff; font: 700 14px var(--body); } .x-who small { color: var(--dim); font: 600 12.5px var(--body); }

/* ---------- 12. Language switch ---------- */
.x-lang { position: relative; margin-left: 6px; }
.x-lang > button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: #fff; font: 700 13px var(--body); padding: 8px 11px; border-radius: 999px; cursor: pointer; }
.x-lang > button svg { width: 16px; height: 16px; color: var(--cyan); }
.x-lang ul { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; min-width: 170px; display: none; z-index: 80; background: rgba(8,16,40,.96); }
.x-lang.open ul { display: block; }
.x-lang li button { width: 100%; text-align: left; border: 0; background: none; color: var(--muted); font: 700 14px var(--body); padding: 10px 12px; border-radius: 10px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.x-lang li button:hover, .x-lang li button.on { background: rgba(47,134,255,.2); color: #fff; }
.x-lang li small { color: var(--dim); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .x-sweep { animation: none; -webkit-mask-image: none; mask-image: none; } .x-pre { opacity: 1; }
  .x-rev-track { animation: none; }
  .x-c3d-ring, .x-mag { transition: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* The moving TANIX robot in the AI assistant's header (copilot.js bot3d, robot3d.js icon mode). The flat robot shows
   until it is ready, and stays whenever motion is reduced or WebGL is missing. */
.cp-head .cp-bot { position: relative; flex: none; width: 58px; height: 58px; display: grid; place-items: center; cursor: pointer; }
.cp-head .cp-bot img { width: 46px; height: 46px; transition: opacity .5s; }
.cp-head .cp-bot3d { position: absolute; inset: -10px; width: calc(100% + 20px); height: calc(100% + 20px); opacity: 0; transition: opacity .6s; pointer-events: none; }
.cp-head .cp-bot.has-3d img { opacity: 0; }
.cp-head .cp-bot.has-3d .cp-bot3d { opacity: 1; }

/* ===== Live TANIX user count, About section (live-users.js) ===== */
.live-users { margin-top: 14px; padding: 20px 22px; border-radius: 18px; position: relative; overflow: hidden;
  background: linear-gradient(140deg, rgba(47, 134, 255, .16), rgba(8, 20, 54, .55) 55%, rgba(111, 220, 255, .08));
  border: 1px solid rgba(111, 220, 255, .22); }
.live-users[hidden] { display: none; }
.lu-top { display: flex; align-items: center; gap: 8px; }
.lu-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); animation: lu-pulse 2s infinite; }
.lu-tag { font: 800 11.5px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: #9ff0bd; }
.lu-num { display: block; margin-top: 10px; font: 800 clamp(40px, 6vw, 58px)/1 var(--head); color: var(--yellow); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.lu-num.lu-up { animation: lu-bump .7s ease; }
.about-copy .live-users p.lu-line { margin-top: 8px; font-size: 16.5px; color: #cbd8f4; }
.about-copy .live-users p.lu-sub { margin-top: 6px; font-size: 13px; color: var(--muted); }
@keyframes lu-pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
@keyframes lu-bump { 0% { transform: scale(1); } 35% { transform: scale(1.045); color: #fff; } 100% { transform: scale(1); } }
.lu-num { transform-origin: left center; }
@media (max-width: 560px) { .live-users { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .lu-dot, .lu-num.lu-up { animation: none; } }

/* ===== The moving robot as the logo (robot-logos.js) ===== */
.rlogo { position: relative; display: inline-grid; place-items: center; flex: none; }
.rlogo > img { display: block; transition: opacity .5s; }
.rlogo > canvas { position: absolute; left: 50%; top: 50%; width: 150%; height: 150%; transform: translate(-50%, -50%); opacity: 0; transition: opacity .6s; pointer-events: none; }
.rlogo.has-3d > img { opacity: 0; }
.rlogo.has-3d > canvas { opacity: 1; }
/* Footer: the moving robot above the TANIX word, in place of the flat logo picture. */
.footer-brand .fb-logo { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; }
.footer-brand .fb-logo .rlogo > img { width: 96px; height: auto; filter: drop-shadow(0 8px 26px rgba(47, 134, 255, .45)); }
.footer-brand .fb-logo .brand-word { font-size: 34px; color: #fff; }
@media (max-width: 640px) { .footer-brand .fb-logo .rlogo > img { width: 72px; } .footer-brand .fb-logo .brand-word { font-size: 26px; } }
.nf .rlogo { display: grid; width: max-content; margin: 0 auto 14px; }

/* No glow or shadow behind the logo robot (founder 2026-11-15), also on the flat picture shown without 3D. */
.brand .rlogo > img, .footer-brand .fb-logo .rlogo > img, .about-badge .rlogo > img, .nf .rlogo > img { filter: none; }

.lu-num.fx-odo { display: flex; }

/* ===== The assistant, v5 (copilot.js): tools in the header, action buttons, thumbs, the second screen, tours ===== */
.cp-tool { width: 34px; height: 34px; flex: none; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: #cfe0ff; background: rgba(255, 255, 255, .07); }
.cp-tool:hover, .cp-tool.on { color: var(--yellow); }
.cp-tool .ic, .cp-mini .ic, .cp-vote .ic, .cp-human .ic, .cp-pictag .ic { width: 17px; height: 17px; }
.cp-tool[hidden], .cp-mini[hidden] { display: none; }
.cp-head { gap: 8px; }
.cp-mini { width: 34px; height: 38px; flex: none; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; color: #9fb6e6; border-radius: 10px; }
.cp-mini:hover { color: #fff; } .cp-mini.on { color: var(--yellow); }
.cp-form { padding-left: 8px; }
.cp-pic { display: flex; align-items: center; gap: 10px; margin: 0 12px 6px; padding: 6px 8px; border-radius: 12px; background: rgba(120, 180, 255, .12); font: 700 13px var(--body); color: #dcebff; }
.cp-pic[hidden] { display: none; }
.cp-pic img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; }
.cp-pic span { flex: 1; }
.cp-pic button { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.cp-pic button .ic { width: 14px; height: 14px; }
.cp-pictag { display: inline-flex; align-items: center; gap: 6px; font: 700 12px var(--body); color: #cfe0ff; opacity: .85; }
.cp-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-act { min-height: 36px; padding: 7px 13px; border-radius: 999px; cursor: pointer; font: 700 13px var(--body); color: #dcebff; background: rgba(120, 180, 255, .13); border: 1px solid rgba(160, 200, 255, .3); }
.cp-act:hover { border-color: var(--cyan); color: #fff; }
.cp-act[hidden] { display: none; }
.cp-votes { display: flex; gap: 4px; margin-top: -2px; }
.cp-vote { width: 28px; height: 26px; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; color: #7f93bd; border-radius: 8px; }
.cp-vote:hover:not(:disabled) { color: #fff; } .cp-vote.on { color: var(--yellow); } .cp-vote:disabled { cursor: default; }
.cp-vote .ic { width: 15px; height: 15px; }
.cp-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 16px 0; }
.cp-human { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: none; cursor: pointer; font: 700 13px var(--body); color: var(--cyan); }
.cp-human:hover { color: #fff; }
.cp-key { font: 700 11px var(--body); color: var(--dim); padding: 3px 7px; border-radius: 6px; border: 1px solid rgba(160, 200, 255, .2); }
@media (hover: none) { .cp-key { display: none; } }
.cp-note { margin-top: 6px; }
.cp-chip-tour { background: rgba(255, 214, 10, .14); color: #ffe9a3; }
/* the second screen */
.cp-sheet { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; border-radius: inherit; background: linear-gradient(160deg, #142a63, #06102c); }
.cp-sheet[hidden] { display: none; }
.cp-sheet-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .1); }
.cp-sheet-head b { font: 700 16px var(--head); }
.cp-sheet-body { flex: 1; overflow-y: auto; padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.cp-chatrow { display: flex; align-items: center; gap: 8px; padding: 4px 6px 4px 4px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid transparent; }
.cp-chatrow.on { border-color: rgba(111, 220, 255, .5); }
.cp-chatopen { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 10px; border: 0; background: none; cursor: pointer; color: #eaf1ff; text-align: left; font: 600 14px var(--body); }
.cp-chat-t { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-chatopen small { color: var(--dim); font-size: 11.5px; }
button.cp-chatrow.cp-new { cursor: pointer; color: var(--yellow); font: 700 14px var(--body); padding: 12px 14px; justify-content: flex-start; }
.cp-new .ic { width: 16px; height: 16px; }
.cp-empty, .cp-lead { margin: 4px 2px 6px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.cp-hform { display: flex; flex-direction: column; gap: 10px; }
.cp-hform input, .cp-hform textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(160, 200, 255, .25); background: rgba(2, 8, 28, .55); color: #fff; font: 600 16px var(--body); resize: none; }
.cp-hform input:focus, .cp-hform textarea:focus { outline: 0; border-color: var(--cyan); }
.cp-hstatus { margin: 0; min-height: 1.3em; font: 600 13px var(--body); color: var(--muted); }
.cp-hstatus.err { color: #ffb4b4; }
/* tours */
.cp-spot { position: fixed; z-index: 70; border-radius: 16px; pointer-events: none; box-shadow: 0 0 0 9999px rgba(2, 7, 22, .7), 0 0 0 2px var(--cyan), 0 0 26px rgba(111, 220, 255, .55); transition: top .45s ease, left .45s ease, width .45s ease, height .45s ease; }
.cp-tip { position: fixed; z-index: 71; padding: 16px 16px 14px; border-radius: 16px; background: #0d1f4d; border: 1px solid rgba(160, 200, 255, .35); box-shadow: 0 20px 50px rgba(0, 0, 0, .55); transition: top .45s ease, left .45s ease; }
.cp-tip p { margin: 0 34px 12px 0; font: 600 15px/1.5 var(--body); color: #eaf1ff; }
.cp-tip > .cp-tool { position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; }
.cp-tip-row { display: flex; align-items: center; gap: 8px; }
.cp-tip-row small { margin-right: auto; color: var(--dim); font: 700 12px var(--body); }
@media (prefers-reduced-motion: reduce) { .cp-spot, .cp-tip { transition: none; } }

/* "Thinking" beside the dots while the answer is on its way; a caret while it is typed out (founder 2026-11-15). */
.cp-typing .cp-bubble { display: flex; align-items: center; gap: 5px; }
.cp-think { margin-right: 3px; font: 600 13px var(--body); color: var(--muted); }
.cp-bubble.cp-writing::after { content: ""; display: inline-block; width: 7px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--cyan); animation: cp-caret .9s steps(1) infinite; }
@keyframes cp-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cp-bubble.cp-writing::after { animation: none; } }

/* v5.2: the menu has seven links since "AI Automations" was added. Between the phone menu (920px and under) and a
   full-width computer the links are packed tighter so the bar stays on one row in English, French and Pidgin. */
@media (min-width: 921px) and (max-width: 1240px) {
  .primary-nav { gap: 0; }
  .primary-nav > a:not(.btn) { padding: 8px 9px; font-size: 14px; white-space: nowrap; }
  .primary-nav .nav-cta { padding-inline: 14px; white-space: nowrap; }
}
@media (min-width: 921px) and (max-width: 1060px) {
  .primary-nav > a:not(.btn) { padding: 7px 6px; font-size: 13px; }
  .primary-nav .nav-cta .ic { display: none; }
  .site-header .brand-word { font-size: 22px; }
}

/* v5.5: the assistant's round button shows the moving robot logo (same robot as the header). */
.cp-launch .rlogo > img { width: 42px; height: auto; }
.cp-launch .rlogo > canvas { width: 165%; height: 165%; }
@media (max-width: 640px) { .cp-launch .rlogo > img { width: 37px; } }
/* v5.5.1: no white on the assistant's button (founder: "do you see the white effect or background on the AI copilot?").
   The pale highlight and the white rim of the glass disc are gone: a plain deep-blue disc, and the robot on it. */
.cp-launch, .cp-launch.open { background: radial-gradient(circle at 50% 40%, #12357f, #071a4d 70%, #04102f);
  box-shadow: 0 0 0 1px rgba(90, 150, 255, .35), 0 14px 34px rgba(0, 8, 40, .55), 0 0 26px rgba(47, 134, 255, .35); }
.cp-launch img { filter: none; }
/* v5.5.2: no whitish haze behind the assistant anywhere (founder: "remove the whitish haze behind all the ai copilots").
   Panel header, panel edge, the hint bubble and the phone avatar on /ai-automations lose their white highlights; blue only. */
.cp-head { background: none; box-shadow: inset 0 -1px 0 rgba(90, 150, 255, .22); }
.cp-head img { filter: none; }
.cp-panel { box-shadow: inset 0 0 0 1px rgba(90, 150, 255, .28), 0 30px 80px rgba(0, 4, 24, .7); }
.cp-hint { background: linear-gradient(140deg, #14357e, #0a1f58); box-shadow: 0 0 0 1px rgba(90, 150, 255, .35), 0 12px 30px rgba(0, 8, 40, .5); -webkit-backdrop-filter: none; backdrop-filter: none; }
.cp-hint::before { content: none; }
.aa-phone-av { background: #0c2a6e; box-shadow: none; }
/* The panel was see-through glass, so anything pale behind it (the portrait, the hero robot) showed as a haze: now solid blue. */
.cp-panel { background: linear-gradient(160deg, #142e72, #081a4a 55%, #06102e); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---- Assistant v6 (2026-11-18): confirm cards, the website check, the Project brief checklist ---- */
.cp-card, .cp-brief { align-self: stretch; margin: 2px 0 4px; padding: 12px 14px; border-radius: 14px; background: rgba(120, 180, 255, .09); border: 1px solid rgba(160, 200, 255, .26); display: flex; flex-direction: column; gap: 10px; }
.cp-row .cp-card { margin-top: 4px; }
.cp-card-h, .cp-brief-h { display: flex; align-items: center; gap: 8px; color: #eaf1ff; }
.cp-card-h .ic { width: 18px; height: 18px; color: var(--cyan); flex: none; }
.cp-card-h b, .cp-brief-h b { font: 700 14px var(--body); flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cp-score, .cp-brief-h span { flex: none; font: 700 12px var(--body); color: var(--cyan); padding: 2px 8px; border-radius: 999px; background: rgba(111, 220, 255, .12); }
.cp-card-f { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.cp-card-f input, .cp-card-f select, .cp-card-f textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(160, 200, 255, .25); background: rgba(2, 8, 28, .55); color: #fff; font: 600 15px var(--body); resize: vertical; }
.cp-card-f select option { background: #0a1a42; }
.cp-card-f input:focus, .cp-card-f select:focus, .cp-card-f textarea:focus { outline: 0; border-color: var(--cyan); }
.cp-card-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cp-card-done { margin: 0; font: 600 14px/1.5 var(--body); color: #cfe0ff; }
.cp-card.done { background: rgba(120, 180, 255, .05); }
.cp-card .cp-hstatus:empty { display: none; }
.cp-brief-l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.cp-brief-l li { display: flex; align-items: center; gap: 7px; font: 600 13px/1.3 var(--body); color: var(--dim); }
.cp-brief-l li .ic { width: 16px; height: 16px; flex: none; }
.cp-brief-l li.on { color: #eaf1ff; }
.cp-brief-l li.on .ic { color: var(--cyan); }
.cp-brief .cp-act { align-self: flex-start; }
.cp-forget { align-self: flex-start; margin-bottom: 6px; }
@media (max-width: 380px) { .cp-brief-l { grid-template-columns: 1fr; } }
