:root {
  --cream: #FFF8F0;
  --paper: #FFFFFF;
  --ink: #23213B;
  --soft: #6B6685;
  --line: #E8DFF3;
  --plum: #5A3FC0;
  --plum-deep: #4A32A6;
  --plum-ink: #FFFFFF;
  --stage: #120820;
  --stage-2: #1C0D33;
  --stage-ink: #F3EEFF;
  --stage-soft: #B9AECF;
  --bar: #201E30;
  --teal: #2FB3A3; --pink: #EE8FA4; --green: #58A64E; --gold: #E0862A;
  --radius: 22px;
  --shadow: 0 2px 8px rgba(35, 33, 59, .06);
  --gutter: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "Nunito", "Segoe UI", system-ui, sans-serif; font-size: 17px; line-height: 1.55; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); }
h1, h2, h3 { line-height: 1.12; margin: 0; }
h1 { font-size: clamp(38px, 6.4vw, 78px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(1120px, calc(100% - 2 * var(--gutter))); margin: 0 auto; }
section { padding: 96px 0; }
.lede { color: var(--soft); font-size: clamp(18px, 1.5vw, 21px); max-width: 60ch; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--plum); margin-bottom: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 720px) { section { padding: 56px 0; } :root { --gutter: 16px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: 999px; font-weight: 800; font-size: 17px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--plum); color: var(--plum-ink); }
.btn.primary:hover { background: var(--plum-deep); }
.btn.quiet { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn.quiet:hover { background: rgba(90, 63, 192, .08); }
.btn.light { background: var(--paper); color: var(--ink); }
.btn.light:hover { background: #F6F0FF; }
.btn.ghost { background: transparent; color: var(--stage-ink); border-color: rgba(243, 238, 255, .45); }
.btn.ghost:hover { border-color: var(--stage-ink); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* header */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 240, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; }
.nav nav { display: flex; gap: 24px; font-weight: 700; font-size: 15px; }
.nav nav a { color: var(--ink); text-decoration: none; }
.nav nav a:hover { color: var(--plum); }
.nav .btn { padding: 11px 18px; font-size: 15px; }
@media (max-width: 800px) { .nav nav, .nav .btn { display: none; } }

/* hero: the pets, live */
.hero { padding: 0; background: var(--stage); color: var(--stage-ink); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 70%, rgba(90, 63, 192, .35), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; padding-top: clamp(48px, 7vw, 92px); text-align: center; }
.hero .kicker { color: #CDB9FF; }
.hero h1 { color: #FFFFFF; max-width: 17ch; margin: 0 auto; }
.hero .lede { color: var(--stage-soft); margin: 18px auto 0; max-width: 52ch; }
.hero .btns { justify-content: center; margin-top: 28px; }
.hero .tiny { color: var(--stage-soft); font-size: 14px; margin-top: 14px; }
.stage-box { position: relative; height: clamp(300px, 44vw, 520px); margin-top: 8px; }
.stage-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; background: var(--bar); border-top: 1px solid #3A3556; display: flex; align-items: center; justify-content: center; gap: 14px; pointer-events: none; }
.taskbar i { width: 20px; height: 20px; border-radius: 5px; background: #3E3A58; display: block; }
.taskbar .clock { position: absolute; right: 18px; color: #B9AECF; font-size: 12px; font-weight: 700; font-family: "Segoe UI", system-ui, sans-serif; }
.bub { position: absolute; transform: translate(-50%, -100%); background: var(--paper); color: var(--ink); font-weight: 700; font-size: 15px; padding: 8px 13px; border-radius: 14px; border: 1px solid var(--line); white-space: nowrap; opacity: 0; transition: opacity .18s ease; pointer-events: none; max-width: 80vw; }
.bub::after { content: ""; position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); border: 8px solid transparent; border-top-color: var(--paper); border-bottom: 0; }
.bub.on { opacity: 1; }
.stage-note { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0 18px; color: var(--stage-soft); font-size: 14px; }
.stage-note button { background: none; border: 1px solid rgba(243, 238, 255, .6); color: var(--stage-ink); border-radius: 999px; padding: 7px 14px; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.stage-note button:hover { border-color: var(--stage-ink); }
.no-webgl .stage-box canvas, .no-webgl .bub, .no-webgl .taskbar, .no-webgl .stage-note { display: none; }
.no-webgl .stage-box { border-radius: var(--radius); overflow: hidden; background: #FFF6EC; }
.no-webgl .stage-box video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 720px) { .stage-box { height: clamp(240px, 70vw, 360px); } .hero .btns .btn { width: 100%; } .stage-note { flex-direction: column; align-items: flex-start; } }

/* clips: an MP4 with a GIF behind it for anything that can't play video */
.clip { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper); aspect-ratio: 480 / 250; box-shadow: var(--shadow); }
.clip video, .clip img { width: 100%; height: 100%; object-fit: cover; }
.clip.tall { aspect-ratio: 260 / 250; }
.clip.still { aspect-ratio: auto; }
.clip.wide { aspect-ratio: 960 / 600; }

/* meet the four */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); }
.card .clip { border: 0; border-radius: 0; box-shadow: none; }
.card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card h3 small { font-size: 14px; font-weight: 700; color: var(--soft); }
.card h3 small::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; background: var(--dot, var(--plum)); vertical-align: middle; }
.card p { color: var(--soft); font-size: 16px; }
.card q { display: block; margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--ink); font-size: 16px; quotes: "\201C" "\201D"; }
.card.antenna { --dot: var(--teal); } .card.ears { --dot: var(--pink); } .card.leaf { --dot: var(--green); } .card.horns { --dot: var(--gold); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* moments */
.moments { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 110px); margin-top: 56px; }
.moment { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.moment:nth-child(even) .clip { order: 2; }
.moment .text { max-width: 44ch; }
.moment .text h3 { font-size: clamp(26px, 3vw, 38px); }
.moment .text p { color: var(--soft); font-size: clamp(17px, 1.4vw, 20px); margin-top: 12px; }
.moment .two { display: grid; gap: 14px; }
@media (max-width: 820px) { .moment { grid-template-columns: 1fr; gap: 20px; } .moment:nth-child(even) .clip { order: 0; } .moment .text { max-width: none; } }

/* the rest of the features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 20px; box-shadow: var(--shadow); }
.feature img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--cream); border-radius: 14px; margin-bottom: 12px; }
.feature h3 { font-size: 20px; }
.feature p { color: var(--soft); font-size: 15.5px; margin-top: 6px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .features { grid-template-columns: 1fr; } }

/* every skill: small cards, a picture where there is one, the name and its own line */
.skills { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 28px; }
.skills.four { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.skills.five { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.skill { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 12px 12px 14px; box-shadow: var(--shadow); }
.skill img { width: 72px; height: 72px; object-fit: contain; background: var(--cream); border-radius: 12px; margin-bottom: 8px; display: block; }
.skill b { display: block; font-size: 16px; }
.skill p { color: var(--soft); font-size: 14px; margin-top: 4px; line-height: 1.4; }
.skills-head { font-size: clamp(22px, 2.4vw, 30px); margin-top: 48px; }
.lede.left { max-width: 60ch; margin-top: 6px; }
@media (max-width: 420px) { .skills, .skills.four, .skills.five { grid-template-columns: 1fr 1fr; } }

/* the shop: item cards, shared by the shop page and the shop section on the front page */
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; margin-top: 20px; }
.item { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 12px 12px 14px; display: grid; gap: 6px; justify-items: center; text-align: center; box-shadow: var(--shadow); transition: transform .15s ease; }
.item:hover { transform: translateY(-2px); }
.item img { width: 132px; height: 132px; }
.item b { font-size: 15px; }
.item span { font-size: 13px; color: var(--soft); line-height: 1.35; }
.item .tag { font-style: normal; font-size: 12.5px; color: var(--soft); background: var(--cream); border-radius: 999px; padding: 5px 10px; margin-top: 4px; }
.item .get { margin-top: 4px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--plum); color: #fff; font-weight: 800; font-size: 14px; text-decoration: none; }
.item .get:hover { background: var(--plum-deep); }
.item .get em { font-style: normal; font-weight: 700; opacity: .85; }
.shop-rows { display: grid; gap: 28px; margin-top: 36px; }
.shop-row h3 { font-size: 20px; }
.shop-row .items { grid-template-columns: repeat(6, 1fr); margin-top: 12px; }
@media (max-width: 960px) { .shop-row .items { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .items, .shop-row .items { grid-template-columns: repeat(2, 1fr); } .item img { width: 108px; height: 108px; } }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; box-shadow: var(--shadow); }
.quote p { font-weight: 800; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.quote q { quotes: "\201C" "\201D"; }
.quote cite { display: block; margin-top: 12px; font-style: normal; color: var(--soft); font-size: 14px; font-weight: 700; }
.quote cite::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; background: var(--dot, var(--plum)); }
.quote.antenna { --dot: var(--teal); } .quote.ears { --dot: var(--pink); } .quote.leaf { --dot: var(--green); } .quote.horns { --dot: var(--gold); }
@media (max-width: 960px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .quotes { grid-template-columns: 1fr; } }

/* price */
.price { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: 40px; }
.price-card { background: var(--cream); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 4vw, 44px); }
.price-card .big { font-size: clamp(64px, 9vw, 112px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.price-card .big small { display: block; font-size: 17px; font-weight: 700; color: var(--soft); letter-spacing: 0; margin-top: 6px; }
.price-card ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; color: var(--ink); font-size: 17px; }
.price-card li { padding-left: 28px; position: relative; }
.price-card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--plum); }
.price-card .btns { margin-top: 26px; }
.price-card .fine { color: var(--soft); font-size: 14px; margin-top: 14px; }
.shelf h3 { margin-bottom: 6px; }
.shelf > p { color: var(--soft); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.tile { background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 12px 12px 12px; text-align: center; }
.tile img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.tile b { display: block; font-size: 14px; margin-top: 6px; }
.tile span { display: block; color: var(--plum); font-weight: 800; font-size: 14px; }
@media (max-width: 820px) { .price-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.step .n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--plum); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step p { color: var(--ink); margin-top: 0; font-size: 17px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }

/* questions */
.faq { max-width: 760px; margin: 32px auto 0; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 800; font-size: 19px; padding: 16px 36px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 26px; color: var(--plum); font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--soft); padding: 0 0 18px; max-width: 64ch; }

/* footer and the bar that follows you */
#go { padding-top: 40px; }
footer { padding: 40px 0 120px; color: var(--soft); font-size: 14px; text-align: center; }
footer a { color: var(--soft); }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; padding-bottom: env(safe-area-inset-bottom); }
.buybar.on { transform: none; }
.buybar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.buybar b { font-size: 16px; }
.buybar b small { font-weight: 700; color: var(--soft); margin-left: 8px; }
.buybar .btn { padding: 11px 20px; font-size: 15px; }
@media (max-width: 480px) { .buybar b small { display: none; } }

:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }
.hero :focus-visible, .buybar :focus-visible { outline-color: #CDB9FF; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn, .buybar { transition: none; }
}
