/* BeingEcom experience layer. Uses the site's own brand tokens (--primary, --foreground, --background). */
:root { --fx-orange: var(--primary, #ea7600); --fx-ink: #101010; --fx-ease: cubic-bezier(.16, 1, .3, 1); }

/* ---------- Cursor (desktop, fine pointer only) ---------- */
html.fx-cursor, html.fx-cursor * { cursor: none !important; }
html.fx-cursor input, html.fx-cursor textarea, html.fx-cursor [contenteditable=true] { cursor: text !important; }
.fx-cursor-dot, .fx-cursor-ring { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 2147483000; will-change: transform; }
.fx-cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--fx-orange); }
.fx-cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
.fx-cursor-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid color-mix(in oklab, var(--fx-orange) 70%, transparent);
  transition: transform .35s var(--fx-ease), background-color .3s, border-color .3s; }
.fx-cursor-label { position: absolute; inset: 0; display: grid; place-items: center; font: 700 10px/1 system-ui, sans-serif; letter-spacing: .12em; color: #fff; opacity: 0; transition: opacity .2s; }
.fx-cursor-ring[data-state=link]::before { transform: scale(1.5); background: color-mix(in oklab, var(--fx-orange) 12%, transparent); }
.fx-cursor-ring[data-state=button]::before { transform: scale(1.9); background: color-mix(in oklab, var(--fx-orange) 18%, transparent); border-color: transparent; }
.fx-cursor-ring[data-state=card]::before { transform: scale(2.3); border-style: dashed; }
.fx-cursor-ring[data-state=media]::before, .fx-cursor-ring[data-state=drag]::before { transform: scale(2.4); background: var(--fx-orange); border-color: var(--fx-orange); }
.fx-cursor-ring[data-state=media] .fx-cursor-label, .fx-cursor-ring[data-state=drag] .fx-cursor-label { opacity: 1; }
.fx-cursor-ring[data-state=text]::before { transform: scaleX(.08) scaleY(.7); border-radius: 2px; background: var(--fx-orange); }
.fx-cursor-ring.is-down::before { transform: scale(.75) !important; }
html.fx-cursor-out .fx-cursor-dot, html.fx-cursor-out .fx-cursor-ring { opacity: 0; }

/* ---------- Scroll progress + header ---------- */
.fx-progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--fx-orange), #ffb27a); transform-origin: 0 50%; transform: scaleX(0); z-index: 2147482000; pointer-events: none; }
html.fx-on header.sticky { transition: background-color .4s var(--fx-ease), box-shadow .4s var(--fx-ease), backdrop-filter .4s; }
html.fx-scrolled header.sticky { background-color: color-mix(in oklab, var(--background, #fff) 82%, transparent) !important; backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 10px 30px -18px rgba(16, 16, 16, .35); }
html.fx-on header nav a, html.fx-on header nav button { position: relative; }
html.fx-on header nav > a::after, html.fx-on header nav > button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--fx-orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--fx-ease); }
html.fx-on header nav > a:hover::after, html.fx-on header nav > button:hover::after, html.fx-on header nav > a[aria-current=page]::after { transform: scaleX(1); }

/* ---------- Buttons ---------- */
html.fx-on a.rounded-full, html.fx-on button.rounded-full, .fx-mag { transition: transform .45s var(--fx-ease), box-shadow .35s var(--fx-ease), background-color .3s, color .3s; will-change: transform; }
html.fx-on a.rounded-full:hover svg, html.fx-on button.rounded-full:hover svg { transform: translateX(3px); }
html.fx-on a.rounded-full svg, html.fx-on button.rounded-full svg { transition: transform .35s var(--fx-ease); }
html.fx-on a[class*="bg-primary"]:hover, html.fx-on button[class*="bg-primary"]:hover { box-shadow: 0 14px 34px -12px color-mix(in oklab, var(--fx-orange) 70%, transparent); }
html.fx-on a.rounded-full:active, html.fx-on button.rounded-full:active { transform: scale(.97) !important; }
html.fx-on :is(a, button):focus-visible { outline: 3px solid var(--fx-orange); outline-offset: 3px; }

/* ---------- Cards ---------- */
html.fx-on :is(.card-surface, .card-premium, [data-tilt]) { transition: transform .5s var(--fx-ease), box-shadow .4s var(--fx-ease); transform-style: preserve-3d; }
html.fx-on :is(.card-surface, .card-premium, [data-tilt]):hover { box-shadow: 0 28px 60px -30px rgba(16, 16, 16, .35); }
html.fx-on :is(.card-surface, .card-premium):hover { background-image: radial-gradient(420px circle at var(--fx-gx, 50%) var(--fx-gy, 50%), color-mix(in oklab, var(--fx-orange) 9%, transparent), transparent 60%); }

/* ---------- Reveals ---------- */
html.fx-ready .fx-reveal { opacity: 0; transform: translate3d(0, 46px, 0); transition: opacity .9s var(--fx-ease), transform 1.1s var(--fx-ease); }
html.fx-ready .fx-reveal.fx-in { opacity: 1; transform: none; }
html.fx-ready img.fx-mask { clip-path: inset(12% 0 12% 0 round 18px); transform: scale(1.06); transition: clip-path 1.2s var(--fx-ease), transform 1.4s var(--fx-ease); }
html.fx-ready img.fx-mask.fx-in { clip-path: inset(0 0 0 0 round 0); transform: none; }

/* ---------- Hero ---------- */
.fx-hero { position: relative; isolation: isolate; min-height: calc(100svh - var(--fx-header, 80px)); display: grid; align-items: center; overflow: hidden;
  background: radial-gradient(1200px 700px at 78% 30%, color-mix(in oklab, var(--fx-orange) 14%, transparent), transparent 62%),
              radial-gradient(900px 600px at 8% 110%, rgba(16,16,16,.07), transparent 60%), var(--background, #fff); }
.fx-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(16,16,16,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(16,16,16,.05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 72%); }
.fx-hero-inner { width: 100%; max-width: 80rem; margin: 0 auto; padding: clamp(28px, 5vh, 64px) 20px; display: grid; gap: clamp(20px, 4vw, 56px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .fx-hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); padding-left: 32px; padding-right: 32px; } }
.fx-eyebrow { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 700 11px/1.3 system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--fx-orange); }
.fx-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--fx-orange); box-shadow: 0 0 0 6px color-mix(in oklab, var(--fx-orange) 18%, transparent); animation: fx-pulse 2.4s infinite; }
.fx-display { margin: 16px 0 0; font-weight: 800; letter-spacing: -.045em; line-height: .9; font-size: clamp(34px, min(4.5vw, 9.2vh), 92px); color: var(--fx-ink); text-transform: uppercase; }
.fx-display span { white-space: nowrap; }
.fx-display span { display: block; overflow: hidden; }
.fx-display span > b { display: inline-block; font-weight: inherit; transform: translateY(105%); animation: fx-rise 1.1s var(--fx-ease) forwards; }
.fx-display span:nth-child(2) > b { animation-delay: .12s; color: var(--fx-orange); }
.fx-hero h1 { margin: clamp(14px, 2.4vh, 22px) 0 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; font-size: clamp(17px, 1.7vw, 23px); color: var(--fx-ink); max-width: 36ch; opacity: 0; animation: fx-fade .9s .35s var(--fx-ease) forwards; }
.fx-hero h1 em { font-style: normal; color: var(--fx-orange); }
.fx-lede { margin: 12px 0 0; max-width: 54ch; font-size: clamp(14.5px, 1.15vw, 17px); line-height: 1.6; color: #4b4b4b; opacity: 0; animation: fx-fade .9s .5s var(--fx-ease) forwards; }
.fx-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(18px, 3vh, 30px); opacity: 0; animation: fx-fade .9s .65s var(--fx-ease) forwards; }
.fx-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 15px 26px; font-weight: 700; font-size: 15px; text-decoration: none; isolation: isolate; }
.fx-btn svg { width: 18px; height: 18px; }
.fx-btn-primary { background: var(--fx-ink); color: #fff; }
.fx-btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fx-orange); transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--fx-ease); }
.fx-btn-primary:hover::before { transform: none; }
.fx-btn-ghost { color: var(--fx-ink); border: 1.5px solid rgba(16,16,16,.18); background: rgba(255,255,255,.6); backdrop-filter: blur(8px); }
.fx-btn-ghost:hover { border-color: var(--fx-ink); }
.fx-trust { margin-top: clamp(16px, 2.6vh, 26px); display: flex; flex-wrap: wrap; gap: 8px 18px; font: 600 12px/1.4 system-ui, sans-serif; color: #5c5c5c; opacity: 0; animation: fx-fade .9s .8s var(--fx-ease) forwards; }
.fx-trust strong { color: var(--fx-ink); }
.fx-stars { color: var(--fx-orange); letter-spacing: 2px; }

.fx-stage { position: relative; height: clamp(300px, 44vh, 540px); perspective: 1400px; opacity: 0; animation: fx-fade 1.2s .4s var(--fx-ease) forwards; }
.fx-scene { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(6deg) rotateY(-10deg); will-change: transform; }
.fx-layer { position: absolute; transform-style: preserve-3d; will-change: transform; }
.fx-panel { border-radius: 20px; background: rgba(255,255,255,.82); border: 1px solid rgba(16,16,16,.08); backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -40px rgba(16,16,16,.45), 0 1px 0 rgba(255,255,255,.9) inset; }
.fx-dash { left: 6%; top: 10%; width: 78%; padding: 12px; }
.fx-dash img { display: block; width: 100%; height: clamp(150px, 24vh, 270px); object-fit: cover; border-radius: 12px; }
.fx-dash-bar { display: flex; justify-content: space-between; align-items: center; font: 600 12px/1 system-ui; color: #555; padding: 4px 4px 10px; }
.fx-dash-bar b { color: var(--fx-ink); }
.fx-dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.fx-dash-kpis div { border-radius: 10px; background: color-mix(in oklab, var(--fx-orange) 9%, #fff); padding: 8px 10px; font: 500 11px/1.3 system-ui; color: #666; }
.fx-dash-kpis b { display: block; font-size: 16px; color: var(--fx-ink); }
.fx-metric { padding: 12px 16px; display: flex; gap: 10px; align-items: center; font: 600 11px/1.25 system-ui; letter-spacing: .06em; text-transform: uppercase; color: #6b6b6b; }
.fx-metric b { display: block; font-size: 22px; letter-spacing: -.02em; text-transform: none; color: var(--fx-ink); }
.fx-metric i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 15px; background: color-mix(in oklab, var(--fx-orange) 16%, #fff); color: var(--fx-orange); }
.fx-m1 { left: -2%; top: 2%; } .fx-m2 { right: -2%; bottom: 14%; } .fx-m3 { left: 2%; bottom: 0; }
.fx-product { width: 26%; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; }
.fx-product img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-p1 { right: 0; top: -2%; } .fx-p2 { right: 18%; bottom: -6%; width: 20%; }
.fx-nodes { left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.fx-nodes path { fill: none; stroke: var(--fx-orange); stroke-width: 1.6; stroke-dasharray: 6 10; animation: fx-flow 2.8s linear infinite; opacity: .75; }
.fx-nodes circle { fill: var(--fx-orange); }
.fx-glass { width: 34%; height: 40%; right: 10%; top: 28%; border-radius: 24px; background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.08)); border: 1px solid rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.fx-scroll { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font: 700 10px/1 system-ui; letter-spacing: .3em; color: #777; text-decoration: none; }
.fx-scroll span { width: 22px; height: 36px; border: 1.5px solid #999; border-radius: 12px; position: relative; }
.fx-scroll span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--fx-orange); animation: fx-wheel 1.8s infinite; }
@media (max-width: 1023px) {
  .fx-hero-inner { gap: 6px; padding-top: 10px; padding-bottom: 14px; }
  .fx-display { font-size: clamp(30px, min(9.6vw, 6.4svh), 60px); margin-top: 10px; }
  .fx-display span { white-space: normal; }
  .fx-hero h1 { font-size: clamp(15px, 4.1vw, 19px); margin-top: 10px; }
  .fx-lede { font-size: 14.5px; line-height: 1.5; margin-top: 8px; }
  .fx-ctas { margin-top: 14px; gap: 8px; }
  .fx-btn { padding: 12px 18px; font-size: 14px; }
  .fx-trust { display: none; }
  .fx-stage { height: clamp(120px, 19svh, 260px); order: -1; }
  .fx-hero { min-height: calc(100svh - var(--fx-header, 64px)); }
  .fx-dash { left: 14%; width: 64%; top: 4%; }
  .fx-dash img { height: clamp(80px, 13svh, 190px); }
  .fx-dash-kpis { display: none; }
  .fx-metric { padding: 8px 10px; } .fx-metric b { font-size: 16px; } .fx-metric i { width: 24px; height: 24px; }
  .fx-m3, .fx-p2, .fx-glass { display: none; }
  .fx-scroll { display: none; }
}
@media (max-width: 1023px) and (max-height: 600px) { .fx-stage { display: none; } }
@media (min-width: 1024px) {
  .fx-hero { height: calc(100svh - var(--fx-header, 80px)); min-height: 560px; }
  .fx-hero h1 { font-size: clamp(16px, min(1.55vw, 2.6vh), 23px); margin-top: clamp(10px, 2vh, 22px); }
  .fx-lede { font-size: clamp(14px, min(1.1vw, 1.9vh), 17px); margin-top: clamp(6px, 1.2vh, 12px); }
  .fx-ctas { margin-top: clamp(12px, 2.6vh, 30px); }
  .fx-trust { margin-top: clamp(10px, 2.2vh, 26px); }
}

@keyframes fx-rise { to { transform: none; } }
@keyframes fx-fade { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes fx-pulse { 50% { box-shadow: 0 0 0 10px color-mix(in oklab, var(--fx-orange) 0%, transparent); } }
@keyframes fx-flow { to { stroke-dashoffset: -64; } }
@keyframes fx-wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Growth proof strip (section 02) */
.fx-proof { background: var(--fx-ink); color: #fff; padding: clamp(56px, 9vh, 96px) 20px; }
.fx-proof-inner { max-width: 80rem; margin: 0 auto; }
.fx-proof p.fx-proof-lede { max-width: 70ch; color: rgba(255,255,255,.72); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.7; margin: 0 0 clamp(28px, 5vh, 48px); }
.fx-proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .fx-proof-grid { grid-template-columns: repeat(4, 1fr); } }
.fx-proof-card { border-radius: 22px; padding: clamp(20px, 2.4vw, 32px); background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); }
.fx-proof-card b { display: block; font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -.04em; line-height: 1; color: var(--fx-orange); }
.fx-proof-card span { display: block; margin-top: 10px; color: rgba(255,255,255,.75); font-size: 14px; }
.fx-proof small { display: block; margin-top: 20px; color: rgba(255,255,255,.55); font-size: 13px; }
.fx-proof small a { color: #ffb27a; }

@media (prefers-reduced-motion: reduce) {
  .fx-display span > b, .fx-hero h1, .fx-lede, .fx-ctas, .fx-trust, .fx-stage { animation: none !important; opacity: 1 !important; transform: none !important; }
  .fx-nodes path, .fx-eyebrow i, .fx-scroll span::after { animation: none; }
}

/* ===== Original homepage, animated (content unchanged) ===== */
html.fx-ready .fx-s-hero .fx-enter { opacity: 0; transform: translate3d(0, 26px, 0); animation: fx-fade .95s var(--fx-ease) forwards; animation-delay: calc(var(--fx-i, 0) * 90ms + 80ms); }
.fx-s-hero .fx-3d { transform-style: preserve-3d; will-change: transform; transition: transform .2s linear; }
.fx-s-hero .fx-depth { will-change: transform; }
html.fx-ready .fx-stagger > * { opacity: 0; transform: translate3d(0, 34px, 0) rotateX(8deg); transform-origin: 50% 100%; transition: opacity .8s var(--fx-ease), transform 1s var(--fx-ease); transition-delay: calc(var(--fx-i, 0) * 70ms); }
html.fx-ready .fx-stagger.fx-in > * { opacity: 1; transform: none; }
html.fx-ready .fx-s-process .h-px { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s .3s var(--fx-ease); background: linear-gradient(90deg, var(--fx-orange), color-mix(in oklab, var(--fx-orange) 25%, transparent)) !important; height: 2px; }
html.fx-ready .fx-s-process.fx-in .h-px, html.fx-ready .fx-s-process .fx-in .h-px { transform: scaleX(1); }
.fx-s .marquee-track:hover, .fx-s-marquee :is([class*="marquee"], [class*="animate-"]):hover { animation-play-state: paused; }
html.fx-ready .fx-s h2 { transition: letter-spacing 1.2s var(--fx-ease); }
html.fx-ready .fx-s.fx-reveal:not(.fx-in) h2 { letter-spacing: .02em; }
@media (prefers-reduced-motion: reduce) { html.fx-ready .fx-s-hero .fx-enter, html.fx-ready .fx-stagger > * { opacity: 1 !important; transform: none !important; animation: none !important; } }
