/* ============================================================================
 *  MURMLY — Stile del sito (brand on-icon, moderno/tech, dark, responsive)
 * ========================================================================== */
:root {
  --ora: #FF7A1A; --pink: #F5357A; --mag: #D6399E; --purple: #7B3FE4; --blue: #3D6FF5; --azure: #2BB0F5;
  --night: #0E0F1E; --surface: #1A1B2E; --surface2: #20223a;
  --text: #F3F3FA; --muted: #A8A8C0; --line: rgba(255,255,255,.09);
  --grad: linear-gradient(95deg, var(--ora), var(--pink), var(--purple), var(--blue));
  --radius: 18px; --maxw: 1140px;
  --shadow: 0 24px 60px rgba(0,0,0,.45);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); color: var(--text); line-height: 1.6;
  background: radial-gradient(1200px 700px at 18% -8%, #271a47 0%, var(--night) 52%) fixed, var(--night);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { padding: 92px 0; }
.gradt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 800; color: var(--purple); }
h1,h2,h3 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 850; }
h2.title { font-size: clamp(1.9rem, 4vw, 2.9rem); text-align: center; }
.subtitle { color: var(--muted); text-align: center; max-width: 620px; margin: 14px auto 0; font-size: 1.08rem; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .2s; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(123,63,228,.45); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(123,63,228,.55); }
.btn--ghost { background: rgba(255,255,255,.06); border-color: var(--line); color: var(--text); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }

/* ---- Header / nav ---- */
.header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px);
  background: rgba(14,15,30,.72); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 850; font-size: 1.25rem; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.header .brand { font-size: 1.34rem; gap: 12px; }
.header .brand img { width: 42px; height: 42px; border-radius: 11px; }
.nav__menu { display: flex; align-items: center; gap: 26px; }
.nav__menu a { color: var(--muted); font-weight: 600; font-size: .96rem; transition: color .2s; }
.nav__menu a:hover { color: var(--text); }
.nav__menu .btn { padding: 9px 18px; }
.lang-btn { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--text); background: rgba(255,255,255,.05); cursor: pointer; font-weight: 700; font-size: .85rem; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--text); }
.nav__toggle svg { width: 28px; height: 28px; }

/* ---- Hero ---- */
.hero { padding: 84px 0 56px; position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700;
  padding: 7px 14px; border-radius: 999px; background: rgba(123,63,228,.16); border: 1px solid rgba(123,63,228,.4); color: #cbb6ff; }
.badge-gift { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700;
  padding: 7px 14px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,122,26,.16), rgba(245,53,122,.16));
  border: 1px solid rgba(255,122,26,.55); color: #ffd9b8;
  box-shadow: 0 0 18px rgba(255,122,26,.18); }
.badge-gift .gift-ico { font-size: 1rem; line-height: 1; }
/* Badge "Dettatura ovunque" (esclusiva macOS): stesso linguaggio visivo dei
   badge hero, con il gradiente del brand per farlo risaltare. Cliccabile:
   porta alla card della funzione (#dictation). */
.badge-mac { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700;
  padding: 7px 14px; border-radius: 999px; text-decoration: none;
  background: linear-gradient(90deg, rgba(123,63,228,.22), rgba(58,122,254,.22));
  border: 1px solid rgba(123,63,228,.6); color: #d9ccff;
  box-shadow: 0 0 18px rgba(123,63,228,.22); }
.badge-mac:hover { border-color: rgba(123,63,228,.95); }
.hero__gift, .download__gift { color: #ffd9b8; font-weight: 600; margin-top: 12px;
  font-size: .95rem; letter-spacing: .01em; }
