/* ZFlash Studios - site styles. Colours come from the logo: deep navy and orange. No outside files are loaded. */

@font-face { font-family: "Chakra Petch"; src: url("../fonts/chakra-petch-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("../fonts/chakra-petch-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("../fonts/chakra-petch-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --bg: #05071a;
  --bg-2: #0a0e2b;
  --panel: #0f1438;
  --panel-2: #141a47;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --ink: #f2f4ff;
  --muted: #a8b0d8;
  --faint: #7c85b3;
  --orange: #ff8a1e;
  --amber: #ffc04d;
  --ember: #ff5a1f;
  --blue: #5b7cff;
  --violet: #8a5bff;
  --radius: 22px;
  --wrap: 1180px;
  --display: "Chakra Petch", "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: .01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--orange); color: #1a0c00; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #1a0c00; padding: 10px 16px; border-radius: 10px; font-weight: 700; z-index: 100; }
.skip:focus { left: 12px; }

/* page background: soft colour clouds that drift very slowly, and a fine dot pattern */
.backdrop { position: fixed; inset: 0; z-index: -2; background:
  radial-gradient(900px 600px at 85% -10%, rgba(91, 124, 255, .22), transparent 60%),
  radial-gradient(800px 600px at -10% 30%, rgba(255, 138, 30, .13), transparent 60%),
  radial-gradient(900px 700px at 60% 110%, rgba(138, 91, 255, .16), transparent 60%),
  linear-gradient(180deg, var(--bg), var(--bg-2) 55%, var(--bg)); }
.backdrop::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px); background-size: 28px 28px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }

/* ------------------------------------------------------------------ header */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-head.scrolled, .site-head.open { background: rgba(5, 7, 26, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; letter-spacing: .08em; font-size: 1.05rem; }
.brand img { height: 40px; width: auto; filter: drop-shadow(0 4px 14px rgba(255, 138, 30, .45)); transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.brand span b { color: var(--orange); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 9px 14px; border-radius: 12px; font-weight: 600; font-size: .95rem; color: var(--muted); position: relative; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--orange), var(--amber)); }
.nav .btn { margin-inline-start: 8px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); color: var(--ink); cursor: pointer; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.burger span { position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.site-head.open .burger span { background: transparent; }
.site-head.open .burger span::before { transform: translateY(6px) rotate(45deg); }
.site-head.open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 14px; font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: .03em; border: 0; cursor: pointer; position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; white-space: nowrap; }
.btn-primary { color: #1c0d00; background: linear-gradient(135deg, var(--amber), var(--orange) 55%, var(--ember)); box-shadow: 0 10px 30px -10px rgba(255, 138, 30, .7), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); transition: left .6s var(--ease); }
.btn-primary:hover::after { left: 120%; }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); }
.btn:hover { transform: translateY(-2px); }
.btn-ghost:hover { border-color: rgba(255, 184, 77, .6); box-shadow: 0 10px 30px -14px rgba(255, 138, 30, .6); }
.btn-sm { padding: 9px 16px; font-size: .9rem; border-radius: 12px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 120px 0 90px; overflow: hidden; isolation: isolate; }
#field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.floor { position: absolute; left: -50%; right: -50%; bottom: -8%; height: 62%; z-index: -1; transform: perspective(520px) rotateX(64deg); transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(255, 138, 30, .34) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(91, 124, 255, .3) 1.5px, transparent 1.5px);
  background-size: 64px 64px; animation: floor 2.4s linear infinite;
  mask-image: linear-gradient(180deg, transparent 0, #000 38%, #000 80%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 38%, #000 80%, transparent); }
@keyframes floor { to { background-position: 0 64px, 0 0; } }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid rgba(255, 184, 77, .4); background: rgba(255, 138, 30, .1); color: var(--amber); font-family: var(--display); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow i { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255, 138, 30, .7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(255, 138, 30, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 138, 30, 0); } }
.hero h1 { font-size: clamp(2.7rem, 7.4vw, 5.4rem); font-weight: 700; margin-top: 22px; text-transform: uppercase; letter-spacing: .005em; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: inline-block; transform: translateY(110%); animation: rise .9s var(--ease) forwards; }
.hero h1 .line:nth-child(2) span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.grad { background: linear-gradient(100deg, var(--amber), var(--orange) 45%, var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin-top: 22px; max-width: 34rem; color: var(--muted); font-size: 1.14rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--faint); font-size: .92rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }

.stage { position: relative; aspect-ratio: 1; max-width: 500px; margin-inline: auto; width: 100%; }
.stage .halo { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 138, 30, .5), rgba(91, 124, 255, .22) 55%, transparent 72%); filter: blur(22px); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.1); opacity: .8; } }
.stage .ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(255, 184, 77, .35); animation: spin 36s linear infinite; }
.stage .ring.r2 { inset: 20%; border-color: rgba(91, 124, 255, .4); animation-duration: 24s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage .z { position: absolute; inset: 24%; display: grid; place-items: center; animation: float 6s ease-in-out infinite; }
.stage .z img { width: 100%; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .6)) drop-shadow(0 0 34px rgba(255, 138, 30, .5)); }
@keyframes float { 50% { transform: translateY(-14px) rotate(-2deg); } }
.orbit { position: absolute; inset: 6%; animation: spin 36s linear infinite; }
.orbit.o2 { inset: 20%; animation-duration: 24s; animation-direction: reverse; }
.orbit img { position: absolute; width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 10px 26px rgba(0, 0, 0, .55), 0 0 0 2px rgba(255, 255, 255, .14); animation: spin 36s linear infinite reverse; }
.orbit.o2 img { width: 54px; height: 54px; border-radius: 15px; animation-duration: 24s; animation-direction: normal; }
.orbit img:nth-child(1) { top: -32px; left: calc(50% - 32px); }
.orbit img:nth-child(2) { bottom: 12%; left: -6px; }
.orbit img:nth-child(3) { bottom: 12%; right: -6px; }
.orbit.o2 img:nth-child(1) { top: calc(50% - 27px); left: -27px; }
.orbit.o2 img:nth-child(2) { top: calc(50% - 27px); right: -27px; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 16px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--amber); animation: cue 1.8s infinite; }
@keyframes cue { 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ------------------------------------------------------------------ marquee */
.marquee { border-block: 1px solid var(--line); background: rgba(255, 255, 255, .025); overflow: hidden; padding: 16px 0; }
.marquee .track { display: flex; gap: 46px; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { font-family: var(--display); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); display: inline-flex; align-items: center; gap: 46px; white-space: nowrap; }
.marquee span::after { content: ""; width: 9px; height: 9px; background: var(--orange); transform: rotate(45deg); border-radius: 2px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ sections */
.section { padding: 96px 0; position: relative; }
.section.tight { padding: 70px 0; }
.kicker { font-family: var(--display); font-weight: 600; font-size: .84rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); display: inline-flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--orange), transparent); }
.title { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 700; margin-top: 14px; text-transform: uppercase; }
.sub { color: var(--muted); max-width: 44rem; margin-top: 14px; font-size: 1.06rem; }
.head-center { text-align: center; } .head-center .sub { margin-inline: auto; } .head-center .kicker::after { content: ""; width: 28px; height: 2px; background: linear-gradient(270deg, var(--orange), transparent); }

