/* ==========================================================================
   WiseAI page (wiseai.php)
   Shares tokens/components with home.css and shipmentanalysis.css (--black,
   --amber, Google Sans, .section-chip, .sa-section-header, .button-*,
   .capabilities-grid, .faq-*, .cta-*). Like those files, desktop values are
   authored for the 1150px smart-zoom design width; <=900px is real mobile.
   ========================================================================== */

.wai-page {
  --wai-ink: #210d02;
  --wai-line: #242323;
  --wai-hair: rgba(237, 233, 228, .13);
  --wai-muted: #b3b3b3;
  --wai-card: #111;
  --wai-grad: linear-gradient(286.85deg, #fff 5.25%, #dfba00 29.33%, #ff7d00 90.73%);
  --wai-grad-stage: linear-gradient(-61.33deg, #fff 5.2455%, #dfba00 29.332%, #ff7d00 90.732%);
  --wai-ease: cubic-bezier(.22, 1, .36, 1);
  --wa-font: var(--font);
  background: var(--black);
}

.wai-page h2 em,
.wai-page h1 em { color: var(--amber); font-style: normal; }

/* Shared section shell ---------------------------------------------------- */
.wai-section {
  position: relative;
  padding: 88px 19px 0;
  background: var(--black);
  scroll-margin-top: 24px;   /* anchor jumps (#tour, #guide) clear the sticky header */
}

.wai-head { width: min(720px, 100%); }
.wai-head p:not(.section-chip) { max-width: 560px; }

/* Amber icon tile — same language as .capability-icon / .md-benefit-icon */
.wai-ic {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px 0 8px 8px;
  background: var(--amber);
  color: #171100;
  transition: transform .22s ease, box-shadow .22s ease;
}
.wai-ic svg { width: 17px; height: 17px; }

.wai-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-size: 12.5px;
  font-weight: 500;
  transition: gap .2s ease, color .2s ease;
}
.wai-link::after {
  content: "";
  width: 10px;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10.17 7.63'%3E%3Cpath d='M5.99 7.11L9.17 3.93 5.99.75M9.17 3.93H1' fill='none' stroke='%23F8B204' stroke-width='.95' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Glass button (as on the industry pages) */
.wai-page .button-glass {
  gap: 7px;
  padding: 10px 18px;
  border: 1px solid rgba(237, 237, 237, .26);
  border-radius: 0 12px 12px 12px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(2px);
  color: #fff;
}
.wai-page .button-glass:hover { background: rgba(255, 255, 255, .2); }
.wai-page .button-glass img { display: block; width: 14px; height: 14px; }
.wai-page .button svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.wai-hero .section-chip { margin: 0 auto 22px; }
.wai-dot { display: inline-block; width: 4px; height: 4px; margin: 0 8px; border-radius: 50%; background: var(--amber); }
.wai-hero .sa-hero-copy { max-width: 600px; }
.wai-hero .sa-hero-cta { gap: 14px; flex-wrap: wrap; }
.wai-hero .sa-hero-cta .button { min-height: 40px; padding: 0 18px; font-size: 13px; line-height: 1.2; }

.wai-stage {
  position: relative;
  z-index: 1;
  width: min(1072px, 100%);
  margin: 50px auto 0;
  perspective: 1700px;
}

.wai-stage-card {
  position: relative;
  padding: 40px 72px 26px;
  background: var(--wai-grad-stage);
  transform-origin: 50% 0;
  will-change: transform;
}

.wai-stage-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.wai-stage-grid img {
  position: absolute;
  left: 4.773%;
  top: -13.19%;
  width: 90.679%;
  height: 126.514%;
  max-width: none;
}

.wai-stage-sweep {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.wai-stage-sweep::before {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -30%;
  width: 26%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .34), transparent);
  transform: skewX(-12deg) translateX(-120%);
}
@media (prefers-reduced-motion: no-preference) {
  .wai-stage-sweep::before { animation: wai-sweep 7.5s var(--wai-ease) infinite 1.2s; }
}
@keyframes wai-sweep {
  0% { transform: skewX(-12deg) translateX(-120%); }
  38%, 100% { transform: skewX(-12deg) translateX(620%); }
}

.wai-player {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 14px;
  background: #070707;
  box-shadow: 0 34px 70px -24px rgba(70, 30, 0, .6), 0 0 0 1px rgba(0, 0, 0, .14);
}

.wai-screen { position: relative; aspect-ratio: 16 / 9; background: #070707; }
.wai-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; background: #070707; }
.wai-player.is-full .wai-video { object-fit: contain; }

.wai-full-back {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 13px 0 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 0 10px 10px 10px;
  background: rgba(7, 7, 7, .72);
  backdrop-filter: blur(8px);
  color: #fff;
  font: 500 12px/1 var(--font);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.wai-full-back[hidden] { display: none; }
.wai-full-back:hover { border-color: rgba(248, 178, 4, .6); background: rgba(7, 7, 7, .88); }
.wai-full-back svg { width: 14px; height: 14px; }
.wai-flip { transform: scaleX(-1); }

.wai-player-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: #0c0c0c;
}
.wai-player.is-full .wai-player-bar { display: none; }

.wai-player-toggle {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.wai-player-toggle:hover { border-color: var(--amber); background: rgba(248, 178, 4, .12); }
.wai-player-toggle svg { width: 12px; height: 12px; }
.wai-player-toggle .i-play,
.wai-player.is-paused .wai-player-toggle .i-pause { display: none; }
.wai-player.is-paused .wai-player-toggle .i-play { display: block; }

.wai-chapters {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wai-chapters button {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2px 6px;
  width: 100%;
  padding: 3px 2px 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .5);
  font: 400 11px/1.2 var(--font);
  text-align: left;
  cursor: pointer;
  transition: color .2s ease;
}
.wai-chapters .no { font-size: 9.5px; font-weight: 500; color: rgba(255, 255, 255, .35); font-variant-numeric: tabular-nums; }
.wai-chapters .tt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wai-chapters .fill { grid-column: 1 / -1; height: 2px; margin-top: 5px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.wai-chapters .fill i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #ff7d00, var(--amber)); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.wai-chapters button:hover { color: #fff; }
.wai-chapters button.is-active { color: #fff; }
.wai-chapters button.is-active .no { color: var(--amber); }
.wai-chapters button:focus-visible,
.wai-player-toggle:focus-visible,
.wai-full-back:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* Floating context chips — swap with the film's chapter (wiseai.js) */
.wai-float {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 226px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(248, 178, 4, .4);
  border-radius: 14px 0 14px 14px;
  background: rgba(12, 12, 12, .9);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 44px -10px rgba(0, 0, 0, .55), 0 0 26px rgba(248, 178, 4, .14);
  color: #fff;
  transition: opacity .35s ease, transform .45s var(--wai-ease);
}
.wai-float--a { top: -24px; right: -26px; }
.wai-float--b { bottom: 22px; left: -26px; }
.wai-float.is-swapping { opacity: 0; transform: translateY(8px) scale(.95); }
@media (prefers-reduced-motion: no-preference) {
  .wai-float--a { animation: wai-bob 5s ease-in-out infinite; }
  .wai-float--b { animation: wai-bob 5s ease-in-out infinite -2.5s; }
}
@keyframes wai-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
.wai-float-ic { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 9px 0 9px 9px; background: var(--amber); color: #171100; }
.wai-float-ic svg { width: 17px; height: 17px; }
.wai-float-tx b { display: block; font-size: 12.5px; font-weight: 500; line-height: 1.25; }
.wai-float-tx small { display: block; margin-top: 2px; color: rgba(255, 255, 255, .62); font-size: 10.5px; line-height: 1.3; }
.wai-float-stem { position: absolute; width: 7px; height: 7px; background: var(--amber); box-shadow: 0 0 10px rgba(248, 178, 4, .7); }
.wai-float--a .wai-float-stem { left: -4px; bottom: -4px; }
.wai-float--b .wai-float-stem { right: -4px; top: -4px; }

/* "Try WiseAI" CTA under the video */
.wai-try { position: relative; z-index: 2; display: flex; justify-content: center; margin-top: 22px; }
.wai-try-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 46px;
  padding: 0 20px 0 8px;
  border-radius: 0 15px 15px 15px;
  background: #070707;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 16px 34px -10px rgba(70, 30, 0, .55);
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}
.wai-try-btn:hover { transform: translateY(-2px); background: #111; box-shadow: 0 20px 40px -10px rgba(70, 30, 0, .65); }
.wai-try-btn:focus-visible { outline: 2px solid #070707; outline-offset: 3px; }
.wai-try-ic { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 0 10px 10px 10px; background: var(--amber); color: #171100; }
.wai-try-ic svg { width: 16px; height: 16px; fill: currentColor; stroke-width: 1.4; }
.wai-try-ic i { position: absolute; inset: -4px; border-radius: 0 13px 13px 13px; border: 2px solid var(--amber); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .wai-try-ic i { animation: wai-ping 2.2s ease-out infinite; }
}
@keyframes wai-ping { 0% { opacity: .9; transform: scale(.85); } 70%, 100% { opacity: 0; transform: scale(1.35); } }
.wai-try-arrow { width: 16px; height: 16px; color: var(--amber); transition: transform .22s ease; }
.wai-try-btn:hover .wai-try-arrow { transform: translateX(3px); }

/* Proof strip, attached under the stage */
.wai-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1072px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border: 1px solid var(--wai-line);
  border-top: 0;
  background: #0b0b0b;
}
.wai-proof li { padding: 22px 24px 24px; border-right: 1px solid var(--wai-line); }
.wai-proof li:last-child { border-right: 0; }
.wai-proof b { display: block; color: var(--amber); font-size: 30px; font-weight: 500; line-height: 1.15; }
.wai-proof span { display: block; margin-top: 6px; color: #fff; font-size: 12.5px; line-height: 1.45; }

/* ── Why WiseAI (before / after) ──────────────────────────────────────── */
.wai-shift-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr);
  align-items: stretch;
  width: min(1000px, 100%);
  margin: 50px auto 0;
}
.wai-shift-card { padding: 30px 30px 32px; border-radius: 18px 0 18px 18px; }
.wai-shift-card--old { border: 1px dashed rgba(255, 255, 255, .16); background: #0b0b0b; }
.wai-shift-card--new {
  border: 1px solid transparent;
  background:
    linear-gradient(#111, #111) padding-box,
    linear-gradient(145deg, rgba(248, 178, 4, .95) 0%, rgba(248, 178, 4, .5) 22%, rgba(248, 178, 4, .16) 48%, rgba(255, 255, 255, .06) 100%) border-box;
  box-shadow: 0 0 34px rgba(248, 178, 4, .12), 0 18px 40px rgba(0, 0, 0, .3);
}
.wai-shift-label {
  display: inline-flex;
  margin: 0;
  padding: 5px 9px;
  border: 1px solid var(--wai-hair);
  border-radius: 8px 0 8px 8px;
  color: rgba(255, 255, 255, .55);
  font-size: 11.5px;
}
.wai-shift-card--new .wai-shift-label { border-color: rgba(248, 178, 4, .45); background: rgba(248, 178, 4, .1); color: var(--amber); }
.wai-shift-card h3 { margin: 18px 0 0; color: #fff; font-size: 21px; font-weight: 500; line-height: 1.3; }
.wai-shift-card--old h3 { color: rgba(255, 255, 255, .78); }
.wai-shift-card ul { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.wai-shift-card li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; color: rgba(255, 255, 255, .55); font-size: 13.5px; line-height: 1.45; }
.wai-shift-card--new li { color: #fff; }
.wai-shift-card li svg { width: 16px; height: 16px; margin-top: 2px; color: #6b6b6b; stroke-width: 2.2; }
.wai-shift-card--new li svg { color: var(--amber); }
.wai-shift-link { display: flex; align-items: center; justify-content: center; }
.wai-shift-link .line {
  flex: 1;
  height: 1.5px;
  background-image: repeating-linear-gradient(to right, rgba(255, 255, 255, .22) 0, rgba(255, 255, 255, .22) 3px, transparent 3px, transparent 6px);
}
.wai-shift-link .knob {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--amber);
  color: #171100;
  box-shadow: 0 0 0 6px rgba(248, 178, 4, .14), 0 0 24px rgba(248, 178, 4, .45);
}
.wai-shift-link .knob svg { width: 18px; height: 18px; stroke-width: 2.2; }
@media (prefers-reduced-motion: no-preference) {
  .wai-shift-link .knob { animation: wai-knob 2.6s ease-in-out infinite; }
}
@keyframes wai-knob { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }

/* ── Bordered card grid (home "Platform Capabilities" language) ───────── */
.wai-grid {
  display: grid;
  width: min(1072px, 100%);
  margin: 50px auto 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--wai-line);
  border-left: 1px solid var(--wai-line);
}
.wai-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wai-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wai-grid > li { display: flex; min-width: 0; border-right: 1px solid var(--wai-line); border-bottom: 1px solid var(--wai-line); }
.wai-grid > li.wai-cell { display: block; }
.wai-cell {
  position: relative;
  display: block;
  width: 100%;
  padding: 24px 24px 26px;
  background: rgba(7, 7, 7, .2);
  backdrop-filter: blur(12px);
  transition: background-color .25s ease;
}
.wai-grid > .wai-cell { border-right: 1px solid var(--wai-line); border-bottom: 1px solid var(--wai-line); }
.wai-cell:hover { background: rgba(248, 178, 4, .06); }
.wai-cell:hover .wai-ic,
.wai-cell:hover .wai-num { transform: scale(1.06); box-shadow: 0 6px 14px rgba(248, 178, 4, .28); }
.wai-num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px 0 8px 8px;
  background: var(--amber);
  color: #171100;
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: transform .22s ease, box-shadow .22s ease;
}
.wai-cell h3 { margin: 26px 0 0; color: var(--amber); font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.wai-cell p { margin: 8px 0 0; max-width: 300px; color: #fff; font-size: 12.5px; font-weight: 400; line-height: 1.5; }

/* ── Intelligence engine ──────────────────────────────────────────────── */
.wai-engine-wrap { width: min(1072px, 100%); margin: 50px auto 0; }
.wai-stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.wai-stepper::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 10%;
  right: 10%;
  height: 1.5px;
  background-image: repeating-linear-gradient(to right, rgba(255, 255, 255, .22) 0, rgba(255, 255, 255, .22) 3px, transparent 3px, transparent 6px);
}
.wai-stepper button {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0 4px 14px;
  border: 0;
  background: none;
  color: #fff;
  font: 500 14px/1.2 var(--font);
  text-align: center;
  cursor: pointer;
}
.wai-stepper .ic {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--wai-line);
  border-radius: 14px 0 14px 14px;
  background: #111;
  color: var(--amber);
  transition: background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.wai-stepper .ic svg { width: 23px; height: 23px; }
.wai-stepper .no {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--wai-line);
  border-radius: 50%;
  background: #070707;
  color: rgba(255, 255, 255, .6);
  font-size: 10px;
}
.wai-stepper .lb small { display: block; margin-top: 4px; color: rgba(255, 255, 255, .5); font-size: 11px; font-weight: 400; }
.wai-stepper .tm { position: absolute; left: 22%; right: 22%; bottom: 0; height: 2px; border-radius: 2px; background: var(--wai-line); overflow: hidden; }
.wai-stepper .tm i { display: block; width: 100%; height: 100%; background: var(--amber); transform: scaleX(0); transform-origin: 0 50%; }
.wai-stepper button:hover .ic { border-color: rgba(248, 178, 4, .55); }
.wai-stepper button[aria-selected="true"] .ic { border-color: var(--amber); background: var(--amber); color: #171100; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(248, 178, 4, .32); }
.wai-stepper button[aria-selected="true"] .no { border-color: var(--amber); color: var(--amber); }
.wai-stepper button[aria-selected="true"] .lb { color: var(--amber); }
.wai-stepper button:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 6px; }

.wai-stage-panel {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--wai-line);
  border-radius: 20px 0 20px 20px;
  background: #0e0e0e;
}
.wai-stage-panel[hidden] { display: none; }
.wai-stage-body { display: grid; align-content: center; gap: 14px; padding: 34px 34px 36px; }
.wai-kick { margin: 0; color: var(--amber); font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.wai-stage-body h3 { margin: 0; color: #fff; font-size: 26px; font-weight: 500; line-height: 1.22; }
.wai-stage-body > p { margin: 0; color: var(--wai-muted); font-size: 13.5px; line-height: 1.55; }
.wai-feats { display: grid; gap: 11px; margin: 4px 0 0; padding: 0; list-style: none; }
.wai-feats li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; color: rgba(255, 255, 255, .78); font-size: 13px; line-height: 1.45; }
.wai-feats li svg { width: 16px; height: 16px; margin-top: 1px; color: var(--amber); stroke-width: 2.4; }
.wai-feats li b { color: #fff; font-weight: 500; }
.wai-stage-visual { display: grid; align-items: center; min-width: 0; padding: 26px; background: var(--wai-grad); }
.wai-stage-visual .wa-fit,
.wai-day .vz .dev { border-radius: 12px; box-shadow: 0 20px 50px rgba(60, 30, 0, .35); }
.wai-stage-panel.is-entering .wai-stage-body > * { animation: wai-rise .55s var(--wai-ease) both; }
.wai-stage-panel.is-entering .wai-stage-body > *:nth-child(2) { animation-delay: .05s; }
.wai-stage-panel.is-entering .wai-stage-body > *:nth-child(3) { animation-delay: .1s; }
.wai-stage-panel.is-entering .wai-stage-body > *:nth-child(4) { animation-delay: .15s; }
@keyframes wai-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ── Interactive tour ─────────────────────────────────────────────────── */
.wai-tour-box { width: min(1000px, 100%); margin: 50px auto 0; }
.wai-browser {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: #1c1c1c;
  box-shadow: 0 34px 80px -30px rgba(248, 178, 4, .38);
}
.wai-chrome { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); background: #1b1b1b; }
.wai-chrome .dots { display: flex; gap: 6px; }
.wai-chrome .dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.wai-chrome .addr { flex: 1; max-width: 420px; margin-inline: auto; padding: 4px 12px; border-radius: 7px; background: #2b2b2b; color: #a8a8a8; font-size: 11.5px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wai-screen-tour { position: relative; aspect-ratio: 960 / 600; background: #fbf8f1; }
.wai-screen-tour .wa-fit { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.wai-hot { position: absolute; z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: transparent; cursor: pointer; transition: left .35s ease, top .35s ease; }
.wai-hot::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #ff7d00; box-shadow: 0 0 0 4px rgba(255, 125, 0, .35); }
.wai-hot::after { content: ""; position: absolute; inset: 4px; border: 3px solid #ff7d00; border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .wai-hot::after { animation: wai-ring 1.4s ease-out infinite; }
}
@keyframes wai-ring { 0% { transform: scale(.45); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.wai-hot:focus-visible { outline: 2px solid #ff7d00; outline-offset: 2px; border-radius: 50%; }

/* Pin tooltip: a zero-size anchor at the pin centre; data-side picks where the
   card sits, wiseai.js sets --dx/--dy to keep it inside the screen. Clicking the
   card counts as clicking the pin (it lives inside the button). */
.wai-tip { --tip-gap: 46px; --tip-stem: 30px; position: absolute; left: 50%; top: 50%; width: 0; height: 0; font-family: var(--font); text-align: left; pointer-events: none; }
.wai-tip-stem {
  position: absolute;
  background-image: repeating-linear-gradient(90deg, #f8b204 0, #f8b204 4px, transparent 4px, transparent 7px);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
.wai-tip-stem::after { content: ""; position: absolute; width: 6px; height: 6px; background: #f8b204; box-shadow: 0 0 10px rgba(248, 178, 4, .8); }
.wai-tip-card {
  position: absolute;
  display: block;
  width: 214px;
  padding: 10px 13px 11px;
  border: 1px solid transparent;
  border-radius: 12px 0 12px 12px;
  background:
    linear-gradient(rgba(12, 12, 12, .94), rgba(12, 12, 12, .94)) padding-box,
    linear-gradient(var(--sweep-angle, 120deg), rgba(248, 178, 4, .95), rgba(248, 178, 4, .35) 45%, rgba(255, 255, 255, .12)) border-box;
  box-shadow: 0 18px 38px -8px rgba(0, 0, 0, .55), 0 0 26px rgba(248, 178, 4, .22);
  color: #fff;
  pointer-events: auto;
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s ease .12s, transform .55s cubic-bezier(.34, 1.56, .64, 1) .12s;
}
/* the bright end of the border gradient travels round the card once on entrance */
@property --sweep-angle { syntax: "<angle>"; inherits: false; initial-value: 120deg; }
.wai-tip-float { display: grid; gap: 3px; }
.wai-tip-step { color: var(--amber); font-size: 10px; font-weight: 500; letter-spacing: .08em; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .3s ease .22s; }
.wai-tip-title { color: #fff; font-size: 14px; font-weight: 500; line-height: 1.25; clip-path: inset(0 100% 0 0); transition: clip-path .5s cubic-bezier(.22, 1, .36, 1) .26s; }
.wai-tip-sub { color: rgba(255, 255, 255, .62); font-size: 11.5px; line-height: 1.35; opacity: 0; transform: translateY(4px); transition: opacity .35s ease .4s, transform .45s cubic-bezier(.22, 1, .36, 1) .4s; }

/* placement */
.wai-tip[data-side="right"] .wai-tip-stem { left: 16px; top: -.75px; width: var(--tip-stem); height: 1.5px; transform: scaleX(0); transform-origin: 0 50%; }
.wai-tip[data-side="right"] .wai-tip-stem::after { right: -3px; top: -2.25px; }
.wai-tip[data-side="right"] .wai-tip-card { left: var(--tip-gap); top: 0; transform: translate(-10px, calc(-50% + var(--dy, 0px))) scale(.88); transform-origin: 0 50%; }
.wai-tip[data-side="left"] .wai-tip-stem { right: 16px; top: -.75px; width: var(--tip-stem); height: 1.5px; transform: scaleX(0); transform-origin: 100% 50%; }
.wai-tip[data-side="left"] .wai-tip-stem::after { left: -3px; top: -2.25px; }
.wai-tip[data-side="left"] .wai-tip-card { right: var(--tip-gap); top: 0; transform: translate(10px, calc(-50% + var(--dy, 0px))) scale(.88); transform-origin: 100% 50%; }
.wai-tip[data-side="top"] .wai-tip-stem,
.wai-tip[data-side="bottom"] .wai-tip-stem { left: -.75px; width: 1.5px; height: var(--tip-stem); background-image: repeating-linear-gradient(180deg, #f8b204 0, #f8b204 4px, transparent 4px, transparent 7px); transform: scaleY(0); }
.wai-tip[data-side="top"] .wai-tip-stem { bottom: 16px; transform-origin: 50% 100%; }
.wai-tip[data-side="top"] .wai-tip-stem::after { top: -3px; left: -2.25px; }
.wai-tip[data-side="top"] .wai-tip-card { bottom: var(--tip-gap); left: 0; transform: translate(calc(-50% + var(--dx, 0px)), calc(10px + var(--dy, 0px))) scale(.88); transform-origin: 50% 100%; }
.wai-tip[data-side="bottom"] .wai-tip-stem { top: 16px; transform-origin: 50% 0; }
.wai-tip[data-side="bottom"] .wai-tip-stem::after { bottom: -3px; left: -2.25px; }
.wai-tip[data-side="bottom"] .wai-tip-card { top: var(--tip-gap); left: 0; transform: translate(calc(-50% + var(--dx, 0px)), calc(-10px + var(--dy, 0px))) scale(.88); transform-origin: 50% 0; }

/* entrance: stem draws out, card springs in, title wipes in, sub rises */
.wai-tip.is-in .wai-tip-stem { transform: none; }
.wai-tip.is-in .wai-tip-card { opacity: 1; }
.wai-tip.is-in[data-side="right"] .wai-tip-card { transform: translate(0, calc(-50% + var(--dy, 0px))) scale(1); }
.wai-tip.is-in[data-side="left"] .wai-tip-card { transform: translate(0, calc(-50% + var(--dy, 0px))) scale(1); }
.wai-tip.is-in[data-side="top"] .wai-tip-card,
.wai-tip.is-in[data-side="bottom"] .wai-tip-card { transform: translate(calc(-50% + var(--dx, 0px)), var(--dy, 0px)) scale(1); }
.wai-tip.is-in .wai-tip-step { opacity: 1; }
.wai-tip.is-in .wai-tip-title { clip-path: inset(0 0 0 0); }
.wai-tip.is-in .wai-tip-sub { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .wai-tip.is-in .wai-tip-card { animation: wai-tip-sweep 1.5s cubic-bezier(.22, 1, .36, 1) .3s both; }
  .wai-tip.is-in .wai-tip-float { animation: wai-tip-bob 3.2s ease-in-out 1s infinite; }
}
@keyframes wai-tip-sweep { from { --sweep-angle: -90deg; } to { --sweep-angle: 300deg; } }
@keyframes wai-tip-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
.wai-hot:hover .wai-tip-card { box-shadow: 0 18px 38px -8px rgba(0, 0, 0, .55), 0 0 32px rgba(248, 178, 4, .4); }
.wai-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 7, 7, .86);
  backdrop-filter: blur(3px);
  text-align: center;
}
.wai-overlay[hidden] { display: none; }
.wai-overlay .in { display: grid; justify-items: center; gap: 18px; max-width: 620px; }
.wai-overlay-logo { display: block; width: 132px; height: auto; }
.wai-overlay h3 { margin: 0; color: #fff; font-size: 24px; font-weight: 500; line-height: 1.3; }
.wai-overlay p { margin: 0; color: rgba(255, 255, 255, .7); font-size: 14px; }
.wai-overlay .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.wai-overlay .button { min-height: 38px; gap: 8px; font-size: 13px; cursor: pointer; font-family: var(--font); border: 0; }
.wai-overlay .button-secondary { border: 1px solid rgba(237, 237, 237, .26); color: #fff; }
.wai-caption { display: flex; align-items: center; gap: 18px; padding: 14px 16px 14px 20px; border-radius: 0 0 16px 16px; background: var(--amber); color: #171100; }
.wai-caption p { flex: 1; min-width: 0; margin: 0; font-size: 14px; font-weight: 500; line-height: 1.45; }
.wai-caption .ct { font-size: 12.5px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wai-caption .arrows { display: flex; gap: 8px; }
.wai-caption .arrows button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 0 10px 10px 10px; background: #070707; color: #fff; cursor: pointer; transition: transform .2s ease, background-color .2s ease; }
.wai-caption .arrows button:first-child { border-radius: 10px 0 10px 10px; }
.wai-caption .arrows button:hover:not(:disabled) { transform: translateY(-1px); background: #1d1d1d; }
.wai-caption .arrows button:disabled { opacity: .35; cursor: default; }
.wai-caption .arrows button:focus-visible { outline: 2px solid #070707; outline-offset: 2px; }
.wai-caption .arrows svg { width: 17px; height: 17px; }
.wai-progress { height: 3px; margin: 8px 18px 0; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.wai-progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #ff7d00, var(--amber)); transition: width .3s ease; }
.wai-tour-meta { display: flex; justify-content: center; margin-top: 18px; }
.wai-watch-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 4px;
  border: 0;
  background: none;
  color: var(--amber);
  font: 500 13.5px/1.2 var(--font);
  cursor: pointer;
}
.wai-watch-link svg { width: 22px; height: 22px; padding: 6px; border-radius: 50%; background: rgba(248, 178, 4, .14); fill: currentColor; stroke: none; transition: background-color .2s ease; }
.wai-watch-link:hover { color: #ffc126; }
.wai-watch-link:hover svg { background: rgba(248, 178, 4, .26); }
.wai-watch-link:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* ── Who it's for ─────────────────────────────────────────────────────── */
.wai-who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: min(1072px, 100%); margin: 50px auto 0; }
.wai-who-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px 22px 22px;
  border: 1px solid var(--wai-line);
  border-radius: 18px 0 18px 18px;
  background: #0e0e0e;
  transition: border-color .25s ease, transform .25s ease;
}
.wai-who-card:hover { border-color: rgba(248, 178, 4, .4); transform: translateY(-2px); }
.wai-who-role { display: flex; align-items: center; gap: 10px; margin: 0; color: rgba(255, 255, 255, .62); font-size: 12px; }
.wai-who-card h3 { margin: 0; color: #fff; font-size: 17px; font-weight: 500; line-height: 1.3; }
.wai-ft { display: grid; gap: 6px; }
.wai-ft p { display: grid; grid-template-columns: 38px 1fr; align-items: baseline; gap: 8px; margin: 0; padding: 9px 11px; border-radius: 10px 0 10px 10px; font-size: 12.5px; line-height: 1.4; }
.wai-ft small { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.wai-ft .f { border: 1px dashed rgba(255, 255, 255, .14); background: #0a0a0a; color: rgba(255, 255, 255, .5); }
.wai-ft .t { border: 1px solid rgba(248, 178, 4, .45); background: rgba(248, 178, 4, .08); color: #fff; }
.wai-ft .t small { color: var(--amber); }

/* ── A day with WiseAI ────────────────────────────────────────────────── */
.wai-day-wrap { display: grid; grid-template-columns: 282px minmax(0, 1fr); gap: 20px; width: min(1072px, 100%); margin: 50px auto 0; }
.wai-tl { position: relative; display: grid; align-content: start; gap: 6px; }
.wai-tl::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 21px;
  width: 1.5px;
  background-image: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .22) 0, rgba(255, 255, 255, .22) 3px, transparent 3px, transparent 6px);
}
.wai-tl button {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 10px 0;
  border: 1px solid transparent;
  border-radius: 14px 0 14px 14px;
  background: none;
  color: #fff;
  font: 500 14px/1.3 var(--font);
  text-align: left;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.wai-tl .dt { z-index: 1; justify-self: center; width: 12px; height: 12px; border: 2px solid var(--amber); background: #070707; transition: transform .2s ease, background-color .2s ease; }
.wai-tl .tm { display: block; margin-bottom: 2px; color: var(--amber); font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; }
.wai-tl small { display: block; margin-top: 2px; color: rgba(255, 255, 255, .5); font-size: 11.5px; font-weight: 400; }
.wai-tl button:hover { background: #111; }
.wai-tl button[aria-selected="true"] { border-color: rgba(248, 178, 4, .5); background: rgba(248, 178, 4, .08); }
.wai-tl button[aria-selected="true"] .dt { background: var(--amber); transform: scale(1.2); box-shadow: 0 0 10px rgba(248, 178, 4, .7); }
.wai-tl button:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.wai-day-stage {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  min-height: 486px;
  overflow: hidden;
  border: 1px solid var(--wai-line);
  border-radius: 20px 0 20px 20px;
  background: #0e0e0e;
}
.wai-day-stage[hidden] { display: none; }
.wai-day-stage .tx { display: grid; align-content: center; gap: 14px; padding: 32px; }
.wai-day-stage .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wai-day-stage .chips span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--wai-hair); border-radius: 8px 0 8px 8px; color: rgba(255, 255, 255, .7); font-size: 11.5px; }
.wai-day-stage .chips svg { width: 13px; height: 13px; color: var(--amber); }
.wai-day-stage h3 { margin: 0; color: #fff; font-size: 24px; font-weight: 500; line-height: 1.22; }
.wai-day-stage .tx > p { margin: 0; color: var(--wai-muted); font-size: 13.5px; line-height: 1.55; }
.wai-day-stage .tx > p.res { padding: 6px 0 6px 14px; border-left: 3px solid var(--amber); color: #fff; font-size: 13.5px; }
.wai-day-stage .res small { display: block; margin-bottom: 3px; color: var(--amber); font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.wai-day-stage .vz { position: relative; display: grid; place-items: center; padding: 24px; overflow: hidden; background: var(--wai-grad); }
.wai-day-stage.is-entering .tx > * { animation: wai-rise .5s var(--wai-ease) both; }

/* Day devices (laptop / phone) — ported from the WiseAI design source */
.dev { color: #1e1e1e; font-family: var(--wa-font); }
@media (prefers-reduced-motion: no-preference) { .dev { animation: wai-dev-in .5s ease both; } }
@keyframes wai-dev-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.dev.lap { width: 100%; max-width: 470px; box-shadow: none !important; }
.dev.lap .scr { padding: 10px 10px 0; border-radius: 14px 14px 0 0; background: #111; box-shadow: 0 24px 50px rgba(60, 30, 0, .35); }
.dev.lap .base { position: relative; height: 14px; margin: 0 -18px; border-radius: 0 0 14px 14px; background: linear-gradient(#d9d4c8, #b9b3a6); }
.dev.lap .base::after { content: ""; position: absolute; left: 50%; top: 0; width: 70px; height: 5px; border-radius: 0 0 6px 6px; background: #a39d90; transform: translateX(-50%); }
.dev.ph2 { width: 232px; padding: 9px; border-radius: 34px; background: #111; box-shadow: 0 24px 50px rgba(60, 30, 0, .4), inset 0 0 0 2px #333 !important; }
.dev.ph2 .app2 { position: relative; min-height: 418px; padding-top: 32px; border-radius: 26px; }
.dev.ph2 .app2::before { content: ""; position: absolute; top: 9px; left: 50%; width: 70px; height: 18px; border-radius: 10px; background: #111; transform: translateX(-50%); }
.app2 { display: grid; align-content: start; gap: 9px; padding: 12px; border-radius: 6px 6px 0 0; background: #fbf8f1; font-size: 11px; line-height: 1.4; }
.app2 .hd { display: flex; align-items: center; gap: 7px; }
.app2 .hd .wai-logo-dark { display: block; width: auto; height: 17px; }
.app2 .hd .sp { margin-left: auto; padding: 2px 8px; border: 1px solid #ece6d8; border-radius: 999px; background: #fff; color: #8a8478; font-size: 9.5px; white-space: nowrap; }
.app2 .q { justify-self: end; max-width: 88%; padding: 7px 10px; border-radius: 12px 12px 3px 12px; background: #1e1e1e; color: #fff; }
.app2 .q .wv2 { display: inline-flex; align-items: center; gap: 2px; margin-right: 6px; vertical-align: middle; }
.app2 .q .wv2 b { width: 2.5px; border-radius: 2px; background: var(--amber); }
.app2 .a { display: grid; gap: 8px; padding: 10px; border: 1px solid #ece6d8; border-radius: 12px; background: #fff; }
.app2 .hl2 { padding: 7px 9px; border-left: 3px solid var(--amber); border-radius: 6px; background: #fff4d6; font-size: 11.5px; font-weight: 500; }
.app2 ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.app2 li { display: grid; grid-template-columns: 8px 1fr; align-items: baseline; gap: 7px; color: #444; }
.app2 li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.app2 .ch { display: flex; align-items: flex-end; gap: 6px; height: 84px; padding-top: 4px; border-bottom: 1px solid #ece6d8; }
.app2 .ch div { flex: 1; display: grid; align-content: end; justify-items: center; gap: 3px; height: 100%; }
.app2 .ch span { display: block; width: 100%; border-radius: 4px 4px 0 0; background: linear-gradient(var(--amber), #ff7d00); transform-origin: bottom; }
.app2 .ch span.dim { background: #e7e1d3; }
.app2 .ch span.neg { background: #d9473f; }
.app2 .ch em { color: #8a8478; font-size: 8.5px; font-style: normal; }
.app2 .ln2 { width: 100%; height: 90px; }
@media (prefers-reduced-motion: no-preference) {
  .app2 .q { animation: wai-pop .4s .2s ease both; }
  .app2 .a { animation: wai-pop .45s .55s ease both; }
  .app2 .q .wv2 b { animation: wai-wave 1s ease-in-out infinite; }
  .app2 .ch span { animation: wai-grow .6s ease both; }
  .app2 .ln2 path.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: wai-draw 1.2s .8s ease forwards; }
}
@keyframes wai-pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes wai-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes wai-draw { to { stroke-dashoffset: 0; } }
@keyframes wai-wave { 0%, 100% { height: 6px; } 50% { height: 14px; } }

/* ── Built into your working day ──────────────────────────────────────── */
.wai-wday-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: min(1072px, 100%); margin: 50px auto 0; }
.wai-wcard {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: hidden;
  padding: 12px 12px 22px;
  border: 1px solid var(--wai-line);
  border-radius: 20px 0 20px 20px;
  background: #0e0e0e;
  transition: border-color .25s ease;
}
.wai-wcard:hover { border-color: rgba(248, 178, 4, .4); }
.wai-wcard-head { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 0 10px; }
.wai-wcard-head h3 { margin: 0; color: #fff; font-size: 16px; font-weight: 500; line-height: 1.3; }
.wai-wcard > p { margin: 0; padding: 0 10px; color: var(--wai-muted); font-size: 12.5px; line-height: 1.55; }

.wv {
  position: relative;
  display: grid;
  place-items: center;
  height: 232px;
  overflow: hidden;
  border-radius: 12px 0 12px 12px;
  background: var(--wai-grad);
  color: #1e1e1e;
  font-family: var(--wa-font);
}
.wv .pn { width: 84%; padding: 12px 14px; border-radius: 12px; background: #fbf8f1; box-shadow: 0 12px 30px rgba(60, 30, 0, .25); font-size: 12px; line-height: 1.45; }
.wv .hd { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; }
.wv .hd small { display: block; color: #777; font-size: 10.5px; font-weight: 400; }
.wv .bdg { flex: none; display: grid; place-items: center; width: 22px; height: 22px; }
.wv .bdg svg, .wvp-notif-bdg svg, .wvp-answer-bdg svg { display: block; width: 100%; height: 100%; }
.wv .tm2 { margin-left: auto; color: #999; font-size: 10.5px; font-weight: 400; }
.wv .ln { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.wv .ln i { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.wv .spark { display: block; width: 100%; height: 34px; margin-top: 8px; }
.wv .stack { display: grid; gap: 8px; width: 84%; }
.wv .toast { padding: 9px 12px; border-left: 4px solid #ff7d00; border-radius: 12px; background: #fbf8f1; box-shadow: 0 10px 24px rgba(60, 30, 0, .25); font-size: 11.5px; }
.wv .toast b { display: block; font-size: 12px; font-weight: 500; }
.wv .toast.g { border-left-color: #1f9d63; }
.wv .pn--voice { text-align: center; }
.wv .wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 46px; margin: 6px 0 10px; }
.wv .wave i { width: 5px; height: 8px; border-radius: 3px; background: #ff7d00; }
.wv .mic { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto; border-radius: 50%; background: var(--amber); color: #111; }
.wv .mic svg { width: 22px; height: 22px; }
.wv .typ { display: inline-block; overflow: hidden; vertical-align: bottom; white-space: nowrap; border-right: 2px solid #ff7d00; }
.wv .files { display: flex; gap: 10px; margin-top: 10px; }
.wv .file { flex: 1; padding: 8px 6px; border: 1px solid #ece6d8; border-radius: 9px; background: #fff; font-size: 10.5px; text-align: center; }
.wv .file b { display: block; width: 30px; height: 22px; margin: 0 auto 4px; border-radius: 5px; color: #fff; font-size: 9px; font-weight: 600; line-height: 22px; }
.wv .bars { display: flex; align-items: flex-end; gap: 5px; height: 40px; margin-top: 8px; }
.wv .bars i { flex: 1; border-radius: 3px 3px 0 0; background: var(--amber); }
.wv .gl { display: grid; gap: 7px; margin-top: 8px; }
.wv .gr { display: grid; grid-template-columns: 1fr 18px 1.3fr; align-items: center; gap: 6px; font-size: 11px; }
.wv .gr span { padding: 5px 8px; border: 1px solid #ece6d8; border-radius: 8px; background: #fff; }
.wv .gr span:first-child { border-color: #f8de9a; background: #fff4d6; font-weight: 500; }
.wv .gr em { color: #ff7d00; font-style: normal; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .wv .ln, .wv .gr { opacity: 0; animation: wv-in 6s infinite; }
  .wv .ln:nth-of-type(3), .wv .gr:nth-child(2) { animation-delay: .5s; }
  .wv .ln:nth-of-type(4), .wv .gr:nth-child(3) { animation-delay: 1s; }
  .wv .spark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: wv-draw 6s infinite; }
  .wv .toast { opacity: 0; animation: wv-toast 7s infinite; }
  .wv .toast:nth-child(2) { animation-delay: .9s; }
  .wv .toast:nth-child(3) { animation-delay: 1.8s; }
  .wv .wave i { animation: wv-wave 1.1s ease-in-out infinite; }
  .wv .mic { animation: wv-mic 1.6s infinite; }
  .wv .typ { max-width: 0; animation: wv-type 6s steps(30) infinite; }
  .wv .file { opacity: 0; animation: wv-file 6s infinite; }
  .wv .file:nth-child(2) { animation-delay: .4s; }
  .wv .file:nth-child(3) { animation-delay: .8s; }
  .wv .bars i { transform-origin: bottom; animation: wv-bars 6s ease infinite; }
  .wai-paused .wv *, .wai-paused .wv { animation-play-state: paused !important; }
}
@keyframes wv-in { 0%, 4% { opacity: 0; transform: translateY(6px); } 12%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes wv-draw { 0%, 30% { stroke-dashoffset: 1; } 55%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes wv-toast { 0%, 3% { opacity: 0; transform: translateX(30px); } 10%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateX(-10px); } }
@keyframes wv-wave { 0%, 100% { height: 8px; } 50% { height: 40px; } }
@keyframes wv-mic { 0% { box-shadow: 0 0 0 0 rgba(255, 125, 0, .55); } 100% { box-shadow: 0 0 0 18px rgba(255, 125, 0, 0); } }
@keyframes wv-type { 0%, 10% { max-width: 0; } 55%, 100% { max-width: 100%; } }
@keyframes wv-file { 0%, 8% { opacity: 0; transform: translateY(14px) scale(.9); } 20%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes wv-bars { 0%, 6% { transform: scaleY(.15); } 24%, 92% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }

/* "Mobile friendly" phone — stepped by wiseai.js through cumulative is-s1…is-s7 classes */
.wv--phone { place-items: start center; perspective: 900px; }
.wvp { position: absolute; inset: 0; }
.wvp-glow { position: absolute; left: 50%; top: 56%; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .65), rgba(255, 255, 255, 0)); opacity: .55; }
.wvp-cam { position: absolute; left: 50%; top: 18px; width: 176px; margin-left: -88px; transition: transform 1.1s var(--wai-ease); }
.wvp-phone { width: 176px; padding: 7px; border-radius: 30px; background: #111; box-shadow: 0 26px 46px -8px rgba(60, 30, 0, .5), inset 0 0 0 2px #333; transform: rotateX(8deg) rotateY(-10deg) rotateZ(1deg); transition: transform 1.1s var(--wai-ease); }
.wvp-screen { position: relative; height: 344px; overflow: hidden; border-radius: 24px; background: #fbf8f1; font-family: var(--wa-font); color: #1e1e1e; }
.wvp-status { display: flex; align-items: center; justify-content: space-between; height: 24px; padding: 0 14px; font-size: 8px; font-weight: 500; }
.wvp-island { position: absolute; left: 50%; top: 6px; width: 52px; height: 14px; margin-left: -26px; border-radius: 10px; background: #111; }
.wvp-sig { display: flex; align-items: flex-end; gap: 1.5px; height: 7px; }
.wvp-sig i { width: 2px; background: #1e1e1e; border-radius: 1px; }
.wvp-sig i:nth-child(1) { height: 3px; } .wvp-sig i:nth-child(2) { height: 5px; } .wvp-sig i:nth-child(3) { height: 7px; }
.wvp-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 12px 8px; }
.wvp-top .wai-logo-dark { display: block; width: auto; height: 15px; }
.wvp-live { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 999px; background: #fff; border: 1px solid #ece6d8; color: #6b6b6b; font-size: 7.5px; }
.wvp-live i { width: 5px; height: 5px; border-radius: 50%; background: #1f9d63; box-shadow: 0 0 0 0 rgba(31, 157, 99, .6); }
.wvp-view { position: relative; height: 240px; overflow: hidden; }
.wvp-feed { display: grid; gap: 7px; padding: 0 10px; transition: transform .9s var(--wai-ease); }
.wvp-kpi { position: relative; overflow: hidden; padding: 10px 11px 8px; border-radius: 13px; background: linear-gradient(140deg, #f8b204, #ff7d00); color: #2a1d00; }
.wvp-kpi small { display: block; font-size: 7.5px; letter-spacing: .06em; text-transform: uppercase; }
.wvp-kpi b { display: block; font-size: 21px; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; }
.wvp-kpi span { display: block; font-size: 8.5px; }
.wvp-spark { position: absolute; right: 9px; bottom: 9px; width: 64px; height: 22px; }
.wvp-spark path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.wvp-shine { position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-14deg); opacity: 0; }
.wvp-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.wvp-mini div { padding: 6px 8px; border: 1px solid #ece6d8; border-radius: 10px; background: #fff; }
.wvp-mini small { display: block; color: #777; font-size: 6.8px; letter-spacing: .05em; text-transform: uppercase; }
.wvp-mini b { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wvp-card { padding: 7px 9px; border: 1px solid #ece6d8; border-radius: 10px; background: #fff; font-size: 8.5px; }
.wvp-card b { display: block; font-size: 9px; font-weight: 500; }
.wvp-card span { color: #777; }
.wvp-alert { border-left: 3px solid #ff7d00; }
.wvp-bars { display: flex; align-items: flex-end; gap: 3px; height: 22px; margin-top: 5px; }
.wvp-bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 2px 2px 0 0; background: linear-gradient(#f8b204, #ff7d00); transform-origin: bottom; }
.wvp-notif { position: absolute; z-index: 3; left: 8px; right: 8px; top: 26px; display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 12px; background: rgba(255, 255, 255, .96); box-shadow: 0 10px 24px rgba(30, 20, 0, .22); border-left: 3px solid #ff7d00; font-size: 8px; line-height: 1.3; transform: translateY(-140%); opacity: 0; transition: transform .6s var(--wai-ease), opacity .4s ease; }
.wvp-notif b { display: block; font-size: 7px; font-weight: 500; color: #ff7d00; text-transform: uppercase; letter-spacing: .05em; }
.wvp-notif-bdg, .wvp-answer-bdg { flex: none; width: 18px; height: 18px; }
.wvp-answer { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 58px; display: flex; align-items: flex-start; gap: 6px; padding: 7px 8px; border: 1px solid #ece6d8; border-radius: 11px 11px 11px 3px; background: #fff; font-size: 8.5px; line-height: 1.35; opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .45s ease, transform .55s var(--wai-ease); }
.wvp-answer b { color: #ff7d00; font-weight: 600; }
.wvp-ask { position: absolute; left: 9px; right: 9px; bottom: 12px; display: flex; align-items: center; gap: 5px; min-height: 36px; padding: 5px 4px 5px 10px; border: 1.5px solid #f8b204; border-radius: 11px; background: #fff; color: #1e1e1e; font-size: 8.5px; }
.wvp-q { flex: 1; min-width: 0; line-height: 1.3; }
.wvp-caret { display: inline-block; width: 1.5px; height: 10px; margin-left: 1px; vertical-align: -1px; background: #ff7d00; opacity: 0; }
.wvp-mic { display: grid; place-items: center; width: 20px; height: 20px; color: #777; }
.wvp-mic svg { width: 12px; height: 12px; }
.wvp-send { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: #f8b204; color: #111; }
.wvp-send svg { width: 11px; height: 11px; }
.wvp-chip { position: absolute; z-index: 4; left: 12px; top: 78px; padding: 5px 9px; border-radius: 0 9px 9px 9px; background: #070707; color: #fff; font-size: 10.5px; box-shadow: 0 10px 22px rgba(60, 30, 0, .35); opacity: 0; transform: translateX(-10px); transition: opacity .45s ease, transform .55s var(--wai-ease); }
.wvp-chip b { color: #5fd39a; font-weight: 500; }
.wvp-bell { position: absolute; z-index: 4; right: 16px; top: 34px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #070707; color: var(--amber); box-shadow: 0 10px 22px rgba(60, 30, 0, .35); opacity: 0; transform: scale(.6); transition: opacity .35s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.wvp-bell svg { width: 16px; height: 16px; }
.wvp-bell i { position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--amber); opacity: 0; }

/* Phone states (JS adds is-s1…is-s7 cumulatively; is-s0 = freshly reset) */
.wvp.is-run .wvp-kpi,
.wvp.is-run .wvp-mini div,
.wvp.is-run .wvp-branch,
.wvp.is-run .wvp-alert { opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .5s ease, transform .6s var(--wai-ease); }
.wvp.is-run .wvp-spark path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s ease; }
.wvp.is-run .wvp-bars i { transform: scaleY(.1); transition: transform .7s var(--wai-ease); }
.wvp.is-run .wvp-typed { visibility: hidden; }
.wvp.is-s1 .wvp-kpi { opacity: 1; transform: none; }
.wvp.is-s2 .wvp-mini div { opacity: 1; transform: none; }
.wvp.is-s2 .wvp-mini div:nth-child(2) { transition-delay: .12s; }
.wvp.is-s2 .wvp-chip { opacity: 1; transform: none; }
.wvp.is-s3 .wvp-spark path { stroke-dashoffset: 0; }
.wvp.is-s3 .wvp-shine { animation: wvp-shine 1s ease forwards; }
.wvp.is-s4 .wvp-notif { opacity: 1; transform: none; }
.wvp.is-s4 .wvp-bell { opacity: 1; transform: none; }
.wvp.is-s4 .wvp-bell i { animation: wvp-ping 1.2s ease-out 2; }
.wvp.is-s4 .wvp-phone { animation: wvp-buzz .5s ease .15s; }
.wvp.is-s5 .wvp-notif { opacity: 0; transform: translateY(-140%); }
.wvp.is-s5 .wvp-bell { opacity: 0; transform: scale(.6); }
.wvp.is-s5 .wvp-chip { opacity: 0; transform: translateX(-10px); }
.wvp.is-s5 .wvp-feed { transform: translateY(-96px); }
.wvp.is-s5 .wvp-branch, .wvp.is-s5 .wvp-alert { opacity: 1; transform: none; }
.wvp.is-s5 .wvp-alert { transition-delay: .15s; }
.wvp.is-s5 .wvp-bars i { transform: scaleY(1); }
.wvp.is-s5 .wvp-bars i:nth-child(2) { transition-delay: .06s; } .wvp.is-s5 .wvp-bars i:nth-child(3) { transition-delay: .12s; }
.wvp.is-s5 .wvp-bars i:nth-child(4) { transition-delay: .18s; } .wvp.is-s5 .wvp-bars i:nth-child(5) { transition-delay: .24s; } .wvp.is-s5 .wvp-bars i:nth-child(6) { transition-delay: .3s; }
.wvp.is-s6 .wvp-cam { transform: translateY(-150px); }
.wvp.is-s6 .wvp-phone { transform: rotateX(0deg) rotateY(6deg) rotateZ(-1deg); }
.wvp.is-s6 .wvp-typed { visibility: visible; }
.wvp.is-s6 .wvp-caret { opacity: 1; animation: wvp-blink .9s steps(1) infinite; }
.wvp.is-s7 .wvp-caret { opacity: 0; animation: none; }
.wvp.is-s7 .wvp-send { animation: wvp-press .45s ease; }
.wvp.is-s7 .wvp-answer { opacity: 1; transform: none; transition-delay: .25s; }
.wvp.is-out .wvp-screen > *:not(.wvp-status):not(.wvp-top) { opacity: 0; transition: opacity .45s ease; }
.wvp.is-out .wvp-cam { transform: none; }
.wvp.is-out .wvp-phone { transform: rotateX(8deg) rotateY(-10deg) rotateZ(1deg); }
@keyframes wvp-shine { 0% { opacity: 1; left: -60%; } 100% { opacity: 1; left: 130%; } }
@keyframes wvp-ping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes wvp-buzz { 0%, 100% { translate: 0 0; } 20% { translate: -2px 0; } 40% { translate: 2px 0; } 60% { translate: -2px 0; } 80% { translate: 1px 0; } }
@keyframes wvp-blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
@keyframes wvp-press { 0%, 100% { transform: scale(1); } 40% { transform: scale(.82); box-shadow: 0 0 0 6px rgba(248, 178, 4, .3); } }
@media (prefers-reduced-motion: no-preference) {
  .wvp-live i { animation: wvp-live 1.8s ease-out infinite; }
}
@keyframes wvp-live { 0% { box-shadow: 0 0 0 0 rgba(31, 157, 99, .55); } 100% { box-shadow: 0 0 0 6px rgba(31, 157, 99, 0); } }

/* ── Coverage ─────────────────────────────────────────────────────────── */
.wai-cover-grid > li { display: flex; }
.wai-area { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.wai-area h3 { margin-top: 26px; }
.wai-area p { flex: 1; }
.wai-area .wai-link { margin-top: 18px; }
.wai-area:hover .wai-link { gap: 12px; color: #ffc126; }
.wai-area:focus-visible { outline: 2px solid var(--amber); outline-offset: -2px; }

/* ── Outcomes ─────────────────────────────────────────────────────────── */
.wai-outs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: min(1072px, 100%); margin: 50px auto 0; }
.wai-out {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: hidden;
  padding: 28px 28px 30px;
  border: 1px solid var(--wai-line);
  border-radius: 20px 0 20px 20px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(248, 178, 4, .16), rgba(248, 178, 4, 0) 55%), #0e0e0e;
  transition: border-color .25s ease, transform .25s ease;
}
.wai-out::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--wai-grad); opacity: .9; }
.wai-out:hover { border-color: rgba(248, 178, 4, .4); transform: translateY(-3px); }
.wai-out-no { position: absolute; top: 14px; right: 20px; color: rgba(255, 255, 255, .06); font-size: 64px; font-weight: 500; line-height: 1; }
.wai-out-big { margin: 14px 0 0; color: var(--amber); font-size: 30px; font-weight: 500; line-height: 1.1; }
.wai-out h3 { margin: 0; color: #fff; font-size: 16px; font-weight: 500; line-height: 1.35; }
.wai-out > p:last-child { margin: 0; color: var(--wai-muted); font-size: 13px; line-height: 1.55; }

/* ── Comparison ───────────────────────────────────────────────────────── */
.wai-cmp {
  width: min(1000px, 100%);
  margin: 50px auto 0;
  overflow-x: auto;
  border: 1px solid #353434;
  border-radius: 20px 0 20px 20px;
  background: rgba(17, 16, 16, .4);
  scrollbar-width: thin;
}
.wai-cmp table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 12.5px; }
.wai-cmp th, .wai-cmp td { padding: 15px 18px; border-bottom: 1px solid #2a2929; text-align: left; vertical-align: top; line-height: 1.45; }
.wai-cmp thead th { padding-top: 18px; padding-bottom: 16px; background: #0e0e0e; color: var(--amber); font-size: 13px; font-weight: 500; white-space: nowrap; }
.wai-cmp tbody th { width: 24%; color: #fff; font-weight: 500; }
.wai-cmp td { color: rgba(255, 255, 255, .58); }
.wai-cmp tbody tr:nth-child(even) th, .wai-cmp tbody tr:nth-child(even) td:not(.wai-cmp-us) { background: rgba(207, 207, 207, .03); }
.wai-cmp tr:last-child th, .wai-cmp tr:last-child td { border-bottom: 0; }
.wai-cmp .wai-cmp-us { width: 30%; background: rgba(248, 178, 4, .08); color: #fff; box-shadow: inset 1px 0 0 rgba(248, 178, 4, .45); }
.wai-cmp thead .wai-cmp-us { background: var(--wai-grad); color: var(--wai-ink); font-size: 14px; }
.wai-cmp-ok { display: grid; grid-template-columns: 14px 1fr; gap: 9px; }
.wai-cmp-ok svg { width: 14px; height: 14px; margin-top: 2px; color: var(--amber); stroke-width: 2.6; }
.wai-cmp-hint { display: none; }

/* ── Industries ───────────────────────────────────────────────────────── */
.wai-ind-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  width: min(1072px, 100%);
  margin: 50px auto 0;
  padding: 0;
  list-style: none;
}
.wai-ind-grid > li { display: flex; grid-column: span 3; }
.wai-ind-grid > li:nth-child(-n+3) { grid-column: span 4; }
.wai-ind-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border-top: .64px solid #242323;
  border-radius: 22px 0 22px 22px;
  background: #191919;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .28);
  color: inherit;
  text-decoration: none;
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease, transform .35s var(--wai-ease);
}
.wai-ind-card:hover { border-top-color: rgba(248, 178, 4, .4); background: #1d1d1d; box-shadow: 0 18px 38px rgba(0, 0, 0, .38); transform: translateY(-3px); }
.wai-ind-card:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.wai-ind-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #101010; }
.wai-ind-grid > li:nth-child(n+4) .wai-ind-media { aspect-ratio: 4 / 3; }
.wai-ind-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 7, 7, 0) 45%, rgba(25, 25, 25, .9) 100%); }
.wai-ind-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--wai-ease); }
.wai-ind-card:hover .wai-ind-media img { scale: 1.06; }
.wai-ind-no { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 4px 10px; border-radius: 8px 0 8px 8px; background: rgba(10, 10, 10, .55); backdrop-filter: blur(6px); color: #fff; font-size: 11.5px; font-weight: 500; }
.wai-ind-go.solution-link { position: absolute; top: 14px; right: 14px; z-index: 1; width: 26px; height: 26px; margin: 0; border-radius: 8px 0 8px 8px; }
.wai-ind-card:hover .wai-ind-go { background: #ffc126; transform: translateX(2px); box-shadow: 0 5px 13px rgba(248, 178, 4, .28); }
.wai-ind-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 6px 20px 22px; }
.wai-ind-body h3 { margin: 0; color: #fff; font-size: 17px; font-weight: 500; line-height: 1.3; }
.wai-ind-copy { flex: 1; color: rgba(255, 255, 255, .68); font-size: 12.5px; line-height: 1.5; }
.wai-ind-body .wai-link { margin-top: 6px; }
.wai-ind-card:hover .wai-link { gap: 12px; color: #ffc126; }

/* ── Security ─────────────────────────────────────────────────────────── */
.wai-trust { overflow: hidden; }
.wai-trust-glow { position: absolute; left: 50%; top: 180px; width: 1100px; height: 420px; margin-left: -550px; border-radius: 50%; background: radial-gradient(closest-side, rgba(248, 178, 4, .16), rgba(255, 125, 0, .05) 55%, rgba(7, 7, 7, 0) 100%); pointer-events: none; }
/* The cards draw the bottom edge themselves: their backdrop-blur layers paint over
   the grid's own bottom border at the smart-zoom scale, so it vanished under them. */
.wai-trust-grid.capabilities-grid { position: relative; z-index: 1; width: min(1072px, 100%); margin-top: 54px; border-bottom: 0; }
.wai-trust-grid .capability-card { min-height: 171.2px; padding: 22.4px 16px 20px 22.4px; border-bottom: 1px solid #242323; }
.wai-trust-grid .capability-card h3 { margin-top: 36px; font-size: 13.5px; }
.wai-trust-grid .capability-card p { margin-top: 7px; max-width: 232px; font-size: 12px; line-height: 1.45; }
.wai-trust-icon svg { width: 18px; height: 18px; color: #171100; stroke-width: 2; }
.wai-trust-strip { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 26px 0 0; color: rgba(255, 255, 255, .72); font-size: 12.5px; }
.wai-trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.wai-trust-strip svg { width: 15px; height: 15px; color: var(--amber); stroke-width: 2.4; }

/* ── Getting started ──────────────────────────────────────────────────── */
.wai-launch-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: min(1072px, 100%);
  margin: 56px auto 0;
  padding: 0;
  list-style: none;
}
.wai-launch-track::before,
.wai-launch-track::after { content: ""; position: absolute; top: 19px; left: calc(100% / 6); right: calc(100% / 6); height: 1.5px; }
.wai-launch-track::before { background-image: repeating-linear-gradient(to right, rgba(255, 255, 255, .22) 0, rgba(255, 255, 255, .22) 3px, transparent 3px, transparent 6px); }
.wai-launch-track::after { background: linear-gradient(90deg, #ff7d00, var(--amber)); box-shadow: 0 0 12px rgba(248, 178, 4, .6); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--wai-ease) .2s; }
.wai-launch.is-in .wai-launch-track::after { transform: scaleX(1); }
.wai-launch-step { display: grid; justify-items: center; gap: 22px; }
.wai-launch-marker { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(248, 178, 4, .55); border-radius: 12px 0 12px 12px; background: #0e0e0e; color: var(--amber); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; transition: background-color .4s ease, color .4s ease, box-shadow .4s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(.35s + var(--i) * .45s); }
.wai-launch.is-in .wai-launch-marker { background: var(--amber); color: #171100; box-shadow: 0 0 0 6px rgba(248, 178, 4, .14), 0 0 24px rgba(248, 178, 4, .5); transform: scale(1.06); }
.wai-launch-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 24px 24px 22px;
  border: 1px solid var(--wai-line);
  border-radius: 20px 0 20px 20px;
  background: #0e0e0e;
}
.wai-launch-card::before { content: ""; position: absolute; top: -23px; left: 50%; width: 1.5px; height: 22px; background-image: repeating-linear-gradient(to bottom, rgba(248, 178, 4, .6) 0, rgba(248, 178, 4, .6) 3px, transparent 3px, transparent 6px); }
.wai-launch-when { display: inline-flex; align-items: center; justify-self: start; gap: 6px; margin: 0; padding: 4px 10px; border: 1px solid rgba(248, 178, 4, .4); border-radius: 8px 0 8px 8px; background: rgba(248, 178, 4, .08); color: var(--amber); font-size: 11.5px; font-weight: 500; }
.wai-launch-when svg { width: 13px; height: 13px; }
.wai-launch-ic { position: absolute; top: 22px; right: 22px; }
.wai-launch-card h3 { margin: 6px 0 0; color: #fff; font-size: 18px; font-weight: 500; line-height: 1.3; }
.wai-launch-card > p:not(.wai-launch-when):not(.wai-launch-out) { margin: 0; color: var(--wai-muted); font-size: 13px; line-height: 1.55; }
.wai-launch-out { display: flex; align-items: center; gap: 9px; margin: 6px 0 0; padding-top: 14px; border-top: 1px solid var(--wai-line); color: #fff; font-size: 12.5px; font-weight: 500; }
.wai-launch-out svg { width: 15px; height: 15px; flex: none; color: var(--amber); stroke-width: 2.6; }
@media (prefers-reduced-motion: no-preference) {
  .wai-js .wai-launch-card { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--wai-ease), transform .7s var(--wai-ease); transition-delay: calc(.45s + var(--i) * .45s); }
  .wai-js .wai-launch.is-in .wai-launch-card { opacity: 1; transform: none; }
}
.wai-model {
  display: grid;
  gap: 16px;
  width: min(1072px, 100%);
  margin: 26px auto 0;
  padding: 22px 26px 24px;
  border-radius: 20px 0 20px 20px;
  background: var(--wai-grad);
}
.wai-model-title { margin: 0; color: var(--wai-ink); font-size: 16px; font-weight: 500; line-height: 1.3; }
.wai-model ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 14px; margin: 0; padding: 0; list-style: none; }
.wai-model li { display: inline-flex; align-items: center; gap: 8px; color: var(--wai-ink); font-size: 13px; font-weight: 500; }
.wai-model-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px 0 8px 8px; background: #070707; color: var(--amber); }
.wai-model-ic svg { width: 16px; height: 16px; }

/* ── Capability guide ─────────────────────────────────────────────────── */
.wai-guide { padding-bottom: 96px; }
.wai-guide-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  width: min(1072px, 100%);
  margin: 0 auto;
  overflow: hidden;
  padding: 46px 56px;
  border: 1px solid var(--wai-line);
  border-radius: 24px 0 24px 24px;
  background: radial-gradient(90% 120% at 0% 100%, rgba(248, 178, 4, .12), rgba(248, 178, 4, 0) 60%), #0e0e0e;
}
/* the logo's corner bracket, as a frame mark */
.wai-guide-card::after { content: ""; position: absolute; top: 22px; right: 22px; width: 54px; height: 54px; border-top: 6px solid var(--amber); border-right: 6px solid var(--amber); opacity: .9; }
.wai-book { width: 218px; aspect-ratio: 579 / 819; overflow: hidden; border-radius: 6px; box-shadow: 16px 22px 44px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .1); transform: rotate(-3deg); transition: transform .5s var(--wai-ease); }
.wai-guide-card:hover .wai-book { transform: rotate(-1deg) translateY(-4px); }
.wai-book img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wai-guide-txt { display: grid; justify-items: start; gap: 14px; }
.wai-guide-txt h2 { margin: 6px 0 0; color: #fff; font-size: 34px; font-weight: 500; line-height: 1.15; }
.wai-guide-lede { margin: 0; max-width: 520px; color: var(--wai-muted); font-size: 13.5px; line-height: 1.55; }
.wai-guide-txt ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 26px; margin: 4px 0 0; padding: 0; list-style: none; }
.wai-guide-txt li { display: grid; grid-template-columns: 16px 1fr; gap: 9px; color: #fff; font-size: 13px; line-height: 1.45; }
.wai-guide-txt li svg { width: 16px; height: 16px; margin-top: 1px; color: var(--amber); stroke-width: 2.4; }
.wai-guide-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.wai-guide-cta .button { gap: 8px; }
.wai-guide-cta button.button { border: 0; font-family: var(--font); cursor: pointer; }
.wai-guide-meta { color: rgba(255, 255, 255, .5); font-size: 12.5px; }

/* ── Scroll reveal (only once wiseai.js is running) ───────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .wai-js [data-wai-reveal] { opacity: 0; translate: 0 24px; transition: opacity .7s var(--wai-ease), translate .7s var(--wai-ease); }
  .wai-js [data-wai-reveal].is-revealed { opacity: 1; translate: 0 0; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1023px) {
  .wai-guide-card { gap: 36px; padding: 40px; }
}

@media (max-width: 900px) {
  .wai-section { padding: 64px 16px 0; }
  .wai-head h2 { font-size: clamp(22px, 6.4vw, 30px); line-height: 1.15; }

  .wai-stage { margin-top: 32px; perspective: none; }
  .wai-stage-card { padding: 14px 12px 16px; transform: none !important; }
  .wai-float { display: none; }
  .wai-player { border-radius: 10px; }
  .wai-player-bar { gap: 8px; padding: 8px; }
  .wai-chapters { gap: 4px; }
  .wai-chapters button { grid-template-columns: 1fr; justify-items: center; padding-top: 2px; }
  .wai-chapters .tt { display: none; }
  .wai-chapters .no { font-size: 10px; }
  .wai-try { margin-top: 16px; }
  .wai-try-btn { height: 42px; font-size: 13px; }

  .wai-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wai-proof li:nth-child(2) { border-right: 0; }
  .wai-proof li:nth-child(-n+2) { border-bottom: 1px solid var(--wai-line); }
  .wai-proof li { padding: 18px 16px; }
  .wai-proof b { font-size: 24px; }

  .wai-shift-grid { grid-template-columns: 1fr; gap: 0; margin-top: 32px; }
  .wai-shift-link { flex-direction: column; height: 70px; }
  .wai-shift-link .line { width: 1.5px; height: auto; flex: 1; background-image: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .22) 0, rgba(255, 255, 255, .22) 3px, transparent 3px, transparent 6px); }
  .wai-shift-link .knob svg { transform: rotate(90deg); }
  .wai-shift-card { padding: 24px 20px; }
  .wai-shift-card h3 { font-size: 18px; }

  .wai-grid { margin-top: 32px; }
  .wai-grid--3, .wai-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .wai-engine-wrap, .wai-tour-box, .wai-who-grid, .wai-day-wrap, .wai-wday-grid, .wai-outs-grid, .wai-cmp, .wai-ind-grid, .wai-launch-track { margin-top: 32px; }
  .wai-stepper { grid-template-columns: repeat(5, minmax(108px, 1fr)); overflow-x: auto; padding-top: 10px; scrollbar-width: none; }
  .wai-stepper::-webkit-scrollbar { display: none; }
  .wai-stepper::before { display: none; }
  .wai-stage-panel { grid-template-columns: 1fr; }
  .wai-stage-visual { order: -1; padding: 14px; }
  .wai-stage-body { padding: 24px 20px 26px; }
  .wai-stage-body h3 { font-size: 21px; }

  .wai-caption { flex-wrap: wrap; gap: 10px 14px; }
  .wai-caption p { flex-basis: 100%; font-size: 13px; }
  .wai-caption .ct { margin-right: auto; }
  .wai-chrome .addr { display: none; }
  .wai-overlay { padding: 12px; }
  .wai-overlay .in { gap: 10px; }
  .wai-overlay-logo, .wai-overlay p { display: none; }
  .wai-overlay h3 { font-size: 15px; }
  .wai-overlay .button { min-height: 32px; padding: 8px 12px; font-size: 12px; }

  .wai-who-grid, .wai-wday-grid, .wai-outs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .wai-day-wrap { grid-template-columns: 1fr; }
  .wai-tl { grid-auto-flow: column; grid-auto-columns: minmax(176px, 1fr); overflow-x: auto; scrollbar-width: none; }
  .wai-tl::-webkit-scrollbar { display: none; }
  .wai-tl::before { display: none; }
  .wai-tl button { grid-template-columns: 1fr; padding: 10px 12px; border-color: var(--wai-line); }
  .wai-tl .dt { display: none; }
  .wai-day-stage { grid-template-columns: 1fr; min-height: 0; }
  .wai-day-stage .vz { order: -1; min-height: 340px; }
  .wai-day-stage .tx { padding: 24px 20px; }

  .wai-cmp table { min-width: 640px; }
  .wai-cmp tbody th, .wai-cmp thead th:first-child { position: sticky; left: 0; z-index: 1; width: 130px; background: #0e0e0e; box-shadow: 1px 0 0 #2a2929; }
  .wai-cmp-hint { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; color: rgba(255, 255, 255, .6); font-size: 12px; }
  .wai-cmp-hint svg { width: 14px; height: 14px; }

  .wai-ind-grid > li, .wai-ind-grid > li:nth-child(-n+3) { grid-column: span 6; }
  .wai-ind-grid > li:last-child { grid-column: span 12; }
  .wai-ind-grid > li .wai-ind-media, .wai-ind-grid > li:nth-child(n+4) .wai-ind-media { aspect-ratio: 16 / 10; }

  .wai-trust-grid .capability-card,
  .wai-trust-grid .capability-card:nth-last-child(-n+2) { border-bottom: 1px solid #242323; }

  .wai-launch-track { grid-template-columns: 1fr; gap: 18px; padding-left: 0; }
  .wai-launch-track::before, .wai-launch-track::after { top: 20px; bottom: 20px; left: 19px; right: auto; width: 1.5px; height: auto; }
  .wai-launch-track::before { background-image: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .22) 0, rgba(255, 255, 255, .22) 3px, transparent 3px, transparent 6px); }
  .wai-launch-track::after { transform: scaleY(0); transform-origin: 50% 0; }
  .wai-launch.is-in .wai-launch-track::after { transform: scaleY(1); }
  .wai-launch-step { grid-template-columns: 40px 1fr; justify-items: stretch; align-items: start; gap: 14px; }
  .wai-launch-card::before { display: none; }
  .wai-model { padding: 20px; }
  .wai-model ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .wai-guide { padding-bottom: 72px; }
  .wai-guide-card { grid-template-columns: 1fr; justify-items: start; gap: 28px; padding: 30px 22px; }
  .wai-guide-card::after { width: 38px; height: 38px; border-width: 4px; top: 16px; right: 16px; }
  .wai-book { width: 168px; }
  .wai-guide-txt h2 { font-size: clamp(24px, 7vw, 30px); }
}

@media (max-width: 620px) {
  .wai-grid--3, .wai-grid--4 { grid-template-columns: 1fr; }
  .wai-cell { padding: 20px 18px 22px; }
  .wai-cell h3 { margin-top: 18px; }
  .wai-area h3 { margin-top: 18px; }
  .wai-cell p { max-width: none; }
  .wai-who-grid, .wai-wday-grid, .wai-outs-grid { grid-template-columns: 1fr; }
  .wai-ind-grid { gap: 14px; }
  .wai-ind-grid > li, .wai-ind-grid > li:nth-child(-n+3), .wai-ind-grid > li:last-child { grid-column: span 12; }
  .wai-guide-txt ul { grid-template-columns: 1fr; }
  .wai-tip-card { width: 158px; padding: 7px 10px 8px; }
  .wai-tip-title { font-size: 12px; }
  .wai-tip { --tip-gap: 36px; --tip-stem: 20px; }
  .wai-tip-sub { display: none; }
  .wai-tip-step { font-size: 9px; }
  .wai-model ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wai-trust-strip { flex-direction: column; align-items: center; gap: 8px; }
}

@media (max-width: 390px) {
  .wai-try-btn { padding-right: 14px; font-size: 12.5px; gap: 8px; }
  .wai-proof b { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .wai-stage-card { transform: none !important; }
}
