/* Cyber Square site - dispatch #1771 team-card-scroll-hijack-1771 · ?v=1383fl · KEEP home-rtl-1761 · team-scroll-pace-1748 · team-ring-smooth-1735 · guide-steps-1733 · home-redo-1715 · five display titles
   (Customer Service Representative · Marketing Manager · Assistant · Accountant · HR Manager · internal ids unchanged)
   ONE combined Team scene: full-size side entry → assemble → #1605 3D ring · quiet more-below hero cue
   #1771: Team card finger-drag scrolls page (no false /agent/* nav) · clean tap + View profile KEEP
   #1761: physical hero-cue borders + mirrored fan/entry under dir=rtl (EN LTR unchanged)
   Starter roadmap replaces essay How/Who (#1707) · mini-CV pages /agent/* · /guide tutorial · FAQ ≤3
   Research pack: cysq-awwwards-research-1606.md (85 sites) · refs: Razorpay pinned chapter deck ·
   Crav Burgers assemble-on-scroll · Power of Storytelling progress rail · Juan Mora word-mask type
   KEEP marketer-portrait-1703 · auth-harden-portraits-1699 · hero-cta-kill-1695 · #1605 ring ·
   #1554 phone one-row · #1545 light · #1532 blue-led · #1597 hero cast fade ≤5s · #1634 desktop ring fill
   display type 600 tight-tracked solid ink · layered depth · choreographed motion
   CTA purple (#6d5efc) accent ONLY on primary actions · everything else blue-led. */

:root {
  /* Light-first marketing (#1545) */
  --bg-base: #e8f0fa;
  --bg-elevated: #dfe9f6;
  --bg-sunk: #d0dceb;
  --ink: #0a1424;
  --text-primary: #0c1a2e;
  --text-muted: #3d5270;
  --text-subtle: #5a6f8c;
  --cta: #6d5efc;
  --cta-hover: #5a4be8;
  --cta-soft: rgba(109, 94, 252, 0.12);
  --accent-blue: #2563eb;
  --accent-violet: #6d5efc;
  --mesh-1: rgba(37, 99, 235, 0.22);
  --mesh-2: rgba(14, 165, 233, 0.14);
  --mesh-3: rgba(109, 94, 252, 0.06);
  --border: rgba(12, 26, 46, 0.09);
  --border-strong: rgba(12, 26, 46, 0.16);
  --header-bg: rgba(238, 244, 251, 0.78);
  --card-bg: #f6f9fd;
  --plate-bg:
    radial-gradient(95% 75% at 50% 26%, rgba(96, 165, 250, 0.38) 0%, rgba(96, 165, 250, 0) 62%),
    linear-gradient(168deg, #0d2038 0%, #143070 52%, #1d4ed8 100%);
  --in-bubble: #dce8f5;
  --font-sans: "Plus Jakarta Sans", "Noto Sans Arabic", system-ui, sans-serif;
  /* Depth system (#1599): key + ambient, never single flat drop */
  --shadow-card:
    0 1px 2px rgba(12, 26, 46, 0.05),
    0 8px 24px -12px rgba(12, 26, 46, 0.14);
  --shadow-card-hover:
    0 2px 4px rgba(12, 26, 46, 0.06),
    0 22px 48px -16px rgba(29, 78, 216, 0.22);
  --shadow-cta:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 -2px 0 rgba(12, 5, 64, 0.22) inset,
    0 10px 30px -10px rgba(109, 94, 252, 0.65);
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: clamp(4.25rem, 11vw, 8.75rem);
  --max: 1120px;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 3.75rem;
  --motion-reveal: 700ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-primary);
  background:
    radial-gradient(120% 80% at 18% -8%, rgba(37, 99, 235, 0.16) 0%, transparent 55%),
    radial-gradient(100% 70% at 82% 0%, rgba(29, 78, 216, 0.10) 0%, transparent 50%),
    radial-gradient(70% 50% at 50% 100%, rgba(14, 165, 233, 0.08) 0%, transparent 55%),
    linear-gradient(168deg, #f5f9fd 0%, #e7eff9 46%, #d9e6f5 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[lang="ar"] body {
  font-size: 1.125rem;
  line-height: 1.85;
}

a { color: var(--accent-blue); text-underline-offset: 0.15em; }
a:hover { color: var(--cta-hover); }

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 780px; }

/* ============ Header — #1554 phone one-row chrome (no 3-stack · no pill strip · no dark toggle) ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(12, 26, 46, 0.06);
}
.header-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.5rem;
  max-height: 4rem;
  padding-block: 0.4rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.0625rem;
  flex-shrink: 0;
  min-width: 0;
}
.logo-name {
  line-height: 1.1;
  letter-spacing: -0.035em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  margin-inline-start: auto;
}

.btn.btn-nav {
  display: inline-flex;
  min-height: 2.25rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.8125rem;
  text-decoration: none;
  white-space: nowrap;
}

.lang-switch {
  display: flex;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem;
}
.lang-btn {
  font: inherit;
  font-size: 0.8125rem;
  min-height: 2.1rem;
  padding: 0.35rem 0.7rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 160ms, color 160ms;
}
.lang-btn[aria-pressed="true"] {
  background: rgba(37, 99, 235, 0.10);
  color: var(--accent-blue);
  font-weight: 600;
}
.lang-btn:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 2px; }

/* Desktop horizontal nav — hidden on phone. Quiet ink, no pills (#1599 restraint) */
.site-nav-desktop { display: none; }
.lang-switch-desktop { display: none; }

.nav-link {
  flex-shrink: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 160ms;
}
.nav-link:hover { color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-link:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 2px; }

/* Phone menu toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 2px; }
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Phone overflow drawer (not a second chrome row when closed) */
.nav-drawer {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  padding-block: 0.75rem 1rem;
}
.nav-drawer:not([hidden]) { display: block; }
.nav-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.site-nav-drawer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.nav-drawer-link {
  display: block;
  font-size: 1rem;
  font-weight: 560;
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.7rem 0.35rem;
  border-radius: 0.5rem;
}
.nav-drawer-link[aria-current="page"] { color: var(--accent-blue); font-weight: 700; }
.nav-drawer-link:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 2px; }
.lang-switch-drawer { align-self: flex-start; }

@media (min-width: 900px) {
  .header-row { min-height: var(--header-h); max-height: none; }
  .logo { font-size: 1.375rem; }
  .site-nav-desktop {
    display: flex;
    flex: 1;
    justify-content: center;
    gap: 0.35rem;
  }
  .lang-switch-desktop { display: flex; }
  .nav-toggle,
  .nav-drawer { display: none !important; }
  .btn-nav {
    min-height: 2.4rem;
    padding: 0.45rem 1.05rem;
    font-size: 0.875rem;
  }
}

