/* =====================================================================
   FunnelX — Homepage (page-specific layout)
   Reuses tokens + components from colors_and_type.css & design-language.css
   ===================================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg-app); color: var(--fg-1); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--fx-light-blue-tint); color: var(--fx-navy); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-8); }
@media (max-width: 640px){ .wrap { padding: 0 var(--space-5); } }

/* ---------------- Header / nav ---------------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out); border-bottom: 1px solid transparent; }
.site-header .bar { display: flex; align-items: center; gap: 18px; height: 76px; }
.site-header .logo { display: flex; align-items: center; flex: none; }
.site-header .logo img { height: 27px; }
.site-header .logo .l-light { display: block; }
.site-header .logo .l-dark { display: none; }
.site-header .links { display: flex; gap: 2px; margin-left: 14px; }.site-header .links a { padding: 10px 14px; border-radius: var(--radius-sm); font-size: var(--fs-14); font-weight: var(--fw-medium); text-decoration: none; color: #fff; transition: color 200ms var(--ease-out); }
.site-header .links a:hover { color: var(--fx-orange); }
.site-header .right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.site-header .signin { font-size: var(--fs-14); font-weight: var(--fw-medium); text-decoration: none; color: #fff; transition: color 200ms var(--ease-out); }
.site-header .signin:hover { color: var(--fx-orange); }
.site-header .burger { display: none; }

/* scrolled → solid white */
.site-header.scrolled { background: rgba(252,252,252,0.86); backdrop-filter: blur(14px); border-bottom-color: var(--border-1); box-shadow: var(--shadow-sm); }
.site-header.scrolled .logo .l-light { display: none; }
.site-header.scrolled .logo .l-dark { display: block; }
.site-header.scrolled .links a,
.site-header.scrolled .signin { color: var(--fx-navy); }
.site-header.scrolled .links a:hover { color: var(--fx-orange); }

