/* MyVibi landing. Palette follows the app's time-of-day themes (no pink). */
:root {
  --p: #6E3BFF; --s: #3D9BFF; --t: #FFB547;           /* evening default, JS swaps by hour */
  --bg: #07061a; --bg2: #0e0b26; --ink: #f4f2ff; --mute: #a9a4c9; --line: rgba(255,255,255,.09);
  --glass: rgba(255,255,255,.055); --glass2: rgba(255,255,255,.1);
  --grad: linear-gradient(100deg, var(--p), var(--s));
  --r: 28px;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: dark;
}
:root[data-pal="morning"] { --p:#DD4F0E; --s:#FFB020; --t:#12B5A6; --bg:#120806; --bg2:#1c0f0a; }
:root[data-pal="day"]     { --p:#0A6FD6; --s:#14C8B4; --t:#FFB020; --bg:#050d1a; --bg2:#0a1628; }
:root[data-pal="evening"] { --p:#6E3BFF; --s:#3D9BFF; --t:#FFB547; --bg:#07061a; --bg2:#0e0b26; }
:root[data-pal="night"]   { --p:#4F46E5; --s:#22D3EE; --t:#A78BFA; --bg:#04050f; --bg2:#0a0c1f; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  background: var(--bg); color: var(--ink); font: 400 17px/1.6 "Inter", system-ui, sans-serif;
  overflow-x: hidden; overflow-x: clip; transition: background .8s var(--ease);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--s); outline-offset: 3px; border-radius: 8px; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- ambient background ---------- */
#stars { position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%; }
.aurora { position: fixed; inset: -20vmax; z-index: -3; filter: blur(80px); opacity: .55; pointer-events: none; }
.aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; mix-blend-mode: screen; animation: drift 26s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: radial-gradient(circle, var(--p), transparent 62%); left: 0; top: 0; }
.aurora i:nth-child(2) { background: radial-gradient(circle, var(--s), transparent 62%); right: 0; top: 20%; animation-duration: 32s; animation-delay: -8s; }
.aurora i:nth-child(3) { background: radial-gradient(circle, var(--t), transparent 64%); left: 25%; bottom: 0; opacity: .45; animation-duration: 38s; }
@keyframes drift { to { transform: translate(8vmax, -6vmax) scale(1.15); } }
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--s) 22%, transparent), transparent 60%); transform: translate(var(--mx, -999px), var(--my, -999px)); transition: transform .25s linear; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(1180px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px 10px 18px;
  border-radius: 999px; background: rgba(10,8,30,.45); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(10,8,30,.75); box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.brand-name b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 6px 20px color-mix(in srgb, var(--p) 50%, transparent); }
.brand-mark svg { width: 24px; fill: none; stroke: #fff; stroke-width: 2.4; }
.brand-mark svg circle:last-child { animation: venn 4s ease-in-out infinite; }
@keyframes venn { 50% { transform: translateX(-2px); } }
.nav-links { display: flex; gap: 28px; font-size: 15px; color: var(--mute); }
.nav-links a { position: relative; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); }
.lang button { padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--mute); transition: .25s; }
.lang button.on { background: var(--grad); color: #fff; }

/* ---------- buttons ---------- */
.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 26px; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 16px; position: relative; overflow: hidden; isolation: isolate;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--p) 45%, transparent); transition: transform .25s var(--ease), box-shadow .25s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px color-mix(in srgb, var(--p) 60%, transparent); }
.btn:hover::before { transform: translateX(120%); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-store { background: rgba(255,255,255,.07); border: 1px solid var(--line); box-shadow: none; padding: 0 22px 0 18px; height: 58px; text-align: left; backdrop-filter: blur(10px); }
.btn-store:hover { background: rgba(255,255,255,.13); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.btn-store svg { width: 24px; fill: currentColor; }
.btn-store span { display: flex; flex-direction: column; line-height: 1.15; font-size: 17px; }
.btn-store small { font-size: 11px; font-weight: 500; color: var(--mute); }

/* ---------- section scaffolding ---------- */
section { position: relative; padding: 120px 24px; }
.section-head { max-width: 860px; margin: 0 auto 64px; text-align: center; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--s); margin-bottom: 16px; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.03em; line-height: 1.02; }
h2 { font-size: clamp(36px, 5.4vw, 68px); font-weight: 800; }
.sub { color: var(--mute); font-size: clamp(17px, 1.6vw, 20px); max-width: 640px; margin: 20px auto 0; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; max-width: 1240px; margin: 0 auto; padding-top: 130px; }
.pill-live { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font-size: 14px; color: var(--mute); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.hero h1 { font-size: clamp(56px, 9vw, 124px); font-weight: 800; margin: 26px 0 24px; letter-spacing: -.045em; }
.hero h1 > span { display: inline-block; }
.hero h1 .grad { background-size: 200% 100%; animation: shimmer 6s ease-in-out infinite; padding-bottom: .08em; }
@keyframes shimmer { 50% { background-position: 100% 0; } }
.hero .lead { font-size: clamp(18px, 1.7vw, 21px); color: var(--mute); max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts { list-style: none; display: flex; gap: 36px; margin-top: 48px; flex-wrap: wrap; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts b { font-family: var(--display); font-size: 30px; font-weight: 800; }
.hero-facts span { font-size: 14px; color: var(--mute); }

.hero-stage { position: relative; height: 720px; display: grid; place-items: center; perspective: 1400px; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--s) 35%, transparent); animation: spin 40s linear infinite; }
.orbit.o1 { width: 520px; height: 520px; }
.orbit.o2 { width: 680px; height: 680px; animation-duration: 60s; animation-direction: reverse; border-color: rgba(255,255,255,.07); }
.orbit span { position: absolute; font-size: 30px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.07); border: 1px solid var(--line); backdrop-filter: blur(6px);
  left: calc(50% - 29px); top: -29px; transform-origin: 29px calc(var(--R) + 29px); animation: counter 40s linear infinite; }
.orbit.o1 span { --R: 260px; } .orbit.o2 span { --R: 340px; animation-duration: 60s; animation-direction: reverse; }
.orbit span:nth-child(2) { rotate: 120deg; } .orbit span:nth-child(3) { rotate: 240deg; }
.orbit.o2 span:nth-child(2) { rotate: 90deg; } .orbit.o2 span:nth-child(3) { rotate: 180deg; } .orbit.o2 span:nth-child(4) { rotate: 270deg; }
@keyframes spin { to { transform: rotate(360deg); } }

.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px; background: rgba(20,16,48,.7); border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 50px rgba(0,0,0,.4); font-size: 14px; z-index: 3; animation: bob 6s ease-in-out infinite; }
.float-card b { display: block; } .float-card small { color: var(--mute); font-size: 13px; }
.fc1 { left: -30px; top: 56%; }
.fc2 { right: -30px; bottom: 9%; animation-delay: -3s; }
.wave { font-size: 30px; display: inline-block; animation: wave 1.6s ease-in-out infinite; transform-origin: 70% 80%; }
@keyframes wave { 0%,60%,100% { transform: rotate(0); } 10%,30% { transform: rotate(18deg); } 20%,40% { transform: rotate(-10deg); } }
@keyframes bob { 50% { transform: translateY(-14px); } }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 20px; translate: -50% 0; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: scrolly 1.8s infinite; }
@keyframes scrolly { to { transform: translateY(14px); opacity: 0; } }

