/* =========================================================
   Prima Hora Dev — primahoradev.com
   Stile «Glow sensual tech» di fanlygen.com: vino notte, aurora, vetro, ciliegia.
   Telefono prima; computer da 1024 px. Sito statico, zero build.
   ========================================================= */

:root {
  /* Superfici e testo — vino notte */
  --bg: #110308;
  --bg-2: #1A0710;
  --text: #FBF1EA;
  --muted: #CFB3B4;
  --faint: #9C7C82;

  /* Vetro */
  --glass: rgba(255, 236, 230, .065);
  --glass2: rgba(255, 236, 230, .11);
  --gline: rgba(255, 236, 230, .14);
  --ghi: rgba(255, 255, 255, .10);
  --gshadow: 0 20px 50px -20px rgba(0, 0, 0, .6);

  /* Aurora */
  --blob1: rgba(212, 31, 69, .5);
  --blob2: rgba(122, 18, 52, .75);
  --blob3: rgba(188, 216, 238, .17);

  /* Marchio — ciliegia */
  --hot: #FF5C80;
  --cherry: #D41F45;
  --deep: #A3123A;
  --dot: #FF4D73;
  --grad: linear-gradient(135deg, #FF5C80 0%, #D41F45 55%, #A3123A 100%);

  /* La parte «sussurrata» dei titoli */
  --wh1: #F2C4B8;
  --wh2: #FF6F8E;

  /* Azzurro polvere = quello che fa l'AI */
  --cool: #BCD8EE;
  --coolbg: rgba(188, 216, 238, .12);
  --coolline: rgba(188, 216, 238, .32);

  --fh: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs: "Instrument Serif", Georgia, serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--fh);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, a, label { -webkit-tap-highlight-color: transparent; }

.ico {
  width: 17px; height: 17px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

:focus-visible {
  outline: 2px solid rgba(255, 92, 128, .6);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  padding: 10px 16px; border-radius: 12px;
  background: var(--bg-2); border: 1px solid var(--gline);
}
.skip-link:focus { left: 16px; }

/* La pagina: l'aurora sta in un livello sotto, ritagliato da sé (niente overflow sulla pagina,
   altrimenti il menu non resta attaccato in alto). */
.page { position: relative; isolation: isolate; min-height: 100vh; }
.aur { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aur i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .75; }

.in { padding: 0 20px; }

/* ---------- elementi base ---------- */
.h { font-family: var(--fh); font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.s {
  font-family: var(--fs); font-style: italic; font-weight: 400;
  font-size: 1.1em; letter-spacing: -.01em;
  background: linear-gradient(100deg, var(--wh1), var(--wh2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.num { font-weight: 800; font-variant-numeric: tabular-nums; }

.gl {
  background: var(--glass);
  border: 1px solid var(--gline);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 var(--ghi), var(--gshadow);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.hotgl {
  background: radial-gradient(140% 120% at 0% 0%, rgba(255, 92, 128, .32), transparent 55%), var(--glass2);
  border-color: rgba(255, 92, 128, .45);
  box-shadow: inset 0 1px 0 var(--ghi), 0 20px 50px -24px rgba(212, 31, 69, .6);
}

/* Pulsanti: principale ciliegia col riflesso che lo attraversa, secondario di vetro */
.bp, .bg {
  position: relative; overflow: hidden; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font: 700 14px/1 var(--fh); white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s, background .35s;
}
.bp {
  border: 0; color: #fff;
  background: var(--grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 30px -8px rgba(212, 31, 69, .7);
}
.bp::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-18deg); transition: left .7s;
}
.bp:hover { transform: translateY(-2px); color: #fff; }
.bp:hover::after { left: 130%; }
.bg {
  color: var(--text);
  background: var(--glass); border: 1px solid var(--gline);
  box-shadow: inset 0 1px 0 var(--ghi);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.bg:hover { background: var(--glass2); transform: translateY(-2px); }
.bp.sm, .bg.sm { height: 36px; padding: 0 15px; font-size: 12.5px; }
.bp.sm .ico, .bg.sm .ico { width: 14px; height: 14px; }
.nv .bp, .fbrand .bp, .fc .bp { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 16px -8px rgba(212, 31, 69, .6); }
.bp:active, .bg:active { transform: scale(.96); }

.dot {
  display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--dot); box-shadow: 0 0 0 3px rgba(255, 77, 115, .14);
}

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 12px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  background: var(--glass); border: 1px solid var(--gline);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.chip.cool { color: var(--cool); background: var(--coolbg); border-color: var(--coolline); }
.chip.hot { color: #fff; border-color: transparent; background: linear-gradient(135deg, #FF5C80, #C41A42); }
.chip.low { text-transform: none; letter-spacing: .02em; }
.chip .ico { width: 13px; height: 13px; }

/* ---------- menu: pillola di vetro ---------- */
.nvw { position: sticky; top: 0; z-index: 30; padding: 12px 12px 0; }
.nv {
  display: flex; align-items: center; gap: 14px;
  height: 58px; padding: 0 10px 0 18px; border-radius: 999px;
}
.nv-r { margin-left: auto; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 600; }
.nlk {
  background-image: linear-gradient(var(--hot), var(--hot));
  background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%;
  padding-bottom: 2px; font-size: 13.5px; font-weight: 600;
  transition: background-size .35s, color .25s;
}
.nlk:hover { color: var(--text); background-size: 100% 1px; }

/* Il marchio in testo, come quello di fanlygen: «primahora» fermo, «dev» in corsivo che si mette
   a fuoco (le ultime lettere restano un filo sfocate) e il punto ciliegia che compare con un rimbalzo. */
.wm { display: inline-flex; align-items: baseline; line-height: 1; white-space: nowrap; color: var(--text); font-size: 21px; }
.wm b { font-family: var(--fh); font-weight: 800; letter-spacing: -.045em; }
.wm i { font-family: var(--fs); font-style: italic; font-weight: 400; font-size: 1.14em; letter-spacing: -.01em; color: var(--wh1); }
.wm i span { display: inline-block; }
.wm .f2 { filter: blur(.013em); opacity: .9; }
.wm .f3 { filter: blur(.037em); opacity: .75; }
.wm .live {
  display: inline-block; width: .2em; height: .2em; margin-left: .08em; border-radius: 50%;
  background: var(--dot); box-shadow: 0 0 .3em rgba(255, 77, 115, .9);
  align-self: center; translate: 0 .22em;
}
.wm-lg { font-size: 32px; }
.logo-forma i { animation: focus-in 1.5s var(--ease) .2s both; }
.logo-forma .live { animation: pop .55s cubic-bezier(.3, 1.6, .5, 1) 1.4s both; }
@keyframes focus-in { from { filter: blur(8px); opacity: .15; } to { filter: blur(0); opacity: 1; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

/* ---------- hero ---------- */
.hero { padding: 28px 0; }
.hero h1 { margin-top: 16px; font-size: 40px; line-height: .98; }
.hero h1 .s { display: block; }
.lead { margin-top: 20px; max-width: 540px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.gift { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.gift .ico { color: var(--hot); width: 15px; height: 15px; }
.gift b { color: var(--text); }

/* Collage della hero (computer): tre schede di vetro, si muovono col mouse */
.col { position: relative; height: 520px; }
.fc { position: absolute; padding: 16px; border-radius: 20px; font-size: 12.5px; }
.fc.gl { background: rgba(28, 6, 16, .62); backdrop-filter: blur(26px) saturate(150%); -webkit-backdrop-filter: blur(26px) saturate(150%); }
.fc-board { left: 0; top: 120px; width: 320px; padding: 20px; z-index: 1; }
.fc-chat { right: 0; top: 10px; width: 230px; display: flex; flex-direction: column; gap: 8px; z-index: 2; }
.fc-ai { right: 0; top: 330px; width: 240px; z-index: 2; }
.mh { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--muted); font-size: 12px; }
.br { display: grid; grid-template-columns: 64px 1fr 40px; gap: 10px; align-items: center; margin-top: 10px; color: var(--muted); }
.br i { height: 6px; border-radius: 9px; background: var(--glass2); overflow: hidden; }
.br i b { display: block; height: 100%; width: 0; border-radius: 9px; background: linear-gradient(90deg, #FF5C80, #C41A42); transition: width 1.2s var(--ease) .3s; }
.br .num { text-align: right; color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags .chip { height: 26px; padding: 0 10px; font-size: 10.5px; letter-spacing: .02em; text-transform: none; }
.msg { padding: 9px 12px; border-radius: 15px; font-size: 12.5px; line-height: 1.35; }
.msg.mi { align-self: flex-start; background: rgba(255, 236, 230, .14); border-bottom-left-radius: 4px; }
.msg.mo { align-self: flex-end; color: #fff; background: linear-gradient(135deg, #FF5C80, #C41A42); border-bottom-right-radius: 4px; }
.meta { font-size: 10.5px; color: var(--muted); text-align: right; }
.fc-ai .t { margin-bottom: 12px; }
.flow { display: grid; gap: 9px; }
.flow li { position: relative; padding-left: 26px; color: var(--muted); }
.flow li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--glass2); border: 1px solid var(--gline);
}
.flow li.ok { color: var(--text); }
.flow li.ok::before { background: var(--coolbg); border-color: var(--coolline); }
.flow li.ok::after {
  content: ""; position: absolute; left: 5px; top: 5px; width: 6px; height: 3.5px;
  border-left: 1.6px solid var(--cool); border-bottom: 1.6px solid var(--cool); transform: rotate(-45deg);
}
.flow li.go::before { background: var(--dot); border-color: transparent; box-shadow: 0 0 0 4px rgba(255, 77, 115, .18); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 77, 115, .05); } }
[data-depth] { transition: translate .5s var(--ease); }
.bob { animation: bob 6s ease-in-out infinite; }
.bob.b2 { animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Pillole che scorrono sotto la hero */
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.pills {
  margin-top: 40px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.pt { display: flex; width: max-content; animation: mq 46s linear infinite; }
.pills:hover .pt { animation-play-state: paused; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; margin-right: 10px; padding: 0 18px 0 6px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--gline);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  white-space: nowrap; transition: transform .35s var(--ease), border-color .35s;
}
.pill:hover { border-color: rgba(255, 92, 128, .45); transform: translateY(-2px); }
.pa {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: #fff;
  background: var(--grad); box-shadow: 0 0 0 2px var(--bg);
}
.pill.cool .pa { color: #1F0610; background: var(--cool); }
.pill b { display: block; margin-bottom: 3px; font-size: 13.5px; line-height: 1.2; }
.pill small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.2; }

/* ---------- blocchi ---------- */
.blk { padding: 36px 0; }
h2.h { margin-top: 14px; font-size: 32px; line-height: 1.02; }
.sp { margin-top: 12px; max-width: 640px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Servizi */
.tools { display: grid; gap: 14px; margin-top: 28px; }
.tc {
  display: flex; flex-direction: column; padding: 22px 20px; border-radius: 24px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.tc:hover, .wk:hover {
  transform: translateY(-6px); border-color: rgba(255, 92, 128, .4);
  box-shadow: inset 0 1px 0 var(--ghi), 0 26px 50px -26px rgba(212, 31, 69, .45);
}
.ic {
  width: 40px; height: 40px; flex: none; border-radius: 12px;
  display: grid; place-items: center;
  color: var(--hot); background: rgba(255, 92, 128, .14); box-shadow: inset 0 0 0 1px rgba(255, 92, 128, .25);
  margin-bottom: 16px;
}
.ic .ico { width: 20px; height: 20px; }
.tc-cool .ic { color: var(--cool); background: var(--coolbg); box-shadow: inset 0 0 0 1px var(--coolline); }
.tc-cool:hover { border-color: var(--coolline); }
.tc h3 { font-size: 18px; line-height: 1.2; letter-spacing: -.02em; }
.tc > p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.ticks { display: grid; gap: 9px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gline); }
.ticks li { position: relative; padding-left: 24px; font-size: 13.5px; color: var(--muted); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 5.5px;
  border-left: 2px solid var(--hot); border-bottom: 2px solid var(--hot); transform: rotate(-45deg);
}
.tc-cool .ticks li::before { border-color: var(--cool); }

/* Metodo */
.steps { display: grid; gap: 14px; margin-top: 28px; }
.stx {
  display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; row-gap: 6px; align-items: center;
  padding: 20px; border-radius: 22px;
}
.stx .n {
  grid-row: 1 / span 2; align-self: start;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 15px; line-height: 1;
  background: linear-gradient(135deg, #FF5C80, #C41A42);
  box-shadow: 0 8px 20px -8px rgba(212, 31, 69, .7);
}
.stx h3 { font-size: 17px; line-height: 1.2; letter-spacing: -.02em; }
.stx p { grid-column: 2; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* Lavori */
.works { display: grid; gap: 14px; margin-top: 28px; }
.wk { display: flex; flex-direction: column; align-items: flex-start; padding: 24px 22px; border-radius: 24px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.wk h3 { margin-top: 16px; font-size: 19px; line-height: 1.2; letter-spacing: -.02em; }
.wk > p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.wk .tags { margin-top: auto; padding-top: 18px; }

/* Perché noi */
.split { display: grid; gap: 28px; }
.values { display: grid; gap: 12px; }
.values li { padding: 20px; border-radius: 20px; }
.values b { display: block; font-size: 16px; letter-spacing: -.01em; }
.values p { margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* Stack */
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.stack li {
  height: 40px; padding: 0 16px; border-radius: 999px;
  display: inline-flex; align-items: center;
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  background: var(--glass); border: 1px solid var(--gline);
  transition: color .25s, border-color .25s, transform .35s var(--ease);
}
.stack li:hover { color: var(--text); border-color: rgba(255, 92, 128, .45); transform: translateY(-2px); }
.stack li.cool { color: var(--cool); background: var(--coolbg); border-color: var(--coolline); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.fq { border-radius: 18px; transition: border-color .35s; }
.fq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 700; font-size: 15px;
}
.fq summary::-webkit-details-marker { display: none; }
.fq summary i {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  display: grid; place-items: center; color: var(--hot); background: var(--glass2);
  transition: transform .35s;
}
.fq summary i .ico { width: 16px; height: 16px; }
.fq[open] summary i { transform: rotate(45deg); }
.fq:hover { border-color: rgba(255, 92, 128, .35); }
.fq p { padding: 0 18px 18px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.fqh .help { display: none; margin-top: 22px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.fqh .help .bg { margin-top: 14px; }

/* Chiusura */
.fbox { padding: 44px 22px; border-radius: 30px; text-align: center; box-shadow: inset 0 1px 0 var(--ghi), 0 30px 60px -40px rgba(212, 31, 69, .5); }
.fbox h2.h { margin: 0; font-size: 36px; }
.fbox .s { display: block; }
.fbox .sp { margin: 14px auto 24px; text-wrap: balance; }

/* Contatti */
.contact { display: grid; gap: 28px; }
.clist { display: grid; gap: 16px; margin-top: 24px; }
.clist li { display: grid; gap: 3px; font-size: 14.5px; color: var(--muted); }
.cl { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.clist a { color: var(--hot); font-weight: 600; }
.clist a:hover { text-decoration: underline; }

.form { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 22px 18px; border-radius: 26px; }
.field { display: grid; gap: 7px; }
.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.opt { font-weight: 400; color: var(--faint); }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; font: 400 16px/1.4 var(--fh); color: var(--text);
  background: rgba(17, 3, 8, .55); border: 1px solid var(--gline); border-radius: 14px;
  padding: 12px 14px; transition: border-color .2s, background .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 120px; }
select { appearance: none; cursor: pointer; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: rgba(255, 92, 128, .6);
  background: rgba(17, 3, 8, .75); box-shadow: 0 0 0 4px rgba(212, 31, 69, .15);
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #FF6F8E; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--cherry); }
.check a { color: var(--hot); text-decoration: underline; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-footer .bp { width: 100%; height: 50px; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); }
.form-note.is-ok { color: var(--cool); }
.form-note.is-error { color: #FF6F8E; }

/* ---------- piè di pagina ---------- */
.ftr { margin-top: 20px; padding-bottom: 30px; border-top: 1px solid var(--gline); }
.mqf { overflow: hidden; border-bottom: 1px solid var(--gline); }
.mqft { display: flex; align-items: center; width: max-content; padding: 26px 0; animation: mq 34s linear infinite; }
.ftr:hover .mqft { animation-play-state: paused; }
.mqft span { margin-right: 28px; font-weight: 800; letter-spacing: -.035em; font-size: 34px; line-height: 1; white-space: nowrap; }
.mqft span.s { font-weight: 400; letter-spacing: -.01em; }
.mqft i { flex: none; width: 10px; height: 10px; margin-right: 28px; border-radius: 50%; background: var(--dot); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 32px; }
.fbrand { grid-column: 1 / -1; }
.fbrand p { margin: 14px 0 18px; max-width: 340px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.fcol b { display: block; margin-bottom: 12px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.fcol a { display: block; width: max-content; max-width: 100%; margin-top: 9px; font-size: 14px; transition: color .25s; }
.fcol a:hover { color: var(--hot); }
.flegal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--gline); font-size: 12px; line-height: 1.6; color: var(--faint); }
.flegal p + p { margin-top: 6px; }

/* ---------- pagine testuali (privacy, cookie, 404) ---------- */
.page-head { padding: 40px 0 8px; }
.page-head h1 { margin-top: 16px; font-size: 38px; line-height: 1; }
.page-head .sp { max-width: 62ch; }
.page-head small { color: var(--faint); }
.prose { padding: 24px 0 64px; }
.prose .gl { padding: 26px 22px; border-radius: 26px; }
.prose h2 { margin-top: 2em; font-size: 21px; font-weight: 800; letter-spacing: -.025em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; font-size: 16px; font-weight: 700; }
.prose p, .prose li { margin-top: .8em; font-size: 15px; line-height: 1.65; color: var(--muted); }
.prose ul { list-style: disc; padding-left: 20px; }
.prose li::marker { color: var(--hot); }
.prose strong { color: var(--text); }
.prose a { color: var(--hot); text-decoration: underline; }
.narrow { max-width: 820px; margin-inline: auto; }
.back-link { display: inline-flex; margin-top: 28px; }

/* ---------- rivelazione allo scorrere (main.js aggiunge .rv-on) ---------- */
.js [data-rv] {
  opacity: 0; translate: 0 22px;
  transition: opacity .7s ease var(--d, 0ms), translate .9s var(--ease) var(--d, 0ms);
}
.js [data-rv].rv-on { opacity: 1; translate: 0 0; }

/* ---------- responsive ---------- */
@media (min-width: 640px) and (max-width: 1023.98px) {
  .in { max-width: 700px; margin-inline: auto; }
  .tools, .works { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr 1fr; padding: 28px 24px; }
}
@media (max-width: 1023.98px) { .only-desk { display: none !important; } }

@media (min-width: 1024px) {
  body { font-size: 16px; }
  .in { max-width: 1104px; margin: 0 auto; padding: 0; }
  .nvw { padding: 16px 64px 0; }
  .nv { max-width: 1104px; margin: 0 auto; height: 66px; padding: 0 12px 0 26px; }
  .nv-r { gap: 22px; }
  .wm { font-size: 23px; }
  .hero { padding: 64px 0 48px; }
  .hg { display: grid; grid-template-columns: 1fr 500px; gap: 40px; align-items: center; }
  .hero h1 { margin-top: 20px; font-size: 68px; line-height: .96; }
  .lead { margin-top: 24px; font-size: 18px; }
  .ctas { margin-top: 32px; gap: 12px; }
  .ctas .bp, .ctas .bg { height: 54px; padding: 0 28px; font-size: 15.5px; }
  .gift { margin-top: 20px; font-size: 14px; }
  .pills { margin-top: 72px; }
  .blk { padding: 56px 0; }
  h2.h { margin-top: 16px; font-size: 52px; line-height: 1; }
  .sp { margin-top: 14px; font-size: 17px; }
  .tools { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
  .tc { padding: 30px 28px; border-radius: 28px; }
  .tc h3 { font-size: 21px; }
  .tc > p { font-size: 15px; }
  .ticks li { font-size: 14px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
  .stx { grid-template-columns: 1fr; padding: 26px 24px; align-items: start; row-gap: 10px; }
  .stx .n { grid-row: auto; width: 48px; height: 48px; font-size: 18px; margin-bottom: 8px; }
  .stx h3 { font-size: 20px; }
  .stx p { grid-column: 1; font-size: 14.5px; }
  .works { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
  .wk { padding: 30px 28px; border-radius: 28px; }
  .wk h3 { font-size: 22px; }
  .wk > p { font-size: 15px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .values { grid-template-columns: 1fr 1fr; gap: 16px; }
  .values li { padding: 24px; }
  .stack { gap: 10px; margin-top: 36px; }
  .stack li { height: 46px; padding: 0 20px; font-size: 15px; }
  .faqw { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
  .faq { margin-top: 0; }
  .fq summary { padding: 20px 24px; font-size: 16.5px; }
  .fq p { padding: 0 24px 22px; font-size: 15px; max-width: 640px; }
  .fqh .help { display: block; }
  .fbox { padding: 80px 40px; }
  .fbox h2.h { font-size: 64px; }
  .fbox .sp { max-width: 560px; }
  .fbox .bp { height: 56px; padding: 0 30px; font-size: 16px; }
  .contact { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
  .form { grid-template-columns: 1fr 1fr; gap: 16px; padding: 32px 30px; }
  .form-footer .bp { width: auto; }
  .ftr { margin-top: 40px; }
  .mqft { padding: 38px 0; }
  .mqft span { margin-right: 44px; font-size: 64px; }
  .mqft i { width: 14px; height: 14px; margin-right: 44px; }
  .fgrid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; padding-top: 56px; }
  .fbrand { grid-column: auto; }
  .flegal { margin-top: 44px; font-size: 12.5px; }
  .page-head { padding: 72px 0 12px; }
  .page-head h1 { font-size: 58px; }
  .prose .gl { padding: 44px 48px; }
}
@media (min-width: 1024px) and (max-width: 1180px) {
  .in { padding: 0 32px; }
  .nvw { padding: 16px 32px 0; }
  .hero h1 { font-size: 58px; }
  .hg { grid-template-columns: 1fr 460px; }
  .fc-board { width: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-rv] { opacity: 1; translate: 0 0; }
  .br i b { width: var(--w, 0); }
}

@media print {
  .aur, .nvw, .pills, .mqf, .form { display: none; }
  body { background: #fff; color: #000; }
}
