/* POWSHVet, la pagina di presentazione. Colori e carattere sono quelli di
   POWSHVet (tema «Strumento»): verde #1e6b43 per le azioni, #54a16c del marchio,
   e Inter (OFL), il carattere del prodotto, ospitato qui: solo il sottoinsieme latin. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.c940764593.woff2") format("woff2");
}

:root {
  --ink: #10201a;
  --ink-2: #3c4b43;
  --ink-3: #5a6860;
  --line: #e1e8e3;
  --line-2: #cfdcd3;
  --bg: #ffffff;
  --soft: #f4f8f5;
  --mint: #e6f4ea;
  --mint-2: #d3ebdb;
  --green-950: #082618;
  --green-900: #0d3b25;
  --green-800: #134e31;
  --green-700: #1e6b43;
  --green-600: #278053;
  --green-500: #54a16c;
  --green-300: #8ebf9b;
  --amber: #ffac1e;
  --amber-soft: #fff4de;
  --amber-ink: #8a5300;
  --cream: #f6f2eb;
  /* POWSH, l'app dei proprietari: le sue notifiche e le sue schermate. */
  --app-purple: #7048ab;
  --app-purple-dark: #5e3b91;
  --app-ink: #2b2140;
  --app-line: #e2d9ef;
  --app-lilac: #f4eefb;
  --app-cream: #f6f2eb;
  --blood: #c8443c;
  --blood-soft: #fdecea;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgb(16 32 26 / 6%), 0 1px 1px rgb(16 32 26 / 4%);
  --shadow: 0 1px 2px rgb(16 32 26 / 5%), 0 8px 24px -6px rgb(16 32 26 / 12%);
  --shadow-lg: 0 2px 4px rgb(16 32 26 / 4%), 0 24px 60px -12px rgb(13 59 37 / 28%);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  color-scheme: light;
}

@media (min-width: 640px) {
  :root { --gutter: 28px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

.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: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--green-700);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.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;
}

:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- pulsanti ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 9px 18px; font-size: .95rem; }
.btn--lg { padding: 15px 26px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--green-700);
  color: #fff;
  box-shadow: 0 1px 0 rgb(255 255 255 / 15%) inset, 0 8px 20px -8px rgb(30 107 67 / 60%);
}
.btn--primary:hover { background: var(--green-800); }
.btn--soft { background: #fff; color: var(--green-800); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn--soft:hover { border-color: var(--green-300); background: var(--soft); }
.btn--ghost { background: transparent; color: var(--ink-2); }
.btn--ghost:hover { color: var(--green-800); background: var(--soft); }
.btn .i { width: 1.1em; height: 1.1em; }
.i--blood { color: var(--blood); }

/* ---------- testata ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 82%);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.top[data-scrolled] { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgb(16 32 26 / 40%); }
.top__row { display: flex; align-items: center; gap: 24px; height: 68px; }
.top__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* Il marchio come in POWSHVet (VetHeader.tsx): il logo POWSH e la targhetta «Vet». */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
/* Il logo vettoriale e' tagliato sul disegno: --h e' l'altezza del PNG di prima, con il suo margine. */
.brand__logo { --h: 28px; width: auto; height: calc(var(--h) * .689); margin: calc(var(--h) * .156) calc(var(--h) * .148); }
.brand__vet {
  padding: 4px 8px;
  border-radius: 6px;
  background: #f4f9f6;
  color: var(--green-700);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.brand--light .brand__vet { background: #26322b; color: #cfe6d6; }

.nav { display: none; }
.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 550;
  font-size: .98rem;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--green-800); background: var(--soft); }
.nav__login { display: none; }

/* Il menu su telefono: un'icona sola su un fondo tenue, che diventa una × quando e' aperto. */
.menu-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--soft);
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.menu-btn:hover, .menu-btn[aria-expanded="true"] { background: var(--mint); color: var(--green-800); }
.menu-btn .i { width: 22px; height: 22px; }
.menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: block; }
.top__cta-short { display: none; }
.top__login { display: none; }

/* La lingua: IT ed EN, la stessa pagina nell'altra lingua. Su un telefono stretto sta nel menu. */
.lang {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  transition: color .2s, background-color .2s, border-color .2s;
}
.lang:hover { color: var(--green-800); background: var(--soft); border-color: var(--mint-2); }
.nav__lang { display: none; }

@media (max-width: 1023px) {
  .nav[data-open] {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 12px var(--gutter) 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgb(16 32 26 / 35%);
  }
  .nav[data-open] a { padding: 14px 8px; font-size: 1.1rem; border-radius: 10px; }
  .nav[data-open] .nav__login { display: block; color: var(--green-700); font-weight: 650; }
}
/* Su un telefono stretto (360 punti e meno) il pulsante si accorcia: tutto sta nella riga. */
@media (max-width: 520px) {
  .top__row { gap: 12px; }
  .top__actions { gap: 6px; }
  .top__cta { padding: 9px 16px; }
  .top__cta-long { display: none; }
  .top__cta-short { display: inline; }
  .lang:not(.lang--always) { display: none; }
  .nav[data-open] .nav__lang { display: block; }
}
@media (max-width: 340px) {
  .brand { gap: 6px; }
  .brand__logo { --h: 24px; }
}
@media (min-width: 1024px) {
  .nav { display: flex; gap: 2px; margin-left: 12px; }
  .menu-btn { display: none; }
  .top__login { display: inline-flex; }
}

