/* Ouch Now website, part 2 of 3 (loads after style.css, before style-demos.css): pricing, FAQ, simple pages, cats page. Order matters: later rules win. */
/* ---------- For you + privacy ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { border-radius: var(--radius); padding: 36px; }
.panel.lav { background: var(--lav); }
.panel.mint { background: var(--mint); }
.panel h3 { font-size: 26px; margin: 10px 0 12px; }
.panel p { color: var(--muted); }
.panel ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.panel li { display: flex; gap: 10px; }
.panel li svg { width: 20px; height: 20px; flex: none; stroke: var(--brand); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-top: 3px; }
.maker { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--muted) 25%, transparent); font-size: 15px; color: var(--muted); }
.maker img { width: 44px; height: 44px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .panel { padding: 26px; } }

/* ---------- Pricing ---------- */
.price-card { max-width: 560px; margin: 0 auto; background: var(--card); border-radius: 30px; padding: 40px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-big); text-align: center; position: relative; overflow: hidden; }
.price-wrap { position: relative; max-width: 560px; margin: 110px auto 0; }
.price-wrap .peek { position: absolute; z-index: 0; right: 56px; bottom: calc(100% - 70px); width: 150px; height: auto; }
.price-wrap .price-card { z-index: 1; }
.price-card .amount { font: 800 72px/1 var(--round); color: var(--ink); letter-spacing: -0.04em; margin: 14px 0 4px; }
.price-card .amount small { font-size: 22px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card .once { color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 28px auto; text-align: left; display: grid; gap: 12px; max-width: 360px; }
.price-card li { display: flex; gap: 12px; }
.price-card li svg { width: 20px; height: 20px; flex: none; stroke: var(--brand); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 3px; }
.price-card .ctas { display: grid; gap: 10px; }
.price-card .btn { width: 100%; height: 54px; font-size: 17px; }
.price-card .fine { margin-top: 16px; font-size: 13px; color: var(--muted); }
.buy-error { margin-top: 12px; font-size: 14px; color: #c8302a; min-height: 1em; }
@media (max-width: 520px) { .price-card { padding: 28px 20px; } .price-wrap .peek { width: 110px; right: 28px; bottom: calc(100% - 52px); } }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: var(--radius-s); box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--sans); color: var(--muted); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--muted); }
.faq details > div p + p { margin-top: 10px; }

/* ---------- Download ---------- */
.download { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; background: var(--card); border-radius: 30px; padding: 44px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.download h2 { font-size: clamp(28px, 3.4vw, 38px); margin: 10px 0 12px; }
.download .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.download .req { margin-top: 14px; font-size: 14px; color: var(--muted); }
.install-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.install-steps li { counter-increment: s; display: flex; gap: 14px; align-items: baseline; }
.install-steps li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); font: 700 14px/1 var(--round); color: var(--brand); transform: translateY(4px); }
.install-steps + .hint { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .download { grid-template-columns: 1fr; padding: 28px 22px; } }

