/* Getalife — getalife.fun
   Design v7 "base neutra": superfici Snow su Linen, nessun bordo, ombre morbide Ink,
   accenti = foto di paesaggio e illustrazioni. Solo risorse locali, nessun cookie. */

/* ---------- Font (Asap, SIL OFL 1.1 — assets/fonts/Asap-OFL.txt) ---------- */
@font-face { font-family: "Asap"; src: url("/assets/fonts/Asap-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Asap"; src: url("/assets/fonts/Asap-Italic.otf") format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Asap"; src: url("/assets/fonts/Asap-Medium.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Asap"; src: url("/assets/fonts/Asap-SemiBold.otf") format("opentype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Asap"; src: url("/assets/fonts/Asap-Bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Token ---------- */
:root {
  --ink: #1A1714;
  --umber: #706158;
  --clay: #91867F;
  --taupe: #B7AEA8;
  --pebble: #CEC3BB;
  --mist: #DDD5D0;
  --snow: #FBFAF8;
  --linen: #F8F5F2;
  --bone: #F2EFEA;
  --parchment: #EDEAE1;
  --cream: #F5EDDC;
  --forest: #2F5D3A; /* accento del marchio (app: Palette.forest), solo nella chiusura */

  --shadow-soft: 0 1px 2px rgb(26 23 20 / .04), 0 8px 24px rgb(26 23 20 / .06);
  --shadow-lifted: 0 2px 4px rgb(26 23 20 / .06), 0 24px 48px rgb(26 23 20 / .12);
  --ease: cubic-bezier(.2, .8, .2, 1);

  --sans: "Asap", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --serif: "New York", ui-serif, "Iowan Old Style", Georgia, serif;

  --r-card: 24px;
  --r-big: 40px;
  --gutter: 20px;
  --max: 1200px;

  /* Bordo strappato, stesso disegno fisso del TornEdge dell'app */
  --torn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 16' preserveAspectRatio='none'%3E%3Cpath d='M0 16 L0 3.4 L8.6 3.4 L19.8 2.7 L30.1 5.3 L36.5 6.6 L42.8 5.9 L49.4 2.8 L58.8 9.4 L65.8 4 L76.8 10.5 L87.4 5.6 L101.2 2.4 L114.1 4.6 L121.3 3.1 L129.7 9.3 L137.2 7.2 L148.3 5.4 L158.7 2.6 L165.1 3.9 L176.6 5.8 L185.1 7.3 L194.7 4.7 L207.1 8.3 L215 7.2 L225.2 9.9 L237.1 4.6 L250.9 3.1 L260.3 8.8 L267.5 6.4 L273.8 8 L285.9 7.2 L298.9 4.8 L310.5 7.3 L321.1 6.1 L333.8 10.5 L343.6 8 L350.1 8.3 L361.3 10.9 L373.9 4.6 L382.9 8 L389.1 6.2 L396.5 3.1 L400 3.4 L400 16 Z'/%3E%3C/svg%3E");

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--linen); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--umber); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
strong { font-weight: 600; }
em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--snow); padding: 10px 16px; border-radius: 12px; z-index: 100; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--text { max-width: 800px; }
.section { padding: 112px 0; }
.section--tight { padding: 64px 0; }
.center { text-align: center; }
.lead--center, .center .lead { margin-left: auto; margin-right: auto; }
[hidden] { display: none !important; }
.muted { color: var(--umber); }
.small { font-size: 14px; }

/* ---------- Tipografia ---------- */
.display { font-weight: 700; font-size: clamp(52px, 9.4vw, 120px); line-height: .92; letter-spacing: -0.045em; margin: 0; }
.h2 { font-weight: 600; font-size: clamp(36px, 5.6vw, 68px); line-height: 1; letter-spacing: -0.035em; margin: 0 0 16px; }
.h3 { font-weight: 600; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 10px; }
.lead { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; color: var(--umber); max-width: 46ch; }
.statement { font-weight: 500; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.12; letter-spacing: -0.03em; max-width: 22ch; margin: 0 auto; }
.statement em { color: var(--umber); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--snow); box-shadow: var(--shadow-soft); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--umber); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }
.eyebrow--dark { background: rgb(251 250 248 / .12); color: var(--mist); box-shadow: none; }
.eyebrow--dark::before { background: var(--mist); }

