/* 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);
  /* Same as the app: Space Grotesk for everything, Unbounded only on the wordmark. */
  --display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --wordmark: '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: var(--vbar, 0px); 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(--wordmark); font-weight: 800; font-size: .95rem; letter-spacing: .03em; color: var(--text); text-decoration: none; }
.px { image-rendering: pixelated; image-rendering: crisp-edges; }
.brand .logo { width: 32px; height: 32px; display: block; flex: none; image-rendering: pixelated; image-rendering: crisp-edges; filter: drop-shadow(2px 2px 0 var(--pink)); }
.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); }
.nav-ic { width: 16px; height: 16px; flex: none; }
@media (max-width: 520px) { .nav-in { padding: .55rem var(--pad); gap: .5rem; } .brand { font-size: .85rem; } .brand .logo { width: 28px; height: 28px; } .brand > span { display: none; } .nav-links { gap: 0; flex-wrap: nowrap; min-width: 0; } .nav-links a { font-size: .82rem; padding: .4rem .4rem; gap: .3rem; } }
@media (max-width: 340px) { .nav-links a { padding: .4rem .3rem; font-size: .78rem; } }

/* ---- 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 { appearance: none; -webkit-appearance: none; border: 0; padding: 0; background-color: transparent; cursor: pointer; position: relative; border-radius: 10px; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  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; transition: translate .22s var(--ease); }
@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; }
/* tap reaction: a small hop (translate, so it never fights the sprite animation) and a pixel heart */
.pet.hop { translate: 0 -14px; }
.ccat { transition: translate .22s var(--ease); }
.ccat.hop { translate: 0 -18%; }
.pet::after, .ccat::after { content: ""; position: absolute; left: 50%; top: 0; width: 18px; height: 16px; margin-left: -9px; opacity: 0; pointer-events: none; image-rendering: pixelated;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 8' shape-rendering='crispEdges'%3E%3Cpath fill='%23FF4FA3' d='M1 0h2v1H1zM6 0h2v1H6zM0 1h4v1H0zM5 1h4v1H5zM0 2h9v2H0zM1 4h7v1H1zM2 5h5v1H2zM3 6h3v1H3zM4 7h1v1H4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.ccat::after { width: 30%; height: 27%; margin-left: -15%; top: -10%; }
.pet.love::after, .ccat.love::after { animation: heart .95s var(--ease) forwards; }
@keyframes heart { 0% { opacity: 0; translate: 0 6px; scale: .6; } 25% { opacity: 1; scale: 1.15; } 100% { opacity: 0; translate: 0 -28px; scale: 1; } }
@keyframes heart-still { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
.shelf { position: relative; margin-top: clamp(2rem, 5vw, 3.5rem); }
.shelf-row { display: flex; align-items: flex-end; justify-content: center; gap: clamp(.5rem, 2vw, 1.5rem); }
.pets { display: flex; justify-content: center; align-items: flex-end; gap: clamp(.25rem, 2vw, 1.4rem); height: calc(32px * var(--s)); overflow: hidden; min-width: 0; }
.floor { height: 6px; background: var(--lime); box-shadow: 0 6px 0 var(--pink); margin: 0 calc(-1 * var(--pad)); }
.deco { pointer-events: none; user-select: none; }
.shelf .deco { display: none; flex: none; }
@media (min-width: 1180px) { .shelf .deco { display: block; } }
/* how many pets fit beside the lamp and plants at each width (pets are 128px, 96px under 700px) */
@media (max-width: 1800px) { .pets .pet:nth-child(n+9) { display: none; } }
@media (max-width: 1600px) { .pets .pet:nth-child(n+8) { display: none; } }
@media (max-width: 1440px) { .pets .pet:nth-child(n+7) { display: none; } }
@media (max-width: 940px)  { .pets .pet:nth-child(n+6) { display: none; } }
@media (max-width: 700px)  { .shelf { --s: 3; } }
@media (max-width: 540px)  { .pets .pet:nth-child(n+5) { display: none; } }
@media (max-width: 440px)  { .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; flex-wrap: wrap; gap: .5rem; padding: .25rem 0 .35rem; flex: 1; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .85rem .5rem .5rem; border-radius: 999px; border: 2px solid var(--line); background: var(--card); color: var(--text); font-weight: 700; font-size: .88rem; 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; }
.chip .ic img, .chip .ic svg { width: 16px; height: 16px; display: block; }
.chip .ic-mark { background: none; border-radius: 0; }
.chip .ic-mark img { width: 24px; height: 24px; }
.chip .label { white-space: nowrap; }
@media (max-width: 520px) {
  .now { padding: 1rem var(--pad) 1.1rem; }
  .now-in { flex-direction: column; align-items: stretch; gap: .65rem; }
  .chips { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; overflow: visible; padding: 0; }
  .chip { display: flex; width: 100%; min-width: 0; padding: .6rem .7rem .6rem .55rem; border-radius: 14px; font-size: .86rem; }
  .chip .label { overflow: hidden; text-overflow: ellipsis; }
  .chip:hover { transform: none; box-shadow: none; }
}
@media (max-width: 400px) { .chips { grid-template-columns: 1fr; } .chip { font-size: .92rem; } }
@media (max-width: 520px) { .mock { flex-wrap: wrap; } .mock .hint { flex-basis: 100%; } }

/* ---- doors ---- */
.doors { padding: clamp(3rem, 7vw, 5rem) var(--pad); }
.grid-doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 1.25rem; margin: 2rem 0 0; }
.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: 48px; height: 48px; display: block; flex: none; filter: drop-shadow(3px 3px 0 var(--pink)); }
.door h3 { font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.door .tag { color: var(--muted); font-size: 1rem; }
.door .cta { margin-top: auto; align-self: flex-start; }
/* what shipped today, one plain line each */
.door .new { border-top: 1px dashed var(--line); padding-top: .8rem; }
.new-label { display: block; font-family: var(--display); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c, var(--lime)); margin-bottom: .45rem; }
.new ul { list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.new li { position: relative; padding-left: 1rem; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.new li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 2px; background: var(--c, var(--lime)); }
.money { margin-top: 1.5rem; padding: .95rem 1.2rem; background: var(--card); border: 2px solid var(--line); border-radius: 16px; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.money b { color: var(--lime); font-weight: 800; }
.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; }
/* Learn: a flashcard that flips */
.mock-card { flex-wrap: wrap; }
.mock-card .hint { flex-basis: 100%; }
.flip { flex: 1; min-width: 0; min-height: 84px; perspective: 700px; cursor: pointer; }
.flip-in { position: relative; width: 100%; height: 100%; min-height: 84px; transform-style: preserve-3d; transition: transform .6s var(--ease); animation: flip 7s var(--ease) infinite; }
.flip.on .flip-in { animation: none; transform: rotateY(180deg); }
.face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: .2rem; padding: .7rem .9rem; border-radius: 12px; background: var(--card); border: 2px solid var(--line); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face small { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.face b { font-size: .92rem; line-height: 1.25; color: var(--text); }
.face.back { transform: rotateY(180deg); border-color: var(--teal); }
@keyframes flip { 0%, 42% { transform: rotateY(0); } 50%, 92% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
/* Teach: a tiny class grid with colour bands and flags */
.mock-grid { padding: .6rem .7rem; overflow-x: auto; }
.cg { width: 100%; border-collapse: separate; border-spacing: 3px; font-size: .78rem; font-variant-numeric: tabular-nums; }
.cg th { font-family: var(--display); font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); text-align: left; padding: 0 .3rem .15rem; }
.cg th:not(:first-child), .cg td:not(:first-child) { text-align: center; width: 3.1rem; }
.cg td { padding: .3rem .4rem; border-radius: 7px; color: var(--text); font-weight: 700; white-space: nowrap; }
.cg td:first-child { color: var(--muted); font-weight: 600; padding-left: .3rem; }
.cg td.g { background: rgba(61,255,154,.16); color: var(--green); }
.cg td.a { background: rgba(255,176,32,.18); color: var(--amber); }
.cg td.r { background: rgba(255,79,163,.18); color: var(--pink); }
.cg td.m { border: 1px dashed var(--line); color: var(--dim); font-size: .64rem; font-style: italic; font-weight: 500; }
.cg .flag { display: inline-block; margin-left: .4rem; padding: .05rem .4rem; border-radius: 999px; background: var(--pink); color: #fff; font-style: normal; font-size: .58rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
@media (max-width: 400px) { .cg .flag { display: block; width: max-content; margin: .15rem 0 0; } }
@media (max-width: 340px) { .mock-grid { padding: .6rem .4rem; } .cg th:not(:first-child), .cg td:not(:first-child) { width: 2.6rem; } .cg td { padding: .3rem .25rem; } .cg { border-spacing: 2px; } }

/* ---- free tools strip ---- */
.tools { margin-top: 1.5rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 1.25rem 2rem; align-items: center; background: var(--bg2); border: 2px solid var(--line); border-radius: 22px; padding: 1.5rem; }
.tools-copy h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 700; }
.tools-all { display: inline-block; margin-top: .6rem; color: var(--violet); font-weight: 700; text-decoration: none; }
.tools-all::after { content: " \2192"; }
.tools-all:hover { text-decoration: underline; text-underline-offset: 3px; }
.tools-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.tool { display: grid; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: .7rem; align-items: center; padding: .7rem .85rem; border-radius: 14px; background: var(--card); border: 2px solid var(--line); color: var(--text); text-decoration: none; transition: transform .12s var(--ease), border-color .15s, box-shadow .12s; }
.tool:hover { transform: translate(-2px, -2px); border-color: var(--violet); box-shadow: 4px 4px 0 var(--violet); }
.tool .ic { grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 10px; background: rgba(139,123,255,.18); color: var(--violet); display: grid; place-items: center; }
.tool .ic svg { width: 20px; height: 20px; }
.tool b { font-size: .92rem; }
.tool > span:last-child { color: var(--muted); font-size: .8rem; }
.tool b .is-new { display: inline-block; margin-left: .4rem; padding: .05rem .4rem; border-radius: 999px; background: var(--violet); color: var(--ink); font-style: normal; font-size: .58rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.tools-more { grid-column: 1 / -1; margin-top: .15rem; color: var(--muted); font-size: .85rem; line-height: 1.7; }
.tools-more a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.tools-more a:hover { color: var(--violet); }
@media (max-width: 860px) { .tools { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .tools { padding: 1.1rem; } .tools-row { grid-template-columns: 1fr; } }

/* ---- 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; position: relative; }
.how-poster { position: absolute; right: 0; top: -1rem; width: 96px; height: 174px; display: none; }
@media (min-width: 900px) { .how-poster { display: block; } }
.how-lines { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); gap: 1.25rem 1.5rem; margin-top: 1.75rem; }
@media (min-width: 900px) { .how-lines { padding-right: 112px; } }
.how-lines li { display: flex; gap: .8rem; align-items: flex-start; }
.how-lines img { flex: none; width: 32px; height: 32px; filter: drop-shadow(2px 2px 0 var(--pink)); }
.how-lines b { display: block; font-family: var(--display); font-size: .95rem; margin-bottom: .25rem; }
.how-lines p { color: var(--muted); font-size: .95rem; }
.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 { position: relative; 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; }
.mission .maker { font-size: .95rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 1rem; max-width: 60ch; }

/* ---- decorations from the packs ---- */
.deco-sleep { position: absolute; top: -70px; right: 2.5rem; width: 96px; height: 96px; background: url(/deco/cat-sleep.png) 0 0 / auto 100% no-repeat; image-rendering: pixelated; image-rendering: crisp-edges; animation: sleep 2.4s steps(6) infinite; }
@keyframes sleep { to { background-position-x: 120%; } }
.px-divider { height: 6px; margin: 0 var(--pad); background: repeating-linear-gradient(90deg, var(--lime) 0 6px, transparent 6px 12px, var(--pink) 12px 18px, transparent 18px 30px); opacity: .7; }

/* ---- Cat Cafe preview ---- */
.cafe { padding: clamp(3rem, 7vw, 5rem) var(--pad); }
.cafe-in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.cafe .h2 em { font-style: normal; color: var(--cyan); }
.cafe-points { list-style: none; display: flex; flex-direction: column; gap: .55rem; margin: 1.25rem 0 1.5rem; color: var(--text); font-weight: 600; }
.cafe-points li { display: flex; align-items: center; gap: .7rem; }
.cafe-points img { flex: none; }
.cafe-stage { position: relative; display: block; aspect-ratio: 508 / 444; text-decoration: none; border-radius: 22px; transition: transform .18s var(--ease); }
.cafe-stage:hover { transform: translateY(-3px); }
.cafe-stage .room { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
.ccat { position: absolute; background-repeat: no-repeat; background-size: auto 100%; image-rendering: pixelated; image-rendering: crisp-edges; animation: cidle 1s steps(6) infinite; }
@keyframes cidle { to { background-position-x: 120%; } }
.ccat-orangecat { left: 58.46%; top: 43.47%; width: 11.81%; aspect-ratio: 60/57; background-image: url(/cafe/orangecat.png); }
.ccat-cat { left: 25.00%; top: 52.48%; width: 11.81%; aspect-ratio: 60/57; background-image: url(/cafe/cat.png); transform: scaleX(-1); animation-delay: -.4s; animation-duration: 1.1s; }
.ccat-blackcat { left: 63.58%; top: 59.23%; width: 11.81%; aspect-ratio: 60/57; background-image: url(/cafe/blackcat.png); transform: scaleX(-1); animation-delay: -.7s; animation-duration: .95s; }
.stage-tag { position: absolute; left: 4%; top: 4%; display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .7rem; border-radius: 999px; background: rgba(14,13,23,.85); border: 1px solid var(--line); color: var(--text); font-family: var(--display); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.stage-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(61,255,154,.2); }
@media (max-width: 820px) { .cafe-in { grid-template-columns: 1fr; } .cafe-stage { max-width: 440px; margin: 0 auto; width: 100%; } .cafe-copy { text-align: center; } .cafe-copy .lead { margin: 0 auto; } .cafe-points { align-items: center; } .cafe-copy .hero-cta { justify-content: center !important; } }

/* ---- 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-products { margin-top: .9rem; color: var(--dim); font-size: .9rem; font-weight: 600; line-height: 1.8; }
.footer-products span { color: var(--muted); }
.footer-products a { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; vertical-align: middle; }
.footer-products img { width: 16px; height: 16px; }
.footer-products a:hover { color: var(--lime); }
.footer-tagline { color: var(--muted); font-size: .9rem; margin-top: .2rem; }
.footer-scene { display: flex; align-items: flex-end; gap: .75rem; padding-bottom: 6px; border-bottom: 6px solid var(--card2); }
.footer-scene .lamp { position: relative; display: block; }
.footer-scene .lamp::before { content: ""; position: absolute; left: 50%; top: 0; width: 150px; height: 150px; transform: translate(-50%, -30%); background: radial-gradient(circle, rgba(255,176,32,.28), transparent 60%); pointer-events: none; }
.footer-scene .lamp img { position: relative; }
.footer small a { color: var(--muted); }
@media (max-width: 520px) { .footer-scene img:first-child { width: 78px; height: 90px; } .footer-scene .lamp img { width: 44px; height: 53px; } }

/* ---- bottom strip: one line, small, not about us ---- */
.strip-slot { position: relative; height: 44px; background: var(--bg2); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 0 .75rem 0 2.4rem; }
.strip-slot .strip-label { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); border: 1px solid var(--line); border-radius: 4px; padding: 1px 4px; }
.strip-house { display: flex; align-items: center; gap: .6rem; min-width: 0; max-width: 760px; width: 100%; text-decoration: none; color: var(--text); font-size: .78rem; line-height: 1.2; }
.strip-house img { width: 24px; height: 24px; flex: none; object-fit: contain; }
.strip-text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip-text strong { font-weight: 700; }
.strip-text span { color: var(--muted); }
.strip-text span::before { content: " — "; color: var(--dim); }
.strip-house .strip-cta { margin-left: auto; flex: none; padding: .25rem .65rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--text); font-weight: 700; font-size: .72rem; white-space: nowrap; }
.strip-house:hover .strip-cta { border-color: var(--lime); color: var(--lime); }
@media (max-width: 520px) { .strip-text span { display: none; } }
.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-social span { color: var(--dim); font-weight: 600; padding: .4rem 0; }
.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, .ccat, .deco-sleep, .flip-in { animation: none; }
  .btn, .chip, .door, .tool, .pet, .ccat, .flip-in { transition: none; }
  .pet.hop, .ccat.hop { translate: none; }
  .pet.love::after, .ccat.love::after { animation: heart-still .95s forwards; }
}

/* ---- blog ---- */
.blog-main { padding: clamp(2rem, 6vw, 4rem) var(--pad) clamp(3rem, 7vw, 5rem); }
.post, .blog-list { max-width: 68ch; margin: 0 auto; font-size: 1.05rem; }
.post-head { margin-bottom: 1.75rem; }
.post-head .eyebrow a { color: inherit; text-decoration: none; }
.post-head .eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-cat { display: block; width: 96px; height: 96px; margin: 0 0 1rem -6px; background: url(/deco/cat-excited.png) 0 0 / auto 100% no-repeat; image-rendering: pixelated; image-rendering: crisp-edges; animation: excited 1.3s steps(12) infinite; }
@keyframes excited { to { background-position-x: -1152px; } }
.post h1, .blog-list h1 { font-weight: 800; font-size: clamp(1.85rem, 5vw, 2.8rem); line-height: 1.08; letter-spacing: -.02em; margin: .5rem 0 .8rem; }
.post h1 em { font-style: normal; color: var(--lime); }
.byline { color: var(--muted); font-weight: 600; }
.post-intro { font-size: 1.15rem; line-height: 1.55; }
.post h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.35rem; font-weight: 800; margin: 2.75rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.post h2 img { width: 28px; height: 28px; flex: none; filter: drop-shadow(2px 2px 0 var(--pink)); }
.ask { margin: 0 0 1.25rem; padding: 1.1rem 1.25rem 1.2rem; background: var(--card); border: 2px solid var(--line); border-radius: 18px; }
.ask blockquote { margin: 0 0 .8rem; }
.ask blockquote p { font-family: var(--display); font-weight: 600; font-size: 1.05rem; line-height: 1.4; }
.ask blockquote footer { margin-top: .5rem; font-size: .86rem; color: var(--muted); }
.ask blockquote footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.ask blockquote footer a:hover { color: var(--cyan); }
.votes { display: inline-block; margin-left: .35rem; padding: .05rem .5rem; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); font-size: .72rem; font-weight: 700; color: var(--dim); white-space: nowrap; }
.shipped { line-height: 1.55; }
.shipped b { font-family: var(--display); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin-right: .25rem; }
.shipped.partly b, .shipped.notyet b { color: var(--amber); }
.shipped a { color: var(--cyan); text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.shipped a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mark-in { width: 18px; height: 18px; vertical-align: -3px; margin-right: .3rem; }
.ask .btn-sm { margin-top: .9rem; }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; border-radius: 12px; }
.post > p { margin-top: 1.25rem; line-height: 1.55; }
.post > p a { color: var(--cyan); }
.post-end { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); }
.post-end .mail { color: var(--cyan); font-weight: 600; text-decoration: none; }
.post-end .mail:hover { text-decoration: underline; }
.post-cta { margin-top: 1.25rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.post-back { color: var(--muted); font-weight: 600; text-decoration: none; }
.post-back:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.post-card { display: block; margin-top: 1.5rem; padding: 1.25rem 1.4rem; background: var(--card); border: 2px solid var(--line); border-radius: 18px; color: var(--text); text-decoration: none; transition: transform .12s var(--ease), border-color .15s, box-shadow .12s; }
.post-card:hover { transform: translate(-2px, -2px); border-color: var(--lime); box-shadow: 4px 4px 0 var(--lime); }
.post-card time { font-size: .82rem; font-weight: 600; color: var(--muted); }
.post-card h2 { font-size: 1.3rem; font-weight: 800; line-height: 1.2; margin: .35rem 0 .5rem; }
.post-card p { color: var(--muted); line-height: 1.5; }
.post-card-more { display: inline-block; margin-top: .8rem; color: var(--lime); font-weight: 700; }
.post-card-more::after { content: " \2192"; }
.from-blog { margin-top: 1.25rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; color: var(--muted); font-weight: 600; }
.from-blog .from-blog-label { font-family: var(--display); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); }
.from-blog a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.from-blog a:hover { color: var(--lime); }
@media (max-width: 520px) { .ask { padding: .95rem 1rem 1.05rem; border-radius: 14px; } .post-cat { width: 72px; height: 72px; } @keyframes excited { to { background-position-x: -864px; } } }
@media (prefers-reduced-motion: reduce) { .post-cat { animation: none; } .post-card { transition: none; } }

