/* The display typefaces of the rate cards, served by the showroom itself (all SIL OFL). The Latin ones come from the widget page's
   own embedded set; the Persian ones (Lalezar, Rakkas, Reem Kufi) are the Arabic-script subsets of the Google Fonts files. */
@font-face { font-family: "Anton"; font-weight: 400; font-display: swap; src: url("fonts/anton-400.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 500 900; font-display: swap; src: url("fonts/big-shoulders-display-500-900.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400 800; font-display: swap; src: url("fonts/jetbrains-mono-400-800.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 300 800; font-display: swap; src: url("fonts/sora-300-800.woff2") format("woff2"); }
@font-face { font-family: "Syne"; font-weight: 500 800; font-display: swap; src: url("fonts/syne-500-800.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 300 700; font-display: swap; src: url("fonts/space-grotesk-300-700.woff2") format("woff2"); }
@font-face { font-family: "Lalezar"; font-weight: 400; font-display: swap; src: url("fonts/lalezar-arabic.woff2") format("woff2"); }
@font-face { font-family: "Rakkas"; font-weight: 400; font-display: swap; src: url("fonts/rakkas-arabic.woff2") format("woff2"); }
@font-face { font-family: "Reem Kufi"; font-weight: 400 700; font-display: swap; src: url("fonts/reem-arabic.woff2") format("woff2"); }

/* NetRate showroom -- base: tokens, reset, the stage layers, the chrome around the slider. */
:root {
  --navy: #01020f;
  --blue: #0848ff;
  --blue-d: #0026c4;
  --glow: #3b7bff;
  --cyan: #6fd6ff;
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, .74);
  --ink-3: rgba(255, 255, 255, .5);
  --line: rgba(255, 255, 255, .14);
  --glass: rgba(255, 255, 255, .07);
  --glass-2: rgba(255, 255, 255, .12);
  --accent: #0848ff;
  --f-sans: "Geist", "Vazirmatn", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --pad: clamp(18px, 4.2vw, 64px);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; background: var(--navy); color: var(--ink);
  font-family: var(--f-sans); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

#gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; background: var(--navy); }
#bg2d { position: fixed; inset: 0; z-index: 0; background: var(--navy); }
#bg2d canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

#stage { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
#stage > * { pointer-events: none; }

/* ------------------------------------------------------------------ top bar */
#top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center;
  padding: clamp(16px, 2.6vw, 34px) var(--pad); z-index: 6; }
#top > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 30px; height: auto; color: #fff; filter: drop-shadow(0 0 14px rgba(59, 123, 255, .55)); }
.brand-word { font-weight: 650; letter-spacing: -.02em; font-size: 17px; }
.top-r { display: flex; gap: 10px; align-items: center; }
.pill { height: 38px; min-width: 52px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line);
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-weight: 600; font-size: 13px; letter-spacing: .06em; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .25s, border-color .25s, transform .25s var(--ease-out); }
.pill:hover { background: var(--glass-2); border-color: rgba(255, 255, 255, .3); }
.pill:active { transform: scale(.95); }
.pill svg { width: 16px; height: 16px; }

/* ----------------------------------------------------------------- footer */
#foot { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end;
  padding: 0 var(--pad) clamp(16px, 2.6vw, 34px); z-index: 6; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
#foot > * { pointer-events: auto; }
.sign { display: inline-flex; align-items: center; gap: 8px; justify-self: start; white-space: nowrap; transition: color .25s; }
.sign b { color: var(--ink); letter-spacing: .14em; }
.sign:hover { color: var(--ink); }
.sign-i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; margin-inline-start: 4px;
  transition: background .25s, transform .25s var(--ease-out); }
.sign:hover .sign-i { background: var(--blue); border-color: var(--blue); transform: rotate(-12deg) scale(1.08); }
.sign-i svg { width: 14px; height: 14px; }
.count { display: flex; align-items: center; gap: 12px; justify-self: center; font-variant-numeric: tabular-nums; }
.count b { color: var(--ink); font-weight: 600; }
.count i { width: 46px; height: 1px; background: var(--line); display: block; position: relative; overflow: hidden; }
.count i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--prog, .17)); transition: transform .9s var(--ease-out); }
.hint { justify-self: end; display: flex; align-items: center; gap: 12px; pointer-events: none !important; }
.hint i { width: 1px; height: 34px; background: linear-gradient(var(--ink), transparent); display: block; transform-origin: 0 0; animation: hintline 2.2s var(--ease-io) infinite; }
@keyframes hintline { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
html[dir="rtl"] .sign, html.fa .sign { letter-spacing: .12em; }

/* ------------------------------------------------------------------- rail */
#rail { position: absolute; right: clamp(10px, 1.7vw, 26px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; z-index: 6; }
#rail > * { pointer-events: auto; }
.rail-i { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 12px; height: 26px; padding: 0 2px; color: var(--ink-3); }
.rail-i span { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .4s var(--ease-out); white-space: nowrap; pointer-events: none; }
.rail-i i { width: 18px; height: 2px; border-radius: 2px; background: currentColor; display: block; transition: width .45s var(--ease-out), background .3s; }
.rail-i:hover { color: var(--ink); }
.rail-i:hover span { opacity: 1; transform: none; }
.rail-i.on { color: var(--ink); }
.rail-i.on i { width: 34px; background: var(--accent-hi, #fff); }

/* -------------------------------------------------------------- the cursor */
#cursor { position: fixed; left: 0; top: 0; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; z-index: 60; pointer-events: none;
  display: grid; place-items: center; font-size: 11px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(10px) saturate(1.4); -webkit-backdrop-filter: blur(10px) saturate(1.4);
  transform: scale(0); opacity: 0; will-change: transform; }
html.fa #cursor { letter-spacing: 0; font-size: 13px; text-transform: none; }

/* ------------------------------------------------------------------ intro */
#intro { position: fixed; inset: 0; z-index: 50; background: var(--navy); display: grid; place-content: center; justify-items: center; gap: 26px; }
.in-mark { width: min(34vw, 230px); position: relative; color: #fff; }
.in-mark svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 40px rgba(59, 123, 255, .55)); }
.in-fill { opacity: 0; }
.in-word { font-size: 12px; letter-spacing: .5em; text-indent: .5em; font-weight: 600; color: var(--ink-2); min-height: 1.2em; }
.in-bar { width: min(34vw, 230px); height: 1px; background: var(--line); overflow: hidden; }
.in-bar i { display: block; height: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
body:not(.is-boot) #intro { display: none; }

/* utility used by the scenes */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.no-select { user-select: none; -webkit-user-select: none; }

@media (max-width: 900px) {
  #rail { top: auto; bottom: 74px; left: 50%; right: auto; transform: translateX(-50%); flex-direction: row; gap: 2px; }
  .rail-i { height: 22px; width: 26px; justify-content: center; }
  .rail-i span { display: none; }
  .rail-i i { width: 10px; }
  .rail-i.on i { width: 22px; }
  #foot { grid-template-columns: 1fr; justify-items: center; gap: 10px; padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .count, .hint { display: none; }
  .sign { font-size: 9.5px; letter-spacing: .1em; }
  .brand-word { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hint i { animation: none; } }

/* NetRate showroom -- the slider: the featured artwork, the text on both sides, the enter button. */

#feature { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; }
.feat { position: relative; width: min(60vw, 1060px); height: min(76vh, 760px); pointer-events: none; perspective: 1600px; perspective-origin: 50% 45%; }
.feat-wrap { position: absolute; inset: 0; display: grid; place-items: center; will-change: clip-path; clip-path: inset(0 0 0 0); pointer-events: none; }
.feat-wrap.can-open { cursor: pointer; }
.art { position: relative; width: 100%; height: 100%; display: grid; place-items: center; transform-style: preserve-3d; will-change: transform; }
.art > * { transform-style: preserve-3d; }
#feat-hit { position: absolute; inset: 6% 8%; pointer-events: auto; cursor: pointer; z-index: 5; border-radius: 32px; }

#stext { position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); width: min(27vw, 440px); z-index: 4; color: var(--ink); }
#stext > * { pointer-events: none; }
.st-num { overflow: hidden; margin-bottom: 1.1em; }
.st-num span { display: block; font-size: 13px; letter-spacing: .2em; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.st-num span::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-inline-end: 12px; opacity: .7; }
.st-title { overflow: hidden; padding-bottom: .08em; }
.st-title h1 { font-size: clamp(34px, 4.6vw, 80px); font-weight: 620; line-height: 1; letter-spacing: -.035em; text-transform: uppercase; overflow-wrap: anywhere; }
.st-tag { overflow: hidden; margin-top: 1.4em; }
.st-tag p { font-size: clamp(11px, .86vw, 14px); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); line-height: 1.6; }
html.fa .st-tag p { letter-spacing: 0; text-transform: none; font-size: clamp(14px, 1.1vw, 18px); font-weight: 450; color: var(--ink-2); }
html.fa .st-title h1 { letter-spacing: -.03em; }

.enter-btn { pointer-events: auto !important; margin-top: clamp(20px, 2.6vw, 38px); display: inline-flex; align-items: center; gap: 14px; height: 46px; padding: 0 8px 0 22px; border-radius: 99px;
  background: #fff; color: #01020f; font-weight: 650; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; position: relative; overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s; box-shadow: 0 10px 40px -12px rgba(8, 72, 255, .7); }
html.fa .enter-btn { letter-spacing: 0; font-size: 15px; text-transform: none; }
.enter-btn i { width: 32px; height: 32px; border-radius: 50%; background: var(--accent, #0848ff); display: grid; place-items: center; position: relative; transition: transform .5s var(--ease-out); flex: none; }
.enter-btn i::before { content: ""; width: 12px; height: 12px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg) translate(-1px, 1px); }
.enter-btn:hover { transform: translateY(-2px); }
.enter-btn:hover i { transform: translateX(4px) scale(1.06); }
.enter-btn:active { transform: scale(.97); }
html[dir="rtl"] .enter-btn i::before { transform: rotate(-135deg) translate(-1px, 1px); }
html[dir="rtl"] .enter-btn { padding: 0 22px 0 8px; }
html[dir="rtl"] .enter-btn:hover i { transform: translateX(-4px) scale(1.06); }

#spara { position: absolute; right: calc(var(--pad) + 26px); top: 50%; transform: translateY(-50%); width: min(21vw, 340px); z-index: 4; text-align: right; display: flex; flex-direction: column; gap: 8px; }
.sp-line { overflow: hidden; padding: .1em 0; }
.sp-line span { display: block; font-size: clamp(14px, 1.45vw, 22px); line-height: 1.38; color: var(--ink-2); font-weight: 450; letter-spacing: -.01em; }

/* ------------------------------------------------------------ small screens */
@media (max-width: 900px) {
  .feat { width: 94vw; height: 44vh; }
  #feature { align-items: start; padding-top: 12vh; }
  #stext { left: var(--pad); right: var(--pad); width: auto; top: auto; bottom: 21vh; transform: none; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: end; }
  .st-num { grid-row: 1 / span 2; margin: 0 0 .6em; align-self: start; }
  .st-num span::before { display: none; }
  .st-title h1 { font-size: clamp(28px, 8.4vw, 44px); }
  .st-tag { margin-top: .6em; grid-column: 2; }
  .enter-btn { grid-column: 1 / -1; justify-self: start; margin-top: 16px; }
  #spara { display: none; }
}
@media (max-width: 900px) and (max-height: 640px) { .feat { height: 38vh; } #stext { bottom: 17vh; } }
@media (max-height: 560px) and (min-width: 901px) { .st-title h1 { font-size: 34px; } }

/* NetRate showroom -- device frames and the artworks on the slider. */

/* ------------------------------------------------------------------ phone */
.phone { --pw: min(17vw, 30vh); position: relative; width: var(--pw); aspect-ratio: 390 / 844; flex: none;
  border-radius: calc(var(--pw) * .158); padding: calc(var(--pw) * .03);
  background: linear-gradient(145deg, #3a3f4d 0%, #0a0b10 28%, #15171f 62%, #343846 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 0 0 calc(var(--pw) * .012) #05060a, 0 0 0 1px rgba(0, 0, 0, .7),
    0 calc(var(--pw) * .16) calc(var(--pw) * .34) calc(var(--pw) * -.1) rgba(0, 0, 0, .75), 0 0 calc(var(--pw) * .5) calc(var(--pw) * -.1) var(--ph-glow, rgba(8, 72, 255, .5)); }
.ph-b { position: absolute; width: calc(var(--pw) * .012); background: linear-gradient(#4a4f5e, #1a1c24); border-radius: 2px; }
.ph-b.b1 { left: calc(var(--pw) * -.007); top: 16%; height: 3.4%; }
.ph-b.b2 { left: calc(var(--pw) * -.007); top: 22%; height: 6.2%; }
.ph-b.b3 { left: calc(var(--pw) * -.007); top: 30%; height: 6.2%; }
.ph-b.b4 { right: calc(var(--pw) * -.007); top: 25%; height: 9.5%; }
.ph-screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--pw) * .128); overflow: hidden; background: #000; isolation: isolate; }
.ph-screen > img, .ph-screen > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; object-position: top center; background: #000; }
.ph-island { position: absolute; top: 1.9%; left: 50%; width: 29%; height: 3.5%; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 4; pointer-events: none; }
.ph-glare { position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .03) 26%, transparent 42%); mix-blend-mode: screen; }
.ph-iframe-wrap { position: absolute; left: 0; top: 0; width: 390px; height: 844px; transform-origin: 0 0; }
.ph-iframe-wrap iframe { display: block; border: 0; background: #fff; }
.phone.tablet { aspect-ratio: 820 / 1100; border-radius: calc(var(--pw) * .06); }
.phone.tablet .ph-screen { border-radius: calc(var(--pw) * .042); }
.phone.tablet .ph-island { display: none; }

/* ---------------------------------------------------------------- browser */
.browser { --bw: min(46vw, 78vh); position: relative; width: var(--bw); aspect-ratio: 16 / 10.4; border-radius: 16px; background: #0c0e16; flex: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 40px 90px -24px rgba(0, 0, 0, .8), 0 0 90px -20px var(--bw-glow, rgba(8, 72, 255, .5)); overflow: hidden; display: flex; flex-direction: column; }
.br-bar { height: 7.2%; min-height: 26px; flex: none; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: linear-gradient(#171a26, #10121b); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.br-bar > i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; flex: none; }
.br-bar > i:nth-child(2) { background: #febc2e; }
.br-bar > i:nth-child(3) { background: #28c840; }
.br-url { flex: 1; max-width: 62%; margin: 0 auto; height: 62%; min-height: 15px; border-radius: 99px; background: rgba(255, 255, 255, .07); color: var(--ink-3); font-size: 10.5px; letter-spacing: .02em; display: flex; align-items: center; justify-content: center; direction: ltr; white-space: nowrap; overflow: hidden; }
.br-body { position: relative; flex: 1; overflow: hidden; background: #fff; }
.br-body > img, .br-body > iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 0; object-fit: cover; object-position: top center; }

/* -------------------------------------------------------- artworks on the slider */
.art-brand { display: grid; place-items: center; }
.ab-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(59, 123, 255, .55), rgba(8, 72, 255, .12) 55%, transparent); filter: blur(30px); animation: ab-pulse 5s ease-in-out infinite; }
@keyframes ab-pulse { 50% { transform: scale(1.12); opacity: .75; } }
.ab-mark { position: relative; width: min(40vw, 64vh); aspect-ratio: 1000 / 564.9; transform: translateZ(80px);
  background: linear-gradient(90deg, #ffffff 0%, #9fc2ff 25%, #ffffff 50%, #6a9bff 75%, #ffffff 100%); background-size: 300% 100%;
  -webkit-mask: var(--mark-mask) center / contain no-repeat; mask: var(--mark-mask) center / contain no-repeat; animation: ab-sheen 6s linear infinite; filter: drop-shadow(0 20px 50px rgba(8, 72, 255, .55)); }
@keyframes ab-sheen { from { background-position: 0 0; } to { background-position: -300% 0; } }
.ab-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); width: 82%; aspect-ratio: 1; animation: ab-spin 40s linear infinite; }
.ab-ring::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #fff; top: 8%; left: 18%; box-shadow: 0 0 18px 4px rgba(111, 214, 255, .8); }
.ab-ring.r2 { width: 104%; border-color: rgba(255, 255, 255, .09); animation-duration: 64s; animation-direction: reverse; }
.ab-ring.r2::after { width: 6px; height: 6px; top: 66%; left: 94%; background: #6fd6ff; }
@keyframes ab-spin { to { transform: rotate(360deg); } }
.ab-tile { position: absolute; width: min(10.5vw, 16vh); aspect-ratio: 1; right: 6%; bottom: 12%; transform: translateZ(150px) rotateZ(-8deg); border-radius: 22.5%; overflow: hidden; box-shadow: 0 30px 60px -10px rgba(0, 0, 0, .7), 0 0 60px rgba(8, 72, 255, .6); animation: ab-float 7s ease-in-out infinite; }
.ab-tile img { width: 100%; height: 100%; }
@keyframes ab-float { 50% { transform: translateZ(150px) rotateZ(-4deg) translateY(-14px); } }

.art-app .phone { position: absolute; }
.art-app .p-c { --pw: min(19vw, 32vh); transform: translateZ(90px); z-index: 3; }
.art-app .p-l { --pw: min(16vw, 27vh); transform: translateX(-70%) translateZ(-30px) rotateY(26deg) rotateZ(-3deg); z-index: 1; opacity: .96; --ph-glow: rgba(95, 60, 255, .45); }
.art-app .p-r { --pw: min(16vw, 27vh); transform: translateX(70%) translateZ(-30px) rotateY(-26deg) rotateZ(3deg); z-index: 1; opacity: .96; --ph-glow: rgba(0, 183, 255, .4); }
.art-app .floor { position: absolute; width: 74%; height: 16%; bottom: 2%; border-radius: 50%; background: radial-gradient(closest-side, rgba(8, 72, 255, .5), transparent); filter: blur(24px); transform: translateZ(-60px) rotateX(78deg); }

.art-widgets .phone { --pw: min(20vw, 34vh); transform: translateZ(40px) rotateY(-14deg) rotateX(4deg) rotateZ(2deg); --ph-glow: rgba(0, 183, 255, .5); }
.art-widgets .fw { position: absolute; will-change: transform; filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .55)); }
.art-widgets .fw img { width: 100%; height: auto; }
.art-widgets .fw.f1 { width: min(17vw, 28vh); left: 8%; top: 16%; transform: translateZ(170px) rotateZ(-5deg); animation: fw-a 8s ease-in-out infinite; }
.art-widgets .fw.f2 { width: min(15.5vw, 25vh); right: 4%; top: 12%; transform: translateZ(210px) rotateZ(4deg); animation: fw-b 9s ease-in-out infinite; }
.art-widgets .fw.f3 { width: min(15vw, 24vh); right: 10%; bottom: 14%; transform: translateZ(150px) rotateZ(-3deg); animation: fw-a 10s ease-in-out infinite reverse; }
@keyframes fw-a { 50% { translate: 0 -14px; } }
@keyframes fw-b { 50% { translate: 0 12px; } }

.art-site .browser { --bw: min(46vw, 70vh); transform: translateZ(40px) rotateY(-17deg) rotateX(7deg) rotateZ(1deg); }
.art-site .phone { --pw: min(9.4vw, 16.5vh); position: absolute; right: 2%; bottom: 3%; transform: translateZ(160px) rotateY(-14deg) rotateZ(2deg); --ph-glow: rgba(8, 72, 255, .5); }

.art-panels .browser { --bw: min(47vw, 72vh); transform: translateZ(60px) rotateY(15deg) rotateX(6deg) rotateZ(-1deg); }
.art-panels .browser.back { --bw: min(34vw, 52vh); position: absolute; left: 0; top: 4%; transform: translateZ(-60px) rotateY(24deg) rotateX(4deg) rotateZ(-3deg); opacity: .8; }
.art-panels .phone { --pw: min(9vw, 16vh); position: absolute; right: 3%; bottom: 4%; transform: translateZ(150px) rotateY(12deg) rotateZ(-3deg); }

.art-design { display: grid; place-items: center; }
.ad-card { position: absolute; width: min(15vw, 24vh); aspect-ratio: 5 / 7; border-radius: 20px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 30px 60px -16px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .12); overflow: hidden; }
.ad-card .aa { font-size: min(5.2vw, 8.6vh); font-weight: 650; letter-spacing: -.05em; line-height: .9; }
.ad-card .sw { display: flex; gap: 6px; } .ad-card .sw i { width: 22%; aspect-ratio: 1; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(128, 128, 128, .35); }
.ad-card small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; font-weight: 600; }
.ad-card .rate { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ad-card.dk { background: #000; color: #f5f5f6; left: 12%; transform: translateZ(40px) rotateY(24deg) rotateZ(-5deg); }
.ad-card.lt { background: #f3f3f5; color: #09090b; transform: translateZ(120px); z-index: 2; }
.ad-card.ds { background: #e7e1dc; color: #1b1613; right: 12%; transform: translateZ(40px) rotateY(-24deg) rotateZ(5deg); }
.ad-card.ds .aa { color: #c4380f; }
.ad-icons { position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%) translateZ(90px); display: flex; gap: 10px; }
.ad-icons span { width: min(4.4vw, 7vh); aspect-ratio: 1; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ad-icons svg { width: 52%; height: 52%; }

@media (max-width: 900px) {
  .ab-mark { width: 82vw; }
  .art-app .p-c { --pw: 40vw; } .art-app .p-l, .art-app .p-r { --pw: 34vw; }
  .art-widgets .phone { --pw: 40vw; }
  .art-site .browser { --bw: 92vw; } .art-site .phone { --pw: 22vw; }
  .art-panels .browser { --bw: 90vw; } .art-panels .browser.back { display: none; } .art-panels .phone { --pw: 22vw; }
  .ad-card { width: 30vw; }
  .art-widgets .fw.f1 { width: 34vw; } .art-widgets .fw.f2 { width: 30vw; } .art-widgets .fw.f3 { width: 30vw; }
}

/* The three newest artworks on the slider. */
.ph-screen { container-type: inline-size; }
.art-cards .rc { position: absolute; width: min(22vw, 34vh); aspect-ratio: 1; border-radius: 22px; padding: 7%; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; overflow: hidden; box-shadow: 0 34px 70px -18px rgba(0, 0, 0, .85); }
.rc small { font: 700 10px "Geist", sans-serif; letter-spacing: .24em; opacity: .7; }
.rc b { font-size: min(2vw, 3.2vh); line-height: 1; letter-spacing: .02em; }
.rc em { font-style: normal; font-size: min(4.6vw, 7.4vh); line-height: .95; letter-spacing: -.01em; margin-top: 6px; white-space: nowrap; }
.rc span { font: 600 9px "Geist", sans-serif; letter-spacing: .2em; opacity: .65; margin-top: 4px; }
.rc1 { background: radial-gradient(80% 60% at 90% 0%, rgba(255, 43, 214, .5), transparent 60%), radial-gradient(70% 60% at 0% 100%, rgba(0, 229, 255, .4), transparent 60%), #05010f; color: #fff; font-family: "Anton"; transform: translateX(-66%) translateZ(-30px) rotateY(20deg) rotate(-7deg); }
.rc1 em { text-shadow: 0 0 22px #00e5ff; } .rc1 b { font-weight: 400; }
.rc2 { background: #f2ece1; color: #121212; font-family: "Syne"; transform: translateZ(110px) rotate(-2deg); z-index: 2; }
.rc2 em { font-weight: 800; } .rc2 b { font-weight: 800; }
.rc2::after { content: ""; position: absolute; top: 0; right: 0; width: 38%; height: 38%; background: radial-gradient(circle at 100% 0, #ff3b1f 0 40%, transparent 41%); opacity: .9; }
.rc3 { background: radial-gradient(90% 70% at 50% 40%, rgba(0, 255, 163, .22), transparent 70%), #01120d; color: #c8ffec; font-family: "Big Shoulders Display"; transform: translateX(66%) translateZ(-30px) rotateY(-20deg) rotate(7deg); }
.rc3 em { font-weight: 900; text-shadow: 0 0 22px #00ffa3; } .rc3 b { font-weight: 800; }
.art-notify .phone { --pw: min(19vw, 32vh); transform: translateZ(30px) rotateY(-12deg) rotateZ(2deg); --ph-glow: rgba(18, 217, 168, .45); }
.art-notify .nt { position: absolute; width: min(21vw, 33vh); display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: 18px; background: rgba(30, 36, 60, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; box-shadow: 0 22px 50px -14px rgba(0, 0, 0, .7); }
.art-notify .nt img { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.art-notify .nt b { display: block; font-size: 12px; font-weight: 650; line-height: 1.25; }
.art-notify .nt span { display: block; font-size: 11px; opacity: .8; line-height: 1.35; margin-top: 2px; }
.art-notify .nt em { font-style: normal; font-size: 10px; opacity: .55; margin-inline-start: auto; }
.art-notify .n1 { left: 6%; top: 20%; transform: translateZ(190px) rotate(-3deg); animation: fw-a 7s ease-in-out infinite; }
.art-notify .n2 { right: 2%; top: 42%; transform: translateZ(220px) rotate(2deg); animation: fw-b 8s ease-in-out infinite; }
.art-notify .n3 { left: 10%; bottom: 14%; transform: translateZ(160px) rotate(-1.5deg); animation: fw-a 9s ease-in-out infinite reverse; }
.dk-grp .act-btn { width: 100%; }
.dk-grp .act-btn + .act-btn { margin-top: 2px; }
.fs .ntf-stage .phone { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.fs .ntf-stage .ph-screen { border-radius: 0; }
.fs .ntf-stage .ph-island, .fs .ntf-stage .ph-glare, .fs .ntf-stage .ph-b, .fs .ntf-stage .app-glow { display: none; }
.fs .sc-notify .app-left { display: none; }
.fs .sc-notify .dock.right, .fs .sc-cards .dock.right { left: auto; right: 10px; }
.ntf-stage .app-glow { width: calc(var(--spw) * 1.8); }
@media (max-width: 900px) { .art-cards .rc { width: 40vw; } .art-notify .nt { width: 46vw; } .art-notify .phone { --pw: 40vw; } }

/* NetRate showroom -- the scenes. Every scene fills the window; the controls float over it and step aside when idle. */

#scenes { position: fixed; inset: 0; z-index: 10; pointer-events: none; }
.scene { position: absolute; inset: 0; pointer-events: none; }
.scene[hidden] { display: none; }
.sc-bar { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: center; z-index: 40; pointer-events: none; }
.sc-bar > * { pointer-events: auto; }
.sc-title { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: baseline; gap: 10px; pointer-events: none !important; opacity: .0; }
.sc-r { display: flex; gap: 8px; align-items: center; }
.sc-tools { display: flex; gap: 8px; align-items: center; }
.sc-body { position: absolute; inset: 0; pointer-events: none; }
.sc-body > * { pointer-events: auto; }

/* the buttons over a live page are solid (a blur over a moving page costs a frame every frame) */
.scene .pill, .scene .seg, .scene .dock { backdrop-filter: none; -webkit-backdrop-filter: none; }
.scene .pill { background: rgba(10, 14, 34, .88); border-color: rgba(255, 255, 255, .2); height: 36px; }

/* ----------------------------------------------------- the small parts: buttons that answer to touch */
.pill, .chip, .seg button, .enter-btn, .dk-ic, .dk-sw, .play-btn, .tour-step, .act-btn, .opt-card { position: relative; overflow: hidden; -webkit-user-select: none; user-select: none; }
.rp { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .38); pointer-events: none; transform: scale(0); }
.seg button.on .rp, .chip.on .rp, .act-btn.light .rp { background: rgba(0, 0, 0, .2); }
.pill, .chip, .act-btn, .opt-card { transition: transform .4s var(--ease-out), background .25s, color .25s, border-color .25s, box-shadow .4s; }
.pill:hover, .chip:hover, .act-btn:hover, .opt-card:hover { transform: translateY(-2px); }
.pill:active, .chip:active, .seg button:active, .act-btn:active, .opt-card:active, .dk-ic:active, .dk-sw:active { transform: scale(.93); transition-duration: .12s; }
.pill svg, .chip svg, .seg button svg, .act-btn svg { transition: transform .55s var(--ease-out); }
.pill:hover svg, .chip:hover svg, .seg button:hover svg, .act-btn:hover svg { transform: rotate(-9deg) scale(1.14); }
.chip.on, .opt-card.on { box-shadow: 0 10px 28px -10px rgba(255, 255, 255, .6); }

.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 99px; background: rgba(12, 16, 38, .9); border: 1px solid var(--line); position: relative; }
.seg button { position: relative; z-index: 1; height: 34px; padding: 0 16px; border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; transition: color .3s, transform .25s; white-space: nowrap; }
.seg button svg { width: 16px; height: 16px; }
.seg button.on { color: #01020f; }
.seg .seg-thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 99px; background: #fff; box-shadow: 0 6px 20px -6px rgba(255, 255, 255, .5); }
.card { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 22px; }
.eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
html.fa .eyebrow { letter-spacing: 0; text-transform: none; font-size: 13px; }
.h2 { font-size: clamp(22px, 2.4vw, 38px); font-weight: 620; letter-spacing: -.03em; line-height: 1.08; }
.p { color: var(--ink-2); font-size: clamp(14px, 1.05vw, 17px); line-height: 1.65; }
.chip { height: 36px; padding: 0 14px; border-radius: 99px; font-size: 13px; font-weight: 550; border: 1px solid var(--line); background: rgba(255, 255, 255, .07); display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); white-space: nowrap; }
.chip:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.chip.on { background: #fff; color: #01020f; border-color: #fff; }
.chip svg { width: 15px; height: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.act-btn { height: 48px; padding: 0 22px; border-radius: 99px; background: var(--accent, #0848ff); color: #fff; font-weight: 650; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 14px 36px -12px var(--accent, #0848ff); }
.act-btn.light { background: #fff; color: #01020f; box-shadow: 0 14px 36px -14px rgba(255, 255, 255, .7); }
.act-btn.ghost { background: rgba(255, 255, 255, .08); border: 1px solid var(--line); box-shadow: none; }
.act-btn svg { width: 18px; height: 18px; }

/* ----------------------------------------------------------------- the dock: the capsule beside a phone */
.dock-host { position: absolute; inset: 0; pointer-events: none; z-index: 20; }
.dock { position: absolute; top: 0; bottom: 0; margin-block: auto; width: 64px; border-radius: 32px; overflow: hidden; pointer-events: auto;
  background: rgba(10, 14, 34, .9); border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 24px 70px -14px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .12); }
.dock.right { left: calc(50% + var(--dkx, 200px) + 24px); }
.sc-app .dock, .sc-notify .dock { --dkx: calc(var(--spw) / 2); }
.dock.left { right: calc(50% + var(--dkx, 200px) + 24px); }
.dk-rail { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; }
.dk-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); transition: background .25s, color .25s, transform .3s var(--ease-out); }
.dk-ic:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.dk-ic.on { background: #fff; color: #01020f; }
.dk-ic svg { width: 22px; height: 22px; }
.dk-sw i { width: 24px; height: 24px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.dock.open .dk-rail { display: none; }
.dock.closed .dk-panel { display: none; }
.dk-panel { width: 330px; max-height: calc(100vh - 24px); overflow-y: auto; overflow-x: hidden; scrollbar-width: none; padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.dk-panel::-webkit-scrollbar { display: none; }
.dk-x { position: absolute; top: 12px; inset-inline-end: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .09); color: var(--ink-2); z-index: 2; transition: transform .35s var(--ease-out), background .25s; }
.dk-x:hover { background: rgba(255, 255, 255, .2); transform: rotate(90deg); }
.dk-grp { padding: 12px 12px 14px; border-radius: 18px; display: flex; flex-direction: column; gap: 10px; }
.dk-grp + .dk-grp { border-top: 1px solid rgba(255, 255, 255, .08); border-radius: 0 0 18px 18px; }
.dk-title { font-size: 15px; font-weight: 640; letter-spacing: -.01em; padding: 2px 44px 8px 12px; }
.sw-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.opt-card { border-radius: 16px; padding: 10px 6px 9px; display: flex; flex-direction: column; align-items: center; gap: 7px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.opt-card.on { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .12); }
.opt-card i { width: 34px; height: 34px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.grid2 .chip { justify-content: center; padding: 0 8px; }

/* ============================================================ scene: app */
.sc-app { --spw: calc((100vh - 30px) * 390 / 844); }
.app-stage { position: absolute; inset: 0; display: grid; place-items: center; }
.app-stage .phone { --pw: var(--spw); }
.app-stage .phone .ph-screen { background: #101216; }
.app-glow { position: absolute; width: calc(var(--spw) * 1.8); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(8, 72, 255, .42), transparent); z-index: -1; }
.app-left { position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); width: min(calc(50vw - var(--spw) / 2 - var(--pad) - 24px), 430px); display: flex; flex-direction: column; gap: 18px; z-index: 6; }
.tour-cap { min-height: 150px; display: flex; flex-direction: column; gap: 8px; }
.tour-cap .n { font-size: 12px; letter-spacing: .2em; color: var(--ink-3); font-variant-numeric: tabular-nums; font-weight: 600; }
.tour-cap h3 { font-size: clamp(26px, 2.8vw, 44px); font-weight: 640; letter-spacing: -.03em; line-height: 1.02; }
.tour-cap p { color: var(--ink-2); font-size: 15px; line-height: 1.6; max-width: 34ch; }
.tour-line { height: 2px; background: rgba(255, 255, 255, .14); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.tour-line i { display: block; height: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
.play-btn { height: 56px; border-radius: 99px; padding: 0 24px 0 8px; display: inline-flex; align-items: center; gap: 14px; background: #fff; color: #01020f; font-weight: 650; font-size: 15px; align-self: flex-start; box-shadow: 0 16px 44px -14px rgba(255, 255, 255, .6); transition: transform .4s var(--ease-out); }
html[dir="rtl"] .play-btn { padding: 0 8px 0 24px; }
.play-btn:hover { transform: translateY(-2px); }
.play-btn .ring { width: 40px; height: 40px; border-radius: 50%; background: var(--accent, #0848ff); display: grid; place-items: center; position: relative; color: #fff; flex: none; }
.play-btn .ring svg { width: 18px; height: 18px; }
.play-btn .ring::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent, #0848ff); opacity: .0; }
.play-btn.on .ring::after { animation: ring-pulse 1.6s ease-out infinite; }
@keyframes ring-pulse { 0% { transform: scale(.85); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.tour-list { display: flex; flex-direction: column; gap: 4px; }
.tour-step { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 14px; text-align: start; width: 100%; opacity: .62; transition: background .3s, opacity .3s; }
.tour-step:hover { opacity: 1; background: rgba(255, 255, 255, .06); }
.tour-step.on { background: rgba(255, 255, 255, .1); opacity: 1; }
.tour-step .ti { width: 32px; height: 32px; border-radius: 10px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; flex: none; }
.tour-step .ti svg { width: 17px; height: 17px; }
.tour-step b { font-size: 14px; font-weight: 620; }
.fs .sc-app .app-left { display: none; }
.fs .app-stage .phone, .fs .sc-widgets-fs .phone { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.fs .app-stage .ph-screen { border-radius: 0; }
.fs .app-stage .ph-island, .fs .app-stage .ph-glare, .fs .app-stage .ph-b, .fs .app-glow { display: none; }
.fs .sc-app .dock.right { left: auto; right: 10px; }
.fs .sc-bar { top: 8px; left: 8px; right: 8px; }
.fs .sc-bar .pill { height: 32px; padding: 0 12px; background: rgba(10, 14, 34, .72); }
.fs .sc-back span { display: none; }

/* ========================================================== scene: browser (site, panels) */
.view-stage { position: absolute; left: 0; right: 0; top: 14px; bottom: 78px; display: grid; place-items: center; }
.sc-view.full .view-stage { top: 0; bottom: 0; }
.full-frame { background: #000; overflow: hidden; }
.sc-site .sc-bar { display: none; }
.sc-panels .sc-bar { left: 10px; right: auto; top: 10px; }
.sc-panels .sc-title, .sc-panels .sc-r { display: none; }
.sc-panels .sc-back { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; }
.sc-panels .sc-back span { display: none; }
.sc-panels.pn-rtl .sc-bar { left: auto; right: 10px; }
.view-bar .sc-back, .view-bar .sc-lang { flex: none; }
.view-frame { position: relative; will-change: opacity, transform; }
.view-frame .browser { width: 100%; height: 100%; aspect-ratio: auto; }
.view-frame .br-body { background: #fff; }
.view-frame iframe { background: #fff; }
.view-bar { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; z-index: 30; width: max-content; max-width: 96vw; }
.fs .view-stage { top: 48px; bottom: 56px; }
.fs .view-bar { bottom: 12px; gap: 6px; }
.fs .view-bar .seg button { padding: 0 11px; height: 32px; font-size: 12px; }

/* ============================================================ scene: widgets (the stage lives in its own page) */
.sc-widgets { position: absolute; inset: 0; }
.sc-widgets iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: transparent; }

/* ============================================================ scene: brand */
.brand-tabs { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 45; }
.brand-pane { position: absolute; inset: 0; }
.pane { position: absolute; inset: 0; }
.logo-stage { position: absolute; top: 58px; bottom: 14px; left: var(--pad); right: var(--pad); border-radius: 28px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--line); transition: background .6s; }
.logo-stage[data-bg="blue"] { background: radial-gradient(120% 100% at 0% 0%, #0848ff 0%, #01020f 62%, #0026c4 140%); }
.logo-stage[data-bg="night"] { background: radial-gradient(90% 80% at 50% 40%, #0b1030, #01020f 70%); }
.logo-stage[data-bg="light"] { background: radial-gradient(90% 80% at 50% 40%, #ffffff, #dfe6f5 80%); color: #0a1030; }
.logo-stage[data-bg="ember"] { background: radial-gradient(100% 90% at 0% 100%, #ff5a1f 0%, #01020f 55%), radial-gradient(90% 90% at 100% 0%, #0848ff, transparent 60%); }
.logo-stage canvas, .logo-stage svg.lg { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo-ctrl { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; align-items: center; flex-wrap: wrap; justify-content: center; max-width: 96%; }
.logo-meta { position: absolute; left: 22px; top: 20px; z-index: 3; display: flex; flex-direction: column; gap: 4px; max-width: 40%; }
.logo-meta b { font-size: clamp(15px, 1.4vw, 22px); font-weight: 620; letter-spacing: -.02em; }
.logo-bg { position: absolute; right: 20px; top: 20px; z-index: 3; display: flex; gap: 8px; }
.sw-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); transition: transform .3s var(--ease-out), border-color .3s; }
.sw-dot:hover { transform: scale(1.15); } .sw-dot.on { border-color: #fff; transform: scale(1.2); box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }

/* -------- scroll scenes (the two sample movements): a pane that scrolls without a bar, and what moves inside it */
.sx { position: absolute; inset: 0; overflow-y: scroll; overflow-x: hidden; scrollbar-width: none; overscroll-behavior: contain; }
.sx::-webkit-scrollbar { display: none; }
.sx-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 30; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); pointer-events: none !important; display: flex; align-items: center; gap: 10px; }
.sx-hint i { width: 1px; height: 28px; background: linear-gradient(var(--ink), transparent); display: block; animation: hintline 2.2s var(--ease-io) infinite; transform-origin: 0 0; }
.fx-flow { position: relative; container-type: inline-size; margin: 0 auto; width: min(100%, 1560px); padding-top: 4px; }
.fx-tile { position: absolute; margin: 0; will-change: transform; }
.fx-tile canvas { display: block; width: 100%; height: 100%; border-radius: clamp(14px, 1.9cqw, 30px); pointer-events: none; }
.fx-cap { position: absolute; left: 4px; top: 100%; margin-top: 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; white-space: nowrap; }
.fx-title { position: absolute; font-size: clamp(34px, 7cqw, 120px); font-weight: 640; letter-spacing: -.05em; line-height: .9; color: #fff; mix-blend-mode: difference; pointer-events: none; }
.sg-track { position: relative; }
.sg-stage { position: sticky; top: 0; overflow: hidden; display: grid; place-items: center; }
.sg-title { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; z-index: 1; pointer-events: none; padding: 0 var(--pad); }
.sg-title h2 { font-size: clamp(40px, 7vw, 120px); font-weight: 640; letter-spacing: -.05em; line-height: .92; }
.sg-end { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 4; text-align: center; pointer-events: none; padding: 0 var(--pad); opacity: 0; }
.sg-end h3 { margin: 0; font-size: clamp(26px, 3.6vw, 58px); font-weight: 640; letter-spacing: -.045em; line-height: 1.02; }
.sg-end p { margin: 10px 0 0; color: var(--ink-2); font-size: clamp(13px, 1.1vw, 17px); }
.sg-title p { margin-top: 14px; color: var(--ink-2); font-size: clamp(14px, 1.2vw, 19px); }
.sg-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.1vw, 16px); width: min(92vw, 1300px); height: min(calc(var(--vh, 100vh) - 92px), 820px); will-change: transform; }
.sg-col { min-height: 0; display: flex; flex-direction: column; gap: clamp(8px, 1.1vw, 16px); will-change: transform; }
.sg-cell { position: relative; flex: 1 1 0; min-height: 0; border-radius: clamp(14px, 1.6vw, 24px); overflow: hidden; border: 1px solid var(--line); display: grid; place-items: center; container-type: size; will-change: transform; }
.sg-cell small { position: absolute; left: 14px; bottom: 11px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; font-weight: 600; }
.sg-cell svg.m { width: 52%; height: auto; max-height: 58%; }
.sg-cell img { width: 100%; height: 100%; object-fit: cover; }
.sg-cell img.contain { object-fit: contain; }
.sg-cell img.sh { width: 24%; height: auto; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6); }
.sg-cell .ico { width: min(38cqw, 60cqh); aspect-ratio: 1; border-radius: 22.5%; overflow: hidden; box-shadow: 0 24px 50px -12px rgba(0, 0, 0, .6); }
.sg-cell .word { font-size: min(11cqw, 28cqh); font-weight: 650; letter-spacing: -.03em; }
.sg-cell .spec { font-size: min(21cqw, 46cqh); font-weight: 640; letter-spacing: -.05em; line-height: 1; }
.sg-cell .specfa { font-size: min(16cqw, 40cqh); line-height: 1.2; font-weight: 700; }
.sg-cell .wordmark { font-size: min(12cqw, 30cqh); font-weight: 650; letter-spacing: .22em; padding-inline-start: .22em; }
.sg-cell .space { position: relative; width: 44%; aspect-ratio: 1.7; display: grid; place-items: center; border: 1px dashed rgba(255, 255, 255, .45); border-radius: 6px; }
.sg-cell .space svg { width: 56%; height: auto; }
.sg-cell .space i { position: absolute; inset: 22% 18%; border: 1px solid rgba(80, 140, 255, .8); border-radius: 3px; }
.sg-cell svg.pat { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ============================================================ scene: design */
.sc-design .dz-top { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 45; }
.dz-pane { position: absolute; top: 58px; bottom: 14px; left: var(--pad); right: var(--pad); overflow: auto; scrollbar-width: none; }
.dz-pane::-webkit-scrollbar { display: none; }
.dz-themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; height: 100%; min-height: 360px; }
.dz-theme { border-radius: 28px; padding: clamp(16px, 2vw, 28px); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); transition: transform .5s var(--ease-out); }
.dz-theme:hover { transform: translateY(-6px); }
.dz-theme .nm { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 650; opacity: .75; }
.dz-theme .big { font-size: clamp(60px, 9vw, 150px); font-weight: 650; letter-spacing: -.06em; line-height: .85; }
.dz-theme .swr { display: flex; gap: 10px; flex-wrap: wrap; }
.dz-theme .swr span { display: flex; flex-direction: column; gap: 6px; font-size: 10.5px; letter-spacing: .06em; opacity: .85; font-weight: 600; font-variant-numeric: tabular-nums; }
.dz-theme .swr i { width: clamp(36px, 4vw, 60px); aspect-ratio: 1; border-radius: 16px; display: block; box-shadow: inset 0 0 0 1px rgba(128, 128, 128, .35); }
.dz-theme .row { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dz-type { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; height: 100%; min-height: 360px; }
.dz-type .card { padding: clamp(18px, 2.4vw, 36px); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; overflow: hidden; }
.dz-type .spec { font-size: clamp(54px, 8vw, 128px); font-weight: 620; letter-spacing: -.05em; line-height: .9; }
.dz-type .fa-spec { font-size: clamp(46px, 6.4vw, 104px); font-weight: 600; line-height: 1.1; direction: rtl; }
.dz-type .glyphs { font-size: clamp(16px, 1.6vw, 24px); letter-spacing: .12em; opacity: .75; line-height: 1.7; word-break: break-all; }
.dz-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; padding: 4px; }
.dz-ic { aspect-ratio: 1; border-radius: 22px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); position: relative; transition: background .3s, transform .5s var(--ease-out); cursor: default; }
.dz-ic:hover { background: rgba(255, 255, 255, .13); transform: translateY(-4px) scale(1.04); }
.dz-ic svg { width: 36%; height: 36%; }
.dz-ic span { position: absolute; bottom: 8px; font-size: 9.5px; letter-spacing: .08em; opacity: 0; transition: opacity .3s; font-weight: 600; text-transform: uppercase; }
.dz-ic:hover span { opacity: .8; }
.dz-motion { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; height: 100%; min-height: 360px; }
.sp-card { padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; cursor: pointer; user-select: none; -webkit-user-select: none; text-align: start; }
.sp-card .track { position: relative; flex: 1; min-height: 120px; border-radius: 16px; background: rgba(255, 255, 255, .04); overflow: hidden; }
.sp-card .ball { position: absolute; left: 14px; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; background: linear-gradient(135deg, #fff, #9ec1ff); box-shadow: 0 10px 30px -8px rgba(59, 123, 255, .9); }
.sp-card b { font-size: 16px; font-weight: 620; } .sp-card small { color: var(--ink-3); font-size: 12px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }

/* ============================================================ scene: rate cards */
.sc-cards { --accent: #ff4fd8; }
.cards-stage { position: absolute; inset: 54px 0 10px 0; display: grid; place-items: center; }
.cards-view { position: relative; display: grid; place-items: center; }
.cards-view canvas { display: block; border-radius: 22px; box-shadow: 0 40px 90px -24px rgba(0, 0, 0, .85), 0 0 120px -30px var(--accent); max-width: 100%; max-height: 100%; }
.cards-shine { position: absolute; inset: 0; border-radius: 22px; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .13) 50%, transparent 62%); background-size: 260% 100%; animation: shine 5.5s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes shine { 0%, 40% { background-position: 130% 0; } 80%, 100% { background-position: -80% 0; } }
.font-chip { height: 44px; border-radius: 14px; font-size: 20px; padding: 0 8px; justify-content: center; line-height: 1; }
.tg-phone { position: absolute; inset: 0; background: #0e1621; color: #fff; display: flex; flex-direction: column; font-family: "Geist", system-ui, sans-serif; }
.tg-head { padding: 7cqi 4cqi 3cqi; display: flex; gap: 3cqi; align-items: center; background: #17212b; font-size: 4.4cqi; }
.tg-head i { width: 9cqi; height: 9cqi; border-radius: 50%; background: linear-gradient(135deg, #ff4fd8, #6b3cff); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 4cqi; }
.tg-head small { display: block; opacity: .55; font-size: 3.2cqi; }
.tg-feed { flex: 1; padding: 4cqi; display: flex; align-items: flex-end; background: radial-gradient(80% 60% at 20% 0%, #1a2a3c, #0e1621); }
.tg-bubble { background: #182533; border-radius: 4cqi; overflow: hidden; width: 92%; box-shadow: 0 1cqi 3cqi rgba(0, 0, 0, .4); }
.tg-bubble img { width: 100%; display: block; }
.tg-cap { padding: 3cqi 3.4cqi 2.4cqi; font-size: 3.6cqi; line-height: 1.5; white-space: pre-line; }
.tg-cap time { display: block; text-align: end; opacity: .5; font-size: 2.8cqi; margin-top: 1cqi; }
.tg-input { height: 12cqi; background: #17212b; display: flex; align-items: center; padding: 0 4cqi; font-size: 3.6cqi; opacity: .75; gap: 3cqi; }

/* ============================================================ scene: alerts (the notification mock-up) */
.sc-notify { --spw: calc((100vh - 30px) * 390 / 844); --accent: #12d9a8; }
.sc-cards { --spw: calc((100vh - 30px) * 390 / 844); }
.ntf-stage { position: absolute; inset: 0; display: grid; place-items: center; }
.ntf-stage .phone { --pw: var(--spw); }
.ntf-screen { position: absolute; inset: 0; overflow: hidden; color: #fff; font-family: "Geist", system-ui, sans-serif; container-type: inline-size; }
.ntf-wall { position: absolute; inset: 0; transition: background .6s; background: radial-gradient(90% 60% at 20% 0%, #1b3bd6, #070d2e 60%, #020510); }
.light .ntf-wall { background: radial-gradient(90% 60% at 20% 0%, #cfe0ff, #8fb2ff 60%, #5d86e8); }
.ntf-lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding-top: 17cqi; }
.ntf-lock .dt { font-size: 4.6cqi; font-weight: 550; opacity: .9; }
.ntf-lock .tm { font-size: 23cqi; font-weight: 600; letter-spacing: -.04em; line-height: 1; margin-bottom: 5cqi; }
.android .ntf-lock { align-items: flex-start; padding-inline: 8cqi; }
.android .ntf-lock .tm { font-weight: 300; }
.ntf-list { width: 100%; padding: 0 3.4cqi; display: flex; flex-direction: column; gap: 2cqi; }
.nt { display: flex; gap: 3cqi; align-items: flex-start; padding: 3cqi; border-radius: 6cqi; background: rgba(40, 46, 70, .62); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: #fff; box-shadow: 0 1cqi 4cqi rgba(0, 0, 0, .35); }
.light .nt { background: rgba(255, 255, 255, .72); color: #0a0f24; }
.nt img { width: 10.5cqi; height: 10.5cqi; border-radius: 22.5%; flex: none; }
.nt b { display: block; font-size: 3.9cqi; font-weight: 650; line-height: 1.25; }
.nt span { display: block; font-size: 3.6cqi; opacity: .85; line-height: 1.35; margin-top: .4cqi; }
.nt em { font-style: normal; font-size: 3cqi; opacity: .6; margin-inline-start: auto; flex: none; }
.android .nt { border-radius: 5cqi; background: rgba(32, 36, 52, .92); }
.light.android .nt { background: rgba(255, 255, 255, .94); }
.android .nt img { border-radius: 50%; width: 8cqi; height: 8cqi; }
.android .nt .app { display: block; font-size: 3cqi; opacity: .7; font-weight: 600; letter-spacing: .02em; margin-bottom: .6cqi; }
.ntf-banner-wrap { position: absolute; inset: 0; background: center top / cover no-repeat; }
.ntf-banner-wrap::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .25); }
.ntf-banner-wrap .ntf-list { position: absolute; top: 10cqi; left: 0; right: 0; }
.ntf-flash { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 rgba(18, 217, 168, .0); pointer-events: none; }
.ntf-note { color: var(--ink-3); font-size: 12px; line-height: 1.55; padding: 4px 12px 0; }
.ntf-bottom { position: absolute; left: 0; right: 0; bottom: 6cqi; display: flex; justify-content: space-between; padding: 0 10cqi; }
.ntf-bottom i { width: 12cqi; height: 12cqi; border-radius: 50%; background: rgba(255, 255, 255, .18); display: block; }

@media (max-width: 900px) {
  .dz-themes, .dz-motion { grid-template-columns: 1fr; height: auto; } .dz-type { grid-template-columns: 1fr; height: auto; }
  .logo-meta { max-width: 56%; } .logo-bg { top: auto; bottom: 74px; right: 14px; flex-direction: column; }
  .sc-title { display: none; }
  .cards-stage { inset: 52px 66px 16px 10px; }
  .sc-cards .dock.right, .sc-notify .dock.right { left: auto; right: 10px; }
}

.fs .view-frame .phone { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.fs .view-frame .ph-screen { border-radius: 0; }
.fs .view-frame .ph-island, .fs .view-frame .ph-glare, .fs .view-frame .ph-b { display: none; }