/* ---------- Pulsanti ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0; font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .2s; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--ink); color: var(--snow); }
.btn--primary:hover { color: var(--snow); box-shadow: var(--shadow-lifted); }
.btn--secondary { background: var(--snow); color: var(--ink); box-shadow: var(--shadow-soft); }
.btn--secondary:hover { color: var(--ink); box-shadow: var(--shadow-lifted); }
.btn[aria-disabled="true"] { cursor: default; opacity: .9; }
.btn[aria-disabled="true"]:active { transform: none; }
.btn .arrow { width: 28px; height: 28px; margin-right: -12px; border-radius: 50%; background: var(--snow); color: var(--ink); display: grid; place-items: center; font-size: 15px; }
.btn--secondary .arrow { background: var(--ink); color: var(--snow); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-badge { display: inline-flex; border-radius: 12px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.store-badge img { display: block; height: 52px; width: auto; }
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-lifted); }
.center .actions { justify-content: center; }

/* ---------- Card ---------- */
.card { background: var(--snow); border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow-soft); }
.card > :last-child { margin-bottom: 0; }

/* ---------- Barra a pillola ---------- */
.nav { position: fixed; top: 12px; left: 12px; right: 12px; z-index: 50; display: flex; justify-content: center; pointer-events: none; }
.nav__bar { pointer-events: auto; width: 100%; max-width: 1120px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 20px; border-radius: 999px; background: rgb(251 250 248 / .78); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: var(--shadow-soft); transition: box-shadow .3s var(--ease), background .3s; }
.nav.is-scrolled .nav__bar { background: rgb(251 250 248 / .92); box-shadow: var(--shadow-lifted); }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 22px; width: auto; }
.nav__links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav__links a { text-decoration: none; color: var(--umber); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__cta { min-height: 44px; padding: 0 18px; font-size: 15px; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--snow); transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 24px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.nav__sheet { display: none; }

@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__sheet { pointer-events: auto; position: fixed; top: 76px; left: 12px; right: 12px; max-height: calc(100dvh - 88px); overflow-y: auto; overscroll-behavior: contain; display: none; flex-direction: column; gap: 4px; padding: 16px; border-radius: 28px; background: var(--snow); box-shadow: var(--shadow-lifted); }
  .nav__sheet.is-open { display: flex; }
  .nav__sheet a:not(.btn) { padding: 14px 8px; font-size: 20px; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgb(26 23 20 / .08); }
  .nav__sheet .btn { margin-top: 12px; }
}

/* ---------- Hero ---------- */
.hero { padding: 0; }
.hero__frame { position: relative; margin: 0; border-radius: 0 0 var(--r-big) var(--r-big); overflow: hidden; background: #5d6b60 url("/assets/img/photo-mountains.jpg") center 40% / cover no-repeat; min-height: min(940px, 100svh); padding: 140px 20px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(248 245 242 / .72) 0%, rgb(248 245 242 / .5) 34%, rgb(248 245 242 / 0) 62%); pointer-events: none; }
.hero__copy { position: relative; z-index: 2; color: var(--ink); }

.hero__copy .display em { font-weight: 400; }
.hero__sub { margin: 18px auto 28px; font-size: clamp(18px, 2vw, 22px); font-weight: 500; color: var(--ink); }
.hero__copy .eyebrow { background: rgb(251 250 248 / .9); }
.hero__copy .actions { justify-content: center; }
.hero__stage { position: relative; z-index: 1; margin-top: auto; padding-top: 48px; width: 100%; display: flex; justify-content: center; }
.hero__stage .phone { --w: 300px; margin-bottom: -230px; will-change: transform; }
.hero__mascot { position: absolute; bottom: 8px; left: calc(50% + 210px); width: 210px; z-index: 2; }
.hero__bear { position: absolute; bottom: 0; right: calc(50% + 175px); width: 150px; z-index: 2; }
.hero__after { display: none; }

@media (max-width: 760px) {
  .hero__frame { padding-top: 112px; border-radius: 0 0 32px 32px; min-height: 0; }
  .hero__stage .phone { --w: 216px; margin-bottom: -170px; }
  .hero__mascot { width: 120px; left: calc(50% + 90px); bottom: 0; }
  .hero__bear { width: 92px; right: calc(50% + 100px); }

}

/* ---------- Telefono ---------- */
.phone { --w: 300px; position: relative; width: var(--w); flex: none; aspect-ratio: 1206 / 2622; padding: calc(var(--w) * .032); border-radius: calc(var(--w) * .165); background: var(--ink); box-shadow: var(--shadow-lifted), inset 0 0 0 1.5px rgb(255 255 255 / .12); }
.phone__screens { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .135); overflow: hidden; background: var(--linen); }
.phone__screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone--stack .phone__screens img { opacity: 0; transform: scale(1.02); transition: opacity .35s var(--ease), transform .5s var(--ease); }
.phone--stack .phone__screens img.is-active { opacity: 1; transform: none; }