/* things that come in as you scroll */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-34px); } [data-reveal="right"] { transform: translateX(34px); } [data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ cards */
.card { position: relative; border-radius: var(--radius); background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--line); padding: 22px; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 170, 70, .2), transparent 55%); }
.card:hover { border-color: rgba(255, 184, 77, .5); box-shadow: 0 26px 60px -30px rgba(255, 138, 30, .55), 0 0 0 1px rgba(255, 184, 77, .12); }
.card:hover::before { opacity: 1; }

.games { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 46px; }
.game { display: flex; flex-direction: column; gap: 14px; }
.game .art { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 1; background: var(--panel); transform: translateZ(26px); box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .8); }
.game .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.game:hover .art img { transform: scale(1.07); }
.game .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.game:hover .art::after { transform: translateX(120%); }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); background: rgba(255, 138, 30, .12); border: 1px solid rgba(255, 184, 77, .3); }
.tag.blue { color: #b9c6ff; background: rgba(91, 124, 255, .14); border-color: rgba(91, 124, 255, .4); }
.tag.grey { color: var(--muted); background: rgba(255, 255, 255, .06); border-color: var(--line-2); }
.game h3 { font-size: 1.18rem; font-weight: 700; }
.game p { color: var(--muted); font-size: .95rem; flex: 1; }
.game .btn { align-self: flex-start; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 46px; }
.app { display: grid; grid-template-columns: 132px 1fr; gap: 22px; align-items: center; padding: 26px; }
.app .icon { width: 132px; height: 132px; border-radius: 30px; overflow: hidden; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8); transform: translateZ(26px); background: var(--panel); display: grid; place-items: center; }
.app .icon img { width: 100%; height: 100%; object-fit: cover; }
.app .icon.pad { background: #0a2a36; } .app .icon.pad img { object-fit: contain; padding: 6px; }
.app h3 { font-size: 1.45rem; margin-top: 8px; }
.app p { color: var(--muted); margin-top: 8px; font-size: .98rem; }
.app .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px; }
.service { padding: 26px 22px; }
.service .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(255, 184, 77, .22), rgba(255, 90, 31, .1)); border: 1px solid rgba(255, 184, 77, .35); color: var(--amber); }
.service .ico svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.14rem; margin-top: 18px; }
.service p { color: var(--muted); font-size: .95rem; margin-top: 8px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split .body p + p { margin-top: 14px; }
.split .body p { color: var(--muted); }
.checks { display: grid; gap: 12px; margin-top: 22px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; color: var(--ink); }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 7px; background: linear-gradient(135deg, var(--amber), var(--ember)) ; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.6 17.2 4.4 12l1.7-1.7 3.5 3.5 8.3-8.3 1.7 1.7z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.6 17.2 4.4 12l1.7-1.7 3.5 3.5 8.3-8.3 1.7 1.7z'/%3E%3C/svg%3E") center/contain no-repeat; }
.panel { border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); padding: 30px; position: relative; overflow: hidden; }
.panel.glow::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 138, 30, .35), transparent); filter: blur(10px); }
.facts { display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--faint); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--display); font-weight: 600; padding-top: 3px; }
.facts dd { margin: 0; }
.facts a { color: var(--amber); }
.facts a:hover { text-decoration: underline; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; counter-reset: step; }
.step { padding: 26px 22px; counter-increment: step; }
.step::after { content: "0" counter(step); position: absolute; right: 18px; top: 10px; font-family: var(--display); font-weight: 700; font-size: 3.4rem; color: rgba(255, 255, 255, .06); line-height: 1; }
.step h3 { font-size: 1.14rem; } .step p { color: var(--muted); font-size: .95rem; margin-top: 8px; }

/* contact */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.contact a.card, .contact div.card { display: block; padding: 26px 22px; }
.contact .label { font-family: var(--display); font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.contact .big { font-family: var(--display); font-weight: 700; font-size: 1.22rem; margin-top: 10px; word-break: break-word; }
.contact p { color: var(--muted); font-size: .95rem; margin-top: 8px; }

.cta-band { border-radius: 32px; padding: 54px 34px; text-align: center; position: relative; overflow: hidden; border: 1px solid rgba(255, 184, 77, .3); background: linear-gradient(140deg, rgba(255, 138, 30, .2), rgba(91, 124, 255, .16)); }
.cta-band::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(255, 184, 77, .22), transparent 30%); animation: spin 14s linear infinite; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); text-transform: uppercase; }
.cta-band p { color: var(--muted); margin: 12px auto 24px; max-width: 36rem; }

/* inner page top */
.page-top { padding: 150px 0 60px; position: relative; overflow: hidden; }
.page-top h1 { font-size: clamp(2.3rem, 6vw, 4rem); text-transform: uppercase; margin-top: 16px; }
.page-top p.lead { color: var(--muted); max-width: 44rem; margin-top: 16px; font-size: 1.1rem; }
.crumbs { color: var(--faint); font-size: .9rem; } .crumbs a:hover { color: var(--amber); }

