/* Archivia Mail – stile del sito.
   Idea: il sito è un archivio di cartelle colorate. Ogni sezione è una
   cartella con la sua linguetta; i colori della barra di navigazione sono
   gli stessi delle cartelle a cui portano. */

@font-face {
  font-family: "Archivia Display";
  src: url("fonts/archivia-display-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivia Testo";
  src: url("fonts/archivia-testo.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #172036;
  --ink-soft: #4a5470;
  --paper: #f6f7fc;
  --white: #ffffff;
  --cobalt: #2e55e6;
  --cobalt-deep: #1f3fbf;
  --manila: #ffc93c;
  --manila-soft: #fff1c7;
  --pdf: #e1453b;
  --pdf-soft: #fde4e1;
  --mint: #1fa572;
  --mint-ink: #0b6e4a;
  --mint-soft: #dcf4e8;
  --lilac: #7457ea;
  --lilac-soft: #ece7ff;
  --blue-soft: #e6ecff;
  --line: rgba(23, 32, 54, 0.1);
  --display: "Archivia Display", "Avenir Next", "Century Gothic", Futura, "Segoe UI", system-ui, sans-serif;
  --text: "Archivia Testo", Georgia, Cambria, "Times New Roman", serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 132px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.7 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cobalt-deep); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--cobalt); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--manila); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
code { font-size: 0.92em; background: rgba(23, 32, 54, 0.07); padding: 1px 6px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px;
  font-family: var(--display); text-decoration: none;
}
.skip:focus { top: 12px; color: var(--white); }

/* ---------- Barra di navigazione ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 247, 252, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { position: relative; display: flex; align-items: center; gap: 12px; min-height: 70px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  font-family: var(--display); font-size: 1.15rem; color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-links a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 10px;
  font-family: var(--display); font-size: 0.95rem; color: var(--ink); text-decoration: none;
}
.nav-links a::before {
  content: ""; width: 10px; height: 10px; border-radius: 3px;
  background: var(--dot, var(--cobalt));
  box-shadow: inset 0 0 0 1px rgba(23, 32, 54, 0.12);
}
.nav-links a:hover { background: rgba(23, 32, 54, 0.06); color: var(--ink); }
.nav-links a[aria-current="page"] { background: rgba(23, 32, 54, 0.07); }
.nav-cta {
  display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 12px;
  background: var(--cobalt); color: var(--white); text-decoration: none;
  font-family: var(--display); font-size: 0.98rem;
}
.nav-cta:hover { background: var(--cobalt-deep); color: var(--white); }
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: 11px; border: 1px solid var(--line);
  background: var(--white);
}
.lang-switch button {
  border: 0; background: transparent; color: var(--ink-soft);
  padding: 5px 8px; border-radius: 8px; cursor: pointer;
  font: 700 0.78rem/1 var(--display); letter-spacing: 0.04em;
}
.lang-switch button:hover { color: var(--ink); background: rgba(23, 32, 54, 0.06); }
.lang-switch button[aria-pressed="true"] { background: var(--cobalt); color: var(--white); }
.menu-toggle {
  display: none; align-items: center; gap: 8px;
  padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--ink); font: 700 0.95rem var(--display); cursor: pointer;
}
.menu-toggle svg { width: 18px; height: 18px; }

/* ---------- Cartelle (le sezioni) ---------- */
.folder {
  --f: var(--blue-soft);
  position: relative;
  margin: 104px 0 0;
  padding: 56px 52px 52px;
  background: var(--f);
  border-radius: 0 30px 30px 30px;
}
.folder-tab {
  position: absolute; left: 0; bottom: 100%;
  display: inline-flex; align-items: center; gap: 10px;
  height: 50px; margin: 0; padding: 0 26px 0 22px;
  background: var(--f); color: var(--tab-ink, var(--ink));
  border-radius: 18px 18px 0 0;
  font-family: var(--display); font-size: 1.2rem; line-height: 1; white-space: nowrap;
}
.folder-tab::after {
  content: ""; position: absolute; left: 100%; bottom: 0; width: 24px; height: 24px;
  background: radial-gradient(circle at 100% 0, transparent 23.5px, var(--f) 24px);
}
.folder-tab svg { width: 22px; height: 22px; flex: none; }
.folder--cobalt { --f: var(--cobalt); --tab-ink: var(--white); color: var(--white); }
.folder--blue { --f: var(--blue-soft); }
.folder--manila { --f: var(--manila-soft); }
.folder--ink { --f: var(--ink); --tab-ink: var(--white); color: var(--white); }
.folder--mint { --f: var(--mint-soft); }
.folder--lilac { --f: var(--lilac-soft); }
.folder--rose { --f: var(--pdf-soft); }
.folder--white { --f: var(--white); box-shadow: 0 0 0 1px var(--line); }
.folder--white .folder-tab { box-shadow: 0 -1px 0 0 var(--line), -1px 0 0 0 var(--line), 1px 0 0 0 var(--line); }

