/* POWSH, il sito: il viola dell'app (#7048ab) e le sue sfumature di lilla; il verde
   solo per il veterinario e POWSHVet, il rosso solo per POWSH Blood.
   Fredoka per i titoli come nelle schermate dello store, Inter per il testo. */

@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/fredoka-latin.99d6c78e04.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.3100e775e8.woff2") format("woff2");
}

:root {
  --purple: #7048ab;
  --purple-dark: #5e3b91;
  --purple-deep: #3b2463;
  --ink: #2b2140;
  --ink-2: #574a6d;
  --line: #e2d9ef;
  --lilac: #f4effb;
  --lilac-2: #e7ddf5;
  --cream: #f6f2eb;
  --cream-2: #efe7da;
  --white: #fff;
  --lilac-3: #d9c8f3;
  --lilac-text: #dcc9fa; /* il lilla chiaro dei titoli sul viola (testo grande, 4,3:1) */
  --lilac-text-2: #e8ddfc; /* il lilla per il testo piu' piccolo sul viola (5:1) */
  --green: #54a16c;
  --green-dark: #2d7446;
  --green-soft: #e6f3ea;
  --red: #c8443c;
  --red-soft: #fdecea;

  --font-head: "Fredoka", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 1px 2px rgba(43, 33, 64, .06), 0 10px 30px rgba(43, 33, 64, .08);
  --shadow-lg: 0 2px 6px rgba(43, 33, 64, .08), 0 24px 60px rgba(59, 36, 99, .18);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --top-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--purple); text-underline-offset: .18em; }
a:hover { color: var(--purple-dark); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 1.25rem + 2.4vw, 3rem); text-wrap: balance; }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 8px; }
.hero :focus-visible, .section--purple :focus-visible, .foot :focus-visible, .page-start :focus-visible { outline-color: var(--lilac-text); }

.i {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 12px; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--white); }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn--sm { min-height: 42px; padding: 0 1.1em; font-size: .9375rem; }
.btn--primary { background: var(--purple); color: var(--white); box-shadow: 0 6px 18px rgba(112, 72, 171, .3); }
.btn--primary:hover { background: var(--purple-dark); color: var(--white); transform: translateY(-1px); }
.btn--ghost { border-color: var(--purple); color: var(--purple); background: transparent; }
.btn--ghost:hover { background: var(--lilac); }

/* ---------- Intestazione ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.top.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(43, 33, 64, .06); }
.top__row { height: var(--top-h); display: flex; align-items: center; gap: 20px; }
.brand { display: block; flex: none; }
.brand__logo { width: auto; height: 30px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: .9375rem;
  padding: 8px 12px; border-radius: 999px;
}
.nav a:hover { background: var(--lilac); color: var(--purple-dark); }
.nav__extra { display: none; }
.top__actions { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 650; font-size: .8125rem; letter-spacing: .04em;
  border: 1.5px solid var(--line);
}
.lang:hover { border-color: var(--purple); color: var(--purple); }
.top__cta-short { display: none; }
.menu-btn {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 14px;
  background: var(--lilac); color: var(--purple-dark); cursor: pointer; place-items: center;
}
.menu-btn .i { width: 22px; height: 22px; }
.menu-btn__close { display: none; }
.top.is-open .menu-btn__open { display: none; }
.top.is-open .menu-btn__close { display: block; }

@media (max-width: 960px) {
  .nav {
    position: absolute; top: var(--top-h); left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px var(--gutter) 18px; margin: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(43, 33, 64, .12);
  }
  .top.is-open .nav { display: flex; }
  .nav a { padding: 14px 14px; font-size: 1.0625rem; border-radius: 14px; }
  .nav__extra { display: block; }
  .nav__extra:first-of-type { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 14px 14px; }
  .top__actions { margin-left: auto; gap: 8px; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 480px) {
  .brand__logo { height: 26px; }
  .top__row { gap: 12px; }
  .top__cta-long { display: none; }
  .top__cta-short { display: inline; }
  .lang { width: 40px; height: 40px; }
  .top__cta { padding: 0 16px; }
}
@media (max-width: 360px) {
  .brand__logo { height: 22px; }
  .top__row { gap: 8px; }
  .top__actions { gap: 6px; }
  .lang { width: 36px; height: 36px; }
  .menu-btn { width: 40px; height: 40px; }
  .top__cta { padding: 0 12px; min-height: 38px; }
}

/* ---------- Apertura ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--purple) url("/assets/img/paws.4178d7d270.svg") repeat;
  background-size: 300px;
  color: var(--white);
  padding: clamp(40px, 6vw, 80px) 0 clamp(96px, 10vw, 140px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 70% at 85% 30%, rgba(220, 201, 250, .16), transparent 70%),
              radial-gradient(50% 60% at 10% 90%, rgba(59, 36, 99, .55), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -2px; height: clamp(48px, 7vw, 96px); z-index: 1;
  background: var(--lilac); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero__kicker {
  display: table; margin-bottom: 18px;
  font: 600 .875rem/1.3 var(--font-body); letter-spacing: .02em;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28);
  padding: 8px 14px; border-radius: 999px;
}
.hero__title { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.1rem); line-height: 1.04; font-weight: 600; letter-spacing: -.015em; }
.hero__soft { color: var(--lilac-text); }
.hero__lead { margin-top: 22px; max-width: 34em; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: #f1ebfa; }
.hero .stores { margin-top: 30px; }
.web-link {
  display: inline-flex; align-items: center; gap: .4em; margin-top: 16px;
  color: var(--white); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45);
}
.web-link:hover { color: var(--lilac-text); text-decoration-color: currentColor; }
.web-link .i { width: 1.05em; height: 1.05em; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; font-size: .9375rem; color: #ece4f8; }
.hero__proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero__proof .i { color: var(--lilac-text); width: 1.1em; height: 1.1em; stroke-width: 2.6; }
.hero__visual { position: relative; justify-self: center; width: min(540px, 100%); }
.hero__phones { width: 100%; filter: drop-shadow(0 30px 50px rgba(30, 14, 56, .45)); }
.sticker {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--ink); font: 600 .9375rem/1 var(--font-body);
  padding: 12px 16px; border-radius: 999px; box-shadow: var(--shadow-lg); white-space: nowrap;
}
.sticker .i { width: 30px; height: 30px; padding: 6px; border-radius: 50%; stroke-width: 2.4; background: var(--lilac); color: var(--purple); }
.sticker--a { right: -3%; top: 3%; animation: float 6s ease-in-out infinite; }
.sticker--b { left: -4%; bottom: 12%; animation: float 6s ease-in-out -3s infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store { display: block; border-radius: 10px; transition: transform .2s; }
.store:hover { transform: translateY(-2px); }
.store img { height: 50px; width: auto; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero__copy { text-align: center; }
  .hero__kicker { margin-left: auto; margin-right: auto; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero .stores, .hero__proof { justify-content: center; }
  .hero__visual { width: min(420px, 88%); }
  .sticker--b { bottom: 3%; }
}
@media (max-width: 420px) {
  .sticker { font-size: .8125rem; padding: 9px 12px 9px 9px; }
  .sticker .i { width: 26px; height: 26px; }
  .sticker--a { right: -5%; }
  .sticker--b { left: -5%; }
}

/* ---------- Sezioni ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.section--soft { background: var(--lilac); }
.section--purple { background: var(--purple) url("/assets/img/paws.4178d7d270.svg") repeat; background-size: 300px; color: var(--white); }
.section--green { background: var(--green-soft); }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__lead { margin-top: 16px; font-size: 1.125rem; color: var(--ink-2); }
.section__head--center .section__lead { margin-left: auto; margin-right: auto; max-width: 40em; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font: 700 .8125rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--purple);
}
.eyebrow--light { color: var(--green-dark); }
.fine { margin-top: 16px; font-size: .875rem; color: var(--ink-2); }

/* Come funziona */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.step {
  position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 34px 28px 30px;
  box-shadow: var(--shadow);
}
.step__n {
  position: absolute; top: 24px; right: 26px;
  font: 600 2.6rem/1 var(--font-head); color: #9d80d2; /* decorativo, ma leggibile (3:1) */
}
/* Dal piu' scuro al piu' chiaro, nell'ordine dei passi (come le card di «Ogni giorno»). */
.step__ico {
  display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 18px;
  background: var(--purple-deep); color: var(--white); margin-bottom: 22px;
}
.step__ico .i { width: 28px; height: 28px; }
.step:nth-child(2) .step__ico { background: var(--purple); }
.step:nth-child(3) .step__ico { background: var(--lilac-2); color: var(--purple-dark); }
.step h3 { margin-bottom: 10px; font-size: 1.375rem; }
.step p { color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; } }

/* Testo e immagine affiancati */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split__visual {
  position: relative; display: grid; place-items: center;
  padding: clamp(28px, 5vw, 56px) 0; border-radius: 40px;
}
.split__visual--deep { background: radial-gradient(closest-side, #f6f1fd, transparent), var(--lilac-2); }
.split__copy h2 { margin-bottom: 18px; }
.split__copy .section__lead { margin: 0 0 28px; }
.ticks { display: grid; gap: 18px; }
.ticks li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; color: var(--ink-2); }
.ticks .i {
  width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--lilac); color: var(--purple);
}
.ticks b { color: var(--ink); display: block; font-size: 1.0625rem; }
.quote {
  margin: 30px 0 0; padding: 22px 26px; border-radius: var(--radius);
  background: var(--purple); color: var(--white);
  font: 500 clamp(1.25rem, 1rem + .9vw, 1.5rem)/1.3 var(--font-head);
  box-shadow: 0 14px 34px rgba(112, 72, 171, .28);
}
.quote b { color: var(--lilac-text-2); font-weight: 600; }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split__visual { order: 2; }
}

/* Le schede con la schermata dell'app (profilo e «Ogni giorno»): la testa sopra, le card a
   sinistra e accanto il telefono con la schermata della card scelta. L'alone dietro il telefono
   e' piu' largo della colonna: la sezione lo taglia, cosi' la pagina non scorre di lato.
   Su un telefono la schermata si apre sotto la sua card (piu' giu'). */
.section--clip { overflow: hidden; }
.feat {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head head" "tabs visual";
  column-gap: clamp(36px, 6vw, 88px); row-gap: 36px; align-items: center;
}
.feat > header { grid-area: head; margin-bottom: 0; }
.profile__head { max-width: 620px; }
.feat__tabs { grid-area: tabs; }
.feat__tab { position: relative; }
.tile__chev { display: none; }
.is-live .feat__tab { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.feat__panels { grid-area: visual; position: relative; display: grid; place-items: center; padding: 24px 12px; }
.feat__panels::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(closest-side, var(--lilac-2), rgba(231, 221, 245, 0));
}
.feat__panel { position: relative; grid-area: 1 / 1; }
.feat__panel[hidden] { display: none; }
.feat__panel:focus-visible { outline-offset: 8px; border-radius: 3.6em; }