/* product pages */
.product-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.shots { display: flex; gap: 16px; justify-content: center; align-items: flex-end; }
.shots img { width: 31%; border-radius: 22px; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); transition: transform .5s var(--ease); }
.shots img:nth-child(2) { width: 36%; transform: translateY(-18px); }
.shots img:hover { transform: translateY(-10px) scale(1.03); } .shots img:nth-child(2):hover { transform: translateY(-28px) scale(1.03); }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.feature { padding: 24px 22px; } .feature h3 { font-size: 1.1rem; } .feature p { color: var(--muted); font-size: .95rem; margin-top: 8px; }
.art-float { animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)); width: min(440px, 100%); margin-inline: auto; }
.note { border-radius: 16px; border: 1px solid rgba(91, 124, 255, .4); background: rgba(91, 124, 255, .1); padding: 16px 18px; color: #d6dcff; font-size: .96rem; }
.note.warm { border-color: rgba(255, 184, 77, .4); background: rgba(255, 138, 30, .1); color: #ffe3bd; }

/* long text (privacy policy) */
.doc { display: grid; grid-template-columns: 270px 1fr; gap: 44px; align-items: start; }
/* scroll bars in the site's colours */
html { scrollbar-color: var(--orange) var(--bg-2); }
.toc { scrollbar-width: thin; scrollbar-color: var(--orange) transparent; }
::-webkit-scrollbar { width: 12px; height: 12px; } .toc::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-2); } .toc::-webkit-scrollbar-track { background: transparent; margin: 14px 0; }
::-webkit-scrollbar-thumb { border-radius: 999px; background: linear-gradient(180deg, var(--amber), var(--orange) 55%, var(--ember)); border: 3px solid var(--bg-2); }
.toc::-webkit-scrollbar-thumb { border: 0; }
.toc { position: sticky; top: 96px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); padding: 18px; max-height: calc(100vh - 120px); overflow: auto; }
.toc p { font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.toc a { display: block; padding: 7px 10px; border-radius: 10px; color: var(--muted); font-size: .92rem; border-left: 2px solid transparent; }
.toc a:hover, .toc a.on { color: var(--ink); background: rgba(255, 255, 255, .05); border-left-color: var(--orange); }
.prose { max-width: 50rem; }
.prose h2 { font-size: 1.7rem; margin: 54px 0 14px; padding-top: 6px; text-transform: uppercase; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 30px 0 10px; color: var(--amber); }
.prose h4 { font-size: 1.02rem; margin: 22px 0 8px; font-family: var(--body); font-weight: 700; }
.prose p { color: #cfd5f3; margin: 0 0 14px; }
.prose ul { list-style: none; margin: 0 0 16px; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; color: #cfd5f3; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; background: var(--orange); transform: rotate(45deg); border-radius: 1.5px; }
.prose a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose .panel { margin: 18px 0 22px; padding: 22px; }
.table-wrap { border-radius: 18px; border: 1px solid var(--line); margin: 18px 0 22px; overflow: hidden; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; table-layout: fixed; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); background: rgba(255, 255, 255, .03); }
tr:last-child td { border-bottom: 0; }
td code { font-size: .78rem; color: var(--muted); overflow-wrap: anywhere; }
td code { overflow-wrap: anywhere; }
th, td { overflow-wrap: break-word; }
th:first-child, td:first-child { width: 27%; } th:nth-child(2) { width: 17%; } th:nth-child(3) { width: 24%; }
.prose strong.hl { color: var(--orange); font-weight: 800; }
/* narrow screens: the table never scrolls sideways; each row becomes a small card with its column names */
@media (max-width: 860px) {
  .table-wrap { border: 0; border-radius: 0; overflow: visible; }
  table, tbody, tr, td { display: block; width: 100%; }
  thead { display: none; }
  tr { border: 1px solid var(--line); border-radius: 16px; padding: 6px 14px; margin-bottom: 12px; background: rgba(255, 255, 255, .03); }
  td, td:first-child { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); width: 100%; white-space: normal !important; }
  tr td:last-child { border-bottom: 0; }
  td::before { content: attr(data-label); font-family: var(--display); font-weight: 600; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding-top: 3px; }
}

/* ------------------------------------------------------------------ footer */
.site-foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 56px 0 30px; background: rgba(3, 4, 16, .6); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 34px; }
.site-foot h4 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 14px; }
.site-foot li { margin-bottom: 9px; } .site-foot li a { color: var(--muted); } .site-foot li a:hover { color: var(--amber); }
.site-foot .about { color: var(--muted); font-size: .95rem; margin-top: 14px; max-width: 22rem; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; color: var(--faint); font-size: .88rem; }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(10, 14, 43, .9); color: var(--amber); display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .3s, transform .3s; z-index: 40; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 20px; height: 20px; }