/* ---------- Fascia a francobollo ---------- */
.stamp { position: relative; margin: 0 -20px; padding: 26px 0; background: var(--ink); color: var(--snow); transform: rotate(-2deg); overflow: hidden;
  -webkit-mask: radial-gradient(circle at 10px 0, transparent 7px, #000 7.5px) top / 20px 51% repeat-x, radial-gradient(circle at 10px 100%, transparent 7px, #000 7.5px) bottom / 20px 51% repeat-x;
          mask: radial-gradient(circle at 10px 0, transparent 7px, #000 7.5px) top / 20px 51% repeat-x, radial-gradient(circle at 10px 100%, transparent 7px, #000 7.5px) bottom / 20px 51% repeat-x; }
.stamp__track { display: flex; width: max-content; }
.stamp__group { display: flex; align-items: center; gap: 36px; padding-right: 36px; font-weight: 600; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em; white-space: nowrap; }
.stamp__group .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--pebble); flex: none; }
.stamp__group .no { color: var(--taupe); }
.stamp__group .no em { color: var(--taupe); }
.stamp-wrap { padding: 72px 0 24px; overflow: hidden; }

/* ---------- Promessa e adesivi ---------- */
.stickers { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin-top: 56px; }
.sticker { width: 220px; padding: 22px 20px 20px; border-radius: 28px; background: var(--snow); box-shadow: var(--shadow-lifted); text-align: center; transition: rotate .4s var(--ease), translate .4s var(--ease), opacity .7s var(--ease), transform .7s var(--ease); }
.sticker:nth-child(1) { rotate: -4deg; }
.sticker:nth-child(2) { rotate: 3deg; translate: 0 14px; }
.sticker:nth-child(3) { rotate: -2deg; }
.sticker:hover { rotate: 0deg; translate: 0 -4px; }
.sticker__art { height: 120px; display: grid; place-items: center; margin-bottom: 12px; }
.sticker__art img { max-height: 120px; width: auto; }
.sticker__art svg { width: 92px; height: 92px; }
.sticker p { margin: 0; font-weight: 600; font-size: 17px; }

/* ---------- Funzioni con telefono sticky ---------- */
.features { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.features__steps { display: flex; flex-direction: column; }
.feature { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
.feature__num { font: italic 400 20px/1 var(--serif); color: var(--umber); margin-bottom: 18px; }
.feature p { max-width: 44ch; font-size: 19px; color: var(--umber); }
.feature .phone { display: none; }
.features__sticky { position: sticky; top: 14vh; height: 72vh; display: flex; align-items: center; justify-content: center; }
.features__sticky .phone { --w: min(330px, calc(72vh * 1206 / 2622)); }
.features__intro { max-width: 640px; margin-bottom: 24px; }

@media (max-width: 960px) {
  .features { grid-template-columns: 1fr; gap: 20px; }
  .features__sticky { display: none; }
  .feature { min-height: 0; padding: 28px 24px 0; border-radius: var(--r-card); background: var(--snow); box-shadow: var(--shadow-soft); overflow: hidden; margin-bottom: 20px; align-items: flex-start; }
  .feature .phone { --w: 230px; display: block; align-self: center; margin: 24px 0 -150px; }
  .feature::after { content: ""; display: block; height: 150px; }
}

/* ---------- Poster "out there" ---------- */
.poster { position: relative; border-radius: var(--r-big); background: var(--ink); color: var(--snow); padding: 88px 24px 0; overflow: hidden; text-align: center; }
.poster::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 18px; background: var(--linen); -webkit-mask: var(--torn) top / 100% 100% no-repeat; mask: var(--torn) top / 100% 100% no-repeat; transform: scaleY(-1); }
.poster .h2 { color: var(--snow); }
.poster .lead { color: var(--mist); margin: 0 auto; }
.fan { position: relative; height: 380px; margin-top: 56px; display: flex; justify-content: center; }
.fan img { position: absolute; bottom: -40px; width: min(300px, 40vw); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; border: 6px solid var(--snow); box-shadow: var(--shadow-lifted); transition: transform .9s var(--ease); }
.fan img:nth-child(1) { transform: translateX(-62%) rotate(-8deg); }
.fan img:nth-child(2) { transform: translateY(-24px); z-index: 1; }
.fan img:nth-child(3) { transform: translateX(62%) rotate(8deg); }
@media (max-width: 600px) { .fan { height: 260px; } .fan img { width: 46vw; } }

/* ---------- Numeri ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.number { padding: 28px 24px; }
.number__value { display: flex; align-items: flex-end; gap: 6px; font-weight: 700; font-size: clamp(56px, 6vw, 84px); line-height: 1; letter-spacing: -0.04em; margin-bottom: 14px; }
.number__value small { margin-bottom: .2em; font: italic 400 22px/1 var(--serif); letter-spacing: 0; color: var(--umber); }
.digit { display: inline-block; height: 1em; overflow: hidden; line-height: 1; }
.digit > span { display: block; }
.digit > span > span { display: block; height: 1em; }
.number h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.number p { margin: 0; color: var(--umber); font-size: 15px; }
@media (max-width: 960px) { .numbers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 340px) { .numbers { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .number { padding: 20px 16px; } .number__value { font-size: 52px; } .number__value small { font-size: 17px; } }

/* ---------- Privacy ---------- */
.privacy-band { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; border-radius: var(--r-big); background: var(--ink); color: var(--snow); padding: 72px 64px 0; overflow: hidden; }
.privacy-band .h2 { color: var(--snow); }
.privacy-band ul { list-style: none; padding: 0; margin: 24px 0 28px; }
.privacy-band li { position: relative; padding-left: 32px; margin-bottom: 14px; color: var(--mist); font-size: 18px; }
.privacy-band li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 13px; height: 7px; border-left: 2px solid var(--snow); border-bottom: 2px solid var(--snow); transform: rotate(-45deg); }
.privacy-band__text { padding-bottom: 72px; }
.privacy-band .phone { --w: 290px; justify-self: center; rotate: 4deg; translate: 0 40px; margin-bottom: -40px; }
.link-light { color: var(--snow); font-weight: 600; }
.link-light:hover { color: var(--mist); }
@media (max-width: 900px) {
  .privacy-band { grid-template-columns: 1fr; padding: 48px 24px 0; }
  .privacy-band__text { padding-bottom: 0; }
  .privacy-band .phone { --w: 230px; margin-bottom: -120px; }
  .privacy-band::after { content: ""; height: 100px; }
}

/* ---------- Prezzi ---------- */
.pricing { max-width: 560px; margin: 40px auto 0; }
.toggle { display: inline-flex; position: relative; padding: 5px; border-radius: 999px; background: var(--bone); margin-bottom: 20px; }
.toggle button { position: relative; z-index: 1; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; font: 600 15px/1 var(--sans); color: var(--umber); cursor: pointer; transition: color .25s; }
.toggle button[aria-checked="true"] { color: var(--ink); }
.toggle__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--snow); box-shadow: var(--shadow-soft); transition: transform .3s var(--ease), width .3s var(--ease); }
.toggle .save { margin-left: 6px; padding: 3px 8px; border-radius: 999px; background: var(--ink); color: var(--snow); font-size: 11px; letter-spacing: .04em; }
.price-card { padding: 36px 32px 32px; border-radius: 32px; text-align: left; box-shadow: var(--shadow-lifted); }
.price-card__name { font-weight: 600; font-size: 18px; margin: 0 0 18px; }
.plan { margin-bottom: 8px; }
.plan__price { font-weight: 700; font-size: clamp(56px, 8vw, 72px); line-height: 1; letter-spacing: -0.04em; }
.plan__price small { font-size: 20px; font-weight: 500; letter-spacing: 0; color: var(--umber); }
.plan__note { color: var(--umber); margin: 8px 0 0; font-size: 15px; }
.price-card ul { list-style: none; padding: 0; margin: 24px 0 28px; }
.price-card li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.price-card li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 12px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.price-card .btn { width: 100%; }
.price-card__legal { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: var(--umber); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 40px auto 0; }
details { background: var(--snow); border-radius: 20px; box-shadow: var(--shadow-soft); margin: 10px 0; interpolate-size: allow-keywords; }
details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
details[open]::details-content { block-size: auto; }
summary { cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 17px; list-style: none; position: relative; border-radius: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--bone) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11h8M11 7v8' stroke='%231A1714' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px no-repeat; transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details > div { padding: 0 22px 18px; color: var(--umber); }
details > div p:last-child { margin-bottom: 0; }