/* ---------- Final band ---------- */
.final { text-align: center; padding: 120px 0 40px; }
.final h2 { margin: 0 0 26px; }
.final p { color: var(--muted); font-size: 19px; margin-bottom: 26px; }
.final .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer { max-width: 1120px; margin: 80px auto 0; padding: 28px 24px 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Simple pages (thank-you, legal, 404): the homepage's top bar, headings, cards and footer ---------- */
main.doc, main.thanks { max-width: 760px; margin: 0 auto; padding: 72px 24px 0; }
.page-head { margin-bottom: 40px; }
.page-head h1, .page-head h2 { font-size: clamp(34px, 5vw, 48px); margin: 12px 0 14px; }
.page-head p { color: var(--muted); font-size: 18px; }
.page-head .updated { font-size: 15px; }
@media (max-width: 700px) { main.doc, main.thanks { padding-top: 48px; } .page-head { margin-bottom: 32px; } }

/* Legal pages: the text in one card, left-aligned */
.doc-card { background: var(--card); border-radius: 30px; padding: 40px 44px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-big); }
.doc-card > :first-child { margin-top: 0; }
.doc h2 { font-size: 22px; margin: 38px 0 10px; letter-spacing: -0.01em; }
.doc p { margin: 0 0 14px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 5px 0; }
.whatsnew-date { margin-left: 8px; color: var(--muted); font-size: 15px; font-weight: 500; letter-spacing: 0; }
.doc .note { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 12px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--muted); font-weight: 600; }
@media (max-width: 560px) {
  .doc-card { padding: 28px 20px; border-radius: 24px; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc td { display: block; width: 100%; }
  .doc thead { display: none; }
  .doc tr { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 6px 4px; margin: 0 0 10px; }
  .doc td { border: 0; padding: 4px 10px; }
  .doc td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
}

/* 404: the price card's look, Soba-kun peeking over it */
.notfound .price-wrap, .list-page .price-wrap { margin-top: 80px; }
.notfound h1, .list-page h1 { font-size: clamp(30px, 4.4vw, 40px); margin: 12px 0 8px; }
.notfound .ctas, .list-page .ctas { margin-top: 28px; }
.list-page .error { color: #c8302a; }

/* Thank-you page: the key card (Copy under the key, so a long key never stretches it) */
/* The key card slides up over the bottom of the big picture */
.key-wrap { position: relative; z-index: 1; max-width: 560px; margin: -17% auto 0; } /* % of the width = the same spot on the picture at every size: just below the cats' chins, over their bodies */
.key-wrap .key-card { padding: 32px 36px; }
.key-card .card-head { text-align: center; margin-bottom: 18px; }
.key-card .card-head h1 { font-size: clamp(30px, 4.4vw, 40px); margin: 10px 0 0; }
.key-label { display: block; font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
@media (max-width: 700px) { .key-wrap { padding: 0 12px; } .key-wrap .key-card { padding: 26px 20px; } .key-card .card-head { margin-bottom: 18px; } }
.thanks-hero { margin: 0; border-radius: 30px; overflow: hidden; background: #f3f2f1; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-big); }
.thanks-hero img { display: block; width: 100%; height: auto; aspect-ratio: 2752 / 1460; object-fit: cover; object-position: 50% 100%; } /* a little of the empty top trimmed (owner: keep some white above the cats) */
@media (max-width: 560px) { .thanks-hero { border-radius: 24px; } }
#purchase { padding-top: 0; }
main.thanks:has(#purchase:not([hidden])) { padding-top: 24px; }

.key-card { text-align: left; }
.key-card > .eyebrow, #r-result > .eyebrow { display: block; margin-bottom: 12px; }
.key-code { display: block; padding: 14px 18px; border-radius: 16px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); font: 14px/1.55 var(--mono); color: var(--ink); word-break: break-all; max-height: 10.5em; overflow: auto; }
.key-card .btn { margin-top: 14px; }
.key-status { margin-top: 12px; font-size: 15px; color: var(--muted); text-align: center; }
.key-status:empty { display: none; }
.key-status.error { color: #c8302a; }
.key-card .activate { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.key-card .activate h2 { font-size: 22px; margin: 0 0 16px; }
.key-card ol.howto { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.key-card ol.howto li { counter-increment: s; display: flex; gap: 14px; align-items: baseline; }
.key-card ol.howto li::before { content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); font: 700 13px/1 var(--round); color: var(--brand); transform: translateY(3px); }
.key-card .fine { margin-top: 18px; font-size: 14px; color: var(--muted); }
#purchase + #restore { margin-top: 96px; }
.restore-card #r-result { margin-top: 22px; }
.thanks .help { margin-top: 22px; font-size: 15px; text-align: center; }
.form-row { display: grid; gap: 10px; grid-template-columns: 1fr 1fr auto; }
.form-row input { height: 54px; padding: 0 16px; border-radius: 14px; border: 0; background: var(--bg-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font: 16px var(--sans); min-width: 0; }
.form-row input:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--brand); }
.form-row .btn { height: 54px; width: auto; margin-top: 0; padding: 0 26px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } .form-row .btn { width: 100%; } }

/* Homepage, Download: the email list's sign-up (before the app is out) */
.list-signup { margin-top: 22px; }
.list-form { grid-template-columns: 1fr auto; }
.list-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* a field only bots fill in */
.list-status { text-align: left; }
.list-fine { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .list-form { grid-template-columns: 1fr; } }

.more-link { text-align: center; margin: 44px 0 12px; }
/* Hero: each cat in the picture is a link to its card. Pointing anywhere at the hero shows a soft name tag on every
   cat (outlined in its colour; they fade in one after another); the whole cat is the click area; the hovered one grows
   and shows its arrow. Phones (no hover): the tags stay on. (Band-aid-shaped tags were tried; owner preferred these.) */
.hero-cats { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 2000 / 1240; z-index: 2; pointer-events: none; }
.hero-cat { position: absolute; left: var(--x); top: var(--y); width: 26%; height: 40%; transform: translate(-50%, -50%); pointer-events: auto; text-decoration: none; }
.hero-cat span { position: absolute; left: 50%; top: 50%; white-space: nowrap; display: inline-flex; align-items: center; gap: 0;
  padding: 6px 11px; border-radius: 999px; background: rgb(255 255 255 / .82); color: #1d1a1c; font: 600 13px/1 var(--round);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cat) 70%, transparent), 0 3px 10px rgb(40 30 40 / .12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transform: translate(-50%, -50%) scale(.9);
  transition: opacity .2s, transform .25s var(--ease), background .2s, padding .25s var(--ease); transition-delay: var(--d, 0s); }
.hero-cat span i { font-style: normal; display: inline-block; max-width: 0; overflow: hidden; opacity: 0; transition: max-width .25s var(--ease), opacity .2s, margin .25s; }
.hero-frame:hover .hero-cat span, .hero-frame:focus-within .hero-cat span { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.hero-frame .hero-cat:hover span, .hero-frame .hero-cat:focus-visible span { background: #fff; transform: translate(-50%, -50%) scale(1.08); padding: 7px 13px; transition-delay: 0s; }
.hero-cat:hover span i, .hero-cat:focus-visible span i { max-width: 1.2em; opacity: 1; margin-left: 5px; }
.hero-cat:focus-visible { outline: none; }
.hero-cat:nth-child(2) { --d: .04s; }
.hero-cat:nth-child(3) { --d: .08s; }
.hero-cat:nth-child(4) { --d: .12s; }
.hero-cat:nth-child(5) { --d: .16s; }
@media (hover: none) { .hero-cat span { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@media (max-width: 700px) { .hero-cat span { font-size: 11px; padding: 5px 9px; } }
@media (prefers-reduced-motion: reduce) { .hero-cat span { transition: opacity .2s; } }

/* The end of the page: Soba-kun peeks up from the footer line, with a speech bubble; both lead to his card */
main:has(> .final) + footer { margin-top: 0; } /* Soba-kun sits right on the footer line */
.final { padding-bottom: 0; }
.final-soba { position: relative; display: block; width: 200px; height: 149px; margin: 76px auto 0; text-decoration: none; } /* 149 = the clip's height at 200 px wide */
.final-soba img, .final-soba video { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; }
.final-soba video { opacity: 0; transition: opacity .3s; }
.final-soba.moving video { opacity: 1; }
.final-soba.moving img { opacity: 0; }
.final-soba .bubble { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap; z-index: 1;
  padding: 7px 13px; border-radius: 14px; background: var(--card); color: var(--brand); font: 600 13px/1.2 var(--round);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow); transition: transform .25s var(--ease); }
.final-soba .bubble::after { content: ""; position: absolute; left: 50%; top: 100%; width: 14px; height: 14px; background: var(--card);
  transform: translate(-50%, -7px) rotate(45deg); box-shadow: 1px 1px 0 0 var(--line); }
.final-soba:hover .bubble { transform: translateX(-50%) translateY(-3px); }
/* "Meet the cats": a soft pill with the five cats' faces overlapping, like a group of friends; they hop on hover */
.cat-friends { display: inline-flex; align-items: center; gap: 12px; padding: 9px 20px 9px 11px; border-radius: 999px; text-decoration: none;
  background: var(--card); color: var(--muted); font: 600 15px/1 var(--round); box-shadow: inset 0 0 0 1px var(--line); transition: transform .2s var(--ease); }
.cat-friends:hover { transform: translateY(-2px); }
.cat-friends:active { transform: scale(.97); }
.cat-faces { display: inline-flex; }
.cat-faces img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; margin-left: -8px;
  background: color-mix(in srgb, var(--cat) 26%, var(--card)); box-shadow: 0 0 0 2px var(--card); transition: transform .3s var(--ease); }
.cat-faces img:first-child { margin-left: 0; }
.cat-friends:hover { color: var(--ink); }
.cat-friends:hover .cat-faces img { transform: translateY(-4px); }
.cat-friends:hover .cat-faces img:nth-child(2) { transition-delay: .05s; }
.cat-friends:hover .cat-faces img:nth-child(3) { transition-delay: .1s; }
.cat-friends:hover .cat-faces img:nth-child(4) { transition-delay: .15s; }
.cat-friends:hover .cat-faces img:nth-child(5) { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) { .cat-friends:hover .cat-faces img { transform: none; } }
/* ---------- Cats page: a banner, then a character select (one cat's card at a time) ---------- */
.cats-page { max-width: 1120px; margin: 0 auto; padding: 20px 24px 0; }
/* Banner: the cats peek up from the bottom edge; the words sit in the white space above them */
.cats-banner { position: relative; border-radius: 36px; overflow: hidden; /* the picture's own shading (measured): near white in the middle, a little grey at the edges, so words and picture meet without a seam */
  background: linear-gradient(90deg, #f5f5f5 0%, #fdfdfd 25%, #fdfdfd 50%, #f9f9f9 75%, #efefef 100%); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.04); }
.cats-banner img { display: block; width: 100%; height: auto; aspect-ratio: 2752 / 1000; object-fit: cover; object-position: 50% 100%; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%); mask-image: linear-gradient(to bottom, transparent 0, #000 18%); } /* most of the white above the cats trimmed, its top edge fading into the background */
.cats-banner-copy { position: absolute; left: 0; right: 0; top: 0; height: 44%; padding-top: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 18%; color: #1d1a1c; }
.cats-banner-copy .eyebrow { color: #7b737a; }
.cats-banner-copy h1 { font-size: clamp(28px, 3.6vw, 44px); color: #1d1a1c; margin: 6px 0 6px; }
.cats-banner-copy p { color: #6b636a; font-size: clamp(14px, 1.3vw, 17px); max-width: 40em; }
@media (max-width: 700px) {
  .cats-banner { display: flex; flex-direction: column-reverse; border-radius: 28px; }
  .cats-banner-copy { position: relative; height: auto; padding: 26px 20px 0; }
  .cats-banner-copy h1 { font-size: 32px; margin: 8px 0 8px; }
  .cats-banner-copy p { font-size: 15px; }
  .cats-banner img { aspect-ratio: 2752 / 760; } /* phones: only the strip with the cats, not the white above them */
}

/* Roster: five round faces, the chosen one ringed in its eye colour */
.cat-select { margin-top: 28px; }
.cat-select-title { text-align: center; font: 700 clamp(20px, 2.2vw, 24px)/1.2 var(--round); color: var(--ink); margin: 0 0 4px; }
.roster-row { display: flex; align-items: center; justify-content: center; gap: 14px; }
.roster { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; padding: 16px 10px 10px; }
.roster::-webkit-scrollbar { display: none; }
.pick { flex: none; display: grid; justify-items: center; gap: 8px; border: 0; background: none; padding: 0; cursor: pointer; font: 600 14px/1 var(--round); color: var(--muted); transition: color .2s; }
.pick img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; object-position: 50% 18%;
  background: color-mix(in srgb, var(--cat) 22%, var(--card)); box-shadow: inset 0 0 0 1px var(--line), 0 0 0 0 var(--cat);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.pick:hover img { transform: translateY(-3px); }
.pick[aria-selected="true"] { color: var(--ink); }
.pick[aria-selected="true"] img { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--cat); transform: translateY(-3px) scale(1.06); }
.pick:focus-visible { outline: none; }
.pick:focus-visible img { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--brand); }
.cat-step { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--card); color: var(--ink); cursor: pointer; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow); transition: transform .15s; }
.cat-step:hover { transform: translateY(-1px); }
.cat-step:active { transform: scale(.94); }
.cat-step svg { width: 20px; height: 20px; }

/* The card, like an ID card: a small portrait of the cat beside its tag, name and one-liner; the profile sheet under them */
.cards { max-width: 760px; margin: 16px auto 0; }
.cat-card { display: grid; grid-template-columns: 168px 1fr; column-gap: 26px; align-items: start; padding: 28px; border-radius: 32px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-big); }
.cat-card[hidden] { display: none; }
.cat-card > * { min-width: 0; }
.cat-words { display: contents; } /* its parts sit in the card's grid: tag, name and one-liner beside the portrait; the sheet and button under it */
.cat-card.in-right { animation: card-in-right .45s var(--ease); }
.cat-card.in-left { animation: card-in-left .45s var(--ease); }
@keyframes card-in-right { from { opacity: 0; transform: translateX(28px); } }
@keyframes card-in-left { from { opacity: 0; transform: translateX(-28px); } }
.cat-stage { grid-column: 1; grid-row: 1 / span 3; align-self: stretch; position: relative; width: 168px; min-height: 132px; border-radius: 26px; overflow: hidden; /* as tall as the tag, name and intro beside it (like on phones) */
  background: radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--cat) 36%, var(--card)), color-mix(in srgb, var(--cat) 12%, var(--card)));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cat) 26%, transparent); }
.cat-stage img, .cat-stage video { position: absolute; left: 50%; bottom: 0; width: 120%; height: auto; transform: translateX(-50%); }
.cat-stage video { opacity: 0; transition: opacity .3s; }
.cat-stage.moving video { opacity: 1; }
.cat-stage.moving img { opacity: 0; }
.cat-tag { grid-column: 2; grid-row: 1; justify-self: start; align-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--cat) 16%, var(--card)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cat) 30%, transparent);
  font: 700 14px/1 var(--round); color: var(--ink); transform: rotate(-2deg); }