/* Interior page hero (redirect stubs) */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4rem) var(--space-3); text-align: center; }
.page-hero .eyebrow { margin-bottom: var(--space-2); }
.page-hero-title {
  margin: 0 0 var(--space-2);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.page-hero-lede { margin: 0 auto; max-width: 46ch; font-size: 1.1875rem; color: var(--text-muted); }

/* ============ Buttons — layered light (inset top highlight + ambient bloom) ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  min-height: 3rem;
  padding: 0.8rem 1.7rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 180ms, transform 160ms var(--ease-out), box-shadow 220ms;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: linear-gradient(180deg, #7b6dff 0%, var(--cta) 55%, #6355ee 100%);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #8577ff 0%, var(--cta-hover) 60%, #5548e0 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 -2px 0 rgba(12, 5, 64, 0.2) inset,
    0 16px 40px -12px rgba(109, 94, 252, 0.75);
}
.btn-lg { min-height: 3.4rem; padding: 1rem 2.2rem; font-size: 1.0625rem; border-radius: 14px; }

.btn-primary.cta-pulse {
  animation: ctaPulse 3.2s ease-in-out infinite;
}

/* ============ Sections + type system (#1599: size contrast · tight tracking · confident not heavy) ============ */
.section { padding-block: var(--space-5); }
.section-eyebrow {
  margin: 0 0 var(--space-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-blue);
}
.section-eyebrow.center { text-align: center; }
.section-title {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.9rem, 4.8vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: var(--ink);
}
.section-title.big { font-size: clamp(2.1rem, 5.8vw, 3.5rem); }
.section-title.center { text-align: center; }
.section-lede {
  margin: 0 auto var(--space-4);
  max-width: 54ch;
  text-align: center;
  color: var(--text-muted);
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  line-height: 1.7;
}
html[lang="ar"] .section-title,
html[lang="ar"] .page-hero-title { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
html[lang="ar"] .section-eyebrow { letter-spacing: 0.02em; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-blue);
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.06);
}

/* ============ Hero — full-bleed specialist cast (#1597 fade ≤5s) + choreographed copy (#1599) ============ */
.section-hero {
  position: relative;
  padding-block: clamp(3.25rem, 10vw, 6.5rem) clamp(4rem, 11vw, 7.5rem);
  min-height: min(96vh, 960px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-mesh-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(37, 99, 235, 0.20) 0%, transparent 60%),
    radial-gradient(ellipse 70% 55% at 75% 30%, rgba(14, 165, 233, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 88% 88%, rgba(109, 94, 252, 0.05) 0%, transparent 55%);
  animation: meshDrift 18s ease-in-out infinite alternate;
  mix-blend-mode: multiply;
}
/* #1597: specialists fade in as full hero background ≤5s · scatter dead
   #1599: seams feathered with edge masks + blue grade so the cast reads as one composition */
.hero-cast {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  gap: 0;
  /* Continuous navy wall behind the cast so figure seams read as one composition (#1599) */
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(96, 165, 250, 0.20) 0%, rgba(96, 165, 250, 0) 60%),
    linear-gradient(172deg, #0e2038 0%, #12305e 55%, #1a3f8f 100%);
}
.hero-cast-fig {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.045);
  animation: castFadeIn 1.4s var(--ease-out, ease-out) forwards;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.hero-cast-fig:not(:first-child) { margin-inline-start: -3.5%; }
.hero-cast-fig img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.94) contrast(1.02);
}
.hero-cast-fig:nth-child(4) { animation-delay: 0.2s; }
.hero-cast-fig:nth-child(3) { animation-delay: 0.6s; }
.hero-cast-fig:nth-child(5) { animation-delay: 1.0s; }
.hero-cast-fig:nth-child(2) { animation-delay: 1.4s; }
.hero-cast-fig:nth-child(6) { animation-delay: 1.8s; }
.hero-cast-fig:nth-child(1) { animation-delay: 2.2s; }
.hero-cast-fig:nth-child(7) { animation-delay: 2.6s; }
@keyframes castFadeIn { to { opacity: 1; transform: scale(1); } }
@media (max-width: 699px) {
  .hero-cast {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
  }
  .hero-cast-fig:nth-child(n + 5) { display: none; }
  .hero-cast-fig {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
  }
  .hero-cast-fig:not(:first-child) { margin-inline-start: 0; }
  .hero-cast-fig:nth-child(1) { animation-delay: 0.2s; }
  .hero-cast-fig:nth-child(2) { animation-delay: 0.75s; }
  .hero-cast-fig:nth-child(3) { animation-delay: 1.3s; }
  .hero-cast-fig:nth-child(4) { animation-delay: 1.85s; }
}
/* Light veil: blue grade + central copy light + bottom scrim into the page canvas */
.hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(21, 46, 84, 0.10) 0%, rgba(21, 46, 84, 0.02) 32%, rgba(217, 230, 245, 0.66) 82%, #dde9f6 100%),
    radial-gradient(ellipse 66% 58% at 50% 42%, rgba(240, 246, 252, 0.96) 0%, rgba(236, 243, 251, 0.68) 52%, rgba(232, 240, 250, 0.18) 82%, rgba(232, 240, 250, 0.04) 100%);
}
@media (max-width: 699px) {
  /* Phone: stronger copy light so headline + lede stay readable over the 2×2 cast */
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(21, 46, 84, 0.08) 0%, rgba(228, 238, 250, 0.55) 30%, rgba(226, 236, 249, 0.78) 62%, #dde9f6 100%),
      radial-gradient(ellipse 120% 52% at 50% 38%, rgba(240, 246, 252, 0.95) 0%, rgba(236, 243, 251, 0.7) 55%, rgba(232, 240, 250, 0.24) 85%, rgba(232, 240, 250, 0.08) 100%);
  }
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  max-width: 56rem;
  margin-inline: auto;
}
.hero-brand {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-blue);
}
html[lang="ar"] .hero-brand { letter-spacing: 0.04em; }
/* Display headline: big + weight 600 + tight tracking + solid ink (gradient-fill dead per #1599) */
.hero-title {
  margin: 0;
  font-size: clamp(2.6rem, 8.6vw, 4.9rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.048em;
  color: var(--ink);
  max-width: 15ch;
}
html[lang="ar"] .hero-title { letter-spacing: 0; line-height: 1.22; font-weight: 700; }
.hero-lede {
  margin: 0.35rem 0 0;
  font-size: clamp(1.125rem, 2.6vw, 1.3125rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 44ch;
}
/* #1622: hero prompt box + chips + scroll-cue COPY killed · #1695: hero See-how CTA KILLED · brand + headline + lede only
   #1713: quiet more-below cue — pure design affordance (chevron drift), zero copy, visible on open */
.hero-cue {
  position: absolute;
  inset-inline: 0;
  bottom: calc(clamp(6.5rem, 15vh, 8rem) + env(safe-area-inset-bottom, 0px));
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  pointer-events: none;
  opacity: 0.8;
  transition: opacity 480ms var(--ease-out);
}
.hero-cue.is-hidden { opacity: 0; }
/* #1761: physical right+bottom borders — logical inline-end flips under dir=rtl
   and turns the 45° chevron into sideways/up junk. Physical sides stay scroll-down EN+AR. */
.hero-cue-chevron {
  display: block;
  width: 0.85rem;
  height: 0.85rem;
  margin-top: -0.42rem;
  border-right: 2px solid var(--accent-blue);
  border-bottom: 2px solid var(--accent-blue);
  transform: rotate(45deg);
  opacity: 0.85;
  animation: cueDrift 2.4s var(--ease-out) infinite;
}
.hero-cue-chevron:nth-child(2) {
  opacity: 0.4;
  animation-delay: 0.22s;
}
@keyframes cueDrift {
  0% { transform: translateY(-4px) rotate(45deg); opacity: 0.15; }
  45% { transform: translateY(2px) rotate(45deg); opacity: 0.9; }
  100% { transform: translateY(7px) rotate(45deg); opacity: 0; }
}

/* ============ ONE combined Team scene (#1711/#1713 · #1735 smooth) · KEEP #1605 ring DNA ============
   Prologue: five FULL-SIZE portrait plates fly in from the sides (card chrome hidden — no white
   frames), morph continuously into the 3D Y-ring (overlapped handoff · no gallery chapter).
   preserve-3d ring · per-card rotateY()+translateZ() set by JS · transform/opacity only. */
.section-team {
  /* #1643 KEEP: blends with the light blue-led page — transparent top, soft blue tint, no dark band. */
  background:
    linear-gradient(180deg,
      rgba(223, 233, 246, 0) 0%,
      rgba(37, 99, 235, 0.07) 9%,
      var(--bg-elevated) 22%,
      var(--bg-elevated) 82%,
      rgba(223, 233, 246, 0) 100%);
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
}
.team-stage {
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2);
}
.team-head {
  position: relative;
  z-index: 2;
  text-align: center;
}
/* #1748: shorter pin so scatter→ring finishes in fewer scrolls (was 340vh under #1735).
   HANDOFF_START/END ratios unchanged — same choreography, faster progress per wheel tick. */
html.cysq-js:not(.cysq-reduced) .section-team .scene-track { height: 200vh; }
.roster-carousel {
  --ring-card-w: min(70vw, 20rem);
  /* JS ring radius reads this: gap = card width × factor. Bigger factor = wider ring.
     #1748: phone + desktop share 0.1 (tight phone spacing). Wide-spread 0.55/0.8 DEAD. */
  --ring-gap-f: 0.1;
  /* #1735: continuous chrome fade driven by JS (0→1 during morph) */
  --roster-chrome: 0;
  position: relative;
  z-index: 1;
  margin-top: var(--space-2);
}
/* #1634: desktop cards still scale with viewport (KEEP card width).
   #1748: gap factor stays at phone 0.1 — owner wants desktop card spacing to match phone. */
@media (min-width: 700px) {
  .roster-carousel {
    --ring-card-w: clamp(20rem, 30vw, 28rem);
    --ring-gap-f: 0.1;
  }
}
.roster-stage {
  position: relative;
  width: 100%;
  min-height: 24rem;
  perspective: 1500px;
  perspective-origin: 50% 38%;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
@media (min-width: 700px) {
  /* wider ring needs a longer lens or side cards distort (#1634) */
  .roster-stage { perspective: 2400px; }
}
.roster-stage.is-dragging { cursor: grabbing; }
.roster-stage:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.55);
  outline-offset: 4px;
  border-radius: var(--radius-lg);
}
.roster-ring {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
  opacity: 0;
  transition: opacity 600ms var(--ease-out);
}
.roster-ring.is-ready { opacity: 1; }
.roster-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--ring-card-w);
  /* physical margin: keeps the ring centered in RTL too (ring mirror is handled in JS) */
  margin-left: calc(var(--ring-card-w) / -2);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, opacity;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 0.75rem 0.75rem 1.15rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: box-shadow 320ms;
  isolation: isolate;
}
.roster-card { cursor: pointer; }
.roster-card.is-front {
  z-index: 5;
  box-shadow: var(--shadow-card-hover);
}
/* #1713 tappable affordance: the front specialist reads as an option — elevation on hover,
   press feedback, visible focus ring. Never literal "click me" copy. */