/* Le tessere del profilo: la scelta diventa viola. */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tile {
  background: var(--lilac); border-radius: var(--radius); padding: 20px 20px 18px;
  transition: transform .25s, box-shadow .25s, background-color .2s, color .2s;
}
.tile__ico {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--white); color: var(--purple); margin-bottom: 12px;
}
.tile h3 { font-size: 1.125rem; margin-bottom: 4px; }
.tile p { font-size: .9375rem; color: var(--ink-2); line-height: 1.55; }
.is-live .tile:not([aria-selected="true"]):hover { transform: translateY(-3px); box-shadow: var(--shadow); background: var(--lilac-2); }
.tile[aria-selected="true"] { background: var(--purple); color: var(--white); box-shadow: 0 12px 28px rgba(112, 72, 171, .3); }
.tile[aria-selected="true"] p { color: #efe8f9; }

@media (max-width: 860px) {
  /* Le card e le schermate diventano figlie della griglia (display: contents): ogni coppia di
     card ha sotto la sua riga, dove si apre la schermata di quella scelta. */
  .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: none; column-gap: 12px; row-gap: 0; align-items: stretch; }
  .feat > header { grid-area: 1 / 1 / 2 / -1; max-width: none; text-align: center; margin-bottom: 28px; }
  .feat .feat__tabs, .feat .feat__panels { display: contents; }
  .feat__panels::before { content: none; }
  .feat__tab { margin-bottom: 12px; }
  .feat__tab:nth-child(1) { grid-area: 2 / 1; } .feat__tab:nth-child(2) { grid-area: 2 / 2; }
  .feat__tab:nth-child(3) { grid-area: 4 / 1; } .feat__tab:nth-child(4) { grid-area: 4 / 2; }
  .feat__tab:nth-child(5) { grid-area: 6 / 1; } .feat__tab:nth-child(6) { grid-area: 6 / 2; }
  .feat__tab:nth-child(7) { grid-area: 8 / 1; } .feat__tab:nth-child(8) { grid-area: 8 / 2; }
  .feat__panel {
    grid-column: 1 / -1; display: grid; justify-items: center;
    margin: 2px 0 14px; padding: 26px 12px 0; border-radius: var(--radius-lg);
    background: radial-gradient(70% 60% at 50% 45%, var(--lilac-2), var(--lilac));
  }
  .feat__panel:nth-child(1), .feat__panel:nth-child(2) { grid-row: 3; }
  .feat__panel:nth-child(3), .feat__panel:nth-child(4) { grid-row: 5; }
  .feat__panel:nth-child(5), .feat__panel:nth-child(6) { grid-row: 7; }
  .feat__panel:nth-child(7), .feat__panel:nth-child(8) { grid-row: 9; }
  .feat__panel:focus-visible { border-radius: var(--radius-lg); outline-offset: 3px; }
  /* La punta che indica la card scelta. */
  .is-live .feat__panel::before {
    content: ""; position: absolute; top: -9px; left: 25%; width: 22px; height: 10px; transform: translateX(-50%);
    background: var(--lilac); clip-path: polygon(50% 0, 100% 100%, 0 100%);
  }
  .is-live .feat__panel:nth-child(2n)::before { left: 75%; }
  .is-live .tile__chev { display: block; position: absolute; top: 18px; right: 16px; width: 20px; height: 20px; color: var(--purple); transition: transform .25s; }
  .is-live [aria-selected="true"] .tile__chev { transform: rotate(180deg); }
  .is-live .tile[aria-selected="true"] .tile__chev, .is-live .fun__card--deep .tile__chev, .is-live .fun__card--purple .tile__chev { color: var(--white); }
}
@media (max-width: 560px) {
  /* Una colonna: la card e' una riga, e la schermata si apre subito sotto. */
  .feat { grid-template-columns: minmax(0, 1fr); }
  .tile { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 16px 44px 16px 16px; }
  .tile__ico { grid-row: 1 / 3; margin: 0; }
  .tile h3 { align-self: end; margin: 0; }
  .tile p { font-size: .9063rem; line-height: 1.45; }
  .feat__tab { margin-bottom: 10px; }
  .is-live .tile__chev { top: 50%; margin-top: -10px; }
  .feat__tab:nth-child(n) { grid-column: 1; }
  .feat__tab:nth-child(1) { grid-row: 2; } .feat__tab:nth-child(2) { grid-row: 4; } .feat__tab:nth-child(3) { grid-row: 6; } .feat__tab:nth-child(4) { grid-row: 8; }
  .feat__tab:nth-child(5) { grid-row: 10; } .feat__tab:nth-child(6) { grid-row: 12; } .feat__tab:nth-child(7) { grid-row: 14; } .feat__tab:nth-child(8) { grid-row: 16; }
  .feat__panel:nth-child(1) { grid-row: 3; } .feat__panel:nth-child(2) { grid-row: 5; } .feat__panel:nth-child(3) { grid-row: 7; } .feat__panel:nth-child(4) { grid-row: 9; }
  .feat__panel:nth-child(5) { grid-row: 11; } .feat__panel:nth-child(6) { grid-row: 13; } .feat__panel:nth-child(7) { grid-row: 15; } .feat__panel:nth-child(8) { grid-row: 17; }
  .feat__panel { margin-top: 0; }
  .is-live .feat__panel::before, .is-live .feat__panel:nth-child(2n)::before { left: 38px; }
}

/* Dal veterinario */
.vet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.vet h2 { color: var(--ink); }
.hl {
  color: var(--green-dark);
  background: linear-gradient(transparent 62%, rgba(84, 161, 108, .28) 62%, rgba(84, 161, 108, .28) 92%, transparent 92%);
}
.vet__points { display: grid; gap: 12px; margin-top: 26px; }
.vet__points li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; color: var(--ink-2); }
.vet__points .i { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--green); color: var(--white); stroke-width: 3; margin-top: 1px; }
.vet__visual { position: relative; padding-bottom: 70px; }
.vet__photo { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.share-card {
  position: absolute; left: -24px; bottom: 0; width: min(380px, 88%);
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px;
  background: var(--white); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-lg);
}
.share-card__ico {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--green-soft); color: var(--green-dark);
}
.share-card__title { font: 600 1.0625rem/1.25 var(--font-head); }
.share-card__text { margin-top: 4px; font-size: .875rem; line-height: 1.45; color: var(--ink-2); }
.share-card__btn {
  display: inline-block; margin-top: 12px; padding: 9px 16px; border-radius: 999px;
  background: var(--green-dark); color: var(--white); font-weight: 600; font-size: .875rem;
}
@media (max-width: 900px) {
  .vet { grid-template-columns: minmax(0, 1fr); }
  .share-card { left: 12px; }
}