/* ---------- Chiusura ---------- */
.closing { position: relative; border-radius: var(--r-big); background: var(--cream); padding: 96px 24px 88px; text-align: center; margin-top: 120px; }
.closing { overflow: hidden; }
/* Forest: l'unico momento del marchio del sito (23/11/2026), testo bianco come nell'app */
.closing { background: var(--forest); color: #fff; }
.closing .h2 { color: #fff; }
.closing .lead { color: rgb(255 255 255 / .82); }
.closing__bear { position: absolute; right: 0; bottom: 36px; width: clamp(90px, 13vw, 150px); }
@media (max-width: 600px) { .closing__bear { bottom: auto; top: 24px; width: 72px; } }
.closing .lead { margin: 0 auto 28px; }
.closing__photos { display: flex; justify-content: center; margin-bottom: 28px; }
.closing__photos img { width: 64px; height: 64px; object-fit: cover; border-radius: 16px; border: 3px solid var(--snow); box-shadow: var(--shadow-soft); margin: 0 -8px; }
.closing__photos img:nth-child(1) { transform: rotate(-8deg); }
.closing__photos img:nth-child(3) { transform: rotate(8deg); }

/* ---------- Pagine di testo (Support, Privacy, Terms) ---------- */
.page { padding: 128px 0 40px; }
.page h1 { font-weight: 700; font-size: clamp(42px, 7vw, 72px); line-height: 1; letter-spacing: -0.04em; margin: 0 0 12px; }
.page .meta { font: italic 400 18px/1.4 var(--serif); color: var(--umber); margin: 0 0 32px; }
.page h2 { font-weight: 600; font-size: 26px; letter-spacing: -0.02em; line-height: 1.2; margin: 48px 0 12px; }
.page h3 { font-size: 18px; font-weight: 600; margin: 24px 0 6px; }
.page .card { padding: 28px; margin: 20px 0; }
.page .card h2:first-child { margin-top: 0; }
.page .promise { background: var(--ink); color: var(--snow); }
.page .promise h2 { color: var(--snow); }
.page .promise ul { list-style: none; padding: 0; }
.page .promise li { position: relative; padding-left: 28px; color: var(--mist); }
.page .promise li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 12px; height: 6px; border-left: 2px solid var(--snow); border-bottom: 2px solid var(--snow); transform: rotate(-45deg); }
.table-scroll { overflow-x: auto; margin: 0 0 16px; border-radius: 20px; box-shadow: var(--shadow-soft); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; background: var(--snow); }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid rgb(26 23 20 / .08); }
th { font-weight: 600; background: var(--bone); }
tr:last-child td { border-bottom: 0; }
.notfound { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 140px 20px 40px; }
.notfound img { width: 150px; margin-bottom: 24px; }