.roster-carousel.is-ring .roster-card.is-front:hover {
  box-shadow:
    0 3px 6px rgba(12, 26, 46, 0.08),
    0 30px 60px -18px rgba(29, 78, 216, 0.30);
}
.roster-carousel.is-ring .roster-card.is-front:hover .roster-cv {
  color: #fff;
  background: var(--accent-blue);
  border-color: var(--accent-blue);
}
.roster-carousel.is-ring .roster-card.is-front:active { transition-duration: 80ms; }
/* #1713/#1735 prologue: full-size plates only — chrome rises continuously via --roster-chrome */
.roster-carousel.is-entry .roster-card {
  background: color-mix(in srgb, var(--card-bg) calc(var(--roster-chrome) * 100%), transparent);
  border-color: rgba(255, 255, 255, calc(var(--roster-chrome) * 0.9));
  box-shadow:
    0 1px 2px rgba(12, 26, 46, calc(var(--roster-chrome) * 0.04)),
    0 18px 40px -20px rgba(29, 78, 216, calc(var(--roster-chrome) * 0.22));
  /* no CSS transition on chrome — JS drives the fade in lockstep with the morph */
  transition: none;
}
.roster-carousel.is-entry .roster-role,
.roster-carousel.is-entry .roster-desc,
.roster-carousel.is-entry .roster-cv {
  opacity: var(--roster-chrome);
  transition: none;
}
.roster-carousel.is-entry .roster-card,
.roster-carousel.is-entry .roster-role,
.roster-carousel.is-entry .roster-desc,
.roster-carousel.is-entry .roster-cv { pointer-events: none; }
.roster-carousel.is-entry .roster-controls {
  opacity: calc(var(--roster-chrome) * 0.7);
  pointer-events: none;
  transition: none;
}
.roster-carousel.is-ring .roster-controls { opacity: 1; pointer-events: auto; }
/* mini-CV link chip: quiet pill, arrow, hover/press/focus states (#1713 affordance bar) */
.roster-cv {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  padding: 0.32rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-decoration: none;
  border: 1px solid rgba(37, 99, 235, 0.28);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.06);
  transition: background 180ms, color 180ms, border-color 180ms, transform 180ms var(--ease-out);
}
.roster-cv:hover {
  color: #fff;
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  transform: translateY(-1px);
}
.roster-cv:active { transform: scale(0.97); }
.roster-cv:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 2px; }
html[dir="rtl"] .roster-cv svg { transform: scaleX(-1); }
.roster-plate-link { text-decoration: none; cursor: pointer; }
.roster-plate-link:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 3px; }
.roster-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: var(--space-3);
}
.roster-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-muted);
  cursor: pointer;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-card);
  transition: color 180ms, border-color 180ms, transform 200ms var(--ease-out), box-shadow 240ms;
}
.roster-nav:hover {
  color: var(--accent-blue);
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.roster-nav:active { transform: scale(0.95); }
.roster-nav:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 2px; }
html[dir="rtl"] .roster-nav svg { transform: scaleX(-1); }
.roster-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.roster-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(12, 26, 46, 0.22);
  transition: background 260ms, transform 260ms var(--ease-out);
}
.roster-dot.is-active {
  background: var(--accent-blue);
  transform: scaleX(2.1);
}
.roster-plate {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: var(--plate-bg);
  margin-bottom: var(--space-2);
  isolation: isolate;
  position: relative;
  z-index: 1;
  clip-path: inset(12% 8% 12% 8% round 16px);
  transform: scale(1.04);
  transition: clip-path 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.roster-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10) inset, 0 -34px 44px -30px rgba(6, 16, 34, 0.55) inset;
}
.roster-card.is-revealed .roster-plate {
  clip-path: inset(0 0 0 0 round 16px);
  transform: scale(1);
}
.roster-portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: transparent;
}
.roster-role {
  position: relative;
  z-index: 1;
  margin: 0 0 0.3rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.roster-desc {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-inline: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============ Starter roadmap (#1707 · replaces essay How + Who) ============
   Image-led buy path: giant numeral + task plate + one benefit line + quiet how-hint + quiet fork.
   A vertical progress line fills as the reader walks the path (transform-only). */
.section-roadmap {
  position: relative;
  /* RTL mobile numerals use a negative logical inset inside the path gutter. Keep that
     decorative offset from widening the page while preserving the visible number. */
  overflow: hidden;
  overflow: clip;
}
.roadmap-track {
  position: relative;
  margin: var(--space-4) auto 0;
  max-width: 980px;
}
.roadmap-path {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(3rem, 7vw, 5.5rem);
}
.roadmap-line {
  position: absolute;
  inset-block: 1rem;
  inset-inline-start: 1.2rem;
  width: 2px;
  background: rgba(37, 99, 235, 0.14);
  border-radius: 2px;
  pointer-events: none;
}
.roadmap-line-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--accent-blue), #60a5fa);
  border-radius: inherit;
  transform: scaleY(0);
  transform-origin: 50% 0;
  will-change: transform;
}
.roadmap-beat {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2);
  padding-inline-start: 3rem;
  opacity: 0;
  transform: translateY(34px);
  filter: blur(6px);
  transition:
    opacity 680ms var(--ease-out),
    transform 680ms var(--ease-out),
    filter 680ms var(--ease-out);
}
.roadmap-beat.is-in { opacity: 1; transform: translateY(0); filter: blur(0); }
.roadmap-plate {
  display: block;
  width: min(100%, 21rem);
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--plate-bg);
  box-shadow: var(--shadow-card);
  isolation: isolate;
  transition: transform 300ms var(--ease-out), box-shadow 300ms;
}
.roadmap-plate:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.roadmap-plate:active { transform: scale(0.99); }
.roadmap-plate:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 3px; }
.roadmap-plate img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.roadmap-copy { position: relative; }
.roadmap-num {
  position: absolute;
  inset-inline-start: -3rem;
  top: -0.4rem;
  font-size: clamp(2.1rem, 5vw, 2.9rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--accent-blue);
  opacity: 0.9;
  font-variant-numeric: tabular-nums;
}
.roadmap-role {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.roadmap-benefit {
  margin: 0 0 0.45rem;
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.55;
  max-width: 44ch;
}
.roadmap-how {
  margin: 0 0 0.9rem;
  font-size: 0.9875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 52ch;
}
.roadmap-fork {
  display: inline-block;
  margin: 0;
  padding: 0.34rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-subtle);
  border: 1px dashed rgba(12, 26, 46, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}
.roadmap-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding: 0.5rem 0.9rem;
  color: var(--accent-blue);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  transition: color 180ms, background 180ms, border-color 180ms, transform 180ms var(--ease-out);
}
.roadmap-profile:hover {
  color: #fff;
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  transform: translateY(-1px);
}
.roadmap-profile:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 2px; }
html[dir="rtl"] .roadmap-profile svg { transform: scaleX(-1); }
@media (min-width: 800px) {
  .roadmap-line { inset-inline-start: calc(50% - 1px); }
  .roadmap-beat {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: clamp(2.5rem, 6vw, 4.5rem);
    padding-inline-start: 0;
  }
  .roadmap-plate { justify-self: end; width: min(100%, 23rem); }
  .roadmap-copy { padding-inline-start: 3.4rem; }
  .roadmap-num { inset-inline-start: 0; }
  /* zig-zag: even beats mirror so the path weaves across the line */
  .roadmap-beat:nth-child(even) .roadmap-plate { order: 2; justify-self: start; }
  .roadmap-beat:nth-child(even) .roadmap-copy {
    order: 1;
    text-align: end;
    padding-inline-start: 0;
    padding-inline-end: 3.4rem;
  }
  .roadmap-beat:nth-child(even) .roadmap-num { inset-inline-start: auto; inset-inline-end: 0; }
  .roadmap-beat:nth-child(even) .roadmap-benefit,
  .roadmap-beat:nth-child(even) .roadmap-how { margin-inline-start: auto; }
}

