/* ============================================================
   Workify — workify.ca design language + our content
   Brand: workify-500 #FEBD16 on #f7f9fa
   Tailwind (CDN) handles utilities; this file holds keyframes,
   base, the Command Center interaction, and the Workflow Studio
   "mini video" auto-demo.
   ============================================================ */

html { scroll-padding-top: 96px; color-scheme: light; }
body {
  background-color: #f7f9fa;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #0f172a;
}
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ---- keyframes used via Tailwind arbitrary animate-[…] syntax ---- */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes blob {
  0% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-50px) scale(1.1); }
  66% { transform: translate(-20px,20px) scale(0.9); }
  100% { transform: translate(0,0) scale(1); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.perspective-1200 { perspective: 1200px; }
.perspective-1400 { perspective: 1400px; }

/* ---- rotating trade word in hero ---- */
.trade-word {
  display: inline-block; color: #FEBD16;
  transition: opacity .25s ease, transform .25s ease; will-change: opacity, transform;
}
.trade-word.swap { opacity: 0; transform: translateY(8px); }

/* ---- "supercharged" — clean charged underline with a smooth current flowing through it ---- */
.electric { position: relative; display: inline-block; color: #0f172a; }
.electric::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.16em; height: 0.075em; border-radius: 999px; z-index: -1;
  background: linear-gradient(90deg, rgba(254,189,22,0) 0%, #FEBD16 22%, #FFF0B8 50%, #FEBD16 78%, rgba(254,189,22,0) 100%);
  background-size: 220% 100%;
  box-shadow: 0 1px 10px rgba(254,189,22,0.4);
  animation: currentFlow 2.8s linear infinite;
}
@keyframes currentFlow { 0% { background-position: 115% 0; } 100% { background-position: -15% 0; } }

/* ---- logo cloud (branded trade wordmarks) ---- */

/* ---- Super Agents org chart (AI workforce) ---- */
.org-you { margin: 0 auto; width: max-content; max-width: 92%; }
.org-trunk { width: 2px; height: 30px; background: #cbd5e1; margin: 0 auto; }
.org-bus-wrap { justify-content: center; }
.org-bus { height: 2px; background: #cbd5e1; width: 74.5%; }
.org-branch { width: 2px; height: 22px; background: #cbd5e1; margin: 0 auto; }
.dept-head { display: flex; align-items: center; justify-content: center; gap: .45rem; width: 100%; padding: .55rem .9rem; border-radius: .9rem; background: #0f172a; color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.dept-head .dh-count { color: #FEBD16; }
.agent-chip { display: flex; align-items: center; gap: .65rem; background: rgba(255,255,255,.78); border: 1px solid rgba(15,23,42,.07); border-radius: .85rem; padding: .6rem .7rem; box-shadow: 0 6px 18px -12px rgba(15,23,42,.25); transition: transform .2s, box-shadow .2s, border-color .2s; }
.agent-chip:hover { transform: translateY(-2px); border-color: rgba(254,189,22,.5); box-shadow: 0 12px 24px -14px rgba(254,189,22,.4); }
.ai-badge { font-size: 9px; font-weight: 800; letter-spacing: .06em; padding: 1px 5px; border-radius: 5px; background: #0f172a; color: #FEBD16; line-height: 1.5; flex-shrink: 0; }
.agent-chip .live { width: 7px; height: 7px; border-radius: 9999px; background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.18); margin-left: auto; flex-shrink: 0; animation: livePulse 2s ease-in-out infinite; }
@keyframes livePulse { 0%,100% { box-shadow: 0 0 0 3px rgba(16,185,129,.18); } 50% { box-shadow: 0 0 0 5px rgba(16,185,129,.06); } }

/* ---- benefits ticker: oversized editorial type marquee — black / outline / yellow ---- */
.tick-tilt { transform: rotate(-2deg); display: flex; flex-direction: column; gap: 0.9rem; width: 108%; margin-left: -4%; }
.tick-row { display: flex; align-items: center; width: max-content; animation: tickmove 34s linear infinite; }
.tick-row.tick-rev { animation-direction: reverse; animation-duration: 40s; }
@keyframes tickmove { to { transform: translateX(-50%); } }
.tick-word { font-size: clamp(1.9rem, 6.5vw, 3.4rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.15; white-space: nowrap; margin: 0 1.5rem; }
.tick-sep { color: #FEBD16; font-size: clamp(0.85rem, 2.6vw, 1.3rem); line-height: 1; }
.tx-solid { color: #0f172a; }
.tx-gold { color: #FEBD16; }
.tx-outline { color: transparent; -webkit-text-stroke: 1.5px #334155; }
@media (max-width: 640px) { .tick-word { margin: 0 1rem; } .tx-outline { -webkit-text-stroke-width: 1.2px; } }

/* ---- yellow section tint: starts at DeWalt yellow, long fade to the page background ---- */
.sec-tint { background: linear-gradient(180deg, #FEBD16 0%, rgba(254,189,22,0.35) 160px, rgba(254,189,22,0) 440px) !important; }

/* ---- icon boxes: DeWalt-yellow tint with black strokes ---- */
.bg-workify-50.text-workify-600, .bg-workify-50.text-workify-500 { background-color: rgba(254,189,22,0.3) !important; color: #0f172a !important; }

/* ---- scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   WORKFLOW STUDIO — auto-playing "mini video"
   ============================================================ */
.studio-stage {
  position: relative;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 18px;
}
@media (max-width: 860px) { .studio-stage { grid-template-columns: 1fr; } }

/* palette */
.studio-palette { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 860px) { .studio-palette { flex-direction: row; flex-wrap: wrap; } }
.pal-block {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px;
  background: rgba(255,255,255,0.75); border: 1px solid rgba(15,23,42,0.07);
  box-shadow: 0 6px 18px -12px rgba(15,23,42,0.25); transition: transform .25s, box-shadow .25s, border-color .25s, background .25s;
}
@media (max-width: 860px) { .pal-block { flex: 1 1 45%; } }
.pal-block.lift { transform: scale(.96); border-color: rgba(254,189,22,0.6); background: #fff; box-shadow: 0 14px 28px -12px rgba(254,189,22,0.5); }
.pal-ico { height: 30px; width: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.pal-ttl { font-size: 13px; font-weight: 600; color: #0f172a; line-height: 1.1; }
.pal-sub { font-size: 10px; color: #94a3b8; font-family: 'JetBrains Mono', monospace; }

/* canvas */
.studio-canvas {
  position: relative; border-radius: 20px; min-height: 380px; overflow: hidden;
  border: 1px solid rgba(15,23,42,0.07);
  background:
    radial-gradient(circle at 1px 1px, rgba(15,23,42,0.07) 1px, transparent 0) 0 0 / 24px 24px,
    linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.4));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.studio-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.s-wire { stroke: url(#sgrad); stroke-width: 2.5; fill: none; stroke-linecap: round; }
.s-wire-dash { stroke: #e5a913; stroke-width: 2.5; fill: none; stroke-dasharray: 5 8; opacity: .8; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -26; } }

/* nodes */
.s-node {
  position: absolute; width: 158px; border-radius: 15px; padding: 11px 12px; background: #fff;
  border: 1px solid rgba(15,23,42,0.1); box-shadow: 0 16px 32px -16px rgba(15,23,42,0.42);
  transform: scale(.8); opacity: 0; transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .35s; z-index: 2;
}
.s-node.show { transform: scale(1); opacity: 1; }
.s-node .nh { display: flex; align-items: center; gap: 9px; }
.s-ico { height: 28px; width: 28px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
.s-ttl { font-size: 13px; font-weight: 600; color: #0f172a; line-height: 1.05; }
.s-tag { font-size: 10px; color: #64748b; font-family: 'JetBrains Mono', monospace; }
.s-port { position: absolute; height: 9px; width: 9px; border-radius: 9999px; top: 50%; transform: translateY(-50%); }
.s-port.in { left: -4px; background: #cbd5e1; }
.s-port.out { right: -4px; background: #FEBD16; box-shadow: 0 0 8px rgba(254,189,22,0.6); }

/* kind accents */
.k-trigger .pal-ico, .k-trigger .s-ico { background: rgba(2,132,199,0.12); color: #0284c7; }
.k-agent   .pal-ico, .k-agent .s-ico   { background: rgba(226,163,0,0.18); color: #b45309; }
.k-tool    .pal-ico, .k-tool .s-ico    { background: rgba(5,150,105,0.12); color: #059669; }
.k-connector .pal-ico, .k-connector .s-ico { background: rgba(124,58,237,0.12); color: #7c3aed; }
.k-output  .pal-ico, .k-output .s-ico  { background: rgba(219,39,119,0.12); color: #db2777; }

/* moving cursor + carried ghost */
.studio-cursor {
  position: absolute; top: 0; left: 0; z-index: 60; pointer-events: none;
  transform: translate(40px, 40px); transition: transform .7s cubic-bezier(.5,0,.2,1);
  filter: drop-shadow(0 4px 6px rgba(15,23,42,0.3));
}
.studio-cursor svg { display: block; }
.studio-cursor.grab svg { transform: scale(.86); }
.studio-ghost {
  position: absolute; top: 0; left: 0; z-index: 55; pointer-events: none;
  display: flex; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 12px;
  background: rgba(255,255,255,0.96); border: 1px solid rgba(254,189,22,0.5);
  box-shadow: 0 18px 34px -14px rgba(15,23,42,0.45); font-size: 12px; font-weight: 600; color: #0f172a;
  opacity: 0; transform: translate(40px,40px) scale(.95); transition: transform .7s cubic-bezier(.5,0,.2,1), opacity .2s;
}
.studio-ghost .pal-ico { height: 22px; width: 22px; border-radius: 7px; }

/* caption / status under stage */
.studio-caption {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: #475569;
  background: rgba(255,255,255,0.8); border: 1px solid rgba(15,23,42,0.07);
  padding: 8px 14px; border-radius: 9999px; font-weight: 500;
}
.studio-caption .dot { height: 8px; width: 8px; border-radius: 9999px; background: #FEBD16; box-shadow: 0 0 0 4px rgba(254,189,22,0.18); }
.studio-caption.live .dot { background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,0.2); }

/* mobile: studio becomes a clean vertical "assembling" list (no cursor drag) */
.studio-canvas.flow { display: flex; flex-direction: column; align-items: center; padding: 20px 14px; }
.s-node-v { width: 100%; max-width: 300px; display: flex; align-items: center; gap: .7rem; background: #fff; border: 1px solid rgba(15,23,42,.1); border-radius: 14px; padding: .7rem .8rem; box-shadow: 0 10px 24px -16px rgba(15,23,42,.4); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.s-node-v.show { opacity: 1; transform: none; }
.s-node-v .s-ttl { font-size: 13px; font-weight: 600; color: #0f172a; line-height: 1.05; }
.s-node-v .s-tag { font-size: 10px; color: #64748b; font-family: 'JetBrains Mono', monospace; }
.s-conn { width: 2px; height: 20px; background: #e5a913; opacity: .55; }
@media (max-width: 860px) {
  .studio-palette { display: none; }
  .studio-cursor, .studio-ghost { display: none !important; }
  .studio-stage { grid-template-columns: 1fr; }
  .studio-canvas .studio-wires { display: none; }
}

/* prompt-to-workflow mini chip row */
.prompt-chip {
  font-size: 12px; padding: 7px 13px; border-radius: 9999px; cursor: pointer;
  border: 1px solid rgba(15,23,42,0.1); background: rgba(255,255,255,0.8); color: #475569; transition: .15s;
}
.prompt-chip:hover, .prompt-chip.on { border-color: rgba(254,189,22,0.6); color: #0f172a; background: #fff; }

/* ---- Command Center scatter (kept for the Platform Modules section) ---- */
.transition-spring { transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1); }
@media (min-width: 768px) {
  .cc-group:hover .card-scatter-1, .cc-group.active .card-scatter-1 { transform: translate(-130%,-100%) rotate(-4deg); opacity: 1; pointer-events: auto; }
  .cc-group:hover .card-scatter-2, .cc-group.active .card-scatter-2 { transform: translate(130%,-90%) rotate(3deg); opacity: 1; pointer-events: auto; }
  .cc-group:hover .card-scatter-3, .cc-group.active .card-scatter-3 { transform: translate(-110%,100%) rotate(2deg); opacity: 1; pointer-events: auto; }
  .cc-group:hover .card-scatter-4, .cc-group.active .card-scatter-4 { transform: translate(110%,95%) rotate(-3deg); opacity: 1; pointer-events: auto; }
}
@media (max-width: 767px) {
  .cc-group.active .card-scatter-1 { transform: translateY(-130px) scale(.95); opacity: 1; z-index: 40; }
  .cc-group.active .card-scatter-2 { transform: translateY(130px) scale(.95); opacity: 1; z-index: 40; }
  .cc-group.active .card-scatter-3 { transform: translateY(-240px) scale(.85); opacity: 1; z-index: 30; }
  .cc-group.active .card-scatter-4 { transform: translateY(240px) scale(.85); opacity: 1; z-index: 30; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .studio-cursor, .studio-ghost { display: none !important; }
  .s-node { opacity: 1; transform: none; }
}

/* ============================================================
   MOBILE-ONLY refinements (≤767px). Desktop untouched.
   ============================================================ */
/* phone + orbital scale wrappers: transparent on desktop, sized box on mobile */
.hero-phone-clip, .hero-phone-scale, .orbit-wrap { display: contents; }
@keyframes drawConn { from { transform: scaleX(0); opacity: .2; } to { transform: scaleX(1); opacity: 1; } }
@keyframes orgPop { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes orgGrowV { from { opacity: 1; transform: scaleY(0); } to { opacity: 1; transform: scaleY(1); } }
@keyframes orgGrowH { from { opacity: 1; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes orgFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
  /* burger: thinner lines */
  #menu-btn svg { stroke-width: 2.25; }

  /* space after the header + around the headline */
  #hero { align-items: flex-start !important; min-height: 0 !important; padding-top: 7rem !important; padding-bottom: 4.5rem !important; }

  /* ---- Hero: centered headline → [subtext | phone] → buttons → testimonial ---- */
  #hero-grid {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "headline headline"
      "sub phone"
      "cta cta"
      "quote quote" !important;
    column-gap: 10px !important;
    row-gap: 1.2rem !important;
    align-items: center !important;
  }
  #hero-grid .hero-copy { display: contents !important; }
  #hero-grid h1 { grid-area: headline; text-align: center !important; font-size: 1.95rem !important; line-height: 1.12 !important; margin: 0.4rem 0 1.4rem !important; }
  #hero-grid h1 .electric { font-size: 1.14em; }
  /* headline + subtext stacked beside the phone; font scales with the space left of the phone */
  #hero-grid .hero-sub { grid-area: sub; align-self: center; margin: 0 0 0 26px !important; max-width: none; text-align: left; font-size: clamp(0.55rem, calc((100vw - 260px) * 0.085), 0.95rem) !important; }
  #hero-grid .hero-sub > .sm\:hidden > br { display: none; }
  #hero-grid .hero-sub .hero-headline-m { display: block; font-size: 1em; line-height: 1.4; white-space: nowrap; }
  #hero-grid .hero-sub .hero-subtext { display: block; margin-top: 0.55em; font-size: 0.9em; line-height: 1.45; color: #64748b; white-space: nowrap; }
  #hero-grid .hero-phone { grid-area: phone; align-self: center; justify-content: center; margin-right: 26px; }
  #hero-grid .hero-phone-clip { display: block !important; width: 170px; height: 360px; overflow: visible; flex: 0 0 auto; }
  #hero-grid .hero-phone-scale { display: block !important; width: 340px; height: 720px; transform: scale(0.5); transform-origin: top left; }
  /* buttons: fit their text, centered */
  #hero-grid .hero-cta { grid-area: cta; flex-direction: row !important; flex-wrap: wrap; gap: 0.5rem !important; align-items: center !important; justify-content: center !important; width: 100%; margin: 0.9rem 0 0 !important; }
  #hero-grid .hero-cta > a { flex: 0 0 auto; padding: 0.6rem 1.15rem !important; font-size: 0.8rem !important; }
  /* testimonial: chat bubble — quote on 2 lines, attribution on 1 line */
  #hero-grid .hero-quote { grid-area: quote; margin: 1.3rem auto 0 !important; padding: 0.75rem 1rem !important; max-width: 348px !important; text-align: center; border-radius: 1.1rem 1.1rem 1.1rem 0.3rem; }
  #hero-grid .hero-quote > div.flex { justify-content: center; }
  #hero-grid .hero-quote p:first-of-type { font-size: 0.8rem !important; margin-bottom: 0.5rem !important; }
  #hero-grid .hero-quote p:last-of-type { font-size: 0.68rem !important; white-space: nowrap; }

  /* ---- Workflow Studio: fixed-height prompt + compact wrapping node sequence ---- */
  .prompt-row { flex-wrap: wrap !important; align-items: flex-start !important; }
  #prompt-text { min-height: 3em; }
  #prompt-run { flex: 1 0 100% !important; margin-top: 0.55rem !important; }
  .prompt-chip { font-size: 11px; padding: 5px 9px; }
  .studio-canvas.flow { flex-direction: row !important; flex-wrap: wrap !important; align-items: center !important; justify-content: center !important; gap: 6px 4px !important; padding: 12px 8px !important; min-height: 0 !important; }
  .studio-canvas.flow .s-node-v { width: auto !important; max-width: none !important; flex: 0 0 auto !important; padding: 0.4rem 0.5rem !important; gap: 0.4rem !important; }
  .studio-canvas.flow .s-node-v .s-ttl { font-size: 11px !important; }
  .studio-canvas.flow .s-node-v .s-tag { display: none !important; }
  .studio-canvas.flow .s-node-v .s-ico { width: 22px !important; height: 22px !important; }
  .studio-canvas.flow .s-conn { width: 24px !important; height: 2.5px !important; background: linear-gradient(90deg, #FEBD16, #e5a913) !important; border-radius: 3px; align-self: center !important; transform-origin: left center; animation: drawConn .5s ease forwards; box-shadow: 0 0 6px rgba(254,189,22,0.4); }
  .studio-canvas.flow .s-conn::after { display: none; }

  /* ---- Super Agents: card org chart — CEO card → connector dots → 4 dept cards + tinted team panels ---- */
  #agents-org { max-width: 100%; margin: 0 auto; }
  .orgm-ceo { width: 190px; margin: 0 auto; background: #fff; border: 1px solid rgba(15,23,42,.08); border-radius: 16px; padding: .85rem .9rem .75rem; text-align: center; box-shadow: 0 14px 34px -22px rgba(15,23,42,.4); }
  .orgm-ceo .orgm-ico { display: none; }
  .orgm-ico { width: 42px; height: 42px; margin: 0 auto; border-radius: 9999px; background: rgba(254,189,22,0.32); border: 1px solid rgba(254,189,22,0.6); display: flex; align-items: center; justify-content: center; color: #0f172a; }
  .orgm-ico svg { width: 19px; height: 19px; }
  .orgm-ceo .orgm-ttl { font-size: .82rem; font-weight: 700; color: #0f172a; margin-top: 0; }
  .orgm-ceo .orgm-sub { font-size: .6rem; font-weight: 800; letter-spacing: .14em; color: #e5a913; margin-top: 2px; }
  /* connector stem with junction dots */
  .orgm-stem { width: 2px; height: 24px; background: #dbe2ea; margin: 0 auto; position: relative; }
  .orgm-stem::before, .orgm-drop::before, .orgm-link::before { content: ""; position: absolute; left: 50%; transform: translateX(-50%); width: 8px; height: 8px; border-radius: 9999px; background: #FEBD16; border: 2px solid #fff; box-shadow: 0 0 0 1px #eadfc2; z-index: 1; }
  .orgm-stem::before { top: -4px; }
  .orgm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 5px; position: relative; }
  .orgm-grid::before { content: ""; position: absolute; top: 0; left: 12.5%; right: 12.5%; height: 2px; background: #dbe2ea; }
  .orgm-col { display: flex; flex-direction: column; }
  .orgm-drop, .orgm-link { width: 2px; height: 16px; background: #dbe2ea; margin: 0 auto; position: relative; }
  .orgm-drop::before { top: -3px; }
  .orgm-link::before { top: 3px; background: #94a3b8; box-shadow: 0 0 0 1px #e2e8f0; }
  .orgm-card { background: #fff; border: 1px solid rgba(15,23,42,.08); border-radius: 12px; padding: .65rem .2rem .6rem; text-align: center; box-shadow: 0 10px 26px -20px rgba(15,23,42,.45); }
  .orgm-card .orgm-ico { width: 34px; height: 34px; }
  .orgm-card .orgm-ico svg { width: 16px; height: 16px; }
  .orgm-card .orgm-ttl { font-size: .63rem; font-weight: 700; color: #0f172a; margin-top: .4rem; line-height: 1.25; }
  .orgm-tag { font-size: .54rem; font-weight: 800; letter-spacing: .12em; margin-top: 2px; }
  .orgm-dept { flex: 1; display: flex; flex-direction: column; background: color-mix(in srgb, var(--acc) 6%, #fff); border: 1px solid color-mix(in srgb, var(--acc) 20%, #fff); border-radius: 12px; padding: .55rem .3rem .45rem; }
  .orgm-dept ul { list-style: none; margin: 0; padding: 0 0 0 .2rem; display: flex; flex-direction: column; gap: .4rem; }
  .orgm-dept li { position: relative; padding-left: .6rem; font-size: .61rem; font-weight: 600; color: #334155; text-align: left; line-height: 1.3; }
  .orgm-dept li::before { content: ""; position: absolute; left: 0; top: .32em; width: 4px; height: 4px; border-radius: 9999px; background: var(--acc); }
  .orgm-count { margin-top: auto; padding-top: .5rem; border-top: 1px dashed color-mix(in srgb, var(--acc) 30%, #fff); display: flex; align-items: center; justify-content: center; gap: 3px; font-size: .55rem; font-weight: 800; color: var(--acc); }
  .orgm-count svg { width: 11px; height: 11px; }
  /* entrance: CEO pops, lines draw, cards & panels cascade */
  .orgm-ceo, .orgm-stem, .orgm-drop, .orgm-card, .orgm-link, .orgm-dept { opacity: 0; }
  .orgm-grid::before { opacity: 0; }
  #agents-org.org-in .orgm-ceo { animation: orgPop .55s cubic-bezier(.16,1,.3,1) both; }
  #agents-org.org-in .orgm-stem { animation: orgGrowV .3s ease-out .4s both; transform-origin: top; }
  #agents-org.org-in .orgm-grid::before { animation: orgGrowH .45s ease-out .6s both; }
  #agents-org.org-in .orgm-drop { animation: orgGrowV .25s ease-out .95s both; transform-origin: top; }
  #agents-org.org-in .orgm-card { animation: orgPop .45s cubic-bezier(.16,1,.3,1) both; }
  #agents-org.org-in .orgm-link { animation: orgGrowV .25s ease-out both; transform-origin: top; }
  #agents-org.org-in .orgm-dept { animation: orgFadeUp .5s cubic-bezier(.16,1,.3,1) both; }
  #agents-org.org-in .orgm-col:nth-child(1) .orgm-card { animation-delay: 1.05s; }
  #agents-org.org-in .orgm-col:nth-child(2) .orgm-card { animation-delay: 1.13s; }
  #agents-org.org-in .orgm-col:nth-child(3) .orgm-card { animation-delay: 1.21s; }
  #agents-org.org-in .orgm-col:nth-child(4) .orgm-card { animation-delay: 1.29s; }
  #agents-org.org-in .orgm-col:nth-child(1) .orgm-link { animation-delay: 1.3s; }
  #agents-org.org-in .orgm-col:nth-child(2) .orgm-link { animation-delay: 1.38s; }
  #agents-org.org-in .orgm-col:nth-child(3) .orgm-link { animation-delay: 1.46s; }
  #agents-org.org-in .orgm-col:nth-child(4) .orgm-link { animation-delay: 1.54s; }
  #agents-org.org-in .orgm-col:nth-child(1) .orgm-dept { animation-delay: 1.42s; }
  #agents-org.org-in .orgm-col:nth-child(2) .orgm-dept { animation-delay: 1.5s; }
  #agents-org.org-in .orgm-col:nth-child(3) .orgm-dept { animation-delay: 1.58s; }
  #agents-org.org-in .orgm-col:nth-child(4) .orgm-dept { animation-delay: 1.66s; }

  /* ---- proof-band stats: widen the middle column so its dividers aren't boxed in ---- */
  section[class*="FEBD16"] .grid-cols-3 { grid-template-columns: 1fr 1.5fr 1fr !important; }

  /* ---- Growth Journey: modern 2-col grid of minimal phase cards (no center line) ---- */
  #timeline { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important; position: relative; }
  #timeline::before { display: none !important; }
  #timeline > div { display: block !important; position: relative; }
  #timeline > div > div:first-child { display: none !important; }
  #timeline > div > div:last-child { text-align: left !important; padding: 0 !important; height: 100%; }
  #timeline .bg-white.rounded-2xl { height: 100%; padding: 0.9rem 0.85rem 0.85rem !important; border-radius: 16px !important; border: 1px solid rgba(15,23,42,0.08) !important; box-shadow: 0 10px 24px -20px rgba(15,23,42,0.3) !important; }
  #timeline .bg-white.rounded-2xl > div:first-child { font-size: 0.72rem !important; font-weight: 800 !important; color: #e5a913 !important; margin-bottom: 0.35rem !important; letter-spacing: 0.12em !important; }
  #timeline h3 { font-size: 0.85rem !important; margin-bottom: 0 !important; line-height: 1.3 !important; }
  #timeline .bg-white.rounded-2xl p { display: none !important; }

  /* ---- Built for the trades: compact 2-up swipeable carousel ---- */
  #pillars {
    display: flex !important; grid-template-columns: none !important;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 4%;
    gap: 10px !important; padding: 0.4rem 0 2rem !important; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  #pillars::-webkit-scrollbar { display: none; }
  #pillars > div {
    flex: 0 0 46% !important; width: 46% !important; min-width: 0 !important; max-width: 46% !important;
    scroll-snap-align: center; margin: 0 !important; overflow: hidden; position: relative;
    padding: 0.95rem !important; border-radius: 1.1rem !important;
    opacity: 1 !important; transform: none !important;
    box-shadow: none !important; border-color: rgba(15,23,42,0.08) !important;
    transition: transform .35s ease, box-shadow .35s ease;
  }
  #pillars > div:not(.pill-active) { transform: scale(0.97); }
  #pillars > div.pill-active { transform: scale(1); box-shadow: 0 10px 22px -18px rgba(15,23,42,0.3) !important; }
  /* icon sits top-right beside the headline instead of on its own row */
  #pillars > div > div:first-child { position: absolute !important; top: 0.85rem; right: 0.85rem; width: 32px !important; height: 32px !important; margin: 0 !important; border-radius: 10px !important; }
  #pillars > div > div:first-child svg { width: 15px !important; height: 15px !important; }
  #pillars h3 { font-size: 0.95rem !important; margin: 0.15rem 0 0.4rem !important; padding-right: 2.5rem; }
  #pillars p { font-size: 0.68rem !important; line-height: 1.45 !important; }
  /* illustrations: lay out at 167% width, scale to 60% so the full graphic fits the small card */
  #pillars > div > div:last-child {
    display: flex !important;
    width: 166.7% !important; height: 13.4rem !important;
    transform: scale(0.6); transform-origin: top left;
    margin: 0.6rem 0 -5.4rem 0 !important;
    border-radius: 1.6rem !important;
  }

  /* ---- Connects with your stack: rotating ferris-wheel orbital (mobile) ---- */
  .orbit-wrap { display: block !important; width: 100%; height: 370px; overflow: visible; margin: 0 auto; position: relative; }
  .orbit-ring { position: absolute !important; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.58); }
  /* single dashed circle — micro-hyphen segments, lighter weight */
  .orbit-ring > .inset-0 { animation-direction: normal !important; inset: 48px !important; border: 2px dashed #64748b !important; }
  .orbit-ring > .inset-10 { display: none !important; }
  .orbit-ring .bg-white { animation-direction: reverse !important; }
  /* long yellow radial glow: solid at center, fading all the way out to the dashed ring */
  .orbit-ring::before { content: ""; position: absolute; inset: 48px; border-radius: 9999px; background: radial-gradient(circle, #FEBD16 0%, rgba(254,189,22,0.55) 24%, rgba(254,189,22,0.22) 52%, rgba(254,189,22,0) 96%); }
  .orbit-ring .orbit-hub { transform: scale(1.5); border: none !important; box-shadow: none !important; background: none !important; }
  .orbit-ring .orbit-hub > div { background: transparent !important; width: auto !important; height: auto !important; box-shadow: none !important; }
  .orbit-ring .orbit-hub img { height: 100px !important; }
  /* bigger text-only tiles (no icon squares) */
  .orbit-ring .bg-white { padding: 0.8rem 1rem !important; }
  .orbit-ring .bg-white .text-sm { font-size: 1.35rem !important; }
  .orbit-ring .bg-white .text-\[10px\] { font-size: 0.88rem !important; }
  .orbit-ring .bg-white:not(.orbit-hub) > div:first-child { display: none !important; }
  .orbit-ring .flex-col { padding-right: 0 !important; }

  /* ---- Testimonials: swipeable carousel so they're compact ---- */
  #quotes {
    display: flex !important; grid-template-columns: none !important;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 8%;
    gap: 12px !important; padding: 0.3rem 0 1rem !important; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  #quotes::-webkit-scrollbar { display: none; }
  /* soft fade on both edges so tiles don't cut off hard */
  #quotes { mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%); }
  #quotes > div {
    flex: 0 0 48% !important; min-width: 0; scroll-snap-align: center; margin: 0 !important; min-height: 0 !important;
    padding: 0.9rem !important; border-radius: 1.1rem !important; opacity: 1 !important; transform: none !important;
    background: #fff !important; box-shadow: 0 10px 26px -18px rgba(15,23,42,0.18) !important;
  }
  #quotes p { font-size: 0.66rem !important; line-height: 1.45 !important; margin-bottom: 0.6rem !important; }
  #quotes .flex.gap-1 { margin-bottom: 0.5rem !important; }
  #quotes .flex.gap-1 svg { width: 12px !important; height: 12px !important; }
  /* attribution: no initials circle, compact stack */
  #quotes .pt-6 { padding-top: 0.5rem !important; gap: 0 !important; }
  #quotes .w-12 { display: none !important; }
  #quotes .text-sm.font-semibold { font-size: 0.62rem !important; }
  #quotes .text-xs.text-slate-500 { font-size: 0.54rem !important; margin-top: 1px; }
  #quotes .text-\[11px\] { font-size: 0.5rem !important; margin-top: 1px !important; }

  /* ---- Pricing: three tiles side by side, prices aligned, full width ---- */
  #pricing { padding-left: 0.9rem !important; padding-right: 0.9rem !important; }
  #pricing-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 7px !important; align-items: stretch; }
  #pricing-grid > div { padding: 1.35rem 0.55rem 0.7rem !important; border-radius: 14px !important; position: relative; min-width: 0; width: 100%; background: #fff !important; border-color: rgba(15,23,42,0.16) !important; }
  #pricing-grid > div.shadow-xl { border-color: rgba(254,189,22,0.9) !important; }
  #pricing-grid h3.text-xl, #pricing-grid .mb-2 { text-align: center; }
  #pricing-grid .text-xs.text-slate-400 { justify-content: center; gap: 0.22rem !important; }
  #pricing-grid .text-xs.text-slate-400 span { text-align: left; white-space: nowrap; font-size: 0.5rem; }
  #pricing-grid .text-xs.text-slate-400 svg { width: 10px !important; height: 10px !important; }
  /* "Most Popular" badge absolute so plan names + prices line up across all three */
  #pricing-grid .text-workify-600.uppercase { position: absolute !important; top: 5px !important; left: 0 !important; right: 0 !important; margin: 0 !important; text-align: center; font-size: 0.5rem !important; letter-spacing: 0.03em !important; }
  #pricing-grid h3.text-xl { font-size: 0.85rem !important; margin-bottom: 0.35rem !important; }
  #pricing-grid .text-4xl { font-size: 1.2rem !important; }
  #pricing-grid .mb-2 { margin-bottom: 0.35rem !important; }
  #pricing-grid .mb-2 span:last-child { font-size: 0.58rem !important; }
  #pricing-grid .text-xs { font-size: 0.55rem !important; margin-bottom: 0.5rem !important; }
  #pricing-grid p { font-size: 0.6rem !important; margin-bottom: 0.6rem !important; line-height: 1.3 !important; min-height: 3.2rem; }
  #pricing-grid ul { margin-bottom: 0.7rem !important; }
  #pricing-grid li { font-size: 0.58rem !important; gap: 0.25rem !important; align-items: flex-start !important; padding: 0.16rem 0 !important; line-height: 1.25 !important; }
  #pricing-grid ul > * + * { margin-top: 0.12rem !important; }
  #pricing-grid li svg { width: 11px !important; height: 11px !important; margin-top: 1px; flex-shrink: 0; }
  #pricing-grid a { padding: 0.5rem 0.3rem !important; font-size: 0.62rem !important; border-radius: 9px !important; }
}
