/* Versed — shared site styles. One company, one dark identity (shared with Versed Play). */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0E0D17; --bg2: #16152A; --card: #1E1C33; --card2: #262445; --line: #2E2B4A;
  --text: #F4F2FF; --muted: #9A97B8; --dim: #5E5B7E;
  --lime: #C6FF3D; --pink: #FF4FA3; --cyan: #3DF2FF; --amber: #FFB020; --violet: #8B7BFF; --green: #3DFF9A; --teal: #4ECDC4; --ink: #0E0D17;
  --pop: 4px 4px 0 var(--pink); --ease: cubic-bezier(.16, 1, .3, 1);
  --display: 'Unbounded', 'Space Grotesk', system-ui, sans-serif;
  --body: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --wrap: 1120px; --pad: clamp(1rem, 4vw, 2.5rem); --s: 4;
  color-scheme: dark;
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body); background: var(--bg); color: var(--text); line-height: 1.5; min-height: 100dvh;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image: radial-gradient(60% 40% at 80% -10%, rgba(139,123,255,.25), transparent 60%), radial-gradient(50% 35% at 0% 100%, rgba(198,255,61,.10), transparent 60%);
}
a { color: var(--cyan); }
h1, h2, h3, .display { font-family: var(--display); letter-spacing: -.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--lime); color: var(--ink); padding: .6rem 1rem; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(14,13,23,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { max-width: var(--wrap); margin: 0 auto; padding: .7rem var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 800; font-size: .95rem; letter-spacing: .03em; color: var(--text); text-decoration: none; }
.brand .logo { width: 32px; height: 32px; border-radius: 9px; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 1.05rem; box-shadow: 2px 2px 0 var(--pink); flex: none; }
.brand .sub { color: var(--lime); }
.nav-links { display: flex; gap: .15rem; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .9rem; padding: .45rem .65rem; border-radius: 10px; transition: color .15s, background .15s; display: inline-flex; align-items: center; gap: .4rem; }
.nav-links a:hover { color: var(--text); background: var(--card); }
.nav-links a[aria-current="page"] { color: var(--text); }
@media (max-width: 520px) { .nav-in { padding: .55rem var(--pad); } .brand { font-size: .85rem; } .brand .logo { width: 28px; height: 28px; font-size: .95rem; } .nav-links { gap: 0; flex-wrap: nowrap; } .nav-links a { font-size: .82rem; padding: .4rem .4rem; gap: .3rem; } }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--lime)); flex: none; }