/* ---------- Piè di pagina ---------- */
.footer { position: relative; margin-top: 120px; background: var(--ink); color: var(--pebble); padding: 88px 0 40px; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 16px; background: var(--ink); -webkit-mask: var(--torn) top / 100% 100% no-repeat; mask: var(--torn) top / 100% 100% no-repeat; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgb(251 250 248 / .12); }
.footer__brand img { height: 26px; width: auto; filter: invert(1) brightness(1.1); margin-bottom: 22px; }
.footer__brand .shout { font-weight: 700; font-size: 34px; line-height: 1; letter-spacing: -0.03em; color: var(--snow); margin: 0 0 8px; }
.footer__brand p { margin: 0; }
.footer h2 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: var(--mist); text-decoration: none; }
.footer a:hover { color: var(--snow); text-decoration: underline; }
.footer__bottom { padding-top: 28px; font-size: 13px; color: var(--clay); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Animazioni (solo con JS attivo) ---------- */
@keyframes marquee { to { transform: translateX(-50%); } }
.js .stamp__track { animation: marquee 40s linear infinite; }
/* Pausa (WCAG 2.2.2): passaggio del mouse, focus da tastiera, tocco */
.js .stamp:hover .stamp__track, .js .stamp:focus-within .stamp__track, .js .stamp-wrap.is-paused .stamp__track { animation-play-state: paused; }
.stamp:focus-visible { outline: 2px solid var(--snow); outline-offset: -6px; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

.js .split .w { display: inline-block; opacity: .14; transform: translateY(.28em); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 40ms); }
.js .split.is-in .w { opacity: 1; transform: none; }

.js .fan:not(.is-in) img:nth-child(1), .js .fan:not(.is-in) img:nth-child(3) { transform: translateX(0) rotate(0); }
.js .fan:not(.is-in) img:nth-child(2) { transform: none; }

.js .digit > span { transition: transform 1.2s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .js .digit > span { transition: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .2s !important; transition-delay: 0s !important; }
  .js .reveal, .js .split .w { transform: none !important; opacity: 1 !important; }
  .js .stamp__track { transform: none !important; }
  .hero__stage .phone { transform: none !important; }
  .js .fan img:nth-child(1) { transform: translateX(-62%) rotate(-8deg) !important; }
  .js .fan img:nth-child(2) { transform: translateY(-24px) !important; }
  .js .fan img:nth-child(3) { transform: translateX(62%) rotate(8deg) !important; }
  .phone--stack .phone__screens img { transform: none !important; }
}

@media print {
  .nav, .footer::before, .hero__stage, .stamp-wrap { display: none; }
  .card, details { box-shadow: none; border: 1px solid rgb(26 23 20 / .15); }
}

/* Sfoca la card vicina nel carosello (screenshot "home"): nessun logo di terzi visibile */
.phone__veil { position: absolute; left: 0; top: 22.4%; width: 20.6%; height: 18.2%; border-radius: 0 18% 18% 0; -webkit-backdrop-filter: blur(14px) saturate(.5); backdrop-filter: blur(14px) saturate(.5); background: rgb(242 239 234 / .45); }
.phone--stack .phone__veil { opacity: 0; transition: opacity .35s var(--ease); }
.phone--stack img.is-active + .phone__veil { opacity: 1; }
.closing .actions { justify-content: center; }
.closing__photos img { width: 92px; height: 92px; border-radius: 20px; margin: 0 -10px; }
@media (max-width: 760px) {
  .hero__mascot { display: none; }
  .hero__frame::after { background: linear-gradient(180deg, rgb(248 245 242 / .8) 0%, rgb(248 245 242 / .6) 48%, rgb(248 245 242 / 0) 72%); }
  .stickers { gap: 14px; margin-top: 40px; }
  .sticker { width: min(200px, calc(50% - 7px)); padding: 16px 12px; border-radius: 22px; }
  .sticker__art { height: 92px; }
  .sticker__art img { max-height: 92px; }
  .sticker__art svg { width: 72px; height: 72px; }
  .sticker p { font-size: 15px; }
  .section { padding: 80px 0; }
}

/* Revisione finale */
.footer :focus-visible, .poster :focus-visible, .privacy-band :focus-visible, .promise :focus-visible { outline-color: var(--snow); }
.stamp-wrap { position: relative; }