/* hamburger */
.burger { width: 28px; height: 18px; flex-direction: column; justify-content: space-between; background: none; border: 0; padding: 0; cursor: pointer; }
.burger span { height: 2.5px; width: 100%; background: #fff; border-radius: 2px; transition: transform 280ms var(--ease-in-out), opacity 200ms var(--ease-out), background 200ms; }
.site-header.scrolled .burger span { background: var(--fx-navy); }

/* mobile overlay menu */
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: var(--fx-navy); padding: 96px var(--space-6) var(--space-8); display: flex; flex-direction: column; gap: 4px; transform: translateY(-100%); opacity: 0; pointer-events: none; transition: opacity 300ms var(--ease-out), transform 360ms var(--ease-in-out); overflow: hidden; }
.mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu a { color: #fff; font-size: var(--fs-24); font-weight: var(--fw-medium); padding: 16px 6px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.09); transition: padding-left 200ms var(--ease-out); }
.mobile-menu a:hover { padding-left: 12px; }
.mobile-menu .btn { margin-top: var(--space-6); justify-content: center; font-size: var(--fs-18); }
.mobile-menu .mm-funnel { position: absolute; inset: 0; opacity: 0.18; pointer-events: none; }
body.menu-open { overflow: hidden; }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(118deg, #071437 0%, #0a1f5c 30%, #0331F3 76%, #3265FF 104%); color: #fff; padding: 132px 0 88px; }
.hero .funnelfield { position: absolute; inset: 0; z-index: 1; }
.hero .funnelfield path { stroke: #ffffff; opacity: 0.16; }
.hero .glow { position: absolute; width: 620px; height: 620px; right: -160px; top: -120px; background: radial-gradient(circle, rgba(50,101,255,0.55), transparent 62%); filter: blur(20px); z-index: 1; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-16); align-items: center; }
@media (max-width: 960px){ .hero { padding: 124px 0 72px; } .hero-grid { grid-template-columns: 1fr; gap: var(--space-12); } }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.3vw, 3.3rem); line-height: 1.08; letter-spacing: -0.02em; margin: var(--space-4) 0 var(--space-5); max-width: 15ch; }
.hero .sub { font-size: var(--fs-18); line-height: var(--lh-relaxed); color: #fff; max-width: 48ch; margin: 0 0 var(--space-8); }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .trust { margin-top: var(--space-8); display: flex; align-items: center; gap: 18px; color: #fff; font-size: var(--fs-14); }
.hero .trust .sep { width: 4px; height: 4px; border-radius: 999px; background: rgba(255,255,255,0.4); }
.btn-hero-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.32); }
.btn-hero-ghost:hover { background: rgba(255,255,255,0.08); border-color: #fff; }

/* ---------------- Roleplay demo widget ---------------- */
.roleplay { background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); overflow: hidden; border: 1px solid rgba(255,255,255,0.5); }
.rp-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border-1); background: var(--bg-subtle); }
.rp-top .who { display: flex; align-items: center; gap: 10px; }
.rp-top .avatar { width: 34px; height: 34px; border-radius: 999px; background: linear-gradient(135deg, #3265FF, #0331F3); display: grid; place-items: center; color: #fff; font-weight: var(--fw-semibold); font-size: var(--fs-14); }
.rp-top .who .nm { font-weight: var(--fw-semibold); font-size: var(--fs-14); line-height: 1.1; }
.rp-top .who .role { font-size: var(--fs-12); color: var(--fg-3); }
.rp-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: var(--radius-pill); background: var(--danger-soft); color: var(--fx-red); font-size: var(--fs-12); font-weight: var(--fw-semibold); letter-spacing: 0.04em; }
.rp-live .pulse { width: 8px; height: 8px; border-radius: 999px; background: var(--fx-red); animation: rp-pulse 1.4s infinite; }
@keyframes rp-pulse { 0%,100%{ opacity: 1; transform: scale(1);} 50%{ opacity: 0.4; transform: scale(0.7);} }
@media (prefers-reduced-motion: reduce){ .rp-live .pulse { animation: none; } }

.rp-body { padding: 20px 18px; min-height: 318px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.rp-msg { display: flex; gap: 10px; max-width: 84%; opacity: 0; transform: translateY(8px); transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out); }
.rp-msg.show { opacity: 1; transform: none; }
.rp-msg .bubble { padding: 11px 14px; border-radius: 14px; font-size: var(--fs-14); line-height: var(--lh-snug); }
.rp-msg.prospect .bubble { background: var(--bg-muted); color: var(--fg-1); border-bottom-left-radius: 4px; }
.rp-msg.rep { align-self: flex-end; flex-direction: row-reverse; }
.rp-msg.rep .bubble { background: var(--fx-light-blue); color: #fff; border-bottom-right-radius: 4px; }
.rp-msg .tag { font-size: var(--fs-12); color: var(--fg-3); margin-bottom: 3px; font-weight: var(--fw-medium); }

/* coaching tip toast */
.rp-tip { position: relative; align-self: flex-start; display: flex; gap: 10px; align-items: flex-start; background: var(--fx-navy); color: #fff; padding: 11px 14px; border-radius: 14px; max-width: 88%; opacity: 0; transform: translateY(8px) scale(0.98); transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-in-out); }
.rp-tip.show { opacity: 1; transform: none; }
.rp-tip .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--fx-orange); flex: none; display: grid; place-items: center; }
.rp-tip .ic .icon { width: 17px; height: 17px; background-color: #fff; }
.rp-tip .t-head { font-size: var(--fs-12); color: var(--fx-light-blue-tint); font-weight: var(--fw-semibold); letter-spacing: 0.04em; text-transform: uppercase; }
.rp-tip .t-body { font-size: var(--fs-14); line-height: var(--lh-snug); margin-top: 2px; }

/* footer of widget: waveform + score + controls */
.rp-foot { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-top: 1px solid var(--border-1); background: var(--bg-subtle); }
.rp-wave { display: flex; align-items: center; gap: 3px; height: 30px; flex: 1; }
.rp-wave span { width: 3px; border-radius: 2px; background: var(--fx-light-blue); height: 20%; }
.rp-wave.live span { animation: rp-wave 1.1s ease-in-out infinite; }
.rp-wave span:nth-child(2n){ animation-delay: .15s; } .rp-wave span:nth-child(3n){ animation-delay: .3s; } .rp-wave span:nth-child(4n){ animation-delay: .45s; } .rp-wave span:nth-child(5n){ animation-delay: .6s; }
@keyframes rp-wave { 0%,100%{ height: 18%; } 50%{ height: 90%; } }
@media (prefers-reduced-motion: reduce){ .rp-wave span { animation: none !important; height: 45%; } }
.rp-score { display: flex; align-items: baseline; gap: 6px; flex: none; }
.rp-score .lab { font-size: var(--fs-12); color: var(--fg-3); }
.rp-score .val { font-size: var(--fs-30); font-weight: var(--fw-bold); color: var(--fx-navy); font-variant-numeric: tabular-nums; line-height: 1; }
.rp-replay { flex: none; }
.rp-replay.hidden { display: none; }

/* ---------------- Full app dashboard (faithful UI) ---------------- */
.appdash { display: grid; grid-template-columns: 244px 1fr; background: #fff; border-radius: var(--radius-xl); overflow: hidden; font-size: 14px; color: var(--fx-navy); text-align: left; }
.appdash * { box-sizing: border-box; }
.ad-side { border-right: 1px solid var(--border-1); padding: 22px 16px; background: #fff; }
.ad-logo { height: 30px; margin: 4px 8px 24px; display: block; }
.ad-slabel { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); font-weight: var(--fw-semibold); margin: 0 10px 8px; }
.ad-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 26px; }
.ad-nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; color: var(--fx-navy-2); text-decoration: none; font-weight: var(--fw-medium); }
.ad-nav a .adi { width: 18px; height: 18px; background-color: currentColor; -webkit-mask: var(--i) center/contain no-repeat; mask: var(--i) center/contain no-repeat; flex: none; }
.ad-nav a .adchev { margin-left: auto; width: 14px; height: 14px; background-color: var(--fg-3); -webkit-mask: var(--chev) center/contain no-repeat; mask: var(--chev) center/contain no-repeat; }
.ad-nav a.active { background: var(--fx-light-blue); color: #fff; }
.ad-main { padding: 22px 28px 28px; min-width: 0; background: #fff; }
.ad-crumb { display: flex; align-items: center; gap: 10px; color: var(--fg-2); font-size: 14px; margin-bottom: 14px; }
.ad-crumb .adsq { width: 20px; height: 20px; border: 2px solid var(--fg-3); border-radius: 5px; }
.ad-welcome { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.ad-welcome h3 { font-size: 26px; font-weight: var(--fw-bold); margin: 0; letter-spacing: -0.01em; }
.ad-welcome h3 span { color: var(--fx-light-blue); }
.ad-select { display: flex; align-items: center; gap: 12px; color: var(--fg-2); font-size: 13px; }
.ad-select .adbox { display: flex; align-items: center; gap: 40px; border: 1px solid var(--border-2); border-radius: 8px; padding: 9px 12px; color: var(--fx-navy); font-weight: var(--fw-medium); }
.ad-select .adbox::after { content: ""; width: 12px; height: 12px; background-color: var(--fg-3); -webkit-mask: var(--chev) center/contain no-repeat; mask: var(--chev) center/contain no-repeat; }
.ad-rule { border: 0; border-top: 1px solid var(--border-1); margin: 12px 0 20px; }
.ad-stats { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; margin-bottom: 20px; }
.ad-stat { border: 1px solid var(--border-1); border-radius: 14px; padding: 16px 18px; background: linear-gradient(160deg, #fbfcff, #eaf0ff); min-height: 118px; display: flex; flex-direction: column; }
.ad-stat b { font-size: 14px; font-weight: var(--fw-bold); }
.ad-stat small { color: var(--fg-2); font-size: 13px; margin-top: 3px; }
.ad-stat .adnum { margin-top: auto; text-align: right; font-size: 34px; font-weight: var(--fw-bold); color: var(--fx-light-blue); }
.ad-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.ad-panel { border: 1px solid var(--border-1); border-radius: 16px; padding: 22px; }
.ad-ph { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.ad-ph h4 { font-size: 18px; font-weight: var(--fw-bold); margin: 0; }
.ad-ph p { font-size: 13px; color: var(--fg-2); margin: 3px 0 0; }
.ad-mini { border: 1px solid var(--border-2); border-radius: 8px; padding: 8px 12px; font-size: 13px; font-weight: var(--fw-medium); display: flex; align-items: center; gap: 26px; }
.ad-mini::after { content: ""; width: 12px; height: 12px; background-color: var(--fg-3); -webkit-mask: var(--chev) center/contain no-repeat; mask: var(--chev) center/contain no-repeat; }
.ad-pies { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ad-pietitle { text-align: center; font-size: 15px; font-weight: var(--fw-bold); margin: 8px 0 16px; }
.ad-pie { width: 175px; height: 175px; border-radius: 999px; margin: 0 auto; }
.ad-pie.talk { background: conic-gradient(var(--fx-orange) 0 33%, var(--fx-orange-tint) 33% 100%); }
.ad-pie.q { background: conic-gradient(#7fe0c4 0 22%, var(--fx-green) 22% 100%); }
.ad-legend { display: flex; gap: 20px; justify-content: center; margin-top: 16px; font-size: 13px; color: var(--fg-2); }
.ad-legend span { display: inline-flex; align-items: center; gap: 7px; }
.ad-legend i { width: 13px; height: 13px; border-radius: 3px; }
.ad-lb { border: 1px solid var(--border-1); border-radius: 16px; padding: 22px; }
.ad-lb h4 { font-size: 18px; font-weight: var(--fw-bold); margin: 0 0 3px; }
.ad-lb .adsub { font-size: 13px; color: var(--fg-2); margin: 0 0 16px; }
.ad-lbrow { display: grid; grid-template-columns: 60px 1fr 120px 180px 140px; align-items: center; gap: 12px; padding: 14px 12px; font-size: 14px; }
.ad-lbhead { color: var(--fg-2); font-size: 13px; font-weight: var(--fw-semibold); }
.ad-lbrow.z { background: #f4f7ff; border-radius: 10px; }
.ad-lbrow .adav { width: 32px; height: 32px; border-radius: 999px; background: var(--accent-soft); color: var(--fx-blue); display: inline-grid; place-items: center; font-size: 12px; font-weight: var(--fw-semibold); margin-right: 10px; }
.ad-name { display: flex; align-items: center; }
.ad-badge { padding: 5px 12px; border-radius: 7px; font-weight: var(--fw-semibold); font-size: 13px; display: inline-block; }
.ad-badge.neg { background: var(--fx-red); color: #fff; }
.ad-badge.pos { background: var(--bg-muted); color: var(--fx-navy); }
@media (max-width: 900px){ .appdash { grid-template-columns: 1fr; } .ad-side { display: none; } .ad-stats { grid-template-columns: repeat(2,1fr); } .ad-panels { grid-template-columns: 1fr; } }

/* ---------------- Big moving dashboard ---------------- */
.bigdash { padding: var(--space-16) 0 0; background: #fff; position: relative; overflow: hidden; }
.bigdash .wrap { max-width: 1120px; position: relative; }
/* angular brand shapes framing the cut-off UI */
.bd-shape { position: absolute; z-index: 1; pointer-events: none; }
.bd-shape.s-tl { top: 0; left: 0; width: 240px; height: 180px; background: var(--fx-orange); clip-path: polygon(0 0, 0 100%, 62% 0); }
.bd-shape.s-bl { bottom: 0; left: 0; width: 320px; height: 300px; background: #6a2bd6; clip-path: polygon(0 30%, 0 100%, 78% 100%); }
.bd-shape.s-tr { top: 0; right: 0; width: 300px; height: 520px; background: var(--fx-yellow); clip-path: polygon(100% 0, 100% 100%, 34% 0); }
.bd-shape.s-br { bottom: 0; right: 0; width: 340px; height: 240px; background: #0d6b63; clip-path: polygon(100% 10%, 100% 100%, 12% 100%); }
@media (max-width: 860px){ .bd-shape { display: none; } }
.bigdash-frame { position: relative; z-index: 2; border-radius: var(--radius-2xl) var(--radius-2xl) 0 0; overflow: visible; box-shadow: var(--shadow-xl); border: 1px solid var(--border-1); border-bottom: 0; background: #fff; padding: 0; max-height: 560px; }
.bd-clip { border-radius: var(--radius-2xl) var(--radius-2xl) 0 0; overflow: hidden; max-height: 560px; }
.bd-topbar { display: flex; align-items: center; gap: 10px; padding: 0 4px 14px; }
.bd-dots { display: flex; gap: 6px; } .bd-dots i { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,0.25); }
.bd-title { color: #fff; font-size: 13px; font-weight: var(--fw-medium); }
.bd-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: 12px; font-weight: var(--fw-semibold); letter-spacing: 0.05em; }
.bd-live i { width: 8px; height: 8px; border-radius: 999px; background: var(--fx-red); animation: bdpulse 1.4s infinite; }
@keyframes bdpulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.bd-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.bd-panel { background: #fff; border-radius: var(--radius-lg); padding: var(--space-6); }
.bd-panel.dark { background: rgba(255,255,255,0.06); }
.bd-h { display: flex; align-items: center; gap: 8px; font-size: var(--fs-14); font-weight: var(--fw-semibold); color: var(--fx-navy); margin-bottom: var(--space-4); }
.bd-panel.dark .bd-h { color: #fff; }
.bd-wave { display: flex; align-items: flex-end; gap: 4px; height: 84px; }
.bd-wave span { flex: 1; border-radius: 3px; background: var(--fx-light-blue); animation: bdwave 1.3s ease-in-out infinite; }
@keyframes bdwave { 0%,100%{ height: 22% } 50%{ height: 92% } }
.bd-rows { display: flex; flex-direction: column; gap: 12px; }
.bd-row .bd-rl { display: flex; justify-content: space-between; font-size: 13px; color: var(--fg-2); margin-bottom: 5px; }
.bd-track { height: 7px; border-radius: 999px; background: var(--bg-muted); overflow: hidden; }
.bd-track i { display: block; height: 100%; border-radius: 999px; background: var(--fx-light-blue); animation: bdfill 3s ease-in-out infinite alternate; }
@keyframes bdfill { from{ width: var(--w0) } to{ width: var(--w) } }
.bd-score { display: flex; align-items: baseline; gap: 8px; }
.bd-score b { font-size: 40px; font-weight: var(--fw-bold); color: #fff; line-height: 1; }
.bd-score span { color: var(--fx-green); font-weight: var(--fw-semibold); font-size: var(--fs-14); }
/* bleeding floating cards */
.bigdash-float { position: absolute; z-index: 3; background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-size: var(--fs-14); font-weight: var(--fw-medium); color: var(--fx-navy); animation: floaty 4s ease-in-out infinite; }
.bigdash-float small { display: block; font-size: 11px; color: var(--fg-3); font-weight: var(--fw-medium); }
.bigdash-float b { font-size: var(--fs-18); color: var(--fx-navy); }
.bigdash-float .icon-tile { width: 34px; height: 34px; border-radius: 9px; flex: none; }
@keyframes floaty { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-12px) } }
.bigdash-float.f1 { left: -34px; top: 20%; }
.bigdash-float.f2 { right: -30px; top: 40%; animation-delay: 1.2s; }
.bigdash-float.f3 { right: 8%; bottom: -26px; animation-delay: 2s; }
@media (max-width: 760px){ .bigdash-float { display: none; } .bd-grid { grid-template-columns: 1fr; } }
/* fade the cut-off bottom into next section */
.bigdash-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, transparent, #fff); z-index: 4; pointer-events: none; }
.bd-fly { position: absolute; z-index: 6; display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 11px 15px; opacity: 0; transform: translateY(16px) scale(0.96); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.bigdash-frame.in .bd-fly { opacity: 1; transform: none; animation: bd-bob 5s ease-in-out infinite; }
.bigdash-frame.in .bd-fly2 { transition-delay: 160ms; animation-delay: 1.2s; }
.bigdash-frame.in .bd-fly3 { transition-delay: 300ms; animation-delay: 2.1s; }
.bd-fly b { display: block; font-size: var(--fs-14); color: var(--fx-navy); font-weight: var(--fw-semibold); }
.bd-fly span:not(.bd-fly-ic):not(.bd-fly-dot) { font-size: 12px; color: var(--fg-3); }
.bd-fly-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); flex: none; -webkit-mask: none; }
.bd-fly-ic::after { content: ""; display: block; width: 100%; height: 100%; background: var(--fx-light-blue); -webkit-mask: var(--src) center/16px no-repeat; mask: var(--src) center/16px no-repeat; }
.bd-fly-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--fx-orange); flex: none; box-shadow: 0 0 0 4px rgba(246,128,15,0.18); }
.bd-fly1 { top: 20%; left: -26px; } .bd-fly2 { top: 46%; right: -30px; } .bd-fly3 { bottom: 24%; left: -18px; }
@keyframes bd-bob { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-9px) } }
@media (max-width: 760px){ .bd-fly { display: none; } }
@media (prefers-reduced-motion: reduce){ .bigdash-frame.in .bd-fly { animation: none; } }
.bd-chat { position: absolute; z-index: 7; right: 6%; bottom: 16%; display: flex; align-items: flex-end; gap: 9px; opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-out) 400ms, transform 600ms var(--ease-out) 400ms; }
.bigdash-frame.in .bd-chat { opacity: 1; transform: none; animation: bd-bob 5.5s ease-in-out infinite 1.6s; }
.bd-chat-av { width: 34px; height: 34px; border-radius: 999px; background: linear-gradient(135deg, var(--fx-light-blue), var(--fx-blue)); flex: none; box-shadow: 0 0 0 4px rgba(50,101,255,0.16); }
.bd-chat-bub { background: var(--fx-navy); border-radius: 14px 14px 14px 4px; padding: 12px 15px; box-shadow: var(--shadow-lg); }
.bd-chat-dots { display: flex; gap: 5px; }
.bd-chat-dots i { width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,0.75); animation: bd-typing 1.4s ease-in-out infinite; }
.bd-chat-dots i:nth-child(2){ animation-delay: 0.2s; } .bd-chat-dots i:nth-child(3){ animation-delay: 0.4s; }
@keyframes bd-typing { 0%,60%,100%{ transform: translateY(0); opacity: 0.5; } 30%{ transform: translateY(-4px); opacity: 1; } }
.bd-avph { position: absolute; z-index: 7; left: 3%; bottom: 2%; width: 96px; height: 96px; border-radius: 999px; border: 3px solid #fff; overflow: hidden; background: rgba(50,101,255,0.06); box-shadow: var(--shadow-md); }
.bd-avph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.bd-tour { display: none; }
@media (max-width: 760px){ .bd-chat, .bd-avph { display: none; } }
.bd-tour { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; pointer-events: none; }
.bd-tour::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 42%, rgba(7,20,55,0.16), transparent 60%); }
.bd-tour-btn { position: relative; pointer-events: auto; display: inline-flex; align-items: center; gap: 12px; background: var(--fx-navy); color: #fff; font-size: var(--fs-18); font-weight: var(--fw-semibold); padding: 16px 30px; border-radius: var(--radius-pill); text-decoration: none; box-shadow: 0 18px 44px rgba(7,20,55,0.34); transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.bd-tour-btn:hover { transform: translateY(-2px); box-shadow: 0 24px 54px rgba(7,20,55,0.42); }
.bd-tour-ic { width: 26px; height: 26px; border-radius: 999px; background: var(--fx-light-blue); flex: none; position: relative; }
.bd-tour-ic::after { content: ""; position: absolute; inset: 0; border-radius: 999px; border: 2px solid var(--fx-light-blue); animation: bd-tour-pulse 2s ease-out infinite; }
@keyframes bd-tour-pulse { 0%{ transform: scale(1); opacity: 0.7; } 100%{ transform: scale(2.1); opacity: 0; } }
@media (prefers-reduced-motion: reduce){ .bd-tour-ic::after { animation: none; } }
@media (prefers-reduced-motion: reduce){ .bigdash-frame.in .bd-chat { animation: none; } }

/* ---------------- Logo marquee ---------------- */
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: var(--space-16); width: max-content; animation: marquee 26s linear infinite; }
.marquee-track img { display: block; }
.marquee-track img { height: 30px; max-height: 30px; width: auto; max-width: 150px; object-fit: contain; flex: none; opacity: 0.62; filter: grayscale(1); transition: opacity 200ms var(--ease-out), filter 200ms var(--ease-out); }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img:hover { opacity: 1; filter: none; }
@keyframes marquee { from{ transform: translateX(0) } to{ transform: translateX(-50%) } }
@media (prefers-reduced-motion: reduce){ .marquee-track { animation: none; } }

/* ---------------- Bold stats with blue burst ---------------- */
.statburst + .statburst { margin-top: 0; padding-top: 0; }
.statburst { position: relative; overflow: hidden; background: var(--fx-navy); text-align: center; }
.statburst[data-screen-label="Bold stats"] { padding-bottom: var(--space-16); }
.loopwrap { padding-top: var(--space-12); }
.statburst::before { content: ""; position: absolute; left: 50%; top: -40%; width: 900px; height: 620px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(50,101,255,0.30), rgba(50,101,255,0.08) 45%, transparent 70%); pointer-events: none; }
.statburst h2 { color: #fff; }
.statburst .eyebrow { color: var(--fx-yellow); }
.statburst .sb .c { color: #fff; }
.statburst .wrap { position: relative; z-index: 1; }
.statburst-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-8); margin-top: var(--space-12); }
@media (max-width: 760px){ .statburst-grid { grid-template-columns: repeat(2,1fr); } }
.statburst .sb { }
.statburst .sb .n { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: var(--fw-bold); letter-spacing: -0.03em; line-height: 1; }
.statburst .sb .n .u { font-weight: var(--fw-bold); }
.statburst .sb .c { margin-top: 12px; font-size: var(--fs-14); color: #fff; line-height: var(--lh-snug); max-width: 26ch; margin-left: auto; margin-right: auto; }

/* ---------------- Loop pie ---------------- */
.loopwrap { border-top: 1px solid rgba(255,255,255,0.08); }
.loopwrap .sec-head p { color: #fff; }
.looppie { position: relative; width: 100%; max-width: 460px; margin: var(--space-16) auto 0; aspect-ratio: 1; }
@media (max-width: 640px){ .looppie { max-width: 340px; } }
.looppie-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lp-seg path { stroke: var(--fx-navy); stroke-width: 3; transform-origin: 200px 200px; transition: transform 300ms var(--ease-out); }
.lp-seg.s1 path { fill: rgba(50,101,255,0.32); } .lp-seg.s2 path { fill: rgba(246,128,15,0.32); } .lp-seg.s3 path { fill: rgba(3,197,147,0.32); }
.lp-flow { stroke: rgba(255,255,255,0.55); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 8 12; animation: lp-dash 1.2s linear infinite; }
@keyframes lp-dash { to { stroke-dashoffset: -20; } }
.lp-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 32%; height: 32%; border-radius: 999px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(7,20,55,0.9), 0 12px 34px rgba(0,0,0,0.3); }
.lp-hub img { width: 62%; }
.lp-lab { position: absolute; text-align: center; transform: translate(-50%,-50%); width: 30%; }
.lp-lab .lp-ic { width: 40px; height: 40px; border-radius: 11px; margin: 0 auto 7px; display: block; -webkit-mask: var(--src) center/20px no-repeat; mask: var(--src) center/20px no-repeat; }
.lp-lab.l1 { left: 66%; top: 26%; } .lp-lab.l1 .lp-ic { background-color: var(--fx-light-blue); }
.lp-lab.l2 { left: 50%; top: 80%; } .lp-lab.l2 .lp-ic { background-color: var(--fx-orange); }
.lp-lab.l3 { left: 34%; top: 26%; } .lp-lab.l3 .lp-ic { background-color: var(--fx-green); }
.lp-lab h4 { color: #fff; font-size: var(--fs-16); margin: 0; }
.lp-lab p { color: #fff; font-size: 12px; line-height: var(--lh-snug); margin: 5px 0 0; }
@media (prefers-reduced-motion: reduce){ .lp-flow { animation: none; } }

/* ---------------- See in action grid ---------------- */
.sia-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-6); margin-top: var(--space-12); }
@media (max-width: 900px){ .sia-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .sia-grid { grid-template-columns: 1fr; } }
.sia-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-xl); overflow: hidden; text-decoration: none; color: inherit; transition: transform 300ms var(--ease-in-out), box-shadow 300ms var(--ease-in-out); }
.sia-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.sia-ph { position: relative; aspect-ratio: 16/10; background: var(--bg-subtle); border-bottom: 1px solid var(--border-1); display: grid; place-items: center; }
.sia-mark { width: 46px; height: 46px; background-color: var(--border-2); -webkit-mask: var(--mark) center/contain no-repeat; mask: var(--mark) center/contain no-repeat; }
.sia-note { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--fg-3); font-weight: var(--fw-medium); }
.sia-b { padding: var(--space-6); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 1; }
.sia-b h4 { font-size: var(--fs-18); color: var(--fx-navy); margin: 0; }
.sia-link { margin-top: auto; font-size: var(--fs-14); font-weight: var(--fw-semibold); color: var(--fx-light-blue); transition: color 160ms var(--ease-out); }
.sia-card:hover .sia-link { color: var(--fx-orange); }

/* ---------------- Quote slider (industries) ---------------- */
.qslider { position: relative; max-width: 860px; margin: var(--space-12) auto 0; }
.qslide { display: none; text-align: center; }
.qslide.active { display: block; animation: qfade 400ms var(--ease-out); }
@keyframes qfade { from{ opacity: 0; transform: translateY(8px) } to{ opacity: 1; transform: none } }
.qslide .q-mark { font-size: 48px; color: var(--fx-light-blue-tint); line-height: 1; }
.qslide p { font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: var(--fx-navy); line-height: 1.4; letter-spacing: -0.01em; margin: var(--space-4) auto var(--space-6); max-width: 34ch; }
.qslide .q-who { display: flex; align-items: center; justify-content: center; gap: 12px; }
.qslide .q-av { width: 46px; height: 46px; border-radius: 999px; background: var(--accent-soft); color: var(--fx-blue); display: grid; place-items: center; font-weight: var(--fw-semibold); }
.qslide .q-who b { display: block; color: var(--fx-navy); font-size: var(--fs-15); }
.qslide .q-who span span { font-size: 13px; color: var(--fg-3); }
.qdots { display: flex; gap: 8px; justify-content: center; margin-top: var(--space-8); }
.qdot { width: 9px; height: 9px; border-radius: 999px; background: var(--border-2); border: 0; cursor: pointer; transition: background 200ms, width 200ms; }
.qdot.active { background: var(--fx-light-blue); width: 24px; border-radius: 999px; }

/* ---------------- Storylane-style hero ---------------- */
.announce { background: var(--fx-navy); color: #fff; text-align: center; font-size: var(--fs-14); padding: 9px 16px; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.announce-tag { background: var(--fx-orange); color: #fff; font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--radius-pill); }
.announce a { color: var(--fx-yellow); text-decoration: none; font-weight: var(--fw-medium); }
.announce a:hover { color: #fff; }
.hero-rating { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: var(--space-6); }
.hr-badge { background: var(--accent-soft); color: var(--fx-blue); font-size: 12px; font-weight: var(--fw-semibold); letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-pill); }
.hr-stars { color: var(--fx-yellow); letter-spacing: 2px; font-size: var(--fs-16); }
.hr-txt { font-size: var(--fs-14); color: var(--fg-3); }
.tst-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-6); margin-top: var(--space-12); }
@media (max-width: 860px){ .tst-grid { grid-template-columns: 1fr; } }
.tst { margin: 0; background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-xl); padding: var(--space-8); box-shadow: var(--shadow-xs); }
.tst p { font-size: var(--fs-18); color: var(--fx-navy); line-height: var(--lh-relaxed); margin: 0 0 var(--space-6); }
.tst footer { display: flex; align-items: center; gap: 12px; }
.tst-av { width: 42px; height: 42px; border-radius: 999px; background: var(--accent-soft); color: var(--fx-blue); display: grid; place-items: center; font-weight: var(--fw-semibold); font-size: var(--fs-14); flex: none; }
.tst footer b { display: block; font-size: var(--fs-14); color: var(--fx-navy); }
.tst footer span span { font-size: 13px; color: var(--fg-3); }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-6); margin-top: var(--space-12); }
@media (max-width: 900px){ .why-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .why-grid { grid-template-columns: 1fr; } }
.why { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: var(--space-7); transition: transform 300ms var(--ease-in-out), box-shadow 300ms var(--ease-in-out); }
.why:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why h4 { font-size: var(--fs-18); color: var(--fx-navy); margin: var(--space-5) 0 8px; }
.why p { font-size: var(--fs-14); color: var(--fg-2); line-height: var(--lh-relaxed); margin: 0; }
.hero-sl { position: relative; overflow: hidden; background: #fff; padding: 188px 0 var(--space-24, 128px); text-align: center; }
.sl-hero-copy h1 { margin-top: var(--space-6); }
.sl-hero-copy .sub { margin-bottom: var(--space-10); }
.hero-sl .sl-bg { position: absolute; inset: 0 0 auto 0; height: 720px; z-index: 0; pointer-events: none; background: radial-gradient(60% 70% at 50% -10%, rgba(50,101,255,0.30), transparent 62%), radial-gradient(40% 50% at 12% 0%, rgba(3,49,243,0.20), transparent 60%), radial-gradient(40% 50% at 88% 4%, rgba(246,128,15,0.16), transparent 60%), radial-gradient(38% 46% at 70% 8%, rgba(240,201,3,0.14), transparent 62%); }
.hero-sl .wrap { position: relative; z-index: 1; }
.sl-hero-copy { max-width: 780px; margin: 0 auto; }
.sl-hero-copy .eyebrow { justify-content: center; display: inline-flex; }
.sl-hero-copy h1 { color: var(--fx-navy); font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.025em; line-height: 1.06; margin: var(--space-4) auto var(--space-5); max-width: 16ch; }
.sl-hero-copy .sub { font-size: var(--fs-20); color: var(--fg-2); line-height: var(--lh-relaxed); max-width: 54ch; margin: 0 auto var(--space-8); }
.sl-hero-demo { max-width: 1000px; margin: var(--space-16) auto 0; }

/* ---------------- Tabbed product showcase ---------------- */
.showcase { margin-top: var(--space-12); }
.sc-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: var(--space-10); }
.sc-tab { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: var(--radius-pill); border: 1px solid var(--border-2); background: #fff; font-family: var(--font-sans); font-size: var(--fs-16); font-weight: var(--fw-medium); color: var(--fg-2); cursor: pointer; transition: all 200ms var(--ease-out); }
.sc-tab .sc-ic { width: 18px; height: 18px; background-color: currentColor; -webkit-mask: var(--src) center/contain no-repeat; mask: var(--src) center/contain no-repeat; }
.sc-tab:hover { border-color: var(--fx-light-blue-tint); color: var(--fx-navy); }
.sc-tab.active { background: var(--fx-navy); border-color: var(--fx-navy); color: #fff; }
.sc-body { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-12); align-items: center; }
@media (max-width: 860px){ .sc-body { grid-template-columns: 1fr; gap: var(--space-8); } }
.sc-copy { position: relative; }
.sc-pane { display: none; }
.sc-pane.active { display: block; animation: sc-fade 320ms var(--ease-out); }
@keyframes sc-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sc-copy h3 { font-size: var(--fs-30); color: var(--fx-navy); letter-spacing: -0.02em; margin: 0 0 var(--space-4); line-height: 1.14; }
.sc-copy p { font-size: var(--fs-18); color: var(--fg-2); line-height: var(--lh-relaxed); margin: 0 0 var(--space-5); }
.sc-copy .section-cta { margin-top: var(--space-6); }
.sc-visual { position: relative; min-height: 260px; }
.sc-view { display: none; }
.sc-view.active { display: block; animation: sc-fade 320ms var(--ease-out); }
.sc-cta { margin-top: var(--space-6); }
.sc-ph { aspect-ratio: 16/10; background: var(--bg-subtle); border: 1px solid var(--border-1); border-radius: var(--radius-xl); position: relative; display: grid; place-items: center; box-shadow: var(--shadow-md); }
.sc-ph-mark { width: 58px; height: 58px; background-color: var(--border-2); -webkit-mask: var(--mark) center/contain no-repeat; mask: var(--mark) center/contain no-repeat; }
.sc-ph-note { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--fg-3); font-weight: var(--fw-medium); }

/* ---------------- The AI coaching loop ---------------- */
.loop3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-top: var(--space-12); position: relative; }
@media (max-width: 820px){ .loop3 { grid-template-columns: 1fr; } }
.loop3-card { position: relative; background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-xl); padding: var(--space-8); transition: transform 300ms var(--ease-in-out), box-shadow 300ms var(--ease-in-out); }
.loop3-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.loop3-card + .loop3-card::before { content: ""; position: absolute; left: calc(-1 * var(--space-6) / 2 - 8px); top: 50%; width: 16px; height: 16px; border-top: 2px solid var(--fx-light-blue-tint); border-right: 2px solid var(--fx-light-blue-tint); transform: translateY(-50%) rotate(45deg); }
@media (max-width: 820px){ .loop3-card + .loop3-card::before { left: 50%; top: calc(-1 * var(--space-6) / 2 - 8px); transform: translateX(-50%) rotate(135deg); } }
.loop3-step { display: none; }
.loop3-ic.t1 { background: var(--accent-soft); } .loop3-ic.t1::after { background-color: var(--fx-light-blue); }
.loop3-ic.t2 { background: var(--fx-orange-tint); } .loop3-ic.t2::after { background-color: var(--fx-orange); }
.loop3-ic.t3 { background: var(--success-soft); } .loop3-ic.t3::after { background-color: var(--fx-green); }
.loop3-ic { display: block; width: 48px; height: 48px; border-radius: 13px; background: var(--accent-soft); position: relative; margin: var(--space-4) 0 var(--space-5); }
.loop3-ic::after { content: ""; position: absolute; inset: 0; background-color: var(--fx-light-blue); -webkit-mask: var(--src) center/24px no-repeat; mask: var(--src) center/24px no-repeat; }
.loop3-card h4 { font-size: var(--fs-24); color: var(--fx-navy); margin: 0 0 8px; }
.loop3-card p { margin: 0; font-size: var(--fs-16); color: var(--fg-2); line-height: var(--lh-relaxed); }