/* ---- buttons / pills ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 14px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .12s var(--ease), box-shadow .12s, background .15s; white-space: nowrap; cursor: pointer; font: inherit; font-weight: 700; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--pink); }
.btn-primary { background: var(--lime); color: var(--ink); border-color: var(--lime); box-shadow: var(--pop); }
.btn-primary:hover { background: #d6ff6b; }
.btn-cyan { background: var(--cyan); color: var(--ink); border-color: var(--cyan); box-shadow: 4px 4px 0 var(--violet); }
.btn-cyan:hover { background: #7cf6ff; }
.btn-cyan:active { box-shadow: 1px 1px 0 var(--violet); }
.btn-amber { background: var(--amber); color: var(--ink); border-color: var(--amber); box-shadow: 4px 4px 0 var(--pink); }
.btn-amber:hover { background: #ffc44d; }
.btn-ghost { background: var(--card); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--violet); }
.btn-ghost:active { box-shadow: none; }
.btn-lg { padding: 1.05rem 1.8rem; font-size: 1.1rem; }
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .8rem; border-radius: 999px; font-size: .74rem; font-weight: 700; background: rgba(198,255,61,.15); color: var(--lime); letter-spacing: .06em; text-transform: uppercase; }
.pill-pink { background: rgba(255,79,163,.15); color: var(--pink); }
.pill-cyan { background: rgba(61,242,255,.15); color: var(--cyan); }
.eyebrow { font-family: var(--display); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c, var(--lime)); margin-bottom: .6rem; }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1.1; letter-spacing: -.01em; margin-bottom: .5rem; }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 56ch; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6rem) var(--pad) 0; text-align: center; }
.hero h1 { font-weight: 800; font-size: clamp(2.3rem, 7.5vw, 5.4rem); line-height: 1.02; letter-spacing: -.025em; margin: 1.2rem auto .9rem; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .sub { font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--muted); max-width: 46ch; margin: 0 auto 1.6rem; }
.hero-cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---- pixel pets ---- */
.pet { width: calc(32px * var(--s)); height: calc(32px * var(--s)); background-repeat: no-repeat; background-size: auto 100%; image-rendering: pixelated; image-rendering: crisp-edges; flex: none; animation-name: idle; animation-iteration-count: infinite; }
@keyframes idle { to { background-position-x: calc(-1 * var(--w) * var(--s)); } }
.p-cat-pink   { background-image: url(/pets/cat-pink.png);    --w: 448px; animation-timing-function: steps(14); animation-duration: 1.8s; }
.p-cat-black  { background-image: url(/pets/cat-black.png);   --w: 448px; animation-timing-function: steps(14); animation-duration: 2s;   animation-delay: -.7s; }
.p-cat-siamese{ background-image: url(/pets/cat-siamese.png); --w: 448px; animation-timing-function: steps(14); animation-duration: 1.9s; animation-delay: -1.1s; }
.p-cat-calico { background-image: url(/pets/cat-calico.png);  --w: 448px; animation-timing-function: steps(14); animation-duration: 2.1s; animation-delay: -.4s; }
.p-cat-cream  { background-image: url(/pets/cat-cream.png);   --w: 320px; animation-timing-function: steps(10); animation-duration: 1.4s; animation-delay: -.9s; }
.p-bunny-brown{ background-image: url(/pets/bunny-brown.png); --w: 384px; animation-timing-function: steps(12); animation-duration: 1.6s; animation-delay: -.3s; }
.p-bunny-grey { background-image: url(/pets/bunny-grey.png);  --w: 384px; animation-timing-function: steps(12); animation-duration: 1.7s; animation-delay: -1.2s; }
.p-fox        { background-image: url(/pets/fox.png);         --w: 128px; animation-timing-function: steps(4);  animation-duration: 1.2s; animation-delay: -.5s; }
.p-turtle     { background-image: url(/pets/turtle.png);      --w: 256px; animation-timing-function: steps(8);  animation-duration: 2.4s; animation-delay: -1.5s; }
.shelf { position: relative; margin-top: clamp(2rem, 5vw, 3.5rem); }
.pets { display: flex; justify-content: center; align-items: flex-end; gap: clamp(.25rem, 2vw, 1.4rem); height: calc(32px * var(--s)); overflow: hidden; }
.floor { height: 6px; background: var(--lime); box-shadow: 0 6px 0 var(--pink); margin: 0 calc(-1 * var(--pad)); }
@media (max-width: 1100px) { .pets .pet:nth-child(n+8) { display: none; } }
@media (max-width: 700px)  { .shelf { --s: 3; } .pets .pet:nth-child(n+6) { display: none; } }
@media (max-width: 420px)  { .pets .pet:nth-child(n+4) { display: none; } }

/* ---- "do something right now" chips ---- */
.now { padding: 1.25rem var(--pad); background: var(--bg2); border-bottom: 1px solid var(--line); }
.now-in { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.now-label { font-family: var(--display); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); flex: none; }
.chips { display: flex; gap: .6rem; overflow-x: auto; padding: .25rem 0 .35rem; scrollbar-width: none; flex: 1; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1rem .55rem .6rem; border-radius: 999px; border: 2px solid var(--line); background: var(--card); color: var(--text); font-weight: 700; font-size: .92rem; text-decoration: none; transition: transform .12s var(--ease), border-color .15s, box-shadow .12s; }
.chip:hover { transform: translate(-2px, -2px); border-color: var(--c, var(--lime)); box-shadow: 4px 4px 0 var(--c, var(--lime)); }
.chip .ic { width: 26px; height: 26px; border-radius: 8px; background: var(--c, var(--lime)); color: var(--ink); display: grid; place-items: center; font-size: .85rem; font-family: var(--display); font-weight: 800; flex: none; }