/* ---- plans, for parents, the shop ---- */
.plans { padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad); }
.plans .h2 em { font-style: normal; color: var(--pink); }
.grid-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 1.25rem; margin: 2rem 0 0; align-items: stretch; }
.plan { --c: var(--lime); display: flex; flex-direction: column; gap: .8rem; background: var(--card); border: 2px solid var(--line); border-radius: 22px; padding: 1.5rem; }
.plan.on { border-color: var(--c); box-shadow: 4px 4px 0 var(--c); }
.plan h3 { font-weight: 800; font-size: 1.35rem; line-height: 1.1; color: var(--c); }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1.1; }
.plan .price small { display: block; margin-top: .3rem; font-family: var(--body); font-size: .9rem; font-weight: 600; color: var(--muted); }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.plan li { position: relative; padding-left: 1.1rem; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.plan li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 2px; background: var(--c); }
.plan .cta { margin-top: auto; align-self: flex-start; }
.btn-violet { background: var(--violet); color: var(--ink); border-color: var(--violet); box-shadow: 4px 4px 0 var(--cyan); }
.btn-violet:hover { background: #a294ff; }
.btn-violet:active { box-shadow: 1px 1px 0 var(--cyan); }
.plans-note { margin-top: .75rem; color: var(--muted); font-size: .9rem; }
.family { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; background: var(--bg2); border: 2px solid var(--line); border-radius: 22px; padding: 1.35rem 1.5rem; }
.family p { color: var(--muted); max-width: 60ch; line-height: 1.5; }
.family p b { color: var(--text); font-weight: 700; }
.family .eyebrow { margin-bottom: .35rem; }
.shop { display: flex; gap: .55rem; border-top: 1px dashed var(--line); padding-top: .8rem; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.shop svg { flex: none; width: 18px; height: 18px; margin-top: .15rem; color: var(--amber); }
.shop a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.shop a:hover { color: var(--cyan); }

/* ---- Versed Learn additions: plain sections, store badges, screenshots ---- */
.sect { padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad); }
.sect-in { max-width: var(--wrap); margin: 0 auto; }
.sect-alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stores { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.store-btn { display: inline-flex; align-items: center; gap: .65rem; padding: .6rem 1.1rem; border-radius: 14px; background: var(--card); border: 2px solid var(--line); color: var(--text); text-decoration: none; transition: transform .12s var(--ease), border-color .15s, box-shadow .12s; }
.store-btn:hover { transform: translate(-2px, -2px); border-color: var(--lime); box-shadow: 4px 4px 0 var(--lime); }
.store-btn svg { width: 24px; height: 24px; flex: none; }
.store-btn small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.store-btn strong { display: block; font-family: var(--display); font-size: .95rem; font-weight: 800; line-height: 1.15; }
.store-btn.soon { opacity: .55; }
.store-btn.soon:hover { transform: none; border-color: var(--line); box-shadow: none; }
.freelist { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: .65rem; margin-top: 1.6rem; }
.freelist li { position: relative; padding: .8rem 1rem .8rem 1.95rem; background: var(--card); border: 2px solid var(--line); border-radius: 14px; font-size: .95rem; line-height: 1.45; color: var(--muted); }
.freelist li::before { content: ""; position: absolute; left: .95rem; top: 1.2rem; width: 8px; height: 8px; border-radius: 2px; background: var(--c, var(--lime)); }
.freelist li b { color: var(--text); font-weight: 700; }
.shots { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 1rem; margin-top: 1.75rem; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 18px; border: 2px solid var(--line); background: var(--card2); }
.shot figcaption { margin-top: .55rem; color: var(--muted); font-size: .85rem; line-height: 1.4; }
.sect .hero-cta { justify-content: flex-start; margin-top: 1.6rem; }
.plans-hero { padding: clamp(2.5rem, 7vw, 4.5rem) var(--pad) 0; text-align: center; }
.plans-hero .h2 { margin-top: .6rem; }
.plans-hero .lead { margin: 0 auto; }

/* ---- brand lockup: logo B (cat tile + VERSED wordmark) ---- */
/* No pink drop-shadow here — that rule is for a mark alone on its tile; behind a wordmark it
   reads as a printing misregistration. The lockup is ~127px wide, which crowds the nav links
   on a phone, so below 760px the header falls back to the square mark it has always used. */
.brand { min-width: 0; flex: none; }
.brand > span { white-space: nowrap; }
.brand .lockup { display: inline-block; height: auto; max-height: 28px; width: auto; max-width: 100%; flex: none; position: static; image-rendering: pixelated; image-rendering: crisp-edges; }
.brand .markonly { display: none; width: 28px; height: 28px; flex: none; image-rendering: pixelated; image-rendering: crisp-edges; filter: drop-shadow(2px 2px 0 var(--pink)); }
@media (max-width: 760px) {
  .brand .lockup { display: none; }
  .brand .markonly { display: block; }
}
@media (max-width: 520px) { .brand .markonly { width: 28px; height: 28px; } }
