/* fx.css (11/09/2026): the motion and picture layer from the reference design, fitted to RealtyMind. Loaded on every page by site.js
   together with fx.js. Without the script nothing here hides anything: every hidden state needs html.rmfx and a mark the script adds. */
html,body{overflow-x:clip}

/* soft color light drifting behind the page, moving a little with the pointer and the scroll */
.fx-amb{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.fx-amb i{position:absolute;border-radius:50%;opacity:.55;will-change:transform}
.fx-amb i:nth-child(1){width:46vw;height:46vw;max-width:720px;max-height:720px;right:-12vw;top:-16vw;background:radial-gradient(circle,rgba(22,82,240,.30),rgba(22,82,240,0) 68%);animation:fxm1 22s ease-in-out infinite alternate}
.fx-amb i:nth-child(2){width:40vw;height:40vw;max-width:640px;max-height:640px;left:-14vw;top:34vh;background:radial-gradient(circle,rgba(140,107,255,.26),rgba(140,107,255,0) 68%);animation:fxm2 26s ease-in-out infinite alternate}
.fx-amb i:nth-child(3){width:34vw;height:34vw;max-width:560px;max-height:560px;right:6vw;bottom:-18vw;background:radial-gradient(circle,rgba(14,154,167,.22),rgba(14,154,167,0) 68%);animation:fxm3 30s ease-in-out infinite alternate}
:root[data-theme="dark"] .fx-amb i{opacity:.75}
@keyframes fxm1{to{translate:-6vw 9vh}}@keyframes fxm2{to{translate:8vw -8vh}}@keyframes fxm3{to{translate:6vw -10vh}}

/* the top bar tightens into floating glass once you scroll */
.site-h{transition:box-shadow .35s,background .35s}
.site-h .wrap{transition:height .45s cubic-bezier(.32,.72,0,1)}
.site-h.fx-stuck{box-shadow:0 14px 40px rgba(13,27,42,.12),0 1px 3px rgba(13,27,42,.06);background:color-mix(in srgb,var(--surface) 78%,transparent)}
@media(min-width:900px){.site-h.fx-stuck .wrap{height:58px}}

/* the opening: the headline's words come in one after another, then a light sweeps across */
html.rmfx .fx-w{display:inline-block}
html.rmfx .fx-h1 .fx-w{animation:fxin 1s cubic-bezier(.2,.75,.2,1) both}
@keyframes fxin{from{opacity:0;transform:translateY(.45em) scale(.96);filter:blur(10px)}to{opacity:1;transform:none;filter:none}}
.fx-h1{position:relative}
.fx-h1.fx-shine::after{content:'';position:absolute;top:-8%;bottom:-8%;left:-20%;width:22%;pointer-events:none;background:linear-gradient(100deg,transparent,rgba(255,255,255,.75),transparent);transform:skewX(-18deg);animation:fxshine 1.3s cubic-bezier(.4,0,.2,1) forwards}
:root[data-theme="dark"] .fx-h1.fx-shine::after{background:linear-gradient(100deg,transparent,rgba(140,170,255,.35),transparent)}
@keyframes fxshine{from{left:-20%;opacity:1}to{left:110%;opacity:0}}

/* section headings: words rise in, and a bar draws itself above article headings */
html.rmfx .fx-hw .fx-w{opacity:0;transform:translateY(.5em);transition:opacity .7s ease,transform .8s cubic-bezier(.2,.75,.2,1)}
html.rmfx .fx-hw.fx-on .fx-w{opacity:1;transform:none}
html.rmfx .prose>h2.fx-hw{position:relative;padding-top:16px}
html.rmfx .prose>h2.fx-hw::before{content:'';position:absolute;left:0;top:0;width:54px;height:4px;border-radius:4px;background:linear-gradient(90deg,var(--accent),#8C6BFF);transform:scaleX(0);transform-origin:0 50%;transition:transform 1s cubic-bezier(.2,.75,.2,1) .15s}
[dir=rtl] .prose>h2.fx-hw::before{left:auto;right:0;transform-origin:100% 50%}
html.rmfx .prose>h2.fx-hw.fx-on::before{transform:scaleX(1)}

/* article text rises in as it reaches the screen; lists come in line by line; cards tip up */
html.rmfx .fx-r{opacity:0;transform:translateY(16px);transition:opacity .55s ease,transform .6s cubic-bezier(.2,.75,.2,1)}
html.rmfx .fx-r.fx-on{opacity:1;transform:none}
html.rmfx .fx-l>li{opacity:0;transform:translateX(-14px);transition:opacity .55s ease,transform .65s cubic-bezier(.2,.75,.2,1)}
html.fx[dir=rtl] .fx-l>li{transform:translateX(14px)}
html.rmfx .fx-l.fx-on>li{opacity:1;transform:none}
html.rmfx .fx-c{opacity:0;transform:perspective(1200px) translateY(50px) rotateX(14deg) scale(.95);transform-origin:50% 0;transition:opacity .8s cubic-bezier(.2,.75,.2,1),transform 1.05s cubic-bezier(.2,.75,.2,1)}
html.rmfx .fx-c.fx-on{opacity:1;transform:none}
html.rmfx .fx-c.fx-on.fx-done{transition:transform .35s cubic-bezier(.32,.72,0,1),box-shadow .25s,border-color .25s}

/* cards lean toward the pointer and a light follows it */
.fx-glow{position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:2;opacity:0;transition:opacity .3s;
  background:radial-gradient(420px circle at var(--fx-x,-999px) var(--fx-y,-999px),rgba(22,82,240,.13),rgba(140,107,255,.06) 35%,transparent 60%)}
.fx-lit:hover>.fx-glow{opacity:1}
:root[data-theme="dark"] .fx-glow{background:radial-gradient(420px circle at var(--fx-x,-999px) var(--fx-y,-999px),rgba(110,149,255,.2),rgba(168,85,247,.08) 35%,transparent 60%)}
.fx-tilt{transition:transform .12s linear,box-shadow .25s,border-color .25s!important}

/* the main buttons pull toward the pointer */
.fx-mag{transition:translate .35s cubic-bezier(.2,.8,.2,1),transform .15s,box-shadow .2s,filter .2s}

/* the blue box at the end of a page: a slow light turning around it, and a feed of what RealtyMind is doing */
.cta.fx-cta{isolation:isolate}
.cta.fx-cta::before{content:'';position:absolute;left:50%;top:50%;width:max(170%,1100px);aspect-ratio:1;translate:-50% -50%;z-index:-1;pointer-events:none;
  background:conic-gradient(from 0deg,rgba(255,255,255,0),rgba(255,255,255,.16),rgba(140,107,255,.22),rgba(14,154,167,.2),rgba(255,255,255,0) 70%);animation:fxspin 10s linear infinite}
@keyframes fxspin{to{transform:rotate(360deg)}}
@media(min-width:900px){
  .cta.fx-feedy{display:grid;grid-template-columns:1.15fr .85fr;gap:36px;align-items:center;text-align:start}
  .cta.fx-feedy .btns{justify-content:flex-start}
  .cta.fx-feedy p{margin-inline:0}
}
.fx-feed{display:flex;flex-direction:column;gap:9px;text-align:start}
.fx-feed .fx-ex{font-size:12px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.72)}
.fx-fd{display:flex;gap:11px;align-items:center;padding:11px 13px;border-radius:16px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:#fff;font-size:13.5px;line-height:1.35}
.fx-fd .fx-i{flex:none;width:32px;height:32px;padding:7px;border-radius:10px;background:#fff;color:var(--c)}
.fx-fd b{display:block;font-size:14px}
.fx-fd span span{opacity:.82}
@media(max-width:899px){.fx-feed{margin-top:26px}.fx-fd:nth-child(n+4){display:none}}

/* scenes: the parts of a little product picture switch on in order and loop while it's on screen */
.fx-sc{position:relative;font-size:14px;line-height:1.35;color:var(--ink);-webkit-user-select:none;user-select:none}
.fx-sc [data-at]{opacity:0;transform:translateY(10px) scale(.98);transition:opacity .55s cubic-bezier(.2,.75,.2,1),transform .65s cubic-bezier(.2,.75,.2,1)}
.fx-sc [data-at].on{opacity:1;transform:none}
.fx-win{background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);overflow:hidden;position:relative;text-align:start}
.fx-wh{display:flex;align-items:center;gap:6px;padding:10px 14px;border-bottom:1px solid var(--line);background:var(--sunk)}
.fx-wh i{width:10px;height:10px;border-radius:50%;background:#ff5f57}.fx-wh i:nth-child(2){background:#febc2e}.fx-wh i:nth-child(3){background:#28c840;margin-inline-end:8px}
.fx-wh b{font-size:13.5px}.fx-wh small{margin-inline-start:auto;font-size:12px;color:var(--faint);font-weight:650}
.fx-wb{padding:14px;min-height:250px;display:flex;flex-direction:column;gap:9px}
.fx-i{width:20px;height:20px;flex:none}
.fx-msg{max-width:86%;padding:9px 13px;border-radius:18px;font-size:13.5px;line-height:1.4}
.fx-them{align-self:flex-start;background:var(--sunk);border:1px solid var(--line);border-end-start-radius:6px}
.fx-us{align-self:flex-end;background:linear-gradient(135deg,var(--a1,#4F7BFF),var(--a2,#8C6BFF));color:#fff;border-end-end-radius:6px}
.fx-ring{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:16px;background:var(--sunk)}
.fx-ring small{margin-inline-start:auto;color:var(--faint);font-weight:650}
.fx-av{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;font-size:13px;background:linear-gradient(135deg,var(--a1,#4F7BFF),var(--a2,#8C6BFF));position:relative;flex:none}
.fx-ring .fx-av::after{content:'';position:absolute;inset:-5px;border-radius:50%;border:2px solid var(--a1,#4F7BFF);animation:fxping 1.6s ease-out infinite}
@keyframes fxping{from{transform:scale(.85);opacity:.9}to{transform:scale(1.45);opacity:0}}
.fx-wave{display:flex;align-items:center;gap:3px;height:34px;padding:0 4px}
.fx-wave i{flex:1;height:var(--h);border-radius:3px;background:linear-gradient(var(--a1,#4F7BFF),var(--a2,#8C6BFF));animation:fxwave .9s ease-in-out infinite alternate}
@keyframes fxwave{from{transform:scaleY(.25)}to{transform:scaleY(1)}}
.fx-ok{display:flex;gap:10px;align-items:center;padding:10px 12px;border-radius:14px;background:color-mix(in srgb,var(--good) 12%,var(--surface));border:1px solid color-mix(in srgb,var(--good) 30%,transparent);font-size:13px}
.fx-ok .fx-i{background:var(--good);color:#fff;border-radius:50%;padding:5px;width:28px;height:28px}
.fx-ok b{display:block;font-size:14px}
.fx-warn{background:color-mix(in srgb,var(--gold) 12%,var(--surface));border-color:color-mix(in srgb,var(--gold) 35%,transparent)}
.fx-warn .fx-i{background:var(--gold)}
.fx-row{display:flex;align-items:center;gap:10px;padding:9px 11px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.fx-row b{display:block;font-size:13.5px}.fx-row small{display:block;color:var(--muted);font-size:12px}
.fx-row em{margin-inline-start:auto;font-style:normal;font-size:12px;font-weight:750;padding:4px 9px;border-radius:99px;color:var(--c);background:color-mix(in srgb,var(--c) 13%,var(--surface));white-space:nowrap}
.fx-src{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;color:#fff;font-weight:850;font-size:12px;background:var(--c);flex:none}
.fx-sc .fx-route[data-at]{transform:translateX(-24px)}
.fx-sc .fx-route[data-at].on{transform:none}
.fx-tl{position:relative;display:flex;flex-direction:column;gap:7px;padding-inline-start:26px}
.fx-tl::before{content:'';position:absolute;inset-inline-start:10px;top:12px;bottom:12px;width:2px;background:var(--line)}
.fx-st{position:relative;display:flex;align-items:center;gap:8px;padding:8px 11px;border-radius:12px;border:1px solid var(--line);background:var(--surface);font-size:13px}
.fx-st::before{content:'';position:absolute;inset-inline-start:-21px;width:12px;height:12px;border-radius:50%;background:var(--surface);border:2px solid var(--line);transition:background .4s,border-color .4s}
.fx-st.on::before{background:var(--c,var(--good));border-color:var(--c,var(--good))}
.fx-st small{margin-inline-start:auto;color:var(--muted);font-weight:650}
.fx-st.fx-due{border-color:color-mix(in srgb,#F5A524 50%,transparent);background:color-mix(in srgb,#F5A524 9%,var(--surface))}
.fx-copy{padding:12px;border-radius:14px;border:1px solid var(--line);background:var(--surface);font-size:13.5px;line-height:1.5;min-height:84px}
.fx-copy mark{background:color-mix(in srgb,#FF4D8D 20%,transparent);color:inherit;border-radius:4px;padding:0 2px;text-decoration:line-through;text-decoration-color:#FF4D8D}
.fx-copy ins{text-decoration:none;background:color-mix(in srgb,var(--good) 18%,transparent);border-radius:4px;padding:0 2px}
.fx-sc .fx-fix ins{display:none}.fx-sc .fx-fix.on ins{display:inline}.fx-sc .fx-fix.on mark{display:none}
.fx-type::after{content:'';display:inline-block;width:2px;height:1em;margin-inline-start:2px;vertical-align:-2px;background:currentColor;animation:fxcar 1s steps(1) infinite}
@keyframes fxcar{50%{opacity:0}}
.fx-split{display:grid;grid-template-columns:130px 1fr;gap:16px;align-items:center;position:relative}
.fx-donut{width:130px;height:130px;transform:rotate(-90deg)}
.fx-donut circle{fill:none;stroke-width:15;stroke-dasharray:0 289;transition:stroke-dasharray 1.1s cubic-bezier(.2,.75,.2,1)}
.fx-donut .d0{stroke:var(--sunk);stroke-dasharray:289 289}.fx-donut .d1{stroke:#94a3b8}.fx-donut .d2{stroke:#F5A524}.fx-donut .d3{stroke:var(--accent)}
.fx-go .fx-donut .d1{stroke-dasharray:29 289;transition-delay:.5s}
.fx-go .fx-donut .d2{stroke-dasharray:58 289;stroke-dashoffset:-29;transition-delay:1.1s}
.fx-go .fx-donut .d3{stroke-dasharray:202 289;stroke-dashoffset:-87;transition-delay:1.7s}
.fx-lg>div{display:flex;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid var(--line);font-size:13px;color:var(--muted)}
.fx-lg>div b{margin-inline-start:auto;color:var(--ink);font-size:14px}
.fx-lg i{width:10px;height:10px;border-radius:3px;background:var(--c);flex:none}
@media(max-width:520px){.fx-split{grid-template-columns:1fr;justify-items:center}.fx-lg{width:100%}}
.fx-toast{position:absolute;inset-inline-end:14px;bottom:14px;display:flex;gap:10px;align-items:center;max-width:80%;background:color-mix(in srgb,var(--surface) 90%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid var(--line);border-radius:14px;padding:9px 12px;box-shadow:0 14px 34px rgba(13,27,42,.18);font-size:12.5px;z-index:3}
.fx-toast .fx-i{color:#fff;background:var(--good);border-radius:9px;padding:6px;width:30px;height:30px}
.fx-toast b{display:block;font-size:13.5px}

/* "In RealtyMind": a small moving picture between the sections of an article */
.fx-moment{margin:34px 0;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px;align-items:center;padding:20px;border-radius:26px;background:linear-gradient(135deg,color-mix(in srgb,var(--a1,#4F7BFF) 8%,var(--surface)),color-mix(in srgb,var(--a2,#8C6BFF) 8%,var(--surface)));border:1px solid var(--line);position:relative;overflow:hidden}
.fx-moment::after{content:'';position:absolute;width:300px;height:300px;inset-inline-end:-120px;top:-120px;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--a1,#4F7BFF) 22%,transparent),transparent);pointer-events:none}
@media(max-width:760px){.fx-moment{grid-template-columns:minmax(0,1fr)}}
.fx-moment figcaption{display:flex;flex-direction:column;gap:8px}
.fx-moment figcaption .fx-ey{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--a1,var(--accent))}
.fx-moment figcaption b{font-size:23px;line-height:1.2;letter-spacing:-.015em}
.fx-moment figcaption>span:not(.fx-ey){color:var(--muted);font-size:16px;line-height:1.5}
.fx-moment figcaption small{color:var(--faint);font-size:12.5px}
.fx-moment figcaption a{display:inline-flex;align-items:center;gap:6px;font-weight:750;text-decoration:none;margin-top:4px}
.fx-moment figcaption a .fx-i{width:16px;height:16px;transition:transform .2s}
.fx-moment figcaption a:hover .fx-i{transform:translateX(3px)}

/* article lists: numbered steps on a line, bold-led lists as icon cards, the rest with check marks */
.prose ol.fx-steps{list-style:none;padding:0;margin:6px 0 26px;position:relative}
.prose ol.fx-steps::before{content:'';position:absolute;inset-inline-start:19px;top:22px;bottom:22px;width:2px;background:linear-gradient(var(--accent),#8C6BFF);transform-origin:top;transition:transform 1.6s cubic-bezier(.2,.75,.2,1)}
html.rmfx .prose ol.fx-steps.fx-l:not(.fx-on)::before{transform:scaleY(0)}
.prose ol.fx-steps>li{position:relative;padding:10px 16px;padding-inline-start:58px;margin:10px 0;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);min-height:44px}
.fx-sn{position:absolute;inset-inline-start:5px;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:850;color:#fff;background:linear-gradient(135deg,var(--accent),#8C6BFF);box-shadow:0 0 0 5px var(--bg)}
.prose ul.fx-feats{list-style:none;padding:0;margin:8px 0 28px;display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:640px){.prose ul.fx-feats{grid-template-columns:1fr}}
.prose ul.fx-feats>li{margin:0;padding:16px 16px 14px;border-radius:18px;font-size:16px;line-height:1.5;color:var(--muted);background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}
.prose ul.fx-feats>li .fx-ft{display:block;color:var(--ink);font-size:17px;margin:8px 0 3px}
.fx-fi{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:12px;color:var(--c,var(--accent));background:color-mix(in srgb,var(--c,var(--accent)) 11%,var(--surface));border:1px solid color-mix(in srgb,var(--c,var(--accent)) 20%,transparent)}
.prose ul.fx-ticks{list-style:none;padding-inline-start:0}
.prose ul.fx-ticks>li{position:relative;padding-inline-start:32px}
.prose ul.fx-ticks>li::before{content:'';position:absolute;inset-inline-start:0;top:.28em;width:21px;height:21px;border-radius:50%;background:color-mix(in srgb,var(--good) 14%,var(--surface)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314935A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/13px no-repeat}

/* tables: the RealtyMind column lit up, Yes and No as marks */
.fx-tbl .fx-rmc{background:color-mix(in srgb,var(--accent) 7%,var(--surface));font-weight:650}
.fx-tbl th.fx-rmc{background:color-mix(in srgb,var(--accent) 15%,var(--surface));color:var(--accent)}
.fx-tbl tr:hover td{background:color-mix(in srgb,var(--accent) 4%,var(--surface))}
.fx-tbl tr:hover td.fx-rmc{background:color-mix(in srgb,var(--accent) 11%,var(--surface))}
.fx-y,.fx-n{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;margin-inline-end:6px;vertical-align:-4px;font-weight:900}
.fx-y{background:var(--good);color:#fff}.fx-y .fx-i{width:13px;height:13px;stroke-width:3}
.fx-n{background:color-mix(in srgb,var(--bad) 14%,var(--surface));color:var(--bad);font-size:15px}

/* questions glide open and closed */
details.fx-glide>summary{transition:color .2s}

/* links in article text: the underline draws in */
.prose p a,.prose li a{text-decoration:none;background:linear-gradient(currentColor,currentColor) 0 100%/0 1.5px no-repeat;padding-bottom:1px;transition:background-size .35s cubic-bezier(.2,.75,.2,1);box-shadow:inset 0 -1px 0 color-mix(in srgb,currentColor 30%,transparent)}
.prose p a:hover,.prose li a:hover{background-size:100% 1.5px}

@media(prefers-reduced-motion:reduce){
  html.rmfx .fx-h1 .fx-w{animation:none}.fx-amb i,.cta.fx-cta::before,.fx-wave i{animation:none}
  html.rmfx .fx-r,html.rmfx .fx-c,html.rmfx .fx-l>li,html.rmfx .fx-hw .fx-w{opacity:1;transform:none;transition:none}
}
@media print{.fx-amb,.fx-feed,.fx-moment{display:none}}