/* soft bridge to /guide after the roadmap (quiet, not a second essay) */
.guide-bridge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: clamp(3.5rem, 8vw, 6rem);
  padding: clamp(1.4rem, 3.5vw, 2.2rem) clamp(1.4rem, 4vw, 2.6rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(246, 250, 254, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.guide-bridge-copy h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.guide-bridge-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9875rem;
  max-width: 52ch;
}
.btn-quiet {
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-blue);
  border: 1px solid rgba(37, 99, 235, 0.26);
}
.btn-quiet:hover {
  background: var(--accent-blue);
  color: #fff;
  transform: translateY(-1px);
}

/* ============ FAQ — oversized editorial accordion ============ */
.faq-list { display: grid; gap: 0.8rem; margin-top: var(--space-4); }
.faq-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(246, 250, 254, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 0.35rem 1.4rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 240ms;
}
.faq-item:hover { box-shadow: var(--shadow-card-hover); }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: clamp(1.0625rem, 2.4vw, 1.25rem);
  letter-spacing: -0.015em;
  color: var(--ink);
  padding: 1.1rem 0;
  list-style: none;
  min-height: 3rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "+";
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 200ms var(--ease-out);
}
.faq-item[open] summary::before { content: "\2013"; }
.faq-item p {
  margin: 0 0 1.2rem;
  padding-inline-start: 2.25rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ============ Final CTA — finale glow ============ */
.section-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 13vw, 10rem);
}
.section-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 62% 62% at 50% 108%, rgba(109, 94, 252, 0.20) 0%, transparent 62%),
    radial-gradient(ellipse 46% 44% at 50% 116%, rgba(37, 99, 235, 0.22) 0%, transparent 66%);
}
.cta-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
  margin-inline: auto;
}
.cta-lede { margin: 0; font-size: clamp(1.0625rem, 2.2vw, 1.25rem); color: var(--text-muted); max-width: 44ch; }
.cta-trust { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--text-subtle); letter-spacing: 0.01em; }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--border); padding-block: var(--space-3); }
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.footer-copy { margin: 0; font-size: 0.875rem; color: var(--text-muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; }
.footer-links a:hover { color: var(--accent-blue); }

/* ============ Scroll choreography (#1599: rise + blur, staggered · fade-only dead) ============ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(7px);
  transition:
    opacity var(--motion-reveal) var(--ease-out),
    transform var(--motion-reveal) var(--ease-out),
    filter var(--motion-reveal) var(--ease-out);
}
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.section-faq .faq-item {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(5px);
  transition:
    opacity 640ms var(--ease-out),
    transform 640ms var(--ease-out),
    filter 640ms var(--ease-out),
    box-shadow 260ms;
}
.section-faq.is-visible .faq-item {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.section-faq.is-visible .faq-item:nth-child(1) { transition-delay: 60ms; }
.section-faq.is-visible .faq-item:nth-child(2) { transition-delay: 150ms; }
.section-faq.is-visible .faq-item:nth-child(3) { transition-delay: 240ms; }
/* Hero copy: line-by-line choreography over the fading cast */
.hero-reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(8px);
  animation: fadeUp 900ms var(--ease-out) forwards;
}
.hero-reveal:nth-child(1) { animation-delay: 150ms; }
.hero-reveal:nth-child(2) { animation-delay: 320ms; }
.hero-reveal:nth-child(3) { animation-delay: 540ms; }
.hero-reveal:nth-child(4) { animation-delay: 740ms; }
.hero-reveal:nth-child(5) { animation-delay: 940ms; }
.hero-reveal:nth-child(6) { animation-delay: 1140ms; }
.hero-reveal:nth-child(7) { animation-delay: 1340ms; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.85); } }
@keyframes ctaPulse {
  0%, 100% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.28) inset,
      0 -2px 0 rgba(12, 5, 64, 0.22) inset,
      0 10px 30px -10px rgba(109, 94, 252, 0.65);
  }
  50% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.28) inset,
      0 -2px 0 rgba(12, 5, 64, 0.22) inset,
      0 14px 44px -8px rgba(109, 94, 252, 0.85);
  }
}
@keyframes meshDrift {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.04) translate(1%, 1.5%); }
}
/* ============ Legacy shells (redirect stubs / archive markup) ============ */
.section-strip { text-align: center; }
.strip-title { margin: 0 0 var(--space-1); font-size: clamp(1.5rem, 4.5vw, 2.1rem); font-weight: 600; letter-spacing: -0.03em; }
.strip-body { margin: 0 auto; max-width: 48ch; color: var(--text-muted); font-size: 1.1rem; }