/* E se anche il tuo veterinario usasse POWSHVet? */
.vetlink {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center;
  margin-top: clamp(40px, 6vw, 64px); padding: clamp(24px, 4vw, 36px) clamp(22px, 4vw, 40px);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.vetlink__label { font: 700 .8125rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 10px; }
.vetlink h3 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); }
.vetlink__copy p:last-child { margin-top: 10px; color: var(--ink-2); max-width: 40em; }
.vetlink__actions { display: grid; gap: 12px; justify-items: stretch; min-width: 300px; }
.vetlink .btn { min-height: 52px; padding: 10px 22px; line-height: 1.25; text-align: center; }
.btn--vet { background: var(--green-dark); color: var(--white); box-shadow: 0 6px 18px rgba(45, 116, 70, .28); }
.btn--vet:hover { background: #245e39; color: var(--white); }
.btn--vet-ghost { border-color: rgba(45, 116, 70, .45); color: var(--green-dark); background: transparent; }
.btn--vet-ghost:hover { border-color: var(--green-dark); color: var(--green-dark); background: var(--green-soft); }
.recommend summary { list-style: none; width: 100%; }
.recommend summary::-webkit-details-marker { display: none; }
.recommend[open] summary { border-radius: 24px 24px 0 0; }
.recommend__choices {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  padding: 10px; border: 2px solid var(--green-dark); border-top: 0; border-radius: 0 0 20px 20px;
}
.recommend__opt {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 12px;
  border-radius: 14px; background: var(--green-soft); color: var(--green-dark); font-weight: 600; text-decoration: none;
}
.recommend__opt:hover { background: #d4ebdb; color: var(--green-dark); }
@media (max-width: 860px) {
  .vetlink { grid-template-columns: minmax(0, 1fr); }
  .vetlink__actions { min-width: 0; }
}
@media (max-width: 420px) { .recommend__choices { grid-template-columns: minmax(0, 1fr); } }

/* Pet parent migliore: le quattro card dal viola piu' scuro al bianco. */
.fun { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fun__card { border-radius: var(--radius-lg); padding: 28px 24px; min-height: 230px; display: flex; flex-direction: column; }
.fun__card h3 { font-size: 1.375rem; margin: 18px 0 8px; }
.fun__card p { font-size: .9688rem; line-height: 1.55; }
.fun__ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .22); }
.fun__ico .i { width: 26px; height: 26px; }
.fun__card--purple { background: var(--purple); color: var(--white); }
.fun__card--purple p, .fun__card--deep p { color: #efe8f9; }
.fun__card--deep { background: var(--purple-deep); color: var(--white); }
.fun__card--deep .fun__ico { background: rgba(255, 255, 255, .16); }
.fun__card--lilac { background: var(--lilac-2); color: var(--ink); }
.fun__card--lilac .fun__ico { background: var(--white); color: var(--purple); }
.fun__card--lilac p { color: var(--ink-2); }
.fun__card--white { background: var(--white); color: var(--ink); border: 2px solid var(--lilac-2); }
.fun__card--white .fun__ico { background: var(--lilac); color: var(--purple); }
.fun__card--white p { color: var(--ink-2); }
/* Accanto al telefono le card stanno in due colonne; la scelta ha un anello viola. */
.feat .fun { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feat--fun > header { max-width: 760px; }
.fun__card { transition: transform .25s, box-shadow .25s; }
.is-live .fun__card:not([aria-selected="true"]):hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fun__card[aria-selected="true"] { box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--purple), 0 14px 30px rgba(59, 36, 99, .22); }
@media (max-width: 1000px) { .fun { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fun { grid-template-columns: minmax(0, 1fr); } .fun__card { min-height: 0; padding: 22px 48px 22px 20px; } .fun__card h3 { margin-top: 14px; } }

/* POWSH Blood */
.donate { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.eyebrow--blood { display: inline-flex; align-items: center; gap: 8px; color: var(--red); }
.eyebrow--blood .i { width: 1.15em; height: 1.15em; }
.hl-red { color: var(--red); }
.blood-brand { display: block; }
.blood-brand__logo { display: block; width: auto; height: 36px; }
.donate__strong { margin-top: 18px; font: 600 1.25rem/1.35 var(--font-head); color: var(--ink); }
.donate__strong + .section__lead { margin-top: 10px; }
.donate__steps { display: grid; gap: 18px; margin-top: 30px; }
.donate__gesture { margin-top: 26px; font: 600 1.125rem/1.35 var(--font-head); color: var(--ink); }
.donate__steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.donate__n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--red-soft); color: var(--red); font: 600 1.125rem/1 var(--font-head);
}
.donate__steps b { display: block; font-size: 1.0625rem; }
.donate__steps p { color: var(--ink-2); font-size: .9688rem; }
.donate__points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.donate__points li {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: var(--lilac); color: var(--ink); font-size: .9063rem; font-weight: 550;
}
.donate__points .i { color: var(--purple); width: 1.1em; height: 1.1em; }
.donate__visual { --bw: 236px; position: relative; display: grid; justify-items: center; }
.donate-card {
  position: relative; width: min(400px, 100%); background: #efe6fa; border-radius: 28px; padding: 30px 28px 26px;
  box-shadow: 0 18px 44px rgba(59, 36, 99, .14);
}
.donate-card__eyebrow {
  display: flex; align-items: center; gap: 10px; color: var(--purple);
  font: 600 .9375rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
}
.donate-card__eyebrow .i { width: 1.35em; height: 1.35em; }
.donate-card__title { margin-top: 18px; font: 600 clamp(1.7rem, 1.4rem + 1vw, 2rem)/1.15 var(--font-head); color: var(--purple-deep); }
.donate-card__text { margin-top: 12px; font-size: 1.125rem; color: #4d3a73; }
.donate-card__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px;
  padding: 18px 22px; border-radius: 18px; background: var(--purple); color: var(--white);
  font: 600 1.125rem/1.25 var(--font-body); text-decoration: none;
  box-shadow: 0 10px 24px rgba(112, 72, 171, .3); transition: background-color .2s, transform .2s;
}
.donate-card__btn:hover { background: var(--purple-dark); color: var(--white); transform: translateY(-1px); }
.donate-card__note { margin-top: 14px; font-size: .875rem; color: #5b4a7c; }
/* Sopra il riquadro viola, il telefono che racconta da solo cosa succede (blood-story.html).
   Il riquadro sale sul telefono e ne copre il 26 % in basso, la parte vuota sotto «Non posso»:
   la notifica e la richiesta restano tutte in vista. */
.blood-demo { position: relative; }
.phone.phone--blood { --w: var(--bw); height: calc(var(--w) * 2.05); -webkit-mask-image: none; mask-image: none; }
.blood-demo + .donate-card { z-index: 2; margin-top: calc(var(--bw) * 2.05 * -.26); }
@media (max-width: 400px) { .donate__visual { --bw: 220px; } }

/* La richiesta nell'app (BloodAlertDetail). */
.br__clinic { display: flex; align-items: center; gap: calc(12 * var(--u)); }
.br__logo { display: grid; place-items: center; flex: none; width: calc(56 * var(--u)); height: calc(56 * var(--u)); border-radius: calc(16 * var(--u)); background: #f3eefb; color: var(--purple); }
.app .br__logo .i { width: calc(24 * var(--u)); height: calc(24 * var(--u)); }
.br__who { min-width: 0; }
.br__name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: calc(15 * var(--u)); font-weight: 600; color: #2a1d40; }
.br__addr { display: flex; align-items: center; gap: calc(4 * var(--u)); font-size: calc(13 * var(--u)); line-height: calc(20 * var(--u)); color: #6a6a72; }
.br__addr span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app .br__addr .i { flex: none; width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.br__tags { display: flex; flex-wrap: wrap; align-items: center; gap: calc(8 * var(--u)); margin-top: calc(16 * var(--u)); font-size: calc(14 * var(--u)); color: #52525b; }
.br__urg { padding: calc(4 * var(--u)) calc(12 * var(--u)); border-radius: 999px; background: #fdecec; color: #b42318; font-weight: 600; }
.br__h { display: flex; align-items: flex-start; gap: calc(8 * var(--u)); margin-top: calc(12 * var(--u)); font: 400 calc(22 * var(--u))/calc(28 * var(--u)) var(--app-head); color: #2a1d40; }
.app .br__h .i { flex: none; width: calc(20 * var(--u)); height: calc(20 * var(--u)); margin-top: calc(4 * var(--u)); color: #c0392b; }
.br__for { margin-top: calc(8 * var(--u)); font-size: calc(15 * var(--u)); line-height: calc(24 * var(--u)); color: #3f3f46; }
.br__dl { margin-top: calc(20 * var(--u)); padding: calc(12 * var(--u)) calc(16 * var(--u)); border: 2px solid #efe8f8; border-radius: calc(24 * var(--u)); }
.br__dt { font-size: calc(12 * var(--u)); font-weight: 600; letter-spacing: .025em; text-transform: uppercase; color: #6f6191; }
.br__dd { margin-top: calc(2 * var(--u)); font-size: calc(15 * var(--u)); line-height: calc(24 * var(--u)); color: #2a1d40; }
.br__disc { margin-top: calc(12 * var(--u)); font-size: calc(13 * var(--u)); line-height: calc(20 * var(--u)); color: #6a6a72; }
.br__yes, .br__no { display: grid; place-items: center; height: calc(56 * var(--u)); border-radius: 999px; font-size: calc(18 * var(--u)); font-weight: 600; }
.br__yes { margin-top: calc(24 * var(--u)); background: var(--purple); color: var(--white); }
.br__no { margin-top: calc(12 * var(--u)); border: 2px solid #d6c8ee; color: #3b2566; }

/* La schermata di blocco e la notifica. Fermi (con il movimento ridotto, senza script, fuori
   schermo) si vede la richiesta con la notifica sopra; in movimento, in un ciclo di 10 secondi: la schermata di
   blocco, la notifica che sale, il tocco, la richiesta che si apre, una pausa, da capo. */
.lock {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; padding-top: 4.2em;
  background: var(--purple-deep) url("/assets/img/paws.4178d7d270.svg") repeat; background-size: 14em; color: var(--white);
  opacity: 0; visibility: hidden;
}
.phone .lock__ico { width: 1.2em; height: 1.2em; opacity: .85; }
.lock__time { margin-top: .25em; font: 600 4.4em/1 var(--font-body); letter-spacing: -.02em; }
.bnotif {
  position: absolute; z-index: 3; left: .7em; right: .7em; top: 3.4em; display: grid; gap: .2em;
  padding: .85em 1em; border-radius: 1.5em; background: rgba(255, 255, 255, .97);
  box-shadow: 0 .6em 1.6em rgba(30, 14, 56, .28); font-size: .86em; line-height: 1.35; color: var(--ink-2);
}
.bnotif__app { display: flex; align-items: center; gap: .55em; font-size: .82em; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.bnotif__app img { width: 1.5em; height: 1.5em; border-radius: .4em; }
.bnotif__app i { margin-left: auto; font-style: normal; font-weight: 500; text-transform: none; letter-spacing: 0; }
.bnotif__title { display: flex; align-items: flex-start; gap: .45em; font-size: 1.04em; font-weight: 650; line-height: 1.3; color: var(--ink); }
.bnotif__title img { flex: none; width: .75em; height: 1em; margin-top: .15em; }
.bnotif::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 3.6em; height: 3.6em; margin: -1.8em 0 0 -1.8em;
  border-radius: 50%; background: rgba(43, 33, 64, .3); opacity: 0;
}
/* Il ciclo gira solo quando il telefono si vede (is-playing, dallo script): nel caricamento non
   costa niente, e ogni volta che torna sullo schermo ricomincia dalla schermata di blocco. */
.is-playing .lock { animation: blood-lock 10s infinite; }
.is-playing .bnotif { animation: blood-notif 10s infinite; }
.is-playing .bnotif::after { animation: blood-tap 10s infinite; }
@keyframes blood-lock {
  0%, 33% { opacity: 1; visibility: visible; transform: none; }
  38%, 93% { opacity: 0; visibility: hidden; transform: scale(1.05); }
  97%, 100% { opacity: 1; visibility: visible; transform: none; }
}
@keyframes blood-notif {
  0%, 7% { opacity: 0; transform: translateY(13em) scale(.94); }
  12%, 29% { opacity: 1; transform: translateY(11em); }
  31% { opacity: 1; transform: translateY(11em) scale(.96); }
  33% { opacity: 1; transform: translateY(11em); }
  37%, 100% { opacity: 0; transform: translateY(11em) scale(1.04); }
}
@keyframes blood-tap { 0%, 29% { opacity: 0; transform: scale(.3); } 30% { opacity: 1; transform: scale(.5); } 34%, 100% { opacity: 0; transform: scale(1.6); } }
@media (max-width: 900px) {
  .donate { grid-template-columns: minmax(0, 1fr); }
}

/* Chi siamo */
.story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.story__photo { position: relative; margin: 0; }
.story__photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.story__photo figcaption {
  position: absolute; left: 20px; bottom: 20px;
  background: var(--white); color: var(--ink); font: 600 1rem/1 var(--font-head);
  padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow);
}
.story__copy h2 { margin-bottom: 20px; }
.story__copy p + p { margin-top: 16px; }
.story__copy p { color: var(--ink-2); }
@media (max-width: 900px) { .story { grid-template-columns: minmax(0, 1fr); } .story__photo { max-width: 560px; } }

/* Ogni storia conta: una striscia compatta. */
.counts { padding: clamp(48px, 6vw, 76px) 0; }
.counts__row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
.counts__img { width: clamp(120px, 14vw, 176px); border-radius: 50%; border: 6px solid rgba(255, 255, 255, .9); box-shadow: 0 16px 40px rgba(30, 14, 56, .35); background: var(--white); }
.counts h2 { font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.5rem); }
.counts p { margin-top: 14px; font-size: 1.0625rem; color: #efe8f9; max-width: 46em; }
.counts p.counts__payoff { margin-top: 16px; font: 600 1.25rem/1.3 var(--font-head); color: var(--lilac-text-2); }
@media (max-width: 700px) {
  .counts__row { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .counts p { margin-left: auto; margin-right: auto; }
}

/* Privacy */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust li { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.trust__ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--lilac); color: var(--purple); margin-bottom: 14px; }
.trust h3 { font-size: 1.125rem; margin-bottom: 6px; }
.trust p { font-size: .9375rem; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 1000px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trust { grid-template-columns: minmax(0, 1fr); } }

/* Domande */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--top-h) + 32px); margin-bottom: 0; }
.faq__list { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 18px; box-shadow: 0 1px 2px rgba(43, 33, 64, .05); border: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font: 600 1.0938rem/1.35 var(--font-head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--purple); transition: transform .25s; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); }
.faq summary:hover { color: var(--purple-dark); }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } .faq__head { position: static; } }

/* Scarica */
.cta__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.cta h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
.cta p { margin-top: 14px; font-size: 1.125rem; color: #efe8f9; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.cta .store img { height: 64px; }
.cta__web {
  display: inline-flex; align-items: center; gap: 10px; min-height: 64px; padding: 0 26px; border-radius: 14px;
  background: var(--white); color: var(--purple-dark); font: 600 1.125rem/1.2 var(--font-body); text-decoration: none;
  box-shadow: 0 10px 24px rgba(30, 14, 56, .25); transition: transform .2s, background-color .2s;
}
.cta__web:hover { background: var(--lilac); color: var(--purple-dark); transform: translateY(-2px); }
.cta__web .i { width: 1.4em; height: 1.4em; }
.cta__qr { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 20px 20px 16px; text-align: center; box-shadow: var(--shadow-lg); }
.cta__qr img { width: 160px; height: 160px; margin-inline: auto; }
.cta__qr p { margin-top: 10px; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
@media (max-width: 760px) {
  .cta__row { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .cta__actions, .cta .stores { justify-content: center; }
  .cta__qr { display: none; }
}

/* ---------- Piede ---------- */
.foot { background: var(--purple-deep); color: #d8cceb; padding: 64px 0 28px; font-size: .9375rem; }
.foot a { color: #efe8f9; text-decoration: none; }
.foot a:hover { color: var(--lilac-text); text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot__logo img { height: 30px; width: auto; }
.foot__brand p { margin-top: 16px; max-width: 26em; line-height: 1.55; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .1); }
.social a:hover { background: rgba(255, 255, 255, .2); text-decoration: none; }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__title { color: var(--white); font: 600 1rem/1.2 var(--font-head); margin-bottom: 4px; }
.foot__title--gap { margin-top: 14px; }
.foot__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .8438rem; color: #bfb0d6;
}
@media (max-width: 900px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .foot__grid { grid-template-columns: minmax(0, 1fr); } }

.foot__legal a, .start__foot a, .crumbs a { display: inline-block; padding: 6px 2px; margin: -6px -2px; }

/* ---------- Il telefono disegnato ---------- */
.phone {
  --w: 290px;
  position: relative; z-index: 1; width: var(--w); height: calc(var(--w) * 2.16); flex: none;
  font-size: calc(var(--w) / 22); padding: .62em; border-radius: 3.2em; background: #1c1527;
  box-shadow: inset 0 0 0 .16em #3c3349, 0 30px 60px rgba(59, 36, 99, .28);
}
.phone__screen { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 2.6em; background: var(--white); }
.phone__bar {
  position: relative; flex: none; display: flex; align-items: center; justify-content: space-between;
  height: 3.2em; padding: .4em 1.9em 0 2.2em; font: 600 .95em/1 var(--font-body); color: var(--ink);
}
.phone__island { position: absolute; left: 50%; top: .78em; width: 6.6em; height: 1.9em; transform: translateX(-50%); border-radius: 1em; background: #1c1527; }
.phone__sys { width: 3.3em; height: 1em; fill: currentColor; }
.phone .i { width: 1.25em; height: 1.25em; }
/* Il telefono delle schede del profilo: tagliato in basso, dove la schermata sfuma. */
.phone--app {
  height: calc(var(--w) * 1.95);
  -webkit-mask-image: linear-gradient(#000 80%, transparent 99%); mask-image: linear-gradient(#000 80%, transparent 99%);
}
@media (min-width: 961px) { .phone--app { --w: 330px; } }
@media (max-width: 400px) { .phone { --w: 268px; } }
@media (max-width: 340px) { .phone { --w: 252px; } }

/* ---------- Le schermate dell'app ----------
   Rifatte dalle pagine di powsh-frontend con i loro colori e le loro misure, scritte in pixel
   dell'app: --u e' un pixel di uno schermo largo 390, qualunque sia la larghezza del telefono
   disegnato (le unita' cqw si misurano sullo schermo, che e' il contenitore). Titoli in
   Cherry Bomb One, come nell'app; testo in Inter. I grigi, i verdi del testo e il verde del
   pulsante «Dato» sono un filo piu' scuri di quelli dell'app: cosi' anche il testo nei telefoni
   passa il contrasto AA (4,5:1). */
@font-face {
  font-family: "Cherry Bomb One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/cherry-bomb-one-latin.2eeca5df81.woff2") format("woff2");
}
.phone--app .phone__screen { container-type: inline-size; }
.app {
  --u: calc(100cqw / 390);
  --app-head: "Cherry Bomb One", var(--font-head);
  position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--white);
  color: #0b0b0b; font: 400 calc(14 * var(--u))/1.5 var(--font-body); text-align: left; letter-spacing: 0;
}
.app p { margin: 0; }
.app .i { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
.app__head {
  display: flex; align-items: center; gap: calc(12 * var(--u)); min-height: calc(60 * var(--u));
  padding: calc(8 * var(--u)) calc(20 * var(--u)); border-bottom: 1px solid #f3f4f6;
}
.app__back, .app__add { display: grid; place-items: center; flex: none; width: calc(44 * var(--u)); height: calc(44 * var(--u)); border-radius: 50%; }
.app__back { background: #f4f4f5; color: #3f3f46; }
.app__back .i { width: calc(19 * var(--u)); height: calc(19 * var(--u)); }
.app__add { background: var(--purple); color: var(--white); }
.app__title {
  flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font: 400 calc(22 * var(--u))/1.3 var(--app-head); color: var(--purple);
}
.app__main { padding: calc(24 * var(--u)) calc(20 * var(--u)) 0; }
.app__strip {
  display: flex; align-items: center; gap: calc(10 * var(--u)); margin-bottom: calc(14 * var(--u));
  font-size: calc(13 * var(--u)); color: #6a6a72; white-space: nowrap;
}
.app__strip span { overflow: hidden; text-overflow: ellipsis; }
.app__avatar { flex: none; width: calc(32 * var(--u)); height: calc(32 * var(--u)); border-radius: 50%; object-fit: cover; background: #ede4ff; }
.app__intro { margin-bottom: calc(14 * var(--u)); font-size: calc(12.5 * var(--u)); color: #6a6a72; }
.app__h2 { margin-bottom: calc(10 * var(--u)); font: 400 calc(17 * var(--u))/1.4 var(--app-head); color: var(--purple); }
.app__h2--gap { margin-top: calc(18 * var(--u)); }
.app__list > * + * { margin-top: calc(10 * var(--u)); }
.app__row {
  display: flex; align-items: center; gap: calc(12 * var(--u)); padding: calc(14 * var(--u));
  border: 1px solid #eceaf1; border-radius: calc(22 * var(--u)); background: #f6f5f9;
}
.app .app__row-ico { flex: none; width: calc(24 * var(--u)); height: calc(24 * var(--u)); color: var(--purple); stroke-width: 1.5; }
.app__row-body { flex: 1; min-width: 0; }
.app__row-title { font-size: calc(14.5 * var(--u)); font-weight: 700; line-height: 1.375; }
.app__row-meta { margin-top: calc(2 * var(--u)); font-size: calc(12.5 * var(--u)); color: #6a6a72; }
.app__badges { margin-top: calc(8 * var(--u)); }
.app__badge {
  display: inline-block; padding: calc(4 * var(--u)) calc(10 * var(--u)); border-radius: 999px;
  font-size: calc(11 * var(--u)); font-weight: 600; line-height: 1.5; white-space: nowrap;
}
.app__badge--ok { background: #e3f3e8; color: #3b724f; }
.app__pen, .app__go {
  display: grid; place-items: center; flex: none; width: calc(26 * var(--u)); height: calc(26 * var(--u));
  border-radius: 50%; background: var(--white); color: var(--purple); box-shadow: 0 1px 3px rgba(11, 11, 11, .1);
}
.app__pen .i, .app__go .i { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.app__note { margin-bottom: calc(18 * var(--u)); padding: calc(16 * var(--u)); border-radius: calc(22 * var(--u)); }
.app__note--amber { border: 1px solid #ffe2ab; background: #fff8e8; }
.app__note--gap { margin-top: calc(18 * var(--u)); }
.app__kicker { font-size: calc(11.5 * var(--u)); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a5a00; }
.app__kicker--purple { color: var(--purple); }
.app__note-title { margin-top: calc(4 * var(--u)); font-size: calc(16 * var(--u)); font-weight: 700; }
.app__note-meta { margin-top: calc(2 * var(--u)); font-size: calc(12.5 * var(--u)); color: #6a6a72; }
.app__pill {
  display: inline-flex; align-items: center; gap: calc(4 * var(--u)); flex: none; padding: calc(6 * var(--u)) calc(12 * var(--u));
  border: 1px solid #e4e4e7; border-radius: 999px; background: var(--white); font-size: calc(12 * var(--u)); font-weight: 600; color: #52525b;
}
.app__pill .i { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.app__dash {
  display: grid; justify-items: center; gap: calc(6 * var(--u)); margin-top: calc(14 * var(--u)); padding: calc(20 * var(--u));
  border: 1.5px dashed #c4b5e0; border-radius: calc(22 * var(--u)); background: #f8f5fc; text-align: center;
}
.app__dash .i { width: calc(24 * var(--u)); height: calc(24 * var(--u)); color: var(--purple); stroke-width: 1.5; }
.app__dash-title { font-size: calc(13.5 * var(--u)); font-weight: 600; color: var(--purple); }
.app__dash-text { font-size: calc(12 * var(--u)); color: #6a6a72; }

/* Health check: il questionario (pagina /health-check) e la schermata finale. */
.hc > * + * { margin-top: calc(16 * var(--u)); }
.hc__intro { padding: calc(8 * var(--u)) 0 calc(4 * var(--u)); }
.hc__q { font-size: calc(16 * var(--u)); font-weight: 600; color: #111827; }
.hc__hint { font-size: calc(14 * var(--u)); color: #6a6a72; }
.hc__card { padding: calc(16 * var(--u)); border-radius: calc(22 * var(--u)); background: #f6f5f9; }
.hc__title { font-size: calc(15 * var(--u)); font-weight: 600; color: #111827; }
.hc__sub { margin-top: calc(2 * var(--u)); font-size: calc(12 * var(--u)); line-height: 1.33; color: #6a6a72; }
.hc__body { margin-top: calc(12 * var(--u)); }
.hc__last { margin-bottom: calc(12 * var(--u)); font-size: calc(12 * var(--u)); color: #6a6a72; }
.hc__last b { font-weight: 600; color: #111827; }
.hc__ask { margin-bottom: calc(8 * var(--u)); font-size: calc(14 * var(--u)); color: #374151; }
.hc__chips { display: flex; flex-wrap: wrap; gap: calc(8 * var(--u)); }
.hc__chips--gap { margin-bottom: calc(12 * var(--u)); }
.hc__chip {
  position: relative; padding: calc(8 * var(--u)) calc(16 * var(--u)); border-radius: 999px;
  background: #f3f4f6; color: #4b5563; font-size: calc(14 * var(--u)); font-weight: 500; line-height: 1.43; white-space: nowrap;
}
.hc__chip--on { background: var(--purple); color: var(--white); }
.hc__more { overflow: hidden; max-height: calc(120 * var(--u)); }
.hc__range { position: relative; display: block; height: calc(16 * var(--u)); }
.hc__fill { position: absolute; left: 0; right: 0; top: 50%; height: calc(4 * var(--u)); margin-top: calc(-2 * var(--u)); border-radius: 99px; background: linear-gradient(90deg, var(--purple) 50%, #e5e7eb 50%); }
.hc__thumb { position: absolute; left: 50%; top: 0; width: calc(16 * var(--u)); height: calc(16 * var(--u)); margin-left: calc(-8 * var(--u)); border-radius: 50%; background: var(--purple); }
.hc__ends { display: flex; justify-content: space-between; margin-top: calc(4 * var(--u)); font-size: calc(11 * var(--u)); color: #6a6a72; }
.hc__val { display: block; margin-top: calc(4 * var(--u)); text-align: center; font-size: calc(12 * var(--u)); font-weight: 600; color: var(--purple); }
.hc__done {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: calc(48 * var(--u)) calc(20 * var(--u)) 0;
  background: var(--white); text-align: center; opacity: 0; visibility: hidden;
}
.hc__party { font-size: calc(48 * var(--u)); line-height: 1; margin-bottom: calc(16 * var(--u)); }
.hc__done-title { margin-bottom: calc(8 * var(--u)); font-size: calc(24 * var(--u)); font-weight: 600; line-height: 1.33; color: #111827; }
.hc__done-text { margin-bottom: calc(4 * var(--u)); font-size: calc(16 * var(--u)); color: #6a6a72; }
.hc__done-small { margin-bottom: calc(24 * var(--u)); font-size: calc(14 * var(--u)); color: #6a6a72; }
.hc__done-box { display: grid; gap: calc(8 * var(--u)); padding: calc(20 * var(--u)); border-radius: calc(22 * var(--u)); background: #f6f5f9; font-size: calc(15 * var(--u)); font-weight: 500; color: #111827; }

/* La card Health check della pagina Salute (HealthCheckCard). */
.hcc { margin-bottom: calc(18 * var(--u)); padding: calc(16 * var(--u)); border: 2px solid rgba(112, 72, 171, .2); border-radius: calc(16 * var(--u)); background: #f8f5fc; }
.hcc__top { display: flex; align-items: flex-start; gap: calc(12 * var(--u)); }
.hcc__ico { display: grid; place-items: center; flex: none; width: calc(44 * var(--u)); height: calc(44 * var(--u)); border-radius: 50%; background: var(--purple); color: var(--white); }
.hcc__body { flex: 1; min-width: 0; }
.hcc__title { font-size: calc(14 * var(--u)); font-weight: 700; color: #111827; }
.app .hcc__badge { margin-left: calc(4 * var(--u)); padding: calc(2 * var(--u)) calc(8 * var(--u)); font-weight: 700; }
.hcc__text { margin-top: calc(4 * var(--u)); font-size: calc(12 * var(--u)); line-height: 1.625; color: #4b5563; }
.hcc__meta { display: flex; flex-wrap: wrap; gap: calc(4 * var(--u)) calc(16 * var(--u)); margin-top: calc(8 * var(--u)); font-size: calc(11 * var(--u)); color: #6a6a72; }
.hcc__meta span { display: inline-flex; align-items: center; gap: calc(4 * var(--u)); }
.app .hcc__meta .i { width: calc(12 * var(--u)); height: calc(12 * var(--u)); }
.hcc__btn {
  display: flex; align-items: center; justify-content: center; gap: calc(4 * var(--u)); min-height: calc(44 * var(--u)); margin-top: calc(12 * var(--u));
  border-radius: 999px; background: var(--purple); color: var(--white); font-size: calc(15 * var(--u)); font-weight: 600;
}
.app .hcc__btn .i { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }

/* La chat che porta al sintomo nuovo (pagina /chat, MessageBubble). */
.sx-chat { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--white); opacity: 0; visibility: hidden; }
.chat__head { display: flex; align-items: center; gap: calc(8 * var(--u)); min-height: calc(64 * var(--u)); padding: 0 calc(20 * var(--u)) 0 calc(14 * var(--u)); border-bottom: 1px solid #f3f4f6; }
.app .chat__menu { color: #4b5563; }
.chat__logo { width: auto; height: calc(32 * var(--u)); }
.chat__icons { display: flex; align-items: center; gap: calc(16 * var(--u)); margin-left: auto; color: #4b5563; }
.chat__me { display: grid; place-items: center; width: calc(32 * var(--u)); height: calc(32 * var(--u)); border-radius: 50%; background: var(--purple); color: var(--white); }
.app .chat__me .i { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
.chat__body { display: flex; flex-direction: column; gap: calc(16 * var(--u)); padding: calc(20 * var(--u)) calc(16 * var(--u)); }
.chat__me-msg {
  align-self: flex-end; max-width: 80%; padding: calc(12 * var(--u)) calc(16 * var(--u)); border-radius: calc(24 * var(--u)); border-top-right-radius: 0;
  background: var(--purple); color: var(--white); font-size: calc(14 * var(--u)); line-height: 1.625; box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.chat__bot { display: flex; align-items: flex-end; gap: calc(8 * var(--u)); max-width: 88%; }
.chat__bot img { flex: none; width: calc(32 * var(--u)); height: calc(32 * var(--u)); margin-bottom: calc(4 * var(--u)); border-radius: 50%; }
.chat__bot p {
  padding: calc(12 * var(--u)) calc(16 * var(--u)); border-radius: calc(24 * var(--u)); border-bottom-left-radius: 0;
  background: #f4f0f8; color: #111827; font-size: calc(14 * var(--u)); line-height: 1.625; box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

/* Terapie (TherapiesDetail): la terapia della clinica e' verde, come nell'app. */
.rx { padding: calc(16 * var(--u)); border: 1px solid #cfe4d6; border-radius: calc(24 * var(--u)); background: #eaf4ed; }
.rx__clinic { font-size: calc(13 * var(--u)); font-weight: 600; color: #3b724f; }
.rx__top { display: flex; align-items: flex-start; gap: calc(12 * var(--u)); margin-top: calc(10 * var(--u)); }
.rx__ico { display: grid; place-items: center; flex: none; width: calc(40 * var(--u)); height: calc(40 * var(--u)); margin-top: calc(2 * var(--u)); border-radius: calc(16 * var(--u)); background: var(--white); color: #3b724f; }
.rx__body { flex: 1; min-width: 0; }
.rx__name { font: 500 calc(18 * var(--u))/1.375 var(--font-head); }
.rx__line { font-size: calc(14.5 * var(--u)); line-height: calc(24 * var(--u)); color: #27272a; }
.rx__until { font-size: calc(13 * var(--u)); color: #3b724f; }
.rx__notes { margin-top: calc(4 * var(--u)); font-size: calc(13 * var(--u)); font-style: italic; color: #52525b; }
.rx__next { display: grid; margin-top: calc(12 * var(--u)); padding: calc(10 * var(--u)) calc(14 * var(--u)); border-radius: calc(16 * var(--u)); background: var(--white); font-size: calc(14 * var(--u)); font-weight: 600; }
.rx__given {
  position: relative; display: flex; align-items: center; justify-content: center; gap: calc(8 * var(--u)); min-height: calc(48 * var(--u)); margin-top: calc(12 * var(--u));
  border-radius: calc(16 * var(--u)); background: #41814f; color: var(--white); font-size: calc(16 * var(--u)); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.rx__status { display: grid; margin-top: calc(8 * var(--u)); text-align: center; font-size: calc(12.5 * var(--u)); color: #6a6a72; }
.rx__next > span, .rx__status > span { grid-area: 1 / 1; }
.rx__after { visibility: hidden; }
.rx__marked { font-size: calc(13 * var(--u)); color: #3b724f; }
.rx__marked u { font-weight: 600; }
.rx__ended { padding: calc(12 * var(--u)) calc(16 * var(--u)); border: 1px solid #eceaf1; border-radius: calc(22 * var(--u)); background: #f6f5f9; }
.rx__ended-name { font-size: calc(14.5 * var(--u)); font-weight: 600; color: #3f3f46; }
.rx__ended-meta { font-size: calc(12.5 * var(--u)); color: #6a6a72; }

/* Fascicolo (pagina documents, PetDocumentRow). */
.doc__search { display: flex; align-items: center; gap: calc(10 * var(--u)); margin-bottom: calc(12 * var(--u)); padding: calc(12 * var(--u)) calc(16 * var(--u)) calc(12 * var(--u)) calc(14 * var(--u)); border-radius: 999px; background: #f4f4f5; font-size: calc(14 * var(--u)); color: #6e6e76; }
.app .doc__search .i { width: calc(17 * var(--u)); height: calc(17 * var(--u)); }
.doc__chips { display: flex; gap: calc(8 * var(--u)); margin: 0 calc(-20 * var(--u)) calc(16 * var(--u)); padding: 0 calc(20 * var(--u)) calc(4 * var(--u)); overflow: hidden; white-space: nowrap; }
.doc__chip {
  display: inline-flex; flex: none; align-items: center; gap: calc(6 * var(--u)); padding: calc(8 * var(--u)) calc(12 * var(--u));
  border: 1px solid #e4e4e7; border-radius: 999px; background: #f4f4f5; color: #52525b; font-size: calc(12 * var(--u)); font-weight: 600; line-height: 1.33;
}
.doc__chip i { font-style: normal; font-weight: 400; color: #6e6e76; }
.doc__chip--on { border-color: var(--purple); background: var(--purple); color: var(--white); }
.doc__chip--on i { color: rgba(255, 255, 255, .85); }
.app .doc__chip .i { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.doc__count { display: flex; justify-content: space-between; gap: calc(12 * var(--u)); margin-bottom: calc(12 * var(--u)); font-size: calc(12.5 * var(--u)); color: #6a6a72; white-space: nowrap; }
.doc__count span { overflow: hidden; text-overflow: ellipsis; }
.doc__count b { display: inline-flex; align-items: center; gap: calc(4 * var(--u)); font-weight: 600; color: var(--purple); }
.app .doc__count .i { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.doc__day { margin: calc(20 * var(--u)) 0 calc(8 * var(--u)); font-size: calc(12 * var(--u)); font-weight: 600; letter-spacing: .025em; text-transform: uppercase; color: #6a6a72; }
.doc__count + .doc__day { margin-top: 0; }
.doc__day i { margin-left: calc(6 * var(--u)); font-style: normal; font-weight: 400; }
.doc { display: flex; align-items: center; gap: calc(12 * var(--u)); padding: calc(14 * var(--u)); border: 1px solid #f3f4f6; border-radius: calc(16 * var(--u)); background: #f9fafb; }
.doc + .doc { margin-top: calc(10 * var(--u)); }
.doc--vet { border-color: rgba(112, 72, 171, .3); background: rgba(112, 72, 171, .05); }
.doc__ico { display: grid; place-items: center; flex: none; width: calc(40 * var(--u)); height: calc(40 * var(--u)); border-radius: 50%; background: var(--white); color: var(--purple); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.doc__ico--vet { background: var(--purple); color: var(--white); box-shadow: none; }
.doc__body { flex: 1; min-width: 0; }
.doc__name { display: flex; align-items: center; gap: calc(6 * var(--u)); font-size: calc(14 * var(--u)); font-weight: 600; color: #111827; }
.doc__name span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app .doc__name .i { flex: none; width: calc(14 * var(--u)); height: calc(14 * var(--u)); color: var(--purple); }
.doc__sum { display: -webkit-box; margin-top: calc(2 * var(--u)); overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: calc(12 * var(--u)); line-height: 1.375; color: #4b5563; }
.doc__from { margin-top: calc(2 * var(--u)); font-size: calc(11 * var(--u)); font-weight: 500; color: var(--purple); }
.doc__meta { margin-top: calc(2 * var(--u)); font-size: calc(11 * var(--u)); color: #6a6a72; }
.app .doc__chev { flex: none; width: calc(16 * var(--u)); height: calc(16 * var(--u)); color: #9ca3af; }

/* Il filo del peso (pagina /family/weight, con un pet solo: l'asse in chili). */
.wt { padding: calc(16 * var(--u)); border: 1px solid #e2d7f4; border-radius: calc(24 * var(--u)); background: #f8f5fc; }
.wt__top { display: flex; align-items: flex-start; justify-content: space-between; gap: calc(12 * var(--u)); font-size: calc(13.5 * var(--u)); line-height: 1.375; color: #6a6a72; }
.wt__top b { display: inline-flex; flex: none; align-items: center; gap: calc(4 * var(--u)); font-size: calc(13 * var(--u)); font-weight: 600; color: #8a5a00; }
.app .wt__top .i { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.wt__chart { position: relative; margin-top: calc(12 * var(--u)); padding-left: calc(48 * var(--u)); }
.wt__y { position: absolute; left: 0; transform: translateY(-50%); font-size: calc(11 * var(--u)); color: #6a6a72; font-variant-numeric: tabular-nums; }
.wt__y--1 { top: calc(20 * var(--u)); } .wt__y--2 { top: calc(100 * var(--u)); } .wt__y--3 { top: calc(180 * var(--u)); }
.wt__plot { position: relative; height: calc(200 * var(--u)); }
.wt__plot svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* I pallini delle pesate, alle stesse coordinate della linea (viewBox 300 x 200). */
.wt__dots i {
  position: absolute; width: calc(9 * var(--u)); height: calc(9 * var(--u)); transform: translate(-50%, -50%);
  border: calc(2 * var(--u)) solid var(--purple); border-radius: 50%; background: var(--white);
}
.wt__dots i:nth-child(1) { left: 3.33%; top: 70%; } .wt__dots i:nth-child(2) { left: 11.67%; top: 50%; }
.wt__dots i:nth-child(3) { left: 20.33%; top: 60%; } .wt__dots i:nth-child(4) { left: 28.67%; top: 40%; }
.wt__dots i:nth-child(5) { left: 37.33%; top: 55%; } .wt__dots i:nth-child(6) { left: 45.67%; top: 30%; }
.wt__dots i:nth-child(7) { left: 54.33%; top: 40%; } .wt__dots i:nth-child(8) { left: 62.67%; top: 60%; }
.wt__dots i:nth-child(9) { left: 71.33%; top: 30%; } .wt__dots i:nth-child(10) { left: 79.67%; top: 50%; }
.wt__dots i:nth-child(11) { left: 88.33%; top: 40%; } .wt__dots i:nth-child(12) { left: 96.67%; top: 30%; }
.wt__last {
  position: absolute; left: 96.67%; top: 30%; transform: translate(-100%, -100%); padding: calc(2 * var(--u)) calc(6 * var(--u));
  border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--purple); font-size: calc(11 * var(--u)); font-weight: 700; white-space: nowrap;
}
.wt__x { display: flex; justify-content: space-between; margin-top: calc(4 * var(--u)); font-size: calc(11 * var(--u)); color: #6a6a72; }
.wt__today { color: #4a4a4a; }
.wt__note { margin-top: calc(12 * var(--u)); font-size: calc(12 * var(--u)); line-height: 1.375; color: #6a6a72; }
.wt__share { margin-top: calc(8 * var(--u)); font-size: calc(13.5 * var(--u)); line-height: 1.375; }

/* Spese (pagina expenses). */
.ex { padding: calc(16 * var(--u)); border: 1px solid #e2d7f4; border-radius: calc(24 * var(--u)); background: #f3eefb; }
.ex__total { margin-top: calc(4 * var(--u)); font-size: calc(30 * var(--u)); font-weight: 700; line-height: 1.25; }
.ex__delta { display: flex; align-items: center; gap: calc(6 * var(--u)); margin-top: calc(4 * var(--u)); font-size: calc(12.5 * var(--u)); color: #6a6a72; }
.app .ex__delta .i { width: calc(16 * var(--u)); height: calc(16 * var(--u)); color: #54a16c; }
.ex__cats { display: flex; flex-wrap: wrap; gap: calc(8 * var(--u)); margin-top: calc(12 * var(--u)); }
.ex__cats span { display: inline-flex; align-items: center; gap: calc(6 * var(--u)); padding: calc(6 * var(--u)) calc(12 * var(--u)); border-radius: 999px; background: var(--white); font-size: calc(12 * var(--u)); font-weight: 600; line-height: 1.33; }
.ex__cats i { font-style: normal; font-weight: 400; color: #6a6a72; }
.app .ex__cats .i { width: calc(14 * var(--u)); height: calc(14 * var(--u)); color: var(--purple); }
.ex__year { margin-top: calc(12 * var(--u)); font-size: calc(12 * var(--u)); color: #6a6a72; }
.ex__months { display: grid; gap: calc(8 * var(--u)); }
.ex__months li { display: flex; align-items: center; gap: calc(8 * var(--u)); font-size: calc(12 * var(--u)); line-height: 1.33; }
.ex__months span { flex: none; width: calc(72 * var(--u)); color: #6a6a72; }
.ex__months em { flex: none; width: calc(84 * var(--u)); text-align: right; font-style: normal; font-weight: 600; color: #374151; }
.ex__bar { flex: 1; height: calc(8 * var(--u)); overflow: hidden; border-radius: 999px; background: #f3f4f6; }
.ex__bar i { display: block; height: 100%; border-radius: 999px; background: rgba(112, 72, 171, .7); }
.ex__bar--40 i { width: 40%; } .ex__bar--46 i { width: 46%; } .ex__bar--100 i { width: 100%; } .ex__bar--37 i { width: 37%; }
.ex__bar--43 i { width: 43%; } .ex__bar--62 i { width: 62%; } .ex__bar--39 i { width: 39%; }

/* La storia e il gioco (StoryShell: titolo e una X per chiudere). */
.app__close { display: grid; place-items: center; flex: none; width: calc(44 * var(--u)); height: calc(44 * var(--u)); border-radius: 50%; background: #f4f4f5; color: #0b0b0b; }
/* «Da sapere»: la risposta data, con la spiegazione dei veterinari (DaSapere, Result). */
.ds__chip { display: inline-flex; align-items: center; gap: calc(6 * var(--u)); height: calc(32 * var(--u)); padding: 0 calc(12 * var(--u)); border-radius: 999px; background: rgba(84, 161, 108, .1); font-size: calc(13 * var(--u)); font-weight: 600; }
.app .ds__chip .i { width: calc(16 * var(--u)); height: calc(16 * var(--u)); color: #54a16c; }
.ds__q { margin-top: calc(12 * var(--u)); font-size: calc(15 * var(--u)); font-weight: 600; line-height: 1.375; }
.ds__opts { display: grid; gap: calc(8 * var(--u)); margin-top: calc(12 * var(--u)); }
.ds__opt {
  display: flex; align-items: center; gap: calc(12 * var(--u)); min-height: calc(48 * var(--u)); padding: calc(8 * var(--u)) calc(14 * var(--u));
  border: 1.5px solid #e4e4e7; border-radius: calc(18 * var(--u)); background: var(--white); font-size: calc(15 * var(--u)); font-weight: 600; line-height: 1.33; color: #4a4a4a;
}
.ds__letter { display: grid; place-items: center; flex: none; width: calc(32 * var(--u)); height: calc(32 * var(--u)); border-radius: 50%; background: #f4f4f5; color: #4a4a4a; font: 600 calc(16 * var(--u))/1 var(--font-head); }
.ds__opt--right { border: 2px solid #54a16c; background: rgba(84, 161, 108, .1); color: #0b0b0b; }
.ds__opt--right .ds__letter { background: var(--white); color: #0b0b0b; }
.ds__opt-text { display: grid; gap: calc(2 * var(--u)); }
.ds__opt-text b { display: flex; align-items: center; gap: calc(4 * var(--u)); font-size: calc(12 * var(--u)); font-weight: 700; }
.app .ds__opt-text .i { width: calc(14 * var(--u)); height: calc(14 * var(--u)); color: #54a16c; stroke-width: 3; }
.ds__card { margin-top: calc(20 * var(--u)); padding: calc(18 * var(--u)); border: 1px solid #e4e4e7; border-radius: calc(24 * var(--u)); background: var(--white); box-shadow: 0 10px 28px rgba(112, 72, 171, .1); }
.ds__head { display: flex; align-items: center; gap: calc(10 * var(--u)); font: 600 calc(22 * var(--u))/1.25 var(--font-head); }
.ds__bulb { display: grid; place-items: center; flex: none; width: calc(36 * var(--u)); height: calc(36 * var(--u)); border-radius: 50%; background: rgba(84, 161, 108, .1); color: #54a16c; }
.ds__text { margin-top: calc(12 * var(--u)); font-size: calc(15 * var(--u)); line-height: 1.5; }
.ds__sources { display: flex; align-items: center; gap: calc(4 * var(--u)); min-height: calc(44 * var(--u)); margin-top: calc(8 * var(--u)); font-size: calc(13.5 * var(--u)); font-weight: 600; }
.app .ds__sources .i { width: calc(16 * var(--u)); height: calc(16 * var(--u)); color: #4a4a4a; }
.ds__foot { margin-top: calc(16 * var(--u)); padding-top: calc(12 * var(--u)); border-top: 1px solid #e4e4e7; }
.ds__gain { display: inline-flex; align-items: center; gap: calc(6 * var(--u)); height: calc(32 * var(--u)); padding: 0 calc(12 * var(--u)); border-radius: 999px; background: rgba(84, 161, 108, .15); font: 600 calc(16 * var(--u))/1 var(--font-head); }
.app .ds__gain .i { width: calc(16 * var(--u)); height: calc(16 * var(--u)); color: #54a16c; }
/* L'album dei Momenti (pagina storia, MomentCard). */
.al__count { font: 600 calc(17 * var(--u))/1.4 var(--font-head); }
.al__since { margin-top: calc(2 * var(--u)); font-size: calc(13.5 * var(--u)); color: #4a4a4a; }
.al__scheda { display: flex; align-items: center; gap: calc(6 * var(--u)); min-height: calc(44 * var(--u)); margin-top: calc(4 * var(--u)); font-size: calc(13.5 * var(--u)); font-weight: 600; color: #4a4a4a; }
.al__scheda b { font: 600 calc(15 * var(--u))/1 var(--font-head); color: var(--purple); }
.app .al__scheda .i { width: calc(16 * var(--u)); height: calc(16 * var(--u)); color: var(--purple); stroke-width: 2.4; }
.al__grid, .co__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(12 * var(--u)); margin-top: calc(12 * var(--u)); }
.mo { padding: calc(4 * var(--u)); border: 1px solid #e4e4e7; border-radius: calc(18 * var(--u)); background: var(--white); }
.mo--framed { border: 0; background: var(--cream); box-shadow: 0 6px 16px rgba(0, 0, 0, .12); }
.mo__in { display: flex; flex-direction: column; gap: calc(8 * var(--u)); height: 100%; padding: calc(6 * var(--u)); border-radius: calc(14 * var(--u)); background: var(--white); }
.mo--framed .mo__in { padding: calc(8 * var(--u)); }
.mo__photo { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: calc(10 * var(--u)); background: var(--cream); }
.mo__photo img { width: 100%; height: 100%; object-fit: cover; }
.mo__pill, .mo__new {
  position: absolute; top: calc(6 * var(--u)); padding: calc(2 * var(--u)) calc(8 * var(--u)); border-radius: 999px; box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
  font-size: calc(11 * var(--u)); font-style: normal; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.mo__pill { left: calc(6 * var(--u)); background: var(--white); color: var(--purple); }
.mo__new { right: calc(6 * var(--u)); background: var(--purple); color: var(--white); }
.mo__title { padding: 0 calc(2 * var(--u)); font: 600 calc(15 * var(--u))/1.25 var(--font-head); }
.mo__foot { display: flex; align-items: center; justify-content: space-between; gap: calc(6 * var(--u)); margin-top: auto; padding: 0 calc(2 * var(--u)); }
.mo__foot span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: calc(12 * var(--u)); color: #6a6a72; }
.mo__foot b { flex: none; padding: calc(2 * var(--u)) calc(8 * var(--u)); border-radius: 999px; background: var(--purple); color: var(--white); font: 600 calc(12 * var(--u))/1.5 var(--font-head); }
/* La Collezione: le Zampe, la prossima figurina e la Serie Autunno (CollectionSection, NextCardBar). */
.co__zampe { display: flex; align-items: center; gap: calc(6 * var(--u)); font: 600 calc(17 * var(--u))/1.4 var(--font-head); }
.app .co__zampe .i { width: calc(18 * var(--u)); height: calc(18 * var(--u)); color: #54a16c; }
.co__bar { display: flex; align-items: center; gap: calc(12 * var(--u)); margin-top: calc(12 * var(--u)); padding: calc(10 * var(--u)) calc(14 * var(--u)); border: 1px solid #e4e4e7; border-radius: calc(18 * var(--u)); background: var(--white); }
.co__thumb { display: block; flex: none; width: calc(28 * var(--u)); height: calc(42 * var(--u)); overflow: hidden; border: 1px dashed rgba(74, 74, 74, .25); border-radius: calc(6 * var(--u)); background: var(--cream); }
.co__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .4; filter: grayscale(1) blur(2px); transform: scale(1.1); }
.co__bar-body { flex: 1; min-width: 0; }
.co__bar-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 calc(8 * var(--u)); }
.co__bar-top b { font-size: calc(13.5 * var(--u)); font-weight: 600; }
.co__bar-top i { font: 500 calc(14 * var(--u))/1.4 var(--font-head); }
.co__track { display: block; height: calc(8 * var(--u)); margin-top: calc(6 * var(--u)); overflow: hidden; border-radius: 999px; background: rgba(84, 161, 108, .15); }
.co__track span { display: block; width: 75%; height: 100%; border-radius: 999px; background: #54a16c; }
.fig { display: flex; flex-direction: column; padding: calc(6 * var(--u)); border: calc(3 * var(--u)) solid #985124; border-radius: calc(16 * var(--u)); background: #f7d89c; }
.fig__art { display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: calc(10 * var(--u)); background: var(--cream); }
.fig__art img { width: 100%; height: 100%; object-fit: cover; }
.fig__title { padding: calc(8 * var(--u)) calc(4 * var(--u)) 0; font: 600 calc(15 * var(--u))/1.25 var(--font-head); }
.fig--locked { border: 2px dashed rgba(74, 74, 74, .25); background: var(--cream); }
.fig--locked img { opacity: .4; filter: grayscale(1) blur(calc(7 * var(--u))); transform: scale(1.1); }
.fig__lock { display: flex; align-items: center; gap: calc(6 * var(--u)); padding: calc(8 * var(--u)) calc(4 * var(--u)) 0; font-size: calc(12.5 * var(--u)); font-weight: 600; line-height: 1.25; color: #4a4a4a; }
.app .fig__lock .i { flex: none; width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
/* La rilettura dell'ultimo health check, con la costanza. */
.rr { border-radius: calc(22 * var(--u)); background: #f6f5f9; }
.rr p { display: flex; align-items: flex-start; justify-content: space-between; gap: calc(16 * var(--u)); padding: calc(12 * var(--u)) calc(16 * var(--u)); font-size: calc(14 * var(--u)); }
.rr p + p { border-top: 1px solid #eceaf1; }
.rr span { color: #6a6a72; }
.rr b { font-weight: 500; color: #111827; text-align: right; }
.rr__streak { text-align: center; font-size: calc(14 * var(--u)); color: #6a6a72; }
.rr__btn { padding: calc(12 * var(--u)) calc(16 * var(--u)); border-radius: 999px; background: var(--purple); color: var(--white); text-align: center; font-size: calc(14 * var(--u)); font-weight: 600; }

/* Le tre schermate che si muovono: un ciclo che ricomincia ogni volta che la scheda si apre.
   Lo stato di partenza e' scritto nei fotogrammi; senza animazione (prefers-reduced-motion,
   regola in fondo) resta lo stato finale, completo e fermo. */
[data-feat].is-paused .app *, [data-feat].is-paused .app *::after { animation-play-state: paused; }
/* Health check: «No», poi «È stabile», poi la schermata finale. */
.hc-tap1 { animation: hc-tap1 10s infinite; }
.hc-tap2 { animation: hc-tap2 10s infinite; }
.hc__more { animation: hc-more 10s infinite; }
.hc__done { animation: hc-done 10s infinite; }
@keyframes hc-tap1 { 0%, 14% { background: #f3f4f6; color: #4b5563; } 16%, 62% { background: var(--purple); color: var(--white); } 63%, 100% { background: #f3f4f6; color: #4b5563; } }
@keyframes hc-tap2 { 0%, 32% { background: #f3f4f6; color: #4b5563; } 34%, 62% { background: var(--purple); color: var(--white); } 63%, 100% { background: #f3f4f6; color: #4b5563; } }
@keyframes hc-more { 0%, 18% { max-height: 0; opacity: 0; } 24%, 62% { max-height: calc(120 * var(--u)); opacity: 1; } 63%, 100% { max-height: 0; opacity: 0; } }
@keyframes hc-done { 0%, 50% { opacity: 0; visibility: hidden; transform: translateY(calc(12 * var(--u))); } 54%, 90% { opacity: 1; visibility: visible; transform: none; } 96%, 100% { opacity: 0; visibility: hidden; } }
/* Il tocco: un cerchio che si allarga sul punto toccato. */
.hc-tap1::after, .hc-tap2::after, .rx__given::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: calc(44 * var(--u)); height: calc(44 * var(--u));
  margin: calc(-22 * var(--u)) 0 0 calc(-22 * var(--u)); border-radius: 50%; background: rgba(43, 33, 64, .28); opacity: 0;
}
.hc-tap1::after { animation: tap-at-15 10s infinite; }
.hc-tap2::after { animation: tap-at-33 10s infinite; }
@keyframes tap-at-15 { 0%, 13% { opacity: 0; transform: scale(.3); } 14% { opacity: 1; transform: scale(.5); } 18%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes tap-at-33 { 0%, 31% { opacity: 0; transform: scale(.3); } 32% { opacity: 1; transform: scale(.5); } 36%, 100% { opacity: 0; transform: scale(1.5); } }
/* Sintomi: la chat, poi il sintomo nuovo nella pagina Salute. */
.sx-chat { animation: sx-chat 10s infinite; }
.sx-msg1 { animation: sx-msg1 10s infinite; }
.sx-msg2 { animation: sx-msg2 10s infinite; }
.sx-new { animation: sx-new 10s infinite; }
@keyframes sx-chat { 0%, 44% { opacity: 1; visibility: visible; transform: none; } 50%, 92% { opacity: 0; visibility: hidden; transform: translateX(-12%); } 97%, 100% { opacity: 1; visibility: visible; transform: none; } }
@keyframes sx-msg1 { 0%, 8% { opacity: 0; transform: translateY(calc(20 * var(--u))) scale(.95); } 11%, 100% { opacity: 1; transform: none; } }
@keyframes sx-msg2 { 0%, 24% { opacity: 0; transform: translateY(calc(20 * var(--u))) scale(.95); } 27%, 100% { opacity: 1; transform: none; } }
@keyframes sx-new {
  0%, 52% { opacity: 0; transform: scale(.94); box-shadow: 0 0 0 0 rgba(112, 72, 171, 0); }
  56% { opacity: 1; transform: none; box-shadow: 0 0 0 calc(3 * var(--u)) rgba(112, 72, 171, .45); }
  80%, 100% { opacity: 1; transform: none; box-shadow: 0 0 0 calc(3 * var(--u)) rgba(112, 72, 171, 0); }
}
/* Terapie: il tocco su «Dato» segna la dose e sposta la prossima. */
.rx__given::after { animation: tap-at-30 8s infinite; }
.rx__given { animation: rx-given 8s infinite; }
.rx__before { animation: rx-before 8s infinite; }
.rx__after { animation: rx-after 8s infinite; }
@keyframes tap-at-30 { 0%, 29% { opacity: 0; transform: scale(.3); } 30% { opacity: 1; transform: scale(.5); } 35%, 100% { opacity: 0; transform: scale(2.4); } }
@keyframes rx-given { 0%, 29% { background: #41814f; } 30%, 33% { background: #376e45; } 35%, 100% { background: #41814f; } }
@keyframes rx-before { 0%, 32% { visibility: visible; } 33%, 92% { visibility: hidden; } 93%, 100% { visibility: visible; } }
@keyframes rx-after { 0%, 32% { visibility: hidden; } 33%, 92% { visibility: visible; } 93%, 100% { visibility: hidden; } }
/* Il peso: la linea si disegna quando la scheda si apre. */
.wt__line { stroke-dasharray: 1; animation: wt-line 1.4s ease-out both; }
@keyframes wt-line { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.demo__head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: .35em 1.2em .75em; border-bottom: 1px solid var(--line); }
.demo__head img { width: auto; height: 1.3em; }
.demo__pet { display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 50%; background: var(--lilac-2); color: var(--purple-dark); font: 600 .95em/1 var(--font-head); }
.demo__chat {
  flex: 1; display: flex; flex-direction: column; gap: .5em; padding: .75em .8em .5em; overflow: hidden;
  background: var(--lilac); transition: opacity .5s;
}
.demo.is-fading .demo__chat { opacity: 0; }
.msg { max-width: 85%; padding: .52em .78em; border-radius: 1.15em; font-size: .92em; line-height: 1.34; }
.msg p { margin: 0; }
.msg--me { align-self: flex-end; background: var(--purple); color: var(--white); border-bottom-right-radius: .35em; }
.msg--bot { align-self: flex-start; background: var(--white); color: var(--ink); border-bottom-left-radius: .35em; box-shadow: 0 1px 2px rgba(43, 33, 64, .08); }
.msg--photo { padding: .28em; }
.msg--photo img { width: 11.4em; height: auto; border-radius: .9em; }
.voice { display: flex; align-items: center; gap: .45em; }
.phone .voice__play { width: 1.9em; height: 1.9em; padding: .5em .45em .5em .55em; border-radius: 50%; background: rgba(255, 255, 255, .22); fill: currentColor; }
.voice__wave { display: flex; align-items: center; gap: .17em; height: 1.6em; }
.voice__wave i { width: .17em; height: 45%; border-radius: .1em; background: rgba(255, 255, 255, .85); }
.voice__wave i:nth-child(3n) { height: 85%; }
.voice__wave i:nth-child(4n+1) { height: 60%; }
.voice__wave i:nth-child(5n+2) { height: 100%; }
.voice__wave i:nth-child(7n) { height: 30%; }
.voice__time { font-size: .82em; opacity: .85; }
.voice__text { display: block; margin-top: .3em; font-size: .82em; font-style: italic; color: #ece3fa; }
.msg--file { display: flex; align-items: center; gap: .6em; }
.file__ico { display: grid; place-items: center; flex: none; width: 2.3em; height: 2.3em; border-radius: .7em; background: rgba(255, 255, 255, .18); }
.file__name b { display: block; font-weight: 600; }
.file__name small { font-size: .82em; opacity: .85; }
.msg__dots { display: none; gap: .28em; padding: .35em .1em; }
.msg__dots i { width: .48em; height: .48em; border-radius: 50%; background: var(--purple); opacity: .35; animation: dot 1.1s ease-in-out infinite; }
.msg__dots i:nth-child(2) { animation-delay: .15s; }
.msg__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 30% { opacity: .9; transform: translateY(-.22em); } 60% { opacity: .35; transform: none; } }
.demo.is-live .msg:not(.is-shown):not(.is-typing) { display: none; }
.demo.is-live .msg.is-typing .msg__dots { display: flex; }
.demo.is-live .msg.is-typing .msg__text { display: none; }
.demo.is-live .msg.is-shown, .demo.is-live .msg.is-typing { animation: pop .35s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(.6em) scale(.97); } }
.demo__input { flex: none; display: flex; align-items: center; gap: .5em; padding: .6em .8em 1.25em; border-top: 1px solid var(--line); background: var(--white); }
.demo__btn { display: grid; place-items: center; flex: none; width: 2.2em; height: 2.2em; border-radius: 50%; }
.demo__btn--plus { background: var(--lilac); color: var(--purple); }
.demo__btn--mic { background: var(--purple); color: var(--white); }
.demo__field { flex: 1; padding: .55em .9em; border-radius: 999px; background: var(--lilac); color: var(--ink-2); font-size: .85em; white-space: nowrap; overflow: hidden; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Pagine legali ---------- */
.legal { background: var(--cream); padding: 48px 0 80px; }
.legal__wrap { max-width: calc(760px + 2 * var(--gutter)); }
.crumbs { font-size: .875rem; color: var(--ink-2); margin-bottom: 20px; }
.crumbs a { color: var(--ink-2); }
.legal h1 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); }
.legal__note { margin-top: 14px; padding: 14px 18px; background: var(--white); border-radius: 14px; font-size: .9375rem; color: var(--ink-2); }
.prose { margin-top: 36px; }
.prose h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.prose p { margin: 0 0 12px; }
.prose ul { margin: 0 0 14px; padding-left: 1.3em; list-style: disc; }
.prose li { margin: 4px 0; }
.prose li::marker { color: var(--purple); }

/* ---------- Link utili (bio di Instagram) ---------- */
.page-start { background: var(--purple) url("/assets/img/paws.4178d7d270.svg") repeat; background-size: 300px; min-height: 100vh; }
.start { display: grid; place-items: center; min-height: 100vh; padding: 40px 16px; }
.start__card { width: min(440px, 100%); text-align: center; color: var(--white); }
.start__logo img { height: 52px; width: auto; margin: 0 auto; }
.start__lead { margin-top: 12px; color: #efe8f9; }
.start__links { display: grid; gap: 12px; margin-top: 28px; }
.start__btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 20px;
  border-radius: 18px; background: rgba(255, 255, 255, .12); border: 1.5px solid rgba(255, 255, 255, .3);
  color: var(--white); font-weight: 600; text-decoration: none; transition: background-color .2s, transform .2s;
}
.start__btn:hover { background: rgba(255, 255, 255, .22); color: var(--white); transform: translateY(-1px); }
.start__btn--main { background: var(--white); color: var(--purple-dark); border-color: var(--white); }
.start__btn--main:hover { background: var(--cream); color: var(--purple-dark); }
.start__foot { margin-top: 28px; font-size: .8438rem; color: #d8cceb; }
.start__foot a { color: var(--white); }

/* ---------- 404 ---------- */
.lost { background: var(--cream); padding: 96px 0 120px; text-align: center; }
.lost__wrap { max-width: calc(640px + 2 * var(--gutter)); }
.lost__ico { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; background: var(--purple); color: var(--white); margin-bottom: 24px; transform: rotate(-12deg); }
.lost__ico .i { width: 42px; height: 42px; }
.lost h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.lost p { margin-top: 14px; color: var(--ink-2); font-size: 1.125rem; }
.lost__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* ---------- L'invito di POWSH Blood (blood-popup.html) ----------
   Una carta che sale dal basso e non copre altro: larga e centrata sul computer, come il
   disegno del CEO; sul telefono un foglio in fondo allo schermo con le due scelte una sotto
   l'altra. Il cane e il gatto stanno sul bianco della foto: «multiply» lo fa diventare il rosa
   della carta. Con il movimento ridotto compare e basta (le transizioni le spegne la regola in fondo). */
.bpop {
  position: fixed; z-index: 60; left: 50%; bottom: 18px; width: min(1120px, calc(100% - 32px));
  display: grid; grid-template-columns: minmax(0, 1.15fr) auto minmax(0, 2fr); align-items: center; gap: 0 20px;
  padding: 20px 56px 20px 28px; border: 1px solid rgba(200, 68, 60, .14); border-radius: 26px;
  background: linear-gradient(100deg, #fff3f3 0%, #fbf0f6 45%, #f4effb 100%);
  box-shadow: 0 2px 6px rgba(43, 33, 64, .08), 0 24px 60px rgba(59, 36, 99, .24);
  opacity: 0; transform: translate(-50%, calc(100% + 40px));
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .35s ease;
}
.bpop[hidden] { display: none; }
.bpop.is-in { opacity: 1; transform: translate(-50%, 0); }
.bpop__close {
  position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .8); color: var(--ink); cursor: pointer;
}
.bpop__close:hover { background: var(--white); }
.bpop__close .i { width: 20px; height: 20px; }
.bpop__logo { display: block; width: auto; height: 30px; }
.bpop__claim { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.bpop__heart { flex: none; width: 44px; height: 44px; color: var(--red); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bpop__heart path { fill: currentColor; stroke: none; }
.bpop__title { font: 600 1.1875rem/1.25 var(--font-head); color: var(--ink); }
.bpop__text { margin-top: 8px; font-size: .9375rem; color: var(--ink-2); }
.bpop__pets { display: block; align-self: end; width: auto; height: 156px; margin-bottom: -20px; mix-blend-mode: multiply; }
.bpop__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bpop__card { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 18px; background: #efe6fa; }
.bpop__card--vet { background: #e4f2e8; }
.bpop__who { display: flex; align-items: center; gap: 8px; font: 600 1.0625rem/1.25 var(--font-head); color: var(--purple-deep); }
.bpop__who .i { width: 22px; height: 22px; color: var(--purple); }
.bpop__card--vet .bpop__who { color: #1d4a2c; }
.bpop__card--vet .bpop__who .i { color: #2f7a47; }
.bpop__what { font-size: .875rem; line-height: 1.4; color: var(--ink-2); }
.bpop__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: flex-start; margin-top: auto;
  min-height: 42px; padding: 10px 16px; border-radius: 999px; background: var(--purple); color: var(--white);
  font-size: .9063rem; font-weight: 600; white-space: nowrap; text-decoration: none; transition: background-color .2s;
}
.bpop__btn:hover { background: var(--purple-dark); color: var(--white); }
.bpop__btn .i { width: 18px; height: 18px; }
.bpop__btn--vet { background: #2f7a47; }
.bpop__btn--vet:hover { background: #24603a; }
@media (max-width: 1060px) {
  .bpop { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .bpop__pets { display: none; }
}
@media (max-width: 640px) {
  .bpop {
    left: 0; bottom: 0; width: 100%; gap: 12px; padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    border-width: 1px 0 0; border-radius: 22px 22px 0 0; transform: translateY(calc(100% + 20px));
  }
  .bpop.is-in { transform: none; }
  .bpop__logo { height: 24px; }
  .bpop__claim { gap: 10px; margin-top: 10px; padding-right: 8px; }
  .bpop__heart { width: 34px; height: 34px; }
  .bpop__title { font-size: 1.0625rem; }
  .bpop__text { display: none; }
  .bpop__choices { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .bpop__card { gap: 2px; padding: 10px 14px 12px; }
  .bpop__who { font-size: .9688rem; }
  .bpop__who .i { width: 20px; height: 20px; }
  .bpop__what { font-size: .8125rem; }
  .bpop__btn { min-height: 38px; margin-top: 6px; padding: 8px 14px; font-size: .875rem; }
}
/* Sui telefoni bassi (SE e simili) il foglio resta sotto la meta' dello schermo: via le righe sotto i titoli. */
@media (max-width: 640px) and (max-height: 740px) {
  .bpop__what { display: none; }
  .bpop__title { font-size: 1rem; }
}
@media (max-width: 360px) { .bpop__heart { display: none; } }

/* ---------- Comparsa ---------- */
.reveal.is-pending { opacity: 0; transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
.tiles .reveal.is-in:nth-child(2n), .fun .reveal.is-in:nth-child(2n), .trust .reveal.is-in:nth-child(2n), .steps .reveal.is-in:nth-child(2) { transition-delay: .08s; }
.tiles .reveal.is-in:nth-child(3n), .fun .reveal.is-in:nth-child(3), .trust .reveal.is-in:nth-child(3), .steps .reveal.is-in:nth-child(3) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
}
