@font-face { font-family: Sora; src: url("fonts/sora.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
:root {
  --bg: #0b0c10; --panel: #14161d; --raised: #1d2028; --line: rgba(255, 255, 255, 0.1);
  --text: #f5f5f7; --soft: #a9abb5; --accent: #00d6ca; --grad: linear-gradient(90deg, #00f5a0, #00b8f5);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(1200px 600px at 70% -10%, #18233a 0%, transparent 60%), var(--bg); color: var(--text);
  font: 400 18px/1.6 Sora, system-ui, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
/* Bilingual text: only the page's language is shown. */
html[lang="en"] [data-l="it"], html[lang="it"] [data-l="en"] { display: none; }

.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem max(1rem, 5vw); background: rgba(11, 12, 16, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .logo img { display: block; height: auto; }
.top nav { display: flex; align-items: center; gap: 1.4rem; font-size: 0.95rem; }
.top nav a { color: var(--soft); }
.top nav a:hover { color: var(--text); text-decoration: none; }
#lang { font: inherit; font-size: 0.85rem; color: var(--text); background: var(--raised); border: 1px solid var(--line); border-radius: 999px; padding: 0.25em 0.8em; cursor: pointer; }

main { max-width: 1180px; margin: 0 auto; padding: 0 max(1rem, 4vw); }
section { padding: 4.5rem 0 1rem; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; margin: 1rem 0; }
h1 em { font-style: normal; font-weight: 300; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.01em; margin: 0 0 1.6rem; }
h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.lead { font-size: 1.15rem; color: var(--soft); max-width: 46rem; }
.hero { padding-top: 3.5rem; }
.cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin: 1.8rem 0 2.6rem; }
.button { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.75em 1.5em; border-radius: 999px; font-weight: 600; color: var(--text);
  background: var(--raised); border: 1px solid var(--line); }
.button:hover { text-decoration: none; border-color: var(--soft); }
.button.primary { color: #06201d; background: var(--grad); border: 0; }
.ver { font-weight: 300; opacity: 0.8; }
.shot { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.grid article { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem 1.4rem; }
.grid article p { margin: 0; color: var(--soft); font-size: 0.95rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr)); gap: 1.4rem; }
.gallery figure { margin: 0; }
.gallery figcaption { color: var(--soft); font-size: 0.9rem; margin-top: 0.6rem; }
.downloads .links { margin-top: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.downloads .links a { padding: 0.35em 0.9em; border: 1px solid var(--accent); border-radius: 999px; font-size: 0.9rem; font-weight: 600; }
.downloads .links a:hover { background: var(--accent); color: var(--bg); text-decoration: none; }
.center { text-align: center; margin-top: 2rem; }
.small { color: var(--soft); font-size: 0.85rem; }

footer { max-width: 1180px; margin: 5rem auto 0; padding: 2.5rem max(1rem, 4vw) 3rem; border-top: 1px solid var(--line); color: var(--soft); font-size: 0.95rem; }
footer img { display: block; margin-bottom: 1rem; }
@media (max-width: 700px) {
  .top nav a:not([href^="#download"]) { display: none; }
  .gallery { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
.downloads pre.cmd { margin: 0.9rem 0 0; padding: 0.6em 0.8em; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; font-size: 0.75rem; white-space: pre-wrap; word-break: break-all; color: var(--soft); }