.section-targets { border-block: 1px solid var(--border); }
.targets-grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .targets-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .targets-grid { grid-template-columns: repeat(4, 1fr); } }
.target-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  transition: border-color 200ms, transform 200ms var(--ease-out);
}
.target-card:hover {
  border-color: var(--cta-soft);
  transform: translateY(-3px);
}
.target-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--cta-soft);
  color: var(--cta);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.target-title {
  margin: 0 0 0.4rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.target-body { margin: 0; font-size: 0.9375rem; color: var(--text-muted); line-height: 1.55; }

.hero-grid {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-5); }
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.hero-jump { font-size: 1rem; color: var(--text-muted); text-decoration: none; }
.hero-jump:hover { color: var(--cta); }
.hero-note { margin: 0; font-size: 0.9375rem; color: var(--text-subtle); }
.hero-demo { display: flex; justify-content: center; }
.phone {
  width: min(100%, 22rem);
  background: var(--card-bg);
  border: 1px solid var(--border-strong);
  border-radius: 26px;
  padding: 0.85rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}
.phone-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.85rem;
}
.phone-dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--cta); }
.phone-title { font-weight: 600; font-size: 0.9375rem; }
.thread { display: flex; flex-direction: column; gap: 0.7rem; min-height: 15rem; }
.bubble {
  max-width: 88%;
  padding: 0.7rem 0.95rem;
  border-radius: 16px;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.bubble-in {
  align-self: flex-end;
  background: var(--cta);
  color: #fff;
  border-bottom-right-radius: 5px;
  min-height: 1.5rem;
}
html[dir="rtl"] .bubble-in { border-bottom-right-radius: 16px; border-bottom-left-radius: 5px; }
.build-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  font-size: 0.875rem;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 250ms;
}
.build-line.is-on { opacity: 1; }
.build-dot {
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: var(--cta);
  animation: pulse 1.4s ease-in-out infinite;
}
.employee-card {
  align-self: flex-start;
  width: 100%;
  background: var(--bg-sunk);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 0.85rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.employee-card.is-on { opacity: 1; transform: translateY(0); }
.employee-head { display: flex; align-items: center; gap: 0.6rem; }
.employee-spark {
  width: 1.9rem; height: 1.9rem; border-radius: 9px; flex-shrink: 0;
  background: var(--cta-soft);
  position: relative;
}
.employee-spark::before {
  content: "\2726";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--cta); font-size: 1rem;
}
.employee-name { font-weight: 700; font-size: 0.9375rem; }
.employee-job { font-size: 0.8125rem; color: var(--text-muted); }
.employee-live {
  margin-inline-start: auto;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cta);
  background: var(--cta-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.employee-said {
  margin: 0.7rem 0 0;
  font-size: 0.9375rem;
  color: var(--text-primary);
  line-height: 1.55;
}

.section-agitate { background: var(--bg-elevated); border-block: 1px solid var(--border); }

.section-reveal { text-align: center; }
.reveal-stack { display: flex; flex-direction: column; gap: var(--space-2); align-items: center; margin-inline: auto; }
.reveal-lede { margin: 0; font-size: 1.1875rem; color: var(--text-muted); max-width: 52ch; }

.steps {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
  counter-reset: step;
}
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem; height: 2.4rem;
  border-radius: 12px;
  background: var(--cta-soft);
  color: var(--cta);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--space-2);
}
.step-title { margin: 0 0 0.4rem; font-size: 1.1875rem; font-weight: 700; }
.step-body { margin: 0; color: var(--text-muted); font-size: 1rem; }