/* ---------- elementi comuni ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-700);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.eyebrow .i { width: 1.15em; height: 1.15em; }
.eyebrow--light { color: #9fe0b4; }
.eyebrow--blood { color: var(--green-700); }

h1, h2, h3 { color: var(--ink); text-wrap: balance; }
h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 750;
}
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.01em; font-weight: 700; }
p { text-wrap: pretty; }

.section { padding-block: clamp(72px, 10vw, 128px); }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head h2 { margin-top: 14px; }
.section__lead { margin-top: 18px; font-size: 1.2rem; line-height: 1.6; color: var(--ink-2); }
.section__lead a { color: var(--green-700); font-weight: 600; }
.section__head--light h2 { color: #fff; }
.section__head--light .section__lead { color: rgb(255 255 255 / 78%); }

.ico {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--green-700);
  margin-bottom: 18px;
}
.ico .i { width: 22px; height: 22px; }
.ico--light { background: rgb(255 255 255 / 14%); color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 104px);
  background:
    radial-gradient(1100px 520px at 85% -10%, #d7f1df 0%, rgb(215 241 223 / 0%) 60%),
    radial-gradient(800px 480px at -10% 30%, #eef8f1 0%, rgb(238 248 241 / 0%) 65%),
    linear-gradient(180deg, #f6fbf7 0%, #ffffff 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(30 107 67 / 9%) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(700px 400px at 70% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(700px 400px at 70% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
.hero__kicker { color: var(--green-700); font-weight: 650; font-size: 1.08rem; }
.hero__title {
  margin-top: 14px;
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.03em;
  font-weight: 750;
}
.hero__title em {
  font-style: normal;
  color: var(--green-700);
  background: linear-gradient(transparent 74%, rgb(84 161 108 / 20%) 74%, rgb(84 161 108 / 20%) 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero__lead { margin-top: 22px; font-size: clamp(1.12rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--ink-2); max-width: 600px; }
.hero__app { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; max-width: 600px; color: var(--ink-2); font-weight: 600; font-size: 1.05rem; }
.hero__app img { width: 22px; height: 22px; flex: none; margin-top: 2px; border-radius: 6px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__proof { display: grid; gap: 10px; margin-top: 28px; color: var(--ink-3); font-weight: 550; font-size: .98rem; }
.hero__proof li { display: flex; align-items: flex-start; gap: 8px; }
.hero__proof .i { color: var(--green-600); width: 18px; height: 18px; margin-top: 4px; stroke-width: 2.6; }

.hero__visual { position: relative; padding-bottom: 40px; }

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: .95fr 1.05fr; gap: 48px; }
  .hero__visual { padding: 0 110px 72px 0; }
}

/* Chi vede cosa: la clinica in POWSHVet (verde), il proprietario nell'app POWSH (viola).
   Un cartellino col marchio, agganciato al suo schermo da un gambo che finisce in un punto. */