/* ---------------- The loop formula ---------------- */
.loop-formula { display: flex; align-items: stretch; justify-content: center; gap: var(--space-5); flex-wrap: wrap; margin-top: var(--space-12); }
.loop-card { flex: 1 1 0; min-width: 220px; max-width: 320px; background: var(--bg-subtle); border: 1px solid var(--border-1); border-radius: var(--radius-xl); padding: var(--space-8); text-align: center; transition: transform 300ms var(--ease-in-out), box-shadow 300ms var(--ease-in-out); }
.loop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.loop-card .loop-ic { display: inline-block; width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 1px solid var(--border-1); position: relative; margin-bottom: var(--space-4); }
.loop-card .loop-ic::after { content: ""; position: absolute; inset: 0; background-color: var(--fx-light-blue); -webkit-mask: var(--src) center/26px no-repeat; mask: var(--src) center/26px no-repeat; }
.loop-card h4 { font-size: var(--fs-24); color: var(--fx-navy); margin: 0 0 6px; }
.loop-card p { margin: 0; font-size: var(--fs-14); color: var(--fg-2); line-height: var(--lh-snug); }
.loop-card-primary { background: var(--fx-navy); border-color: var(--fx-navy); }
.loop-card-primary .loop-ic { background: rgba(255,255,255,0.10); border-color: #fff; }
.loop-card-primary .loop-ic::after { background-color: var(--fx-yellow); }
.loop-card-primary h4 { color: #fff; }
.loop-card-primary p { color: #fff; }
.loop-op { display: flex; align-items: center; font-size: var(--fs-36); font-weight: var(--fw-bold); color: var(--fx-light-blue); }
@media (max-width: 760px){ .loop-formula { flex-direction: column; align-items: stretch; } .loop-card { max-width: none; } .loop-op { justify-content: center; } }

/* ---------------- Mel's edits panel (temporary) ---------------- */
#melToggle { position: fixed; bottom: 20px; right: 20px; top: auto; z-index: 300; background: #16c60c; color: #fff; border: 0; border-radius: var(--radius-pill); padding: 10px 18px; font-family: var(--font-sans); font-size: 13px; font-weight: var(--fw-semibold); cursor: pointer; box-shadow: var(--shadow-lg); transition: background 200ms var(--ease-out), transform 120ms var(--ease-out); }
#melToggle:hover { background: #12a80a; }
#melToggle:active { transform: scale(0.97); }
#melPanel { position: fixed; bottom: 66px; right: 20px; top: auto; z-index: 300; width: 320px; max-width: calc(100vw - 40px); background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); padding: var(--space-5) var(--space-6) var(--space-5); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-in-out), visibility 200ms; }
#melPanel.open { opacity: 1; visibility: visible; transform: none; }
#melPanel .mel-head { display: flex; align-items: center; justify-content: space-between; font-size: var(--fs-14); font-weight: var(--fw-semibold); color: var(--fx-navy); margin-bottom: var(--space-4); }
#melPanel .mel-head button { background: none; border: 0; font-size: 22px; line-height: 1; color: var(--fg-3); cursor: pointer; }
#melPanel .mel-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 10px; }
#melPanel .mel-list li { font-size: 13px; line-height: 1.5; color: var(--fg-1); }
#melPanel .mel-list b { color: var(--fx-navy); }
#melPanel .mel-note { margin: var(--space-4) 0 0; font-size: 12px; color: var(--fx-orange); font-weight: var(--fw-medium); }

/* ---------------- Trust logos ---------------- */.trust-logos { display: flex; flex-wrap: wrap; gap: var(--space-6) var(--space-12); justify-content: center; align-items: center; }
.trust-logos img { height: 40px; width: 132px; object-fit: contain; opacity: 0.7; filter: grayscale(1); transition: opacity 200ms var(--ease-out), filter 200ms var(--ease-out); }
.trust-logos img:hover { opacity: 1; filter: none; }
@media (max-width: 600px){ .trust-logos img { height: 34px; width: 108px; } }

/* ---------------- Sections ---------------- */
.section { padding: var(--space-24) 0; }
@media (max-width: 720px){ .section { padding: var(--space-16) 0; } }
.section.alt { background: var(--bg-subtle); }
.section.navy { background: var(--fx-navy); color: #fff; position: relative; overflow: hidden; }
.eyebrow { display: inline-flex; font-size: var(--fs-12); font-weight: var(--fw-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--fx-orange); }
.section.navy .eyebrow { color: var(--fx-yellow); }
.sec-head { max-width: 56ch; }
.sec-head h2 { font-size: clamp(1.85rem, 3.4vw, 2.5rem); letter-spacing: -0.02em; line-height: 1.1; margin: var(--space-3) 0 var(--space-4); }
.section.navy h2, .section.navy h3, .section.navy h4 { color: #fff; }
.sec-head p { font-size: var(--fs-18); line-height: var(--lh-relaxed); color: var(--fg-2); margin: 0; }
.section.navy .sec-head p { color: #fff; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

/* feature alternating rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.feature-row + .feature-row { margin-top: var(--space-24); }
@media (max-width: 860px){ .feature-row { grid-template-columns: 1fr; gap: var(--space-10); } .feature-row + .feature-row { margin-top: var(--space-16); } .feature-row .visual { order: 2; } }
.feature-row.flip .copy { order: 2; }
@media (max-width: 860px){ .feature-row.flip .copy { order: 1; } }
.feature-row .copy h3 { font-size: var(--fs-30); letter-spacing: -0.02em; margin: var(--space-4) 0 var(--space-4); line-height: 1.14; }
.section-cta { margin-top: var(--space-8); }
.feature-row .copy p { font-size: var(--fs-18); line-height: var(--lh-relaxed); color: var(--fg-2); margin: 0 0 var(--space-6); }
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-list .fl { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .fl .ck { width: 8px; height: 8px; border-radius: 999px; background: var(--fx-orange); flex: none; margin-top: 9px; }
.feature-list .fl .ck .icon { display: none; }
.feature-list .fl .tx { font-size: var(--fs-16); color: var(--fg-1); line-height: var(--lh-snug); }
.feature-list .fl .tx b { font-weight: var(--fw-semibold); }

/* visual mocks */
.visual { position: relative; }
.mock { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: var(--space-6); }
.mock-head { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-5); }
.mock-head .dot3 { display: flex; gap: 6px; } .mock-head .dot3 i { width: 10px; height: 10px; border-radius: 999px; background: var(--border-2); }
.mock-head .ttl { font-size: var(--fs-14); font-weight: var(--fw-semibold); margin-left: 4px; }
.float-card { position: absolute; background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 14px 16px; }

/* scorecard mock */
.score-rows { display: flex; flex-direction: column; gap: 12px; }
.score-rows .sr { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.score-rows .sr .nm { font-size: var(--fs-14); color: var(--fg-2); }
.score-rows .sr .track { grid-column: 1 / -1; height: 8px; border-radius: 999px; background: var(--bg-muted); overflow: hidden; }
.score-rows .sr .track i { display: block; height: 100%; border-radius: 999px; background: var(--fx-light-blue); width: 0; transition: width 900ms var(--ease-out); }
.score-rows .sr .pct { font-weight: var(--fw-semibold); font-size: var(--fs-14); font-variant-numeric: tabular-nums; }

/* leaderboard mock */
.lb-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-1); }
.lb-row:last-child { border-bottom: 0; }
.lb-row .rank { width: 24px; font-weight: var(--fw-bold); color: var(--fg-3); font-variant-numeric: tabular-nums; }
.lb-row .av { width: 32px; height: 32px; border-radius: 999px; background: var(--accent-soft); color: var(--fx-blue); display: grid; place-items: center; font-size: var(--fs-12); font-weight: var(--fw-semibold); }
.lb-row .nm { font-weight: var(--fw-medium); font-size: var(--fs-14); flex: 1; }
.lb-row .pts { font-weight: var(--fw-semibold); font-size: var(--fs-14); color: var(--fx-navy); font-variant-numeric: tabular-nums; }
.lb-row.me { background: var(--accent-soft); margin: 0 -12px; padding: 10px 12px; border-radius: var(--radius-md); border-bottom: 0; }

/* ---------------- Pillars grid (3-up) ---------------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-top: var(--space-12); }
@media (max-width: 860px){ .pillars { grid-template-columns: 1fr; } }
.pillar { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: var(--space-8); transition: transform 320ms var(--ease-in-out), box-shadow 320ms var(--ease-in-out); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar h4 { font-size: var(--fs-20); margin: var(--space-5) 0 var(--space-2); }
.pillar p { font-size: var(--fs-16); color: var(--fg-2); line-height: var(--lh-relaxed); margin: 0; }

/* ---------------- Industries ---------------- */
.ind-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: var(--space-10); }
.ind-tab { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border: 1px solid var(--border-2); border-radius: var(--radius-pill); background: #fff; font-weight: var(--fw-medium); font-size: var(--fs-14); color: var(--fg-2); cursor: pointer; transition: all 200ms var(--ease-out); }
.ind-tab .icon-tile { width: 32px; height: 32px; border-radius: 9px; } .ind-tab .icon-tile .icon { width: 17px; height: 17px; }
.ind-tab:hover { border-color: var(--fx-light-blue-tint); color: var(--fg-1); }
.ind-tab.active { background: var(--fx-navy); border-color: var(--fx-navy); color: #fff; }
.ind-tab.active .icon-tile { background: var(--fx-light-blue); }
.ind-panel { margin-top: var(--space-10); background: var(--bg-subtle); border: 1px solid var(--border-1); border-radius: var(--radius-xl); padding: var(--space-12); display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-12); align-items: center; }
@media (max-width: 860px){ .ind-panel { grid-template-columns: 1fr; gap: var(--space-8); padding: var(--space-8); } }
.ind-panel h3 { font-size: var(--fs-30); letter-spacing: -0.02em; margin: var(--space-3) 0 var(--space-4); }
.ind-panel p { font-size: var(--fs-18); color: var(--fg-2); line-height: var(--lh-relaxed); margin: 0 0 var(--space-6); }
.ind-stat { display: flex; gap: var(--space-8); }
.ind-stat .s .n { font-size: var(--fs-36); font-weight: var(--fw-bold); color: var(--fx-light-blue); line-height: 1; }
.ind-stat .s .n .ph { color: var(--border-2); }
.ind-stat .s .c { font-size: var(--fs-14); color: var(--fg-3); margin-top: 6px; }
.ind-art { aspect-ratio: 4/3; border-radius: var(--radius-lg); background: linear-gradient(140deg, #071437, #0331F3); display: grid; place-items: center; position: relative; overflow: hidden; }
.ind-art .icon { width: 84px; height: 84px; background-color: #fff; }
.ind-art .ring { position: absolute; border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; }

/* ---------------- Stats band ---------------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); }
@media (max-width: 720px){ .stats-band { grid-template-columns: repeat(2, 1fr); gap: var(--space-8) var(--space-6); } }
.stat-b .n { font-size: var(--fs-64); font-weight: var(--fw-bold); letter-spacing: -0.03em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.stat-b .n .ph { color: #fff; }
.stat-b .n .u { color: inherit; }
.stat-b .c { margin-top: 12px; color: #fff; font-size: var(--fs-16); line-height: var(--lh-snug); }
.stats-note { margin-top: var(--space-10); color: #fff; font-size: var(--fs-14); }

/* ---------------- CTA band (reimagined) ---------------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-2xl); padding: var(--space-16); background: linear-gradient(118deg, #071437 0%, #0a1f5c 52%, #0331F3 132%); box-shadow: var(--shadow-xl); display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--space-12); align-items: center; text-align: left; }
@media (max-width: 820px){ .cta-band { grid-template-columns: 1fr; gap: var(--space-8); padding: var(--space-10); } }
@media (max-width: 480px){ .cta-band { padding: var(--space-8) var(--space-6); } }
.cta-band::before { content: none; }
.cta-mark { position: absolute; right: var(--space-10); bottom: var(--space-10); width: 200px; height: 200px; background-color: rgba(50,101,255,0.22); -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; z-index: 0; pointer-events: none; }
.cta-band > *:not(.cta-mark) { position: relative; z-index: 1; }
.cta-band .eyebrow { color: var(--fx-yellow); }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -0.02em; line-height: 1.1; margin: var(--space-3) 0 0; max-width: 22ch; text-wrap: balance; }
.cta-band .cta-action { display: flex; flex-direction: column; gap: var(--space-6); }
.cta-band .cta-action p { color: #fff; font-size: var(--fs-18); line-height: var(--lh-relaxed); margin: 0; max-width: 42ch; text-wrap: pretty; }
.cta-band .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--fx-navy); color: #fff; padding: var(--space-20) 0 var(--space-10); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--space-10); }
@media (max-width: 860px){ .foot-grid { grid-template-columns: 1fr 1fr; gap: var(--space-10) var(--space-8); } }
@media (max-width: 480px){ .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-brand img { height: 28px; margin-bottom: var(--space-5); }
.foot-brand p { color: #fff; font-size: var(--fs-14); line-height: var(--lh-relaxed); max-width: 30ch; }
.foot-col h5 { font-size: var(--fs-12); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--fx-light-blue-tint); margin: 0 0 var(--space-4); font-weight: var(--fw-semibold); }
.foot-col a { display: block; color: #fff; text-decoration: none; font-size: var(--fs-14); padding: 6px 0; transition: color 180ms var(--ease-out); }
.foot-col a:hover { color: #fff; }
.foot-bottom { margin-top: var(--space-16); padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #fff; font-size: 13px; }
.foot-bottom .soc { display: flex; gap: 10px; }
.foot-bottom .soc a { width: 34px; height: 34px; border-radius: 999px; background: rgba(255,255,255,0.08); display: grid; place-items: center; transition: background 180ms var(--ease-out); }
.foot-bottom .soc a:hover { background: rgba(255,255,255,0.18); }
.foot-bottom .soc .icon { width: 16px; height: 16px; background-color: #fff; }

/* ---------------- Scroll reveal ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 80ms; } .reveal.d2 { transition-delay: 160ms; } .reveal.d3 { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } }

/* funnel divider motif */
.funnel-divider { display: block; width: 100%; height: 60px; }
.funnel-divider path { stroke: var(--fx-light-blue); opacity: 0.4; fill: none; }

/* background line texture removed per request */
.hero .funnelfield, .section.navy .funnelfield, .mobile-menu .mm-funnel { display: none; }

/* never underline button or nav text on hover */
.btn:hover, .btn:focus, .site-header .links a:hover, .site-header .signin:hover, .site-header .logo:hover, .mobile-menu a:hover, .site-footer a:hover, .cta-row a:hover { text-decoration: none; }

/* ---------- Real product screenshots ---------- */
.shot { width: 100%; height: auto; display: block; filter: drop-shadow(0 16px 34px rgba(7,20,55,0.14)); }

/* ---------- Light header (homepage on-light) ---------- */
.site-header.on-light .logo .l-light { display: none; }
.site-header.on-light .logo .l-dark { display: block; }
.site-header.on-light .links a, .site-header.on-light .signin { color: var(--fx-navy); }
.site-header.on-light .links a:hover, .site-header.on-light .signin:hover { color: var(--fx-orange); }
.site-header.on-light .burger span { background: var(--fx-navy); }

/* ---------- Light hero ---------- */
.hero.hero-light { background: #fff; color: var(--fg-1); }
.hero.hero-light .glow { background: radial-gradient(circle, rgba(50,101,255,0.13), transparent 62%); }
.hero.hero-light h1 { color: var(--fx-navy); }
.hero.hero-light .sub { color: var(--fg-2); }
.hero.hero-light .trust { color: var(--fg-3); }
.hero.hero-light .trust .sep { background: var(--border-2); }

.hero-placeholder { aspect-ratio: 4 / 3; border-radius: var(--radius-xl); border: 2px dashed var(--border-2); background: var(--bg-subtle); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: var(--space-8); }
.hero-placeholder .ph-mark { width: 60px; height: 60px; background-color: var(--fx-light-blue-tint); -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; }
.hero-placeholder .ph-t { font-weight: var(--fw-semibold); font-size: var(--fs-18); color: var(--fg-2); }
.hero-placeholder .ph-s { font-size: var(--fs-14); color: var(--fg-3); }

/* ---------- Nav ---------- */
.site-header .links a, .site-header .signin { white-space: nowrap; }

/* ---------- Mega menu ---------- */
.has-mega { position: static; display: flex; align-items: center; }
.mega-trigger::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 220ms var(--ease-out); opacity: 0.7; }
.has-mega:hover .mega-trigger::after, .has-mega.open .mega-trigger::after { transform: rotate(225deg) translateY(-2px); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--border-1); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-in-out), visibility 200ms; }
.has-mega:hover .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { max-width: 1100px; margin: 0 auto; padding: var(--space-8) var(--space-8) var(--space-8); display: grid; grid-template-columns: 0.9fr minmax(0, 1.3fr); column-gap: var(--space-8); row-gap: var(--space-4); align-items: start; }
.site-header .mega .mega-feature { display: flex; flex-direction: column; gap: 6px; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--bg-subtle); border: 1px solid var(--border-1); text-decoration: none; text-transform: none; letter-spacing: 0; transition: box-shadow 220ms var(--ease-out), transform 220ms var(--ease-in-out); }
.site-header .mega .mega-feature:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.site-header .mega .mf-badge { align-self: flex-start; font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--fx-orange); }
.site-header .mega .mf-art { aspect-ratio: 16 / 10; border-radius: var(--radius-md); background: linear-gradient(135deg, #071437, #0331F3); display: grid; place-items: center; overflow: hidden; margin: 4px 0 8px; }
.site-header .mega .mf-art.dash { position: relative; aspect-ratio: 16 / 10; display: block; padding: 0; }
.site-header .mega .mf-art.dash::before { content: ""; position: absolute; inset: 0; background: radial-gradient(58% 62% at 22% 12%, rgba(50,101,255,0.85), transparent 66%), radial-gradient(46% 54% at 90% 92%, rgba(3,197,147,0.42), transparent 68%); }
.site-header .mega .mf-art.dash img { position: absolute; left: 11%; top: 15%; width: 108%; border-radius: 7px; border: 1px solid rgba(255,255,255,0.22); box-shadow: 0 14px 30px rgba(0,0,0,0.42); transform: perspective(900px) rotateY(-13deg) rotateX(4deg); transform-origin: left center; transition: transform 420ms var(--ease-in-out); }
.site-header .mega .mega-feature:hover .mf-art.dash img { transform: perspective(900px) rotateY(-8deg) rotateX(2deg) translateY(-4px); }
.site-header .mega .mf-art.dash .mf-mark { position: absolute; left: 12px; top: 12px; width: 22px; height: 22px; z-index: 2; }
.site-header .mega .mf-art.dash .mf-chip, .site-header .mega .mf-art.loopart .mf-chip { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(7,20,55,0.72); color: #fff; font-size: 10px; font-weight: var(--fw-semibold); letter-spacing: 0.05em; text-transform: uppercase; }
.site-header .mega .mf-art.dash .mf-chip::before, .site-header .mega .mf-art.loopart .mf-chip::before { content: ""; width: 5px; height: 5px; border-radius: 999px; background: var(--fx-green); }
.site-header .mega .mf-mark { width: 56px; height: 56px; background-color: #fff; -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; }
.site-header .mega .mf-t { font-weight: var(--fw-semibold); font-size: var(--fs-16); color: var(--fx-navy); }
.site-header .mega .mega-feature:hover .mf-t { color: var(--fx-light-blue); }
.site-header .mega .mf-s { font-size: 13px; color: var(--fg-2); line-height: var(--lh-snug); }
.site-header .mega .mega-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px var(--space-6); align-content: start; min-width: 0; }
.site-header .mega .mega-link { min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: var(--radius-md); text-decoration: none; text-transform: none; letter-spacing: 0; transition: background 180ms var(--ease-out); }
.site-header .mega .mega-link:hover { background: var(--bg-subtle); }
.site-header .mega .ml-t { white-space: normal; font-weight: var(--fw-semibold); font-size: var(--fs-14); color: var(--fx-navy); }
.site-header .mega .mega-link:hover .ml-t { white-space: normal; color: var(--fx-light-blue); }
.site-header .mega .ml-s { font-size: 12.5px; color: var(--fg-2); line-height: 1.35; white-space: normal; text-wrap: pretty; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
@media (max-width: 720px){ .site-header .mega .mega-list { grid-template-columns: 1fr; } }
.site-header .mega .mega-item { display: flex; gap: 14px; align-items: flex-start; padding: var(--space-4); border-radius: var(--radius-md); text-decoration: none; text-transform: none; letter-spacing: 0; transition: background 180ms var(--ease-out); }
.site-header .mega .mega-item:hover { background: var(--bg-subtle); }
.site-header .mega .mega-item .icon-tile { width: 46px; height: 46px; border-radius: 11px; flex: none; }
.site-header .mega .mega-item .icon-tile .icon { width: 22px; height: 22px; }
.site-header .mega .mega-item .mt-t { display: block; font-weight: var(--fw-semibold); font-size: var(--fs-16); color: var(--fx-navy); text-transform: none; letter-spacing: 0; }
.site-header .mega .mega-item .mt-s { display: block; font-size: 13px; color: var(--fg-2); margin-top: 3px; line-height: var(--lh-snug); text-transform: none; letter-spacing: 0; }
.site-header .mega .mega-item:hover .mt-t { color: var(--fx-light-blue); }
@media (max-width: 920px){ .mega { display: none; } }

/* mobile sub links (features) */
.mobile-menu .mm-sub { font-size: var(--fs-16); padding: 11px 6px 11px 18px; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.06); }

/* ---------- Simple nav dropdown (Company) ---------- */
.has-dd { position: relative; display: flex; align-items: center; }
.dd-trigger::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 220ms var(--ease-out); opacity: 0.7; }
.has-dd:hover .dd-trigger::after, .has-dd.open .dd-trigger::after { transform: rotate(225deg) translateY(-2px); }
.dd-menu { position: absolute; top: 100%; left: 0; min-width: 200px; background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 180ms var(--ease-out), transform 220ms var(--ease-in-out), visibility 180ms; }
.has-dd:hover .dd-menu, .has-dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.site-header .dd-menu a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); font-size: var(--fs-14); font-weight: var(--fw-medium); color: var(--fx-navy); text-decoration: none; white-space: nowrap; transition: background 160ms var(--ease-out), color 160ms var(--ease-out); }
.site-header .dd-menu a:hover { background: var(--bg-subtle); color: var(--fx-light-blue); }
@media (max-width: 920px){ .dd-menu { display: none; } }

/* ---------------- Utility / announcement bar (global) ---------------- */
:root { --utilbar-h: 44px; }
.announce { position: relative; z-index: 120; display: flex; align-items: center; justify-content: center; min-height: var(--utilbar-h); padding: 0 16px; margin: 0; background: var(--fx-navy); color: #fff; font-size: var(--fs-14); text-align: center; }
.announce .wrap { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.announce-tag { flex: none; white-space: nowrap; background: var(--fx-orange); color: #fff; font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--radius-pill); }
.announce a { color: var(--fx-yellow); text-decoration: none; font-weight: var(--fw-medium); }
.announce a:hover { color: #fff; text-decoration: underline; }
body:has(> .announce) .site-header { top: var(--utilbar-h); }
body:has(> .announce) .site-header.scrolled { top: 0; }
/* scrolled: tighter bar, smaller logo */
.site-header .bar { transition: height 260ms var(--ease-in-out); }
.site-header .logo img { transition: height 260ms var(--ease-in-out); }
.site-header.scrolled .bar { height: 62px; }
.site-header.scrolled .logo img { height: 23px; }
@media (max-width: 760px) { .announce { display: none; } body:has(> .announce) .site-header { top: 0; } }
/* ---------------- Big dashboard: blue fade + gradient bursts ---------------- */
.bd-shape { display: none !important; }
.bigdash { background: #ffffff; }
.bigdash::before { content: ""; position: absolute; left: 50%; top: 0; width: 150%; height: 100%; transform: translateX(-50%); z-index: 0; pointer-events: none; background: radial-gradient(ellipse 34% 40% at 50% 52%, rgba(50,101,255,0.26) 0%, rgba(50,101,255,0.16) 30%, rgba(122,163,255,0.07) 52%, rgba(122,163,255,0) 74%); filter: blur(40px); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 26%, #000 68%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 26%, #000 68%, transparent 100%); }
.bigdash .wrap { z-index: 1; }
.bigdash-fade { height: 200px; background: linear-gradient(to bottom, transparent, #ffffff 74%); }

/* ---------------- Trust strip: blend blue above into navy below ---------------- */
.trustband { position: relative; background: linear-gradient(180deg, #ffffff 0%, rgba(50,101,255,0.03) 44%, rgba(50,101,255,0.08) 78%, rgba(50,101,255,0.13) 100%); padding-top: var(--space-12); padding-bottom: var(--space-16); }
.trustband .eyebrow-trust { color: var(--fg-3); }
.trustband .eyebrow-trust { color: var(--fx-navy-2); }

/* ---------------- Watch demo button on dashboard ---------------- */
.bd-play { position: absolute; z-index: 7; left: 50%; bottom: 12%; display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px 14px 18px; border: 0; border-radius: var(--radius-pill); background: var(--fx-green); color: var(--fx-navy); font-family: var(--font-sans); font-size: var(--fs-16); font-weight: var(--fw-semibold); cursor: pointer; transition: background 200ms var(--ease-out); animation: bdplay-bob 4.5s var(--ease-in-out) infinite, bdplay-glow 2.6s var(--ease-in-out) infinite; }
@keyframes bdplay-bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -10px); } }
@keyframes bdplay-glow { 0%,100% { box-shadow: 0 18px 44px rgba(7,20,55,0.26), 0 0 0 8px rgba(3,197,147,0.20), 0 0 34px rgba(3,197,147,0.45); } 50% { box-shadow: 0 22px 54px rgba(7,20,55,0.30), 0 0 0 16px rgba(3,197,147,0.10), 0 0 64px rgba(3,197,147,0.75); } }
@media (prefers-reduced-motion: reduce){ .bd-play { animation: none; transform: translateX(-50%); box-shadow: 0 18px 44px rgba(7,20,55,0.26), 0 0 34px rgba(3,197,147,0.5); } }
.bd-play:hover { background: #02b184; }
.bd-play-ic { width: 26px; height: 26px; flex: none; border-radius: 999px; background: rgba(7,20,55,0.16); position: relative; }
.bd-play-ic::after { content: ""; position: absolute; left: 55%; top: 50%; transform: translate(-50%,-50%); border-left: 9px solid var(--fx-navy); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ---------------- Impact: flat navy, glow only behind the loop ---------------- */
.statburst::before { display: none; }
.statburst[data-screen-label="Bold stats"] { padding-top: var(--space-24, 128px); padding-bottom: var(--space-24, 128px); }
.statburst[data-screen-label="Bold stats"] .sec-head { margin-bottom: var(--space-16); }
.statburst[data-screen-label="Bold stats"] .statburst-grid { gap: var(--space-12); }
.loopwrap { padding-top: var(--space-16); padding-bottom: var(--space-16); border-top: 0; }
.loopwrap .sec-head { margin-bottom: var(--space-8); }
.looppie { max-width: 720px; margin-top: var(--space-12); }
@media (max-width: 760px){ .looppie { max-width: 380px; margin-top: var(--space-12); } }
.looppie::before { content: ""; position: absolute; left: 50%; top: 50%; width: 190%; height: 190%; transform: translate(-50%,-50%); z-index: -1; pointer-events: none; background: radial-gradient(ellipse 34% 34% at 50% 50%, rgba(50,101,255,0.62) 0%, rgba(50,101,255,0.34) 34%, rgba(3,49,243,0.16) 56%, rgba(3,49,243,0) 76%); filter: blur(40px); }

/* ---------------- FunnelX loop (rep on the loop) ---------------- */
.fxloop { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin: calc(var(--space-16) + 104px) auto 0; }
@media (max-width: 720px){ .fxloop { max-width: 340px; margin-top: var(--space-12); } }
.fxloop-bloom { position: absolute; inset: -46%; border-radius: 999px; background: radial-gradient(circle, rgba(50,101,255,0.30) 0%, rgba(50,101,255,0.18) 30%, rgba(50,101,255,0.08) 52%, rgba(3,49,243,0) 74%); filter: blur(44px); }
.fxloop-halo { position: absolute; inset: -6%; border-radius: 999px; background: conic-gradient(from -90deg, rgba(50,101,255,0.5), rgba(3,197,147,0.42) 40%, rgba(246,128,15,0.36) 72%, rgba(50,101,255,0.5)); -webkit-mask: radial-gradient(circle, transparent 44%, #000 56%, transparent 78%); mask: radial-gradient(circle, transparent 44%, #000 56%, transparent 78%); filter: blur(28px); animation: fxl-spin 18s linear infinite; }
.fxloop-track { position: absolute; inset: 7%; border-radius: 999px; border: 6.5% solid rgba(255,255,255,0.06); box-sizing: border-box; }
.fxloop-rim { position: absolute; inset: 7%; border-radius: 999px; background: conic-gradient(from -90deg, #3265FF 0deg, #2f7bff 70deg, #03C593 145deg, #2bbf8f 200deg, #F6800F 265deg, #f39a3c 320deg, #3265FF 360deg); -webkit-mask: radial-gradient(circle, transparent 44%, #000 46%); mask: radial-gradient(circle, transparent 44%, #000 46%); }
.fxloop-orbit { position: absolute; inset: 7%; animation: fxl-spin 12s linear infinite; }
/* the bloom reaches 46% past the loop box and the spinning ring layers sweep a wider
   box still, so they overlap whatever sits beside or below the loop — keep every
   decorative layer out of hit testing or it swallows those clicks */
.fxloop-bloom, .fxloop-halo, .fxloop-track, .fxloop-rim, .fxloop-orbit { pointer-events: none; }
.fxloop-rep { position: absolute; left: 50%; top: 0; margin-left: -44px; margin-top: -44px; width: 88px; height: 88px; border-radius: 999px; border: 3px solid #fff; overflow: hidden; background: rgba(7,20,55,0.85); box-shadow: 0 0 0 8px rgba(255,255,255,0.08), 0 0 34px rgba(255,255,255,0.3); animation: fxl-spinr 12s linear infinite; }
.fxloop-rep img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
@media (max-width: 720px){ .fxloop-rep { width: 62px; height: 62px; margin-left: -31px; margin-top: -31px; font-size: 9px; } }
.fxloop-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 29%; height: 29%; border-radius: 999px; background: #fff; display: grid; place-items: center; z-index: 5; animation: fxl-hub 3.2s var(--ease-in-out) infinite; }
.fxloop-hub img { width: 44%; }
@keyframes fxl-hub { 0%,100% { box-shadow: 0 0 0 12px rgba(255,255,255,0.07), 0 0 70px 14px rgba(50,101,255,0.55); } 50% { box-shadow: 0 0 0 22px rgba(255,255,255,0.05), 0 0 110px 24px rgba(50,101,255,0.85); } }
@keyframes fxl-spin { to { transform: rotate(360deg); } }
@keyframes fxl-spinr { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
.fxloop-lab { position: absolute; width: 30%; min-width: 168px; text-align: center; transform: translate(-50%,-50%); z-index: 6; }
.fxloop-lab h4 { color: #fff; font-size: var(--fs-18); margin: 0 0 5px; animation: fxl-lit 12s linear infinite; }
.fxloop-lab p { color: #fff; font-size: var(--fs-14); line-height: var(--lh-snug); margin: 0; }
@keyframes fxl-lit { 0%,28% { color: var(--c); text-shadow: 0 0 26px var(--c); } 34%,100% { color: #fff; text-shadow: none; } }
.fxloop .f1 { left: 50%; top: -13%; } .fxloop .f2 { left: 104%; top: 74%; } .fxloop .f3 { left: -4%; top: 74%; }
@media (max-width: 720px){ .fxloop .f2 { left: 88%; } .fxloop .f3 { left: 12%; } }
@media (prefers-reduced-motion: reduce){ .fxloop-orbit, .fxloop-rep, .fxloop-halo, .fxloop-hub, .fxloop-lab h4 { animation: none; } }

/* ---------------- Pillar cards: mini image placeholder ---------------- */
.pillar { display: flex; flex-direction: column; padding: 0 0 var(--space-8); overflow: hidden; }
.pillar > *:not(.pillar-ph):not(.pui) { margin-left: var(--space-8); margin-right: var(--space-8); }
.pillar-ph span { white-space: nowrap; }
.pillar-ph { aspect-ratio: 16 / 9; width: 100%; border: 0; border-bottom: 1px solid var(--border-1); background: var(--bg-subtle); display: grid; place-items: center; text-align: center; color: var(--fg-3); font-size: 12px; font-weight: var(--fw-medium); line-height: 1.35; margin: 0 0 var(--space-6); }
.pillar .icon-tile { margin-bottom: var(--space-4); }

/* ---------------- Pillar mini UI animations ---------------- */
.pui { position: relative; aspect-ratio: 4 / 3; width: 100%; overflow: hidden; border-bottom: 1px solid var(--border-1); margin: 0 0 var(--space-6); background: linear-gradient(150deg, #eaf1ff 0%, #e6f6f4 100%); }
.pui.t2 { background: linear-gradient(150deg, #e9f0ff 0%, #eef4ff 60%, #e4f7f1 100%); }
.pui.t3 { background: linear-gradient(150deg, #eef2ff 0%, #e7f7f3 100%); }
.pui-win { position: absolute; left: 14px; right: -6px; top: 16px; bottom: -8px; background: #fff; border-radius: 12px; box-shadow: 0 14px 34px rgba(7,20,55,0.13); padding: 12px 20px 12px 13px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.pui-topline { display: flex; align-items: center; gap: 8px; font-size: 8.5px; color: var(--fg-3); }
.pui-topline b { font-size: 11px; color: var(--fx-navy); font-weight: var(--fw-semibold); }
.pui-topline .sep { width: 1px; height: 11px; background: var(--border-1); }
.pui-foot { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 8.5px; color: var(--fg-3); border-top: 1px solid var(--border-1); padding-top: 6px; margin-bottom: 2px; }
.pui.t2 .pui-lb { gap: 7px; }
.pui.t2 .pui-win { bottom: 8px; }
.pui.t2 .pui-topline { display: none; }

.pui-foot .up { color: var(--fx-navy); font-weight: var(--fw-semibold); }
.pui-lbr .nm small { color: var(--fg-3); font-weight: var(--fw-medium); font-size: 8.5px; }

.pui-head { display: flex; align-items: center; gap: 8px; }
.pui-eyebrow { font-size: 10px; font-weight: var(--fw-semibold); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fx-light-blue); white-space: nowrap; }
.pui-chip { margin-left: auto; font-size: 9px; font-weight: var(--fw-semibold); padding: 3px 8px; border-radius: 999px; background: rgba(3,197,147,0.16); color: var(--fx-navy); white-space: nowrap; }
.pui-chip.blue { background: rgba(50,101,255,0.12); color: var(--fx-blue); }
.pui-chip.grey { background: var(--bg-muted); color: var(--fg-2); font-weight: var(--fw-medium); }

/* tiles */
.pui-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pui-tile { border: 1px solid var(--border-1); border-radius: 9px; padding: 8px 9px; min-width: 0; }
.pui-tile.hi { background: rgba(3,197,147,0.08); border-color: rgba(3,197,147,0.35); }
.pui-tile small { display: block; font-size: 8.5px; color: var(--fg-3); white-space: nowrap; }
.pui-tile b { display: block; font-size: 17px; font-weight: var(--fw-bold); color: var(--fx-navy); letter-spacing: -0.02em; line-height: 1.15; margin-top: 2px; }
.pui-tile em { font-style: normal; font-size: 8.5px; font-weight: var(--fw-semibold); color: var(--fx-navy); }
.pui-sub { font-size: 9px; color: var(--fg-3); }

/* waveform */
.pui-wavewrap { position: relative; margin-top: auto; }
.pui-wave { display: flex; align-items: flex-end; gap: 3px; height: 42px; }
.pui-wave i { flex: 1; border-radius: 2px; background: var(--fx-light-blue); opacity: 0.85; animation: pui-wv 1.3s ease-in-out infinite; }
.pui-wave i:nth-child(3n) { background: var(--fx-green); }
@keyframes pui-wv { 0%,100%{ height: 22% } 50%{ height: 100% } }
.pui-play { position: absolute; top: -3px; bottom: -3px; width: 2px; border-radius: 2px; background: var(--fx-navy); animation: pui-sweep 5s linear infinite; }
@keyframes pui-sweep { from { left: 0 } to { left: calc(100% - 2px) } }

/* rows */
.pui-rows { display: flex; flex-direction: column; gap: 7px; }
.pui-row { display: flex; align-items: center; gap: 9px; border: 1px solid var(--border-1); border-radius: 10px; padding: 7px 9px; background: #fff; }
.pui-row.on { border-color: rgba(50,101,255,0.35); background: rgba(50,101,255,0.05); }
.pui-ic { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 700; }
.pui-rt { min-width: 0; flex: 1; }
.pui-rt b { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: var(--fw-semibold); color: var(--fx-navy); white-space: nowrap; }
.pui-rt small { display: block; font-size: 8.5px; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pui-live { font-size: 7.5px; font-weight: 700; letter-spacing: 0.06em; padding: 2px 6px; border-radius: 999px; background: rgba(3,197,147,0.16); color: var(--fx-navy); }
.pui-live.pulse::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 999px; background: #03C593; margin-right: 4px; vertical-align: 1px; animation: pui-pulse 1.5s ease-in-out infinite; }
@keyframes pui-pulse { 0%,100%{ opacity: 1 } 50%{ opacity: 0.25 } }
.pui-sw { width: 26px; height: 15px; border-radius: 999px; background: var(--fx-green); position: relative; flex: none; }
.pui-sw::after { content: ""; position: absolute; top: 2px; left: 13px; width: 11px; height: 11px; border-radius: 999px; background: #fff; }
.pui-sw.off { background: var(--border-2); }
.pui-sw.off::after { animation: pui-swon 4.4s var(--ease-in-out) infinite; }
@keyframes pui-swon { 0%,58%{ left: 2px } 66%,100%{ left: 13px } }

/* leaderboard bars */
.pui-lb { display: flex; flex-direction: column; gap: 9px; }
.pui-lbr { display: grid; grid-template-columns: 24px 1fr 34px; align-items: center; gap: 9px; }
.pui-av { width: 24px; height: 24px; border-radius: 999px; background: linear-gradient(135deg,#071437,#0331F3); color: #fff; font-size: 9px; font-weight: 700; display: grid; place-items: center; }
.pui-lbr .nm { font-size: 10px; font-weight: var(--fw-medium); color: var(--fx-navy); margin-bottom: 4px; display: flex; gap: 6px; align-items: center; }
.pui-track { display: block; width: 100%; height: 7px; border-radius: 999px; background: var(--bg-muted); overflow: hidden; }
.pui-track i { display: block; height: 100%; border-radius: 999px; background: var(--fx-light-blue); width: var(--w); animation: pui-fill 4.4s var(--ease-in-out) infinite alternate; }
.pui-lbr.g .pui-track i { background: var(--fx-green); animation-delay: .5s }
.pui-lbr.o .pui-track i { background: var(--fx-orange); animation-delay: 1s }
@keyframes pui-fill { from{ width: calc(var(--w) * 0.45) } to{ width: var(--w) } }
.pui-score { font-size: 14px; font-weight: var(--fw-bold); color: var(--fx-navy); text-align: right; letter-spacing: -0.02em; }

/* ---------------- Big dashboard: extra motion ---------------- */
.bigdash-frame .ad-panel svg polyline { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: ad-draw 7s var(--ease-in-out) infinite; }
@keyframes ad-draw { 0%{ stroke-dashoffset: 1200 } 35%,80%{ stroke-dashoffset: 0 } 100%{ stroke-dashoffset: 0; opacity: 1 } }
.bigdash-frame .ad-panel svg path[fill] { animation: ad-fade 7s var(--ease-in-out) infinite; }
@keyframes ad-fade { 0%,18%{ opacity: 0 } 55%,100%{ opacity: 1 } }
.bigdash-frame .ad-panel svg g[fill="#fff"] circle { animation: ad-pop 7s var(--ease-in-out) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ad-pop { 0%,30%{ opacity: 0; transform: scale(0.2) } 46%,100%{ opacity: 1; transform: scale(1) } }
.bigdash-frame .ad-pie { animation: ad-spin 22s linear infinite; }
@keyframes ad-spin { to { transform: rotate(360deg) } }
.bigdash-frame .ad-stat { animation: ad-lift 6s var(--ease-in-out) infinite; }
.bigdash-frame .ad-stat:nth-child(2){ animation-delay: .5s } .bigdash-frame .ad-stat:nth-child(3){ animation-delay: 1s }
.bigdash-frame .ad-stat:nth-child(4){ animation-delay: 1.5s } .bigdash-frame .ad-stat:nth-child(5){ animation-delay: 2s }
@keyframes ad-lift { 0%,70%,100%{ transform: translateY(0); box-shadow: none } 78%{ transform: translateY(-3px); box-shadow: 0 8px 18px rgba(7,20,55,0.08) } }
.bigdash-frame .adnum { display: inline-block; animation: ad-num 6s var(--ease-in-out) infinite; }
@keyframes ad-num { 0%,72%,100%{ transform: translateY(0); opacity: 1 } 76%{ transform: translateY(-4px); opacity: .35 } 82%{ transform: translateY(0); opacity: 1 } }
.bigdash-frame .ad-lbrow:not(.ad-lbhead) { animation: ad-row 9s var(--ease-in-out) infinite; }
.bigdash-frame .ad-lbrow:not(.ad-lbhead):nth-of-type(3){ animation-delay: 3s }
.bigdash-frame .ad-lbrow:not(.ad-lbhead):nth-of-type(4){ animation-delay: 6s }
@keyframes ad-row { 0%,22%,100%{ background: transparent } 6%,16%{ background: rgba(50,101,255,0.07) } }
.bigdash-frame .ad-nav a.active { animation: ad-act 5s var(--ease-in-out) infinite; }
@keyframes ad-act { 0%,100%{ box-shadow: inset 2px 0 0 rgba(50,101,255,0) } 50%{ box-shadow: inset 2px 0 0 rgba(50,101,255,0.8) } }
.bigdash-frame .ad-badge { animation: ad-badge 6s var(--ease-in-out) infinite; }
@keyframes ad-badge { 0%,64%,100%{ transform: scale(1) } 70%{ transform: scale(1.12) } }
@media (prefers-reduced-motion: reduce){ .bigdash-frame .ad-panel svg polyline, .bigdash-frame .ad-panel svg path[fill], .bigdash-frame .ad-panel svg g[fill="#fff"] circle, .bigdash-frame .ad-pie, .bigdash-frame .ad-stat, .bigdash-frame .adnum, .bigdash-frame .ad-lbrow, .bigdash-frame .ad-nav a.active, .bigdash-frame .ad-badge { animation: none; } }

/* ---------------- Industry panel: orange eyebrow, navy headline ---------------- */
.ind-panel .eyebrow { color: var(--fx-orange); }
.ind-panel h3 { color: var(--fx-navy); font-size: var(--fs-24); line-height: var(--lh-snug); letter-spacing: -0.01em; margin: var(--space-3) 0 var(--space-4); max-width: 22ch; }

/* ---------------- Industry panel bullets ---------------- */
.ind-bullets { list-style: none; margin: 0 0 var(--space-8); padding: 0; display: grid; gap: 12px; }
.ind-bullets li { position: relative; padding-left: 30px; font-size: var(--fs-16); color: var(--fg-2); line-height: var(--lh-relaxed); }
.ind-bullets li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 999px; background: rgba(3,197,147,0.16); }
.ind-bullets li::after { content: ""; position: absolute; left: 6px; top: 10px; width: 5px; height: 9px; border: solid var(--fx-green); border-width: 0 2px 2px 0; transform: rotate(42deg); }

/* ---------------- Industries: blue glow backdrop ---------------- */
#industries { position: relative; overflow: hidden; }
#industries::before { content: ""; position: absolute; left: 50%; top: 0; width: 150%; height: 100%; transform: translateX(-50%); z-index: 0; pointer-events: none; background: radial-gradient(ellipse 34% 40% at 50% 52%, rgba(50,101,255,0.26) 0%, rgba(50,101,255,0.16) 30%, rgba(122,163,255,0.07) 52%, rgba(122,163,255,0) 74%); filter: blur(40px); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 26%, #000 68%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 26%, #000 68%, transparent 100%); }
#industries > .wrap { position: relative; z-index: 1; }

/* ---------------- Quote slider v2 ---------------- */
.qslider { position: relative; max-width: 1000px; margin: var(--space-12) auto 0; }
.qslide { display: none; }
.qslide.active { display: grid; grid-template-columns: 300px 1fr; gap: 0; background: var(--fx-navy); border-radius: var(--radius-2xl); overflow: hidden; box-shadow: 0 30px 70px rgba(7,20,55,0.28); animation: qfade 420ms var(--ease-out); position: relative; }
.qslide.active::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(46% 60% at 82% 8%, rgba(50,101,255,0.55), transparent 62%), radial-gradient(38% 52% at 96% 96%, rgba(3,197,147,0.30), transparent 64%); }
@media (max-width: 820px){ .qslide.active { grid-template-columns: 1fr; } }
@keyframes qfade { from{ opacity: 0; transform: translateY(10px) } to{ opacity: 1; transform: none } }
.q-portrait { position: relative; z-index: 2; min-height: 320px; background: linear-gradient(150deg, #0a1f5c, #0331F3); display: grid; place-items: center; text-align: center; }
.q-ph { color: #fff; font-size: 12px; font-weight: var(--fw-semibold); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.6; border: 2px dashed rgba(255,255,255,0.45); border-radius: var(--radius-lg); padding: 22px 18px; }
.q-metric { position: absolute; right: -26px; bottom: 28px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 10px 16px; text-align: left; z-index: 3; }
.q-metric b { display: block; font-size: var(--fs-24); color: var(--fx-navy); line-height: 1.1; letter-spacing: -0.02em; }
.q-metric small { font-size: 11px; color: var(--fg-3); }
@media (max-width: 820px){ .q-metric { right: 20px; } }
.q-body { position: relative; z-index: 2; padding: var(--space-10) var(--space-10) var(--space-8); display: flex; flex-direction: column; justify-content: center; gap: var(--space-5); }
.q-stars { display: flex; gap: 5px; }
.q-stars i { width: 15px; height: 15px; background: var(--fx-yellow); -webkit-clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.qslide p { font-size: clamp(1.25rem, 2.2vw, 1.7rem); color: #fff; line-height: 1.38; letter-spacing: -0.01em; margin: 0; max-width: 30ch; text-wrap: pretty; }
.qslide .q-who { display: flex; align-items: center; gap: 12px; }
.qslide .q-av { width: 44px; height: 44px; border-radius: 999px; background: rgba(255,255,255,0.14); color: #fff; display: grid; place-items: center; font-weight: var(--fw-semibold); font-size: var(--fs-14); flex: none; }
.qslide .q-who b { display: block; color: #fff; font-size: var(--fs-16); }
.qslide .q-who span span { font-size: 13px; color: #fff; opacity: 0.75; }
.qdots { display: flex; gap: 10px; justify-content: center; margin-top: var(--space-8); flex-wrap: wrap; }
.qdot { display: flex; align-items: center; gap: 10px; width: auto; height: auto; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--border-1); padding: 8px 16px 8px 8px; cursor: pointer; transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out); font-family: var(--font-sans); }
.qdot:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.qdot.active { width: auto; border-color: var(--fx-light-blue); box-shadow: 0 0 0 3px rgba(50,101,255,0.14); background: #fff; }
.qd-av { width: 30px; height: 30px; border-radius: 999px; background: linear-gradient(135deg,#071437,#0331F3); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; flex: none; }
.qd-t { text-align: left; line-height: 1.2; }
.qd-t b { display: block; font-size: 13px; color: var(--fx-navy); font-weight: var(--fw-semibold); }
.qd-t small { font-size: 11px; color: var(--fg-3); }

/* ---------------- Related resources ---------------- */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-top: var(--space-12); }
@media (max-width: 900px){ .res-grid { grid-template-columns: 1fr; } }
.res-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; transition: transform 320ms var(--ease-in-out), box-shadow 320ms var(--ease-in-out); }
.res-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.res-img { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: linear-gradient(150deg, #eaf1ff 0%, #e6f6f4 100%); border-bottom: 1px solid var(--border-1); }
.res-ph { text-align: center; font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.6; color: var(--fg-3); border: 2px dashed var(--border-2); border-radius: var(--radius-md); padding: 14px 16px; }
.res-tag { position: absolute; left: 12px; top: 12px; font-size: 10px; font-weight: var(--fw-semibold); letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--fx-light-blue); color: #fff; }
.res-tag.t-green { background: var(--fx-green); color: var(--fx-navy); }
.res-tag.t-orange { background: var(--fx-orange); }
.res-body { display: flex; flex-direction: column; gap: 10px; padding: var(--space-6); flex: 1; }
.res-body h4 { font-size: var(--fs-18); line-height: var(--lh-snug); color: var(--fx-navy); margin: 0; text-wrap: pretty; }
.res-body p { font-size: var(--fs-14); color: var(--fg-2); line-height: var(--lh-relaxed); margin: 0; }
.res-meta { margin-top: auto; padding-top: var(--space-4); display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--fg-3); border-top: 1px solid var(--border-1); }
.res-go { color: var(--fx-light-blue); font-weight: var(--fw-semibold); }
.res-card:hover .res-go { color: var(--fx-blue); }

/* ---------------- Industry image placeholder ---------------- */
.ind-art { display: grid; place-items: center; }
.ind-ph { width: 100%; aspect-ratio: 4 / 3; border: 2px dashed var(--border-2); border-radius: var(--radius-xl); background: linear-gradient(150deg, #eef3ff 0%, #e6f6f4 100%); display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; }
.ind-ph-t { font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fx-orange); }
.ind-ph-s { font-size: var(--fs-16); font-weight: var(--fw-semibold); color: var(--fx-navy); }
.ind-ph-d { font-size: 12px; color: var(--fg-3); }

.res-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.res-card, .res-card:hover, .res-card:focus, .res-card:visited { text-decoration: none; }
.res-card h4, .res-card p, .res-card .res-meta span { text-decoration: none; }
.res-card:hover h4 { color: var(--fx-blue); }

.cta-fine { margin-top: var(--space-4) !important; font-size: 13px !important; color: #fff !important; opacity: 0.6; }

/* Root-level icon mask: relative url() in var(--src) must resolve from the project root,
   not from assets/design-language.css. Keep this rule in a root-level stylesheet. */
.icon { -webkit-mask-image: var(--src); mask-image: var(--src); }

/* ---------------- Industry tab photo ---------------- */
.ind-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-xl); display: block; box-shadow: var(--shadow-lg); }
.ind-img[hidden] { display: none; }

/* ---------------- Quote portrait photo ---------------- */
.q-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }

/* ---------------- Footer social ---------------- */
.foot-social { display: inline-flex; align-items: center; white-space: nowrap; gap: 10px; margin-top: var(--space-5); padding: 9px 16px 9px 12px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,0.22); color: #fff; font-size: var(--fs-14); font-weight: var(--fw-medium); text-decoration: none; transition: background 200ms var(--ease-out), border-color 200ms var(--ease-out); }
.foot-social svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.foot-social:hover { background: rgba(255,255,255,0.10); border-color: var(--fx-light-blue); color: #fff; }

/* ---------------- Loop ring: orbiting avatar cycles through faces ---------------- */
.fxloop-rep img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; opacity: 0; transform: scale(1.08); transition: opacity 620ms var(--ease-out), transform 900ms var(--ease-in-out); }
.fxloop-rep img.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .fxloop-rep img { transition: none; } }

/* ---------------- Dashboard avatar: cycles through faces ---------------- */
.bd-avph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; opacity: 0; transform: scale(1.08); transition: opacity 620ms var(--ease-out), transform 900ms var(--ease-in-out); }
.bd-avph img.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .bd-avph img { transition: none; } }

/* ---------------- Loop section CTA pair ---------------- */
.loop-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: var(--space-16); }
@media (max-width: 760px){ .loop-cta { margin-top: var(--space-10); } .loop-cta .btn { width: 100%; justify-content: center; } }

/* ---------------- Footer contact block ---------------- */
.foot-contact { margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,0.16); display: grid; gap: 6px; }
.foot-contact .fc-h { font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: 0.09em; text-transform: uppercase; color: var(--fx-orange); opacity: 1; margin-bottom: 2px; }
.foot-contact a { color: #fff; font-size: var(--fs-14); text-decoration: none; }
.foot-contact a:hover { color: var(--fx-yellow); }
.foot-contact .fc-addr { font-size: var(--fs-14); color: #fff; opacity: 0.72; line-height: var(--lh-relaxed); }

/* ---------------- Mega menu: coaching loop callout box ---------------- */
.mega-inner:has(.mega-loopbox) .mega-feature { grid-row: span 2; }
.mega-loopbox { grid-column: 2; justify-self: stretch; align-self: start; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 14px; margin-top: var(--space-5); padding: 14px 18px; border-radius: var(--radius-lg); border: 1px solid var(--border-1); background: var(--bg-subtle); text-decoration: none; transition: border-color 220ms var(--ease-out), background 220ms var(--ease-out), transform 220ms var(--ease-in-out); }
.mega-loopbox:hover { border-color: var(--fx-light-blue); background: #fff; transform: translateY(-2px); }
.mlb-ring { width: 34px; height: 34px; border-radius: 999px; background: conic-gradient(from -90deg, #3265FF 0deg, #03C593 140deg, #F6800F 260deg, #3265FF 360deg); -webkit-mask: radial-gradient(circle, transparent 50%, #000 56%); mask: radial-gradient(circle, transparent 50%, #000 56%); animation: mlb-spin 14s linear infinite; }
@keyframes mlb-spin { to { transform: rotate(360deg) } }
@media (prefers-reduced-motion: reduce){ .mlb-ring { animation: none; } }
.mlb-t b { display: block; font-size: var(--fs-14); font-weight: var(--fw-semibold); color: var(--fx-navy); line-height: var(--lh-snug); }
.mlb-t small { display: block; font-size: 12.5px; color: var(--fg-3); line-height: var(--lh-snug); margin-top: 2px; }
.mlb-go { font-size: 12px; font-weight: var(--fw-semibold); color: var(--fx-light-blue); white-space: nowrap; }
.mega-loopbox:hover .mlb-go { color: var(--fx-blue); }

/* ---------------- Industries mega callout: photo art ---------------- */
.site-header .mega .mf-art.photo { position: relative; aspect-ratio: 16 / 10; display: block; padding: 0; background: var(--fx-navy); }
.site-header .mega .mf-art.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.site-header .mega .mf-art.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,20,55,0.62), rgba(7,20,55,0) 58%); }

/* ---------------- Mega feature: abstract coaching-loop wheel ---------------- */
.site-header .mega .mf-art.loopart { background: linear-gradient(150deg, #0B1B4A 0%, #071437 62%, #0A2A6B 100%); display: grid; place-items: center; overflow: hidden; position: relative; }
.site-header .mega .mf-art.loopart::after { content: ""; position: absolute; inset: -30%; background: radial-gradient(circle at 30% 20%, rgba(50,101,255,.42), transparent 58%), radial-gradient(circle at 78% 84%, rgba(3,197,147,.28), transparent 56%); }
.mfw { position: relative; width: 176px; height: 176px; z-index: 1; }
.mfw i { position: absolute; border-radius: 999px; }
.mfw i:nth-child(1) { inset: 0; border: 7px solid rgba(255,255,255,.10); }
.mfw i:nth-child(2) { inset: 0; background: conic-gradient(from -84deg, #3265FF 0 27%, rgba(255,255,255,.07) 27% 33.3%, #03C593 33.3% 60.4%, rgba(255,255,255,.07) 60.4% 66.6%, #F6800F 66.6% 93.7%, rgba(255,255,255,.07) 93.7% 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 7px)); mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 7px)); }
.mfw i:nth-child(3) { inset: 15px; background: repeating-conic-gradient(rgba(255,255,255,.34) 0 1.1deg, transparent 1.1deg 9deg); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 6px)); mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 6px)); }
.mfw i:nth-child(4) { inset: 30px; border: 1px dashed rgba(255,255,255,.26); }
.mfw b { position: absolute; inset: 46px; border-radius: 999px; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.38), 0 0 0 8px rgba(255,255,255,.07); }
.mfw b img { width: 30px; height: 30px; }
.mfw s { position: absolute; width: 17px; height: 17px; border-radius: 999px; border: 3px solid #08163C; box-shadow: 0 3px 10px rgba(0,0,0,.4); }
.mfw s::after { content: ""; position: absolute; inset: 3px; border-radius: 999px; background: rgba(255,255,255,.9); }
.mfw s:nth-of-type(1) { top: -5px; left: 50%; margin-left: -8.5px; background: #3265FF; }
.mfw s:nth-of-type(2) { bottom: 16px; right: -4px; background: #03C593; }
.mfw s:nth-of-type(3) { bottom: 16px; left: -4px; background: #F6800F; }
.mobile-menu::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: 92px; background: var(--fx-navy); z-index: 2; pointer-events: none; }
.mobile-menu { overflow-y: auto; -webkit-overflow-scrolling: touch; gap: 0; padding-bottom: 40px; }
.mobile-menu .mm-h { flex: none; display: block; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.52); padding: 24px 6px 10px; }
.mobile-menu .mm-h:first-child { padding-top: 4px; }
.mobile-menu .mm-item { flex: none; display: flex; flex-direction: column; gap: 3px; padding: 12px 6px; min-height: 44px; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.09); font-size: inherit; font-weight: inherit; }
.mobile-menu .mm-item:hover { padding-left: 6px; }
.mobile-menu .mm-item b { font-size: 17px; font-weight: 600; line-height: 1.25; }
.mobile-menu .mm-item small { display: none; }
.mobile-menu .mm-h { display: none; }
.mobile-menu .mm-sec { flex: none; border-bottom: 1px solid rgba(255,255,255,0.10); }
.mobile-menu .mm-t { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: none; border: 0; padding: 17px 6px; min-height: 54px; color: #fff; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; text-align: left; font-family: inherit; }
.mobile-menu .mm-t i { width: 11px; height: 11px; border-right: 2px solid rgba(255,255,255,0.55); border-bottom: 2px solid rgba(255,255,255,0.55); transform: rotate(45deg) translate(-3px,-3px); transition: transform .22s ease; flex: none; }
.mobile-menu .mm-t[aria-expanded="true"] i { transform: rotate(-135deg) translate(-3px,-3px); }
.mobile-menu .mm-p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .26s ease; }
.mobile-menu .mm-p > div { overflow: hidden; }
.mobile-menu .mm-t[aria-expanded="true"] + .mm-p { grid-template-rows: 1fr; }
.mobile-menu .mm-p .mm-item { border-bottom: 0; padding: 11px 6px 11px 16px; min-height: 44px; }
.mobile-menu .mm-p .mm-item b { font-size: 15px; font-weight: 400; color: rgba(255,255,255,0.84); }
.mobile-menu .mm-p .mm-item:last-child { margin-bottom: 10px; }
.mobile-menu .mm-solo { border-bottom: 1px solid rgba(255,255,255,0.10); padding: 17px 6px; min-height: 56px; }
.mobile-menu .mm-solo b { font-size: 16px; font-weight: 600; }
body.menu-open .burger span, body.menu-open .site-header.scrolled .burger span, body.menu-open .site-header.on-light .burger span { background: #fff; }
body.menu-open .burger { align-items: center; }
body.menu-open .burger span { width: 21px; height: 2px; border-radius: 999px; transition: transform 280ms var(--ease-in-out), opacity 140ms var(--ease-out), width 280ms var(--ease-in-out); }
body.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; width: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu .mm-tag { margin-top: auto; padding-top: 28px; color: rgba(255,255,255,0.52); font-size: 13px; line-height: 1.5; letter-spacing: 0.01em; border-bottom: 0; }
.mobile-menu .mm-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.mobile-menu .mm-btn { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 14px; border-radius: 12px; font-size: 15px; font-weight: 600; text-decoration: none; border-bottom: 0; transition: background 200ms var(--ease-out), border-color 200ms var(--ease-out); }
.mobile-menu .mm-btn.ghost { color: #fff; border: 1px solid rgba(255,255,255,0.38); background: transparent; }
.mobile-menu .mm-btn.ghost:hover, .mobile-menu .mm-btn.ghost:active { border-color: #fff; background: rgba(255,255,255,0.08); padding: 0 14px; }
.mobile-menu .mm-btn.solid { color: #fff; background: var(--fx-orange); border: 1px solid var(--fx-orange); }
.mobile-menu .mm-btn.solid:hover, .mobile-menu .mm-btn.solid:active { background: #dd7009; border-color: #dd7009; padding: 0 14px; }
.mobile-menu .mm-item:hover b, .mobile-menu .mm-item:active b, .mobile-menu .mm-item:focus b { color: var(--fx-light-blue); }
.mobile-menu .mm-t:hover, .mobile-menu .mm-t:active, .mobile-menu .mm-t:focus { color: var(--fx-light-blue); }
.mobile-menu .mm-t:hover i, .mobile-menu .mm-t:active i, .mobile-menu .mm-t:focus i { border-color: var(--fx-light-blue); }


/* ---------------- Events page ---------------- */
.ev-hero { padding: calc(var(--space-24) + 62px) 0 var(--space-16); background: var(--fx-navy); color: #fff; text-align: center; }
.ev-hero h1 { color: #fff; margin: 6px 0 14px; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.02em; }
.ev-hero .eyebrow { color: var(--fx-orange); }
.ev-hero .lead { color: rgba(255,255,255,0.82); max-width: 62ch; margin: 0 auto var(--space-8); font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.ev-list { display: flex; flex-direction: column; gap: 14px; margin-top: var(--space-8); }
.ev-card { display: grid; grid-template-columns: 88px 1fr auto; gap: 26px; align-items: center; background: #fff; border: 1px solid var(--border-1); border-radius: 16px; padding: 24px 26px; transition: box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out), border-color 200ms var(--ease-out); }
.ev-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); border-color: var(--border-2); }
.ev-date { display: grid; place-items: center; align-content: center; gap: 2px; background: var(--accent-soft); border-radius: 14px; padding: 14px 8px; }
.ev-mon { font-size: 12px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--fx-blue); }
.ev-day { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; color: var(--fx-navy); line-height: 1; white-space: nowrap; }
.ev-kind { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fx-light-blue); margin-bottom: 6px; }
.ev-body h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.ev-body p { margin: 0 0 10px; font-size: 15px; line-height: 1.6; color: var(--fg-2); max-width: 62ch; text-wrap: pretty; }
.ev-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--fg-3); }
.ev-meta a { color: var(--fx-blue); text-decoration: none; font-weight: 500; }
.ev-meta a:hover { color: var(--fx-navy); text-decoration: underline; }
.ev-dot { width: 3px; height: 3px; border-radius: 999px; background: var(--border-2); flex: none; }
.ev-act { flex: none; }
.ev-lead { max-width: 60ch; margin-bottom: var(--space-8); color: var(--fg-2); }
.ev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: var(--space-6); }
.ev-tile { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--border-1); border-radius: 16px; padding: 26px 24px; text-decoration: none; }

.ev-tile h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.ev-tile p { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--fg-2); text-wrap: pretty; }
.ev-tile .ev-go { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--fx-light-blue); }
.ev-tile:hover .ev-go { color: var(--fx-blue); }
.ev-cta { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; margin-top: var(--space-10); padding: 26px 30px; background: var(--accent-soft); border-radius: 16px; }
.ev-cta h3 { margin: 0 0 4px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.ev-cta p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--fg-2); max-width: 58ch; }
@media (max-width: 900px) { .ev-grid { grid-template-columns: 1fr; } .ev-card { grid-template-columns: 68px 1fr; row-gap: 16px; padding: 20px; gap: 18px; } .ev-act { grid-column: 1 / -1; } .ev-act .btn { width: 100%; } .ev-day { font-size: 24px; } .ev-cta { padding: 22px; } .ev-cta .btn { width: 100%; } }

/* ---- feature scroller (from feature-v2.css) ---- */
/* ---------- Related features: horizontal scroller with mini UI art ---------- */
.f2-relwrap { position: relative; margin-top: var(--space-12); }
.f2-related { display: grid; grid-auto-flow: column; grid-auto-columns: 300px; gap: var(--space-5); overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 4px var(--space-5); scrollbar-width: thin; scrollbar-color: var(--border-2) transparent; }
.f2-related::-webkit-scrollbar { height: 6px; }
.f2-related::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 999px; }
.f2-related::-webkit-scrollbar-track { background: transparent; }
@media (max-width: 560px){ .f2-related { grid-auto-columns: 82%; } }
.f2-rel { scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; transition: transform 260ms var(--ease-in-out), box-shadow 260ms var(--ease-in-out); }
.f2-rel:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.f2-rel, .f2-rel:hover, .f2-rel:visited { text-decoration: none; }
.f2-rel-body { display: flex; flex-direction: column; gap: 8px; padding: var(--space-6); flex: 1; }
.f2-rel h4 { font-size: var(--fs-16); color: var(--fx-navy); margin: 0; transition: color 200ms var(--ease-out); }
.f2-rel p { font-size: var(--fs-14); color: var(--fg-2); line-height: var(--lh-snug); margin: 0; }
.f2-rel .r-go { margin-top: auto; padding-top: 12px; font-size: 13px; font-weight: var(--fw-semibold); color: var(--fx-light-blue); }
.f2-rel:hover h4 { color: var(--fx-blue); }
.f2-rel:hover .r-go { color: var(--fx-blue); }
.f2-relnav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px; }
.f2-relnav button { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--border-1); background: #fff; cursor: pointer; position: relative; transition: border-color 200ms var(--ease-out), background 200ms var(--ease-out); }
.f2-relnav button:hover { border-color: var(--fx-light-blue); background: var(--accent-soft); }
.f2-relnav button::after { content: ""; position: absolute; left: 14px; top: 13px; width: 9px; height: 9px; border: solid var(--fx-navy); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.f2-relnav button.prev::after { left: 16px; transform: rotate(-135deg); }

/* mini UI art on related cards */
.rl-art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--border-1); background: linear-gradient(150deg, #eef3ff 0%, #e6f6f4 100%); }
.rl-win { position: absolute; left: 13px; right: -6px; top: 14px; bottom: -8px; background: #fff; border-radius: 10px; box-shadow: 0 12px 28px rgba(7,20,55,0.14); padding: 11px 16px 11px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.rl-h { display: flex; align-items: center; gap: 6px; }
.rl-h b { font-size: 9.5px; font-weight: var(--fw-semibold); color: var(--fx-navy); white-space: nowrap; }
.rl-h .tag { margin-left: auto; font-size: 7.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 2px 6px; border-radius: 999px; background: rgba(3,197,147,0.16); color: var(--fx-navy); white-space: nowrap; }
.rl-h .tag.b { background: rgba(50,101,255,0.12); color: var(--fx-blue); }
.rl-h .live { width: 6px; height: 6px; border-radius: 999px; background: var(--fx-green); flex: none; animation: f2-pulse 1.5s var(--ease-in-out) infinite; }
/* coaching card */
.rl-cue { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border-radius: 7px; font-size: 9px; line-height: 1.35; }
.rl-cue.o { background: rgba(246,128,15,0.12); color: var(--fx-navy); animation: rl-cue 5s var(--ease-in-out) infinite; }
.rl-cue.g { background: rgba(3,197,147,0.12); color: var(--fx-navy); animation: rl-cue 5s var(--ease-in-out) infinite; animation-delay: 1.2s; }
@keyframes rl-cue { 0%,10%{ opacity: 0; transform: translateX(8px) } 20%,90%{ opacity: 1; transform: none } 100%{ opacity: 1 } }
.rl-wave { display: flex; align-items: flex-end; gap: 2px; height: 22px; margin-top: auto; }
.rl-wave i { flex: 1; border-radius: 1.5px; background: var(--fx-light-blue); opacity: 0.8; animation: rl-wv 1.3s ease-in-out infinite; }
@keyframes rl-wv { 0%,100%{ height: 20% } 50%{ height: 96% } }
/* analysis card */
.rl-tiles { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.rl-tile { border: 1px solid var(--border-1); border-radius: 7px; padding: 6px 7px; }
.rl-tile.hi { background: rgba(3,197,147,0.08); border-color: rgba(3,197,147,0.32); }
.rl-tile small { display: block; font-size: 7px; color: var(--fg-3); white-space: nowrap; }
.rl-tile b { display: block; font-size: 13px; font-weight: var(--fw-bold); color: var(--fx-navy); letter-spacing: -0.02em; line-height: 1.2; }
.rl-lines { display: grid; gap: 4px; margin-top: 2px; }
.rl-lines i { height: 4px; border-radius: 999px; background: var(--bg-muted); display: block; transform-origin: left; animation: pui-grow 4s var(--ease-in-out) infinite; }
.rl-lines i:nth-child(2){ animation-delay: .4s } .rl-lines i:nth-child(3){ animation-delay: .8s }
/* analytics card */
.rl-chart { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: auto; }
.rl-chart i { flex: 1; border-radius: 3px 3px 0 0; background: var(--fx-light-blue); opacity: 0.85; animation: rl-bar 4.5s var(--ease-in-out) infinite alternate; }
.rl-chart i:nth-child(4){ background: var(--fx-green) } .rl-chart i:nth-child(5){ background: var(--fx-green) }
@keyframes rl-bar { from { height: 22% } to { height: var(--h) } }
/* onboarding card */
.rl-steps { display: grid; gap: 6px; }
.rl-st { display: flex; align-items: center; gap: 7px; font-size: 9px; color: var(--fx-navy); }
.rl-st .n { width: 15px; height: 15px; border-radius: 999px; flex: none; display: grid; place-items: center; font-size: 7px; font-weight: 700; background: var(--bg-muted); color: var(--fg-3); }
.rl-st.done .n { background: var(--fx-green); color: #fff; }
.rl-st.now .n { background: var(--fx-light-blue); color: #fff; animation: f2-pulse 1.8s var(--ease-in-out) infinite; }
.rl-st .bar { flex: 1; height: 4px; border-radius: 999px; background: var(--bg-muted); overflow: hidden; }
.rl-st .bar i { display: block; height: 100%; border-radius: 999px; background: var(--fx-green); width: var(--w); animation: pui-fill 4s var(--ease-in-out) infinite alternate; }
.rl-st.now .bar i { background: var(--fx-light-blue); }
/* roleplay card */
.rl-chat { display: grid; gap: 6px; }
.rl-b { max-width: 82%; font-size: 8.5px; line-height: 1.4; padding: 6px 8px; border-radius: 8px 8px 8px 3px; background: var(--bg-subtle); color: var(--fx-navy); animation: f2-in 700ms var(--ease-out) both; }
.rl-b.me { margin-left: auto; border-radius: 8px 8px 3px 8px; background: var(--accent-soft); }
.rl-dots { display: flex; gap: 3px; padding: 7px 8px; width: fit-content; background: var(--bg-subtle); border-radius: 8px 8px 8px 3px; }
.rl-dots i { width: 4px; height: 4px; border-radius: 999px; background: var(--fg-3); animation: f2-bob 1.2s var(--ease-in-out) infinite; }
.rl-dots i:nth-child(2){ animation-delay: .15s } .rl-dots i:nth-child(3){ animation-delay: .3s }
@media (prefers-reduced-motion: reduce){ .rl-art *, .rl-art { animation: none !important; } }


@keyframes f2-pulse { 0%,100%{ opacity: 1 } 50%{ opacity: 0.25 } }
@keyframes f2-in { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }
@keyframes f2-bob { 0%,100%{ transform: translateY(0); opacity: .4 } 50%{ transform: translateY(-4px); opacity: 1 } }
.f2-ui { position: relative; z-index: 1; background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-xl); box-shadow: 0 24px 56px rgba(7,20,55,0.13); overflow: hidden; }
.f2-ui-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--border-1); background: #fbfcfe; }
.f2-ui-bar b { font-size: var(--fs-14); font-weight: var(--fw-semibold); color: var(--fx-navy); }
.f2-ui-bar .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--fx-green); flex: none; animation: f2-pulse 1.6s var(--ease-in-out) infinite; }
.f2-ui-bar .t { margin-left: auto; font-size: 12px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.f2-ui-body { padding: var(--space-6); display: grid; gap: 12px; }