/* =========================================================================
   /features — guided 3D tour (2026-09-17). resources/views/marketing/features.blade.php
   Prefix fx-. Loaded only on /features, after marketing.css and marketing-v2.css.
   Desktop (>=1024px, motion allowed) gets sticky scenes; phones and reduced motion get a still page.
   ========================================================================= */
.fx { --fx-green: #007657; --fx-leaf: #00a878; --fx-mint: #00cf93; --fx-aqua: #13b6d6; --fx-deep: #002826; --fx-ink: #072a2a; --fx-muted: #566968; }
.fx-kicker { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--fx-green); }
.fx-section-title { max-width: 820px; margin: 0; font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.035em; color: var(--fx-ink); text-wrap: balance; }
.mkt-body .fx-section-title { color: var(--fx-ink); }

/* ---------- shared screen parts ---------- */
.fx-screen { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px rgba(7,42,42,.08), 0 50px 90px -50px rgba(0,50,40,.55), 0 20px 40px -30px rgba(0,50,40,.35); text-align: left; }
.fx-screen__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f3f7f6; border-bottom: 1px solid #e6eeec; }
.fx-screen__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d2dddb; }
.fx-screen__bar span { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: #fff; font-size: 11px; color: var(--fx-muted); }
.fx-screen__body { display: grid; gap: 12px; padding: 16px; background: linear-gradient(180deg, #fbfdfc, #f4f9f7); }
.fx-screen--mini { box-shadow: 0 0 0 1px rgba(7,42,42,.06), 0 20px 40px -26px rgba(0,50,40,.4); border-radius: 12px; }
.fx-screen--mini .fx-screen__body { padding: 12px; gap: 8px; }

.fx-list { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px #e8efed; overflow: hidden; }
.fx-list__hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #eef3f2; }
.fx-list__hd b { font-size: 13px; color: var(--fx-ink); }
.fx-list__hd em, .fx-row em, .fx-grid2 em, .fx-mini-kpis em { font-style: normal; font-size: 11px; color: var(--fx-muted); }
.fx-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid #f2f6f5; }
.fx-row:last-child { border-bottom: 0; }
.fx-row > span:nth-child(2), .fx-row > span:first-child:not(.fx-ring):not(.fx-avatar):not(.fx-tick) { flex: 1; min-width: 0; }
.fx-row b { display: block; font-size: 12.5px; color: var(--fx-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-amt { font-size: 12.5px; font-weight: 700; color: var(--fx-ink); font-variant-numeric: tabular-nums; }
.fx-badge { flex-shrink: 0; padding: 2px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.fx-badge--ok { background: #dcfce7; color: #166534; }
.fx-badge--due { background: #fef3c7; color: #92400e; }
.fx-badge--late { background: #fee2e2; color: #991b1b; }
.fx-ring { --p: .5; --c: #00a878; position: relative; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 360deg), #e8efee 0); }
.fx-ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
.fx-ring b { position: relative; font-size: 10.5px !important; color: var(--fx-ink); }
.fx-ring--lg { width: 54px; height: 54px; }
.fx-ring--lg::before { inset: 6px; }
.fx-ring--lg b { font-size: 15px !important; }
.fx-tick { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--fx-leaf); color: #fff; font-size: 11px; font-weight: 800; }
.fx-avatar { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--fx-leaf), var(--fx-aqua)); }
.fx-note { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 11px; background: #eafaf4; color: #00674c; font-size: 12px; font-weight: 700; }
.fx-lines { display: grid; gap: 8px; padding: 12px; }
.fx-lines i { display: block; height: 8px; width: var(--w); border-radius: 8px; background: #e9f0ee; }
.fx-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #eef3f2; }
.fx-grid2 span { display: grid; gap: 2px; padding: 10px 12px; background: #fff; }
.fx-grid2 b { font-size: 12.5px; color: var(--fx-ink); }
.fx-grid2--tight span { padding: 8px 10px; }
.fx-mini-kpis { display: flex; gap: 14px; margin-top: 8px; }
.fx-mini-kpis span { display: grid; }
.fx-mini-kpis b { font-size: 14px; color: var(--fx-ink); }

.fx-prop { display: flex; gap: 12px; padding: 10px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #e8efed; }
.fx-prop__photo { position: relative; width: 120px; height: 84px; flex-shrink: 0; border-radius: 10px; background: linear-gradient(160deg, #bfe9dc, #6fc2a8 55%, #2f7f6b); overflow: hidden; }
.fx-prop__photo::before { content: ""; position: absolute; left: 20%; bottom: 0; width: 60%; height: 60%; background: #f6fbf9; clip-path: polygon(0 40%, 50% 0, 100% 40%, 100% 100%, 0 100%); }
.fx-prop__photo .fx-badge { position: absolute; left: 6px; top: 6px; }
.fx-prop__info b { display: block; font-size: 14px; color: var(--fx-ink); }
.fx-prop__info em { font-style: normal; font-size: 11.5px; color: var(--fx-muted); }

.fx-rings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 14px 10px; text-align: center; }
.fx-rings > div { display: grid; justify-items: center; gap: 6px; }
.fx-rings em { font-style: normal; font-size: 10.5px; color: var(--fx-muted); }
.fx-timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); padding: 4px 6px 0; }
.fx-timeline::before { content: ""; position: absolute; left: 8%; right: 8%; top: 10px; height: 2px; background: #dfe9e7; }
.fx-timeline span { position: relative; padding-top: 22px; text-align: center; font-size: 10.5px; font-weight: 700; color: var(--fx-muted); }
.fx-timeline span::before { content: ""; position: absolute; left: 50%; top: 4px; width: 13px; height: 13px; border-radius: 50%; transform: translateX(-50%); background: #fff; box-shadow: 0 0 0 2px #cfdcda; }
.fx-timeline .is-on { color: var(--fx-ink); }
.fx-timeline .is-on::before { background: var(--fx-leaf); box-shadow: 0 0 0 2px var(--fx-leaf); }
.fx-timeline .is-now::after { content: ""; position: absolute; left: 50%; top: -2px; width: 25px; height: 25px; border-radius: 50%; transform: translateX(-50%); background: rgba(0,168,120,.25); animation: fx-pulse 1.8s ease-out infinite; }
@keyframes fx-pulse { from { opacity: 1; transform: translateX(-50%) scale(.5); } to { opacity: 0; transform: translateX(-50%) scale(1.6); } }

.fx-kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fx-kanban__col { display: grid; align-content: start; gap: 8px; padding: 10px; border-radius: 12px; background: #eef5f3; }
.fx-kanban__col > em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--fx-muted); }
.fx-kanban__card { display: grid; gap: 6px; padding: 10px; border-radius: 10px; background: #fff; box-shadow: 0 10px 20px -16px rgba(0,50,40,.5); }
.fx-kanban__card b { font-size: 12px; color: var(--fx-ink); }
.fx-kanban__card i { display: block; height: 6px; width: var(--w); border-radius: 6px; background: #d7efe6; }

.fx-flowline { display: grid; gap: 4px; padding: 6px 4px; }
.fx-flowline__step { position: relative; display: flex; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #e8efed; }
.fx-flowline__step b { display: block; font-size: 12.5px; color: var(--fx-ink); }
.fx-flowline__step em { font-style: normal; font-size: 11.5px; color: var(--fx-muted); }
.fx-flowline__dot { width: 14px; height: 14px; margin-top: 3px; flex-shrink: 0; border-radius: 50%; background: var(--fx-leaf); box-shadow: 0 0 0 4px #dff5ec; }
.fx-flowline__step.is-now { box-shadow: 0 0 0 2px var(--fx-leaf), 0 16px 30px -20px rgba(0,118,87,.7); }
.fx-flowline__step.is-now .fx-flowline__dot { animation: fx-beat 1.4s ease-in-out infinite; }
@keyframes fx-beat { 50% { box-shadow: 0 0 0 9px rgba(0,168,120,.15); } }

.fx-inspect { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 12px; align-items: end; }
.fx-inspect__phone { display: grid; gap: 7px; padding: 26px 12px 12px; border-radius: 22px; background: #0b1f1f; color: #fff; box-shadow: 0 0 0 3px #1b3131; }
.fx-inspect__phone b { font-size: 12px; }
.fx-inspect__row { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; background: rgba(255,255,255,.07); font-size: 11px; }
.fx-inspect__row i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; }
.fx-inspect__row i.is-note { background: #fbbf24; }
.fx-inspect__photos { display: flex; gap: 5px; }
.fx-inspect__photos i { flex: 1; height: 34px; border-radius: 6px; background: linear-gradient(160deg, #6ee7c1, #0e7a64); }
.fx-inspect__sign { padding: 8px; border-radius: 8px; border: 1px dashed rgba(255,255,255,.35); font-family: 'Segoe Script', cursive; font-size: 12px; color: #bff5dd; text-align: center; }
.fx-note--stack { align-self: end; }

.fx-week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.fx-week__day { display: grid; align-content: start; gap: 6px; min-height: 110px; padding: 8px 6px; border-radius: 10px; background: #eef5f3; }
.fx-week__day > em { font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--fx-muted); }
.fx-slot { padding: 6px; border-radius: 7px; background: #d7f2e8; color: #0f4d40; font-size: 10px; font-weight: 700; line-height: 1.2; }
.fx-slot--hot { background: linear-gradient(135deg, var(--fx-leaf), var(--fx-green)); color: #fff; }
.fx-bars { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 10px; height: 120px; padding: 0 6px; }
.fx-bars span { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 5px; height: 100%; }
.fx-bars i { width: 100%; height: calc(var(--v) * 85%); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--fx-mint), var(--fx-green)); }
.fx-bars em { font-style: normal; font-size: 10.5px; color: var(--fx-muted); }
.fx-steps { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-steps span { padding: 4px 10px; border-radius: 999px; background: #eef3f2; color: var(--fx-muted); font-size: 11px; font-weight: 700; }
.fx-steps .is-on { background: var(--fx-green); color: #fff; }

.fx-ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; }
.fx-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: #3f5655; }
.fx-ticks__mark { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--fx-leaf), var(--fx-green)); }
.fx-ticks--small { gap: 8px; margin-top: 16px; }
.fx-ticks--small li { font-size: 13.5px; }
.fx-ticks--small .fx-ticks__mark { width: 17px; height: 17px; font-size: 9.5px; }

/* ---------- hero ---------- */
.fx-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 110px); background: #fff; }
.fx-hero__band { position: absolute; z-index: -1; left: -10%; right: -10%; top: -45%; height: 95%; transform: skewY(-7deg); opacity: .9;
  background: radial-gradient(38% 60% at 88% 80%, rgba(185,243,106,.7), transparent 70%), radial-gradient(40% 70% at 66% 94%, rgba(0,200,150,.65), transparent 72%), radial-gradient(36% 60% at 100% 96%, rgba(19,182,214,.55), transparent 70%), linear-gradient(120deg, #f2fcf8, #bff0dd 45%, #5fd6ae 72%, #1aa8a0);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.fx-hero__grid { display: grid; gap: 40px; align-items: center; }
.fx-hero__copy { position: relative; z-index: 2; }
.fx-hero__title { margin: 18px 0 0; font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: clamp(38px, 5.4vw, 68px); font-weight: 800; line-height: 1.02; letter-spacing: -0.045em; color: var(--fx-ink); text-wrap: balance; }
.mkt-body .fx-hero__title { color: var(--fx-ink); }
.fx-hero__sub { max-width: 560px; margin: 18px 0 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: #45605f; }
.fx-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.fx-hero__stage { position: relative; height: clamp(340px, 42vw, 520px); perspective: 1800px; }
.fx-stack { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 16deg)) rotateY(var(--ry, -18deg)) rotateZ(var(--rz, 3deg)); transition: transform .2s linear; }
.fx-layer { position: absolute; transform-style: preserve-3d; transform: translateZ(calc(var(--z) * var(--spread, 70px))); transition: transform .2s linear; }
.fx-layer--base { inset: 6% 4% 8% 0; }
.fx-layer--a { right: -2%; top: 4%; }
.fx-layer--b { left: 6%; bottom: 12%; }
.fx-layer--c { right: 6%; bottom: -2%; }
.fx-layer--d { right: 24%; top: 18%; }
.fx-win { height: 100%; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(7,42,42,.08), 0 70px 120px -50px rgba(0,50,40,.55); }
.fx-win__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f3f7f6; border-bottom: 1px solid #e6eeec; }
.fx-win__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d2dddb; }
.fx-win__bar span { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: #fff; font-size: 11px; color: var(--fx-muted); }
.fx-win__body { flex: 1; display: flex; min-height: 0; }
.fx-win__side { width: 26%; display: grid; align-content: start; gap: 4px; padding: 14px 10px; background: #002826; color: rgba(255,255,255,.6); font-size: 11px; }
.fx-win__side b { margin-bottom: 8px; color: #fff; font-size: 13px; }
.fx-win__side span { padding: 6px 8px; border-radius: 7px; }
.fx-win__side .is-on { background: rgba(255,255,255,.12); color: #fff; font-weight: 700; }
.fx-win__main { flex: 1; padding: 16px; background: #f7faf9; }
.fx-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fx-kpis div { padding: 10px 12px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px #e8efed; }
.fx-kpis em { display: block; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--fx-muted); }
.fx-kpis b { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; color: var(--fx-ink); }
.fx-kpis .is-warn { color: #b45309; }
.fx-chip-card { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: 0 0 0 1px rgba(7,42,42,.06), 0 30px 50px -24px rgba(0,50,40,.55); white-space: nowrap; }
.fx-chip-card b { display: block; font-size: 13px; color: var(--fx-ink); }
.fx-chip-card em { font-style: normal; font-size: 11px; color: var(--fx-muted); }
.fx-phone { position: relative; width: 150px; display: grid; gap: 7px; padding: 30px 12px 14px; border-radius: 26px; background: #0b1f1f; color: #fff; box-shadow: 0 0 0 3px #1b3131, 0 40px 70px -26px rgba(0,30,25,.75); }
.fx-phone__notch { position: absolute; top: 9px; left: 50%; width: 44px; height: 11px; margin-left: -22px; border-radius: 8px; background: #000; }
.fx-phone__app { font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6ee7c1; }
.fx-phone__label { font-size: 10px; color: rgba(255,255,255,.6); }
.fx-phone__big { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.fx-phone__row { padding: 8px 9px; border-radius: 9px; background: rgba(255,255,255,.08); font-size: 10.5px; }
@media (min-width: 1024px) {
  .fx-hero__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; }
}
@media (max-width: 640px) {
  .fx-hero__stage { height: 330px; margin-inline: -8px; }
  .fx-layer--a { right: 0; top: -2%; }
  .fx-layer--b { left: 0; bottom: 10%; }
  .fx-layer--d { display: none; }
  .fx-chip-card { padding: 9px 11px; }
}

/* ---------- sticky section bar ---------- */
.fx-nav { position: sticky; z-index: 40; top: 72px; background: rgba(255,255,255,.82); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-block: 1px solid rgba(7,42,42,.07); }
.fx-nav__track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); display: flex; gap: 4px; max-width: var(--mkt-max, 1200px); margin: 0 auto; padding: 8px 24px; overflow-x: auto; scrollbar-width: none; }
.fx-nav__track::-webkit-scrollbar { display: none; }
.fx-nav a { flex-shrink: 0; padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #3f5655; text-decoration: none; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.fx-nav a:hover { background: rgba(0,118,87,.07); color: var(--fx-green); }
.fx-nav a.is-on { background: linear-gradient(135deg, var(--fx-leaf), var(--fx-green)); color: #fff; box-shadow: 0 8px 18px -10px rgba(0,118,87,.8); }
.fx-nav__progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: calc(var(--fx-p, 0) * 100%); background: linear-gradient(90deg, var(--fx-mint), var(--fx-aqua)); }
@media (max-width: 879px) { .fx-nav { top: 64px; } }

/* ---------- the core: chapters with zooming screens ---------- */
.fx-core { padding-top: clamp(64px, 8vw, 110px); background: linear-gradient(180deg, #fff, #f6faf8 40%, #fff); }
[id] { scroll-margin-top: 140px; }
.fx-chapter { padding-block: clamp(48px, 7vw, 90px); }
.fx-chapter__grid { display: grid; gap: 36px; align-items: center; }
.fx-chapter__text .mkt-h2 { margin: 16px 0 0; }
.fx-chapter__text .mkt-lead { margin: 16px 0 0; }
.fx-zoom { transform-origin: 50% 50%; will-change: transform, opacity; }
@media (min-width: 1024px) {
  .fx-chapter { min-height: 100vh; display: flex; align-items: center; padding-block: 60px; }
  .fx-chapter__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; width: 100%; }
  .fx-chapter__grid.is-flip .fx-chapter__text { order: 2; }
  .fx-chapter__visual { perspective: 1600px; }
}

/* ---------- rules built in: coverflow ---------- */
.fx-rules { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(70px, 9vw, 120px); background: linear-gradient(180deg, #003a35, #001b1a); color: #d9efe8; }
.fx-rules__aurora { position: absolute; z-index: -1; inset: -20% -10% auto; height: 80%; background: radial-gradient(40% 60% at 25% 40%, rgba(0,207,147,.35), transparent 70%), radial-gradient(35% 55% at 75% 30%, rgba(19,182,214,.28), transparent 70%); filter: blur(10px); }
.fx-rules__head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.mkt-body .fx-rules .mkt-h2 { color: #fff; margin: 16px 0 0; }
.fx-rules .mkt-lead { margin: 14px auto 0; color: #a9cfc6; }
.fx-flow { position: relative; outline: none; }
.fx-flow:focus-visible { box-shadow: 0 0 0 2px #7ff0c9; border-radius: 16px; }
.fx-flow__stage { position: relative; height: 330px; perspective: 1400px; transform-style: preserve-3d; touch-action: pan-y; }
.fx-card { position: absolute; left: 50%; top: 10px; width: min(320px, 78vw); margin-left: calc(min(320px, 78vw) / -2); padding: 20px; border-radius: 20px; background: linear-gradient(160deg, #0f5a50, #073a35); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 40px 70px -30px rgba(0,0,0,.6); transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s ease, filter .6s ease; cursor: pointer; }
.fx-card.is-on { cursor: default; box-shadow: inset 0 0 0 1px rgba(127,240,201,.45), 0 50px 90px -30px rgba(0,207,147,.35); }
.mkt-body .fx-card__title { margin: 0 0 14px; font-size: 16px; line-height: 1.3; color: #fff; }
.fx-rule { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: #fff; color: var(--fx-ink); }
.fx-rule__field { display: grid; gap: 2px; padding: 8px 10px; border-radius: 9px; box-shadow: inset 0 0 0 1px #e3ecea; }
.fx-rule__field em { font-style: normal; font-size: 10.5px; color: var(--fx-muted); }
.fx-rule__field b { font-size: 13px; }
.fx-rule__field--bad { box-shadow: inset 0 0 0 2px #f59e0b; }
.fx-rule__msg { margin: 0; padding: 8px 10px; border-radius: 9px; background: #fffbeb; color: #92400e; font-size: 12px; line-height: 1.4; box-shadow: inset 0 0 0 1px #fcd9a0; }
.fx-rule__msg--ok { background: #ecfdf5; color: #065f46; box-shadow: inset 0 0 0 1px #a7f3d0; }
.fx-rule__task { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; background: #fef2f2; color: #991b1b; font-size: 12px; font-weight: 700; }
.fx-rule__task span { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: #dc2626; color: #fff; font-size: 11px; }
.fx-flow__controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 14px; }
.fx-flow__controls button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s ease; }
.fx-flow__controls button:hover { background: rgba(255,255,255,.22); }
.fx-flow__controls [data-fx-count] { min-width: 50px; text-align: center; font-size: 13px; font-weight: 700; color: #a9cfc6; font-variant-numeric: tabular-nums; }
.fx-flow:not(.is-live) .fx-flow__stage { height: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; perspective: none; }
.fx-flow:not(.is-live) .fx-card { position: relative; left: auto; top: auto; margin: 0; width: auto; }
.fx-flow:not(.is-live) .fx-flow__controls { display: none; }

/* ---------- sideways slide ---------- */
.fx-slide { position: relative; background: #f6faf8; }
.fx-slide__sticky { padding-block: clamp(64px, 8vw, 100px); }
.fx-slide__head { margin-bottom: 30px; }
.fx-slide__track { display: grid; gap: 18px; padding: 0 24px; }
.fx-panel { display: grid; gap: 20px; padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(7,42,42,.06), 0 30px 60px -40px rgba(0,50,40,.45); }
.mkt-body .fx-panel__title { margin: 12px 0 8px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; color: var(--fx-ink); }
.fx-panel__text p { margin: 0; font-size: 15px; line-height: 1.55; color: #45605f; }
@media (min-width: 1024px) {
  .fx-slide--live { height: calc(100vh * (var(--panels) * .7 + .6)); }
  .fx-slide--live .fx-slide__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: 60px 40px; overflow: hidden; }
  .fx-slide--live .fx-slide__track { display: flex; gap: 28px; width: max-content; padding: 0 max(32px, calc((100vw - 1200px) / 2 + 32px)); will-change: transform; }
  .fx-slide--live .fx-panel { width: min(900px, 76vw); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 28px; padding: 28px; transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease; }
  .fx-slide--live .fx-panel.is-near { transform: scale(1.02); box-shadow: 0 0 0 1px rgba(0,118,87,.18), 0 40px 80px -40px rgba(0,50,40,.55); }
  .fx-slide:not(.fx-slide--live) .fx-slide__track { max-width: 1200px; margin: 0 auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 700px) and (max-width: 1023px) { .fx-slide__track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- portals ring ---------- */
.fx-ring-section { position: relative; background: #fff; }
.fx-ring-section__sticky { padding-block: clamp(64px, 8vw, 100px); }
.fx-ring-section__grid { display: grid; gap: 40px; align-items: center; }
.fx-ring-section .mkt-h2 { margin: 16px 0 0; }
.fx-ring-section .mkt-lead { margin: 14px 0 0; }
.fx-ring-captions { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 6px; }
.fx-ring-captions li { padding: 9px 12px; border-radius: 12px; font-size: 14.5px; color: #587070; transition: background .3s ease, color .3s ease; }
.fx-ring-captions li b { color: var(--fx-ink); margin-right: 4px; }
.fx-ring-captions li.is-on { background: #ecf8f3; color: #1f3d3c; box-shadow: inset 3px 0 0 var(--fx-leaf); }
.fx-orbit { position: relative; height: 440px; perspective: 1600px; }
.fx-orbit__spin { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(-10deg); }
/* Each device rides the orbit but turns back to face you, so all four stay readable. */
.fx-device { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; transform: translate(-50%, -50%) rotateY(calc(var(--i) * 90deg + var(--spin, 0deg))) translateZ(210px) rotateY(calc(var(--i) * -90deg - var(--spin, 0deg))); transition: transform .15s linear; }
.fx-dev { background: #0b1f1f; box-shadow: 0 0 0 3px #1b3131, 0 40px 70px -30px rgba(0,30,25,.7); }
.fx-dev--laptop { width: 260px; padding: 10px; border-radius: 14px; }
.fx-dev--tablet { width: 210px; padding: 12px; border-radius: 20px; }
.fx-dev--phone { width: 150px; padding: 22px 9px 12px; border-radius: 26px; }
.fx-dev__screen { display: grid; gap: 7px; padding: 12px; border-radius: 10px; background: linear-gradient(180deg, #f7fbf9, #eaf6f1); }
.fx-dev__app { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--fx-green); }
.fx-dev__row { display: flex; justify-content: space-between; gap: 8px; padding: 7px 8px; border-radius: 8px; background: #fff; font-size: 11px; font-weight: 700; color: var(--fx-ink); box-shadow: 0 0 0 1px #e3ecea; }
.fx-dev__row em { font-style: normal; font-weight: 500; color: var(--fx-muted); }
.fx-dev__big { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 24px; font-weight: 800; color: var(--fx-ink); }
.fx-dev__sub { font-style: normal; font-size: 11px; color: var(--fx-muted); }
.fx-dev__btn { padding: 8px; border-radius: 9px; background: linear-gradient(135deg, var(--fx-leaf), var(--fx-green)); color: #fff; font-size: 11px; font-weight: 800; text-align: center; }
@media (min-width: 1024px) {
  .fx-ring-section__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; }
  .fx-ring-section--live { height: 260vh; }
  .fx-ring-section--live .fx-ring-section__sticky { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; padding-block: 90px 40px; }
  .fx-ring-section--live .fx-ring-section__grid { width: 100%; }
}
@media (max-width: 1023px) {
  .fx-orbit { height: auto; perspective: none; }
  .fx-orbit__spin { position: static; transform: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; justify-items: center; }
  .fx-device { position: static; transform: none; }
  .fx-dev--laptop, .fx-dev--tablet { width: 100%; max-width: 230px; }
}

/* ---------- bento ---------- */
.fx-bento-section { padding-block: clamp(64px, 8vw, 110px); background: linear-gradient(180deg, #fff, #f5faf8); }
.fx-bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 32px; }
@media (min-width: 760px) { .fx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fx-tile--wide { grid-column: span 2; } }
@media (min-width: 1080px) { .fx-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fx-tile { position: relative; display: grid; gap: 16px; align-content: start; padding: 18px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(7,42,42,.07), 0 1px 2px rgba(7,42,42,.04); transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease; transform-style: preserve-3d; }
.fx-tile:hover { box-shadow: 0 0 0 1px rgba(0,118,87,.2), 0 30px 60px -34px rgba(0,50,40,.45); }
.fx-tile__visual { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.fx-tile:hover .fx-tile__visual { transform: translateZ(30px) scale(1.03); }
.mkt-body .fx-tile__title { margin: 10px 0 6px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 19px; line-height: 1.25; letter-spacing: -.02em; color: var(--fx-ink); }
.fx-tile__text p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #45605f; }
.fx-tile__more { margin-top: 10px; }
.fx-tile__more summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--fx-green); list-style: none; }
.fx-tile__more summary::-webkit-details-marker { display: none; }
.fx-tile__more summary::after { content: " +"; }
.fx-tile__more[open] summary::after { content: " \2013"; }
@media (min-width: 1080px) { .fx-tile--wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: stretch; } .fx-tile--wide .fx-tile__visual { display: grid; } .fx-tile--wide .fx-week__day { min-height: 220px; gap: 8px; } .fx-tile--wide .fx-slot { padding: 9px 7px; font-size: 11px; } .fx-tile--wide .fx-tile__text { align-self: center; } }

@media (prefers-reduced-motion: reduce) {
  .fx-timeline .is-now::after, .fx-flowline__step.is-now .fx-flowline__dot { animation: none; }
  .fx-stack, .fx-layer, .fx-card, .fx-device, .fx-tile, .fx-tile__visual, .fx-panel { transition: none !important; }
}