.who {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  color: #fff;
  font-size: .86rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 8px 18px -10px rgb(16 32 26 / 55%);
}
.who b { font-weight: 700; }
.who__mark { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: #fff; }
.who__mark img { width: 14px; height: 14px; }
.who::after, .who::before { content: ""; position: absolute; background: inherit; }
.who::before { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 2.5px #fff; }
.who--clinic { background: var(--green-700); margin: 0 0 16px 18px; }
.who--clinic::after { left: 16px; top: 100%; width: 2px; height: 16px; }
.who--clinic::before { left: 12px; top: calc(100% + 11px); }
.who--owner { background: var(--app-purple); }
.who--owner .who__mark { background: none; }
.who--owner .who__mark img { width: 22px; height: 22px; border-radius: 7px; box-shadow: 0 0 0 1.5px rgb(255 255 255 / 85%); }

/* Il telefono del proprietario con il suo cartellino. */
.hero__owner { position: relative; z-index: 3; width: 240px; margin: -96px 0 0 auto; }
.hero__owner .who--owner { position: absolute; right: calc(100% + 18px); bottom: 30px; }
.hero__owner .who--owner::after { left: 100%; top: 50%; width: 18px; height: 2px; margin-top: -1px; }
.hero__owner .who--owner::before { left: calc(100% + 13px); top: 50%; margin-top: -5px; }
@media (max-width: 639px) {
  .hero__owner { display: grid; justify-items: center; width: auto; margin: -12px 0 0; }
  .hero__owner .who--owner { position: relative; right: auto; bottom: auto; margin-top: 18px; }
  .hero__owner .who--owner::after { left: 50%; top: auto; bottom: 100%; width: 2px; height: 18px; margin: 0 0 0 -1px; }
  .hero__owner .who--owner::before { left: 50%; top: -23px; margin: 0 0 0 -5px; }
}
@media (min-width: 1024px) {
  .hero__owner { position: absolute; right: -24px; bottom: 0; margin: 0; width: 230px; }
  .hero__owner .who--owner { bottom: 16px; }
}

/* finestra del browser */
.win {
  position: relative;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgb(16 32 26 / 8%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.win__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  background: #f3f6f4;
  border-bottom: 1px solid var(--line);
}
.win__bar span { width: 10px; height: 10px; border-radius: 50%; background: #d5ddd8; }
.win__bar span:first-child { background: #f0a39b; }
.win__bar span:nth-child(2) { background: #f5d38a; }
.win__bar span:nth-child(3) { background: #a8d7b4; }
.win__bar b {
  margin-left: 14px;
  padding: 3px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-weight: 550;
  font-size: .75rem;
}
.win__body { padding: 20px; background: #f7f9f8; }

.today__head { display: grid; gap: 10px; margin-bottom: 14px; }
.today__eyebrow { color: var(--ink-3); font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.today__title { font-size: 1.2rem; font-weight: 750; letter-spacing: -.01em; }
.today__stats { display: flex; gap: 8px; flex-wrap: wrap; }
.today__stats span { padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .78rem; color: var(--ink-3); white-space: nowrap; }
.today__stats b { color: var(--ink); }
.today__stats .ok { border-color: var(--mint-2); background: var(--mint); color: var(--green-800); }
.today__stats .ok b { color: var(--green-800); }

.rows { display: grid; gap: 8px; }
.row {
  display: grid;
  grid-template-columns: 46px 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.row .tag { grid-column: 3; justify-self: start; margin-top: 4px; }
.row--now { border-color: var(--green-300); box-shadow: 0 0 0 3px rgb(84 161 108 / 14%); }
.row__time { font-weight: 700; font-size: .9rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.row__who { display: grid; line-height: 1.25; min-width: 0; }
.row__who b { font-size: .95rem; }
.row__who small { color: var(--ink-3); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-weight: 750;
  font-size: .9rem;
  color: #fff;
}
.avatar--dog { background: linear-gradient(135deg, #d9a46b, #b97a3e); }
.avatar--cat { background: linear-gradient(135deg, #8d9aa5, #5f6e7b); }
.avatar--dog2 { background: linear-gradient(135deg, #c98a5e, #8c5a35); }
.avatar--cat2 { background: linear-gradient(135deg, #e0b483, #b88350); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 650;
  white-space: nowrap;
}
.tag .i { width: 13px; height: 13px; stroke-width: 2.4; }
.tag--green { background: var(--green-700); color: #fff; }
.tag--mint { background: var(--mint); color: var(--green-800); }
.tag--amber { background: var(--amber-soft); color: var(--amber-ink); }

.dictate {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--green-900);
  color: #fff;
}
.dictate__mic {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blood);
  flex: none;
  box-shadow: 0 0 0 0 rgb(200 68 60 / 55%);
  animation: pulse 1.8s ease-out infinite;
}
.dictate__mic .i { width: 16px; height: 16px; }
.dictate__text { min-width: 0; font-size: .8rem; color: rgb(255 255 255 / 80%); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 639px) { .win--hero .wave i:nth-child(n+10) { display: none; } }
/* Su un telefono stretto la barra della dettatura deve leggersi intera: meno onde, testo un poco piu' piccolo. */
@media (min-width: 1024px) and (max-width: 1199px) { .win--hero .wave i:nth-child(n+7) { display: none; } }
@media (max-width: 399px) {
  .win--hero .wave i:nth-child(n+7) { display: none; }
  .win--hero .dictate { gap: 10px; }
  .win--hero .dictate__text { font-size: .75rem; }
  .hero__kicker { font-size: 1rem; }
  .seg span { padding-inline: 4px; font-size: .88rem; }
}
.wave { display: flex; align-items: center; gap: 3px; height: 24px; flex: none; }
.wave i { width: 3px; border-radius: 3px; background: #9fe0b4; height: 30%; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: -.2s; }
.wave i:nth-child(3n) { animation-delay: -.45s; }
.wave i:nth-child(4n) { animation-delay: -.7s; }
.wave i:nth-child(5n) { animation-delay: -.95s; }

@keyframes wave { 0%, 100% { height: 22%; } 50% { height: 100%; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(200 68 60 / 55%); } 100% { box-shadow: 0 0 0 12px rgb(200 68 60 / 0%); } }

/* telefono */
.phone {
  position: relative;
  width: 270px;
  padding: 10px;
  border-radius: 44px;
  background: #0f1813;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgb(255 255 255 / 6%) inset;
}
.phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 84px;
  height: 22px;
  border-radius: 999px;
  background: #0f1813;
  transform: translateX(-50%);
  z-index: 2;
}
.phone__screen {
  min-height: 420px;
  border-radius: 34px;
  padding: 54px 12px 16px;
  background:
    radial-gradient(260px 220px at 20% 10%, #d9c8f1 0%, rgb(217 200 241 / 0%) 70%),
    radial-gradient(240px 260px at 90% 80%, #f6e2c4 0%, rgb(246 226 196 / 0%) 70%),
    linear-gradient(170deg, #ece3f8, #f6f2eb);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone__time { text-align: center; font-size: 2.9rem; font-weight: 300; letter-spacing: -.02em; color: var(--app-ink); line-height: 1; margin-bottom: 10px; }

.notif {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgb(255 255 255 / 88%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px -8px rgb(16 32 26 / 30%);
  font-size: .8rem;
  line-height: 1.35;
  color: var(--ink-2);
}
.notif b { color: var(--ink); font-size: .86rem; }
.notif__app { display: flex; align-items: center; gap: 6px; font-size: .68rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.notif__app img { width: 16px; height: 16px; flex: none; aspect-ratio: 1; object-fit: contain; border-radius: 4px; }
.notif__title { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.notif__drop { width: 10px; height: 13px; flex: none; }
.notif--soft { opacity: .75; }
.notif--pop { animation: pop .9s cubic-bezier(.2, .9, .3, 1.2) both .4s; }
@keyframes pop { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }

.phone--hero { width: 100%; }
.phone--hero .phone__screen { min-height: 380px; }
@media (max-width: 639px) {
  .phone--hero { width: 220px; }
  .phone--hero .phone__screen { min-height: 0; padding-bottom: 18px; }
  .phone--hero .phone__time { font-size: 2.3rem; }
  .phone--hero .notif--soft { display: none; }
  .win--hero .row:nth-child(n+3) { display: none; }
  .win__body { padding: 14px; }
  .row { grid-template-columns: 40px 32px minmax(0, 1fr); }
  .avatar { width: 32px; height: 32px; }
}

/* ---------- perché POWSHVet: i tre motivi ---------- */
.section--reasons { padding-block: clamp(56px, 7vw, 88px); }
.section__head--center { margin-inline: auto; text-align: center; }
.reasons { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 760px) { .reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.reason { padding: 26px; border-radius: var(--radius-lg); background: var(--soft); border: 1px solid var(--line); }
.reason .ico { margin-bottom: 16px; }
.reason p { margin-top: 8px; color: var(--ink-2); }

/* ---------- striscia ---------- */
.strip { border-block: 1px solid var(--line); background: #fff; }
.strip__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 36px;
  padding-block: 22px;
  color: var(--ink-2);
  font-weight: 600;
}
.strip__row span { display: inline-flex; align-items: center; gap: 9px; }
.strip__row .i { color: var(--green-600); }

/* ---------- come funziona: la mini demo ----------
   Senza script le quattro tappe sono una sotto l'altra; con lo script (site.js,
   data-tabs) diventano schede, e i pannelli stanno tutti nella stessa cella della
   griglia: l'altezza e' quella del piu' alto e cambiare scheda non sposta niente.
   Viola = l'app del proprietario, verde = la clinica, come nel riquadro principale. */
.demo__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.demo__tabs[hidden] { display: none; }
@media (min-width: 900px) { .demo__tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.demo__tab {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1.5px solid #e7dfd1;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.demo__tab:hover { border-color: var(--green-300); }
.demo__tab--app:hover { border-color: #c4b0e2; }
.demo__tab[aria-selected="true"] { border-color: var(--green-600); box-shadow: 0 0 0 3px rgb(84 161 108 / 16%), var(--shadow); }
.demo__tab--app[aria-selected="true"] { border-color: var(--app-purple); box-shadow: 0 0 0 3px rgb(112 72 171 / 14%), var(--shadow); }
.demo__n {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-800);
  font-weight: 750;
  font-size: .9rem;
  transition: background-color .2s, color .2s;
}
.demo__tab--app .demo__n { background: var(--app-lilac); color: var(--app-purple); }
.demo__tab[aria-selected="true"] .demo__n { background: var(--green-700); color: #fff; }
.demo__tab--app[aria-selected="true"] .demo__n { background: var(--app-purple); }
.demo__tab-text { display: grid; min-width: 0; line-height: 1.25; }
.demo__tab-text b { font-size: .98rem; color: var(--ink); }
.demo__tab-text small { font-size: .82rem; color: var(--ink-3); }
@media (max-width: 899px) {
  .demo__tab { padding: 10px 12px; gap: 10px; align-items: flex-start; }
  .demo__n { width: 26px; height: 26px; font-size: .82rem; }
}

.demo__panels { display: grid; gap: 18px; }
.demo__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding: clamp(18px, 2.6vw, 30px);
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid #ebe3d6;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) {
  .demo__panel { grid-template-columns: 1.08fr .92fr; gap: 48px; }
}
@media (max-width: 639px) {
  .demo__panel { padding: 0; gap: 22px; border: 0; background: none; box-shadow: none; }
}
.demo[data-tabs] .demo__panel { grid-area: 1 / 1; }
.demo[data-tabs] .demo__panel:not([data-active]) {
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.demo[data-tabs] .demo__panel[data-active] { transition: opacity .35s ease, transform .35s ease; }
.demo[data-tabs] .demo__panel:not([data-active]) .wave i,
.demo[data-tabs] .demo__panel:not([data-active]) .dictate__mic { animation-play-state: paused; }

.demo__visual { display: grid; place-items: center; padding: 30px 18px; border-radius: 24px; }
@media (max-width: 639px) { .demo__visual { padding: 22px 14px; } }
.demo__visual--app {
  background:
    radial-gradient(360px 280px at 25% 12%, #e4d7f6 0%, rgb(228 215 246 / 0%) 70%),
    radial-gradient(320px 260px at 85% 92%, #f9ecd0 0%, rgb(249 236 208 / 0%) 70%),
    var(--app-lilac);
}
.demo__visual--clinic {
  background:
    radial-gradient(380px 300px at 22% 10%, #d7f1df 0%, rgb(215 241 223 / 0%) 70%),
    radial-gradient(300px 260px at 88% 95%, #e6f4ea 0%, rgb(230 244 234 / 0%) 70%),
    var(--soft);
}
.demo__copy { align-self: center; }
.demo__step { color: var(--green-700); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.demo__step--app { color: var(--app-purple); }
.demo__copy h3 { margin-top: 10px; font-size: clamp(1.45rem, 2.4vw, 1.95rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 750; }
.demo__copy > p:not(.demo__step) { margin-top: 14px; font-size: 1.08rem; color: var(--ink-2); }
.demo__copy > p.demo__vet { margin-top: 18px; padding: 12px 16px; border-radius: 14px; background: var(--mint); color: var(--green-800); font-size: 1rem; font-weight: 550; }
.demo__vet b { font-weight: 750; }
.demo__next, .demo__cta { margin-top: 26px; padding: 12px 22px; }
.demo__next[hidden] { display: none; }

/* lo schermo del telefono nella demo */
.phone--demo { width: min(268px, 100%); }
.phone--demo .phone__screen { min-height: 470px; padding: 48px 12px 16px; }
.hc { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: .8rem; color: var(--ink-3); }
.hc b { color: var(--app-ink); font-weight: 650; }
.scale { display: flex; gap: 4px; margin: 3px 0 2px; }
.scale i { flex: 1; height: 6px; border-radius: 3px; background: rgb(112 72 171 / 14%); }
.scale i.on { background: var(--app-purple); }
.app-photo { justify-self: start; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--app-lilac); color: var(--app-purple); font-size: .74rem; font-weight: 650; }
.app-btn--wide { margin-top: 0; padding: 10px 14px; border-radius: 14px; text-align: center; font-size: .86rem; }
.progress { display: block; height: 6px; margin: 8px 0 3px; border-radius: 3px; background: rgb(112 72 171 / 16%); overflow: hidden; }
.progress i { display: block; width: 40%; height: 100%; border-radius: 3px; background: var(--app-purple); }
.app-card__meta { font-size: .74rem; color: var(--ink-3); }
.app-list { display: grid; gap: 4px; margin-top: 4px; }
.app-list li { position: relative; padding-left: 14px; font-size: .82rem; color: var(--ink-2); }
.app-list li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 6px; height: 6px; border-radius: 50%; background: var(--app-purple); }

/* lo schermo di POWSHVet nella demo */
.win--demo { width: 100%; max-width: 500px; }
.win--demo .win__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px; }
@media (max-width: 639px) { .win--demo .win__body { padding: 14px; } }
.rep__head { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.rep__who { display: grid; min-width: 0; line-height: 1.25; }
.rep__who b { font-size: .98rem; }
.rep__who small { overflow: hidden; color: var(--ink-3); font-size: .78rem; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 479px) { .rep__head { grid-template-columns: 36px minmax(0, 1fr); } .rep__head .tag { display: none; } }
.rep__alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--blood-soft);
  border: 1px solid #f6cfcb;
  color: #9b2c25;
  font-size: .84rem;
  font-weight: 700;
}
.rep__alert::before { content: "!"; display: grid; place-items: center; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--blood); color: #fff; font-size: .72rem; font-weight: 800; }
.rep__box { padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.rep__label { margin-bottom: 4px; color: var(--green-700); font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.rep__list { display: grid; gap: 4px; }
.rep__list li { position: relative; padding-left: 14px; font-size: .84rem; line-height: 1.4; color: var(--ink-2); }
.rep__list li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 5px; height: 5px; border-radius: 50%; background: var(--green-500); }
.rep__quote { font-size: .86rem; color: var(--ink); }
.rep__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rep__chips span { padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-3); font-size: .76rem; font-weight: 600; }
.ask__title { display: flex; align-items: center; gap: 6px; color: var(--green-700); font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.ask__title .i { width: 15px; height: 15px; }
.ask { display: grid; gap: 8px; font-size: .84rem; }
.win--demo .dictate { margin-top: 0; }
.win--demo .referto--mini { margin-top: 0; padding: 14px; border: 1px solid var(--line); box-shadow: none; }
.referto__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 4px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: .86rem; }

/* Powsh Vet AI che risponde (site.js, solo senza il movimento ridotto): la domanda, i
   puntini, la risposta parola per parola e il riferimento al referto. Tutto occupa gia'
   il suo posto, i puntini stanno sopra la risposta: niente si sposta. */
.ask__slot { position: relative; display: grid; }
.ask__dots { display: none; }
.ask[data-live] .ask__dots {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  gap: 4px;
  padding: 13px 14px;
  border-radius: 16px 16px 16px 4px;
  background: var(--soft);
  border: 1px solid var(--line);
  opacity: 0;
  transition: opacity .2s ease;
}
.ask[data-live] .ask__dots.on { opacity: 1; }
.ask__dots i { width: 6px; height: 6px; border-radius: 50%; background: #8b9890; animation: typing 1.1s ease-in-out infinite; }
.ask__dots i:nth-child(2) { animation-delay: .15s; }
.ask__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.ask[data-live] .chat__q, .ask[data-live] .chat__a { opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.ask[data-live] .chat__q.on, .ask[data-live] .chat__a.on { opacity: 1; transform: none; }
.ask[data-live] .chat__a { text-wrap: wrap; }
.ask[data-live] .ask__text .w { opacity: 0; transition: opacity .2s ease; }
.ask[data-live] .ask__text .w.on { opacity: 1; }
.ask[data-live] .cite { opacity: 0; transform: scale(.92); transition: opacity .3s ease, transform .3s ease; }
.ask[data-live] .cite.on { opacity: 1; transform: none; }
.ask[data-clearing] .chat__q, .ask[data-clearing] .chat__a, .ask[data-clearing] .cite { transition-duration: .5s; }
.ask[data-paused] .ask__dots i { animation-play-state: paused; }

/* ---------- funzioni (griglia) ---------- */
.bento { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--soft);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card h3 + p { margin-top: 10px; color: var(--ink-2); }
.card__text p { margin-top: 10px; color: var(--ink-2); }
.card--accent {
  background: linear-gradient(160deg, var(--green-700) 0%, var(--green-900) 100%);
  border-color: transparent;
  color: #fff;
}
.card--accent h3 { color: #fff; }
.card--accent h3 + p { color: rgb(255 255 255 / 80%); }
.card--plain { background: #fff; }

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--wide, .a-more { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
      "agenda agenda ref"
      "pre    prev   ref"
      "bill   bill   rx"
      "more   more   more";
  }
  .card--wide, .a-more { grid-column: auto; }
  .a-agenda { grid-area: agenda; }
  .a-pre { grid-area: pre; }
  .a-ref { grid-area: ref; }
  .a-prev { grid-area: prev; }
  .a-bill { grid-area: bill; }
  .a-rx { grid-area: rx; }
  .a-more { grid-area: more; }
  .a-agenda, .a-bill { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
  .a-more { display: grid; grid-template-columns: .55fr 1.45fr; gap: 28px; align-items: center; }
  .a-more .ico { margin-bottom: 14px; }
}

/* mini agenda */
.mini-cal { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.mini-cal__col { display: grid; align-content: start; gap: 6px; padding: 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.mini-cal__col > b { font-size: .8rem; color: var(--ink-3); font-weight: 650; margin-bottom: 2px; }
.ev {
  display: grid;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.3;
  border-left: 3px solid;
}
.ev small { font-weight: 500; }
.ev--h2 { padding-block: 12px; }
.ev--h3 { padding-block: 18px; }
.ev--a { background: #e5f1fb; border-color: #4f9bd9; color: #1d4f78; }
.ev--b { background: var(--mint); border-color: var(--green-500); color: var(--green-800); }
.ev--c { background: #fff4de; border-color: var(--amber); color: var(--amber-ink); }
.ev--d { background: #f1ebfa; border-color: #8a63c4; color: #4d2f7a; }
.ev--off {
  background: repeating-linear-gradient(135deg, #f3f5f4 0 8px, #eaeeec 8px 16px);
  border-color: #c6cfca;
  color: var(--ink-3);
}
@media (min-width: 1024px) { .mini-cal { margin-top: 0; } }

/* referto */
.referto {
  margin-top: 24px;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 40px -18px rgb(0 0 0 / 50%);
  display: grid;
  gap: 4px;
}
.referto__label { font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--green-700); margin-top: 8px; }
.referto__label:first-child { margin-top: 0; }
.referto__line { font-size: .9rem; color: var(--ink-2); line-height: 1.45; }
.referto__line--typing { color: var(--ink); font-weight: 600; }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--green-700); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.rec {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 16%);
}
.rec__dot { width: 12px; height: 12px; border-radius: 50%; background: #ff6b5e; flex: none; animation: pulse 1.8s ease-out infinite; }
.rec__time { font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; }
.wave--light i { background: rgb(255 255 255 / 75%); }
.rec .wave { flex: 1; justify-content: flex-end; }
.a-ref .referto { margin-top: 12px; }

/* La dettatura che si scrive da sola (site.js, solo senza il movimento ridotto): le parole
   non ancora dette sono trasparenti ma occupano gia' il loro posto, e il cursore e' fuori
   dal flusso del testo, cosi' niente si sposta. Ferma la registrazione, ferme le onde. */
.referto[data-live] .referto__line { text-wrap: wrap; }
.referto[data-live] .w { opacity: 0; filter: blur(3px); transition: opacity .35s ease, filter .35s ease; }
.referto[data-live] .w.on { opacity: 1; filter: none; }
.referto[data-live] .referto__label { color: #66746c; transition: color .35s ease; }
.referto[data-live] .referto__label.on { color: var(--green-700); }
.referto[data-clearing] .w, .referto[data-clearing] .referto__label { transition-duration: .6s; }
.referto__line, .w { position: relative; }
.referto__line.is-caret::before, .w.is-caret::after {
  content: "";
  position: absolute;
  top: .2em;
  width: 2px;
  height: 1.08em;
  background: var(--green-700);
  animation: blink 1s steps(1) infinite;
}
.referto__line.is-caret::before { left: 0; }
.w.is-caret::after { left: calc(100% + 2px); }
.referto[data-state="typing"] .is-caret::before, .referto[data-state="typing"] .is-caret::after { animation: none; }
.rec[data-state="done"] .rec__dot { animation: none; background: rgb(255 255 255 / 40%); }
.rec[data-state="done"] .wave i, .a-ref[data-paused] .wave i, .a-ref[data-paused] .rec__dot,
.a-ref[data-paused] .is-caret::before, .a-ref[data-paused] .is-caret::after { animation-play-state: paused; }
@media (min-width: 1024px) { .a-ref .rec { margin-top: auto; } .a-ref h3 + p { margin-bottom: 24px; } }

/* ricetta */
.rx {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 2px;
}
.rx__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; font-size: .85rem; }
.rx__line { font-weight: 700; }
.rx__sub { font-size: .85rem; color: var(--ink-3); }
@media (min-width: 1024px) { .a-rx .rx { margin-top: auto; } .a-rx h3 + p { margin-bottom: 22px; } }

/* conto */
.bill {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: .9rem;
}
.bill p { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.bill__head { padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.bill__head span { color: var(--ink-3); font-size: .8rem; }
.bill__row { padding-block: 6px; color: var(--ink-2); }
.bill__row b { color: var(--ink); font-variant-numeric: tabular-nums; }
.bill__row span { display: grid; }
.bill__row small { display: inline-flex; align-items: center; gap: 5px; color: var(--green-700); font-weight: 600; font-size: .75rem; }
.bill__row small .i { width: 13px; height: 13px; }
.bill__row--new { margin-inline: -8px; padding-inline: 8px; border-radius: 10px; background: var(--mint); }
.bill__total { padding-top: 10px; margin-top: 6px; border-top: 1px dashed var(--line-2); font-weight: 750; font-size: 1rem; }
.bill__done { justify-content: flex-start !important; gap: 8px !important; margin-top: 10px; color: var(--green-700); font-weight: 650; font-size: .82rem; }
.bill__done .i { width: 16px; height: 16px; }
@media (min-width: 1024px) { .bill { margin-top: 0; } }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: .94rem;
  color: var(--ink-2);
}
.chips .i { color: var(--green-600); width: 17px; height: 17px; }
@media (min-width: 1024px) { .chips { margin-top: 0; } }

/* ---------- i numeri della clinica ---------- */
.numbers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
@media (min-width: 960px) { .numbers { grid-template-columns: 1fr 1.05fr; gap: 64px; } }
.numbers__copy h2 { margin-top: 14px; }
.win--kpi .win__body { padding: 18px; }
@media (max-width: 479px) { .win--kpi .win__body { padding: 12px; } }
.kpi__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; margin-bottom: 12px; }
.kpi__top b { font-size: 1rem; }
.kpi__top span { color: var(--ink-3); font-size: .78rem; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 520px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kpi { display: grid; align-content: start; gap: 1px; min-width: 0; padding: 11px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.kpi small { overflow: hidden; color: var(--ink-3); font-size: .72rem; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.kpi b { font-size: 1.3rem; font-weight: 750; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.kpi span { justify-self: start; margin-top: 3px; padding: 1px 8px; border-radius: 8px; background: var(--mint); color: var(--green-800); font-size: .72rem; font-weight: 700; }
.kpi .kpi__warn { background: var(--amber-soft); color: var(--amber-ink); }
.kpi__chart { display: grid; gap: 7px; margin-top: 10px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.kpi__chart-title { color: var(--ink-2); font-size: .76rem; font-weight: 700; }
.kpi__chart .bar { height: 28px; }
.kpi__chart .bar b { line-height: 28px; }
.kpi__chart .bar em { position: absolute; top: 0; right: 10px; z-index: 1; font-style: normal; font-weight: 700; font-size: .78rem; line-height: 28px; font-variant-numeric: tabular-nums; }
.bar__fill--v1 { width: 78%; }
.bar__fill--v2 { width: 61%; }
.bar__fill--v3 { width: 44%; }

/* ---------- AI ---------- */
.section--dark {
  position: relative;
  background:
    radial-gradient(900px 500px at 90% 0%, rgb(84 161 108 / 30%) 0%, rgb(84 161 108 / 0%) 60%),
    radial-gradient(700px 500px at 0% 100%, rgb(39 128 83 / 35%) 0%, rgb(39 128 83 / 0%) 60%),
    var(--green-950);
  color: #fff;
  overflow: hidden;
}
.ai-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 900px) { .ai-grid { grid-template-columns: repeat(3, 1fr); } }
.ai-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(255 255 255 / 12%);
}
.ai-card h3 { color: #fff; margin-top: 22px; }
.ai-card > p { margin-top: 8px; color: rgb(255 255 255 / 76%); }

.chat, .bars, .tips {
  display: grid;
  gap: 10px;
  min-height: 176px;
  align-content: center;
  padding: 18px;
  border-radius: 18px;
  background: rgb(255 255 255 / 96%);
  color: var(--ink);
  font-size: .88rem;
}
.chat__q { justify-self: end; max-width: 85%; padding: 9px 13px; border-radius: 16px 16px 4px 16px; background: var(--green-700); color: #fff; }
.chat__a { justify-self: start; max-width: 92%; padding: 9px 13px; border-radius: 16px 16px 16px 4px; background: var(--soft); border: 1px solid var(--line); }
.cite { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--mint); color: var(--green-800); font-size: .72rem; font-weight: 650; }
.bars__q { font-weight: 700; color: var(--ink-2); font-size: .8rem; }
.bar { position: relative; display: block; height: 30px; border-radius: 8px; background: var(--soft); overflow: hidden; }
.bar b { position: relative; z-index: 1; display: block; padding: 0 10px; line-height: 30px; font-size: .8rem; }
.bar__fill { position: absolute; inset: 0 auto 0 0; border-radius: 8px; background: linear-gradient(90deg, #9fd4ae, #54a16c); }
.bar__fill--1 { width: 92%; }
.bar__fill--2 { width: 71%; }
.bar__fill--3 { width: 54%; }
.tip { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); font-weight: 600; font-size: .84rem; }
.tip .i { color: var(--green-700); width: 17px; height: 17px; }
.tip:nth-child(3) .i { color: var(--amber-ink); }

/* ---------- app dei proprietari ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.split__visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 36px 16px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(420px 320px at 30% 20%, #e4d7f6 0%, rgb(228 215 246 / 0%) 70%),
    radial-gradient(380px 300px at 80% 90%, #f9ecd0 0%, rgb(249 236 208 / 0%) 70%),
    var(--app-lilac);
}
/* La sezione dell'app parla nei colori di POWSH. */
.section--app .eyebrow { color: var(--app-purple); }
.section--app .ticks .i { background: var(--app-lilac); color: var(--app-purple); }
.split__copy h2 { margin-top: 14px; }
.phone--app { width: min(290px, 100%); }
.phone__screen--app { padding: 50px 12px 18px; background: #faf8fd; min-height: 520px; }
.app-head { display: flex; align-items: center; gap: 10px; padding: 0 4px 6px; }
.app-head b { display: block; font-size: 1.05rem; }
.app-head small { color: var(--ink-3); font-size: .78rem; }
.app-pet { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #f3e3cf; font-size: 1.4rem; }
.app-card { padding: 12px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--app-line); display: grid; gap: 3px; }
.app-card--green { background: linear-gradient(160deg, #f4eefb, #ebe1f8); border-color: var(--app-line); }
.app-card--soft { background: #fffaf0; border-color: #f4e2bd; }
.app-card__eyebrow { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--app-purple); }
.app-card--soft .app-card__eyebrow { color: var(--amber-ink); }
.app-card__title { font-weight: 750; font-size: .98rem; color: var(--app-ink); }
.app-card__text { font-size: .84rem; color: var(--ink-2); line-height: 1.4; }
.doses { display: flex; gap: 5px; margin: 8px 0 6px; }
.doses i { flex: 1; height: 6px; border-radius: 3px; background: rgb(112 72 171 / 16%); }
.doses i.on { background: var(--app-purple); }
.app-btn { justify-self: start; margin-top: 4px; padding: 6px 14px; border-radius: 999px; background: var(--app-purple); color: #fff; font-size: .78rem; font-weight: 650; }
.app-reply { justify-self: end; margin-top: 6px; padding: 7px 12px; border-radius: 14px 14px 4px 14px; background: var(--app-purple); color: #fff; font-size: .8rem; }

.ticks { display: grid; gap: 16px; margin-top: 30px; }
.ticks li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; color: var(--ink-2); }
.ticks .i { width: 44px; height: 44px; padding: 11px; border-radius: 13px; background: var(--mint); color: var(--green-700); }
.ticks b { color: var(--ink); }
.ticks span { padding-top: 9px; }
.note { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 10px 16px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-ink); font-weight: 600; font-size: .95rem; }
.note .i { width: 18px; height: 18px; }

/* ---------- confronto ----------
   Una tabella vera (i ruoli ARIA restano anche quando, su telefono, le righe diventano
   schede impilate): niente scorrimento di lato a nessuna larghezza. */
.versus { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; }
.versus th, .versus td { vertical-align: top; }
.versus__cell { display: flex; align-items: flex-start; gap: 12px; }
.versus__cell .i { width: 24px; height: 24px; flex: none; margin-top: 1px; padding: 5px; border-radius: 50%; stroke-width: 2.8; }
.versus__old { color: var(--ink-3); }
.versus__old .i { background: #edf1ee; color: #8b9890; }
.versus__new { background: var(--green-700); color: #fff; }
.versus__new .versus__cell { font-weight: 450; }
.versus__new b { font-weight: 700; }
.versus__new .i { background: #fff; color: var(--green-700); }
.versus__brand { display: inline-flex; align-items: center; gap: 8px; }
.versus__brand img { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #fff; }
.versus tbody th { color: var(--ink); font-weight: 700; font-size: 1.05rem; line-height: 1.35; }

@media (min-width: 760px) {
  .versus { table-layout: fixed; }
  .versus th, .versus td { padding: 18px 22px; }
  .versus__corner { width: 22%; }
  .versus thead .versus__old { width: 35%; }
  .versus thead .versus__new { width: 43%; }
  .versus thead th { padding-block: 20px 16px; font-size: .8rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
  .versus tbody th { padding-left: 4px; border-top: 1px solid var(--line-2); }
  .versus__old { background: #fff; border-left: 1px solid var(--line); }
  .versus thead .versus__old { color: var(--ink-2); border-top: 1px solid var(--line); border-radius: 22px 0 0 0; }
  .versus tbody .versus__old { border-top: 1px solid var(--line); }
  .versus tbody tr:last-child .versus__old { border-bottom: 1px solid var(--line); border-radius: 0 0 0 22px; }
  .versus thead .versus__new { border-radius: 0 22px 0 0; background: var(--green-800); }
  .versus tbody .versus__new { border-top: 1px solid rgb(255 255 255 / 14%); }
  .versus tbody tr:last-child .versus__new { border-radius: 0 0 22px 0; }
}

@media (max-width: 759px) {
  .versus, .versus tbody, .versus tr, .versus th, .versus td { display: block; width: auto; }
  .versus thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .versus tbody tr { margin-top: 14px; padding: 6px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
  .versus tbody tr:first-child { margin-top: 0; }
  .versus tbody th { padding: 12px 12px 4px; font-size: 1.12rem; }
  .versus tbody td { padding: 12px; border-radius: 16px; }
  .versus tbody .versus__new { margin-top: 4px; }
  .versus td::before { content: attr(data-label); display: block; margin-bottom: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
  .versus__old::before { color: var(--ink-3); }
  .versus__new::before { color: #cfe6d6; }
}

/* ---------- perché POWSHVet ---------- */
.section__head--wide { max-width: 900px; }
.why__plain { color: var(--ink-3); }
.why__wish { color: var(--green-700); }
.why__sub { margin: 0 0 20px; font-size: clamp(1.35rem, 2.2vw, 1.7rem); letter-spacing: -.015em; }
.ops + .why__close, .versus + .why__sub { margin-top: clamp(48px, 6vw, 72px); }
.ops { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px) {
  .ops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops .op:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .ops { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ops .op, .ops .op:last-child { grid-column: span 2; }
  .ops .op:nth-child(n+4) { grid-column: span 3; }
}
.op { padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.op .ico { margin-bottom: 14px; }
.op h4 { margin: 0; font-size: 1.15rem; line-height: 1.25; letter-spacing: -.01em; }
.op p { margin-top: 8px; color: var(--ink-2); }
.op b { color: var(--ink); font-weight: 650; }
.why__close {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--green-700) 0%, var(--green-900) 100%);
}
.why__close-text { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 750; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.why__close-text span { color: #a9e6bd; }
.btn--light { background: #fff; color: var(--green-800); box-shadow: 0 10px 24px -12px rgb(0 0 0 / 50%); }
.btn--light:hover { background: var(--mint); }


/* ---------- POWSH Blood ---------- */
.blood-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.blood-brand__logo { display: block; width: auto; height: 34px; }
.section--blood {
  background:
    radial-gradient(700px 420px at 100% 20%, #fbe7e4 0%, rgb(251 231 228 / 0%) 60%),
    radial-gradient(800px 500px at 0% 100%, #e3f3e8 0%, rgb(227 243 232 / 0%) 60%),
    #fff;
}
.blood { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
@media (min-width: 960px) { .blood { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.blood__copy h2 { margin-top: 14px; }
.steps { display: grid; gap: 18px; margin-top: 32px; counter-reset: none; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.steps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green-700); color: #fff; font-weight: 750; }
.steps b { font-size: 1.1rem; }
.steps p { color: var(--ink-2); margin-top: 2px; }
.blood__points { display: grid; gap: 10px; margin-top: 28px; }
.blood__points li { display: flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 600; }
.blood__points .i { color: var(--green-600); }

.blood__visual { position: relative; display: grid; justify-items: center; gap: 0; padding-bottom: 20px; }
.blood-card {
  position: relative;
  width: min(100%, 420px);
  padding: 34px 32px 32px;
  border-radius: 34px;
  background: #e3f3e8;
  border: 1px solid #cfe7d6;
  box-shadow: 0 30px 60px -30px rgb(13 59 37 / 45%);
}
.blood-card::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 26px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff url("/assets/img/blood-mark.8d68e2d0e8.svg") center / 26px 34px no-repeat;
  box-shadow: 0 6px 16px -8px rgb(200 68 60 / 60%);
}
.blood-card__eyebrow { display: flex; align-items: center; gap: 10px; color: var(--green-700); font-weight: 750; letter-spacing: .06em; text-transform: uppercase; font-size: 1rem; }
.blood-card__eyebrow .i { width: 22px; height: 22px; }
.blood-card__title { margin-top: 18px; padding-right: 48px; font-size: 2rem; line-height: 1.12; font-weight: 750; letter-spacing: -.02em; color: #1a5236; text-wrap: balance; }
.blood-card__text { margin-top: 18px; font-size: 1.2rem; line-height: 1.45; color: #2b5a40; }
.blood-card__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: 20px;
  background: #1f7a4c;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color .2s, transform .2s;
}
.blood-card__btn:hover { background: var(--green-800); }
.blood-card__btn .i { width: 20px; height: 20px; }
.notif--blood {
  position: relative;
  z-index: 2;
  width: min(92%, 360px);
  margin-top: -28px;
  margin-left: 18%;
  padding: 12px 14px;
  background: rgb(255 255 255 / 96%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 639px) {
  .blood-card { padding: 28px 22px 24px; border-radius: 28px; }
  .blood-card__title { font-size: 1.7rem; }
  .notif--blood { margin-left: 0; }
}

.section--cream { background: var(--cream); }

/* ---------- sicurezza ---------- */
.grid3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 640px) { .grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.feat { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.feat p { margin-top: 8px; color: var(--ink-2); }

/* ---------- domande ---------- */
.section--soft { background: var(--soft); }
.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 960px) {
  .faq { grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
  .faq__head { position: sticky; top: 110px; margin-bottom: 0; }
}
.faq__list { display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-weight: 650;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--green-700); transition: transform .25s; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 22px 22px; color: var(--ink-2); }

/* ---------- modulo ---------- */
.section--form {
  background:
    radial-gradient(900px 520px at 0% 0%, rgb(84 161 108 / 28%) 0%, rgb(84 161 108 / 0%) 60%),
    radial-gradient(700px 520px at 100% 100%, rgb(255 172 30 / 14%) 0%, rgb(255 172 30 / 0%) 60%),
    var(--green-900);
  color: #fff;
}
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: start; }
@media (min-width: 960px) { .contact { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.contact__copy h2 { color: #fff; }
.contact__copy .section__lead { color: rgb(255 255 255 / 80%); }
.contact__claim { margin-top: 18px; color: #fff; font-size: 1.2rem; font-weight: 650; line-height: 1.45; }
.contact__copy .contact__claim + .section__lead { margin-top: 12px; font-size: 1.08rem; }
.start__title { margin-top: 34px; color: #fff; font-size: 1.2rem; }
.start { display: grid; gap: 12px; margin-top: 16px; }
.start li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; border-radius: 18px; background: rgb(255 255 255 / 7%); border: 1px solid rgb(255 255 255 / 14%); }
.start__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgb(255 255 255 / 12%); color: #9fe0b4; font-weight: 750; font-size: .95rem; font-variant-numeric: tabular-nums; }
.start h4 { margin: 0; color: #fff; font-size: 1.02rem; line-height: 1.3; }
.start p { margin-top: 4px; color: rgb(255 255 255 / 80%); font-size: .95rem; }
.contact__close { margin-top: 22px; color: #fff; font-weight: 650; }

.form-card {
  position: relative;
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--radius-xl);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 55%);
}
.form { display: grid; gap: 22px; }

.seg { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg legend { padding: 0; margin-bottom: 10px; font-weight: 650; font-size: .95rem; color: var(--ink-2); }
.seg__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 6px 8px;
  border-radius: 12px;
  text-align: center;
  font-weight: 650;
  font-size: .95rem;
  line-height: 1.15;
  color: var(--ink-2);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.seg em { display: block; font-style: normal; font-size: .72rem; font-weight: 600; color: var(--green-700); }
.seg input:checked + span { background: #fff; color: var(--green-800); box-shadow: var(--shadow); }
.seg input:focus-visible + span { outline: 3px solid var(--green-500); outline-offset: 1px; }

.form__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 560px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.req { color: var(--blood); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231e6b43' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa69f; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--green-300); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgb(84 161 108 / 18%);
}
.field [aria-invalid="true"] { border-color: var(--blood); box-shadow: 0 0 0 4px rgb(200 68 60 / 12%); }
.field__err { min-height: 0; color: var(--blood); font-size: .88rem; font-weight: 600; }
.field__err:empty { display: none; }
.field__hint { margin-top: -6px; color: var(--ink-3); font-size: .9rem; }
.field__hint.is-error { color: var(--blood); font-weight: 600; }
.field[hidden] { display: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__foot { display: grid; gap: 12px; }
.form__head { display: grid; gap: 6px; }
.form__title { font-size: 1.35rem; line-height: 1.2; letter-spacing: -.015em; }
.form__sub { color: var(--ink-2); font-size: .98rem; }
.form__privacy, .form__mail { color: var(--ink-3); font-size: .9rem; text-align: center; }
.form__privacy a, .form__mail a { color: var(--green-700); font-weight: 600; }
.form__status { color: var(--blood); font-weight: 600; text-align: center; }
.form__status:empty { display: none; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }

.done { display: grid; justify-items: center; gap: 10px; padding: 48px 12px; text-align: center; outline: none; }
.done[hidden] { display: none; }
.done__ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--mint); color: var(--green-700); }
.done__ico .i { width: 38px; height: 38px; }
.done__title { margin-top: 8px; font-size: 1.7rem; font-weight: 750; letter-spacing: -.02em; }
.done__text { max-width: 420px; color: var(--ink-2); font-size: 1.1rem; }

/* ---------- piede ---------- */
.foot { background: var(--green-950); color: rgb(255 255 255 / 72%); padding-top: 64px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 44px; }
@media (min-width: 860px) { .foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot__brand p { margin-top: 16px; max-width: 340px; }
.foot__col { display: grid; align-content: start; gap: 10px; }
.foot__title { color: #fff; font-weight: 700; margin-bottom: 4px; }
.foot a { color: rgb(255 255 255 / 80%); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .brand:hover { text-decoration: none; }
.foot__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px 30px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: .9rem;
  color: rgb(255 255 255 / 60%);
}

/* ---------- pagine di testo (privacy, 404) ---------- */
.doc { padding-block: clamp(48px, 7vw, 88px); }
.doc__inner { max-width: 760px; }
.doc h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; margin-top: 14px; }
.doc h2 { font-size: 1.4rem; letter-spacing: -.01em; margin-top: 40px; }
.doc p, .doc li { color: var(--ink-2); margin-top: 12px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc a { color: var(--green-700); font-weight: 600; }
.doc__meta { color: var(--ink-3); font-size: .95rem; margin-top: 16px; }
.lost { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 18px; padding-block: 80px; }
.lost h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.03em; font-weight: 800; }
.lost p { color: var(--ink-2); }
.lost p a { color: var(--green-700); font-weight: 600; }
.lost .btn { justify-self: center; }

/* ---------- comparsa allo scorrere ---------- */
.rv-hide { opacity: 0; transform: translateY(18px); }
.rv-in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }

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

/* Su telefono il testo della sezione dell'app viene prima del disegno. */
@media (max-width: 959px) {
  .split__visual { order: 2; }
}
