* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink-900);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 680px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; }

header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(180%) blur(12px);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; max-width: 680px; margin: 0 auto; padding: 0 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.2px; text-decoration: none; }
.logo { width: 34px; height: 34px; display: block; flex: none; border-radius: 8px; object-fit: cover; }

main { padding: 40px 0 64px; }

.intro {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 14px;
  margin-bottom: 18px; background: var(--ok-bg); color: var(--ok-ink);
}
h1 { font-size: clamp(24px, 5vw, 32px); line-height: 1.1; letter-spacing: -.6px; font-weight: 800; }
.intro p { color: var(--ink-700); margin-top: 14px; font-size: 16px; }
.intro p.lede { color: var(--ink-500); }

.warn {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--amber-bg); color: var(--amber-ink);
  border-radius: 14px; padding: 16px 18px; margin-top: 22px;
  font-size: 15px; font-weight: 600;
}
.warn .ic { font-size: 18px; line-height: 1.3; flex: none; }

.steps { margin-top: 36px; }
.step-list { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps h2 { font-size: 20px; font-weight: 800; letter-spacing: -.4px; margin-bottom: 6px; }
.steps .hint { color: var(--ink-500); font-size: 14px; margin-bottom: 22px; }

.step {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 20px 22px 20px 64px; margin-bottom: 14px;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 20px; top: 20px;
  width: 30px; height: 30px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--teal-600); color: #fff; font-weight: 700; font-size: 15px;
}
.step.optional::before { background: var(--surface-2); color: var(--ink-500); border: 1px solid var(--line); }
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--ink-500); margin-top: 6px; }
.step .path {
  display: inline-block; font-weight: 700; color: var(--ink-900);
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 3px 9px; font-size: 15px;
}
.tagline {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .2px;
  color: var(--amber-ink); background: var(--amber-bg);
  padding: 3px 9px; border-radius: 999px; margin-bottom: 8px;
}
.step .care { color: var(--ink-700); font-weight: 600; }
/* The English under a path copied from the Italian-only 1.13. */
.step .gloss { font-size: 13px; margin-top: 4px; }

/* Badge Google Play: asset ufficiale, non ridisegnato. Le brand guidelines
   vietano di modificarlo o di ricostruirne l'iconografia. */
.play-badge { display: inline-block; line-height: 0; margin-top: 12px; }
.play-badge img { height: 56px; width: auto; display: block; }

.closing {
  margin-top: 30px; background: var(--surface-2);
  border-radius: 14px; padding: 18px 20px; font-size: 15px; color: var(--ink-700);
}

.whatsnew { margin-top: 44px; }
.whatsnew h2 { font-size: 20px; font-weight: 800; letter-spacing: -.4px; margin-bottom: 6px; }
.whatsnew .hint { color: var(--ink-500); font-size: 14px; margin-bottom: 18px; }
.whatsnew .group {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; letter-spacing: .2px;
  padding: 5px 12px; border-radius: 999px; margin: 22px 0 10px;
}
.whatsnew .group.new { background: var(--ok-bg); color: var(--ok-ink); }
.whatsnew .group.fix { background: var(--amber-bg); color: var(--amber-ink); }
.whatsnew .group.new::before { content: "✦"; }
.whatsnew .group.fix::before { content: "✚"; }
.whatsnew ul {
  list-style: none;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 18px 22px;
}
.whatsnew li { position: relative; padding-left: 20px; margin: 10px 0; font-size: 15px; color: var(--ink-500); }
.whatsnew li b { color: var(--ink-900); font-weight: 700; }
.whatsnew li::before { content: "›"; position: absolute; left: 4px; color: var(--teal-700); font-weight: 700; }
.care-box {
  margin-top: 16px; background: var(--amber-bg); color: var(--amber-ink);
  border-radius: 14px; padding: 16px 18px; font-size: 15px;
}

footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--ink-500); font-size: 14px; text-align: center; }
footer a { color: inherit; }

/* Name, language and theme only fit a 320px screen with a narrower gutter. */
@media (max-width: 359px) {
  .nav { padding: 0 16px; }
}