.hero__gift strong, .download__gift strong { color: #ff9c5a; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 20px 0 18px; }
.hero p { color: var(--muted); font-size: 1.18rem; max-width: 560px; }
.hero p strong { color: var(--text); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 16px; }
.hero__note { color: var(--muted); font-size: .9rem; letter-spacing: .02em; }

/* ---- Phone mockup ---- */
.mock { justify-self: center; width: 300px; aspect-ratio: 300/620; position: relative; }
.mock__phone { position: absolute; inset: 0; background: #05060d; border: 10px solid #2c2d40; border-radius: 44px; box-shadow: var(--shadow); overflow: hidden; }
.mock__screen { position: absolute; inset: 10px; border-radius: 34px; background: linear-gradient(180deg, #16172a, #0e0f1e); padding: 26px 20px; display: flex; flex-direction: column; }
.mock__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mock__brand { font-weight: 850; font-size: 1.15rem; }
.mock__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--grad); }
.mock__wave { flex: 1; display: flex; align-items: center; gap: 5px; }
.mock__wave i { flex: 1; border-radius: 6px; background: var(--grad); opacity: .9; }
.mock__rec { width: 74px; height: 74px; border-radius: 50%; background: var(--grad); align-self: center; margin: 14px 0 8px; box-shadow: 0 0 0 10px rgba(123,63,228,.16); }
.mock__cap { text-align: center; color: var(--muted); font-size: .82rem; }
.mock__glow { position: absolute; inset: -40px; background: radial-gradient(circle, rgba(123,63,228,.35), transparent 60%); filter: blur(30px); z-index: -1; }

/* ---- Features ---- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.card { background: linear-gradient(180deg, var(--surface), var(--surface2)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: rgba(123,63,228,.5); }
.card__ic { width: 52px; height: 52px; border-radius: 14px; background: var(--grad); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card__ic svg { width: 28px; height: 28px; color: #fff; }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; }
/* Card in evidenza: "Dettatura ovunque" (esclusiva macOS). Bordo nel gradiente
   del brand + targhetta in alto a destra. */
.card--exclusive { position: relative; border: 1px solid rgba(123,63,228,.65);
  box-shadow: 0 0 26px rgba(123,63,228,.18);
  background: linear-gradient(180deg, rgba(123,63,228,.10), var(--surface2)); }
.card--exclusive:hover { border-color: rgba(123,63,228,.95); }
.card__flag { position: absolute; top: 14px; right: 14px; font-size: .68rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  background: var(--grad); color: #fff; }

/* ---- Privacy ---- */
.privacy { background: linear-gradient(180deg, transparent, rgba(123,63,228,.07)); }
.privacy__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.privacy__shield { width: 120px; height: 120px; border-radius: 32px; background: var(--grad); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); margin: 0 auto; }
.privacy__shield svg { width: 64px; height: 64px; color: #fff; }
.privacy__head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 10px 0 16px; }
.privacy__head p { color: var(--muted); font-size: 1.06rem; }
.privacy__head p strong { color: var(--text); }
.privacy__pts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px; }
.pt { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.pt h3 { font-size: 1.04rem; margin-bottom: 6px; }
.pt p { color: var(--muted); font-size: .92rem; }

/* ---- Badge store / OS ---- */
.badges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.badge { display: inline-flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 20px; min-width: 180px; transition: transform .18s, border-color .18s; }
.badge:not(.badge--soon):hover { transform: translateY(-3px); border-color: rgba(123,63,228,.6); }
.badge__ic { width: 30px; height: 30px; color: var(--text); flex: none; }
.badge__ic svg { width: 30px; height: 30px; }
.badge__name { display: block; font-weight: 800; font-size: 1rem; }
.badge__sub { display: block; font-size: .76rem; color: var(--muted); }
.badge--soon { opacity: .55; }
.badge--soon .badge__ic { color: var(--muted); }
.platforms__group { margin-top: 30px; }

/* ---- Download CTA ---- */
.download { text-align: center; }
.download__box { background: linear-gradient(135deg, rgba(123,63,228,.18), rgba(61,111,245,.12));
  border: 1px solid rgba(123,63,228,.4); border-radius: 28px; padding: 56px 28px; }

/* ---- Ricarica credito ---- */
.recharge { text-align: center; }
.recharge__box { background: linear-gradient(135deg, rgba(255,122,26,.14), rgba(245,53,122,.10));
  border: 1px solid rgba(255,122,26,.4); border-radius: 28px; padding: 48px 28px; }
.recharge__box .btn { margin-top: 28px; }
.recharge__note { color: var(--muted); font-size: .88rem; margin-top: 14px; }

/* ---- FAQ ---- */
.faq__list { max-width: 760px; margin: 46px auto 0; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; background: var(--surface); overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; color: var(--text); font-weight: 700; font-size: 1.05rem;
  padding: 20px 22px; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq__q::after { content: "+"; font-size: 1.5rem; color: var(--purple); transition: transform .2s; }
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; color: var(--muted); padding: 0 22px; }
.faq__item.is-open .faq__a { max-height: 720px; padding: 0 22px 20px; }

/* ---- Contact form ---- */
.contact__grid { max-width: 660px; margin: 40px auto 0; }
.form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .85rem; color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea {
  background: #12132399; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; color: var(--text);
  font-family: inherit; font-size: 1rem; line-height: 1.4; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(123,63,228,.22); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.field textarea { resize: vertical; min-height: 130px; }
/* Select: rimuove l'aspetto nativo del browser e usa una freccia custom coerente
   con gli altri input (stessa altezza, stesso focus, menu a tendina scuro). */
.field select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  cursor: pointer; color-scheme: dark; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%23A8A8C0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; }
.field select:hover { border-color: rgba(255,255,255,.2); }
.field select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%237B3FE4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.field select option { background: var(--surface2); color: var(--text); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form__status { font-size: .95rem; min-height: 1.2em; }
.form__status.is-ok { color: #5ad48a; }
.form__status.is-err { color: #ff7a8a; }

/* ---- Screenshots gallery ---- */
.shots__row { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 38px 4px 18px; margin-top: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.shot { flex: 0 0 auto; width: 270px; scroll-snap-align: center; text-align: center; }
.shot img { width: 270px; height: 480px; border-radius: 26px; border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow); transition: transform .2s ease; }
.shot img:hover { transform: translateY(-6px); }
.shot figcaption { margin-top: 14px; color: var(--muted); font-size: .92rem; font-weight: 600; }
.shots__row::-webkit-scrollbar { height: 8px; }
.shots__row::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 999px; }
@media (min-width: 1000px) { .shots__row { justify-content: center; flex-wrap: nowrap; } }

/* ---- Share ---- */
.share { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.share a, .share button { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--text); cursor: pointer; transition: transform .15s, background .2s; font-weight: 800; }
.share a:hover, .share button:hover { transform: translateY(-3px); background: rgba(123,63,228,.25); }
.share svg { width: 22px; height: 22px; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--line); padding: 60px 0 30px; background: rgba(0,0,0,.25); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer h3, .footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { color: var(--muted); transition: color .2s; }
.footer a:hover { color: var(--text); }
.footer__brand .brand { margin-bottom: 12px; }
.footer__brand p { color: var(--muted); font-size: .94rem; max-width: 320px; }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---- Cookie banner ---- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 560px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px; box-shadow: var(--shadow);
  display: none; }
.cookie.is-open { display: block; animation: cookieUp .4s cubic-bezier(.2,.8,.3,1); }
.cookie h4 { font-size: 1.12rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.cookie p { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.cookie a, .cookie .linkbtn { color: #cbb6ff; text-decoration: underline; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; padding: 0; }
.cookie__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie__btns .btn { padding: 10px 16px; font-size: .9rem; flex: 1 1 auto; justify-content: center; }
@keyframes cookieUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---- Modals (contatti, preferenze cookie) ---- */
.modal-overlay { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center;
  padding: 20px; background: rgba(5,6,13,.66); backdrop-filter: blur(5px); }
.modal-overlay.open { display: flex; animation: mfade .25s ease; }
@keyframes mfade { from { opacity: 0; } to { opacity: 1; } }
.modal { background: linear-gradient(180deg, var(--surface), var(--surface2)); border: 1px solid var(--line);
  border-radius: 24px; max-width: 640px; width: 100%; max-height: 88vh; overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; animation: mpop .3s cubic-bezier(.2,.8,.3,1); }
@keyframes mpop { from { transform: translateY(20px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__head { padding: 22px 26px; background: var(--grad); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.modal__head h3 { color: #fff; font-size: 1.25rem; }
.modal__x { background: rgba(255,255,255,.22); border: 0; color: #fff; width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; font-size: 1.1rem; line-height: 1; flex: none; }
.modal__x:hover { background: rgba(255,255,255,.35); }
.modal__body { padding: 26px; overflow-y: auto; }
.modal__body > p { color: var(--muted); font-size: .98rem; margin-bottom: 16px; }
/* contenuto testuale legale dentro le modali */
.modal__legal h4 { font-size: 1.05rem; margin: 20px 0 8px; color: var(--text); }
.modal__legal h4:first-child { margin-top: 0; }
.modal__legal p, .modal__legal li { color: #d4d4e4; font-size: .95rem; margin-bottom: 10px; }
.modal__legal ul { padding-left: 22px; }
.modal__legal a { color: #cbb6ff; text-decoration: underline; }
.modal__legal .updated { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
/* Testo legale caricato su richiesta: riserva un po' d'altezza per evitare che
   la modale "salti" quando arriva il contenuto. */
.modal__legal[data-legal]:empty, .modal__legal[data-legal] > .modal__note { min-height: 120px; }
.modal__note { color: var(--muted); font-size: .95rem; }
.modal__foot { padding: 16px 26px; border-top: 1px solid var(--line); display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.modal .form { background: none; border: 0; border-radius: 0; padding: 0; }
.modal .field input.invalid, .modal .field textarea.invalid { border-color: #ff7a8a; }

/* preferenze cookie */
.pref { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px;
  border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: rgba(255,255,255,.03); }
.pref h5 { font-size: 1rem; margin-bottom: 4px; font-weight: 800; }
.pref small { color: var(--muted); }
.switch { position: relative; width: 50px; height: 28px; flex: 0 0 auto; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; inset: 0; background: #3a3b55; border-radius: 999px; cursor: pointer; transition: .3s; }
.slider:before { content: ""; position: absolute; height: 22px; width: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .3s; }
.switch input:checked + .slider { background: var(--purple); }
.switch input:checked + .slider:before { transform: translateX(22px); }
.switch input:disabled + .slider { background: var(--blue); opacity: .6; cursor: not-allowed; }
.cookie-table { width: 100%; border-collapse: collapse; margin: 14px 0 4px; font-size: .86rem; }
.cookie-table th, .cookie-table td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; color: var(--muted); }
.cookie-table th { background: rgba(255,255,255,.05); color: var(--text); font-weight: 700; }

/* blocco contatti nel footer (stile "parliamone") */
.footer__contact p { color: var(--muted); font-size: .94rem; margin-bottom: 14px; }
.footer__contact .btn { padding: 10px 18px; font-size: .94rem; }
.footer__bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__bottom .legal-links a { color: var(--muted); }
.footer__bottom .legal-links a:hover { color: var(--text); }
/* link legali del footer resi come pulsanti che aprono le modali */
.footer .linkbtn { background: none; border: 0; padding: 0; margin: 0; cursor: pointer; font: inherit;
  color: var(--muted); transition: color .2s; text-align: left; }
.footer .linkbtn:hover { color: var(--text); }
.footer__bottom .legal-links .linkbtn { font-size: .86rem; }

/* ---- Legal pages ---- */
.legal { max-width: 820px; margin: 0 auto; padding: 60px 0; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 30px; }
.legal h2 { font-size: 1.3rem; margin: 30px 0 10px; }
.legal p, .legal li { color: #d4d4e4; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: #cbb6ff; text-decoration: underline; }
.lang-it, .lang-en { display: none; }
html[lang="it"] .lang-it { display: block; }
html[lang="en"] .lang-en { display: block; }

/* ---- Come funziona (3 passaggi) ---- */
.how { background: linear-gradient(180deg, transparent, rgba(61,111,245,.06)); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; counter-reset: step; }
.step { background: linear-gradient(180deg, var(--surface), var(--surface2)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px; }
.step__n { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 999px; background: var(--grad); color: #fff; font-weight: 850; font-size: 1.15rem; margin-bottom: 16px; }
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .98rem; }
.how__note { color: var(--muted); text-align: center; max-width: 720px; margin: 30px auto 0; font-size: .96rem; }

/* Casi d'uso: stesse card delle funzioni, senza icona. */
.grid--plain .card { padding-top: 24px; }

/* ---- Reveal ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .hero__grid, .privacy__head { grid-template-columns: 1fr; }
  .mock { order: -1; width: 240px; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .privacy__pts { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__menu { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; background: var(--night);
    border-bottom: 1px solid var(--line); padding: 10px 0; transform: translateY(-130%); transition: transform .3s; }
  .nav__menu.is-open { transform: none; }
  .nav__menu a { padding: 14px 22px; width: 100%; }
  .nav__toggle { display: block; }
}
@media (max-width: 560px) {
  .grid, .privacy__pts, .steps { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