/* ---- doors ---- */
.doors { padding: clamp(3rem, 7vw, 5rem) var(--pad); }
.grid-big { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1.25rem; margin: 2rem 0 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1.25rem; }
.grid-small { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.door { --c: var(--lime); position: relative; display: flex; flex-direction: column; gap: .85rem; background: var(--card); border: 2px solid var(--line); border-radius: 22px; padding: 1.5rem; transition: transform .18s var(--ease), border-color .18s, box-shadow .18s; }
.door:hover { transform: translate(-3px, -3px); border-color: var(--c); box-shadow: 6px 6px 0 var(--c); }
.door-cyan { --c: var(--cyan); } .door-teal { --c: var(--teal); } .door-amber { --c: var(--amber); }
.door-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.mark { width: 52px; height: 52px; border-radius: 14px; background: var(--c); color: var(--ink); display: grid; place-items: center; font-size: 1.5rem; box-shadow: 3px 3px 0 var(--pink); flex: none; }
.mark svg { width: 28px; height: 28px; }
.door h3 { font-weight: 800; font-size: 1.35rem; line-height: 1.1; }
.door h3 a { color: inherit; text-decoration: none; }
.door h3 a:hover { color: var(--c); }
.door .tag { font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--c); }
.door p { color: var(--muted); }
.feat { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; }
.feat li { font-size: .76rem; font-weight: 700; padding: .3rem .65rem; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); }
.sub-links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .9rem; }
.sub-links a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.sub-links a:hover { text-decoration-color: var(--c); }
.door .cta { margin-top: auto; align-self: flex-start; }
.door-big { padding: 2rem; }
.door-big h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.door-big .tag { font-size: 1.15rem; }
.status { display: inline-flex; align-items: center; gap: .4rem; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green); white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(61,255,154,.2); }
.mock { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; background: var(--bg2); border: 1px dashed var(--line); border-radius: 16px; }
.mock .code { font-family: var(--display); font-weight: 800; letter-spacing: .3em; font-size: 1.25rem; padding: .35rem .5rem .35rem .8rem; border: 2px solid var(--lime); border-radius: 12px; color: var(--lime); }
.mock .buzz { width: 52px; height: 52px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: .55rem; box-shadow: 0 0 0 6px rgba(255,79,163,.18); flex: none; }
.mock .hint { color: var(--dim); font-size: .85rem; }
.mock .timer { flex: 1; display: flex; flex-direction: column; gap: .35rem; }
.mock .timer b { font-family: var(--display); font-size: 1.25rem; color: var(--cyan); font-variant-numeric: tabular-nums; }
.mock .timer i { display: block; height: 8px; border-radius: 4px; background: var(--card2); overflow: hidden; }
.mock .timer i::after { content: ""; display: block; height: 100%; width: 62%; background: var(--cyan); border-radius: 4px; }

/* ---- how it works ---- */
.how { padding: clamp(2.5rem, 6vw, 4rem) var(--pad); background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-in { max-width: var(--wrap); margin: 0 auto; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.5rem; margin-top: 1.75rem; }
.step .num { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--lime); text-shadow: 3px 3px 0 var(--pink); }
.step h3 { font-size: 1.05rem; margin: .7rem 0 .3rem; }
.step p { color: var(--muted); }
.fine { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.fine span { font-family: var(--display); font-weight: 800; font-size: .85rem; padding: .55rem 1rem; border-radius: 999px; background: var(--card); border: 2px solid var(--line); }
.fine span b { color: var(--lime); }

/* ---- mission ---- */
.mission { padding: clamp(3rem, 7vw, 5rem) var(--pad); }
.mission-in { max-width: 860px; margin: 0 auto; text-align: center; background: var(--card); border: 2px solid var(--line); border-radius: 26px; padding: clamp(2rem, 5vw, 3.5rem); box-shadow: 8px 8px 0 var(--violet); }
.mission blockquote { font-family: var(--display); font-weight: 800; font-size: clamp(1.35rem, 3.4vw, 2.2rem); line-height: 1.15; }
.mission blockquote em { font-style: normal; color: var(--cyan); }
.mission p { color: var(--muted); margin: 1rem auto 0; font-size: 1.05rem; max-width: 52ch; }

/* ---- footer ---- */
.footer { padding: 2.5rem var(--pad) 3rem; border-top: 1px solid var(--line); }
.footer-in { max-width: var(--wrap); margin: 0 auto; display: flex; flex-direction: column; gap: 1.25rem; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-tagline { color: var(--muted); font-size: .9rem; }
.footer-social { display: flex; gap: .3rem; flex-wrap: wrap; }
.footer-social a { color: var(--muted); text-decoration: none; font-weight: 600; padding: .4rem .7rem; border-radius: 10px; }
.footer-social a:hover { color: var(--text); background: var(--card); }
.footer small { color: var(--dim); font-size: .85rem; }
.footer .mail { color: var(--cyan); font-weight: 600; text-decoration: none; }
.footer .mail:hover { text-decoration: underline; }

/* ---- motion ---- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .pet { animation: none; }
  .btn, .chip, .door { transition: none; }
}