.cat-tag svg { width: 20px; height: 20px; }
.cat-words h2 { grid-column: 2; font-size: clamp(30px, 3.6vw, 42px); margin: 12px 0 4px; display: flex; align-items: center; gap: 12px; }
.cat-words .eyes { display: inline-flex; gap: 6px; }
.cat-words .eye { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); }
.cat-note { grid-column: 2; align-self: start; color: var(--muted); font-size: 16px; }
.cat-card .profile { grid-column: 1 / -1; margin: 24px 0 0; }
/* Meow: a small round button on the tag's row, not a line of its own */
.cat-card .meow { grid-column: 2; grid-row: 1; justify-self: end; align-self: end; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--card); color: var(--ink); font: 700 14px/1 var(--round); box-shadow: inset 0 0 0 1px var(--line), 0 4px 12px rgb(40 30 40 / .08); transition: transform .15s; }
.cat-card .meow:hover { transform: translateY(-1px); }
.cat-card .meow:active { transform: scale(.95); }
.cat-card .meow svg { width: 18px; height: 18px; }
/* Profile sheet: short labelled rows, like a game's character page */
.profile { margin: 0 0 22px; display: grid; gap: 0; border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.profile > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 10px 16px; align-items: baseline; }
.profile > div:nth-child(odd) { background: color-mix(in srgb, var(--cat) 8%, var(--card)); }
.profile dt { font: 700 13px/1.3 var(--round); letter-spacing: .02em; text-transform: uppercase; color: color-mix(in srgb, var(--cat) 60%, var(--ink)); }
.profile dd { margin: 0; font-size: 15.5px; line-height: 1.4; color: var(--ink); }
.meow.wiggle { animation: meow-wiggle .5s var(--ease); }
@keyframes meow-wiggle { 25% { transform: rotate(-4deg) scale(1.04); } 60% { transform: rotate(3deg) scale(1.02); } }
.cats-pick { max-width: 560px; margin: 72px auto 0; }
.cats-pick .price-card h2 { font-size: clamp(28px, 4vw, 38px); margin: 10px 0 10px; }
.cats-pick .price-card p { color: var(--muted); margin-bottom: 24px; }
@media (max-width: 560px) {
  .cat-card { grid-template-columns: 96px 1fr; column-gap: 16px; padding: 18px; border-radius: 26px; }
  .cat-stage { width: 96px; border-radius: 20px; }
  .cat-tag { font-size: 12px; padding: 6px 11px 6px 8px; }
  .cat-tag svg { width: 16px; height: 16px; }
  .cat-words h2 { font-size: 26px; margin: 8px 0 2px; gap: 8px; }
  .cat-note { font-size: 14px; }
  .cat-card .profile { margin: 18px 0 0; }
  .cat-stage { min-height: 104px; }
  .cat-stage img, .cat-stage video { width: 150%; }
  .cat-card .meow { width: 34px; padding: 0; justify-content: center; }
  .cat-card .meow span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } /* icon only on phones */
}
@media (max-width: 560px) {
  .cat-select { margin-top: 36px; }
  .roster-row .cat-step { display: none; }
  .roster-row { justify-content: flex-start; margin: 0 -24px; }
  .roster { padding: 16px 24px 10px; gap: 14px; }
  .pick img { width: 64px; height: 64px; }
  .profile > div { grid-template-columns: 1fr; gap: 3px; }
}
@media (prefers-reduced-motion: reduce) { .meow.wiggle, .cat-card.in-left, .cat-card.in-right { animation: none; } }