.section-proof { background: var(--bg-elevated); border-block: 1px solid var(--border); }
.proof-caption { margin: 0 auto var(--space-4); max-width: 54ch; color: var(--text-muted); font-size: 0.9375rem; }
.proof-grid { display: grid; gap: var(--space-2); }
@media (min-width: 820px) { .proof-grid { grid-template-columns: repeat(3, 1fr); } }
.thread-card {
  margin: 0;
  background: var(--card-bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.thread-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.redact-name { font-weight: 700; letter-spacing: 0.05em; color: var(--text-subtle); }
.thread-time { font-size: 0.75rem; color: var(--text-subtle); }
.mini-bubble {
  max-width: 92%;
  padding: 0.55rem 0.8rem;
  border-radius: 13px;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.mini-in { align-self: flex-start; background: var(--in-bubble); color: var(--text-primary); border-bottom-left-radius: 4px; }
.mini-out { align-self: flex-end; background: var(--cta); color: #fff; border-bottom-right-radius: 4px; }
html[dir="rtl"] .mini-in { border-bottom-left-radius: 13px; border-bottom-right-radius: 4px; }
html[dir="rtl"] .mini-out { border-bottom-right-radius: 13px; border-bottom-left-radius: 4px; }
.thread-tag { margin-top: 0.3rem; font-size: 0.8125rem; color: var(--text-muted); }

.table-scroll { margin-top: var(--space-3); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.compare-table th, .compare-table td {
  padding: 0.8rem 0.7rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.compare-table thead th { color: var(--text-muted); font-weight: 600; font-size: 0.875rem; }
.compare-table tbody th {
  text-align: start;
  font-weight: 600;
  color: var(--text-primary);
}
.compare-table td { color: var(--text-muted); }
.compare-table .col-us { color: var(--cta); font-weight: 700; }
.compare-table thead th.col-us {
  color: var(--cta);
  background: var(--cta-soft);
  border-radius: 10px 10px 0 0;
}
.compare-table tbody td.col-us { background: var(--cta-soft); }
.compare-note { margin: var(--space-3) auto 0; max-width: 52ch; color: var(--text-muted); }

.trust-grid { display: grid; gap: var(--space-2); margin-top: var(--space-4); }
@media (min-width: 820px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}
.trust-head { margin: 0 0 0.4rem; font-size: 1.0625rem; font-weight: 700; }
.trust-body { margin: 0; color: var(--text-muted); font-size: 1rem; }

/* ============ Awwwards scroll-story system (#1606 / roster-reveal-phone-1613) ============
   Zero animation libraries. Pinned scene decks = sticky stage inside a tall track; JS drives
   progress with one rAF scroll listener. CSS defaults are the FINISHED state so no-JS and
   reduced-motion readers get a complete page. Transform/opacity only. */

/* Thin top progress bar (whole story) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 60;
  background: linear-gradient(90deg, var(--accent-blue), #60a5fa);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}
html[dir="rtl"] .scroll-progress { transform-origin: 100% 50%; }

/* Story rail: chapter dots (desktop) — steal from Power of Storytelling/Simonholm */
.story-rail {
  position: fixed;
  top: 50%;
  inset-inline-end: 1.1rem;
  transform: translateY(-50%);
  z-index: 55;
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms var(--ease-out);
}
.story-rail.is-shown { opacity: 1; pointer-events: auto; }
@media (min-width: 900px) {
  html.cysq-js .story-rail { display: flex; }
}
.rail-dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: rgba(12, 26, 46, 0.22);
  text-decoration: none;
  transition: background 240ms, transform 240ms var(--ease-out);
}
.rail-dot:hover { background: var(--accent-blue); }
.rail-dot.is-active {
  background: var(--accent-blue);
  transform: scale(1.45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
}
.rail-label {
  position: absolute;
  inset-inline-end: 1.3rem;
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.18rem 0.65rem;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 200ms, transform 200ms var(--ease-out);
  pointer-events: none;
}
html[dir="rtl"] .rail-label { transform: translateX(-6px); }
.rail-dot:hover .rail-label,
.rail-dot.is-active .rail-label { opacity: 1; transform: translateX(0); }

/* Scene shell: tall track + sticky full-viewport stage */
.scene { position: relative; }
html.cysq-js:not(.cysq-reduced) .scene-track { height: 260vh; }
html.cysq-js:not(.cysq-reduced) .scene-stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.scene-stage { padding-block: var(--space-4); }

/* #1640: Why night chapter removed · #1713: assemble strip + pinned How beats removed —
   the combined Team scene owns the pinned entry now, the roadmap owns the buy path. */

/* Word-mask headline reveals (Juan Mora steal · word-level so Arabic shaping survives) */
[data-split-words] .wmask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
[data-split-words] .wword {
  display: inline-block;
  transform: translateY(112%);
  filter: blur(5px);
  opacity: 0;
  transition:
    transform 720ms var(--ease-out),
    filter 720ms var(--ease-out),
    opacity 520ms var(--ease-out);
  will-change: transform;
}
[data-split-words].is-in .wword {
  transform: translateY(0);
  filter: blur(0);
  opacity: 1;
}
[data-velocity-skew] { will-change: transform; }

/* FAQ menu-index numbers (Off Menu steal) */
.faq-index {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  opacity: 0.75;
  font-variant-numeric: tabular-nums;
}
.faq-q { flex: 1; }

/* Roles marquee divider (Happly steal) — CSS-only texture between chapters */
.roles-marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  padding-block: 0.9rem;
  background: rgba(255, 255, 255, 0.4);
}
.roles-marquee-track {
  display: flex;
  gap: 2.6rem;
  width: max-content;
  animation: rolesMarquee 26s linear infinite;
}
html[dir="rtl"] .roles-marquee-track { animation-name: rolesMarqueeRtl; }
.marquee-item {
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text-subtle);
  white-space: nowrap;
}
.marquee-item::after {
  content: "·";
  margin-inline-start: 2.6rem;
  color: var(--accent-blue);
}
@keyframes rolesMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes rolesMarqueeRtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-reveal, .reveal-on-scroll,
  .roadmap-beat, .section-faq .faq-item {
    opacity: 1; transform: none; filter: none; animation: none; transition: none;
  }
  .roster-plate { clip-path: none; transform: none; }
  /* #1605: no auto ring motion · JS snaps instantly · keep 3D placement transforms */
  .roster-ring { transition: none; }
  .roster-card { transition: none; }
  .roster-nav, .roster-dot { transition: none; }
  .hero-cast-fig { opacity: 1; transform: none; animation: none; }
  .btn-primary.cta-pulse, .hero-mesh-bg { animation: none; }
  .btn:active, .btn-primary:hover { transform: none; }
  /* #1713: quiet cue stays visible but static (no drift loop) */
  .hero-cue-chevron { animation: none; opacity: 0.7; transform: rotate(45deg); }
  .roadmap-line-fill { transform: scaleY(1) !important; }
  .roadmap-plate:hover, .roster-cv:hover, .btn-quiet:hover, .guide-bridge { transition: none; }
  /* #1606 scenes: no pinning, complete static story */
  .roles-marquee-track { animation: none; }
  .scroll-progress { display: none; }
  .story-rail { display: none !important; }
  [data-split-words] .wword { transform: none; filter: none; opacity: 1; transition: none; }
  /* #1713 reduced team scene: instant assembled ring, chrome on, everything selectable */
  .roster-carousel.is-entry .roster-card {
    background: var(--card-bg);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-card);
    pointer-events: auto;
  }
  .roster-carousel.is-entry .roster-role,
  .roster-carousel.is-entry .roster-desc,
  .roster-carousel.is-entry .roster-cv { opacity: 1; pointer-events: auto; }
  .roster-carousel .roster-controls { opacity: 1 !important; pointer-events: auto !important; }
}

/* ============ Mini-CV pages (/agent/* · #1707/#1713) ============ */
.cv-page { padding-block: clamp(2rem, 5vw, 3.5rem) var(--space-5); }
.cv-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: var(--space-3);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 160ms;
}
.cv-back:hover { color: var(--accent-blue); }
.cv-back svg { flex-shrink: 0; }
html[dir="rtl"] .cv-back svg { transform: scaleX(-1); }
.cv-hero {
  display: grid;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}
@media (min-width: 800px) {
  .cv-hero { grid-template-columns: minmax(0, 26rem) 1fr; column-gap: clamp(2.5rem, 6vw, 4.5rem); }
}
.cv-plate {
  width: min(100%, 24rem);
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--plate-bg);
  box-shadow: var(--shadow-card-hover);
  isolation: isolate;
}
.cv-plate img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.cv-head .section-eyebrow { margin-bottom: 0.6rem; }
.cv-title {
  margin: 0 0 var(--space-2);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.04;
  color: var(--ink);
}
html[lang="ar"] .cv-title { letter-spacing: 0; line-height: 1.25; font-weight: 700; }
.cv-intro {
  margin: 0;
  font-size: clamp(1.125rem, 2.4vw, 1.3125rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 46ch;
}
.cv-grid {
  display: grid;
  gap: var(--space-3);
  margin-bottom: clamp(3rem, 7vw, 5rem);
}
@media (min-width: 800px) { .cv-grid { grid-template-columns: repeat(3, 1fr); } }
.cv-block {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(246, 250, 254, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  box-shadow: var(--shadow-card);
}
.cv-block h2 {
  margin: 0 0 var(--space-2);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cv-block ol, .cv-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.cv-block li {
  position: relative;
  padding-inline-start: 1.65rem;
  color: var(--text-muted);
  font-size: 0.9875rem;
  line-height: 1.6;
}
.cv-block li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.5em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.28);
}
.cv-block-how li::before { background: var(--accent-blue); }
.cv-hire {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.cv-hire-note { margin: 0; font-size: 0.875rem; color: var(--text-subtle); }

/* ============ /guide tutorial page (#1733 · mirrors live app v=1729a) ============ */
.guide-page { padding-block: clamp(2rem, 5vw, 3.5rem) var(--space-5); }
.guide-head { text-align: center; margin-bottom: clamp(3rem, 7vw, 5rem); }
.guide-steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 980px;
  display: grid;
  gap: clamp(3.5rem, 8vw, 6rem);
}
.guide-step {
  display: grid;
  gap: var(--space-3);
  align-items: center;
}
@media (min-width: 800px) {
  .guide-step { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2.5rem, 6vw, 4.5rem); }
  .guide-step:nth-child(even) .guide-step-copy { order: 2; }
  .guide-step:nth-child(even) .guide-shot { order: 1; }
}
.guide-step-copy { position: relative; padding-inline-start: 3.2rem; }
.guide-num {
  position: absolute;
  inset-inline-start: 0;
  top: -0.3rem;
  font-size: clamp(2rem, 4.5vw, 2.7rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--accent-blue);
  opacity: 0.9;
  font-variant-numeric: tabular-nums;
}
.guide-step h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.guide-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0313rem;
  line-height: 1.65;
  max-width: 50ch;
}
/* Pixel-faithful phone clones of live app chrome (#1729 Today / Team / Accounts / Inbox / Meeting) */
.guide-shot { display: flex; justify-content: center; }
.guide-phone {
  width: min(100%, 20.5rem);
  border-radius: 30px;
  border: 1px solid rgba(12, 26, 46, 0.16);
  background: #0b1526;
  padding: 0.65rem;
  box-shadow: 0 30px 70px -32px rgba(12, 26, 46, 0.55);
}
.guide-screen {
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #e8f0fa 0%, #f5f8fc 48%, #eef3f9 100%);
  color: #0c1a2e;
  font-size: 0.75rem;
  line-height: 1.4;
  min-height: 28rem;
  display: flex;
  flex-direction: column;
}
.guide-screen-today { min-height: 34rem; }
.guide-app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: -0.01em;
  color: #52647e;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(12, 26, 46, 0.08);
}
.guide-app-top strong { color: #0c1a2e; }
.guide-screen-body {
  padding: 0.7rem 0.7rem 0.55rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
  flex: 1;
  overflow: hidden;
}
.guide-kicker {
  display: block;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #60728e;
}
html[lang="ar"] .guide-kicker { letter-spacing: 0.01em; }
.guide-card-k {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #60728e;
  margin-bottom: 0.3rem;
}
html[lang="ar"] .guide-card-k { letter-spacing: 0.01em; }
.guide-today-hero {
  display: grid;
  gap: 0.28rem;
  padding: 0.85rem 0.9rem;
  color: #f8fbff;
  background:
    radial-gradient(circle at 88% 0%, rgba(96, 165, 250, 0.34), transparent 42%),
    linear-gradient(135deg, #0c1a2e, #153a70 58%, #1d4ed8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 16px 36px -24px rgba(12, 26, 46, 0.7);
}
.guide-today-hero .guide-kicker { color: #93c5fd; }
.guide-today-hero strong { font-size: 1.05rem; letter-spacing: -0.03em; line-height: 1.15; }
.guide-today-hero small { color: #eaf1fc; line-height: 1.35; font-size: 0.6875rem; }
.guide-quick-row,
.guide-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}
.guide-quick-row b,
.guide-action-row b,
.guide-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  font-size: 0.625rem;
  font-weight: 700;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.14);
}
.guide-quick-row b.is-primary,
.guide-action-row b.is-primary,
.guide-pill-btn {
  color: #fff;
  background: #2563eb;
  border-color: #1d4ed8;
}
.guide-today-hero .guide-quick-row b {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}
.guide-today-hero .guide-quick-row b.is-primary {
  background: #fff;
  color: #1d4ed8;
  border-color: #fff;
}
.guide-ia-block {
  padding: 0.65rem 0.7rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(12, 26, 46, 0.09);
  border-radius: 12px;
  box-shadow: 0 10px 24px -20px rgba(12, 26, 46, 0.4);
}
.guide-ia-compact { padding-block: 0.55rem; }
.guide-ia-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}
.guide-ia-head strong {
  display: block;
  margin-top: 0.08rem;
  font-size: 0.8125rem;
  letter-spacing: -0.02em;
}
.guide-ia-head em {
  font-style: normal;
  font-size: 0.625rem;
  font-weight: 700;
  color: #1d4ed8;
  white-space: nowrap;
}
.guide-seat-card {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 0.55rem;
  padding: 0.55rem;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 11px;
}
.guide-seat-card img,
.guide-team-card img,
.guide-cast-card img {
  width: 3.2rem;
  height: 4.25rem;
  object-fit: contain;
  border-radius: 8px;
  background: #0c1a2e;
}
.guide-seat-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}
.guide-seat-copy strong,
.guide-need-card strong,
.guide-finish-card strong,
.guide-agenda-card strong,
.guide-team-card strong,
.guide-cast-card strong,
.guide-approval-card strong {
  font-size: 0.75rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.guide-seat-copy > span,
.guide-need-card > span,
.guide-finish-card > span,
.guide-team-card span,
.guide-cast-card span {
  color: #52647e;
  font-size: 0.6875rem;
  line-height: 1.35;
}
.guide-seat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.45rem;
  align-items: center;
  color: #60728e;
  font-size: 0.625rem;
}
.guide-seat-meta i {
  font-style: normal;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-weight: 700;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.12);
}
.guide-need-card,
.guide-agenda-card,
.guide-finish-card {
  display: grid;
  gap: 0.2rem;
}
.guide-actor { font-weight: 650; color: #0c1a2e; font-size: 0.6875rem; }
.guide-module-head {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 0.15rem;
}
.guide-module-head strong {
  font-size: 0.95rem;
  letter-spacing: -0.03em;
}
.guide-module-head small {
  color: #52647e;
  font-size: 0.6875rem;
  line-height: 1.35;
}
.guide-hire-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #0c1a2e;
  margin-top: 0.15rem;
}
.guide-team-card {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 0.55rem;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(12, 26, 46, 0.09);
  border-radius: 12px;
}
.guide-team-card.is-owned {
  background: rgba(37, 99, 235, 0.05);
  border-color: rgba(37, 99, 235, 0.14);
}
.guide-team-card em {
  display: inline-block;
  margin-top: 0.35rem;
  font-style: normal;
  font-size: 0.625rem;
  font-weight: 700;
  color: #047857;
}
.guide-team-card .guide-pill-btn { margin-top: 0.4rem; }
.guide-connect-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(12, 26, 46, 0.09);
  font-weight: 600;
  font-size: 0.75rem;
}
.guide-connect-pill {
  padding: 0.28rem 0.65rem;
  border-radius: 8px;
  font-size: 0.625rem;
  font-weight: 700;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  white-space: nowrap;
}
.guide-connect-pill.is-on { background: rgba(5, 150, 105, 0.12); color: #047857; }
.guide-approval-card {
  display: grid;
  gap: 0.4rem;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid rgba(12, 26, 46, 0.1);
  border-radius: 14px;
  box-shadow: 0 14px 32px -24px rgba(12, 26, 46, 0.45);
}
.guide-approval-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.guide-approval-actions b {
  padding: 0.4rem;
  color: #1d4ed8;
  text-align: center;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 8px;
  font-size: 0.625rem;
}
.guide-outcome-field {
  padding: 0.7rem 0.75rem;
  background: #fff;
  border: 1px solid rgba(12, 26, 46, 0.1);
  border-radius: 12px;
}
.guide-outcome-field p {
  margin: 0;
  color: #0c1a2e;
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: 600;
}
.guide-cast-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #0c1a2e;
}
.guide-cast-card {
  display: grid;
  grid-template-columns: auto 2.7rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
  padding: 0.55rem;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 11px;
}
.guide-cast-card img {
  width: 2.7rem;
  height: 3.6rem;
}
.guide-cast-tick {
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.35rem;
  border-radius: 4px;
  background: #2563eb;
  position: relative;
  flex-shrink: 0;
}
.guide-cast-tick::after {
  content: "";
  position: absolute;
  inset-inline-start: 0.24rem;
  top: 0.1rem;
  width: 0.22rem;
  height: 0.42rem;
  border-inline-end: 2px solid #fff;
  border-block-end: 2px solid #fff;
  transform: rotate(42deg);
}
.guide-room {
  display: grid;
  gap: 0.45rem;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(12, 26, 46, 0.09);
  border-radius: 12px;
}
.guide-runtime-hold {
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.16);
  color: #1e3a5f;
  font-size: 0.625rem;
  line-height: 1.35;
}
.guide-plan-block,
.guide-progress-block {
  display: grid;
  gap: 0.2rem;
  font-size: 0.625rem;
  color: #52647e;
}
.guide-plan-block strong,
.guide-progress-block strong {
  color: #0c1a2e;
  font-size: 0.6875rem;
}
.guide-plan-block b { color: #1d4ed8; }
.guide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
}
.guide-bottom-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.15rem;
  padding: 0.4rem 0.35rem 0.5rem;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(12, 26, 46, 0.08);
}
.guide-bottom-nav > span {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  color: #60728e;
  font-size: 0.5rem;
  font-weight: 650;
}
.guide-bottom-nav i {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 4px;
  background: rgba(12, 26, 46, 0.12);
}
.guide-bottom-nav .is-on { color: #1d4ed8; }
.guide-bottom-nav .is-on i { background: #2563eb; }
.guide-cta-row {
  display: flex;
  justify-content: center;
  margin-top: clamp(3rem, 7vw, 5rem);
}