.statement {
  max-width: 24ch; margin: 0 0 36px;
  font-family: var(--display); font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.12; letter-spacing: -0.015em;
}
.intro { max-width: 62ch; color: var(--ink-soft); margin: -16px 0 36px; }
.folder--ink .intro { color: rgba(255, 255, 255, 0.78); }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 16px; border-radius: 16px;
  text-decoration: none; line-height: 1.15;
  font-family: var(--display);
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn .btn-text { display: block; }
.btn small { display: block; font-family: var(--text); font-weight: 400; font-size: 0.82rem; opacity: 0.8; margin-bottom: 2px; }
.btn strong { display: block; font-size: 1.05rem; }
.btn .price {
  margin-left: 4px; padding: 5px 10px; border-radius: 999px;
  font-size: 0.9rem; background: rgba(23, 32, 54, 0.1); white-space: nowrap;
}
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { color: var(--ink); background: #eef2ff; }
.btn-manila { background: var(--manila); color: var(--ink); }
.btn-manila:hover { color: var(--ink); background: #ffd666; }
.btn-cobalt { background: var(--cobalt); color: var(--white); }
.btn-cobalt .price { background: rgba(255, 255, 255, 0.2); }
.btn-cobalt:hover { background: var(--cobalt-deep); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink .price { background: rgba(255, 255, 255, 0.16); }
.btn-ink:hover { background: #26304d; color: var(--white); }

/* ---------- Hero ---------- */
.hero { margin-top: 84px; padding: 60px 56px 64px; overflow: visible; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.9rem); line-height: 1.02; letter-spacing: -0.025em;
  margin: 0 0 22px; max-width: 13ch;
}
.hero .lead { font-size: 1.22rem; line-height: 1.6; color: rgba(255, 255, 255, 0.93); max-width: 34em; margin-bottom: 18px; }
.launch-note {
  display: inline-block;
  margin: 0 0 22px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 201, 60, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 201, 60, 0.55);
  color: #fff6d6;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 600;
}
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.facts li {
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); font-size: 0.95rem; color: rgba(255, 255, 255, 0.95);
}
.facts li.soon { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }

.hero-visual { position: relative; padding: 0 0 56px; }
.archive-window {
  width: 88%;
  background: var(--white); color: var(--ink); border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(9, 22, 77, 0.38);
}
.aw-bar {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: #f1f3fa; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: 0.92rem;
}
.aw-dots { display: inline-flex; gap: 6px; }
.aw-dots i { width: 11px; height: 11px; border-radius: 50%; background: #d4d9e6; }
.aw-dots i:first-child { background: var(--pdf); }
.aw-dots i:nth-child(2) { background: var(--manila); }
.aw-dots i:nth-child(3) { background: var(--mint); }
.aw-path {
  margin: 0; padding: 10px 16px; font-size: 0.82rem; line-height: 1.4; color: var(--ink-soft);
  border-bottom: 1px solid var(--line); overflow-wrap: anywhere;
}
.aw-list { margin: 0; padding: 6px 8px 10px; list-style: none; }
.aw-list li {
  display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px;
  font-size: 0.92rem; line-height: 1.3;
}
.aw-list li + li { border-top: 1px dashed rgba(23, 32, 54, 0.08); }
.aw-list svg { width: 26px; height: 26px; flex: none; }
.aw-list .aw-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aw-status {
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 16px;
  background: var(--mint-soft); color: var(--mint-ink); font-family: var(--display); font-size: 0.9rem;
}
.aw-status svg { width: 18px; height: 18px; }

.phone {
  margin: 0; background: #10172b; border-radius: 34px; padding: 8px;
  box-shadow: 0 24px 60px rgba(9, 22, 77, 0.35);
}
.phone img { border-radius: 27px; }
.hero-phone { position: absolute; right: -14px; bottom: -30px; width: 31%; max-width: 172px; padding: 6px; border-radius: 28px; }
.hero-phone img { border-radius: 22px; }

@media (prefers-reduced-motion: no-preference) {
  .aw-list li { animation: archivia 0.5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(0.25s + var(--i, 0) * 0.14s); }
  .hero-phone { animation: sale 0.8s 0.35s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes archivia { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes sale { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- Caselle supportate ---------- */
.providers { margin: 64px 0 0; }
.providers h2 { font-size: 1.35rem; line-height: 1.3; margin: 0 0 16px; max-width: 40ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.chips li {
  padding: 7px 14px; border-radius: 999px; background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 0.98rem;
}
.providers .note { color: var(--ink-soft); font-size: 0.98rem; max-width: 70ch; }

/* ---------- Come funziona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: passo; }
.steps li { counter-increment: passo; }
.steps .phone { max-width: 220px; margin: 0 auto 22px; border-radius: 30px; padding: 7px; box-shadow: 0 14px 34px rgba(31, 63, 191, 0.18); }
.steps .phone img { border-radius: 24px; }
.steps h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin: 0 0 8px; }
.steps h3::before {
  content: counter(passo); display: inline-grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: 10px; background: var(--cobalt); color: var(--white); font-size: 1rem;
}
.steps p { font-size: 1rem; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Funzioni ---------- */
.files { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 16px; }
.file {
  position: relative; background: var(--white); border-radius: 20px; padding: 24px 24px 26px;
  box-shadow: 0 0 0 1px rgba(23, 32, 54, 0.06);
}
.file h3 { font-size: 1.15rem; line-height: 1.25; margin: 14px 0 8px; }
.file p { font-size: 1rem; line-height: 1.6; color: var(--ink-soft); }
.file--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.type {
  display: inline-block; padding: 4px 10px; border-radius: 8px;
  font-family: var(--display); font-size: 0.85rem; line-height: 1.2;
  background: var(--chip-bg, var(--blue-soft)); color: var(--chip-ink, var(--cobalt-deep));
}
.type--pdf { --chip-bg: var(--pdf-soft); --chip-ink: #b42a21; }
.type--allegati { --chip-bg: var(--manila); --chip-ink: var(--ink); }
.type--eml { --chip-bg: var(--blue-soft); --chip-ink: var(--cobalt-deep); }
.type--conv { --chip-bg: var(--lilac-soft); --chip-ink: #5137c4; }
.type--mbox { --chip-bg: var(--mint-soft); --chip-ink: var(--mint-ink); }
.type--copia { --chip-bg: var(--cobalt); --chip-ink: var(--white); }
.type--news { --chip-bg: #ffe3cc; --chip-ink: #9a4a0b; }
.type--cartelle { --chip-bg: var(--ink); --chip-ink: var(--white); }
.type--lingue { --chip-bg: #f1f3fa; --chip-ink: var(--ink); }
.type--pec { --chip-bg: #d6f1f3; --chip-ink: #0d6770; }

.mini-pdf {
  position: relative; width: 150px; aspect-ratio: 0.74; background: var(--white); border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line), 0 12px 30px rgba(23, 32, 54, 0.12); padding: 18px 16px;
}
.mini-pdf::before {
  content: "PDF"; position: absolute; right: -10px; top: 14px; padding: 3px 8px; border-radius: 6px;
  background: var(--pdf); color: var(--white); font: 700 0.78rem var(--display);
}
.mini-pdf i { display: block; height: 6px; border-radius: 3px; background: #dfe3ee; margin-bottom: 8px; }
.mini-pdf i:nth-child(1) { width: 70%; background: #b9c3e8; }
.mini-pdf i:nth-child(2) { width: 52%; }
.mini-pdf i:nth-child(3) { width: 86%; margin-top: 16px; }
.mini-pdf i:nth-child(4) { width: 92%; }
.mini-pdf i:nth-child(5) { width: 64%; }
.mini-pdf i:nth-child(6) { width: 80%; }

.tree { margin: 0; padding: 0; list-style: none; font-size: 0.95rem; line-height: 1.5; }
.tree li { position: relative; padding-left: 26px; }
.tree ul { margin: 0; padding: 0 0 0 16px; list-style: none; border-left: 1px dashed rgba(23, 32, 54, 0.22); }
.tree li::before {
  content: ""; position: absolute; left: 4px; top: 0.42em; width: 14px; height: 11px; border-radius: 2px 3px 3px 3px;
  background: var(--manila); box-shadow: inset 0 0 0 1px rgba(23, 32, 54, 0.12);
}
.tree li.pdf::before { width: 12px; height: 14px; top: 0.3em; border-radius: 2px; background: var(--pdf); }

/* ---------- Sicurezza ---------- */
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 48px; margin: 0 0 40px; padding: 0; list-style: none; }
.points li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.points .icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 201, 60, 0.16); color: var(--manila);
}
.points .icon svg { width: 22px; height: 22px; }
.points h3 { font-size: 1.15rem; margin: 6px 0 6px; color: var(--white); }
.points p { font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.78); }
.pec {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  background: var(--manila); color: var(--ink); border-radius: 18px; padding: 20px 22px; margin: 0 0 26px;
}
.pec strong { font-family: var(--display); font-weight: 700; }
.pec p { font-size: 1rem; line-height: 1.6; }
.pec svg { width: 26px; height: 26px; }
.on-dark a:not(.btn) { color: var(--manila); }
.on-dark a:not(.btn):hover { color: #ffe08a; }

/* ---------- Scarica ---------- */
.platforms { display: grid; grid-template-columns: 1fr 1.25fr 0.85fr; gap: 18px; align-items: stretch; }
.platform {
  display: flex; flex-direction: column; background: var(--white); border-radius: 22px; padding: 26px;
  box-shadow: 0 0 0 1px rgba(23, 32, 54, 0.06);
}
.platform h3 { font-size: 1.3rem; margin: 0 0 6px; }
.platform p { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
.platform .btn { margin-top: auto; align-self: flex-start; }
.platform-media { display: grid; place-items: end center; height: 250px; margin: -4px 0 22px; overflow: hidden; border-radius: 14px; background: var(--blue-soft); }
.platform-media .phone { width: 150px; margin-bottom: -60px; padding: 6px; border-radius: 28px; box-shadow: 0 14px 30px rgba(31, 63, 191, 0.25); }
.platform-media .phone img { border-radius: 22px; }
.platform-media.is-windows { place-items: center; background: #e9ecf6; padding: 18px; }
.win {
  width: 100%; background: var(--white); border-radius: 10px; overflow: hidden;
  box-shadow: 0 14px 34px rgba(23, 32, 54, 0.18);
}
.win-bar { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; font: 700 0.72rem var(--display); color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.win-bar span:last-child { letter-spacing: 6px; }
.platform--soon { background: transparent; box-shadow: inset 0 0 0 2px rgba(11, 110, 74, 0.35); }
.platform--soon .platform-media { background: rgba(255, 255, 255, 0.55); place-items: center; }
.platform--soon .platform-media span { font-family: var(--display); color: var(--mint-ink); font-size: 1.05rem; }
.languages { margin: 26px 0 0; color: var(--ink-soft); font-size: 1rem; }

/* ---------- Domande ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--white); border-radius: 16px; box-shadow: 0 0 0 1px rgba(23, 32, 54, 0.06); }
.faq summary {
  position: relative; display: block; padding: 18px 56px 18px 22px; cursor: pointer; list-style: none;
  font-family: var(--display); font-size: 1.08rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 11px; height: 11px; margin-top: -8px;
  border-right: 2.5px solid var(--lilac); border-bottom: 2.5px solid var(--lilac); transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 22px 20px; font-size: 1rem; line-height: 1.65; color: var(--ink-soft); }
.faq-more { margin: 26px 0 0; font-size: 1rem; }

/* ---------- In English ---------- */
.english { margin: 64px 0 0; max-width: 760px; }
.english h2 { font-size: 1.35rem; margin: 0 0 10px; }
.english p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Pagine di testo (assistenza, privacy) ---------- */
.page-folder { margin-top: 88px; }
.page-folder h1 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; margin: 0 0 14px; max-width: 22ch; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.3rem; line-height: 1.3; margin: 2em 0 0.6em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: 0.4em 0; }
.prose .muted { color: var(--ink-soft); }
.prose .summary {
  background: var(--mint-soft); border-radius: 18px; padding: 20px 24px 8px; margin: 24px 0 8px;
}
.prose .summary > strong { font-family: var(--display); font-size: 1.1rem; }
.qa { padding: 26px 0; border-top: 1px solid var(--line); }
.qa:first-of-type { border-top: 0; }
.qa h2 { margin: 0 0 10px; font-size: 1.25rem; }
.qa p { color: var(--ink-soft); }
.contact-box {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  background: var(--white); border-radius: 14px; padding: 12px 16px; margin: 10px 0 18px;
  box-shadow: 0 0 0 1px var(--line); font-size: 1rem;
}

/* ---------- Piè di pagina ---------- */
.site-footer { margin-top: 96px; background: var(--ink); color: rgba(255, 255, 255, 0.82); padding: 52px 0 40px; font-size: 0.98rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: var(--white); margin-bottom: 12px; }
.site-footer h2 { font-size: 1rem; color: var(--white); margin: 6px 0 12px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: rgba(255, 255, 255, 0.92); }
.site-footer a:hover { color: var(--manila); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }

/* ---------- Schermi medi e piccoli ---------- */
@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .platforms { grid-template-columns: 1fr 1fr; }
  .platform--soon { grid-column: span 2; }
  .platform--soon .platform-media { display: none; }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 18px; background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(23, 32, 54, 0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 12px; font-size: 1.05rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-visual { max-width: 520px; }
  .files { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .points { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .wrap { padding: 0 16px; }
  .folder { margin-top: 84px; padding: 40px 22px 30px; border-radius: 0 22px 22px 22px; }
  .folder-tab { height: 44px; padding: 0 18px 0 16px; font-size: 1.05rem; border-radius: 14px 14px 0 0; }
  .hero { padding: 40px 22px 36px; margin-top: 70px; }
  .hero .lead { font-size: 1.1rem; }
  .btn { width: 100%; }
  .btn .price { margin-left: auto; }
  .hero-visual { padding: 0; }
  .archive-window { width: 100%; }
  .hero-phone { display: none; }
  .nav-cta { padding: 9px 14px; }
  .lang-switch button { padding: 5px 6px; font-size: 0.74rem; }
  .brand span { display: none; }
  .steps {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%;
    gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 -22px; padding: 0 22px 12px; scrollbar-width: thin;
  }
  .steps li { scroll-snap-align: start; }
  .steps .phone { max-width: 200px; margin-left: 0; }
  .files { grid-template-columns: minmax(0, 1fr); }
  .file--wide { grid-column: auto; grid-template-columns: 1fr; }
  .mini-pdf { display: none; }
  .platforms { grid-template-columns: 1fr; }
  .platform--soon { grid-column: auto; }
  .statement { margin-bottom: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
}
