/* Savut: un solo foglio di stile. Minimale e un po' nerd: monospazio di sistema (nessun font esterno),
   grigi neutri, un solo colore (il pervinca di Suns) per link e dettagli. */
:root {
  color-scheme: dark;
  --bg: #0B0B0C;
  --surface: #141416;
  --line: #26262A;
  --text: #E6E6E9;
  --muted: #8B8B93;
  --accent: #A9B6FF;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.7 var(--mono);
}
::selection { background: var(--accent); color: var(--bg); }

a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(169, 182, 255, 0.35);
  text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.site .wrap {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap;
  padding-top: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.brand { color: var(--text); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: 0.04em; }

nav.site { display: flex; gap: 18px; flex-wrap: wrap; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); }
nav.site a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent);
  text-underline-offset: 6px; text-decoration-thickness: 2px; }
/* Cambio lingua: separato dalle voci con una barretta. */
nav.site a.lang { padding-left: 18px; border-left: 1px solid var(--line); }

main { padding: 52px 0 64px; }

h1 { font-size: 30px; line-height: 1.2; margin: 0 0 10px; letter-spacing: 0.01em; }
h2 { font-size: 15px; font-weight: 700; margin: 52px 0 14px; text-transform: lowercase;
  padding-bottom: 8px; border-bottom: 1px solid var(--line); }
h2 .n { color: var(--accent); margin-right: 12px; font-weight: 400; }
h3 { font-size: 15px; margin: 26px 0 4px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 0; list-style: none; }
li { margin-bottom: 6px; padding-left: 1.6em; position: relative; }
li::before { content: "–"; position: absolute; left: 0; color: var(--muted); }
.lead { font-size: 16px; }
.muted { color: var(--muted); }
.updated { color: var(--muted); margin-bottom: 28px; }

.tag { color: var(--muted); white-space: nowrap; font-size: 13px; }
.tag.on { color: var(--accent); }

/* Elenco dei prodotti: icona, nome, stato, una riga di descrizione. */
.tools { display: grid; gap: 10px; }
.tool {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 4px 16px; align-items: center;
  padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); text-decoration: none;
}
a.tool:hover { border-color: var(--accent); }
.tool img { width: 56px; height: 56px; border-radius: 13px; grid-row: span 2; }
.tool .name { font-weight: 700; font-size: 16px; }
.tool .desc { grid-column: 2 / 4; color: var(--muted); font-size: 14px; }
.tool.soon { background: transparent; }
.tool.soon img { opacity: 0.75; }

.hero { display: flex; gap: 22px; align-items: center; margin-bottom: 28px; }
.hero img { width: 88px; height: 88px; border-radius: 20px; flex: none; }
.hero h1 { margin: 0; }
.hero p { margin: 2px 0 0; color: var(--muted); }

/* La fascia del volume di Suns, in scala: blu sotto, pervinca dentro, magenta sopra. */
.band { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin: 26px 0 8px; }
.band span:nth-child(1) { flex: 3; background: #3355E0; }
.band span:nth-child(2) { flex: 2; background: #A9B6FF; }
.band span:nth-child(3) { flex: 1; background: #D14FD0; }

footer.site .wrap {
  display: flex; gap: 10px 20px; flex-wrap: wrap; justify-content: space-between;
  padding-top: 18px; padding-bottom: 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px;
}
footer.site a { color: var(--muted); }

@media (max-width: 520px) {
  body { font-size: 14px; }
  main { padding-top: 36px; }
  h1 { font-size: 25px; }
  .hero { gap: 16px; }
  .hero img { width: 68px; height: 68px; border-radius: 16px; }
  .tool { grid-template-columns: 48px 1fr; }
  .tool img { width: 48px; height: 48px; border-radius: 11px; }
  .tool .tag { grid-column: 2; }
  .tool .desc { grid-column: 1 / 3; }
}