/* ---------- phone + app screens ---------- */
.phone { position: relative; width: 340px; height: 700px; border-radius: 54px; padding: 12px; background: linear-gradient(145deg, #2a2747, #0d0b1f);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14), 0 50px 100px -20px rgba(0,0,0,.7), 0 0 120px -20px color-mix(in srgb, var(--p) 55%, transparent); transform-style: preserve-3d; }
.phone.tilt { transform: rotateY(var(--ry, -12deg)) rotateX(var(--rx, 6deg)); transition: transform .4s var(--ease); z-index: 2; }
.phone-notch { position: absolute; top: 22px; left: 50%; translate: -50% 0; width: 104px; height: 30px; border-radius: 20px; background: #000; z-index: 5; }
.screen { position: absolute; inset: 12px; border-radius: 42px; overflow: hidden; padding: 64px 18px 18px; background: linear-gradient(180deg, #120f2c, #0b0a1c 60%);
  display: flex; flex-direction: column; gap: 14px; font-size: 13px; }
.scr-radar { position: relative; inset: auto; height: 100%; }
.scr-head { display: flex; justify-content: space-between; align-items: flex-start; }
.scr-head small { display: block; color: var(--mute); font-size: 13px; }
.scr-head strong { font-family: var(--display); font-size: 30px; display: block; line-height: 1.1; }
.weather { padding: 10px 14px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); text-align: right; font-size: 18px; }
.weather small { display: block; font-size: 11px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); font-weight: 600; font-size: 12px; }
.live { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; display: inline-block; }

.radar { position: relative; aspect-ratio: 1; border-radius: 30px; overflow: hidden; background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--p) 30%, #15123a), #0d0b24 70%); border: 1px solid var(--line); }
.radar-top { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; justify-content: space-between; z-index: 3; }
.rings { position: absolute; inset: 0; display: grid; place-items: center; }
.rings i { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.13); }
.rings i:nth-child(1) { width: 34%; height: 34%; border-style: dashed; } .rings i:nth-child(2) { width: 62%; height: 62%; } .rings i:nth-child(3) { width: 90%; height: 90%; border-color: color-mix(in srgb, var(--s) 50%, transparent); }
.beam { position: absolute; inset: 5%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 290deg, color-mix(in srgb, var(--s) 10%, transparent) 320deg, color-mix(in srgb, var(--s) 55%, transparent) 360deg); animation: spin 4s linear infinite; }
.me { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 22px; z-index: 2;
  background: linear-gradient(135deg, #14C8B4, #0A8F80); box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 0 30px color-mix(in srgb, var(--s) 70%, transparent); }
.me::before, .me::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--s); animation: ripple 3s ease-out infinite; }
.me::after { animation-delay: 1.5s; }
@keyframes ripple { to { transform: scale(3.2); opacity: 0; } }
.blip { position: absolute; z-index: 2; translate: -50% -50%; display: flex; flex-direction: column; align-items: center; gap: 3px; animation: pop .6s var(--ease) both; }
.blip .av { width: var(--sz, 40px); height: var(--sz, 40px); border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--c); box-shadow: 0 0 0 3px rgba(255,255,255,.85); position: relative; }
.blip .av em { position: absolute; right: -6px; bottom: -4px; font-style: normal; font-size: 13px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #fff; }
.blip small { font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: #fff; color: #1a1640; }
.blip.ping .av { animation: blipPing .9s var(--ease); }
@keyframes blipPing { 40% { transform: scale(1.25); box-shadow: 0 0 0 3px #fff, 0 0 24px var(--s); } }
@keyframes pop { from { scale: 0; opacity: 0; } }

.vibe-toggle { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 26px; background: var(--grad); text-align: left; box-shadow: 0 14px 34px color-mix(in srgb, var(--p) 50%, transparent); transition: filter .3s; }
.vt-ico { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 20px; flex: none; }
.vt-txt { flex: 1; min-width: 0; } .vt-txt b { display: block; font-size: 15px; } .vt-txt small { display: block; font-size: 11px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.switch { width: 48px; height: 28px; border-radius: 999px; background: rgba(255,255,255,.3); position: relative; flex: none; transition: background .3s; }
.switch i { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); }
.vibe-toggle.on .switch { background: #22c55e; } .vibe-toggle.on .switch i { transform: translateX(20px); }
.vibe-toggle.on .vt-ico { animation: zap 1.2s ease-in-out infinite; }
@keyframes zap { 50% { transform: scale(1.15) rotate(-8deg); box-shadow: 0 0 20px #fff; } }

/* ---------- marquee ---------- */
.marquee { padding: 50px 0; overflow: hidden; display: grid; gap: 14px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mq-track { display: flex; gap: 14px; width: max-content; animation: mq 50s linear infinite; }
.mq-track.rev { animation-direction: reverse; animation-duration: 60s; }
.mq-track span { padding: 14px 24px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-size: 18px; font-weight: 600; white-space: nowrap; transition: .3s; }
.mq-track span:hover { background: var(--grad); border-color: transparent; transform: scale(1.06); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- manifest ---------- */
.manifest { max-width: 1100px; margin: 0 auto; padding: 140px 24px; }
.big-quote { font-family: var(--display); font-size: clamp(30px, 4.4vw, 58px); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; }
.big-quote .w { color: rgba(255,255,255,.14); transition: color .4s; }
.big-quote .w.lit { color: var(--ink); }
.big-quote .w.hi.lit { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- story ---------- */
.story-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.story-steps { display: flex; flex-direction: column; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .5s; }
.step.on { opacity: 1; }
.step-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 32px; background: var(--grad); margin-bottom: 26px; box-shadow: 0 14px 30px color-mix(in srgb, var(--p) 45%, transparent); }
.step h3 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 800; margin-bottom: 18px; }
.step p { color: var(--mute); font-size: 19px; max-width: 500px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-size: 14px; font-weight: 600; }
.story-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; gap: 26px; }
.story-stage .screen { opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.story-stage .screen.on { opacity: 1; transform: none; pointer-events: auto; }
.story-dots { display: flex; flex-direction: column; gap: 10px; }
.story-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.2); transition: .3s; }
.story-dots i.on { height: 28px; border-radius: 6px; background: var(--grad); }
.app-title { display: flex; align-items: center; justify-content: space-between; font-family: var(--display); font-size: 22px; }
.app-title small { font-family: "Inter"; color: var(--mute); font-size: 13px; }
.badge-live { font: 700 11px "Inter"; color: #22c55e; padding: 4px 10px; border-radius: 999px; background: rgba(34,197,94,.14); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .5; } }
.plus { width: 34px; height: 34px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; font-size: 18px; }
.mix { padding: 14px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); }
.mix-bar { display: flex; height: 10px; border-radius: 6px; overflow: hidden; gap: 3px; }
.mix-bar i { width: var(--w); background: var(--c); border-radius: 4px; }
.mix-pills { display: flex; gap: 6px; margin-top: 12px; }
.mix-pills span { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.08); font-weight: 600; }

.match-card { position: relative; border-radius: 28px; padding: 20px; text-align: center; background: linear-gradient(140deg, var(--p), var(--s)); overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.match-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(255,255,255,.35), transparent 50%); pointer-events: none; }
.kick { letter-spacing: .14em; font-weight: 700; opacity: .85; font-size: 11px; }
.match-card strong { font-family: var(--display); font-size: 26px; }
.venn { position: relative; width: 190px; height: 110px; margin: 8px 0; }
.vc { position: absolute; top: 5px; width: 100px; height: 100px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 800; border: 2px solid rgba(255,255,255,.8); }
.vc.l { left: 0; background: rgba(20,200,180,.45); padding-right: 30px; animation: vl 3s ease-in-out infinite; }
.vc.r { right: 0; background: rgba(255,176,32,.45); padding-left: 30px; animation: vr 3s ease-in-out infinite; }
@keyframes vl { 50% { transform: translateX(8px); } } @keyframes vr { 50% { transform: translateX(-8px); } }
.vm { position: absolute; left: 50%; top: 50%; translate: -50% -50%; font-size: 20px; line-height: 1.3; z-index: 2; }
.mini-cta { margin-top: 10px; padding: 9px 18px; border-radius: 999px; background: #fff; color: #1a1640; font-weight: 700; font-size: 13px; position: relative; z-index: 2; }
.people-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pcard { padding: 14px 6px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pcard small { color: var(--t); font-weight: 700; }
.ava { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; font-size: 17px; }
.a1 { background: linear-gradient(135deg, #7A5CFF, #4F46E5); } .a2 { background: linear-gradient(135deg, #FF8A3D, #DD4F0E); }
.a3 { background: linear-gradient(135deg, #3D9BFF, #0A6FD6); } .a4 { background: linear-gradient(135deg, #14C8B4, #0A8F80); }
.ava.tile { border-radius: 14px; font-size: 20px; } .ava.y { background: linear-gradient(135deg, #FFC24B, #F59E0B); } .ava.b { background: linear-gradient(135deg, #5B8CFF, #4F46E5); }

.room { display: flex; gap: 12px; padding: 14px; border-radius: 22px; background: linear-gradient(135deg, rgba(34,197,94,.22), rgba(34,197,94,.06)); border: 1px solid rgba(34,197,94,.3); }
.room.r2 { background: linear-gradient(135deg, color-mix(in srgb, var(--p) 30%, transparent), transparent); border-color: color-mix(in srgb, var(--p) 40%, transparent); }
.r-ico { width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.12); display: grid; place-items: center; font-size: 26px; flex: none; }
.room b { font-size: 15px; display: block; } .room small { color: var(--mute); }
.r-meta { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; font-size: 12px; }
.faces { display: flex; } .faces i, .bt-faces i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 800; background: var(--p); border: 2px solid #120f2c; margin-left: -6px; }
.faces i:first-child { margin-left: 0; } .faces i:nth-child(2) { background: var(--s); } .faces i:nth-child(3) { background: #DD4F0E; }
.pub { padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.12); }
.live-tag { color: #22c55e; }
.room-chat { flex: 1; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid var(--line); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.announce { padding: 8px 10px; border-radius: 12px; background: color-mix(in srgb, var(--t) 18%, transparent); color: var(--t); font-weight: 600; font-size: 12px; }
.bubble { align-self: flex-start; padding: 8px 12px; border-radius: 16px 16px 16px 4px; background: rgba(255,255,255,.09); max-width: 85%; }
.bubble.me-b { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--grad); }
.admin-row { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 14px; background: rgba(255,255,255,.06); font-size: 12px; }
.admin-row span:first-child { flex: 1; }
.admin-row .ok, .admin-row .no { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; }
.admin-row .ok { background: #22c55e; } .admin-row .no { background: rgba(255,255,255,.12); }

.s-map { padding: 0; }
.map { position: absolute; inset: 0; background: #1b2033; overflow: hidden; }
.map::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 34px 34px; }
.road { position: absolute; background: #2a3150; } .road.h { left: 0; right: 0; height: 16px; } .road.v { top: 0; bottom: 0; width: 16px; } .road.thin { height: 8px; }
.park { position: absolute; left: 6%; top: 58%; width: 36%; height: 18%; border-radius: 30px; background: #1f3a2c; }
.map-search { position: absolute; top: 62px; left: 16px; right: 16px; padding: 11px 14px; border-radius: 999px; background: rgba(15,13,35,.85); backdrop-filter: blur(10px); color: var(--mute); z-index: 3; border: 1px solid var(--line); }
.layers { position: absolute; top: 110px; left: 16px; display: flex; gap: 6px; z-index: 3; }
.layers span { padding: 5px 10px; border-radius: 999px; background: rgba(15,13,35,.85); font-weight: 700; font-size: 12px; border: 1px solid var(--line); }
.pin { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50% 50% 50% 4px; rotate: -45deg; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff, 0 10px 20px rgba(0,0,0,.4); animation: drop .7s var(--ease) both; }
.pin span { rotate: 45deg; font-size: 22px; } .pin em { position: absolute; rotate: 45deg; top: -6px; right: -36px; font: 700 11px "Inter"; padding: 2px 8px; border-radius: 999px; background: #fff; color: #1f3a8a; white-space: nowrap; }
.p-now { background: #F4511E; } .p-now em { background: #16a34a; color: #fff; }
.p-now::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid #22c55e; animation: pinRing 2.2s ease-out infinite; }
@keyframes pinRing { to { transform: scale(1.6); opacity: 0; } }
.p-ev { background: #2563eb; animation-delay: .15s; } .p-room { background: #7c3aed; border-radius: 16px 16px 16px 4px; animation-delay: .3s; } .p-room em { color: #6d28d9; }
@keyframes drop { from { transform: translateY(-60px); opacity: 0; } }
.cluster { position: absolute; display: flex; align-items: center; padding: 4px 12px 4px 4px; border-radius: 999px; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.4); z-index: 2; }
.cluster span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-right: -8px; border: 2px solid #fff; background: #7c3aed; font-size: 14px; }
.cluster span:nth-child(2) { background: #ca8a04; } .cluster span:nth-child(3) { background: #ea580c; }
.cluster b { color: #1a1640; margin-left: 14px; font-size: 16px; }
.puck { position: absolute; left: 44%; top: 46%; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: linear-gradient(135deg, #14C8B4, #0A8F80); box-shadow: 0 0 0 4px #fff, 0 0 0 14px color-mix(in srgb, var(--s) 30%, transparent); z-index: 2; }
.map-card { position: absolute; left: 14px; right: 14px; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 24px; background: rgba(15,13,35,.92); border: 1.5px solid #F4511E; z-index: 3; animation: slideUp .7s .4s var(--ease) both; }
.mc-ico { width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, #FF8A3D, #F4511E); display: grid; place-items: center; font-size: 26px; flex: none; }
.map-card div { flex: 1; } .map-card b { display: block; font-size: 15px; } .map-card small { color: var(--mute); }
.now-chip { font-style: normal; padding: 2px 8px; border-radius: 999px; background: #16a34a; color: #fff; font-weight: 700; margin-right: 4px; }
.go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(244,81,30,.2); color: #F4511E; font-weight: 800; }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } }

.ticket { position: relative; display: flex; border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.stub { width: 72px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--grad); padding: 12px 0; font-weight: 700; position: relative; }
.stub::after { content: ""; position: absolute; right: -1px; top: 6px; bottom: 6px; border-right: 2px dashed rgba(0,0,0,.35); }
.stub b { font-family: var(--display); font-size: 28px; line-height: 1; } .stub small { font-size: 10px; letter-spacing: .1em; opacity: .9; }
.t2 .stub { background: linear-gradient(135deg, #F4511E, #FFB020); } .t3 .stub { background: linear-gradient(135deg, #14C8B4, #0A6FD6); }
.t-body { padding: 14px; display: flex; flex-direction: column; gap: 3px; } .t-body b { font-size: 15px; } .t-body small { color: var(--mute); }
.off { align-self: flex-start; padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--s) 22%, transparent); color: var(--s); font-weight: 700; font-size: 11px; margin-top: 4px; }
.seats { color: var(--t); font-weight: 700; font-size: 12px; margin-top: 4px; } .wl { color: #22c55e; font-weight: 700; font-size: 12px; margin-top: 4px; }

.chat-hero { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 24px; background: var(--grad); }
.ch-ico { position: relative; width: 50px; height: 50px; border-radius: 16px; background: #fff; display: grid; place-items: center; font-size: 24px; flex: none; }
.ch-ico i { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--s); font: 800 12px "Inter"; font-style: normal; display: grid; place-items: center; color: #fff; border: 2px solid #fff; }
.chat-hero small { font-size: 10px; letter-spacing: .14em; font-weight: 700; opacity: .85; } .chat-hero b { display: block; font-size: 16px; line-height: 1.2; }
.countdown { padding: 10px 14px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); color: var(--mute); }
.countdown b { color: var(--ink); font-variant-numeric: tabular-nums; }
.chat-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 20px; background: color-mix(in srgb, var(--p) 12%, rgba(255,255,255,.04)); border: 1px solid var(--line); }
.chat-row div { flex: 1; min-width: 0; } .chat-row b { display: block; } .chat-row small { display: block; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-row .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 800 11px "Inter"; font-style: normal; background: var(--grad); }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.08); }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); animation: typing 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 30% { transform: translateY(-5px); background: var(--ink); } }

.phone.mini { display: none; }

/* ---------- venn playground ---------- */
.venn-wrap { max-width: 980px; margin: 0 auto; display: grid; justify-items: center; gap: 36px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 820px; }
.chips button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-weight: 600; transition: .25s var(--ease); }
.chips button:hover { transform: translateY(-2px); background: var(--glass2); }
.chips button.on { background: var(--grad); border-color: transparent; box-shadow: 0 8px 22px color-mix(in srgb, var(--p) 45%, transparent); }
.venn-big { position: relative; width: min(640px, 100%); aspect-ratio: 16/12.4; }
.circle { position: absolute; top: 0; width: 60%; aspect-ratio: 1; border-radius: 50%; display: flex; align-items: flex-start; padding-top: 14%; border: 2px solid; transition: transform .8s var(--ease); }
.circle.you { left: 6%; justify-content: flex-start; padding-left: 13%; border-color: var(--s); background: radial-gradient(circle at 30% 40%, color-mix(in srgb, var(--s) 30%, transparent), transparent 70%); }
.circle.them { right: 6%; justify-content: flex-end; padding-right: 13%; border-color: var(--t); background: radial-gradient(circle at 70% 40%, color-mix(in srgb, var(--t) 30%, transparent), transparent 70%); }
.venn-big.close .circle.you { transform: translateX(var(--shift, 0)); } .venn-big.close .circle.them { transform: translateX(calc(-1 * var(--shift, 0))); }
.who { font-family: var(--display); font-weight: 700; font-size: 20px; }
.overlap { position: absolute; left: 50%; top: 37%; translate: -50% -50%; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: 22%; z-index: 2; }
.overlap span { font-size: clamp(20px, 4vw, 32px); animation: pop .5s var(--ease) both; filter: drop-shadow(0 6px 10px rgba(0,0,0,.4)); }
.score { position: absolute; left: 50%; bottom: 0; translate: -50% 0; text-align: center; font-family: var(--display); font-size: 40px; font-weight: 800; }
.score b { font-size: 64px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.score small { display: block; font: 500 14px "Inter"; color: var(--mute); }
.venn-msg { color: var(--mute); text-align: center; min-height: 1.6em; }
.how { list-style: none; max-width: 1180px; margin: 100px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.how li { padding: 28px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .4s var(--ease), border-color .3s; }
.how li:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--s) 50%, transparent); }
.how li > span { font-family: var(--display); font-size: 84px; font-weight: 800; line-height: 1; position: absolute; right: 14px; top: 4px; opacity: .1; }
.how h4 { font-size: 24px; margin-bottom: 10px; } .how p { color: var(--mute); font-size: 15px; }

/* ---------- daytime ---------- */
.palettes { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.palettes button { padding: 16px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); text-align: left; display: flex; flex-direction: column; gap: 4px; transition: .3s var(--ease); }
.palettes button i { height: 120px; border-radius: 18px; background: linear-gradient(135deg, var(--a), var(--b)); margin-bottom: 10px; position: relative; overflow: hidden; }
.palettes button i::after { content: ""; position: absolute; width: 50px; height: 50px; border-radius: 50%; right: 16px; top: 16px; background: rgba(255,255,255,.8); box-shadow: 0 0 40px #fff; }
.palettes button[data-pal="night"] i::after, .palettes button[data-pal="evening"] i::after { box-shadow: inset -14px -6px 0 0 rgba(0,0,0,.35); background: #fff; }
.palettes button b { font-family: var(--display); font-size: 19px; } .palettes button small { color: var(--mute); }
.palettes button:hover { transform: translateY(-4px); }
.palettes button.on { border-color: var(--s); box-shadow: 0 0 0 1px var(--s), 0 20px 40px color-mix(in srgb, var(--p) 30%, transparent); }

/* ---------- business ---------- */
.biz-card { max-width: 1180px; margin: 0 auto; border-radius: 40px; padding: 64px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--p) 22%, var(--bg2)), var(--bg2) 60%); border: 1px solid var(--line); position: relative; overflow: hidden; }
.biz-card::before { content: ""; position: absolute; width: 500px; height: 500px; right: -150px; top: -150px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--s) 35%, transparent), transparent 70%); }
.biz-copy { position: relative; } .biz-copy h2 { font-size: clamp(32px, 4vw, 52px); } .biz-copy .sub { margin-left: 0; }
.biz-list { list-style: none; display: grid; gap: 18px; margin: 34px 0 36px; }
.biz-list li { display: flex; gap: 14px; } .biz-list li > span { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--glass2); flex: none; font-size: 18px; }
.biz-list b { display: block; } .biz-list small { color: var(--mute); font-size: 15px; }
.biz-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.biz-ticket { width: min(360px, 100%); padding: 26px; border-radius: 28px; background: rgba(10,8,30,.7); border: 1px solid var(--line); backdrop-filter: blur(16px); box-shadow: 0 40px 80px rgba(0,0,0,.45); display: flex; flex-direction: column; gap: 8px; transform: rotate(-4deg); transition: transform .6s var(--ease); }
.biz-ticket:hover { transform: rotate(0) scale(1.03); }
.biz-ticket > b { font-family: var(--display); font-size: 26px; line-height: 1.1; } .biz-ticket small { color: var(--mute); }
.bt-top { display: flex; justify-content: space-between; } .bt-live { color: #22c55e; font-weight: 700; font-size: 12px; animation: blink 1.6s infinite; }
.bt-bar { height: 10px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; margin-top: 10px; }
.bt-bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--grad); transition: width 1.8s var(--ease); }
.biz-ticket.in .bt-bar i { width: 95%; }
.bt-stats { display: flex; justify-content: space-between; font-size: 14px; color: var(--mute); } .bt-stats b { color: var(--ink); font-size: 18px; }
.bt-faces { display: flex; margin-top: 8px; } .bt-faces i { width: 34px; height: 34px; font-size: 12px; margin-left: -10px; border-color: #120f2c; }
.bt-faces i:first-child { margin-left: 0; } .bt-faces i:nth-child(2) { background: var(--s); } .bt-faces i:nth-child(3) { background: #DD4F0E; } .bt-faces i:nth-child(4) { background: #14C8B4; } .bt-faces i:nth-child(5) { background: rgba(255,255,255,.15); width: auto; padding: 0 10px; border-radius: 999px; }
.biz-bubble { position: absolute; right: 0; bottom: 30px; padding: 12px 18px; border-radius: 18px 18px 4px 18px; background: var(--grad); font-weight: 600; font-size: 14px; animation: bob 5s ease-in-out infinite; }

/* ---------- safety bento ---------- */
.bento { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bt { padding: 30px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .4s var(--ease); }
.bt::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--x, 50%) var(--y, 50%), color-mix(in srgb, var(--s) 16%, transparent), transparent 40%); opacity: 0; transition: opacity .3s; }
.bt:hover::before { opacity: 1; }
.bt:hover { transform: translateY(-4px); }
.b-big { grid-row: span 2; background: linear-gradient(160deg, color-mix(in srgb, var(--p) 35%, transparent), var(--glass)); display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; }
.b-big .bi { font-size: 80px; position: absolute; top: 24px; left: 26px; }
.b-wide { grid-column: span 3; }
.bi { font-size: 34px; display: block; margin-bottom: 14px; }
.bt h4 { font-size: 22px; margin-bottom: 8px; } .bt p { color: var(--mute); font-size: 15px; }

/* ---------- languages ---------- */
.langs { text-align: center; padding: 100px 24px; }
.hello { font-family: var(--display); font-size: clamp(64px, 12vw, 170px); font-weight: 800; letter-spacing: -.05em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transition: opacity .35s, transform .35s var(--ease); }
.hello.out { opacity: 0; transform: translateY(20px) scale(.96); }

/* ---------- download ---------- */
.dl-card { position: relative; max-width: 1000px; margin: 0 auto; border-radius: 44px; padding: 90px 40px; text-align: center; overflow: hidden; background: linear-gradient(135deg, var(--p), var(--s)); }
.dl-card h2 { position: relative; } .dl-card h2 .grad { color: #fff; background: none; -webkit-text-fill-color: #fff; text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 8px; text-decoration-color: rgba(255,255,255,.5); }
.dl-card .sub { color: rgba(255,255,255,.85); position: relative; }
.dl-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.dl-rings i { position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); animation: ripple 6s linear infinite; }
.dl-rings i:nth-child(2) { animation-delay: 2s; } .dl-rings i:nth-child(3) { animation-delay: 4s; }
.notify { position: relative; display: flex; gap: 10px; justify-content: center; margin: 36px auto 0; max-width: 520px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.notify input { flex: 1; min-width: 0; background: none; border: 0; padding: 0 20px; color: #fff; font: inherit; outline: none; }
.notify input::placeholder { color: rgba(255,255,255,.7); }
.notify .btn { background: #fff; color: #17123a; box-shadow: none; }
.notify-ok { position: relative; margin-top: 20px; font-weight: 600; }

/* ---------- faq + footer ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq .section-head { margin-bottom: 40px; }
details { border-bottom: 1px solid var(--line); padding: 22px 4px; }
summary { cursor: pointer; list-style: none; font-family: var(--display); font-size: 22px; font-weight: 700; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 28px; line-height: 1; color: var(--s); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--mute); margin-top: 12px; max-width: 700px; }
.foot { max-width: 1180px; margin: 0 auto; padding: 60px 24px 50px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; border-top: 1px solid var(--line); color: var(--mute); font-size: 15px; }
.foot p { flex: 1; } .foot nav { display: flex; flex-wrap: wrap; gap: 12px 24px; } .foot nav a:hover { color: var(--ink); }

/* ---------- cookie consent (consent.js) ---------- */
.linkish { color: inherit; font: inherit; padding: 0; text-decoration: none; cursor: pointer; }
.linkish:hover { color: var(--ink); }

.consent { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 80; width: min(860px, calc(100% - 24px)); translate: -50% 0;
  display: flex; align-items: center; gap: 18px; padding: 16px 16px 16px 20px; border-radius: 26px; background: rgba(14,11,38,.88); border: 1px solid var(--line);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 24px 60px rgba(0,0,0,.5); animation: slideUp .6s var(--ease); }
.consent .c-ico { font-size: 30px; flex: none; animation: bob 4s ease-in-out infinite; }
.consent p { flex: 1; font-size: 14px; color: var(--mute); line-height: 1.5; }
.consent p b { display: block; color: var(--ink); font-size: 15px; }
.consent p a { color: var(--s); text-decoration: underline; }
.consent .c-act { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.btn-ghost { --h: 40px; height: var(--h); padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: 14px; background: rgba(255,255,255,.08); border: 1px solid var(--line); transition: background .2s; }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.consent-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(4,3,15,.6); backdrop-filter: blur(6px); padding: 16px; }
.consent-modal .card { width: min(440px, 100%); padding: 26px; border-radius: 28px; background: var(--bg2); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.6); display: grid; gap: 14px; animation: panelIn .4s var(--ease); }
.consent-modal h3 { font-size: 24px; }
.opt { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.opt div { flex: 1; } .opt b { display: block; } .opt small { color: var(--mute); font-size: 13px; }
.tgl { appearance: none; -webkit-appearance: none; width: 48px; height: 28px; border-radius: 999px; background: rgba(255,255,255,.18); position: relative; cursor: pointer; flex: none; transition: background .3s; }
.tgl::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.tgl:checked { background: #22c55e; } .tgl:checked::after { transform: translateX(20px); }
.tgl:disabled { opacity: .6; cursor: default; }
.consent-modal .row { display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px; }


/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 120px; }
  .hero .lead { margin: 0 auto; } .cta-row, .hero-facts { justify-content: center; }
  .hero-stage { height: 660px; }
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-stage { display: none; }
  .step { min-height: 0; padding: 40px 0 70px; opacity: 1; text-align: center; align-items: center; }
  .step .tags { justify-content: center; }
  .phone.mini { display: block; zoom: .86; margin: 40px auto 0; }
  .phone.mini .screen { opacity: 1; transform: none; text-align: left; }
  .how { grid-template-columns: 1fr 1fr; }
  .palettes { grid-template-columns: 1fr 1fr; }
  .biz-card { grid-template-columns: 1fr; padding: 40px 28px; }
  .bento { grid-template-columns: 1fr 1fr; } .b-big { grid-row: auto; grid-column: span 2; min-height: 240px; } .b-wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 80px 16px; }
  .nav { padding: 8px 8px 8px 14px; } .brand { font-size: 19px; } .nav .btn-sm { display: none; }
  .hero-stage { height: 560px; } .hero-stage .phone { transform: scale(.74) rotateY(var(--ry,-8deg)) rotateX(var(--rx,4deg)); }
  .orbit.o1 { width: 380px; height: 380px; } .orbit.o1 span { --R: 190px; } .orbit.o2 { display: none; }
  .fc1 { left: 0; top: 4%; } .fc2 { right: 0; bottom: -2%; }
  .hero-facts { gap: 22px; }
  .how, .bento { grid-template-columns: 1fr; }
  .palettes { gap: 10px; } .palettes button { padding: 10px; border-radius: 22px; } .palettes button i { height: 80px; } .palettes button i::after { width: 34px; height: 34px; right: 10px; top: 10px; }
  .venn-big { aspect-ratio: 16/14.5; } .score b { font-size: 48px; } .score { font-size: 30px; } .who { font-size: 16px; } .b-big, .b-wide { grid-column: auto; }
  .notify { flex-direction: column; border-radius: 26px; } .notify input { height: 48px; }
  .dl-card { padding: 64px 20px; border-radius: 32px; }
  .biz-bubble { right: 10px; bottom: 0; }
  .consent { flex-direction: column; align-items: stretch; text-align: left; gap: 12px; }
  .consent .c-ico { display: none; }
  .consent .c-act { display: grid; grid-template-columns: 1fr 1fr; } .consent .c-act .btn { grid-column: 1 / -1; grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } }

/* ---------- 3D layer (fx3d.js) ---------- */
.globe3d { position: absolute; inset: -4% -16% -4% -6%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease) .2s; }
.globe3d.has-3d { opacity: 1; }
.globe3d { -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 100%); mask-image: radial-gradient(closest-side, #000 80%, transparent 100%); }
.globe3d canvas, .rings3d canvas { width: 100% !important; height: 100% !important; display: block; }
.hero-stage:has(.globe3d.has-3d) .orbit { display: none; }
.hero-stage .phone { z-index: 2; }
.rings3d { position: relative; width: min(340px, 80%); height: 220px; margin: -40px auto 0; }
.rings3d:not(.has-3d) { display: none; }

html .tilt3d.tilt3d { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease), border-color .3s, background .3s; transform-style: preserve-3d; will-change: transform; }
html .tilt3d.tilt3d:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(10px); transition: transform .12s linear, border-color .3s, background .3s; }
.tilt3d::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.14), transparent 45%); }
.tilt3d:hover::after { opacity: 1; }
.tilt3d { position: relative; }
.how li > *, .bt > * { transform: translateZ(28px); }
.how li > span { transform: translateZ(10px); }

/* ---------- polish ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px var(--s); }
body::after { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { transform: scaleX(1); }

/* hero entrance */
.hero h1 > span, .hero h1 > br + span { animation: rise 1s var(--ease) both; }
.hero h1 > span:last-child { animation-delay: .15s; }
.pill-live { animation: rise .9s var(--ease) both; }
.hero .lead { animation: rise 1s .3s var(--ease) both; }
.cta-row { animation: rise 1s .42s var(--ease) both; }
.hero-facts { animation: rise 1s .54s var(--ease) both; }
.hero-stage .phone.tilt { animation: phoneIn 1.4s .2s var(--ease) both; }
.float-card.fc1 { animation: cardIn .9s 1s var(--ease) both, bob 6s 1.9s ease-in-out infinite; }
.float-card.fc2 { animation: cardIn .9s 1.2s var(--ease) both, bob 6s 2.1s ease-in-out infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); filter: blur(6px); } }
@keyframes phoneIn { from { opacity: 0; transform: translateY(120px) rotateY(-40deg) rotateX(20deg); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(.9); } }

/* glossy spheres in the Venn */
.circle { box-shadow: inset -30px -40px 80px rgba(0,0,0,.35), inset 20px 20px 60px rgba(255,255,255,.08), 0 30px 60px rgba(0,0,0,.35); }
.circle::before { content: ""; position: absolute; width: 34%; height: 22%; left: 20%; top: 9%; border-radius: 50%; background: radial-gradient(ellipse, rgba(255,255,255,.35), transparent 70%); transform: rotate(-25deg); pointer-events: none; }
.venn-big { perspective: 1000px; }
.venn-big .circle { transform-style: preserve-3d; }

/* giant footer wordmark */
.wordmark { font-family: var(--display); font-weight: 800; letter-spacing: -.06em; line-height: .8; text-align: center; font-size: clamp(90px, 22vw, 340px);
  color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--s) 45%, transparent); padding: 60px 0 0; user-select: none; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--p) 40%, transparent), transparent 75%); -webkit-background-clip: text; background-clip: text; }

@media (max-width: 600px) {
  .globe3d { inset: 0 -30%; }
  .rings3d { height: 170px; margin-top: -30px; }
}

.hero-copy { position: relative; z-index: 3; }