.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 0 80px; }
.nf .code { font-family: var(--display); font-weight: 700; font-size: clamp(6rem, 24vw, 13rem); line-height: .9; background: linear-gradient(100deg, var(--amber), var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; animation: glitch 3.2s infinite steps(1); }
@keyframes glitch { 0%, 92%, 100% { transform: none; filter: none; } 93% { transform: translate(-4px, 2px) skewX(-6deg); filter: hue-rotate(40deg); } 95% { transform: translate(5px, -2px) skewX(5deg); } 97% { transform: translate(-2px, 1px); } }

/* store buttons: every title shows both stores; a live one is a link, the other says "Soon" */
.stores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.app .stores { margin-top: 12px; }
.store { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 12px; font-family: var(--display); font-weight: 600; font-size: .82rem; letter-spacing: .02em; color: var(--ink); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; white-space: nowrap; }
.store svg { width: 15px; height: 15px; flex: none; color: var(--amber); }
a.store:hover { transform: translateY(-2px); border-color: rgba(255, 184, 77, .65); box-shadow: 0 10px 24px -14px rgba(255, 138, 30, .7); }
.store.soon { color: var(--faint); border-style: dashed; background: transparent; }
.store.soon svg { color: var(--faint); }
.store.soon em { font-style: normal; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; padding: 2px 6px; border-radius: 999px; background: rgba(91, 124, 255, .18); color: #b9c6ff; }
.big-stores { margin-top: 24px; }
.big-stores .store { padding: 12px 18px; font-size: .98rem; border-radius: 14px; }
.big-stores .store svg { width: 18px; height: 18px; }
.big-stores + .hero-cta { margin-top: 14px; }

/* MoneyRabbit page: a drawn scene (a trip being split), made only with shapes and text */
.mr-scene { position: relative; width: min(100%, 430px); aspect-ratio: 1 / 1.34; margin-inline: auto; }
.mr-glow { position: absolute; inset: 6% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 151, 178, .5), rgba(55, 211, 163, .16) 60%, transparent 74%); filter: blur(18px); animation: breathe 6s ease-in-out infinite; }
.mr-phone { position: absolute; left: 12%; right: 12%; top: 6%; bottom: 6%; border-radius: 34px; padding: 18px 16px; background: linear-gradient(170deg, #fffdf8, #f3eada); color: #17120e; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .85), 0 0 0 8px #101737, 0 0 0 9px rgba(255, 255, 255, .14); transform: rotate(-4deg); animation: mr-tilt 7s ease-in-out infinite; font-family: var(--body); display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
@keyframes mr-tilt { 50% { transform: rotate(-2deg) translateY(-10px); } }
.mr-top { display: flex; align-items: center; gap: 10px; }
.mr-top img { width: 40px; height: 40px; border-radius: 12px; }
.mr-top b { display: block; font-size: 1rem; line-height: 1.2; }
.mr-top small { color: #4a403a; font-size: .78rem; }
.mr-pill { margin-inline-start: auto; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: #cdeee4; color: #0f6e56; }
.mr-total { border-radius: 18px; padding: 12px 14px; background: #0f6e56; color: #fffdf8; }
.mr-total small { display: block; font-size: .74rem; opacity: .85; }
.mr-total strong { font-family: var(--display); font-size: 1.7rem; line-height: 1.15; }
.mr-list { display: grid; gap: 8px; }
.mr-list li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 14px; background: #fff; border: 1px solid #e0d4bf; font-size: .9rem; }
.mr-list i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; color: #fff; background: var(--c); }
.mr-list span { font-weight: 700; line-height: 1.15; }
.mr-list small { display: block; font-weight: 500; font-size: .72rem; color: #4a403a; }
.mr-list b { font-size: .82rem; color: #4a403a; }
.mr-list b.plus { color: #0f6e56; }
.mr-budget { margin-top: auto; }
.mr-budget > div:first-child { display: flex; justify-content: space-between; font-size: .74rem; color: #4a403a; margin-bottom: 5px; }
.mr-bar { height: 9px; border-radius: 9px; background: #e0d4bf; overflow: hidden; }
.mr-bar span { display: block; height: 100%; width: 68%; border-radius: 9px; background: linear-gradient(90deg, #37d3a3, #0f6e56); animation: mr-fill 2.4s var(--ease) both; }
@keyframes mr-fill { from { width: 0; } }
.mr-coin { position: absolute; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: #ffd9c2; background: radial-gradient(circle at 35% 30%, #c995c9, #9a62a0); box-shadow: 0 0 0 5px #f7c5ad, 0 14px 26px -10px rgba(0, 0, 0, .7); animation: float 5s ease-in-out infinite; z-index: 2; }
.mr-coin.c1 { left: 0; top: 16%; }
.mr-coin.c2 { right: 2%; top: 4%; width: 46px; height: 46px; font-size: 1.2rem; animation-delay: -1.6s; }
.mr-coin.c3 { right: 0; bottom: 22%; width: 40px; height: 40px; font-size: 1rem; animation-delay: -3s; }
.mr-note { position: absolute; z-index: 3; padding: 10px 14px; border-radius: 16px; background: rgba(16, 21, 61, .94); border: 1px solid var(--line-2); box-shadow: 0 18px 34px -16px rgba(0, 0, 0, .8); font-weight: 700; font-size: .86rem; display: flex; align-items: center; gap: 8px; animation: float 6s ease-in-out infinite; }
.mr-note small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.mr-note.n1 { left: -4%; bottom: 3%; animation-delay: -2s; }
.mr-note.n2 { right: -6%; top: 15%; display: block; animation-delay: -4s; }
.mr-note .tick { width: 20px; height: 20px; border-radius: 50%; background: #37d3a3; position: relative; flex: none; }
.mr-note .tick::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 10px; border: solid #062a25; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
@media (max-width: 640px) { .mr-note.n2 { right: 0; } .mr-note.n1 { left: 0; } .store { font-size: .78rem; padding: 7px 10px; }
  .game .stores { flex-direction: column; align-items: stretch; gap: 12px; } .game .store { justify-content: center; min-width: 0; max-width: 100%; }
  /* in the narrow game cards the "Soon" label sits on the button's top edge, so the button never grows wider than the card */
  .game .store.soon { position: relative; } .game .store span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .game .store.soon em { position: absolute; top: -9px; right: 8px; background: #232a66; font-size: .58rem; padding: 1px 6px; }
  .app .stores { gap: 10px; } }

/* grid columns may shrink below their content, so long words and buttons wrap instead of widening the page */
.hero-grid > *, .split > *, .product-hero > *, .duo > *, .doc > *, .games > *, .services > *, .feature-grid > *, .steps > *, .contact > *, .foot-grid > *, .app > * { min-width: 0; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #1c0d00; background: linear-gradient(135deg, var(--amber), var(--orange) 55%, var(--ember)); }
.facts dd, .contact .big, .prose p, .prose li { overflow-wrap: anywhere; }

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 1080px) {
  .games { grid-template-columns: repeat(3, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .doc { grid-template-columns: 1fr; } .toc { position: static; max-height: none; }
}
@media (max-width: 900px) {
  .burger { display: grid; }
  .nav { position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 20px 22px; background: rgba(5, 7, 26, .97); border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
  .site-head.open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 13px 14px; font-size: 1.05rem; } .nav .btn { margin: 8px 0 0; }
  .hero { padding-top: 104px; min-height: auto; }
  .hero-grid, .split, .product-hero, .duo { grid-template-columns: 1fr; }
  .stage { max-width: 340px; order: -1; }
  .orbit img { width: 52px; height: 52px; border-radius: 14px; } .orbit.o2 img { width: 44px; height: 44px; }
  .steps, .contact, .feature-grid { grid-template-columns: 1fr; }
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(26px); }          /* no sideways slide on narrow screens */
  .section { padding: 72px 0; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .games { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card { padding: 16px; } .game h3 { font-size: 1.02rem; } .game p { font-size: .88rem; }
  .services { grid-template-columns: 1fr; }
  .app { grid-template-columns: 92px 1fr; gap: 16px; padding: 18px; } .app .icon { width: 92px; height: 92px; border-radius: 22px; } .app h3 { font-size: 1.2rem; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .cta-band { padding: 40px 20px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .btn { white-space: normal; text-align: center; }
  .shots { gap: 10px; }
  .brand span { font-size: .92rem; }
  .page-top { padding-top: 120px; }
}
@media (max-width: 380px) { .games { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ drawings on the app pages
   Each app has its own drawing in its own style, made only with shapes and text. Sizes use cqw, so a drawing scales with its box. */
.sp-scene, .mq-scene, .fc-scene, .ph-scene { position: relative; width: min(100%, 440px); aspect-ratio: 1 / 1.12; margin-inline: auto; container-type: inline-size; }

/* Spiceistry: a karahi on the flame, thick outlines and flat colours like the app icon */
.sp-scene { --sp: #2B1D14; color: #2B1D14; }
.sp-mat { position: absolute; left: 3%; right: 3%; top: 4%; aspect-ratio: 1; border-radius: 50%; background: #FBF4E6; box-shadow: 0 0 0 1.6cqw rgba(251, 244, 230, .14), 0 9cqw 14cqw -8cqw rgba(0, 0, 0, .8); }
.sp-mat::after { content: ""; position: absolute; inset: 5%; border-radius: 50%; border: .6cqw dashed #D8C497; animation: spin 70s linear infinite; }
.sp-pot { position: absolute; left: 21%; right: 21%; top: 34%; height: 33%; }
.sp-bowl { position: absolute; inset: 20% 0 20% 0; background: #C23B22; border: 1.4cqw solid var(--sp); border-radius: 6% 6% 50% 50% / 10% 10% 100% 100%; z-index: 1; }
.sp-bowl b { position: absolute; left: 10%; top: 26%; width: 9%; height: 42%; border-left: 1.6cqw solid #EDB57C; border-radius: 50%; transform: rotate(16deg); }
.sp-food { position: absolute; left: 3%; right: 3%; top: 9%; height: 24%; background: #E8B867; border: 1.4cqw solid var(--sp); border-radius: 50%; z-index: 2; }
.sp-food i { position: absolute; width: 7%; aspect-ratio: 1; border-radius: 50%; background: #4F9A3A; border: .6cqw solid var(--sp); left: 22%; top: 30%; }
.sp-food i:nth-child(2) { left: 46%; top: 44%; background: #C23B22; } .sp-food i:nth-child(3) { left: 66%; top: 24%; } .sp-food i:nth-child(4) { left: 34%; top: 56%; background: #fff8e4; width: 5%; }
.sp-h { position: absolute; top: 18%; width: 15%; height: 17%; border: 1.4cqw solid var(--sp); border-radius: 50%; }
.sp-h.l { left: -10%; } .sp-h.r { right: -10%; }
.sp-flame { position: absolute; left: 20%; right: 20%; bottom: -3%; height: 24%; display: flex; justify-content: space-between; align-items: flex-end; }
.sp-flame i { width: 14%; height: 100%; background: linear-gradient(#E8B867, #e2631f); border: 1cqw solid var(--sp); border-radius: 50% 50% 50% 50% / 72% 72% 28% 28%; transform-origin: bottom; animation: sp-flick .8s ease-in-out infinite alternate; }
.sp-flame i:nth-child(2n) { height: 74%; animation-delay: -.3s; } .sp-flame i:nth-child(3) { animation-delay: -.55s; }
@keyframes sp-flick { to { transform: scaleY(.72) skewX(5deg); } }
.sp-steam { position: absolute; left: 37%; right: 33%; top: 13%; height: 21%; display: flex; justify-content: space-between; }
.sp-steam i { width: 20%; height: 100%; border-left: 1.4cqw solid #C48A52; border-radius: 50%; opacity: 0; animation: sp-steam 3.4s ease-in-out infinite; }
.sp-steam i:nth-child(2) { animation-delay: -1.1s; transform: scaleX(-1); } .sp-steam i:nth-child(3) { animation-delay: -2.2s; }
@keyframes sp-steam { 0% { opacity: 0; translate: 0 30%; } 40% { opacity: .85; } 100% { opacity: 0; translate: 0 -45%; } }
.sp-card { position: absolute; left: 0; bottom: 1%; width: 66%; padding: 3.4cqw 4cqw; background: #fffaf0; border: 1.2cqw solid var(--sp); border-radius: 5cqw; box-shadow: 1.6cqw 1.6cqw 0 var(--sp); rotate: -3deg; animation: sp-bob 6s ease-in-out infinite; z-index: 3; }
.sp-card small { display: block; font-size: 2.8cqw; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #7A6656; }
.sp-card strong { display: block; font-family: var(--display); font-size: 5.2cqw; line-height: 1.15; margin-top: 1cqw; }
.sp-dots { display: flex; gap: 1.5cqw; margin-top: 2.6cqw; }
.sp-dots i { width: 2.8cqw; height: 2.8cqw; border-radius: 50%; border: .7cqw solid var(--sp); }
.sp-dots i.on { background: #4F9A3A; } .sp-dots i.now { background: #C23B22; animation: breathe 1.6s ease-in-out infinite; }
@keyframes sp-bob { 50% { translate: 0 -2.4cqw; } }
.sp-timer { position: absolute; right: 0; bottom: 8%; width: 27%; aspect-ratio: 1; border-radius: 50%; background: #fffaf0; border: 1.2cqw solid var(--sp); box-shadow: 1.6cqw 1.6cqw 0 var(--sp); display: grid; place-items: center; animation: sp-bob 5s -2.5s ease-in-out infinite; z-index: 3; }
.sp-timer span { position: absolute; inset: 9%; border-radius: 50%; background: conic-gradient(#4F9A3A 0 62%, #EAD7A8 0); -webkit-mask: radial-gradient(farthest-side, transparent 66%, #000 68%); mask: radial-gradient(farthest-side, transparent 66%, #000 68%); }
.sp-timer b { font-family: var(--display); font-size: 5cqw; }
.sp-say { position: absolute; right: 1%; top: 7%; padding: 1.6cqw 3.6cqw; background: #4F9A3A; color: #fff; border: 1.2cqw solid var(--sp); border-radius: 5cqw 5cqw 5cqw 1cqw; font-weight: 800; font-size: 4.2cqw; box-shadow: 1.2cqw 1.2cqw 0 var(--sp); animation: sp-bob 5s -1s ease-in-out infinite; z-index: 3; }
.sp-spice { position: absolute; border: 1cqw solid var(--sp); z-index: 1; }
.sp-spice.s1 { left: 13%; top: 25%; width: 11%; height: 3.6%; background: #C23B22; border-radius: 80% 20% 80% 20% / 100% 60% 100% 60%; rotate: -34deg; }
.sp-spice.s2 { right: 15%; top: 30%; width: 4.4%; aspect-ratio: 1; background: #E8B867; border-radius: 50%; }
.sp-spice.s3 { left: 12%; top: 58%; width: 6.5%; height: 3.4%; background: #4F9A3A; border-radius: 50%; rotate: 28deg; }
.sp-spice.s4 { right: 12%; top: 55%; width: 3.4%; aspect-ratio: 1; background: #3A2E28; border-radius: 50%; }
.sp-spice.s5 { left: 26%; top: 14%; width: 3.4%; aspect-ratio: 1; background: #3A2E28; border-radius: 50%; }

/* World MCQ Forum (Pakistan): an answer sheet being marked, paper and green ink */
.mq-scene { color: #0b1210; }
.mq-glow { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(11, 122, 85, .55), rgba(11, 122, 85, .18) 55%, transparent 78%); animation: glow-fade 6s ease-in-out infinite; }
.mq-omr { position: absolute; right: 1%; top: 14%; width: 25%; padding: 2.6cqw; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6cqw; background: #0e2a22; border: 1px solid rgba(255, 255, 255, .16); border-radius: 3cqw; rotate: 7deg; }
.mq-omr i { aspect-ratio: 1; border-radius: 50%; border: .5cqw solid #4fbf95; } .mq-omr i.f { background: #4fbf95; }
.mq-sheet { position: absolute; left: 12%; right: 17%; top: 5%; bottom: 9%; background: #f4fbf7; border-radius: 3cqw; padding: 5cqw 5cqw 5cqw 8cqw; display: flex; flex-direction: column; gap: 3.2cqw; rotate: -4deg; box-shadow: 0 9cqw 14cqw -7cqw rgba(0, 0, 0, .85); }
.mq-sheet::before { content: ""; position: absolute; left: 2.2cqw; top: 5%; bottom: 5%; width: 2.2cqw; background: radial-gradient(circle, #05071a 44%, transparent 48%) 0 0 / 100% 7.4cqw; opacity: .55; }
.mq-head { display: flex; justify-content: space-between; align-items: center; gap: 2cqw; padding-bottom: 2.4cqw; border-bottom: .6cqw solid #0b7a55; font-size: 3cqw; }
.mq-head b { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; color: #0b7a55; } .mq-head span { color: #4b6258; font-weight: 700; }
.mq-q i, .mq-why i { display: block; height: 2.4cqw; border-radius: 2cqw; background: #c9ddd3; }
.mq-q i + i, .mq-why i + i { width: 62%; margin-top: 1.8cqw; }
.mq-opts { display: grid; gap: 2.2cqw; }
.mq-opts li { display: grid; grid-template-columns: 7cqw 1fr 5.4cqw; align-items: center; gap: 2.6cqw; padding: 1.7cqw 2.4cqw; border: .5cqw solid #c9ddd3; border-radius: 2.8cqw; background: #fff; }
.mq-opts b { width: 7cqw; height: 7cqw; border-radius: 50%; border: .6cqw solid #0b7a55; display: grid; place-items: center; font-size: 3.2cqw; color: #0b7a55; }
.mq-opts i { height: 2.2cqw; border-radius: 2cqw; background: #dbe8e1; width: 72%; }
.mq-opts li:nth-child(2) i { width: 48%; } .mq-opts li:nth-child(3) i { width: 86%; } .mq-opts li:nth-child(4) i { width: 60%; }
.mq-opts li.ok { background: #dff5ea; border-color: #0b7a55; animation: mq-pick 6s infinite; }
.mq-opts li.ok b { background: #0b7a55; color: #fff; animation: mq-fill 6s infinite; }
.mq-opts em { width: 5.4cqw; height: 5.4cqw; border-radius: 50%; background: #f2b84b; position: relative; animation: mq-pop 6s infinite; }
.mq-opts em::after { content: ""; position: absolute; left: 34%; top: 16%; width: 26%; height: 48%; border: solid #0b1210; border-width: 0 .8cqw .8cqw 0; rotate: 45deg; }
@keyframes mq-pick { 0%, 22% { background: #fff; border-color: #c9ddd3; } 30%, 100% { background: #dff5ea; border-color: #0b7a55; } }
@keyframes mq-fill { 0%, 22% { background: transparent; color: #0b7a55; } 30%, 100% { background: #0b7a55; color: #fff; } }
@keyframes mq-pop { 0%, 26% { scale: 0; } 34% { scale: 1.25; } 40%, 100% { scale: 1; } }
.mq-why { margin-top: auto; padding: 2.6cqw; border-radius: 2.6cqw; background: #e6f4ec; }
.mq-why small { display: block; font-size: 2.5cqw; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #0b7a55; margin-bottom: 1.6cqw; }
.mq-why i { background: #b9d6c8; }
.mq-clock { position: absolute; right: 0; bottom: 9%; width: 26%; aspect-ratio: 1; border-radius: 50%; background: #0b1210; border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; color: #fff; box-shadow: 0 5cqw 9cqw -4cqw rgba(0, 0, 0, .9); animation: sp-bob 6s ease-in-out infinite; }
.mq-clock span { position: absolute; inset: 9%; border-radius: 50%; background: conic-gradient(#f2b84b 0 40%, rgba(255, 255, 255, .16) 0); -webkit-mask: radial-gradient(farthest-side, transparent 70%, #000 72%); mask: radial-gradient(farthest-side, transparent 70%, #000 72%); }
.mq-clock b { font-family: var(--display); font-size: 4.8cqw; }
.mq-streak { position: absolute; left: 0; bottom: 3%; padding: 1.8cqw 3.6cqw; border-radius: 4cqw; background: #f2b84b; color: #0b1210; display: flex; align-items: baseline; gap: 1.6cqw; rotate: -6deg; box-shadow: 0 5cqw 9cqw -4cqw rgba(0, 0, 0, .9); animation: sp-bob 5s -2s ease-in-out infinite; }
.mq-streak b { font-family: var(--display); font-size: 7cqw; line-height: 1.1; } .mq-streak small { font-size: 2.7cqw; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.mq-pencil { position: absolute; left: 3%; top: 20%; width: 5%; height: 40%; background: linear-gradient(#e7707a 0 8%, #cfd6d3 8% 13%, #f2b84b 13% 80%, #ecdcbb 80% 93%, #0b1210 93%); clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%); rotate: 16deg; transform-origin: 50% 100%; animation: mq-write 1.6s ease-in-out infinite alternate; }
@keyframes mq-write { to { rotate: 22deg; translate: 1.6cqw .8cqw; } }

/* World MCQ Forum India: a deck of flashcards, the top one turns over */
.fc-scene { color: #0b1020; }
/* no blur filter and no 3D shadow here: both made the turning card stutter */
.fc-glow { position: absolute; inset: -2%; border-radius: 50%; background: radial-gradient(closest-side, rgba(217, 119, 6, .5), rgba(217, 119, 6, .16) 55%, transparent 78%); animation: glow-fade 6s ease-in-out infinite; }
@keyframes glow-fade { 50% { opacity: .6; } }
.fc-deck { position: absolute; left: 13%; right: 13%; top: 15%; height: 50%; perspective: 1100px; }
.fc-card { position: absolute; inset: 0; border-radius: 5cqw; }
.fc-card.back2 { background: #7c3a06; transform: translate(-4%, 3%) rotate(-9deg); }
.fc-card.back1 { background: #d97706; transform: translate(4%, 2%) rotate(6deg); box-shadow: 0 8cqw 13cqw -7cqw rgba(0, 0, 0, .85); }
.fc-card.top { transform-style: preserve-3d; will-change: transform; animation: fc-flip 7s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes fc-flip { 0%, 38% { transform: rotateY(0); } 50%, 88% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
.fc-face { position: absolute; inset: 0; border-radius: 5cqw; padding: 6cqw; display: flex; flex-direction: column; justify-content: center; gap: 2.4cqw; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.fc-face.front { background: #fff4e2; border-top: 3.4cqw solid #b45309; }
.fc-face.rear { background: linear-gradient(150deg, #c2600c, #7c2d12); color: #fff4e2; transform: rotateY(180deg); }
.fc-face small { font-size: 2.8cqw; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #b45309; }
.fc-face strong { font-family: var(--display); font-size: 5.8cqw; line-height: 1.15; }
.fc-face span { font-size: 3cqw; color: #7a5a3a; }
.fc-face.rear small, .fc-face.rear span { color: #fcd9a8; } .fc-face.rear strong { font-size: 10cqw; }
.fc-boxes { position: absolute; left: 8%; right: 8%; bottom: 3%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; }
.fc-boxes div { border-radius: 4cqw; padding: 2.6cqw 2cqw; text-align: center; background: rgba(255, 244, 226, .07); border: 1px solid rgba(245, 158, 11, .45); color: #fff4e2; }
.fc-boxes b { display: block; font-family: var(--display); font-size: 6.4cqw; line-height: 1.15; } .fc-boxes small { font-size: 2.6cqw; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fcd9a8; }
.fc-boxes .hot { background: #f59e0b; border-color: #f59e0b; color: #0b1020; } .fc-boxes .hot small { color: #0b1020; }
.fc-chip { will-change: transform; position: absolute; padding: 1.3cqw 3.2cqw; border-radius: 999px; font-size: 2.9cqw; font-weight: 700; color: #fff4e2; background: rgba(180, 83, 9, .4); border: 1px solid rgba(245, 158, 11, .6); animation: float 7s ease-in-out infinite; }
.fc-chip.c1 { left: 1%; top: 5%; } .fc-chip.c2 { right: 2%; top: 2%; animation-delay: -2s; } .fc-chip.c3 { left: 0; top: 69%; animation-delay: -4s; } .fc-chip.c4 { right: 0; top: 70%; animation-delay: -5.5s; }

/* World MCQ Forum Philippines: a mock exam score dial with the eight-ray sun behind it */
.ph-scene { color: #fff; }
.ph-rays { position: absolute; left: 4%; right: 4%; top: -2%; aspect-ratio: 1; border-radius: 50%; background: repeating-conic-gradient(rgba(252, 209, 22, .34) 0 9deg, transparent 9deg 45deg); -webkit-mask: radial-gradient(closest-side, transparent 60%, #000 62%, transparent 99%); mask: radial-gradient(closest-side, transparent 60%, #000 62%, transparent 99%); animation: spin 90s linear infinite; }
.ph-dial { position: absolute; left: 19%; right: 19%; top: 11%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #1c5be0, #0038a8 55%, #02236f); box-shadow: 0 9cqw 14cqw -6cqw rgba(0, 0, 0, .85), inset 0 0 0 1cqw rgba(255, 255, 255, .1); }
.ph-arc { position: absolute; inset: 7%; border-radius: 50%; background: conic-gradient(from 225deg, #fcd116 0 232.2deg, rgba(255, 255, 255, .18) 232.2deg 270deg, transparent 270deg); -webkit-mask: radial-gradient(farthest-side, transparent 81%, #000 83%); mask: radial-gradient(farthest-side, transparent 81%, #000 83%); }
.ph-pass { position: absolute; inset: 7%; rotate: 81deg; }
.ph-pass i { position: absolute; left: 50%; top: -2%; width: 1.3cqw; height: 13%; margin-left: -.65cqw; background: #ce1126; border-radius: 1cqw; box-shadow: 0 0 0 .6cqw #fff; }
.ph-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ph-num strong { font-family: var(--display); font-size: 20cqw; line-height: 1; } .ph-num small { font-size: 2.8cqw; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #c9d6ff; }
.ph-flag { position: absolute; right: -1%; top: 45%; padding: 1.5cqw 3.2cqw; border-radius: 999px; background: #ce1126; color: #fff; font-weight: 800; font-size: 3cqw; box-shadow: 0 4cqw 8cqw -3cqw rgba(0, 0, 0, .9); animation: sp-bob 5s ease-in-out infinite; }
.ph-levels { position: absolute; left: 10%; right: 10%; top: 68%; display: grid; grid-template-columns: 1fr 1fr; padding: 1cqw; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); font-size: 3cqw; font-weight: 700; text-align: center; }
.ph-levels span { padding: 1.5cqw; border-radius: 999px; color: #c9d6ff; } .ph-levels span.on { background: #fcd116; color: #071a52; }
.ph-bars { position: absolute; left: 10%; right: 10%; top: 79%; display: grid; grid-template-columns: 1fr 1fr; gap: 2.2cqw 4cqw; }
.ph-bars small { display: block; font-size: 2.6cqw; color: #c9d6ff; line-height: 1.3; }
.ph-bars i { display: block; height: 1.8cqw; border-radius: 2cqw; background: rgba(255, 255, 255, .15); position: relative; overflow: hidden; margin-top: 1cqw; }
.ph-bars i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #fcd116, #ce1126); animation: mr-fill 2.2s var(--ease) both; }

/* ------------------------------------------------------------------ small motion touches */
/* orange headline words: a slow sheen */
/* runs once: a sheen that never stops repaints the big headline on every frame */
.grad { background-size: 220% 100%; animation: sheen 2.4s ease-out 1 both; }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
.kicker::before { transform-origin: left; animation: kick 3.2s ease-in-out infinite; }
@keyframes kick { 50% { transform: scaleX(1.6); } }
/* "What we do" icons: the line drawing draws itself, the tile bobs and sends out a ring */
.service .ico { position: relative; animation: ico-bob 4.6s ease-in-out infinite; transition: scale .35s var(--ease), rotate .35s var(--ease), background .3s; }
.service .ico::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid rgba(255, 184, 77, .65); pointer-events: none; animation: ico-ring 3.2s ease-out infinite; }
.service .ico svg * { stroke-dasharray: 1; animation: ico-draw 6.5s var(--ease) infinite; }
@keyframes ico-bob { 50% { translate: 0 -6px; } }
@keyframes ico-ring { 0% { scale: 1; opacity: .8; } 70%, 100% { scale: 1.5; opacity: 0; } }
@keyframes ico-draw { 0% { stroke-dashoffset: 1; } 30%, 86% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
.services > :nth-child(2) .ico, .services > :nth-child(2) .ico::after, .services > :nth-child(2) .ico svg *, .feature-grid > :nth-child(2) .ico, .feature-grid > :nth-child(2) .ico svg * { animation-delay: -1.6s; }
.services > :nth-child(3) .ico, .services > :nth-child(3) .ico::after, .services > :nth-child(3) .ico svg *, .feature-grid > :nth-child(3) .ico, .feature-grid > :nth-child(3) .ico svg * { animation-delay: -3.2s; }
.services > :nth-child(4) .ico, .services > :nth-child(4) .ico::after, .services > :nth-child(4) .ico svg * { animation-delay: -4.8s; }
.card:hover .ico { scale: 1.1; rotate: -6deg; background: linear-gradient(140deg, rgba(255, 184, 77, .42), rgba(255, 90, 31, .22)); }
/* app icons: a slow float and a light that passes over them */
.app .icon { position: relative; animation: icon-float 6s ease-in-out infinite; transition: scale .35s var(--ease); }
.app .icon::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .4) 50%, transparent 62%); translate: -130% 0; animation: icon-shine 5.5s ease-in-out infinite; }
@keyframes icon-float { 50% { translate: 0 -8px; rotate: -2.5deg; } }
@keyframes icon-shine { 0%, 62% { translate: -130% 0; } 86%, 100% { translate: 130% 0; } }
.duo > :nth-child(2n) .icon, .duo > :nth-child(2n) .icon::after { animation-delay: -2.8s; }
.duo > :nth-child(3n) .icon, .duo > :nth-child(3n) .icon::after { animation-delay: -1.4s; }
.app:hover .icon { scale: 1.07; animation-play-state: paused; }
/* "Soon" labels breathe; badges pop in; feature cards get a line of light */
.store.soon em { animation: soon 2.6s ease-in-out infinite; }
@keyframes soon { 50% { background: rgba(91, 124, 255, .46); color: #fff; } }
.badge-row .tag { animation: pop .6s var(--ease) both; }
.badge-row .tag:nth-child(2) { animation-delay: .08s; } .badge-row .tag:nth-child(3) { animation-delay: .16s; } .badge-row .tag:nth-child(4) { animation-delay: .24s; } .badge-row .tag:nth-child(5) { animation-delay: .32s; }
@keyframes pop { from { opacity: 0; scale: .6; } }
.feature::after { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--amber), transparent); scale: 0 1; transition: scale .9s var(--ease) .25s; pointer-events: none; }
.feature.in::after { scale: 1 1; }

/* people who ask their device for less motion get a still page */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .line span { transform: none; }
}
