/* Stile della pagina della suite (generata da build_site.py) */
:root { --bg: #0e1016; --panel: rgba(255,255,255,.05); --stroke: rgba(255,255,255,.09);
          --text: #ecebe8; --muted: #a9a8b3; --accent: #f5a333; --mint: #40de99; }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 72px; }
  body { margin: 0; background: linear-gradient(#0e1016, #191826 40%, #0e1016); color: var(--text);
         font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
  a { color: var(--accent); }
  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

  /* Barra in alto */
  .top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
         background: rgba(14,16,22,.78); border-bottom: 1px solid var(--stroke); }
  .top .wrap { display: flex; align-items: center; gap: 18px; height: 60px; }
  .brand { font-weight: 800; color: var(--text); text-decoration: none; white-space: nowrap; }
  .brand span { color: var(--accent); }
  .applinks { display: flex; gap: 4px; }
  .applinks a { display: flex; align-items: center; gap: 7px; color: var(--muted); text-decoration: none; font-weight: 600;
                font-size: 14px; padding: 6px 10px; border-radius: 999px; }
  .applinks a:hover { color: var(--text); background: var(--panel); }
  .applinks img { width: 22px; height: 22px; border-radius: 6px; }
  .spacer { flex: 1; }
  .langs { display: flex; gap: 2px; background: var(--panel); border: 1px solid var(--stroke); border-radius: 999px; padding: 3px; }
  .langs a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 700; padding: 4px 8px; border-radius: 999px; }
  .langs a.on { background: var(--accent); color: #111; }
  .suggest { display: none; background: rgba(245,163,51,.12); border-bottom: 1px solid var(--stroke); font-size: 14px; }
  .suggest .wrap { padding: 8px 20px; }
  .suggest a { font-weight: 700; }

  /* Apertura */
  .hero { padding: 72px 0 40px; text-align: center; }
  .hero h1 { font-size: clamp(32px, 6vw, 56px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em; }
  .hero p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 auto; }
  .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 44px 0 0; }
  .tile { display: block; text-decoration: none; color: var(--text); background: var(--panel); border: 1px solid var(--stroke);
          border-radius: 22px; padding: 24px 20px; transition: transform .2s, border-color .2s; }
  .tile:hover { transform: translateY(-3px); border-color: rgba(245,163,51,.5); }
  .tile img { width: 84px; height: 84px; border-radius: 19px; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
  .tile h2 { margin: 12px 0 2px; font-size: 22px; }
  .tile p { margin: 0; color: var(--muted); font-size: 14px; }
  .tile span { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 700; font-size: 14px; }
  .values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 0; text-align: left; }
  .values div { background: var(--panel); border: 1px solid var(--stroke); border-radius: 16px; padding: 14px 16px; }
  .values b { color: var(--mint); display: block; }
  .values span { color: var(--muted); font-size: 14px; }

  /* Sezione di un'app */
  .appsec { padding: 64px 0 24px; border-top: 1px solid var(--stroke); margin-top: 48px; }
  .apphead { display: grid; grid-template-columns: 128px 1fr auto; gap: 28px; align-items: start; }
  .apphead > img { width: 128px; height: 128px; border-radius: 29px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
  .apphead h2 { margin: 0; font-size: 36px; line-height: 1.1; }
  .apphead .tag { margin: 4px 0 12px; color: var(--accent); font-weight: 700; font-size: 18px; }
  .apphead .intro { margin: 0 0 12px; color: var(--text); max-width: 640px; }
  .apphead ul { margin: 0 0 18px; padding-left: 20px; color: var(--muted); }
  .platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -4px 0 12px; }
  .plabel { color: var(--muted); font-size: 13px; margin-right: 2px; }
  .chip { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--text);
          background: var(--panel); border: 1px solid var(--stroke); border-radius: 999px; padding: 3px 10px 3px 7px; }
  .chip svg { width: 16px; height: 16px; color: var(--mint); }
  .machint { display: none; color: var(--muted); font-size: 13px; margin: 10px 0 0; }
  .is-mac .machint { display: block; }
  .links { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
  .store { display: inline-block; background: var(--accent); color: #111; font-weight: 800; text-decoration: none;
           padding: 11px 20px; border-radius: 999px; }
  .small { color: var(--muted); font-size: 14px; text-decoration: none; }
  .small:hover { color: var(--accent); }
  .qr { text-align: center; }
  .qr img { width: 128px; height: 128px; border-radius: 14px; background: #fff; padding: 8px; display: block; }
  .qr div { color: var(--muted); font-size: 12px; margin-top: 6px; max-width: 128px; }

  h3 { font-size: 22px; margin: 44px 0 16px; }
  .gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .gallery img { height: 520px; width: auto; border-radius: 28px; scroll-snap-align: start; flex: none;
                 border: 1px solid var(--stroke); background: #0e1016; }
  .gallery::-webkit-scrollbar { height: 8px; } .gallery::-webkit-scrollbar-thumb { background: var(--stroke); border-radius: 4px; }
  .macshot { margin: 18px auto 0; max-width: 880px; }
  .macshot img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--stroke); display: block; }
  .macshot p { color: var(--muted); font-size: 14px; margin: 8px 0 0; text-align: center; }

  .steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
  .step { background: var(--panel); border: 1px solid var(--stroke); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
  .step .pic { background: linear-gradient(#0e1016, #15141f); display: flex; align-items: center; justify-content: center;
               height: 210px; padding: 14px; }
  .step .pic img { max-width: 100%; max-height: 100%; }
  .step .body { padding: 16px 18px 18px; }
  .step .n { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; align-items: center; justify-content: center;
             background: var(--accent); color: #111; font-weight: 800; font-size: 14px; margin-right: 8px; }
  .step h4 { display: flex; align-items: center; margin: 0 0 6px; font-size: 17px; }
  .step p { margin: 0; color: var(--muted); font-size: 15px; }

  footer { border-top: 1px solid var(--stroke); margin-top: 56px; padding: 28px 0 48px; color: var(--muted); font-size: 14px; }

  @media (max-width: 820px) {
    .applinks span { display: none; }
    .tiles, .values { grid-template-columns: 1fr; }
    .apphead { grid-template-columns: 84px 1fr; gap: 18px; }
    .apphead > img { width: 84px; height: 84px; border-radius: 19px; }
    .apphead h2 { font-size: 28px; }
    .qr { display: none; }          /* su telefono si tocca il pulsante */
    .gallery img { height: 440px; border-radius: 24px; }
    .hero { padding-top: 48px; }
  }
  @media (max-width: 560px) { .brand { display: none; } .langs a { padding: 4px 6px; } }
